From df3b18214f893ef587a59a64ffe5c3dc533abc8b Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Fri, 6 Dec 2024 19:59:17 +0100 Subject: [PATCH 001/103] Sustainable Kibana Architecture: Move modules owned by `@elastic/obs-entities` (#202713) ## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > This PR has been auto-generated. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 3 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/entities-data-access-plugin` | `x-pack/solutions/observability/plugins/observability_solution/entities_data_access` | | `@kbn/entityManager-app-plugin` | `x-pack/solutions/observability/plugins/observability_solution/entity_manager_app` | | `@kbn/entityManager-plugin` | `x-pack/platform/plugins/shared/entity_manager` | #### 1 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/entities-schema` | `x-pack/platform/packages/shared/kbn-entities-schema` |
Updated references ``` ./docs/developer/plugin-list.asciidoc ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-ts-projects/config-paths.json ./tsconfig.base.json ./x-pack/platform/packages/shared/kbn-entities-schema/jest.config.js ./x-pack/platform/plugins/shared/entity_manager/jest.config.js ./x-pack/plugins/entity_manager/docs/entity_definitions.md ./x-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js ./x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js ./yarn.lock ```
Updated relative paths ``` x-pack/platform/packages/shared/kbn-entities-schema/jest.config.js:10 x-pack/platform/packages/shared/kbn-entities-schema/scripts/generate.js:8 x-pack/platform/packages/shared/kbn-entities-schema/scripts/generate_oas.js:65 x-pack/platform/packages/shared/kbn-entities-schema/scripts/generate_oas.js:8 x-pack/platform/packages/shared/kbn-entities-schema/scripts/serve_oas_ui.js:8 x-pack/platform/packages/shared/kbn-entities-schema/tsconfig.json:2 x-pack/platform/plugins/shared/entity_manager/jest.config.js:10 x-pack/platform/plugins/shared/entity_manager/tsconfig.json:2 x-pack/platform/plugins/shared/entity_manager/tsconfig.json:7 x-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js:12 x-pack/solutions/observability/plugins/observability_solution/entities_data_access/tsconfig.json:2 x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js:12 x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json:2 x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json:7 ```
Script errors ``` ```
--------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Rudolf Meijering --- .github/CODEOWNERS | 8 +++---- docs/developer/plugin-list.asciidoc | 6 ++--- package.json | 8 +++---- tsconfig.base.json | 16 +++++++------- .../shared}/kbn-entities-schema/README.md | 0 .../shared}/kbn-entities-schema/index.ts | 0 .../kbn-entities-schema/jest.config.js | 4 ++-- .../shared}/kbn-entities-schema/kibana.jsonc | 0 .../shared}/kbn-entities-schema/oas.yaml | 0 .../shared}/kbn-entities-schema/package.json | 0 .../kbn-entities-schema/scripts/generate.js | 2 +- .../scripts/generate_oas.js | 4 ++-- .../scripts/serve_oas_ui.js | 2 +- .../src/rest_spec/create.ts | 0 .../src/rest_spec/delete.ts | 0 .../kbn-entities-schema/src/rest_spec/get.ts | 0 .../src/rest_spec/reset.ts | 0 .../schema/__snapshots__/common.test.ts.snap | 0 .../src/schema/common.test.ts | 0 .../kbn-entities-schema/src/schema/common.ts | 0 .../src/schema/entity.test.ts | 0 .../kbn-entities-schema/src/schema/entity.ts | 0 .../src/schema/entity_definition.ts | 0 .../src/schema/patterns.test.ts | 0 .../src/schema/patterns.ts | 0 .../shared}/kbn-entities-schema/tsconfig.json | 2 +- .../plugins/shared}/entity_manager/README.md | 0 .../shared}/entity_manager/common/config.ts | 0 .../common/constants_entities.ts | 0 .../entity_manager/common/debug_log.ts | 0 .../shared}/entity_manager/common/errors.ts | 0 .../entity_manager/common/types_api.ts | 0 .../entity_manager/docs/entity_definitions.md | 2 +- .../shared}/entity_manager/jest.config.js | 9 ++++---- .../shared}/entity_manager/kibana.jsonc | 0 .../shared}/entity_manager/public/index.ts | 0 .../public/lib/entity_client.test.ts | 0 .../public/lib/entity_client.ts | 0 .../entity_manager/public/lib/errors.ts | 0 .../shared}/entity_manager/public/plugin.ts | 0 .../shared}/entity_manager/public/types.ts | 0 .../shared}/entity_manager/server/index.ts | 0 .../server/lib/auth/api_key/api_key.ts | 0 .../server/lib/auth/api_key/saved_object.ts | 0 .../entity_manager/server/lib/auth/index.ts | 0 .../server/lib/auth/privileges.ts | 0 .../server/lib/entities/built_in/constants.ts | 0 .../built_in/containers_from_ecs_data.ts | 0 .../entities/built_in/hosts_from_ecs_data.ts | 0 .../server/lib/entities/built_in/index.ts | 0 .../kubernetes/common/ecs_index_patterns.ts | 0 .../kubernetes/common/ecs_metadata.ts | 0 .../kubernetes/common/global_metadata.ts | 0 .../kubernetes/common/otel_index_patterns.ts | 0 .../kubernetes/common/otel_metadata.ts | 0 .../built_in/kubernetes/ecs/cluster.ts | 0 .../built_in/kubernetes/ecs/cron_job.ts | 0 .../built_in/kubernetes/ecs/daemon_set.ts | 0 .../built_in/kubernetes/ecs/deployment.ts | 0 .../entities/built_in/kubernetes/ecs/index.ts | 0 .../entities/built_in/kubernetes/ecs/job.ts | 0 .../entities/built_in/kubernetes/ecs/node.ts | 0 .../entities/built_in/kubernetes/ecs/pod.ts | 0 .../built_in/kubernetes/ecs/replica_set.ts | 0 .../built_in/kubernetes/ecs/service.ts | 0 .../built_in/kubernetes/ecs/stateful_set.ts | 0 .../lib/entities/built_in/kubernetes/index.ts | 0 .../built_in/kubernetes/semconv/cluster.ts | 0 .../built_in/kubernetes/semconv/cron_job.ts | 0 .../built_in/kubernetes/semconv/daemon_set.ts | 0 .../built_in/kubernetes/semconv/deployment.ts | 0 .../built_in/kubernetes/semconv/index.ts | 0 .../built_in/kubernetes/semconv/job.ts | 0 .../built_in/kubernetes/semconv/node.ts | 0 .../built_in/kubernetes/semconv/pod.ts | 0 .../kubernetes/semconv/replica_set.ts | 0 .../kubernetes/semconv/stateful_set.ts | 0 .../built_in/services_from_ecs_data.ts | 0 .../create_and_install_ingest_pipeline.ts | 0 .../entities/create_and_install_transform.ts | 0 .../lib/entities/delete_entity_definition.ts | 0 .../server/lib/entities/delete_index.ts | 0 .../lib/entities/delete_ingest_pipeline.ts | 0 .../server/lib/entities/delete_transforms.ts | 0 .../errors/entity_definition_id_invalid.ts | 0 .../entity_definition_update_conflict.ts | 0 .../errors/entity_id_conflict_error.ts | 0 .../lib/entities/errors/entity_not_found.ts | 0 .../errors/entity_security_exception.ts | 0 .../errors/invalid_transform_error.ts | 0 .../lib/entities/find_entity_definition.ts | 0 .../fixtures/builtin_entity_definition.ts | 0 .../helpers/fixtures/entity_definition.ts | 0 .../lib/entities/helpers/fixtures/index.ts | 0 .../entities/helpers/generate_component_id.ts | 0 .../get_elasticsearch_query_or_throw.ts | 0 ..._pipeline_script_processor_helpers.test.ts | 0 ...ngest_pipeline_script_processor_helpers.ts | 0 .../entities/helpers/is_builtin_definition.ts | 0 .../helpers/merge_definition_update.ts | 0 .../server/lib/entities/helpers/retry.ts | 0 .../generate_latest_processors.test.ts.snap | 0 .../generate_latest_processors.test.ts | 0 .../generate_latest_processors.ts | 0 .../install_entity_definition.test.ts | 0 .../lib/entities/install_entity_definition.ts | 0 .../lib/entities/read_entity_definition.ts | 0 .../lib/entities/save_entity_definition.ts | 0 .../server/lib/entities/start_transforms.ts | 0 .../server/lib/entities/stop_transforms.ts | 0 .../entities_latest_template.test.ts.snap | 0 .../entities_latest_template.test.ts | 0 .../templates/entities_latest_template.ts | 0 .../generate_latest_transform.test.ts.snap | 0 .../generate_identity_aggregations.ts | 0 .../generate_latest_transform.test.ts | 0 .../transform/generate_latest_transform.ts | 0 .../generate_metadata_aggregations.test.ts | 0 .../generate_metadata_aggregations.ts | 0 .../transform/generate_metric_aggregations.ts | 0 .../transform/validate_transform_ids.test.ts | 0 .../transform/validate_transform_ids.ts | 0 .../server/lib/entities/types.ts | 0 .../entities/uninstall_entity_definition.ts | 0 .../lib/entities/upgrade_entity_definition.ts | 0 .../server/lib/entity_client.ts | 0 .../server/lib/manage_index_templates.ts | 0 .../entity_manager/server/lib/utils.ts | 0 .../entity_manager/server/lib/v2/constants.ts | 0 .../setup_entity_definitions_index.ts | 0 .../lib/v2/definitions/source_definition.ts | 0 .../lib/v2/definitions/type_definition.ts | 0 .../server/lib/v2/entity_client.ts | 0 .../v2/errors/entity_definition_conflict.ts | 0 .../lib/v2/errors/unknown_entity_type.ts | 0 .../server/lib/v2/queries/index.test.ts | 0 .../server/lib/v2/queries/index.ts | 0 .../server/lib/v2/queries/utils.test.ts | 0 .../server/lib/v2/queries/utils.ts | 0 .../server/lib/v2/run_esql_query.ts | 0 .../entity_manager/server/lib/v2/types.ts | 0 .../lib/validators/validate_date_range.ts | 0 .../server/lib/validators/validation_error.ts | 0 .../shared}/entity_manager/server/plugin.ts | 0 .../create_entity_manager_server_route.ts | 0 .../server/routes/enablement/check.ts | 0 .../server/routes/enablement/disable.ts | 0 .../server/routes/enablement/enable.ts | 0 .../server/routes/enablement/index.ts | 0 .../server/routes/entities/create.ts | 0 .../server/routes/entities/delete.ts | 0 .../server/routes/entities/get.ts | 0 .../server/routes/entities/index.ts | 0 .../server/routes/entities/reset.ts | 0 .../server/routes/entities/update.ts | 0 .../entity_manager/server/routes/index.ts | 0 .../entity_manager/server/routes/types.ts | 0 .../entity_manager/server/routes/v2/index.ts | 0 .../entity_manager/server/routes/v2/search.ts | 0 .../routes/v2/source_definition_routes.ts | 0 .../routes/v2/type_definition_routes.ts | 0 .../server/saved_objects/entity_definition.ts | 0 .../saved_objects/entity_discovery_api_key.ts | 0 .../server/saved_objects/index.ts | 0 .../templates/components/base_latest.ts | 0 .../server/templates/components/entity.ts | 0 .../server/templates/components/event.ts | 0 .../shared}/entity_manager/server/types.ts | 0 .../shared}/entity_manager/tsconfig.json | 4 ++-- .../entity_manager_app/jest.config.js | 20 ----------------- .../entities_data_access/README.md | 0 .../entities_data_access/jest.config.js | 6 +++-- .../entities_data_access/kibana.jsonc | 0 .../entities_data_access/server/index.ts | 0 .../entities_data_access/server/plugin.ts | 0 .../entities_data_access/server/types.ts | 0 .../entities_data_access/tsconfig.json | 2 +- .../entity_manager_app/README.md | 0 .../entity_manager_app/jest.config.js | 22 +++++++++++++++++++ .../entity_manager_app/kibana.jsonc | 0 .../entity_manager_app/public/application.tsx | 0 .../public/context/plugin_context.ts | 0 .../public/hooks/use_kibana.ts | 0 .../public/hooks/use_plugin_context.ts | 0 .../entity_manager_app/public/index.ts | 0 .../public/pages/overview/index.tsx | 0 .../entity_manager_app/public/plugin.ts | 0 .../entity_manager_app/public/routes.tsx | 0 .../entity_manager_app/public/types.ts | 0 .../entity_manager_app/tsconfig.json | 4 ++-- yarn.lock | 8 +++---- 191 files changed, 67 insertions(+), 62 deletions(-) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/README.md (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/jest.config.js (74%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/oas.yaml (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/package.json (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/scripts/generate.js (89%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/scripts/generate_oas.js (93%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/scripts/serve_oas_ui.js (92%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/src/rest_spec/create.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/src/rest_spec/delete.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/src/rest_spec/get.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/src/rest_spec/reset.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/src/schema/__snapshots__/common.test.ts.snap (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/src/schema/common.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/src/schema/common.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/src/schema/entity.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/src/schema/entity.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/src/schema/entity_definition.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/src/schema/patterns.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/src/schema/patterns.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-entities-schema/tsconfig.json (84%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/common/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/common/constants_entities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/common/debug_log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/common/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/common/types_api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/docs/entity_definitions.md (97%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/jest.config.js (53%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/public/lib/entity_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/public/lib/entity_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/public/lib/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/auth/api_key/api_key.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/auth/api_key/saved_object.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/auth/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/auth/privileges.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/containers_from_ecs_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/hosts_from_ecs_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_index_patterns.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_metadata.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/common/global_metadata.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_index_patterns.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_metadata.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cluster.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cron_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/ecs/daemon_set.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/ecs/deployment.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/ecs/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/ecs/job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/ecs/node.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/ecs/pod.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/ecs/replica_set.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/ecs/service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/ecs/stateful_set.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cluster.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cron_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/semconv/daemon_set.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/semconv/deployment.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/semconv/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/semconv/job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/semconv/node.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/semconv/pod.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/semconv/replica_set.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/kubernetes/semconv/stateful_set.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/create_and_install_ingest_pipeline.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/create_and_install_transform.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/delete_entity_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/delete_index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/delete_ingest_pipeline.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/delete_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/errors/entity_definition_id_invalid.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/errors/entity_definition_update_conflict.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/errors/entity_id_conflict_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/errors/entity_not_found.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/errors/entity_security_exception.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/errors/invalid_transform_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/find_entity_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/helpers/fixtures/builtin_entity_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/helpers/fixtures/entity_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/helpers/fixtures/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/helpers/generate_component_id.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/helpers/get_elasticsearch_query_or_throw.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/helpers/is_builtin_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/helpers/merge_definition_update.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/helpers/retry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_latest_processors.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/ingest_pipeline/generate_latest_processors.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/ingest_pipeline/generate_latest_processors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/install_entity_definition.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/install_entity_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/read_entity_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/save_entity_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/start_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/stop_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/templates/__snapshots__/entities_latest_template.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/templates/entities_latest_template.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/templates/entities_latest_template.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/transform/__snapshots__/generate_latest_transform.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/transform/generate_identity_aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/transform/generate_latest_transform.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/transform/generate_latest_transform.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/transform/generate_metadata_aggregations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/transform/generate_metadata_aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/transform/generate_metric_aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/transform/validate_transform_ids.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/transform/validate_transform_ids.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/uninstall_entity_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entities/upgrade_entity_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/entity_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/manage_index_templates.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/definitions/setup_entity_definitions_index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/definitions/source_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/definitions/type_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/entity_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/errors/entity_definition_conflict.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/errors/unknown_entity_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/queries/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/queries/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/queries/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/queries/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/run_esql_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/v2/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/validators/validate_date_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/lib/validators/validation_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/create_entity_manager_server_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/enablement/check.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/enablement/disable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/enablement/enable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/enablement/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/entities/create.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/entities/delete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/entities/get.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/entities/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/entities/reset.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/entities/update.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/v2/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/v2/search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/v2/source_definition_routes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/routes/v2/type_definition_routes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/saved_objects/entity_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/saved_objects/entity_discovery_api_key.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/templates/components/base_latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/templates/components/entity.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/templates/components/event.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/entity_manager/tsconfig.json (91%) delete mode 100644 x-pack/plugins/observability_solution/entity_manager_app/jest.config.js rename x-pack/{ => solutions/observability}/plugins/observability_solution/entities_data_access/README.md (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entities_data_access/jest.config.js (65%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entities_data_access/kibana.jsonc (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entities_data_access/server/index.ts (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entities_data_access/server/plugin.ts (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entities_data_access/server/types.ts (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entities_data_access/tsconfig.json (78%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entity_manager_app/README.md (100%) create mode 100644 x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js rename x-pack/{ => solutions/observability}/plugins/observability_solution/entity_manager_app/kibana.jsonc (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entity_manager_app/public/application.tsx (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entity_manager_app/public/context/plugin_context.ts (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entity_manager_app/public/hooks/use_kibana.ts (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entity_manager_app/public/hooks/use_plugin_context.ts (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entity_manager_app/public/index.ts (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entity_manager_app/public/pages/overview/index.tsx (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entity_manager_app/public/plugin.ts (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entity_manager_app/public/routes.tsx (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entity_manager_app/public/types.ts (100%) rename x-pack/{ => solutions/observability}/plugins/observability_solution/entity_manager_app/tsconfig.json (88%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5dbb563fda702..1b4119ca09e3c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -788,7 +788,6 @@ x-pack/packages/kbn-cloud-security-posture/public @elastic/kibana-cloud-security x-pack/packages/kbn-data-forge @elastic/obs-ux-management-team x-pack/packages/kbn-elastic-assistant @elastic/security-generative-ai x-pack/packages/kbn-elastic-assistant-common @elastic/security-generative-ai -x-pack/packages/kbn-entities-schema @elastic/obs-entities x-pack/packages/kbn-infra-forge @elastic/obs-ux-management-team x-pack/packages/kbn-langchain @elastic/security-generative-ai x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations @@ -864,6 +863,8 @@ 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/shared/kbn-entities-schema @elastic/obs-entities +x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities 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 @@ -894,7 +895,6 @@ x-pack/plugins/elastic_assistant @elastic/security-generative-ai x-pack/plugins/embeddable_enhanced @elastic/kibana-presentation x-pack/plugins/encrypted_saved_objects @elastic/kibana-security x-pack/plugins/enterprise_search @elastic/search-kibana -x-pack/plugins/entity_manager @elastic/obs-entities x-pack/plugins/event_log @elastic/response-ops x-pack/plugins/features @elastic/kibana-core x-pack/plugins/fields_metadata @elastic/obs-ux-logs-team @@ -926,8 +926,6 @@ x-pack/plugins/observability_solution/apm @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/apm_data_access @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/apm/ftr_e2e @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/dataset_quality @elastic/obs-ux-logs-team -x-pack/plugins/observability_solution/entities_data_access @elastic/obs-entities -x-pack/plugins/observability_solution/entity_manager_app @elastic/obs-entities x-pack/plugins/observability_solution/exploratory_view @elastic/obs-ux-management-team x-pack/plugins/observability_solution/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/inventory @elastic/obs-ux-infra_services-team @@ -994,6 +992,8 @@ x-pack/plugins/translations @elastic/kibana-localization x-pack/plugins/triggers_actions_ui @elastic/response-ops x-pack/plugins/upgrade_assistant @elastic/kibana-management x-pack/plugins/watcher @elastic/kibana-management +x-pack/solutions/observability/plugins/observability_solution/entities_data_access @elastic/obs-entities +x-pack/solutions/observability/plugins/observability_solution/entity_manager_app @elastic/obs-entities x-pack/test x-pack/test_serverless x-pack/test/alerting_api_integration/common/plugins/aad @elastic/response-ops diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 00841c869ef4f..0baaf75b79493 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -575,15 +575,15 @@ security and spaces filtering. |This plugin provides Kibana user interfaces for managing the Enterprise Search solution and its products, App Search and Workplace Search. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/entities_data_access/README.md[entitiesDataAccess] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/README.md[entitiesDataAccess] |Exposes services to access entities data. -|{kib-repo}blob/{branch}/x-pack/plugins/entity_manager/README.md[entityManager] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/entity_manager/README.md[entityManager] |This plugin provides access to observed entity data, such as information about hosts, pods, containers, services, and more. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/entity_manager_app/README.md[entityManagerApp] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/README.md[entityManagerApp] |This plugin provides a user interface to interact with the Entity Manager. diff --git a/package.json b/package.json index 05f10169d5e81..c32e875489aba 100644 --- a/package.json +++ b/package.json @@ -477,11 +477,11 @@ "@kbn/embedded-lens-example-plugin": "link:x-pack/examples/embedded_lens_example", "@kbn/encrypted-saved-objects-plugin": "link:x-pack/plugins/encrypted_saved_objects", "@kbn/enterprise-search-plugin": "link:x-pack/plugins/enterprise_search", - "@kbn/entities-data-access-plugin": "link:x-pack/plugins/observability_solution/entities_data_access", - "@kbn/entities-schema": "link:x-pack/packages/kbn-entities-schema", + "@kbn/entities-data-access-plugin": "link:x-pack/solutions/observability/plugins/observability_solution/entities_data_access", + "@kbn/entities-schema": "link:x-pack/platform/packages/shared/kbn-entities-schema", "@kbn/entity-manager-fixture-plugin": "link:x-pack/test/api_integration/apis/entity_manager/fixture_plugin", - "@kbn/entityManager-app-plugin": "link:x-pack/plugins/observability_solution/entity_manager_app", - "@kbn/entityManager-plugin": "link:x-pack/plugins/entity_manager", + "@kbn/entityManager-app-plugin": "link:x-pack/solutions/observability/plugins/observability_solution/entity_manager_app", + "@kbn/entityManager-plugin": "link:x-pack/platform/plugins/shared/entity_manager", "@kbn/error-boundary-example-plugin": "link:examples/error_boundary", "@kbn/es-errors": "link:packages/kbn-es-errors", "@kbn/es-query": "link:packages/kbn-es-query", diff --git a/tsconfig.base.json b/tsconfig.base.json index 85eaafc729e61..de0d8a384222a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -822,16 +822,16 @@ "@kbn/encrypted-saved-objects-plugin/*": ["x-pack/plugins/encrypted_saved_objects/*"], "@kbn/enterprise-search-plugin": ["x-pack/plugins/enterprise_search"], "@kbn/enterprise-search-plugin/*": ["x-pack/plugins/enterprise_search/*"], - "@kbn/entities-data-access-plugin": ["x-pack/plugins/observability_solution/entities_data_access"], - "@kbn/entities-data-access-plugin/*": ["x-pack/plugins/observability_solution/entities_data_access/*"], - "@kbn/entities-schema": ["x-pack/packages/kbn-entities-schema"], - "@kbn/entities-schema/*": ["x-pack/packages/kbn-entities-schema/*"], + "@kbn/entities-data-access-plugin": ["x-pack/solutions/observability/plugins/observability_solution/entities_data_access"], + "@kbn/entities-data-access-plugin/*": ["x-pack/solutions/observability/plugins/observability_solution/entities_data_access/*"], + "@kbn/entities-schema": ["x-pack/platform/packages/shared/kbn-entities-schema"], + "@kbn/entities-schema/*": ["x-pack/platform/packages/shared/kbn-entities-schema/*"], "@kbn/entity-manager-fixture-plugin": ["x-pack/test/api_integration/apis/entity_manager/fixture_plugin"], "@kbn/entity-manager-fixture-plugin/*": ["x-pack/test/api_integration/apis/entity_manager/fixture_plugin/*"], - "@kbn/entityManager-app-plugin": ["x-pack/plugins/observability_solution/entity_manager_app"], - "@kbn/entityManager-app-plugin/*": ["x-pack/plugins/observability_solution/entity_manager_app/*"], - "@kbn/entityManager-plugin": ["x-pack/plugins/entity_manager"], - "@kbn/entityManager-plugin/*": ["x-pack/plugins/entity_manager/*"], + "@kbn/entityManager-app-plugin": ["x-pack/solutions/observability/plugins/observability_solution/entity_manager_app"], + "@kbn/entityManager-app-plugin/*": ["x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/*"], + "@kbn/entityManager-plugin": ["x-pack/platform/plugins/shared/entity_manager"], + "@kbn/entityManager-plugin/*": ["x-pack/platform/plugins/shared/entity_manager/*"], "@kbn/error-boundary-example-plugin": ["examples/error_boundary"], "@kbn/error-boundary-example-plugin/*": ["examples/error_boundary/*"], "@kbn/es": ["packages/kbn-es"], diff --git a/x-pack/packages/kbn-entities-schema/README.md b/x-pack/platform/packages/shared/kbn-entities-schema/README.md similarity index 100% rename from x-pack/packages/kbn-entities-schema/README.md rename to x-pack/platform/packages/shared/kbn-entities-schema/README.md diff --git a/x-pack/packages/kbn-entities-schema/index.ts b/x-pack/platform/packages/shared/kbn-entities-schema/index.ts similarity index 100% rename from x-pack/packages/kbn-entities-schema/index.ts rename to x-pack/platform/packages/shared/kbn-entities-schema/index.ts diff --git a/x-pack/packages/kbn-entities-schema/jest.config.js b/x-pack/platform/packages/shared/kbn-entities-schema/jest.config.js similarity index 74% rename from x-pack/packages/kbn-entities-schema/jest.config.js rename to x-pack/platform/packages/shared/kbn-entities-schema/jest.config.js index 1d10119431ec3..8a124563b366e 100644 --- a/x-pack/packages/kbn-entities-schema/jest.config.js +++ b/x-pack/platform/packages/shared/kbn-entities-schema/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/packages/kbn-entities-schema'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/packages/shared/kbn-entities-schema'], }; diff --git a/x-pack/packages/kbn-entities-schema/kibana.jsonc b/x-pack/platform/packages/shared/kbn-entities-schema/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-entities-schema/kibana.jsonc rename to x-pack/platform/packages/shared/kbn-entities-schema/kibana.jsonc diff --git a/x-pack/packages/kbn-entities-schema/oas.yaml b/x-pack/platform/packages/shared/kbn-entities-schema/oas.yaml similarity index 100% rename from x-pack/packages/kbn-entities-schema/oas.yaml rename to x-pack/platform/packages/shared/kbn-entities-schema/oas.yaml diff --git a/x-pack/packages/kbn-entities-schema/package.json b/x-pack/platform/packages/shared/kbn-entities-schema/package.json similarity index 100% rename from x-pack/packages/kbn-entities-schema/package.json rename to x-pack/platform/packages/shared/kbn-entities-schema/package.json diff --git a/x-pack/packages/kbn-entities-schema/scripts/generate.js b/x-pack/platform/packages/shared/kbn-entities-schema/scripts/generate.js similarity index 89% rename from x-pack/packages/kbn-entities-schema/scripts/generate.js rename to x-pack/platform/packages/shared/kbn-entities-schema/scripts/generate.js index e3214affce38e..7568dafb324dc 100644 --- a/x-pack/packages/kbn-entities-schema/scripts/generate.js +++ b/x-pack/platform/packages/shared/kbn-entities-schema/scripts/generate.js @@ -5,7 +5,7 @@ * 2.0. */ -require('../../../../src/setup_node_env'); +require('../../../../../../src/setup_node_env'); const { generateOAS } = require('./generate_oas'); const { writeFileSync } = require('fs'); diff --git a/x-pack/packages/kbn-entities-schema/scripts/generate_oas.js b/x-pack/platform/packages/shared/kbn-entities-schema/scripts/generate_oas.js similarity index 93% rename from x-pack/packages/kbn-entities-schema/scripts/generate_oas.js rename to x-pack/platform/packages/shared/kbn-entities-schema/scripts/generate_oas.js index d1310535db3a9..e3fa2f0b58c31 100644 --- a/x-pack/packages/kbn-entities-schema/scripts/generate_oas.js +++ b/x-pack/platform/packages/shared/kbn-entities-schema/scripts/generate_oas.js @@ -5,7 +5,7 @@ * 2.0. */ -require('../../../../src/setup_node_env'); +require('../../../../../../src/setup_node_env'); const swaggerJsdoc = require('swagger-jsdoc'); const { zodToJsonSchema } = require('zod-to-json-schema'); @@ -62,6 +62,6 @@ export const generateOAS = (options) => }, }, }, - apis: ['../../plugins/observability_solution/entity_manager/server/routes/**/*.ts'], + apis: ['../../../../plugins/observability_solution/entity_manager/server/routes/**/*.ts'], ...options, }); diff --git a/x-pack/packages/kbn-entities-schema/scripts/serve_oas_ui.js b/x-pack/platform/packages/shared/kbn-entities-schema/scripts/serve_oas_ui.js similarity index 92% rename from x-pack/packages/kbn-entities-schema/scripts/serve_oas_ui.js rename to x-pack/platform/packages/shared/kbn-entities-schema/scripts/serve_oas_ui.js index 956163f665bcf..d004c66db14d1 100644 --- a/x-pack/packages/kbn-entities-schema/scripts/serve_oas_ui.js +++ b/x-pack/platform/packages/shared/kbn-entities-schema/scripts/serve_oas_ui.js @@ -5,7 +5,7 @@ * 2.0. */ -require('../../../../src/setup_node_env'); +require('../../../../../../src/setup_node_env'); const { generateOAS } = require('./generate_oas'); const express = require('express'); diff --git a/x-pack/packages/kbn-entities-schema/src/rest_spec/create.ts b/x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/create.ts similarity index 100% rename from x-pack/packages/kbn-entities-schema/src/rest_spec/create.ts rename to x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/create.ts diff --git a/x-pack/packages/kbn-entities-schema/src/rest_spec/delete.ts b/x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/delete.ts similarity index 100% rename from x-pack/packages/kbn-entities-schema/src/rest_spec/delete.ts rename to x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/delete.ts diff --git a/x-pack/packages/kbn-entities-schema/src/rest_spec/get.ts b/x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/get.ts similarity index 100% rename from x-pack/packages/kbn-entities-schema/src/rest_spec/get.ts rename to x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/get.ts diff --git a/x-pack/packages/kbn-entities-schema/src/rest_spec/reset.ts b/x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/reset.ts similarity index 100% rename from x-pack/packages/kbn-entities-schema/src/rest_spec/reset.ts rename to x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/reset.ts diff --git a/x-pack/packages/kbn-entities-schema/src/schema/__snapshots__/common.test.ts.snap b/x-pack/platform/packages/shared/kbn-entities-schema/src/schema/__snapshots__/common.test.ts.snap similarity index 100% rename from x-pack/packages/kbn-entities-schema/src/schema/__snapshots__/common.test.ts.snap rename to x-pack/platform/packages/shared/kbn-entities-schema/src/schema/__snapshots__/common.test.ts.snap diff --git a/x-pack/packages/kbn-entities-schema/src/schema/common.test.ts b/x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.test.ts similarity index 100% rename from x-pack/packages/kbn-entities-schema/src/schema/common.test.ts rename to x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.test.ts diff --git a/x-pack/packages/kbn-entities-schema/src/schema/common.ts b/x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts similarity index 100% rename from x-pack/packages/kbn-entities-schema/src/schema/common.ts rename to x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts diff --git a/x-pack/packages/kbn-entities-schema/src/schema/entity.test.ts b/x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.test.ts similarity index 100% rename from x-pack/packages/kbn-entities-schema/src/schema/entity.test.ts rename to x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.test.ts diff --git a/x-pack/packages/kbn-entities-schema/src/schema/entity.ts b/x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts similarity index 100% rename from x-pack/packages/kbn-entities-schema/src/schema/entity.ts rename to x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts diff --git a/x-pack/packages/kbn-entities-schema/src/schema/entity_definition.ts b/x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity_definition.ts similarity index 100% rename from x-pack/packages/kbn-entities-schema/src/schema/entity_definition.ts rename to x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity_definition.ts diff --git a/x-pack/packages/kbn-entities-schema/src/schema/patterns.test.ts b/x-pack/platform/packages/shared/kbn-entities-schema/src/schema/patterns.test.ts similarity index 100% rename from x-pack/packages/kbn-entities-schema/src/schema/patterns.test.ts rename to x-pack/platform/packages/shared/kbn-entities-schema/src/schema/patterns.test.ts diff --git a/x-pack/packages/kbn-entities-schema/src/schema/patterns.ts b/x-pack/platform/packages/shared/kbn-entities-schema/src/schema/patterns.ts similarity index 100% rename from x-pack/packages/kbn-entities-schema/src/schema/patterns.ts rename to x-pack/platform/packages/shared/kbn-entities-schema/src/schema/patterns.ts diff --git a/x-pack/packages/kbn-entities-schema/tsconfig.json b/x-pack/platform/packages/shared/kbn-entities-schema/tsconfig.json similarity index 84% rename from x-pack/packages/kbn-entities-schema/tsconfig.json rename to x-pack/platform/packages/shared/kbn-entities-schema/tsconfig.json index 0fdbba4b7e793..d683c80d0cb12 100644 --- a/x-pack/packages/kbn-entities-schema/tsconfig.json +++ b/x-pack/platform/packages/shared/kbn-entities-schema/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/entity_manager/README.md b/x-pack/platform/plugins/shared/entity_manager/README.md similarity index 100% rename from x-pack/plugins/entity_manager/README.md rename to x-pack/platform/plugins/shared/entity_manager/README.md diff --git a/x-pack/plugins/entity_manager/common/config.ts b/x-pack/platform/plugins/shared/entity_manager/common/config.ts similarity index 100% rename from x-pack/plugins/entity_manager/common/config.ts rename to x-pack/platform/plugins/shared/entity_manager/common/config.ts diff --git a/x-pack/plugins/entity_manager/common/constants_entities.ts b/x-pack/platform/plugins/shared/entity_manager/common/constants_entities.ts similarity index 100% rename from x-pack/plugins/entity_manager/common/constants_entities.ts rename to x-pack/platform/plugins/shared/entity_manager/common/constants_entities.ts diff --git a/x-pack/plugins/entity_manager/common/debug_log.ts b/x-pack/platform/plugins/shared/entity_manager/common/debug_log.ts similarity index 100% rename from x-pack/plugins/entity_manager/common/debug_log.ts rename to x-pack/platform/plugins/shared/entity_manager/common/debug_log.ts diff --git a/x-pack/plugins/entity_manager/common/errors.ts b/x-pack/platform/plugins/shared/entity_manager/common/errors.ts similarity index 100% rename from x-pack/plugins/entity_manager/common/errors.ts rename to x-pack/platform/plugins/shared/entity_manager/common/errors.ts diff --git a/x-pack/plugins/entity_manager/common/types_api.ts b/x-pack/platform/plugins/shared/entity_manager/common/types_api.ts similarity index 100% rename from x-pack/plugins/entity_manager/common/types_api.ts rename to x-pack/platform/plugins/shared/entity_manager/common/types_api.ts diff --git a/x-pack/plugins/entity_manager/docs/entity_definitions.md b/x-pack/platform/plugins/shared/entity_manager/docs/entity_definitions.md similarity index 97% rename from x-pack/plugins/entity_manager/docs/entity_definitions.md rename to x-pack/platform/plugins/shared/entity_manager/docs/entity_definitions.md index fd08f1effd5a8..5ae22e6823737 100644 --- a/x-pack/plugins/entity_manager/docs/entity_definitions.md +++ b/x-pack/platform/plugins/shared/entity_manager/docs/entity_definitions.md @@ -7,7 +7,7 @@ Entity definitions are a core concept of the entity model. They define the way t > [!NOTE] > Entity definitions are based on transform and as such a subset of the configuration is tightly coupled to transform settings. While we provide defaults for these settings, one can still update properties such as `frequency`, `sync.time.delay` and `sync.time.field` (see [transform documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html)). -When creating a definition (see [entity definition schema](https://github.com/elastic/kibana/blob/main/x-pack/packages/kbn-entities-schema/src/schema/entity_definition.ts#L21)), entity manager will create a transforms to collect entities based on the configured [identityFields](https://github.com/elastic/kibana/blob/main/x-pack/packages/kbn-entities-schema/src/schema/entity_definition.ts#L29). +When creating a definition (see [entity definition schema](https://github.com/elastic/kibana/blob/main/x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity_definition.ts#L21)), entity manager will create a transforms to collect entities based on the configured [identityFields](https://github.com/elastic/kibana/blob/main/x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity_definition.ts#L29). The transform creates one document per entity, reading documents from the configured source indices and grouping them by the identity fields. Each entity document gets overwritten each time the transform runs. The transforms outputs the data to a unique index (`.entities.v1.latest.`). diff --git a/x-pack/plugins/entity_manager/jest.config.js b/x-pack/platform/plugins/shared/entity_manager/jest.config.js similarity index 53% rename from x-pack/plugins/entity_manager/jest.config.js rename to x-pack/platform/plugins/shared/entity_manager/jest.config.js index 615d1c851895b..0f3a42c2452c9 100644 --- a/x-pack/plugins/entity_manager/jest.config.js +++ b/x-pack/platform/plugins/shared/entity_manager/jest.config.js @@ -7,11 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/entity_manager'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/entity_manager', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/entity_manager'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/entity_manager', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/entity_manager/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/shared/entity_manager/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/entity_manager/kibana.jsonc b/x-pack/platform/plugins/shared/entity_manager/kibana.jsonc similarity index 100% rename from x-pack/plugins/entity_manager/kibana.jsonc rename to x-pack/platform/plugins/shared/entity_manager/kibana.jsonc diff --git a/x-pack/plugins/entity_manager/public/index.ts b/x-pack/platform/plugins/shared/entity_manager/public/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/public/index.ts rename to x-pack/platform/plugins/shared/entity_manager/public/index.ts diff --git a/x-pack/plugins/entity_manager/public/lib/entity_client.test.ts b/x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.test.ts similarity index 100% rename from x-pack/plugins/entity_manager/public/lib/entity_client.test.ts rename to x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.test.ts diff --git a/x-pack/plugins/entity_manager/public/lib/entity_client.ts b/x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts similarity index 100% rename from x-pack/plugins/entity_manager/public/lib/entity_client.ts rename to x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts diff --git a/x-pack/plugins/entity_manager/public/lib/errors.ts b/x-pack/platform/plugins/shared/entity_manager/public/lib/errors.ts similarity index 100% rename from x-pack/plugins/entity_manager/public/lib/errors.ts rename to x-pack/platform/plugins/shared/entity_manager/public/lib/errors.ts diff --git a/x-pack/plugins/entity_manager/public/plugin.ts b/x-pack/platform/plugins/shared/entity_manager/public/plugin.ts similarity index 100% rename from x-pack/plugins/entity_manager/public/plugin.ts rename to x-pack/platform/plugins/shared/entity_manager/public/plugin.ts diff --git a/x-pack/plugins/entity_manager/public/types.ts b/x-pack/platform/plugins/shared/entity_manager/public/types.ts similarity index 100% rename from x-pack/plugins/entity_manager/public/types.ts rename to x-pack/platform/plugins/shared/entity_manager/public/types.ts diff --git a/x-pack/plugins/entity_manager/server/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/index.ts diff --git a/x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts diff --git a/x-pack/plugins/entity_manager/server/lib/auth/api_key/saved_object.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/saved_object.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/auth/api_key/saved_object.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/saved_object.ts diff --git a/x-pack/plugins/entity_manager/server/lib/auth/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/auth/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/auth/index.ts diff --git a/x-pack/plugins/entity_manager/server/lib/auth/privileges.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/privileges.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/auth/privileges.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/auth/privileges.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/constants.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/constants.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/constants.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/constants.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/containers_from_ecs_data.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/containers_from_ecs_data.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/containers_from_ecs_data.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/containers_from_ecs_data.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/hosts_from_ecs_data.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/hosts_from_ecs_data.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/hosts_from_ecs_data.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/hosts_from_ecs_data.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/index.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_index_patterns.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_index_patterns.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_index_patterns.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_index_patterns.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_metadata.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_metadata.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_metadata.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/ecs_metadata.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/common/global_metadata.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/global_metadata.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/common/global_metadata.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/global_metadata.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_index_patterns.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_index_patterns.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_index_patterns.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_index_patterns.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_metadata.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_metadata.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_metadata.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/common/otel_metadata.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cluster.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cluster.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cluster.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cluster.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cron_job.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cron_job.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cron_job.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/cron_job.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/daemon_set.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/daemon_set.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/daemon_set.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/daemon_set.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/deployment.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/deployment.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/deployment.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/deployment.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/index.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/job.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/job.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/job.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/job.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/node.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/node.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/node.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/node.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/pod.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/pod.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/pod.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/pod.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/replica_set.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/replica_set.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/replica_set.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/replica_set.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/service.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/service.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/service.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/service.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/stateful_set.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/stateful_set.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/ecs/stateful_set.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/ecs/stateful_set.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/index.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cluster.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cluster.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cluster.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cluster.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cron_job.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cron_job.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cron_job.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/cron_job.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/daemon_set.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/daemon_set.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/daemon_set.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/daemon_set.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/deployment.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/deployment.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/deployment.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/deployment.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/index.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/job.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/job.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/job.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/job.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/node.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/node.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/node.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/node.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/pod.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/pod.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/pod.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/pod.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/replica_set.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/replica_set.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/replica_set.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/replica_set.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/stateful_set.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/stateful_set.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/kubernetes/semconv/stateful_set.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/kubernetes/semconv/stateful_set.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/create_and_install_ingest_pipeline.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/create_and_install_ingest_pipeline.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/create_and_install_ingest_pipeline.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/create_and_install_ingest_pipeline.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/create_and_install_transform.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/create_and_install_transform.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/create_and_install_transform.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/create_and_install_transform.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/delete_entity_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/delete_entity_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/delete_entity_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/delete_entity_definition.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/delete_index.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/delete_index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/delete_index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/delete_index.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/delete_ingest_pipeline.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/delete_ingest_pipeline.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/delete_ingest_pipeline.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/delete_ingest_pipeline.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/delete_transforms.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/delete_transforms.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/delete_transforms.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/delete_transforms.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/errors/entity_definition_id_invalid.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/errors/entity_definition_id_invalid.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/errors/entity_definition_id_invalid.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/errors/entity_definition_id_invalid.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/errors/entity_definition_update_conflict.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/errors/entity_definition_update_conflict.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/errors/entity_definition_update_conflict.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/errors/entity_definition_update_conflict.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/errors/entity_id_conflict_error.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/errors/entity_id_conflict_error.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/errors/entity_id_conflict_error.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/errors/entity_id_conflict_error.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/errors/entity_not_found.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/errors/entity_not_found.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/errors/entity_not_found.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/errors/entity_not_found.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/errors/entity_security_exception.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/errors/entity_security_exception.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/errors/entity_security_exception.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/errors/entity_security_exception.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/errors/invalid_transform_error.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/errors/invalid_transform_error.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/errors/invalid_transform_error.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/errors/invalid_transform_error.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/find_entity_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/find_entity_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/find_entity_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/find_entity_definition.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/helpers/fixtures/builtin_entity_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/fixtures/builtin_entity_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/helpers/fixtures/builtin_entity_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/fixtures/builtin_entity_definition.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/helpers/fixtures/entity_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/fixtures/entity_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/helpers/fixtures/entity_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/fixtures/entity_definition.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/helpers/fixtures/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/fixtures/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/helpers/fixtures/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/fixtures/index.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/helpers/generate_component_id.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/generate_component_id.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/helpers/generate_component_id.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/generate_component_id.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/helpers/get_elasticsearch_query_or_throw.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/get_elasticsearch_query_or_throw.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/helpers/get_elasticsearch_query_or_throw.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/get_elasticsearch_query_or_throw.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.test.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.test.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.test.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.test.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/helpers/is_builtin_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/is_builtin_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/helpers/is_builtin_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/is_builtin_definition.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/helpers/merge_definition_update.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/merge_definition_update.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/helpers/merge_definition_update.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/merge_definition_update.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/helpers/retry.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/retry.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/helpers/retry.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/helpers/retry.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_latest_processors.test.ts.snap b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_latest_processors.test.ts.snap similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_latest_processors.test.ts.snap rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_latest_processors.test.ts.snap diff --git a/x-pack/plugins/entity_manager/server/lib/entities/ingest_pipeline/generate_latest_processors.test.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/ingest_pipeline/generate_latest_processors.test.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/ingest_pipeline/generate_latest_processors.test.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/ingest_pipeline/generate_latest_processors.test.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/ingest_pipeline/generate_latest_processors.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/ingest_pipeline/generate_latest_processors.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/ingest_pipeline/generate_latest_processors.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/ingest_pipeline/generate_latest_processors.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/install_entity_definition.test.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/install_entity_definition.test.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/install_entity_definition.test.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/install_entity_definition.test.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/install_entity_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/install_entity_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/install_entity_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/install_entity_definition.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/read_entity_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/read_entity_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/read_entity_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/read_entity_definition.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/save_entity_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/save_entity_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/save_entity_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/save_entity_definition.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/start_transforms.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/start_transforms.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/start_transforms.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/start_transforms.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/stop_transforms.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/stop_transforms.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/stop_transforms.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/stop_transforms.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/templates/__snapshots__/entities_latest_template.test.ts.snap b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/templates/__snapshots__/entities_latest_template.test.ts.snap similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/templates/__snapshots__/entities_latest_template.test.ts.snap rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/templates/__snapshots__/entities_latest_template.test.ts.snap diff --git a/x-pack/plugins/entity_manager/server/lib/entities/templates/entities_latest_template.test.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/templates/entities_latest_template.test.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/templates/entities_latest_template.test.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/templates/entities_latest_template.test.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/templates/entities_latest_template.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/templates/entities_latest_template.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/templates/entities_latest_template.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/templates/entities_latest_template.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/transform/__snapshots__/generate_latest_transform.test.ts.snap b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/__snapshots__/generate_latest_transform.test.ts.snap similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/transform/__snapshots__/generate_latest_transform.test.ts.snap rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/__snapshots__/generate_latest_transform.test.ts.snap diff --git a/x-pack/plugins/entity_manager/server/lib/entities/transform/generate_identity_aggregations.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/generate_identity_aggregations.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/transform/generate_identity_aggregations.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/generate_identity_aggregations.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/transform/generate_latest_transform.test.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/generate_latest_transform.test.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/transform/generate_latest_transform.test.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/generate_latest_transform.test.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/transform/generate_latest_transform.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/generate_latest_transform.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/transform/generate_latest_transform.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/generate_latest_transform.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/transform/generate_metadata_aggregations.test.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/generate_metadata_aggregations.test.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/transform/generate_metadata_aggregations.test.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/generate_metadata_aggregations.test.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/transform/generate_metadata_aggregations.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/generate_metadata_aggregations.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/transform/generate_metadata_aggregations.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/generate_metadata_aggregations.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/transform/generate_metric_aggregations.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/generate_metric_aggregations.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/transform/generate_metric_aggregations.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/generate_metric_aggregations.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/transform/validate_transform_ids.test.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/validate_transform_ids.test.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/transform/validate_transform_ids.test.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/validate_transform_ids.test.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/transform/validate_transform_ids.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/validate_transform_ids.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/transform/validate_transform_ids.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/transform/validate_transform_ids.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/types.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/types.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/types.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/types.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/uninstall_entity_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/uninstall_entity_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/uninstall_entity_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/uninstall_entity_definition.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entities/upgrade_entity_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entities/upgrade_entity_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entities/upgrade_entity_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entities/upgrade_entity_definition.ts diff --git a/x-pack/plugins/entity_manager/server/lib/entity_client.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/entity_client.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/entity_client.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/entity_client.ts diff --git a/x-pack/plugins/entity_manager/server/lib/manage_index_templates.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/manage_index_templates.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/manage_index_templates.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/manage_index_templates.ts diff --git a/x-pack/plugins/entity_manager/server/lib/utils.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/utils.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/utils.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/utils.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/constants.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/constants.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/constants.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/constants.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/definitions/setup_entity_definitions_index.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/definitions/setup_entity_definitions_index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/definitions/setup_entity_definitions_index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/definitions/setup_entity_definitions_index.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/definitions/source_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/definitions/source_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/definitions/source_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/definitions/source_definition.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/definitions/type_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/definitions/type_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/definitions/type_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/definitions/type_definition.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/entity_client.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/entity_client.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/entity_client.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/entity_client.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/errors/entity_definition_conflict.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/errors/entity_definition_conflict.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/errors/entity_definition_conflict.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/errors/entity_definition_conflict.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/errors/unknown_entity_type.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/errors/unknown_entity_type.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/errors/unknown_entity_type.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/errors/unknown_entity_type.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/queries/index.test.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/queries/index.test.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/queries/index.test.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/queries/index.test.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/queries/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/queries/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/queries/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/queries/index.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/queries/utils.test.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/queries/utils.test.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/queries/utils.test.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/queries/utils.test.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/queries/utils.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/queries/utils.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/queries/utils.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/queries/utils.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/run_esql_query.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/run_esql_query.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/run_esql_query.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/run_esql_query.ts diff --git a/x-pack/plugins/entity_manager/server/lib/v2/types.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/v2/types.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/v2/types.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/v2/types.ts diff --git a/x-pack/plugins/entity_manager/server/lib/validators/validate_date_range.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/validators/validate_date_range.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/validators/validate_date_range.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/validators/validate_date_range.ts diff --git a/x-pack/plugins/entity_manager/server/lib/validators/validation_error.ts b/x-pack/platform/plugins/shared/entity_manager/server/lib/validators/validation_error.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/lib/validators/validation_error.ts rename to x-pack/platform/plugins/shared/entity_manager/server/lib/validators/validation_error.ts diff --git a/x-pack/plugins/entity_manager/server/plugin.ts b/x-pack/platform/plugins/shared/entity_manager/server/plugin.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/plugin.ts rename to x-pack/platform/plugins/shared/entity_manager/server/plugin.ts diff --git a/x-pack/plugins/entity_manager/server/routes/create_entity_manager_server_route.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/create_entity_manager_server_route.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/create_entity_manager_server_route.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/create_entity_manager_server_route.ts diff --git a/x-pack/plugins/entity_manager/server/routes/enablement/check.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/check.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/enablement/check.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/check.ts diff --git a/x-pack/plugins/entity_manager/server/routes/enablement/disable.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/enablement/disable.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts diff --git a/x-pack/plugins/entity_manager/server/routes/enablement/enable.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/enablement/enable.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts diff --git a/x-pack/plugins/entity_manager/server/routes/enablement/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/enablement/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/index.ts diff --git a/x-pack/plugins/entity_manager/server/routes/entities/create.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/entities/create.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/entities/create.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/entities/create.ts diff --git a/x-pack/plugins/entity_manager/server/routes/entities/delete.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/entities/delete.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/entities/delete.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/entities/delete.ts diff --git a/x-pack/plugins/entity_manager/server/routes/entities/get.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/entities/get.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/entities/get.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/entities/get.ts diff --git a/x-pack/plugins/entity_manager/server/routes/entities/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/entities/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/entities/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/entities/index.ts diff --git a/x-pack/plugins/entity_manager/server/routes/entities/reset.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/entities/reset.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/entities/reset.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/entities/reset.ts diff --git a/x-pack/plugins/entity_manager/server/routes/entities/update.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/entities/update.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/entities/update.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/entities/update.ts diff --git a/x-pack/plugins/entity_manager/server/routes/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/index.ts diff --git a/x-pack/plugins/entity_manager/server/routes/types.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/types.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/types.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/types.ts diff --git a/x-pack/plugins/entity_manager/server/routes/v2/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/v2/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/v2/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/v2/index.ts diff --git a/x-pack/plugins/entity_manager/server/routes/v2/search.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/v2/search.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/v2/search.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/v2/search.ts diff --git a/x-pack/plugins/entity_manager/server/routes/v2/source_definition_routes.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/v2/source_definition_routes.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/v2/source_definition_routes.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/v2/source_definition_routes.ts diff --git a/x-pack/plugins/entity_manager/server/routes/v2/type_definition_routes.ts b/x-pack/platform/plugins/shared/entity_manager/server/routes/v2/type_definition_routes.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/routes/v2/type_definition_routes.ts rename to x-pack/platform/plugins/shared/entity_manager/server/routes/v2/type_definition_routes.ts diff --git a/x-pack/plugins/entity_manager/server/saved_objects/entity_definition.ts b/x-pack/platform/plugins/shared/entity_manager/server/saved_objects/entity_definition.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/saved_objects/entity_definition.ts rename to x-pack/platform/plugins/shared/entity_manager/server/saved_objects/entity_definition.ts diff --git a/x-pack/plugins/entity_manager/server/saved_objects/entity_discovery_api_key.ts b/x-pack/platform/plugins/shared/entity_manager/server/saved_objects/entity_discovery_api_key.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/saved_objects/entity_discovery_api_key.ts rename to x-pack/platform/plugins/shared/entity_manager/server/saved_objects/entity_discovery_api_key.ts diff --git a/x-pack/plugins/entity_manager/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/entity_manager/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/entity_manager/server/saved_objects/index.ts diff --git a/x-pack/plugins/entity_manager/server/templates/components/base_latest.ts b/x-pack/platform/plugins/shared/entity_manager/server/templates/components/base_latest.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/templates/components/base_latest.ts rename to x-pack/platform/plugins/shared/entity_manager/server/templates/components/base_latest.ts diff --git a/x-pack/plugins/entity_manager/server/templates/components/entity.ts b/x-pack/platform/plugins/shared/entity_manager/server/templates/components/entity.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/templates/components/entity.ts rename to x-pack/platform/plugins/shared/entity_manager/server/templates/components/entity.ts diff --git a/x-pack/plugins/entity_manager/server/templates/components/event.ts b/x-pack/platform/plugins/shared/entity_manager/server/templates/components/event.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/templates/components/event.ts rename to x-pack/platform/plugins/shared/entity_manager/server/templates/components/event.ts diff --git a/x-pack/plugins/entity_manager/server/types.ts b/x-pack/platform/plugins/shared/entity_manager/server/types.ts similarity index 100% rename from x-pack/plugins/entity_manager/server/types.ts rename to x-pack/platform/plugins/shared/entity_manager/server/types.ts diff --git a/x-pack/plugins/entity_manager/tsconfig.json b/x-pack/platform/plugins/shared/entity_manager/tsconfig.json similarity index 91% rename from x-pack/plugins/entity_manager/tsconfig.json rename to x-pack/platform/plugins/shared/entity_manager/tsconfig.json index 4c75ac101f6ad..beb8097502b2b 100644 --- a/x-pack/plugins/entity_manager/tsconfig.json +++ b/x-pack/platform/plugins/shared/entity_manager/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../typings/**/*", + "../../../../../typings/**/*", "common/**/*", "server/**/*", "public/**/*", diff --git a/x-pack/plugins/observability_solution/entity_manager_app/jest.config.js b/x-pack/plugins/observability_solution/entity_manager_app/jest.config.js deleted file mode 100644 index d8217a43063a2..0000000000000 --- a/x-pack/plugins/observability_solution/entity_manager_app/jest.config.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -const path = require('path'); - -module.exports = { - preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../../..'), - roots: ['/x-pack/plugins/observability_solution/entity_manager_app'], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/entity_manager_app', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/observability_solution/entity_manager_app/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/x-pack/plugins/observability_solution/entities_data_access/README.md b/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/README.md similarity index 100% rename from x-pack/plugins/observability_solution/entities_data_access/README.md rename to x-pack/solutions/observability/plugins/observability_solution/entities_data_access/README.md diff --git a/x-pack/plugins/observability_solution/entities_data_access/jest.config.js b/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js similarity index 65% rename from x-pack/plugins/observability_solution/entities_data_access/jest.config.js rename to x-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js index 9a813d5ebfee0..2676048c712b2 100644 --- a/x-pack/plugins/observability_solution/entities_data_access/jest.config.js +++ b/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js @@ -9,6 +9,8 @@ const path = require('path'); module.exports = { preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../../..'), - roots: ['/x-pack/plugins/observability_solution/entities_data_access'], + rootDir: path.resolve(__dirname, '../../../../../..'), + roots: [ + '/x-pack/solutions/observability/plugins/observability_solution/entities_data_access', + ], }; diff --git a/x-pack/plugins/observability_solution/entities_data_access/kibana.jsonc b/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/entities_data_access/kibana.jsonc rename to x-pack/solutions/observability/plugins/observability_solution/entities_data_access/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/entities_data_access/server/index.ts b/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/entities_data_access/server/index.ts rename to x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/index.ts diff --git a/x-pack/plugins/observability_solution/entities_data_access/server/plugin.ts b/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/entities_data_access/server/plugin.ts rename to x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/entities_data_access/server/types.ts b/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/entities_data_access/server/types.ts rename to x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/types.ts diff --git a/x-pack/plugins/observability_solution/entities_data_access/tsconfig.json b/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/tsconfig.json similarity index 78% rename from x-pack/plugins/observability_solution/entities_data_access/tsconfig.json rename to x-pack/solutions/observability/plugins/observability_solution/entities_data_access/tsconfig.json index 5475c04618993..a2745070f63ef 100644 --- a/x-pack/plugins/observability_solution/entities_data_access/tsconfig.json +++ b/x-pack/solutions/observability/plugins/observability_solution/entities_data_access/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/x-pack/plugins/observability_solution/entity_manager_app/README.md b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/README.md similarity index 100% rename from x-pack/plugins/observability_solution/entity_manager_app/README.md rename to x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/README.md diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js new file mode 100644 index 0000000000000..2b49a755b2c59 --- /dev/null +++ b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +const path = require('path'); + +module.exports = { + preset: '@kbn/test', + rootDir: path.resolve(__dirname, '../../../../../..'), + roots: [ + '/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/observability_solution/entity_manager_app/kibana.jsonc b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/entity_manager_app/kibana.jsonc rename to x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/entity_manager_app/public/application.tsx b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx similarity index 100% rename from x-pack/plugins/observability_solution/entity_manager_app/public/application.tsx rename to x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx diff --git a/x-pack/plugins/observability_solution/entity_manager_app/public/context/plugin_context.ts b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/context/plugin_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/entity_manager_app/public/context/plugin_context.ts rename to x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/context/plugin_context.ts diff --git a/x-pack/plugins/observability_solution/entity_manager_app/public/hooks/use_kibana.ts b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/hooks/use_kibana.ts similarity index 100% rename from x-pack/plugins/observability_solution/entity_manager_app/public/hooks/use_kibana.ts rename to x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/hooks/use_kibana.ts diff --git a/x-pack/plugins/observability_solution/entity_manager_app/public/hooks/use_plugin_context.ts b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/hooks/use_plugin_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/entity_manager_app/public/hooks/use_plugin_context.ts rename to x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/hooks/use_plugin_context.ts diff --git a/x-pack/plugins/observability_solution/entity_manager_app/public/index.ts b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/entity_manager_app/public/index.ts rename to x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/index.ts diff --git a/x-pack/plugins/observability_solution/entity_manager_app/public/pages/overview/index.tsx b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/pages/overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/entity_manager_app/public/pages/overview/index.tsx rename to x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/pages/overview/index.tsx diff --git a/x-pack/plugins/observability_solution/entity_manager_app/public/plugin.ts b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/entity_manager_app/public/plugin.ts rename to x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/plugin.ts diff --git a/x-pack/plugins/observability_solution/entity_manager_app/public/routes.tsx b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/routes.tsx similarity index 100% rename from x-pack/plugins/observability_solution/entity_manager_app/public/routes.tsx rename to x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/routes.tsx diff --git a/x-pack/plugins/observability_solution/entity_manager_app/public/types.ts b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/entity_manager_app/public/types.ts rename to x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/types.ts diff --git a/x-pack/plugins/observability_solution/entity_manager_app/tsconfig.json b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json similarity index 88% rename from x-pack/plugins/observability_solution/entity_manager_app/tsconfig.json rename to x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json index 64c0a293a4e2e..0483de43cb42a 100644 --- a/x-pack/plugins/observability_solution/entity_manager_app/tsconfig.json +++ b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../../typings/**/*", + "../../../../../../typings/**/*", "common/**/*", "public/**/*", "types/**/*" diff --git a/yarn.lock b/yarn.lock index 31b75569d8c6a..7fe1424cda3cc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5460,11 +5460,11 @@ version "0.0.0" uid "" -"@kbn/entities-data-access-plugin@link:x-pack/plugins/observability_solution/entities_data_access": +"@kbn/entities-data-access-plugin@link:x-pack/solutions/observability/plugins/observability_solution/entities_data_access": version "0.0.0" uid "" -"@kbn/entities-schema@link:x-pack/packages/kbn-entities-schema": +"@kbn/entities-schema@link:x-pack/platform/packages/shared/kbn-entities-schema": version "0.0.0" uid "" @@ -5472,11 +5472,11 @@ version "0.0.0" uid "" -"@kbn/entityManager-app-plugin@link:x-pack/plugins/observability_solution/entity_manager_app": +"@kbn/entityManager-app-plugin@link:x-pack/solutions/observability/plugins/observability_solution/entity_manager_app": version "0.0.0" uid "" -"@kbn/entityManager-plugin@link:x-pack/plugins/entity_manager": +"@kbn/entityManager-plugin@link:x-pack/platform/plugins/shared/entity_manager": version "0.0.0" uid "" From 354858264f84b624a6a4a1fc7a9b2961b7ba6ec0 Mon Sep 17 00:00:00 2001 From: Shahzad Date: Fri, 6 Dec 2024 19:59:55 +0100 Subject: [PATCH 002/103] [EuiProvider] Hide unwanted toast until a fix can be done !! (#203244) ## Summary Hiding this until it can be fixed via https://github.com/elastic/kibana/issues/201805 !! image --- .../core-chrome-browser-internal/src/chrome_service.tsx | 4 +++- test/plugin_functional/test_suites/shared_ux/eui_provider.ts | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/core/chrome/core-chrome-browser-internal/src/chrome_service.tsx b/packages/core/chrome/core-chrome-browser-internal/src/chrome_service.tsx index 434639b07efdf..511100fff6d40 100644 --- a/packages/core/chrome/core-chrome-browser-internal/src/chrome_service.tsx +++ b/packages/core/chrome/core-chrome-browser-internal/src/chrome_service.tsx @@ -182,6 +182,7 @@ export class ChromeService { }; // Ensure developers are notified if working in a context that lacks the EUI Provider. + // @ts-expect-error private handleEuiDevProviderWarning = (notifications: NotificationsStart) => { const isDev = this.params.coreContext.env.mode.name === 'development'; if (isDev) { @@ -240,7 +241,8 @@ export class ChromeService { }: StartDeps): Promise { this.initVisibility(application); this.handleEuiFullScreenChanges(); - this.handleEuiDevProviderWarning(notifications); + // commented out until https://github.com/elastic/kibana/issues/201805 can be fixed + // this.handleEuiDevProviderWarning(notifications); const globalHelpExtensionMenuLinks$ = new BehaviorSubject( [] diff --git a/test/plugin_functional/test_suites/shared_ux/eui_provider.ts b/test/plugin_functional/test_suites/shared_ux/eui_provider.ts index fd503db46d27d..b35e25bb9121b 100644 --- a/test/plugin_functional/test_suites/shared_ux/eui_provider.ts +++ b/test/plugin_functional/test_suites/shared_ux/eui_provider.ts @@ -15,7 +15,8 @@ export default function ({ getPageObjects, getService }: PluginFunctionalProvide const testSubjects = getService('testSubjects'); const browser = getService('browser'); - describe('EUI Provider Dev Warning', () => { + // skipped until https://github.com/elastic/kibana/issues/201805 is resolved + describe.skip('EUI Provider Dev Warning', () => { it('shows error toast to developer', async () => { const pageTitle = 'EuiProvider test - Elastic'; From 1d3bf85d19985f99d9d582ffad0353747cd5c60b Mon Sep 17 00:00:00 2001 From: seanrathier Date: Fri, 6 Dec 2024 14:20:33 -0500 Subject: [PATCH 003/103] [Cloud Security] Refactoring the limit error message for agentless agent (#203257) --- .../server/services/agents/agentless_agent.ts | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/x-pack/plugins/fleet/server/services/agents/agentless_agent.ts b/x-pack/plugins/fleet/server/services/agents/agentless_agent.ts index 6d1945fced809..3cd885beba455 100644 --- a/x-pack/plugins/fleet/server/services/agents/agentless_agent.ts +++ b/x-pack/plugins/fleet/server/services/agents/agentless_agent.ts @@ -37,6 +37,15 @@ import { listFleetServerHosts } from '../fleet_server_host'; import type { AgentlessConfig } from '../utils/agentless'; import { prependAgentlessApiBasePathToEndpoint, isAgentlessEnabled } from '../utils/agentless'; +interface AgentlessAgentErrorHandlingMessages { + [key: string]: { + [key: string]: { + log: string; + message: string; + }; + }; +} + class AgentlessAgentService { public async createAgentlessAgent( esClient: ElasticsearchClient, @@ -326,14 +335,12 @@ class AgentlessAgentService { throw this.getAgentlessAgentError(action, error.message, traceId); } - const ERROR_HANDLING_MESSAGES = this.getErrorHandlingMessages(agentlessPolicyId); + const ERROR_HANDLING_MESSAGES: AgentlessAgentErrorHandlingMessages = + this.getErrorHandlingMessages(agentlessPolicyId); if (error.response) { if (error.response.status in ERROR_HANDLING_MESSAGES) { - const handledResponseErrorMessage = - ERROR_HANDLING_MESSAGES[error.response.status as keyof typeof ERROR_HANDLING_MESSAGES][ - action - ]; + const handledResponseErrorMessage = ERROR_HANDLING_MESSAGES[error.response.status][action]; this.handleResponseError( action, error.response, @@ -426,7 +433,7 @@ class AgentlessAgentService { : new AgentlessAgentDeleteError(this.withRequestIdMessage(userMessage, traceId)); } - private getErrorHandlingMessages(agentlessPolicyId: string) { + private getErrorHandlingMessages(agentlessPolicyId: string): AgentlessAgentErrorHandlingMessages { return { 400: { create: { @@ -483,13 +490,7 @@ class AgentlessAgentService { create: { log: '[Agentless API] Creating the agentless agent failed with a status 429 for agentless policy, agentless agent limit has been reached for this deployment or project.', message: - 'the Agentless API could not create the agentless agent, you have reached the limit of agentless agents provisioned for this deployment or project. Consider removing some agentless agents and try again or use agent-based agents for this integration.', - }, - // this is likely to happen when deleting agentless agents, but covering it in case - delete: { - log: '[Agentless API] Deleting the agentless deployment failed with a status 429 for agentless policy, agentless agent limit has been reached for this deployment or project.', - message: - 'the Agentless API could not delete the agentless deployment, you have reached the limit of agentless agents provisioned for this deployment or project. Consider removing some agentless agents and try again or use agent-based agents for this integration.', + 'you have reached the limit for agentless provisioning. Please remove some or switch to agent-based integration.', }, }, 500: { From e08d7126eb57dfa18a8607df7244a63caacc0bfc Mon Sep 17 00:00:00 2001 From: seanrathier Date: Fri, 6 Dec 2024 14:21:42 -0500 Subject: [PATCH 004/103] [Cloud Security] Added 'x-elastic-internal-origin' to agentless axios request headers for Kibana 9.0 (#203188) --- .../services/agents/agentless_agent.test.ts | 1353 +++++++++-------- .../server/services/agents/agentless_agent.ts | 40 +- 2 files changed, 730 insertions(+), 663 deletions(-) diff --git a/x-pack/plugins/fleet/server/services/agents/agentless_agent.test.ts b/x-pack/plugins/fleet/server/services/agents/agentless_agent.test.ts index b278cda4fc278..042f9dce7f772 100644 --- a/x-pack/plugins/fleet/server/services/agents/agentless_agent.test.ts +++ b/x-pack/plugins/fleet/server/services/agents/agentless_agent.test.ts @@ -88,649 +88,6 @@ describe('Agentless Agent service', () => { jest.resetAllMocks(); }); - it('should throw AgentlessAgentConfigError if agentless policy does not support_agentless', async () => { - const soClient = getAgentPolicyCreateMock(); - // ignore unrelated unique name constraint - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); - jest.spyOn(appContextService, 'getConfig').mockReturnValue({ - agentless: { - enabled: true, - api: { - url: 'http://api.agentless.com/api/v1/ess', - tls: { - certificate: '/path/to/cert', - key: '/path/to/key', - }, - }, - }, - } as any); - - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: false, - } as AgentPolicy) - ).rejects.toThrowError( - new AgentlessAgentConfigError( - 'Agentless agent policy does not have supports_agentless enabled' - ) - ); - }); - - it('should throw AgentlessAgentConfigError if cloud and serverless is not enabled', async () => { - const soClient = getAgentPolicyCreateMock(); - // ignore unrelated unique name constraint - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest - .spyOn(appContextService, 'getCloud') - .mockReturnValue({ isCloudEnabled: false, isServerlessEnabled: false } as any); - jest.spyOn(appContextService, 'getConfig').mockReturnValue({ - agentless: { - enabled: true, - api: { - url: 'http://api.agentless.com/api/v1/ess', - tls: { - certificate: '/path/to/cert', - key: '/path/to/key', - }, - }, - }, - } as any); - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: true, - } as AgentPolicy) - ).rejects.toThrowError( - new AgentlessAgentConfigError( - 'Agentless agents are only supported in cloud deployment and serverless projects' - ) - ); - }); - - it('should throw AgentlessAgentConfigError if agentless configuration is not found', async () => { - const soClient = getAgentPolicyCreateMock(); - // ignore unrelated unique name constraint - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest.spyOn(appContextService, 'getConfig').mockReturnValue({} as any); - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); - - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: true, - } as AgentPolicy) - ).rejects.toThrowError( - new AgentlessAgentConfigError('missing Agentless API configuration in Kibana') - ); - }); - - it('should throw AgentlessAgentConfigError if fleet hosts are not found', async () => { - const soClient = getAgentPolicyCreateMock(); - // ignore unrelated unique name constraint - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest.spyOn(appContextService, 'getConfig').mockReturnValue({ - agentless: { - enabled: true, - api: { - url: 'http://api.agentless.com/api/v1/ess', - tls: { - certificate: '/path/to/cert', - key: '/path/to/key', - }, - }, - }, - } as any); - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); - mockedListFleetServerHosts.mockResolvedValue({ items: [] } as any); - mockedListEnrollmentApiKeys.mockResolvedValue({ - items: [ - { - id: 'mocked', - policy_id: 'mocked', - api_key: 'mocked', - }, - ], - } as any); - - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: true, - } as AgentPolicy) - ).rejects.toThrowError(new AgentlessAgentConfigError('missing default Fleet server host')); - }); - - it('should throw AgentlessAgentConfigError if enrollment tokens are not found', async () => { - const soClient = getAgentPolicyCreateMock(); - // ignore unrelated unique name constraint - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest.spyOn(appContextService, 'getConfig').mockReturnValue({ - agentless: { - enabled: true, - api: { - url: 'http://api.agentless.com/api/v1/ess', - tls: { - certificate: '/path/to/cert', - key: '/path/to/key', - }, - }, - }, - } as any); - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); - mockedListFleetServerHosts.mockResolvedValue({ - items: [ - { - id: 'mocked', - host: 'http://fleetserver:8220', - active: true, - is_default: true, - }, - ], - } as any); - mockedListEnrollmentApiKeys.mockResolvedValue({ - items: [], - } as any); - - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: true, - } as AgentPolicy) - ).rejects.toThrowError(new AgentlessAgentConfigError('missing Fleet enrollment token')); - }); - - it('should throw an error and log and error when the Agentless API returns a status not handled and not in the 2xx series', async () => { - const soClient = getAgentPolicyCreateMock(); - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest.spyOn(appContextService, 'getConfig').mockReturnValue({ - agentless: { - enabled: true, - api: { - url: 'http://api.agentless.com', - tls: { - certificate: '/path/to/cert', - key: '/path/to/key', - ca: '/path/to/ca', - }, - }, - }, - } as any); - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); - mockedListFleetServerHosts.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-server-id', - host: 'http://fleetserver:8220', - active: true, - is_default: true, - host_urls: ['http://fleetserver:8220'], - }, - ], - } as any); - mockedListEnrollmentApiKeys.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-enrollment-token-id', - policy_id: 'mocked-policy-id', - api_key: 'mocked-api-key', - }, - ], - } as any); - // Force axios to throw an AxiosError to simulate an error response - (axios as jest.MockedFunction).mockRejectedValueOnce({ - response: { - status: 999, - data: { - message: 'This is a fake error status that is never to be handled handled', - }, - }, - } as AxiosError); - - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked-agentless-agent-policy-id', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: true, - } as AgentPolicy) - ).rejects.toThrowError(); - - // Assert that the error is logged - expect(mockedLogger.error).toHaveBeenCalledTimes(1); - }); - - it('should throw an error and log and error when the Agentless API returns status 500', async () => { - const soClient = getAgentPolicyCreateMock(); - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest.spyOn(appContextService, 'getConfig').mockReturnValue({ - agentless: { - enabled: true, - api: { - url: 'http://api.agentless.com', - tls: { - certificate: '/path/to/cert', - key: '/path/to/key', - ca: '/path/to/ca', - }, - }, - }, - } as any); - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); - mockedListFleetServerHosts.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-server-id', - host: 'http://fleetserver:8220', - active: true, - is_default: true, - host_urls: ['http://fleetserver:8220'], - }, - ], - } as any); - mockedListEnrollmentApiKeys.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-enrollment-token-id', - policy_id: 'mocked-policy-id', - api_key: 'mocked-api-key', - }, - ], - } as any); - // Force axios to throw an AxiosError to simulate an error response - (axios as jest.MockedFunction).mockRejectedValueOnce({ - response: { - status: 500, - data: { - message: 'Internal Server Error', - }, - }, - } as AxiosError); - - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked-agentless-agent-policy-id', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: true, - } as AgentPolicy) - ).rejects.toThrowError(); - - // Assert that the error is logged - expect(mockedLogger.error).toHaveBeenCalledTimes(1); - }); - - it('should throw an error and log and error when the Agentless API returns status 429', async () => { - const soClient = getAgentPolicyCreateMock(); - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest.spyOn(appContextService, 'getConfig').mockReturnValue({ - agentless: { - enabled: true, - api: { - url: 'http://api.agentless.com', - tls: { - certificate: '/path/to/cert', - key: '/path/to/key', - ca: '/path/to/ca', - }, - }, - }, - } as any); - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); - mockedListFleetServerHosts.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-server-id', - host: 'http://fleetserver:8220', - active: true, - is_default: true, - host_urls: ['http://fleetserver:8220'], - }, - ], - } as any); - mockedListEnrollmentApiKeys.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-enrollment-token-id', - policy_id: 'mocked-policy-id', - api_key: 'mocked-api-key', - }, - ], - } as any); - // Force axios to throw an AxiosError to simulate an error response - (axios as jest.MockedFunction).mockRejectedValueOnce({ - response: { - status: 429, - data: { - message: 'Limit exceeded', - }, - }, - } as AxiosError); - - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked-agentless-agent-policy-id', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: true, - } as AgentPolicy) - ).rejects.toThrowError(); - - // Assert that the error is logged - expect(mockedLogger.error).toHaveBeenCalledTimes(1); - }); - - it('should throw an error and log and error when the Agentless API returns status 408', async () => { - const soClient = getAgentPolicyCreateMock(); - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest.spyOn(appContextService, 'getConfig').mockReturnValue({ - agentless: { - enabled: true, - api: { - url: 'http://api.agentless.com', - tls: { - certificate: '/path/to/cert', - key: '/path/to/key', - ca: '/path/to/ca', - }, - }, - }, - } as any); - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); - mockedListFleetServerHosts.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-server-id', - host: 'http://fleetserver:8220', - active: true, - is_default: true, - host_urls: ['http://fleetserver:8220'], - }, - ], - } as any); - mockedListEnrollmentApiKeys.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-enrollment-token-id', - policy_id: 'mocked-policy-id', - api_key: 'mocked-api-key', - }, - ], - } as any); - // Force axios to throw an AxiosError to simulate an error response - (axios as jest.MockedFunction).mockRejectedValueOnce({ - response: { - status: 408, - data: { - message: 'Request timed out', - }, - }, - } as AxiosError); - - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked-agentless-agent-policy-id', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: true, - } as AgentPolicy) - ).rejects.toThrowError(); - - // Assert that the error is logged - expect(mockedLogger.error).toBeCalledTimes(1); - }); - - it('should throw an error and log and error when the Agentless API returns status 404', async () => { - const soClient = getAgentPolicyCreateMock(); - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest.spyOn(appContextService, 'getConfig').mockReturnValue({ - agentless: { - enabled: true, - api: { - url: 'http://api.agentless.com', - tls: { - certificate: '/path/to/cert', - key: '/path/to/key', - ca: '/path/to/ca', - }, - }, - }, - } as any); - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); - mockedListFleetServerHosts.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-server-id', - host: 'http://fleetserver:8220', - active: true, - is_default: true, - host_urls: ['http://fleetserver:8220'], - }, - ], - } as any); - mockedListEnrollmentApiKeys.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-enrollment-token-id', - policy_id: 'mocked-policy-id', - api_key: 'mocked-api-key', - }, - ], - } as any); - // Force axios to throw an AxiosError to simulate an error response - (axios as jest.MockedFunction).mockRejectedValueOnce({ - response: { - status: 404, - data: { - message: 'Not Found', - }, - }, - } as AxiosError); - - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked-agentless-agent-policy-id', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: true, - } as AgentPolicy) - ).rejects.toThrowError(); - - // Assert that the error is logged - expect(mockedLogger.error).toBeCalledTimes(1); - }); - - it('should throw an error and log and error when the Agentless API returns status 403', async () => { - const soClient = getAgentPolicyCreateMock(); - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest.spyOn(appContextService, 'getConfig').mockReturnValue({ - agentless: { - enabled: true, - api: { - url: 'http://api.agentless.com', - tls: { - certificate: '/path/to/cert', - key: '/path/to/key', - ca: '/path/to/ca', - }, - }, - }, - } as any); - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); - mockedListFleetServerHosts.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-server-id', - host: 'http://fleetserver:8220', - active: true, - is_default: true, - host_urls: ['http://fleetserver:8220'], - }, - ], - } as any); - mockedListEnrollmentApiKeys.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-enrollment-token-id', - policy_id: 'mocked-policy-id', - api_key: 'mocked-api-key', - }, - ], - } as any); - // Force axios to throw an AxiosError to simulate an error response - (axios as jest.MockedFunction).mockRejectedValueOnce({ - response: { - status: 403, - data: { - message: 'Forbidden', - }, - }, - } as AxiosError); - - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked-agentless-agent-policy-id', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: true, - } as AgentPolicy) - ).rejects.toThrowError(); - - // Assert that the error is logged - expect(mockedLogger.error).toBeCalledTimes(1); - }); - - it('should throw an error and log and error when the Agentless API returns status 401', async () => { - const soClient = getAgentPolicyCreateMock(); - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest.spyOn(appContextService, 'getConfig').mockReturnValue({ - agentless: { - enabled: true, - api: { - url: 'http://api.agentless.com', - tls: { - certificate: '/path/to/cert', - key: '/path/to/key', - ca: '/path/to/ca', - }, - }, - }, - } as any); - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); - mockedListFleetServerHosts.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-server-id', - host: 'http://fleetserver:8220', - active: true, - is_default: true, - host_urls: ['http://fleetserver:8220'], - }, - ], - } as any); - mockedListEnrollmentApiKeys.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-enrollment-token-id', - policy_id: 'mocked-policy-id', - api_key: 'mocked-api-key', - }, - ], - } as any); - // Force axios to throw an AxiosError to simulate an error response - (axios as jest.MockedFunction).mockRejectedValueOnce({ - response: { - status: 401, - data: { - message: 'Unauthorized', - }, - }, - } as AxiosError); - - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked-agentless-agent-policy-id', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: true, - } as AgentPolicy) - ).rejects.toThrowError(); - - // Assert that the error is logged - expect(mockedLogger.error).toBeCalledTimes(1); - }); - - it('should throw an error and log and error when the Agentless API returns status 400', async () => { - const soClient = getAgentPolicyCreateMock(); - const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; - jest.spyOn(appContextService, 'getConfig').mockReturnValue({ - agentless: { - enabled: true, - api: { - url: 'http://api.agentless.com', - tls: { - certificate: '/path/to/cert', - key: '/path/to/key', - ca: '/path/to/ca', - }, - }, - }, - } as any); - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); - mockedListFleetServerHosts.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-server-id', - host: 'http://fleetserver:8220', - active: true, - is_default: true, - host_urls: ['http://fleetserver:8220'], - }, - ], - } as any); - mockedListEnrollmentApiKeys.mockResolvedValue({ - items: [ - { - id: 'mocked-fleet-enrollment-token-id', - policy_id: 'mocked-policy-id', - api_key: 'mocked-api-key', - }, - ], - } as any); - // Force axios to throw an AxiosError to simulate an error response - (axios as jest.MockedFunction).mockRejectedValueOnce({ - response: { - status: 400, - data: { - message: 'Bad Request', - }, - }, - } as AxiosError); - - await expect( - agentlessAgentService.createAgentlessAgent(esClient, soClient, { - id: 'mocked-agentless-agent-policy-id', - name: 'agentless agent policy', - namespace: 'default', - supports_agentless: true, - } as AgentPolicy) - ).rejects.toThrowError(); - - // Assert that the error is logged - expect(mockedLogger.error).toBeCalledTimes(1); - }); - it('should create agentless agent for ESS', async () => { const returnValue = { id: 'mocked', @@ -1267,4 +624,714 @@ describe('Agentless Agent service', () => { expect.any(Object) ); }); + + it(`should have x-elastic-internal-origin in the headers when the request is internal`, async () => { + const returnValue = { + id: 'mocked', + regional_id: 'mocked', + }; + + (axios as jest.MockedFunction).mockResolvedValueOnce(returnValue); + const soClient = getAgentPolicyCreateMock(); + // ignore unrelated unique name constraint + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + ca: '/path/to/ca', + }, + }, + }, + } as any); + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + jest + .spyOn(appContextService, 'getKibanaVersion') + .mockReturnValue('mocked-kibana-version-infinite'); + mockedListFleetServerHosts.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-server-id', + host: 'http://fleetserver:8220', + active: true, + is_default: true, + host_urls: ['http://fleetserver:8220'], + }, + ], + } as any); + mockedListEnrollmentApiKeys.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-enrollment-token-id', + policy_id: 'mocked-fleet-enrollment-policy-id', + api_key: 'mocked-fleet-enrollment-api-key', + }, + ], + } as any); + + await agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked-agentless-agent-policy-id', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy); + + expect(axios).toHaveBeenCalledTimes(1); + expect(axios).toHaveBeenCalledWith( + expect.objectContaining({ + headers: expect.objectContaining({ + 'x-elastic-internal-origin': 'Kibana', + }), + }) + ); + }); + + describe('error handling', () => { + it('should throw AgentlessAgentConfigError if agentless policy does not support_agentless', async () => { + const soClient = getAgentPolicyCreateMock(); + // ignore unrelated unique name constraint + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com/api/v1/ess', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + }, + }, + }, + } as any); + + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: false, + } as AgentPolicy) + ).rejects.toThrowError( + new AgentlessAgentConfigError( + 'Agentless agent policy does not have supports_agentless enabled' + ) + ); + }); + + it('should throw AgentlessAgentConfigError if cloud and serverless is not enabled', async () => { + const soClient = getAgentPolicyCreateMock(); + // ignore unrelated unique name constraint + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest + .spyOn(appContextService, 'getCloud') + .mockReturnValue({ isCloudEnabled: false, isServerlessEnabled: false } as any); + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com/api/v1/ess', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + }, + }, + }, + } as any); + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy) + ).rejects.toThrowError( + new AgentlessAgentConfigError( + 'Agentless agents are only supported in cloud deployment and serverless projects' + ) + ); + }); + + it('should throw AgentlessAgentConfigError if agentless configuration is not found', async () => { + const soClient = getAgentPolicyCreateMock(); + // ignore unrelated unique name constraint + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getConfig').mockReturnValue({} as any); + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy) + ).rejects.toThrowError( + new AgentlessAgentConfigError('missing Agentless API configuration in Kibana') + ); + }); + + it('should throw AgentlessAgentConfigError if fleet hosts are not found', async () => { + const soClient = getAgentPolicyCreateMock(); + // ignore unrelated unique name constraint + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com/api/v1/ess', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + }, + }, + }, + } as any); + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + mockedListFleetServerHosts.mockResolvedValue({ items: [] } as any); + mockedListEnrollmentApiKeys.mockResolvedValue({ + items: [ + { + id: 'mocked', + policy_id: 'mocked', + api_key: 'mocked', + }, + ], + } as any); + + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy) + ).rejects.toThrowError(new AgentlessAgentConfigError('missing default Fleet server host')); + }); + + it('should throw AgentlessAgentConfigError if enrollment tokens are not found', async () => { + const soClient = getAgentPolicyCreateMock(); + // ignore unrelated unique name constraint + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com/api/v1/ess', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + }, + }, + }, + } as any); + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + mockedListFleetServerHosts.mockResolvedValue({ + items: [ + { + id: 'mocked', + host: 'http://fleetserver:8220', + active: true, + is_default: true, + }, + ], + } as any); + mockedListEnrollmentApiKeys.mockResolvedValue({ + items: [], + } as any); + + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy) + ).rejects.toThrowError(new AgentlessAgentConfigError('missing Fleet enrollment token')); + }); + + it('should throw an error and log and error when the Agentless API returns a status not handled and not in the 2xx series', async () => { + const soClient = getAgentPolicyCreateMock(); + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + ca: '/path/to/ca', + }, + }, + }, + } as any); + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + mockedListFleetServerHosts.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-server-id', + host: 'http://fleetserver:8220', + active: true, + is_default: true, + host_urls: ['http://fleetserver:8220'], + }, + ], + } as any); + mockedListEnrollmentApiKeys.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-enrollment-token-id', + policy_id: 'mocked-policy-id', + api_key: 'mocked-api-key', + }, + ], + } as any); + // Force axios to throw an AxiosError to simulate an error response + (axios as jest.MockedFunction).mockRejectedValueOnce({ + response: { + status: 999, + data: { + message: 'This is a fake error status that is never to be handled handled', + }, + }, + } as AxiosError); + + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked-agentless-agent-policy-id', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy) + ).rejects.toThrowError(); + + // Assert that the error is logged + expect(mockedLogger.error).toHaveBeenCalledTimes(1); + }); + + it('should throw an error and log and error when the Agentless API returns status 500', async () => { + const soClient = getAgentPolicyCreateMock(); + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + ca: '/path/to/ca', + }, + }, + }, + } as any); + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + mockedListFleetServerHosts.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-server-id', + host: 'http://fleetserver:8220', + active: true, + is_default: true, + host_urls: ['http://fleetserver:8220'], + }, + ], + } as any); + mockedListEnrollmentApiKeys.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-enrollment-token-id', + policy_id: 'mocked-policy-id', + api_key: 'mocked-api-key', + }, + ], + } as any); + // Force axios to throw an AxiosError to simulate an error response + (axios as jest.MockedFunction).mockRejectedValueOnce({ + response: { + status: 500, + data: { + message: 'Internal Server Error', + }, + }, + } as AxiosError); + + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked-agentless-agent-policy-id', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy) + ).rejects.toThrowError(); + + // Assert that the error is logged + expect(mockedLogger.error).toHaveBeenCalledTimes(1); + }); + + it('should throw an error and log and error when the Agentless API returns status 429', async () => { + const soClient = getAgentPolicyCreateMock(); + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + ca: '/path/to/ca', + }, + }, + }, + } as any); + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + mockedListFleetServerHosts.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-server-id', + host: 'http://fleetserver:8220', + active: true, + is_default: true, + host_urls: ['http://fleetserver:8220'], + }, + ], + } as any); + mockedListEnrollmentApiKeys.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-enrollment-token-id', + policy_id: 'mocked-policy-id', + api_key: 'mocked-api-key', + }, + ], + } as any); + // Force axios to throw an AxiosError to simulate an error response + (axios as jest.MockedFunction).mockRejectedValueOnce({ + response: { + status: 429, + data: { + message: 'Limit exceeded', + }, + }, + } as AxiosError); + + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked-agentless-agent-policy-id', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy) + ).rejects.toThrowError(); + + // Assert that the error is logged + expect(mockedLogger.error).toHaveBeenCalledTimes(1); + }); + + it('should throw an error and log and error when the Agentless API returns status 408', async () => { + const soClient = getAgentPolicyCreateMock(); + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + ca: '/path/to/ca', + }, + }, + }, + } as any); + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + mockedListFleetServerHosts.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-server-id', + host: 'http://fleetserver:8220', + active: true, + is_default: true, + host_urls: ['http://fleetserver:8220'], + }, + ], + } as any); + mockedListEnrollmentApiKeys.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-enrollment-token-id', + policy_id: 'mocked-policy-id', + api_key: 'mocked-api-key', + }, + ], + } as any); + // Force axios to throw an AxiosError to simulate an error response + (axios as jest.MockedFunction).mockRejectedValueOnce({ + response: { + status: 408, + data: { + message: 'Request timed out', + }, + }, + } as AxiosError); + + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked-agentless-agent-policy-id', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy) + ).rejects.toThrowError(); + + // Assert that the error is logged + expect(mockedLogger.error).toBeCalledTimes(1); + }); + + it('should throw an error and log and error when the Agentless API returns status 404', async () => { + const soClient = getAgentPolicyCreateMock(); + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + ca: '/path/to/ca', + }, + }, + }, + } as any); + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + mockedListFleetServerHosts.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-server-id', + host: 'http://fleetserver:8220', + active: true, + is_default: true, + host_urls: ['http://fleetserver:8220'], + }, + ], + } as any); + mockedListEnrollmentApiKeys.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-enrollment-token-id', + policy_id: 'mocked-policy-id', + api_key: 'mocked-api-key', + }, + ], + } as any); + // Force axios to throw an AxiosError to simulate an error response + (axios as jest.MockedFunction).mockRejectedValueOnce({ + response: { + status: 404, + data: { + message: 'Not Found', + }, + }, + } as AxiosError); + + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked-agentless-agent-policy-id', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy) + ).rejects.toThrowError(); + + // Assert that the error is logged + expect(mockedLogger.error).toBeCalledTimes(1); + }); + + it('should throw an error and log and error when the Agentless API returns status 403', async () => { + const soClient = getAgentPolicyCreateMock(); + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + ca: '/path/to/ca', + }, + }, + }, + } as any); + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + mockedListFleetServerHosts.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-server-id', + host: 'http://fleetserver:8220', + active: true, + is_default: true, + host_urls: ['http://fleetserver:8220'], + }, + ], + } as any); + mockedListEnrollmentApiKeys.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-enrollment-token-id', + policy_id: 'mocked-policy-id', + api_key: 'mocked-api-key', + }, + ], + } as any); + // Force axios to throw an AxiosError to simulate an error response + (axios as jest.MockedFunction).mockRejectedValueOnce({ + response: { + status: 403, + data: { + message: 'Forbidden', + }, + }, + } as AxiosError); + + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked-agentless-agent-policy-id', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy) + ).rejects.toThrowError(); + + // Assert that the error is logged + expect(mockedLogger.error).toBeCalledTimes(1); + }); + + it('should throw an error and log and error when the Agentless API returns status 401', async () => { + const soClient = getAgentPolicyCreateMock(); + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + ca: '/path/to/ca', + }, + }, + }, + } as any); + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + mockedListFleetServerHosts.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-server-id', + host: 'http://fleetserver:8220', + active: true, + is_default: true, + host_urls: ['http://fleetserver:8220'], + }, + ], + } as any); + mockedListEnrollmentApiKeys.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-enrollment-token-id', + policy_id: 'mocked-policy-id', + api_key: 'mocked-api-key', + }, + ], + } as any); + // Force axios to throw an AxiosError to simulate an error response + (axios as jest.MockedFunction).mockRejectedValueOnce({ + response: { + status: 401, + data: { + message: 'Unauthorized', + }, + }, + } as AxiosError); + + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked-agentless-agent-policy-id', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy) + ).rejects.toThrowError(); + + // Assert that the error is logged + expect(mockedLogger.error).toBeCalledTimes(1); + }); + + it('should throw an error and log and error when the Agentless API returns status 400', async () => { + const soClient = getAgentPolicyCreateMock(); + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + jest.spyOn(appContextService, 'getConfig').mockReturnValue({ + agentless: { + enabled: true, + api: { + url: 'http://api.agentless.com', + tls: { + certificate: '/path/to/cert', + key: '/path/to/key', + ca: '/path/to/ca', + }, + }, + }, + } as any); + jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isCloudEnabled: true } as any); + mockedListFleetServerHosts.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-server-id', + host: 'http://fleetserver:8220', + active: true, + is_default: true, + host_urls: ['http://fleetserver:8220'], + }, + ], + } as any); + mockedListEnrollmentApiKeys.mockResolvedValue({ + items: [ + { + id: 'mocked-fleet-enrollment-token-id', + policy_id: 'mocked-policy-id', + api_key: 'mocked-api-key', + }, + ], + } as any); + // Force axios to throw an AxiosError to simulate an error response + (axios as jest.MockedFunction).mockRejectedValueOnce({ + response: { + status: 400, + data: { + message: 'Bad Request', + }, + }, + } as AxiosError); + + await expect( + agentlessAgentService.createAgentlessAgent(esClient, soClient, { + id: 'mocked-agentless-agent-policy-id', + name: 'agentless agent policy', + namespace: 'default', + supports_agentless: true, + } as AgentPolicy) + ).rejects.toThrowError(); + + // Assert that the error is logged + expect(mockedLogger.error).toBeCalledTimes(1); + }); + }); }); diff --git a/x-pack/plugins/fleet/server/services/agents/agentless_agent.ts b/x-pack/plugins/fleet/server/services/agents/agentless_agent.ts index 3cd885beba455..3d6c8bba563ab 100644 --- a/x-pack/plugins/fleet/server/services/agents/agentless_agent.ts +++ b/x-pack/plugins/fleet/server/services/agents/agentless_agent.ts @@ -113,16 +113,7 @@ class AgentlessAgentService { labels, }, method: 'POST', - headers: { - 'Content-type': 'application/json', - 'X-Request-ID': traceId, - }, - httpsAgent: new https.Agent({ - rejectUnauthorized: tlsConfig.rejectUnauthorized, - cert: tlsConfig.certificate, - key: tlsConfig.key, - ca: tlsConfig.certificateAuthorities, - }), + ...this.getHeaders(tlsConfig, traceId), }; const cloudSetup = appContextService.getCloud(); @@ -157,6 +148,7 @@ class AgentlessAgentService { public async deleteAgentlessAgent(agentlessPolicyId: string) { const logger = appContextService.getLogger(); + const traceId = apm.currentTransaction?.traceparent; const agentlessConfig = appContextService.getConfig()?.agentless; const tlsConfig = this.createTlsConfig(agentlessConfig); const requestConfig = { @@ -165,17 +157,9 @@ class AgentlessAgentService { `/deployments/${agentlessPolicyId}` ), method: 'DELETE', - headers: { - 'Content-type': 'application/json', - }, - httpsAgent: new https.Agent({ - rejectUnauthorized: tlsConfig.rejectUnauthorized, - cert: tlsConfig.certificate, - key: tlsConfig.key, - ca: tlsConfig.certificateAuthorities, - }), + ...this.getHeaders(tlsConfig, traceId), }; - const traceId = apm.currentTransaction?.traceparent; + const errorMetadata: LogMeta = { trace: { id: traceId, @@ -220,6 +204,22 @@ class AgentlessAgentService { return response; } + private getHeaders(tlsConfig: SslConfig, traceId: string | undefined) { + return { + headers: { + 'Content-type': 'application/json', + 'X-Request-ID': traceId, + 'x-elastic-internal-origin': 'Kibana', + }, + httpsAgent: new https.Agent({ + rejectUnauthorized: tlsConfig.rejectUnauthorized, + cert: tlsConfig.certificate, + key: tlsConfig.key, + ca: tlsConfig.certificateAuthorities, + }), + }; + } + private getAgentlessTags(agentlessAgentPolicy: AgentPolicy) { if (!agentlessAgentPolicy.global_data_tags) { return undefined; From 79e731685ad4af8cabd4c6eb13aa70a6c23d556e Mon Sep 17 00:00:00 2001 From: Tim Sullivan Date: Fri, 6 Dec 2024 15:06:59 -0700 Subject: [PATCH 005/103] [KibanaRootContextProvider] destructure the params to KibanaEuiProvider (#203303) ## Summary Addresses: https://github.com/elastic/kibana/pull/202606#discussion_r1871947907 This discards the > unused portions of core, before adding them to the context value, but still allow people to pass the entire construct if we were to need something else cc @clintandrewhall ---- ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. **none** ### Identify risks Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss. Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging. **none** --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- packages/react/kibana_context/render/render_provider.tsx | 8 ++++++-- packages/react/kibana_context/root/root_provider.test.tsx | 6 ------ packages/react/kibana_context/root/root_provider.tsx | 3 ++- packages/react/kibana_context/root/tsconfig.json | 1 - 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/packages/react/kibana_context/render/render_provider.tsx b/packages/react/kibana_context/render/render_provider.tsx index a597311c0e17a..233abb42834b9 100644 --- a/packages/react/kibana_context/render/render_provider.tsx +++ b/packages/react/kibana_context/render/render_provider.tsx @@ -25,9 +25,13 @@ export type KibanaRenderContextProviderProps = Omit > = ({ children, ...props }) => { + const { analytics, i18n, theme, userProfile, colorMode, modify } = props; return ( - - + + {children} diff --git a/packages/react/kibana_context/root/root_provider.test.tsx b/packages/react/kibana_context/root/root_provider.test.tsx index 312b366797a36..405823a9b823c 100644 --- a/packages/react/kibana_context/root/root_provider.test.tsx +++ b/packages/react/kibana_context/root/root_provider.test.tsx @@ -15,8 +15,6 @@ import { useEuiTheme } from '@elastic/eui'; import type { UseEuiTheme } from '@elastic/eui'; import { mountWithIntl } from '@kbn/test-jest-helpers'; import type { KibanaTheme } from '@kbn/react-kibana-context-common'; -import type { AnalyticsServiceStart } from '@kbn/core-analytics-browser'; -import { analyticsServiceMock } from '@kbn/core-analytics-browser-mocks'; import { i18nServiceMock } from '@kbn/core-i18n-browser-mocks'; import { I18nStart } from '@kbn/core-i18n-browser'; import type { UserProfileService } from '@kbn/core-user-profile-browser'; @@ -26,12 +24,10 @@ import { KibanaRootContextProvider } from './root_provider'; describe('KibanaRootContextProvider', () => { let euiTheme: UseEuiTheme | undefined; let i18nMock: I18nStart; - let analytics: AnalyticsServiceStart; let userProfile: UserProfileService; beforeEach(() => { euiTheme = undefined; - analytics = analyticsServiceMock.createAnalyticsServiceStart(); i18nMock = i18nServiceMock.createStartContract(); userProfile = userProfileServiceMock.createStart(); }); @@ -66,7 +62,6 @@ describe('KibanaRootContextProvider', () => { const wrapper = mountWithIntl( { const wrapper = mountWithIntl( {children}; } else { + const { theme, userProfile, globalStyles, colorMode, modify } = props; return ( - + {children} ); diff --git a/packages/react/kibana_context/root/tsconfig.json b/packages/react/kibana_context/root/tsconfig.json index 6c67c97861c11..a7606025552b8 100644 --- a/packages/react/kibana_context/root/tsconfig.json +++ b/packages/react/kibana_context/root/tsconfig.json @@ -22,7 +22,6 @@ "@kbn/core-i18n-browser", "@kbn/core-base-common", "@kbn/core-analytics-browser", - "@kbn/core-analytics-browser-mocks", "@kbn/core-user-profile-browser", "@kbn/core-user-profile-browser-mocks", ] From 313deddfb57897e4f8e4dd8b80d5e721a7ef88c4 Mon Sep 17 00:00:00 2001 From: Brad White Date: Fri, 6 Dec 2024 17:52:17 -0700 Subject: [PATCH 006/103] [Ops] Combine some Renovate groups. Disable webpack, ts (#203350) ## Summary Combine some Renovate groups. Disable TS group. Closes #189415. Disable Webpack group until #191106 is finished. --- renovate.json | 89 +++++---------------------------------------------- 1 file changed, 8 insertions(+), 81 deletions(-) diff --git a/renovate.json b/renovate.json index 71f80e1b67e11..69a390b5b1127 100644 --- a/renovate.json +++ b/renovate.json @@ -790,7 +790,7 @@ "release_note:skip" ], "minimumReleaseAge": "7 days", - "enabled": true + "enabled": false }, { "groupName": "json-stable-stringify", @@ -852,26 +852,6 @@ "minimumReleaseAge": "7 days", "enabled": true }, - { - "groupName": "loader-utils", - "matchDepNames": [ - "loader-utils", - "@types/loader-utils" - ], - "reviewers": [ - "team:kibana-operations" - ], - "matchBaseBranches": [ - "main" - ], - "labels": [ - "Team:Operations", - "release_note:skip", - "backport:all-open" - ], - "minimumReleaseAge": "7 days", - "enabled": true - }, { "groupName": "micromatch/minimatch", "matchDepNames": [ @@ -1122,25 +1102,6 @@ "minimumReleaseAge": "7 days", "enabled": true }, - { - "groupName": "@statoscope/webpack-plugin", - "matchDepNames": [ - "@statoscope/webpack-plugin" - ], - "reviewers": [ - "team:kibana-operations" - ], - "matchBaseBranches": [ - "main" - ], - "labels": [ - "Team:Operations", - "backport:all-open", - "release_note:skip" - ], - "minimumReleaseAge": "7 days", - "enabled": true - }, { "groupName": "mocha", "matchDepNames": [ @@ -1355,6 +1316,7 @@ "clean-webpack-plugin", "css-loader", "file-loader", + "loader-utils", "mini-css-extract-plugin", "postcss-loader", "raw-loader", @@ -1369,6 +1331,8 @@ "webpack-merge", "webpack-sources", "webpack-visualizer-plugin2", + "@statoscope/webpack-plugin", + "@types/loader-utils", "@types/webpack", "@types/webpack-bundle-analyzer", "@types/webpack-env", @@ -1387,7 +1351,7 @@ "release_note:skip" ], "minimumReleaseAge": "7 days", - "enabled": true + "enabled": false }, { "groupName": "yargs", @@ -1435,7 +1399,8 @@ "groupName": "package.json/yarn.lock utils", "matchDepNames": [ "@yarnpkg/lockfile", - "sort-package-json" + "sort-package-json", + "yarn-deduplicate" ], "reviewers": [ "team:kibana-operations" @@ -1566,25 +1531,6 @@ "minimumReleaseAge": "7 days", "enabled": true }, - { - "groupName": "expect", - "matchDepNames": [ - "expect" - ], - "reviewers": [ - "team:kibana-operations" - ], - "matchBaseBranches": [ - "main" - ], - "labels": [ - "Team:Operations", - "backport:all-open", - "release_note:skip" - ], - "minimumReleaseAge": "7 days", - "enabled": true - }, { "groupName": "expiry-js", "matchDepNames": [ @@ -1851,25 +1797,6 @@ "minimumReleaseAge": "7 days", "enabled": true }, - { - "groupName": "yarn-deduplicate", - "matchDepNames": [ - "yarn-deduplicate" - ], - "reviewers": [ - "team:kibana-operations" - ], - "matchBaseBranches": [ - "main" - ], - "labels": [ - "Team:Operations", - "backport:all-open", - "release_note:skip" - ], - "minimumReleaseAge": "7 days", - "enabled": true - }, { "groupName": "http2", "matchDepNames": [ @@ -2527,4 +2454,4 @@ "datasourceTemplate": "docker" } ] -} \ No newline at end of file +} From 6ffddd9e7b620e5a3b25f215df0f78c3ba7b6614 Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Sat, 7 Dec 2024 03:33:53 +0000 Subject: [PATCH 007/103] skip flaky suite (#203346) --- .../fleet_api_integration/apis/agent_policy/agent_policy.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/fleet_api_integration/apis/agent_policy/agent_policy.ts b/x-pack/test/fleet_api_integration/apis/agent_policy/agent_policy.ts index d3a808a3cd4bd..30ac197db781f 100644 --- a/x-pack/test/fleet_api_integration/apis/agent_policy/agent_policy.ts +++ b/x-pack/test/fleet_api_integration/apis/agent_policy/agent_policy.ts @@ -160,7 +160,8 @@ export default function (providerContext: FtrProviderContext) { }); }); - describe('POST /api/fleet/agent_policies', () => { + // FLAKY: https://github.com/elastic/kibana/issues/203346 + describe.skip('POST /api/fleet/agent_policies', () => { let systemPkgVersion: string; before(async () => { await esArchiver.load('x-pack/test/functional/es_archives/fleet/empty_fleet_server'); From 4dfddc5197bec740c49fe2d3c62d06cc552b3c66 Mon Sep 17 00:00:00 2001 From: Matthew Kime Date: Sat, 7 Dec 2024 23:48:30 -0600 Subject: [PATCH 008/103] [index management] Remove unfreeze index test since the api is deprecated and freezing is unavailable (#198746) ## Summary Remove the `unfreeze` test since the api is deprecated and its essentially a noop. More info - https://www.elastic.co/guide/en/elasticsearch/reference/current/unfreeze-index-api.html --- .../apis/management/index_management/indices.ts | 15 --------------- .../index_management/lib/indices.api.ts | 3 --- 2 files changed, 18 deletions(-) diff --git a/x-pack/test/api_integration/apis/management/index_management/indices.ts b/x-pack/test/api_integration/apis/management/index_management/indices.ts index aa2ff5966c4df..8ab8396b8d46b 100644 --- a/x-pack/test/api_integration/apis/management/index_management/indices.ts +++ b/x-pack/test/api_integration/apis/management/index_management/indices.ts @@ -22,7 +22,6 @@ export default function ({ getService }: FtrProviderContext) { flushIndex, refreshIndex, forceMerge, - unfreeze, list, reload, clearCache, @@ -151,20 +150,6 @@ export default function ({ getService }: FtrProviderContext) { }); }); - describe('unfreeze', () => { - it('should unfreeze an index', async () => { - const index = await createIndex(); - - // Even if the index is already unfrozen, calling the unfreeze api - // will have no effect on it and will return a 200. - await unfreeze(index).expect(200); - const { - body: [cat2], - } = await catIndex(index, 'sth'); - expect(cat2.sth).to.be('false'); - }); - }); - describe('list', function () { it('should list all the indices with the expected properties and data enrichers', async function () { // Create an index that we can assert against diff --git a/x-pack/test/api_integration/apis/management/index_management/lib/indices.api.ts b/x-pack/test/api_integration/apis/management/index_management/lib/indices.api.ts index d75d3ec0527b6..321c7d4902cde 100644 --- a/x-pack/test/api_integration/apis/management/index_management/lib/indices.api.ts +++ b/x-pack/test/api_integration/apis/management/index_management/lib/indices.api.ts @@ -40,8 +40,6 @@ export function indicesApi(getService: FtrProviderContext['getService']) { const forceMerge = (index: string, args?: { maxNumSegments: number }) => executeActionOnIndices({ index, urlParam: 'forcemerge', args }); - const unfreeze = (index: string) => executeActionOnIndices({ index, urlParam: 'unfreeze' }); - const clearCache = (index: string) => executeActionOnIndices({ index, urlParam: 'clear_cache' }); const list = () => supertest.get(`${API_BASE_PATH}/indices`); @@ -56,7 +54,6 @@ export function indicesApi(getService: FtrProviderContext['getService']) { flushIndex, refreshIndex, forceMerge, - unfreeze, list, reload, clearCache, From 194a324b75d26decfe9e362a7e15f54181902212 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Sun, 8 Dec 2024 18:09:22 +1100 Subject: [PATCH 009/103] [api-docs] 2024-12-08 Daily api_docs build (#203356) Generated by https://buildkite.com/elastic/kibana-api-docs-daily/builds/915 --- api_docs/actions.mdx | 2 +- api_docs/advanced_settings.mdx | 2 +- .../ai_assistant_management_selection.mdx | 2 +- api_docs/aiops.mdx | 2 +- api_docs/alerting.mdx | 2 +- api_docs/apm.mdx | 2 +- api_docs/apm_data_access.mdx | 2 +- api_docs/asset_inventory.mdx | 2 +- api_docs/banners.mdx | 2 +- api_docs/bfetch.mdx | 2 +- api_docs/canvas.mdx | 2 +- api_docs/cases.mdx | 2 +- api_docs/charts.mdx | 2 +- api_docs/cloud.mdx | 2 +- api_docs/cloud_data_migration.mdx | 2 +- api_docs/cloud_defend.mdx | 2 +- api_docs/cloud_security_posture.mdx | 2 +- api_docs/console.mdx | 2 +- api_docs/content_management.mdx | 2 +- api_docs/controls.mdx | 2 +- api_docs/custom_integrations.mdx | 2 +- api_docs/dashboard.mdx | 2 +- api_docs/dashboard_enhanced.mdx | 2 +- api_docs/data.devdocs.json | 4 +- api_docs/data.mdx | 2 +- api_docs/data_quality.mdx | 2 +- api_docs/data_query.mdx | 2 +- api_docs/data_search.mdx | 2 +- api_docs/data_usage.mdx | 2 +- api_docs/data_view_editor.mdx | 2 +- api_docs/data_view_field_editor.mdx | 2 +- api_docs/data_view_management.mdx | 2 +- api_docs/data_views.mdx | 2 +- api_docs/data_visualizer.mdx | 2 +- api_docs/dataset_quality.mdx | 2 +- api_docs/deprecations_by_api.mdx | 2 +- api_docs/deprecations_by_plugin.mdx | 4 +- api_docs/deprecations_by_team.mdx | 2 +- api_docs/dev_tools.mdx | 2 +- api_docs/discover.mdx | 2 +- api_docs/discover_enhanced.mdx | 2 +- api_docs/discover_shared.mdx | 2 +- api_docs/ecs_data_quality_dashboard.mdx | 2 +- api_docs/elastic_assistant.mdx | 2 +- api_docs/embeddable.mdx | 2 +- api_docs/embeddable_enhanced.mdx | 2 +- api_docs/encrypted_saved_objects.mdx | 2 +- api_docs/enterprise_search.mdx | 2 +- api_docs/entities_data_access.devdocs.json | 2 +- api_docs/entities_data_access.mdx | 2 +- api_docs/entity_manager.devdocs.json | 80 +- api_docs/entity_manager.mdx | 2 +- api_docs/es_ui_shared.mdx | 2 +- api_docs/esql.mdx | 2 +- api_docs/esql_data_grid.mdx | 2 +- api_docs/event_annotation.mdx | 2 +- api_docs/event_annotation_listing.mdx | 2 +- api_docs/event_log.mdx | 2 +- api_docs/exploratory_view.mdx | 2 +- api_docs/expression_error.mdx | 2 +- api_docs/expression_gauge.mdx | 2 +- api_docs/expression_heatmap.mdx | 2 +- api_docs/expression_image.mdx | 2 +- api_docs/expression_legacy_metric_vis.mdx | 2 +- api_docs/expression_metric.mdx | 2 +- api_docs/expression_metric_vis.mdx | 2 +- api_docs/expression_partition_vis.mdx | 2 +- api_docs/expression_repeat_image.mdx | 2 +- api_docs/expression_reveal_image.mdx | 2 +- api_docs/expression_shape.mdx | 2 +- api_docs/expression_tagcloud.mdx | 2 +- api_docs/expression_x_y.mdx | 2 +- api_docs/expressions.mdx | 2 +- api_docs/features.mdx | 2 +- api_docs/field_formats.mdx | 2 +- api_docs/fields_metadata.mdx | 2 +- api_docs/file_upload.mdx | 2 +- api_docs/files.mdx | 2 +- api_docs/files_management.mdx | 2 +- api_docs/fleet.mdx | 2 +- api_docs/global_search.mdx | 2 +- api_docs/guided_onboarding.mdx | 2 +- api_docs/home.mdx | 2 +- api_docs/image_embeddable.mdx | 2 +- api_docs/index_lifecycle_management.mdx | 2 +- api_docs/index_management.mdx | 2 +- api_docs/inference.mdx | 2 +- api_docs/infra.mdx | 2 +- api_docs/ingest_pipelines.mdx | 2 +- api_docs/inspector.mdx | 2 +- api_docs/integration_assistant.mdx | 2 +- api_docs/interactive_setup.mdx | 2 +- api_docs/inventory.mdx | 2 +- api_docs/investigate.mdx | 2 +- api_docs/investigate_app.mdx | 2 +- api_docs/kbn_actions_types.mdx | 2 +- api_docs/kbn_ai_assistant.mdx | 2 +- api_docs/kbn_ai_assistant_common.mdx | 2 +- api_docs/kbn_aiops_components.mdx | 2 +- api_docs/kbn_aiops_log_pattern_analysis.mdx | 2 +- api_docs/kbn_aiops_log_rate_analysis.mdx | 2 +- .../kbn_alerting_api_integration_helpers.mdx | 2 +- api_docs/kbn_alerting_comparators.mdx | 2 +- api_docs/kbn_alerting_state_types.mdx | 2 +- api_docs/kbn_alerting_types.mdx | 2 +- api_docs/kbn_alerts_as_data_utils.mdx | 2 +- api_docs/kbn_alerts_grouping.mdx | 2 +- api_docs/kbn_alerts_ui_shared.mdx | 2 +- api_docs/kbn_analytics.mdx | 2 +- api_docs/kbn_analytics_collection_utils.mdx | 2 +- api_docs/kbn_apm_config_loader.mdx | 2 +- api_docs/kbn_apm_data_view.mdx | 2 +- api_docs/kbn_apm_synthtrace.mdx | 2 +- api_docs/kbn_apm_synthtrace_client.mdx | 2 +- api_docs/kbn_apm_types.mdx | 2 +- api_docs/kbn_apm_utils.mdx | 2 +- api_docs/kbn_avc_banner.mdx | 2 +- api_docs/kbn_axe_config.mdx | 2 +- api_docs/kbn_bfetch_error.mdx | 2 +- api_docs/kbn_calculate_auto.mdx | 2 +- .../kbn_calculate_width_from_char_count.mdx | 2 +- api_docs/kbn_cases_components.mdx | 2 +- api_docs/kbn_cbor.mdx | 2 +- api_docs/kbn_cell_actions.mdx | 2 +- api_docs/kbn_chart_expressions_common.mdx | 2 +- api_docs/kbn_chart_icons.mdx | 2 +- api_docs/kbn_ci_stats_core.mdx | 2 +- api_docs/kbn_ci_stats_performance_metrics.mdx | 2 +- api_docs/kbn_ci_stats_reporter.mdx | 2 +- api_docs/kbn_cli_dev_mode.mdx | 2 +- api_docs/kbn_cloud_security_posture.mdx | 2 +- .../kbn_cloud_security_posture_common.mdx | 2 +- api_docs/kbn_cloud_security_posture_graph.mdx | 2 +- api_docs/kbn_code_editor.mdx | 2 +- api_docs/kbn_code_editor_mock.mdx | 2 +- api_docs/kbn_code_owners.mdx | 2 +- api_docs/kbn_coloring.mdx | 2 +- api_docs/kbn_config.mdx | 2 +- api_docs/kbn_config_mocks.mdx | 2 +- api_docs/kbn_config_schema.mdx | 2 +- .../kbn_content_management_content_editor.mdx | 2 +- ...ement_content_insights_public.devdocs.json | 31 +- ...ent_management_content_insights_public.mdx | 4 +- ...ent_management_content_insights_server.mdx | 2 +- ...bn_content_management_favorites_common.mdx | 2 +- ...bn_content_management_favorites_public.mdx | 2 +- ...bn_content_management_favorites_server.mdx | 2 +- ...tent_management_tabbed_table_list_view.mdx | 2 +- ...kbn_content_management_table_list_view.mdx | 2 +- ...tent_management_table_list_view_common.mdx | 2 +- ...agement_table_list_view_table.devdocs.json | 16 + ...ntent_management_table_list_view_table.mdx | 4 +- ...tent_management_user_profiles.devdocs.json | 60 +- .../kbn_content_management_user_profiles.mdx | 4 +- api_docs/kbn_content_management_utils.mdx | 2 +- api_docs/kbn_core_analytics_browser.mdx | 2 +- .../kbn_core_analytics_browser_internal.mdx | 2 +- api_docs/kbn_core_analytics_browser_mocks.mdx | 2 +- api_docs/kbn_core_analytics_server.mdx | 2 +- .../kbn_core_analytics_server_internal.mdx | 2 +- api_docs/kbn_core_analytics_server_mocks.mdx | 2 +- api_docs/kbn_core_application_browser.mdx | 2 +- .../kbn_core_application_browser_internal.mdx | 2 +- .../kbn_core_application_browser_mocks.mdx | 2 +- api_docs/kbn_core_application_common.mdx | 2 +- api_docs/kbn_core_apps_browser_internal.mdx | 2 +- api_docs/kbn_core_apps_browser_mocks.mdx | 2 +- api_docs/kbn_core_apps_server_internal.mdx | 2 +- api_docs/kbn_core_base_browser_mocks.mdx | 2 +- api_docs/kbn_core_base_common.mdx | 2 +- api_docs/kbn_core_base_server_internal.mdx | 2 +- api_docs/kbn_core_base_server_mocks.mdx | 2 +- .../kbn_core_capabilities_browser_mocks.mdx | 2 +- api_docs/kbn_core_capabilities_common.mdx | 2 +- api_docs/kbn_core_capabilities_server.mdx | 2 +- .../kbn_core_capabilities_server_mocks.mdx | 2 +- api_docs/kbn_core_chrome_browser.mdx | 2 +- api_docs/kbn_core_chrome_browser_mocks.mdx | 2 +- api_docs/kbn_core_config_server_internal.mdx | 2 +- api_docs/kbn_core_custom_branding_browser.mdx | 2 +- ..._core_custom_branding_browser_internal.mdx | 2 +- ...kbn_core_custom_branding_browser_mocks.mdx | 2 +- api_docs/kbn_core_custom_branding_common.mdx | 2 +- api_docs/kbn_core_custom_branding_server.mdx | 2 +- ...n_core_custom_branding_server_internal.mdx | 2 +- .../kbn_core_custom_branding_server_mocks.mdx | 2 +- api_docs/kbn_core_deprecations_browser.mdx | 2 +- ...kbn_core_deprecations_browser_internal.mdx | 2 +- .../kbn_core_deprecations_browser_mocks.mdx | 2 +- api_docs/kbn_core_deprecations_common.mdx | 2 +- api_docs/kbn_core_deprecations_server.mdx | 2 +- .../kbn_core_deprecations_server_internal.mdx | 2 +- .../kbn_core_deprecations_server_mocks.mdx | 2 +- api_docs/kbn_core_doc_links_browser.mdx | 2 +- api_docs/kbn_core_doc_links_browser_mocks.mdx | 2 +- api_docs/kbn_core_doc_links_server.mdx | 2 +- api_docs/kbn_core_doc_links_server_mocks.mdx | 2 +- ...e_elasticsearch_client_server_internal.mdx | 2 +- ...core_elasticsearch_client_server_mocks.mdx | 2 +- api_docs/kbn_core_elasticsearch_server.mdx | 2 +- ...kbn_core_elasticsearch_server_internal.mdx | 2 +- .../kbn_core_elasticsearch_server_mocks.mdx | 2 +- .../kbn_core_environment_server_internal.mdx | 2 +- .../kbn_core_environment_server_mocks.mdx | 2 +- .../kbn_core_execution_context_browser.mdx | 2 +- ...ore_execution_context_browser_internal.mdx | 2 +- ...n_core_execution_context_browser_mocks.mdx | 2 +- .../kbn_core_execution_context_common.mdx | 2 +- .../kbn_core_execution_context_server.mdx | 2 +- ...core_execution_context_server_internal.mdx | 2 +- ...bn_core_execution_context_server_mocks.mdx | 2 +- api_docs/kbn_core_fatal_errors_browser.mdx | 2 +- .../kbn_core_fatal_errors_browser_mocks.mdx | 2 +- api_docs/kbn_core_feature_flags_browser.mdx | 2 +- ...bn_core_feature_flags_browser_internal.mdx | 2 +- .../kbn_core_feature_flags_browser_mocks.mdx | 2 +- api_docs/kbn_core_feature_flags_server.mdx | 2 +- ...kbn_core_feature_flags_server_internal.mdx | 2 +- .../kbn_core_feature_flags_server_mocks.mdx | 2 +- api_docs/kbn_core_http_browser.mdx | 2 +- api_docs/kbn_core_http_browser_internal.mdx | 2 +- api_docs/kbn_core_http_browser_mocks.mdx | 2 +- api_docs/kbn_core_http_common.mdx | 2 +- .../kbn_core_http_context_server_mocks.mdx | 2 +- ...re_http_request_handler_context_server.mdx | 2 +- api_docs/kbn_core_http_resources_server.mdx | 2 +- ...bn_core_http_resources_server_internal.mdx | 2 +- .../kbn_core_http_resources_server_mocks.mdx | 2 +- .../kbn_core_http_router_server_internal.mdx | 2 +- .../kbn_core_http_router_server_mocks.mdx | 2 +- api_docs/kbn_core_http_server.mdx | 2 +- api_docs/kbn_core_http_server_internal.mdx | 2 +- api_docs/kbn_core_http_server_mocks.mdx | 2 +- api_docs/kbn_core_http_server_utils.mdx | 2 +- api_docs/kbn_core_i18n_browser.mdx | 2 +- api_docs/kbn_core_i18n_browser_mocks.mdx | 2 +- api_docs/kbn_core_i18n_server.mdx | 2 +- api_docs/kbn_core_i18n_server_internal.mdx | 2 +- api_docs/kbn_core_i18n_server_mocks.mdx | 2 +- ...n_core_injected_metadata_browser_mocks.mdx | 2 +- ...kbn_core_integrations_browser_internal.mdx | 2 +- .../kbn_core_integrations_browser_mocks.mdx | 2 +- api_docs/kbn_core_lifecycle_browser.mdx | 2 +- api_docs/kbn_core_lifecycle_browser_mocks.mdx | 2 +- api_docs/kbn_core_lifecycle_server.mdx | 2 +- api_docs/kbn_core_lifecycle_server_mocks.mdx | 2 +- api_docs/kbn_core_logging_browser_mocks.mdx | 2 +- api_docs/kbn_core_logging_common_internal.mdx | 2 +- api_docs/kbn_core_logging_server.mdx | 2 +- api_docs/kbn_core_logging_server_internal.mdx | 2 +- api_docs/kbn_core_logging_server_mocks.mdx | 2 +- ...ore_metrics_collectors_server_internal.mdx | 2 +- ...n_core_metrics_collectors_server_mocks.mdx | 2 +- api_docs/kbn_core_metrics_server.mdx | 2 +- api_docs/kbn_core_metrics_server_internal.mdx | 2 +- api_docs/kbn_core_metrics_server_mocks.mdx | 2 +- api_docs/kbn_core_mount_utils_browser.mdx | 2 +- api_docs/kbn_core_node_server.mdx | 2 +- api_docs/kbn_core_node_server_internal.mdx | 2 +- api_docs/kbn_core_node_server_mocks.mdx | 2 +- api_docs/kbn_core_notifications_browser.mdx | 2 +- ...bn_core_notifications_browser_internal.mdx | 2 +- .../kbn_core_notifications_browser_mocks.mdx | 2 +- api_docs/kbn_core_overlays_browser.mdx | 2 +- .../kbn_core_overlays_browser_internal.mdx | 2 +- api_docs/kbn_core_overlays_browser_mocks.mdx | 2 +- api_docs/kbn_core_plugins_browser.mdx | 2 +- api_docs/kbn_core_plugins_browser_mocks.mdx | 2 +- .../kbn_core_plugins_contracts_browser.mdx | 2 +- .../kbn_core_plugins_contracts_server.mdx | 2 +- api_docs/kbn_core_plugins_server.mdx | 2 +- api_docs/kbn_core_plugins_server_mocks.mdx | 2 +- api_docs/kbn_core_preboot_server.mdx | 2 +- api_docs/kbn_core_preboot_server_mocks.mdx | 2 +- api_docs/kbn_core_rendering_browser.mdx | 2 +- api_docs/kbn_core_rendering_browser_mocks.mdx | 2 +- .../kbn_core_rendering_server_internal.mdx | 2 +- api_docs/kbn_core_rendering_server_mocks.mdx | 2 +- api_docs/kbn_core_root_server_internal.mdx | 2 +- .../kbn_core_saved_objects_api_browser.mdx | 2 +- .../kbn_core_saved_objects_api_server.mdx | 2 +- ...bn_core_saved_objects_api_server_mocks.mdx | 2 +- ...ore_saved_objects_base_server_internal.mdx | 2 +- ...n_core_saved_objects_base_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_browser.mdx | 2 +- ...bn_core_saved_objects_browser_internal.mdx | 2 +- .../kbn_core_saved_objects_browser_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_common.mdx | 2 +- ..._objects_import_export_server_internal.mdx | 2 +- ...ved_objects_import_export_server_mocks.mdx | 2 +- ...aved_objects_migration_server_internal.mdx | 2 +- ...e_saved_objects_migration_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_server.mdx | 2 +- ...kbn_core_saved_objects_server_internal.mdx | 2 +- .../kbn_core_saved_objects_server_mocks.mdx | 2 +- .../kbn_core_saved_objects_utils_server.mdx | 2 +- api_docs/kbn_core_security_browser.mdx | 2 +- .../kbn_core_security_browser_internal.mdx | 2 +- api_docs/kbn_core_security_browser_mocks.mdx | 2 +- api_docs/kbn_core_security_common.mdx | 2 +- api_docs/kbn_core_security_server.mdx | 2 +- .../kbn_core_security_server_internal.mdx | 2 +- api_docs/kbn_core_security_server_mocks.mdx | 2 +- api_docs/kbn_core_status_common.mdx | 2 +- api_docs/kbn_core_status_server.mdx | 2 +- api_docs/kbn_core_status_server_internal.mdx | 2 +- api_docs/kbn_core_status_server_mocks.mdx | 2 +- ...core_test_helpers_deprecations_getters.mdx | 2 +- ...n_core_test_helpers_http_setup_browser.mdx | 2 +- api_docs/kbn_core_test_helpers_kbn_server.mdx | 2 +- .../kbn_core_test_helpers_model_versions.mdx | 2 +- ...n_core_test_helpers_so_type_serializer.mdx | 2 +- api_docs/kbn_core_test_helpers_test_utils.mdx | 2 +- api_docs/kbn_core_theme_browser.mdx | 2 +- api_docs/kbn_core_theme_browser_mocks.mdx | 2 +- api_docs/kbn_core_ui_settings_browser.mdx | 2 +- .../kbn_core_ui_settings_browser_internal.mdx | 2 +- .../kbn_core_ui_settings_browser_mocks.mdx | 2 +- api_docs/kbn_core_ui_settings_common.mdx | 2 +- api_docs/kbn_core_ui_settings_server.mdx | 2 +- .../kbn_core_ui_settings_server_internal.mdx | 2 +- .../kbn_core_ui_settings_server_mocks.mdx | 2 +- api_docs/kbn_core_usage_data_server.mdx | 2 +- .../kbn_core_usage_data_server_internal.mdx | 2 +- api_docs/kbn_core_usage_data_server_mocks.mdx | 2 +- api_docs/kbn_core_user_profile_browser.mdx | 2 +- ...kbn_core_user_profile_browser_internal.mdx | 2 +- .../kbn_core_user_profile_browser_mocks.mdx | 2 +- api_docs/kbn_core_user_profile_common.mdx | 2 +- api_docs/kbn_core_user_profile_server.mdx | 2 +- .../kbn_core_user_profile_server_internal.mdx | 2 +- .../kbn_core_user_profile_server_mocks.mdx | 2 +- api_docs/kbn_core_user_settings_server.mdx | 2 +- .../kbn_core_user_settings_server_mocks.mdx | 2 +- api_docs/kbn_crypto.mdx | 2 +- api_docs/kbn_crypto_browser.mdx | 2 +- api_docs/kbn_custom_icons.mdx | 2 +- api_docs/kbn_custom_integrations.mdx | 2 +- api_docs/kbn_cypress_config.mdx | 2 +- api_docs/kbn_data_forge.mdx | 2 +- api_docs/kbn_data_service.mdx | 2 +- api_docs/kbn_data_stream_adapter.mdx | 2 +- api_docs/kbn_data_view_utils.mdx | 2 +- api_docs/kbn_datemath.mdx | 2 +- api_docs/kbn_deeplinks_analytics.mdx | 2 +- api_docs/kbn_deeplinks_devtools.mdx | 2 +- api_docs/kbn_deeplinks_fleet.mdx | 2 +- api_docs/kbn_deeplinks_management.mdx | 2 +- api_docs/kbn_deeplinks_ml.mdx | 2 +- api_docs/kbn_deeplinks_observability.mdx | 2 +- api_docs/kbn_deeplinks_search.mdx | 2 +- api_docs/kbn_deeplinks_security.mdx | 2 +- api_docs/kbn_deeplinks_shared.mdx | 2 +- api_docs/kbn_default_nav_analytics.mdx | 2 +- api_docs/kbn_default_nav_devtools.mdx | 2 +- api_docs/kbn_default_nav_management.mdx | 2 +- api_docs/kbn_default_nav_ml.mdx | 2 +- api_docs/kbn_dev_cli_errors.mdx | 2 +- api_docs/kbn_dev_cli_runner.mdx | 2 +- api_docs/kbn_dev_proc_runner.mdx | 2 +- api_docs/kbn_dev_utils.mdx | 2 +- .../kbn_discover_contextual_components.mdx | 2 +- api_docs/kbn_discover_utils.devdocs.json | 15 - api_docs/kbn_discover_utils.mdx | 4 +- api_docs/kbn_doc_links.mdx | 2 +- api_docs/kbn_docs_utils.mdx | 2 +- api_docs/kbn_dom_drag_drop.mdx | 2 +- api_docs/kbn_ebt_tools.mdx | 2 +- api_docs/kbn_ecs_data_quality_dashboard.mdx | 2 +- api_docs/kbn_elastic_agent_utils.mdx | 2 +- api_docs/kbn_elastic_assistant.mdx | 2 +- api_docs/kbn_elastic_assistant_common.mdx | 2 +- api_docs/kbn_entities_schema.devdocs.json | 102 +- api_docs/kbn_entities_schema.mdx | 2 +- api_docs/kbn_es.mdx | 2 +- api_docs/kbn_es_archiver.mdx | 2 +- api_docs/kbn_es_errors.mdx | 2 +- api_docs/kbn_es_query.mdx | 2 +- api_docs/kbn_es_types.mdx | 2 +- api_docs/kbn_eslint_plugin_imports.mdx | 2 +- api_docs/kbn_esql_ast.devdocs.json | 10848 +--------------- api_docs/kbn_esql_ast.mdx | 4 +- api_docs/kbn_esql_editor.mdx | 2 +- api_docs/kbn_esql_utils.mdx | 2 +- ..._esql_validation_autocomplete.devdocs.json | 12 + api_docs/kbn_esql_validation_autocomplete.mdx | 2 +- api_docs/kbn_event_annotation_common.mdx | 2 +- api_docs/kbn_event_annotation_components.mdx | 2 +- api_docs/kbn_expandable_flyout.mdx | 2 +- api_docs/kbn_field_types.mdx | 2 +- api_docs/kbn_field_utils.mdx | 2 +- api_docs/kbn_find_used_node_modules.mdx | 2 +- api_docs/kbn_formatters.mdx | 2 +- .../kbn_ftr_common_functional_services.mdx | 2 +- .../kbn_ftr_common_functional_ui_services.mdx | 2 +- api_docs/kbn_gen_ai_functional_testing.mdx | 2 +- api_docs/kbn_generate.mdx | 2 +- api_docs/kbn_generate_console_definitions.mdx | 2 +- api_docs/kbn_generate_csv.mdx | 2 +- api_docs/kbn_grid_layout.mdx | 2 +- api_docs/kbn_grouping.mdx | 2 +- api_docs/kbn_guided_onboarding.mdx | 2 +- api_docs/kbn_handlebars.mdx | 2 +- api_docs/kbn_hapi_mocks.mdx | 2 +- api_docs/kbn_health_gateway_server.mdx | 2 +- api_docs/kbn_home_sample_data_card.mdx | 2 +- api_docs/kbn_home_sample_data_tab.mdx | 2 +- api_docs/kbn_i18n.mdx | 2 +- api_docs/kbn_i18n_react.mdx | 2 +- api_docs/kbn_import_resolver.mdx | 2 +- api_docs/kbn_index_adapter.mdx | 2 +- ...dex_lifecycle_management_common_shared.mdx | 2 +- .../kbn_index_management_shared_types.mdx | 2 +- api_docs/kbn_inference_common.mdx | 2 +- api_docs/kbn_inference_integration_flyout.mdx | 2 +- api_docs/kbn_infra_forge.mdx | 2 +- api_docs/kbn_interpreter.mdx | 2 +- api_docs/kbn_investigation_shared.mdx | 2 +- api_docs/kbn_io_ts_utils.mdx | 2 +- api_docs/kbn_ipynb.mdx | 2 +- api_docs/kbn_item_buffer.mdx | 2 +- api_docs/kbn_jest_serializers.mdx | 2 +- api_docs/kbn_journeys.mdx | 2 +- api_docs/kbn_json_ast.mdx | 2 +- api_docs/kbn_json_schemas.mdx | 2 +- api_docs/kbn_kibana_manifest_schema.mdx | 2 +- api_docs/kbn_language_documentation.mdx | 2 +- api_docs/kbn_lens_embeddable_utils.mdx | 2 +- api_docs/kbn_lens_formula_docs.mdx | 2 +- api_docs/kbn_logging.mdx | 2 +- api_docs/kbn_logging_mocks.mdx | 2 +- api_docs/kbn_managed_content_badge.mdx | 2 +- api_docs/kbn_managed_vscode_config.mdx | 2 +- api_docs/kbn_management_cards_navigation.mdx | 2 +- ...nagement_settings_application.devdocs.json | 4 +- .../kbn_management_settings_application.mdx | 2 +- ...ent_settings_components_field_category.mdx | 2 +- ...gement_settings_components_field_input.mdx | 2 +- ...nagement_settings_components_field_row.mdx | 2 +- ...bn_management_settings_components_form.mdx | 2 +- ...n_management_settings_field_definition.mdx | 2 +- .../kbn_management_settings_ids.devdocs.json | 15 - api_docs/kbn_management_settings_ids.mdx | 4 +- ...n_management_settings_section_registry.mdx | 2 +- api_docs/kbn_management_settings_types.mdx | 2 +- .../kbn_management_settings_utilities.mdx | 2 +- api_docs/kbn_management_storybook_config.mdx | 2 +- api_docs/kbn_manifest.mdx | 2 +- api_docs/kbn_mapbox_gl.mdx | 2 +- api_docs/kbn_maps_vector_tile_utils.mdx | 2 +- api_docs/kbn_ml_agg_utils.mdx | 2 +- api_docs/kbn_ml_anomaly_utils.mdx | 2 +- api_docs/kbn_ml_cancellable_search.mdx | 2 +- api_docs/kbn_ml_category_validator.mdx | 2 +- api_docs/kbn_ml_chi2test.mdx | 2 +- .../kbn_ml_data_frame_analytics_utils.mdx | 2 +- api_docs/kbn_ml_data_grid.mdx | 2 +- api_docs/kbn_ml_date_picker.mdx | 2 +- api_docs/kbn_ml_date_utils.mdx | 2 +- api_docs/kbn_ml_error_utils.mdx | 2 +- api_docs/kbn_ml_field_stats_flyout.mdx | 2 +- api_docs/kbn_ml_in_memory_table.mdx | 2 +- api_docs/kbn_ml_is_defined.mdx | 2 +- api_docs/kbn_ml_is_populated_object.mdx | 2 +- api_docs/kbn_ml_kibana_theme.mdx | 2 +- api_docs/kbn_ml_local_storage.mdx | 2 +- api_docs/kbn_ml_nested_property.mdx | 2 +- api_docs/kbn_ml_number_utils.mdx | 2 +- api_docs/kbn_ml_parse_interval.mdx | 2 +- api_docs/kbn_ml_query_utils.mdx | 2 +- api_docs/kbn_ml_random_sampler_utils.mdx | 2 +- api_docs/kbn_ml_route_utils.mdx | 2 +- api_docs/kbn_ml_runtime_field_utils.mdx | 2 +- api_docs/kbn_ml_string_hash.mdx | 2 +- api_docs/kbn_ml_time_buckets.mdx | 2 +- api_docs/kbn_ml_trained_models_utils.mdx | 2 +- api_docs/kbn_ml_ui_actions.mdx | 2 +- api_docs/kbn_ml_url_state.mdx | 2 +- api_docs/kbn_ml_validators.mdx | 2 +- api_docs/kbn_mock_idp_utils.mdx | 2 +- api_docs/kbn_monaco.mdx | 2 +- api_docs/kbn_object_versioning.mdx | 2 +- api_docs/kbn_object_versioning_utils.mdx | 2 +- api_docs/kbn_observability_alert_details.mdx | 2 +- .../kbn_observability_alerting_rule_utils.mdx | 2 +- .../kbn_observability_alerting_test_data.mdx | 2 +- ...ility_get_padded_alert_time_range_util.mdx | 2 +- api_docs/kbn_observability_logs_overview.mdx | 2 +- ...kbn_observability_synthetics_test_data.mdx | 2 +- api_docs/kbn_openapi_bundler.mdx | 2 +- api_docs/kbn_openapi_generator.mdx | 2 +- api_docs/kbn_optimizer.mdx | 2 +- api_docs/kbn_optimizer_webpack_helpers.mdx | 2 +- api_docs/kbn_osquery_io_ts_types.mdx | 2 +- api_docs/kbn_panel_loader.mdx | 2 +- ..._performance_testing_dataset_extractor.mdx | 2 +- api_docs/kbn_plugin_check.mdx | 2 +- api_docs/kbn_plugin_generator.mdx | 2 +- api_docs/kbn_plugin_helpers.mdx | 2 +- api_docs/kbn_presentation_containers.mdx | 2 +- api_docs/kbn_presentation_publishing.mdx | 2 +- api_docs/kbn_product_doc_artifact_builder.mdx | 2 +- api_docs/kbn_product_doc_common.mdx | 2 +- api_docs/kbn_profiling_utils.mdx | 2 +- api_docs/kbn_random_sampling.mdx | 2 +- api_docs/kbn_react_field.mdx | 2 +- api_docs/kbn_react_hooks.mdx | 2 +- api_docs/kbn_react_kibana_context_common.mdx | 2 +- api_docs/kbn_react_kibana_context_render.mdx | 2 +- api_docs/kbn_react_kibana_context_root.mdx | 2 +- api_docs/kbn_react_kibana_context_styled.mdx | 2 +- api_docs/kbn_react_kibana_context_theme.mdx | 2 +- api_docs/kbn_react_kibana_mount.mdx | 2 +- api_docs/kbn_recently_accessed.mdx | 2 +- api_docs/kbn_repo_file_maps.mdx | 2 +- api_docs/kbn_repo_linter.mdx | 2 +- api_docs/kbn_repo_path.mdx | 2 +- api_docs/kbn_repo_source_classifier.mdx | 2 +- api_docs/kbn_reporting_common.mdx | 2 +- api_docs/kbn_reporting_csv_share_panel.mdx | 2 +- api_docs/kbn_reporting_export_types_csv.mdx | 2 +- .../kbn_reporting_export_types_csv_common.mdx | 2 +- api_docs/kbn_reporting_export_types_pdf.mdx | 2 +- .../kbn_reporting_export_types_pdf_common.mdx | 2 +- api_docs/kbn_reporting_export_types_png.mdx | 2 +- .../kbn_reporting_export_types_png_common.mdx | 2 +- api_docs/kbn_reporting_mocks_server.mdx | 2 +- api_docs/kbn_reporting_public.mdx | 2 +- api_docs/kbn_reporting_server.mdx | 2 +- api_docs/kbn_resizable_layout.mdx | 2 +- .../kbn_response_ops_feature_flag_service.mdx | 2 +- api_docs/kbn_response_ops_rule_form.mdx | 2 +- api_docs/kbn_response_ops_rule_params.mdx | 2 +- api_docs/kbn_rison.mdx | 2 +- api_docs/kbn_rollup.mdx | 2 +- api_docs/kbn_router_to_openapispec.mdx | 2 +- api_docs/kbn_router_utils.mdx | 2 +- api_docs/kbn_rrule.mdx | 2 +- api_docs/kbn_rule_data_utils.mdx | 2 +- api_docs/kbn_saved_objects_settings.mdx | 2 +- api_docs/kbn_saved_search_component.mdx | 2 +- api_docs/kbn_scout.mdx | 2 +- api_docs/kbn_screenshotting_server.mdx | 2 +- api_docs/kbn_search_api_keys_components.mdx | 2 +- api_docs/kbn_search_api_keys_server.mdx | 2 +- api_docs/kbn_search_api_panels.mdx | 2 +- api_docs/kbn_search_connectors.mdx | 2 +- api_docs/kbn_search_errors.mdx | 2 +- api_docs/kbn_search_index_documents.mdx | 2 +- api_docs/kbn_search_response_warnings.mdx | 2 +- api_docs/kbn_search_shared_ui.mdx | 2 +- api_docs/kbn_search_types.mdx | 2 +- api_docs/kbn_security_api_key_management.mdx | 2 +- api_docs/kbn_security_authorization_core.mdx | 2 +- ...kbn_security_authorization_core_common.mdx | 2 +- api_docs/kbn_security_form_components.mdx | 2 +- api_docs/kbn_security_hardening.mdx | 2 +- api_docs/kbn_security_plugin_types_common.mdx | 2 +- api_docs/kbn_security_plugin_types_public.mdx | 2 +- ..._security_plugin_types_server.devdocs.json | 10 +- api_docs/kbn_security_plugin_types_server.mdx | 2 +- .../kbn_security_role_management_model.mdx | 2 +- ...kbn_security_solution_distribution_bar.mdx | 2 +- api_docs/kbn_security_solution_features.mdx | 2 +- api_docs/kbn_security_solution_navigation.mdx | 2 +- api_docs/kbn_security_solution_side_nav.mdx | 2 +- ...kbn_security_solution_storybook_config.mdx | 2 +- api_docs/kbn_security_ui_components.mdx | 2 +- .../kbn_securitysolution_autocomplete.mdx | 2 +- api_docs/kbn_securitysolution_data_table.mdx | 2 +- api_docs/kbn_securitysolution_ecs.mdx | 2 +- api_docs/kbn_securitysolution_es_utils.mdx | 2 +- ...ritysolution_exception_list_components.mdx | 2 +- api_docs/kbn_securitysolution_hook_utils.mdx | 2 +- ..._securitysolution_io_ts_alerting_types.mdx | 2 +- .../kbn_securitysolution_io_ts_list_types.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_types.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_utils.mdx | 2 +- api_docs/kbn_securitysolution_list_api.mdx | 2 +- .../kbn_securitysolution_list_constants.mdx | 2 +- api_docs/kbn_securitysolution_list_hooks.mdx | 2 +- api_docs/kbn_securitysolution_list_utils.mdx | 2 +- api_docs/kbn_securitysolution_rules.mdx | 2 +- api_docs/kbn_securitysolution_t_grid.mdx | 2 +- api_docs/kbn_securitysolution_utils.mdx | 2 +- api_docs/kbn_server_http_tools.mdx | 2 +- api_docs/kbn_server_route_repository.mdx | 2 +- .../kbn_server_route_repository_client.mdx | 2 +- .../kbn_server_route_repository_utils.mdx | 2 +- api_docs/kbn_serverless_common_settings.mdx | 2 +- .../kbn_serverless_observability_settings.mdx | 2 +- api_docs/kbn_serverless_project_switcher.mdx | 2 +- api_docs/kbn_serverless_search_settings.mdx | 2 +- api_docs/kbn_serverless_security_settings.mdx | 2 +- api_docs/kbn_serverless_storybook_config.mdx | 2 +- api_docs/kbn_shared_svg.mdx | 2 +- api_docs/kbn_shared_ux_avatar_solution.mdx | 2 +- .../kbn_shared_ux_button_exit_full_screen.mdx | 2 +- api_docs/kbn_shared_ux_button_toolbar.mdx | 2 +- api_docs/kbn_shared_ux_card_no_data.mdx | 2 +- api_docs/kbn_shared_ux_card_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_chrome_navigation.mdx | 2 +- api_docs/kbn_shared_ux_error_boundary.mdx | 2 +- api_docs/kbn_shared_ux_file_context.mdx | 2 +- api_docs/kbn_shared_ux_file_image.mdx | 2 +- api_docs/kbn_shared_ux_file_image_mocks.mdx | 2 +- api_docs/kbn_shared_ux_file_mocks.mdx | 2 +- api_docs/kbn_shared_ux_file_picker.mdx | 2 +- api_docs/kbn_shared_ux_file_types.mdx | 2 +- api_docs/kbn_shared_ux_file_upload.mdx | 2 +- api_docs/kbn_shared_ux_file_util.mdx | 2 +- api_docs/kbn_shared_ux_link_redirect_app.mdx | 2 +- .../kbn_shared_ux_link_redirect_app_mocks.mdx | 2 +- api_docs/kbn_shared_ux_markdown.mdx | 2 +- api_docs/kbn_shared_ux_markdown_mocks.mdx | 2 +- .../kbn_shared_ux_page_analytics_no_data.mdx | 2 +- ...shared_ux_page_analytics_no_data_mocks.mdx | 2 +- .../kbn_shared_ux_page_kibana_no_data.mdx | 2 +- ...bn_shared_ux_page_kibana_no_data_mocks.mdx | 2 +- .../kbn_shared_ux_page_kibana_template.mdx | 2 +- ...n_shared_ux_page_kibana_template_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_no_data.mdx | 2 +- .../kbn_shared_ux_page_no_data_config.mdx | 2 +- ...bn_shared_ux_page_no_data_config_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_solution_nav.mdx | 2 +- .../kbn_shared_ux_prompt_no_data_views.mdx | 2 +- ...n_shared_ux_prompt_no_data_views_mocks.mdx | 2 +- api_docs/kbn_shared_ux_prompt_not_found.mdx | 2 +- api_docs/kbn_shared_ux_router.mdx | 2 +- api_docs/kbn_shared_ux_router_mocks.mdx | 2 +- api_docs/kbn_shared_ux_storybook_config.mdx | 2 +- api_docs/kbn_shared_ux_storybook_mock.mdx | 2 +- api_docs/kbn_shared_ux_tabbed_modal.mdx | 2 +- api_docs/kbn_shared_ux_table_persist.mdx | 2 +- api_docs/kbn_shared_ux_utility.mdx | 2 +- api_docs/kbn_slo_schema.mdx | 2 +- api_docs/kbn_some_dev_log.mdx | 2 +- api_docs/kbn_sort_predicates.mdx | 2 +- api_docs/kbn_sse_utils.mdx | 2 +- api_docs/kbn_sse_utils_client.mdx | 2 +- api_docs/kbn_sse_utils_server.mdx | 2 +- api_docs/kbn_std.mdx | 2 +- api_docs/kbn_stdio_dev_helpers.mdx | 2 +- api_docs/kbn_storybook.mdx | 2 +- api_docs/kbn_synthetics_e2e.mdx | 2 +- api_docs/kbn_synthetics_private_location.mdx | 2 +- api_docs/kbn_telemetry_tools.mdx | 2 +- api_docs/kbn_test.mdx | 2 +- api_docs/kbn_test_eui_helpers.mdx | 2 +- api_docs/kbn_test_jest_helpers.mdx | 2 +- api_docs/kbn_test_subj_selector.mdx | 2 +- api_docs/kbn_timerange.mdx | 2 +- api_docs/kbn_tooling_log.mdx | 2 +- api_docs/kbn_transpose_utils.mdx | 2 +- api_docs/kbn_triggers_actions_ui_types.mdx | 2 +- api_docs/kbn_try_in_console.mdx | 2 +- api_docs/kbn_ts_projects.mdx | 2 +- api_docs/kbn_typed_react_router_config.mdx | 2 +- api_docs/kbn_ui_actions_browser.mdx | 2 +- api_docs/kbn_ui_shared_deps_src.mdx | 2 +- api_docs/kbn_ui_theme.mdx | 2 +- api_docs/kbn_unified_data_table.devdocs.json | 32 +- api_docs/kbn_unified_data_table.mdx | 4 +- api_docs/kbn_unified_doc_viewer.mdx | 2 +- api_docs/kbn_unified_field_list.mdx | 2 +- api_docs/kbn_unsaved_changes_badge.mdx | 2 +- api_docs/kbn_unsaved_changes_prompt.mdx | 2 +- api_docs/kbn_use_tracked_promise.mdx | 2 +- api_docs/kbn_user_profile_components.mdx | 2 +- api_docs/kbn_utility_types.mdx | 2 +- api_docs/kbn_utility_types_jest.mdx | 2 +- api_docs/kbn_utils.mdx | 2 +- api_docs/kbn_visualization_ui_components.mdx | 2 +- api_docs/kbn_visualization_utils.mdx | 2 +- api_docs/kbn_xstate_utils.mdx | 2 +- api_docs/kbn_yarn_lock_validator.mdx | 2 +- api_docs/kbn_zod.mdx | 2 +- api_docs/kbn_zod_helpers.mdx | 2 +- api_docs/kibana_overview.mdx | 2 +- api_docs/kibana_react.mdx | 2 +- api_docs/kibana_utils.mdx | 2 +- api_docs/kubernetes_security.mdx | 2 +- api_docs/lens.mdx | 2 +- api_docs/license_api_guard.mdx | 2 +- api_docs/license_management.mdx | 2 +- api_docs/licensing.mdx | 2 +- api_docs/links.mdx | 2 +- api_docs/lists.mdx | 2 +- api_docs/llm_tasks.mdx | 2 +- api_docs/logs_data_access.mdx | 2 +- api_docs/logs_explorer.mdx | 2 +- api_docs/logs_shared.mdx | 2 +- api_docs/management.mdx | 2 +- api_docs/maps.mdx | 2 +- api_docs/maps_ems.mdx | 2 +- api_docs/metrics_data_access.mdx | 2 +- api_docs/ml.mdx | 2 +- api_docs/mock_idp_plugin.mdx | 2 +- api_docs/monitoring.mdx | 2 +- api_docs/monitoring_collection.mdx | 2 +- api_docs/navigation.mdx | 2 +- api_docs/newsfeed.mdx | 2 +- api_docs/no_data_page.mdx | 2 +- api_docs/notifications.mdx | 2 +- api_docs/observability.mdx | 2 +- api_docs/observability_a_i_assistant.mdx | 2 +- api_docs/observability_a_i_assistant_app.mdx | 2 +- .../observability_ai_assistant_management.mdx | 2 +- api_docs/observability_logs_explorer.mdx | 2 +- api_docs/observability_onboarding.mdx | 2 +- api_docs/observability_shared.mdx | 2 +- api_docs/osquery.mdx | 2 +- api_docs/painless_lab.mdx | 2 +- api_docs/plugin_directory.mdx | 18 +- api_docs/presentation_panel.mdx | 2 +- api_docs/presentation_util.mdx | 2 +- api_docs/product_doc_base.mdx | 2 +- api_docs/profiling.mdx | 2 +- api_docs/profiling_data_access.mdx | 2 +- api_docs/remote_clusters.mdx | 2 +- api_docs/reporting.mdx | 2 +- api_docs/rollup.mdx | 2 +- api_docs/rule_registry.mdx | 2 +- api_docs/runtime_fields.mdx | 2 +- api_docs/saved_objects.mdx | 2 +- api_docs/saved_objects_finder.mdx | 2 +- api_docs/saved_objects_management.mdx | 2 +- api_docs/saved_objects_tagging.mdx | 2 +- api_docs/saved_objects_tagging_oss.mdx | 2 +- api_docs/saved_search.mdx | 2 +- api_docs/screenshot_mode.mdx | 2 +- api_docs/screenshotting.mdx | 2 +- api_docs/search_assistant.mdx | 2 +- api_docs/search_connectors.mdx | 2 +- api_docs/search_homepage.mdx | 2 +- api_docs/search_indices.mdx | 2 +- api_docs/search_inference_endpoints.mdx | 2 +- api_docs/search_navigation.mdx | 2 +- api_docs/search_notebooks.mdx | 2 +- api_docs/search_playground.mdx | 2 +- api_docs/security.devdocs.json | 10 +- api_docs/security.mdx | 2 +- api_docs/security_solution.mdx | 2 +- api_docs/security_solution_ess.mdx | 2 +- api_docs/security_solution_serverless.mdx | 2 +- api_docs/serverless.mdx | 2 +- api_docs/serverless_observability.mdx | 2 +- api_docs/serverless_search.mdx | 2 +- api_docs/session_view.mdx | 2 +- api_docs/share.mdx | 2 +- api_docs/slo.mdx | 2 +- api_docs/snapshot_restore.mdx | 2 +- api_docs/spaces.mdx | 2 +- api_docs/stack_alerts.mdx | 2 +- api_docs/stack_connectors.mdx | 2 +- api_docs/streams.mdx | 2 +- api_docs/streams_app.mdx | 2 +- api_docs/task_manager.mdx | 2 +- api_docs/telemetry.mdx | 2 +- api_docs/telemetry_collection_manager.mdx | 2 +- api_docs/telemetry_management_section.mdx | 2 +- api_docs/threat_intelligence.mdx | 2 +- api_docs/timelines.mdx | 2 +- api_docs/transform.mdx | 2 +- api_docs/triggers_actions_ui.mdx | 2 +- api_docs/ui_actions.mdx | 2 +- api_docs/ui_actions_enhanced.mdx | 2 +- api_docs/unified_doc_viewer.devdocs.json | 4 +- api_docs/unified_doc_viewer.mdx | 2 +- api_docs/unified_histogram.mdx | 2 +- api_docs/unified_search.mdx | 2 +- api_docs/unified_search_autocomplete.mdx | 2 +- api_docs/uptime.mdx | 2 +- api_docs/url_forwarding.mdx | 2 +- api_docs/usage_collection.mdx | 2 +- api_docs/ux.mdx | 2 +- api_docs/vis_default_editor.mdx | 2 +- api_docs/vis_type_gauge.mdx | 2 +- api_docs/vis_type_heatmap.mdx | 2 +- api_docs/vis_type_pie.mdx | 2 +- api_docs/vis_type_table.mdx | 2 +- api_docs/vis_type_timelion.mdx | 2 +- api_docs/vis_type_timeseries.mdx | 2 +- api_docs/vis_type_vega.mdx | 2 +- api_docs/vis_type_vislib.mdx | 2 +- api_docs/vis_type_xy.mdx | 2 +- api_docs/visualizations.mdx | 2 +- 788 files changed, 1021 insertions(+), 11800 deletions(-) diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 38898cd0f2342..3f7481af84f12 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-06 +date: 2024-12-08 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 9042b942226e0..ee6c77672e326 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-06 +date: 2024-12-08 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 c6f1f9830fc47..73181a3ed5d69 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiAssistantManagementSelection'] --- import aiAssistantManagementSelectionObj from './ai_assistant_management_selection.devdocs.json'; diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index 411375f8423b6..a5cadb9af25ee 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] --- import aiopsObj from './aiops.devdocs.json'; diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 89014179c53ec..9558dc77a13f7 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-06 +date: 2024-12-08 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 a07f102645adc..f7f749aae8885 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-06 +date: 2024-12-08 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 5d432f4600637..c5aaaa585b48f 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-06 +date: 2024-12-08 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 b7e7385f57e1d..afed5e1bb072a 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-06 +date: 2024-12-08 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 70fa0bae84cb2..6cd7348b32ea5 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-06 +date: 2024-12-08 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 486b4b2b35884..f2866e2af2778 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-06 +date: 2024-12-08 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 48e2afaf769c3..7d254adef8d54 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-06 +date: 2024-12-08 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 57c2be12acc3e..b25b4a3880531 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-06 +date: 2024-12-08 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 7f94bdf3cdbf0..17127d241de67 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-06 +date: 2024-12-08 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 b16cfba059b8c..a22f96691d3fe 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-06 +date: 2024-12-08 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 e7ac94de405f0..8a2301bccad1f 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-06 +date: 2024-12-08 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 b36c79dd8d5d0..e831994269a70 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-06 +date: 2024-12-08 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 2e50e049d4ced..09e84a2d3b7c1 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-06 +date: 2024-12-08 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 3be4072f9c939..5cd06f2f0477e 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-06 +date: 2024-12-08 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 0c8ee77152773..ae92cbd502192 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-06 +date: 2024-12-08 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 813552ae30e3a..aed42d679c101 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-06 +date: 2024-12-08 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 067b3bbb6b3b9..5091c7c6faad1 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-06 +date: 2024-12-08 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 da44b997606df..08c0aa8c762f9 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-06 +date: 2024-12-08 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 1afd294d10477..db12aa3b81dde 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-06 +date: 2024-12-08 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 7d1f8ed4dc732..23287ba6c9691 100644 --- a/api_docs/data.devdocs.json +++ b/api_docs/data.devdocs.json @@ -2726,7 +2726,7 @@ "section": "def-public.DataPublicPluginStart", "text": "DataPublicPluginStart" }, - ">, { bfetch, expressions, uiActions, usageCollection, inspector, fieldFormats, management, }: ", + ">, { expressions, uiActions, usageCollection, inspector, fieldFormats, management, }: ", "DataSetupDependencies", ") => ", { @@ -2778,7 +2778,7 @@ "id": "def-public.DataPublicPlugin.setup.$2", "type": "Object", "tags": [], - "label": "{\n bfetch,\n expressions,\n uiActions,\n usageCollection,\n inspector,\n fieldFormats,\n management,\n }", + "label": "{\n expressions,\n uiActions,\n usageCollection,\n inspector,\n fieldFormats,\n management,\n }", "description": [], "signature": [ "DataSetupDependencies" diff --git a/api_docs/data.mdx b/api_docs/data.mdx index 9c73daaf79d44..e6904c7c5de2a 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-06 +date: 2024-12-08 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 0fa43c2a0fc4c..57ba7e25af2b8 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-06 +date: 2024-12-08 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 9a56270a72be5..3cbab1704dd53 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-06 +date: 2024-12-08 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 2490d814b8f88..609470acbbe3b 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-06 +date: 2024-12-08 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 cbda7b2f49134..4cdfc67920b40 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-06 +date: 2024-12-08 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 43e1206db6b3d..cc7a051bc69b1 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-06 +date: 2024-12-08 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 55fa073e6baa0..ef42e057a090e 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-06 +date: 2024-12-08 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 7f3c2d7e228f7..ba649b6a4718d 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] --- import dataViewManagementObj from './data_view_management.devdocs.json'; diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index 52a3b22dad93f..ace7849ec1462 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] --- import dataViewsObj from './data_views.devdocs.json'; diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index d2302868ee1c1..1d865968318df 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-06 +date: 2024-12-08 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 59f173109cf03..a4d28ee81ee74 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-06 +date: 2024-12-08 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 07a2f008d4a09..5005393c40baf 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index ee9ec20cfbbcc..e3e4621101a5d 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -802,7 +802,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [enable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/entity_manager/server/routes/enablement/enable.ts#:~:text=authc), [disable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/entity_manager/server/routes/enablement/disable.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [enable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/entity_manager/server/routes/enablement/enable.ts#:~:text=authc), [disable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/entity_manager/server/routes/enablement/disable.ts#:~:text=authc) | - | +| | [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [enable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts#:~:text=authc), [disable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [api_key.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts#:~:text=authc), [enable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts#:~:text=authc), [disable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts#:~:text=authc) | - | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 4f83a5a2eb961..4cac449227ff4 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 02a38018942c0..a3d2152a9c484 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-06 +date: 2024-12-08 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 6a199fffcf7e3..2433fb089d56a 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-06 +date: 2024-12-08 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 858c28084de4c..5324c4656a1b4 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-06 +date: 2024-12-08 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 3f88887bd8be2..6dc8e971e6adc 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-06 +date: 2024-12-08 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 fa27948b97003..50b5aee73a8ce 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-06 +date: 2024-12-08 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 eec6618a2433c..023faf8657902 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-06 +date: 2024-12-08 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 3dbd1a8a2225f..49dbd6169352e 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-06 +date: 2024-12-08 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 445a3ba3206be..aa3d5f30bdedc 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-06 +date: 2024-12-08 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 60381fa29a8ba..3b07e09d28037 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-06 +date: 2024-12-08 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 26040eaaf8e47..18ed29a3510a6 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] --- import enterpriseSearchObj from './enterprise_search.devdocs.json'; diff --git a/api_docs/entities_data_access.devdocs.json b/api_docs/entities_data_access.devdocs.json index 26fd0abf8e82b..3e307a3de60b5 100644 --- a/api_docs/entities_data_access.devdocs.json +++ b/api_docs/entities_data_access.devdocs.json @@ -25,7 +25,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/observability_solution/entities_data_access/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_solution/entities_data_access/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", diff --git a/api_docs/entities_data_access.mdx b/api_docs/entities_data_access.mdx index 5018793959c74..099ae5c27ddfe 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'entitiesDataAccess'] --- import entitiesDataAccessObj from './entities_data_access.devdocs.json'; diff --git a/api_docs/entity_manager.devdocs.json b/api_docs/entity_manager.devdocs.json index e08d74b938581..9359e3ca7c1d7 100644 --- a/api_docs/entity_manager.devdocs.json +++ b/api_docs/entity_manager.devdocs.json @@ -9,7 +9,7 @@ "tags": [], "label": "EntityClient", "description": [], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -855,7 +855,7 @@ }, " | undefined; }; }, TEndpoint>>" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -949,7 +949,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -978,7 +978,7 @@ }, "" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -996,7 +996,7 @@ "signature": [ "() => Promise<{ enabled: boolean; reason: string; }>" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1012,7 +1012,7 @@ "signature": [ "(query?: { installOnly?: boolean | \"true\" | \"false\" | undefined; } | undefined) => Promise<{ success: boolean; reason: string; message: string; }>" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1026,7 +1026,7 @@ "signature": [ "{ installOnly?: boolean | \"true\" | \"false\" | undefined; } | undefined" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1044,7 +1044,7 @@ "signature": [ "(query?: { deleteData?: boolean | \"true\" | \"false\" | undefined; } | undefined) => Promise<{ success: boolean; reason: string; message: string; }>" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1058,7 +1058,7 @@ "signature": [ "{ deleteData?: boolean | \"true\" | \"false\" | undefined; } | undefined" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1086,7 +1086,7 @@ "EntityDefinitionWithState", "[]; }>" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1100,7 +1100,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1118,7 +1118,7 @@ "signature": [ "(entityInstance: { entity: Pick<{ id: string; type: string; schema_version: string; identity_fields: string | string[]; display_name: string; definition_version: string; definition_id: string; last_seen_timestamp: string; metrics?: Record | undefined; }, \"identity_fields\">; } & Required) => string" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1132,7 +1132,7 @@ "signature": [ "{ entity: Pick<{ id: string; type: string; schema_version: string; identity_fields: string | string[]; display_name: string; definition_version: string; definition_id: string; last_seen_timestamp: string; metrics?: Record | undefined; }, \"identity_fields\">; } & Required" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1150,7 +1150,7 @@ "signature": [ "(entityInstance: { entity: Pick<{ id: string; type: string; schema_version: string; identity_fields: string | string[]; display_name: string; definition_version: string; definition_id: string; last_seen_timestamp: string; metrics?: Record | undefined; }, \"identity_fields\">; } & Required) => Record" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1164,7 +1164,7 @@ "signature": [ "{ entity: Pick<{ id: string; type: string; schema_version: string; identity_fields: string | string[]; display_name: string; definition_version: string; definition_id: string; last_seen_timestamp: string; metrics?: Record | undefined; }, \"identity_fields\">; } & Required" ], - "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/entity_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1192,7 +1192,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/entity_manager/public/lib/errors.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1206,7 +1206,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/entity_manager/public/lib/errors.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1220,7 +1220,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/entity_manager/public/lib/errors.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1246,7 +1246,7 @@ "signature": [ "\"entityManager\"" ], - "path": "x-pack/plugins/entity_manager/public/index.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1261,7 +1261,7 @@ "signature": [ "\"api_key_not_found\"" ], - "path": "x-pack/plugins/entity_manager/common/errors.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/common/errors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1276,7 +1276,7 @@ "signature": [ "\"api_key_not_valid\"" ], - "path": "x-pack/plugins/entity_manager/common/errors.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/common/errors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1291,7 +1291,7 @@ "signature": [ "\"api_key_service_disabled\"" ], - "path": "x-pack/plugins/entity_manager/common/errors.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/common/errors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1306,7 +1306,7 @@ "signature": [ "\"error_definition_stopped\"" ], - "path": "x-pack/plugins/entity_manager/common/errors.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/common/errors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1321,7 +1321,7 @@ "signature": [ "\"partial_builtin_installation\"" ], - "path": "x-pack/plugins/entity_manager/common/errors.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/common/errors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1335,7 +1335,7 @@ "tags": [], "label": "EntityManagerPublicPluginSetup", "description": [], - "path": "x-pack/plugins/entity_manager/public/types.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1355,7 +1355,7 @@ "text": "EntityClient" } ], - "path": "x-pack/plugins/entity_manager/public/types.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -1370,7 +1370,7 @@ "tags": [], "label": "EntityManagerPublicPluginStart", "description": [], - "path": "x-pack/plugins/entity_manager/public/types.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1390,7 +1390,7 @@ "text": "EntityClient" } ], - "path": "x-pack/plugins/entity_manager/public/types.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -1415,7 +1415,7 @@ "signature": [ "\"create_entity_source_definition\"" ], - "path": "x-pack/plugins/entity_manager/server/lib/v2/constants.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/v2/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1430,7 +1430,7 @@ "signature": [ "\"create_entity_type_definition\"" ], - "path": "x-pack/plugins/entity_manager/server/lib/v2/constants.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/v2/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1445,7 +1445,7 @@ "signature": [ "{}" ], - "path": "x-pack/plugins/entity_manager/common/config.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/common/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1864,7 +1864,7 @@ }, " | undefined; }; }" ], - "path": "x-pack/plugins/entity_manager/server/routes/index.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1879,7 +1879,7 @@ "signature": [ "\"read_entities\"" ], - "path": "x-pack/plugins/entity_manager/server/lib/v2/constants.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/v2/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1894,7 +1894,7 @@ "signature": [ "\"read_entity_source_definition\"" ], - "path": "x-pack/plugins/entity_manager/server/lib/v2/constants.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/v2/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1909,7 +1909,7 @@ "signature": [ "\"read_entity_type_definition\"" ], - "path": "x-pack/plugins/entity_manager/server/lib/v2/constants.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/v2/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1923,7 +1923,7 @@ "tags": [], "label": "EntityManagerServerPluginSetup", "description": [], - "path": "x-pack/plugins/entity_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1937,7 +1937,7 @@ "tags": [], "label": "EntityManagerServerPluginStart", "description": [], - "path": "x-pack/plugins/entity_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1961,7 +1961,7 @@ "EntityClient", ">" ], - "path": "x-pack/plugins/entity_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1972,7 +1972,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/entity_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1993,7 +1993,7 @@ }, "" ], - "path": "x-pack/plugins/entity_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/entity_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/entity_manager.mdx b/api_docs/entity_manager.mdx index 3e0486821f7b7..d17ab19b080d0 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-06 +date: 2024-12-08 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 64e453acf94f5..d8a1e23530893 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/esql.mdx b/api_docs/esql.mdx index f8fa69ffd2c9e..d1cdce6bc00b8 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esql'] --- import esqlObj from './esql.devdocs.json'; diff --git a/api_docs/esql_data_grid.mdx b/api_docs/esql_data_grid.mdx index d84b316478bcb..821e5eb6fae67 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-06 +date: 2024-12-08 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 12da0698e7074..1e23b61d6a601 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-06 +date: 2024-12-08 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 310cd6caacc0a..88a3d35bffbce 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-06 +date: 2024-12-08 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 66d19461575fa..f966f9fb0cbf3 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-06 +date: 2024-12-08 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 ac73f4b061dea..413668784f761 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-06 +date: 2024-12-08 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 b0adcd0f1d958..8ffceabfd0b6b 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-06 +date: 2024-12-08 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 e546c2fe7c896..612245dde9db7 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-06 +date: 2024-12-08 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 bd0ddb02d212e..8e898fd91f454 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-06 +date: 2024-12-08 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 2abbc691c0d34..8f3a9862d8270 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-06 +date: 2024-12-08 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 24576b4e17ee4..335d50e101ad5 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-06 +date: 2024-12-08 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 8c236e2fe1b91..092f3bdac5f1a 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-06 +date: 2024-12-08 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 b4e2c6a6d6429..ae1443a3b7678 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-06 +date: 2024-12-08 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 4134cce11b9b6..efb0c27d46fdc 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-06 +date: 2024-12-08 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 2d7116f4830ba..436786d78b2ba 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-06 +date: 2024-12-08 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 87ed8386920ef..e04ba6f8b1bfa 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-06 +date: 2024-12-08 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 da7f1b165b089..21f3c68c8a82b 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-06 +date: 2024-12-08 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 3b78492c578ff..d95ec50428213 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-06 +date: 2024-12-08 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 4eab544bfe8ad..9e8c4c9bca482 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-06 +date: 2024-12-08 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 965caad3de0bc..22d4013b2e2c9 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-06 +date: 2024-12-08 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 12b96d68cac9a..1d8d98ce5d09c 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-06 +date: 2024-12-08 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 26d2d1bb7c121..58e6abcb07de8 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-06 +date: 2024-12-08 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 8db4f1dc494f1..0dac616c652c4 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-06 +date: 2024-12-08 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 4b9bb3432d8fd..6fc07e4b2b78c 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-06 +date: 2024-12-08 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 51af544ffba71..8152bfb10a167 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-06 +date: 2024-12-08 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 d59497a7d797c..84a1a71ea9c32 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-06 +date: 2024-12-08 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 1c3f5a427a7bd..512e7404a8309 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-06 +date: 2024-12-08 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 730802a55c8a0..d58e44536d400 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-06 +date: 2024-12-08 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 0f285b6ce19b8..8aa278b4a1e03 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-06 +date: 2024-12-08 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 cfbb87ee8fe5a..4e79db24d5e09 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-06 +date: 2024-12-08 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 a92e3a94ec092..fa9f4cd52df5f 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-06 +date: 2024-12-08 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 18e62158fd876..907a2d275fd85 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-06 +date: 2024-12-08 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 85d3fd175be20..21f093749048e 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-06 +date: 2024-12-08 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 dd83af03e1035..e2b49b5462859 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-06 +date: 2024-12-08 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 b7f21d300a092..ac70d42adae80 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-06 +date: 2024-12-08 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 c89c05c4519d3..1ce3773d0ef7e 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-06 +date: 2024-12-08 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 9a0b2aaa3e938..f70fab43a7191 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-06 +date: 2024-12-08 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 44c5487cf9eb8..0dc55b2c8b63b 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-06 +date: 2024-12-08 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 8286c05585d9b..902792800f391 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-06 +date: 2024-12-08 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 f224d9ed82c1c..756df048bf8d9 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-06 +date: 2024-12-08 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 63f3eb9b8088d..20dd8fa6cd53e 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-06 +date: 2024-12-08 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 1443fcdef5edb..8ad0cbed264b9 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-06 +date: 2024-12-08 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 e4afa44b4e9f1..ab8fe98d821bf 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-06 +date: 2024-12-08 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 279a5ddfcb658..33ef58ac4cb6e 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-06 +date: 2024-12-08 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 6bab1ec5076db..fc86d646478e3 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-06 +date: 2024-12-08 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.mdx b/api_docs/kbn_aiops_components.mdx index 34f7f34d06613..3da6cbfb4130a 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; diff --git a/api_docs/kbn_aiops_log_pattern_analysis.mdx b/api_docs/kbn_aiops_log_pattern_analysis.mdx index 05dbbde89343c..5e6b76ae6f782 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-log-pattern-analysis'] --- import kbnAiopsLogPatternAnalysisObj from './kbn_aiops_log_pattern_analysis.devdocs.json'; diff --git a/api_docs/kbn_aiops_log_rate_analysis.mdx b/api_docs/kbn_aiops_log_rate_analysis.mdx index 13a36e29cb6c2..951c96c15bcee 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-06 +date: 2024-12-08 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 ea9938823ca6e..be6a7cc61a83e 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-06 +date: 2024-12-08 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 ae35eb28c653a..57ecde56c8938 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-06 +date: 2024-12-08 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 2c2b2d110f03d..57dda7ba07f6c 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-06 +date: 2024-12-08 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 4bf7e3b3a75a0..fa2d5bb75c49c 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-06 +date: 2024-12-08 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 e24ff6865370a..4d71b1a977373 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-06 +date: 2024-12-08 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 246421c1177e4..a8a0000cc5f32 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-06 +date: 2024-12-08 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 8bd78a8558332..43d585279d0e5 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-06 +date: 2024-12-08 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 c3c482e9d381d..6914c6b49a4c2 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-06 +date: 2024-12-08 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 76acd572a9d76..b44f97f228131 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-06 +date: 2024-12-08 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 e6982ee568828..964e085cb4a89 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-06 +date: 2024-12-08 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 1e4f7eed67e07..6f5b62298e061 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-06 +date: 2024-12-08 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 9a76e2464ae39..8a7a87f46c90d 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-06 +date: 2024-12-08 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 d30438bcbbee9..81790c677d89a 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-06 +date: 2024-12-08 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 71a434402d8fb..72f12a223efc9 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-06 +date: 2024-12-08 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 d883a2eae5827..8f31856dce8e4 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-06 +date: 2024-12-08 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 f7b61d8f03157..182ed64cf7695 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-06 +date: 2024-12-08 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 60c28fdaafa7d..94e6512a04311 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-06 +date: 2024-12-08 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 2a5b0c8e09526..d3f091d16d1d9 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-06 +date: 2024-12-08 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 18a57104a56e9..a42edf9b0abb0 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-06 +date: 2024-12-08 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 585dda7d943ab..a5153f65241d9 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-06 +date: 2024-12-08 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 15cca1a085425..aede1dbc18f6c 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-06 +date: 2024-12-08 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 dc9f92a293af9..e42d7c344160a 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-06 +date: 2024-12-08 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 5abd73d532ac1..2211f95dee3ef 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-06 +date: 2024-12-08 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 3e8800d8f41c6..3e875c321cd02 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-06 +date: 2024-12-08 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 64589d343e7fb..5ec805e003502 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-06 +date: 2024-12-08 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 1d3005c6326f6..1b03cf337f06f 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-06 +date: 2024-12-08 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 4c1f60fd13c1e..9256e83acc540 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-06 +date: 2024-12-08 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 93e6889204136..8967d6e5b55ce 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-06 +date: 2024-12-08 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 87d2dd36a06a0..7599db76101f9 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-06 +date: 2024-12-08 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 30846c9594ab0..f956f050f554e 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-06 +date: 2024-12-08 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 85ee93a5d9b91..a3d4384f8d301 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-06 +date: 2024-12-08 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 56661f8e523c4..73d220f48f7ed 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-06 +date: 2024-12-08 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 5a243940d2f8e..12b3f77259df9 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-06 +date: 2024-12-08 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 2434acb034227..bfcf7b50dd61c 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-06 +date: 2024-12-08 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 a1c3a51ef2412..b234bd6f61604 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-06 +date: 2024-12-08 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 a74ad9582fe0f..3ef117dfce4c1 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-06 +date: 2024-12-08 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 74f9d5d466ba7..0a79de6c65a01 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-06 +date: 2024-12-08 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 7b9a56096c4b8..52de739d7398b 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-06 +date: 2024-12-08 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 bb945d709d0d1..233a3d1de9a0f 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-06 +date: 2024-12-08 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 75a1799fc1799..7cffaae059519 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-06 +date: 2024-12-08 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.devdocs.json b/api_docs/kbn_content_management_content_insights_public.devdocs.json index 815d122e119e7..67a3cd13854e8 100644 --- a/api_docs/kbn_content_management_content_insights_public.devdocs.json +++ b/api_docs/kbn_content_management_content_insights_public.devdocs.json @@ -221,7 +221,7 @@ "label": "ActivityView", "description": [], "signature": [ - "({ item }: ", + "({ item, entityNamePlural }: ", { "pluginId": "@kbn/content-management-content-insights-public", "scope": "public", @@ -240,7 +240,7 @@ "id": "def-public.ActivityView.$1", "type": "Object", "tags": [], - "label": "{ item }", + "label": "{ item, entityNamePlural }", "description": [], "signature": [ { @@ -421,6 +421,20 @@ "path": "packages/content-management/content_insights/content_insights_public/src/components/activity_view.tsx", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/content-management-content-insights-public", + "id": "def-public.ActivityViewProps.entityNamePlural", + "type": "string", + "tags": [], + "label": "entityNamePlural", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/content-management/content_insights/content_insights_public/src/components/activity_view.tsx", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false @@ -575,6 +589,19 @@ "path": "packages/content-management/content_insights/content_insights_public/src/services.tsx", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/content-management-content-insights-public", + "id": "def-public.ContentInsightsServices.isKibanaVersioningEnabled", + "type": "boolean", + "tags": [], + "label": "isKibanaVersioningEnabled", + "description": [ + "\nWhether versioning is enabled for the current kibana instance. (aka is Serverless)\nThis is used to determine if we should show the version mentions in the help text." + ], + "path": "packages/content-management/content_insights/content_insights_public/src/services.tsx", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/kbn_content_management_content_insights_public.mdx b/api_docs/kbn_content_management_content_insights_public.mdx index 0bebcefb6f6d7..071d01245f7d4 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-content-insights-public'] --- import kbnContentManagementContentInsightsPublicObj from './kbn_content_management_content_insights_public.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 32 | 0 | 28 | 0 | +| 34 | 0 | 29 | 0 | ## Client diff --git a/api_docs/kbn_content_management_content_insights_server.mdx b/api_docs/kbn_content_management_content_insights_server.mdx index 0897acf0fc366..44e2e8873f2e6 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-06 +date: 2024-12-08 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 5d9ccdc5b9c2b..dd8e4ca42e633 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-06 +date: 2024-12-08 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 72d8823d7a0fe..308cf3dc209e9 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-06 +date: 2024-12-08 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 61ac01279b33c..a62866086e2fd 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-06 +date: 2024-12-08 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 492ff1b58682a..b5dbe73a5b68c 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-06 +date: 2024-12-08 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 8d7a2cb9a1307..15f61526fcc01 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-06 +date: 2024-12-08 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 69d2b9a5aa172..f94dea39e8d47 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-06 +date: 2024-12-08 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.devdocs.json b/api_docs/kbn_content_management_table_list_view_table.devdocs.json index 21b06f453b89c..ec4985c0f513c 100644 --- a/api_docs/kbn_content_management_table_list_view_table.devdocs.json +++ b/api_docs/kbn_content_management_table_list_view_table.devdocs.json @@ -371,6 +371,22 @@ "path": "packages/content-management/table_list_view_table/src/services.tsx", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/content-management-table-list-view-table", + "id": "def-public.TableListViewKibanaDependencies.isKibanaVersioningEnabled", + "type": "CompoundType", + "tags": [], + "label": "isKibanaVersioningEnabled", + "description": [ + "\nFlag to indicate if Kibana versioning is enabled. (aka not Serverless)\nUsed to determine if we should show the version mentions in the help text." + ], + "signature": [ + "boolean | undefined" + ], + "path": "packages/content-management/table_list_view_table/src/services.tsx", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false 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 5e7a5f078eeac..9f4fccb71c9cd 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view-table'] --- import kbnContentManagementTableListViewTableObj from './kbn_content_management_table_list_view_table.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 51 | 0 | 33 | 3 | +| 52 | 0 | 33 | 3 | ## Client diff --git a/api_docs/kbn_content_management_user_profiles.devdocs.json b/api_docs/kbn_content_management_user_profiles.devdocs.json index 8173f84b73568..5aeaee0910d8a 100644 --- a/api_docs/kbn_content_management_user_profiles.devdocs.json +++ b/api_docs/kbn_content_management_user_profiles.devdocs.json @@ -58,7 +58,7 @@ "signature": [ "(props: { iconType?: ", "IconType", - " | undefined; }) => React.JSX.Element" + " | undefined; includeVersionTip?: boolean | undefined; entityNamePlural?: string | undefined; }) => React.JSX.Element" ], "path": "packages/content-management/user_profiles/src/components/user_missing_tip.tsx", "deprecated": false, @@ -89,6 +89,34 @@ "path": "packages/content-management/user_profiles/src/components/user_missing_tip.tsx", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/content-management-user-profiles", + "id": "def-public.NoCreatorTip.$1.includeVersionTip", + "type": "CompoundType", + "tags": [], + "label": "includeVersionTip", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/content-management/user_profiles/src/components/user_missing_tip.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/content-management-user-profiles", + "id": "def-public.NoCreatorTip.$1.entityNamePlural", + "type": "string", + "tags": [], + "label": "entityNamePlural", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/content-management/user_profiles/src/components/user_missing_tip.tsx", + "deprecated": false, + "trackAdoption": false } ] } @@ -104,7 +132,7 @@ "label": "NoUpdaterTip", "description": [], "signature": [ - "(props: { iconType?: string | undefined; }) => React.JSX.Element" + "(props: { iconType?: string | undefined; includeVersionTip?: boolean | undefined; entityNamePlural?: string | undefined; }) => React.JSX.Element" ], "path": "packages/content-management/user_profiles/src/components/user_missing_tip.tsx", "deprecated": false, @@ -134,6 +162,34 @@ "path": "packages/content-management/user_profiles/src/components/user_missing_tip.tsx", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/content-management-user-profiles", + "id": "def-public.NoUpdaterTip.$1.includeVersionTip", + "type": "CompoundType", + "tags": [], + "label": "includeVersionTip", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/content-management/user_profiles/src/components/user_missing_tip.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/content-management-user-profiles", + "id": "def-public.NoUpdaterTip.$1.entityNamePlural", + "type": "string", + "tags": [], + "label": "entityNamePlural", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/content-management/user_profiles/src/components/user_missing_tip.tsx", + "deprecated": false, + "trackAdoption": false } ] } diff --git a/api_docs/kbn_content_management_user_profiles.mdx b/api_docs/kbn_content_management_user_profiles.mdx index 0a82e24956f61..650281072fb02 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-user-profiles'] --- import kbnContentManagementUserProfilesObj from './kbn_content_management_user_profiles.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 30 | 0 | 30 | 0 | +| 34 | 0 | 34 | 0 | ## Client diff --git a/api_docs/kbn_content_management_utils.mdx b/api_docs/kbn_content_management_utils.mdx index 46404ef200306..a264ab81d8ce2 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-06 +date: 2024-12-08 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 6a4c0cb00be67..fa0259a16259c 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-06 +date: 2024-12-08 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 02008f7e7247e..28f30bdf43038 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-06 +date: 2024-12-08 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 2a5d4a41364aa..1f7cdcef1b03e 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-06 +date: 2024-12-08 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 6872bb5a21951..2983ea59ae5c4 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-06 +date: 2024-12-08 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 51cdbce4c3946..a4ddef2e49bf9 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-06 +date: 2024-12-08 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 962b52d2ed105..0fc85585b3a30 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-06 +date: 2024-12-08 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 36fdbd3f48bbc..fae73a4baf36f 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-06 +date: 2024-12-08 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 e090d06131591..9519c0cb6117f 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-06 +date: 2024-12-08 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 839164df37597..f766af22d62ba 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-06 +date: 2024-12-08 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 6bd0e81a034b2..4a54f62a22f5b 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-06 +date: 2024-12-08 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 ed35b9828609d..057c060087c7f 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-06 +date: 2024-12-08 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 40d7843426253..fae83adf4b13f 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-06 +date: 2024-12-08 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 beeda8706b747..a2bc06c0c4e55 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-06 +date: 2024-12-08 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 1e43c00c289a4..f9fab55935a01 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-06 +date: 2024-12-08 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 6d9da022c3a73..8a47fa9c83319 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-06 +date: 2024-12-08 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 121cdb4e362f0..9c94b566511c1 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-06 +date: 2024-12-08 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 37071a03c4746..f2e897e07ac98 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-06 +date: 2024-12-08 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 79a3fa77bb9af..d77d324b0f083 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-06 +date: 2024-12-08 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 7d111c4f6cafe..01b6220b4de15 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-06 +date: 2024-12-08 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 a34bdda58520f..3fe0adf3ff78d 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-06 +date: 2024-12-08 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 f29d3c76dc9e1..b9018c3aaeb50 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-06 +date: 2024-12-08 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.mdx b/api_docs/kbn_core_chrome_browser.mdx index 4d4c613adb41b..6efdc355ca882 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-06 +date: 2024-12-08 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 8e81caa429718..116472e89de95 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-06 +date: 2024-12-08 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 66f12af03a367..65b5548ed3639 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-06 +date: 2024-12-08 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 79322ec1da4f8..bc17a1c252a29 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-06 +date: 2024-12-08 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 03e864fcccebd..6485bd1ea0559 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-06 +date: 2024-12-08 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 9a7b7d1382191..a9a546bad8002 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-06 +date: 2024-12-08 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 d4a00e08013cc..0439e34279245 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-06 +date: 2024-12-08 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 f1ee7cb659e2e..934883712767f 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-06 +date: 2024-12-08 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 065a7bb164afd..72614ce2cbb7c 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-06 +date: 2024-12-08 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 1a66199f5b780..1a1ea0f0fc868 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-06 +date: 2024-12-08 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 75eed113b3c0a..3920a7170c85e 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-06 +date: 2024-12-08 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 fbfdc9ef49e3c..549c7b4966163 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-06 +date: 2024-12-08 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 1c71369127609..cfc091ece2767 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-06 +date: 2024-12-08 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 853fe70c65e83..99783d3aad9c0 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-06 +date: 2024-12-08 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 01f892f972c08..8cd6554fd14e6 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-06 +date: 2024-12-08 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 b8ce816d39238..4847a2e2507f7 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-06 +date: 2024-12-08 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 5b26f159a9891..010022c80f186 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-06 +date: 2024-12-08 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 dd5d3ef884a12..7c1581d88f1a7 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-06 +date: 2024-12-08 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 6ad71580ad5f5..8e528e6c16938 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-06 +date: 2024-12-08 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 09a5117b3ef63..aa9960cfad5c3 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-06 +date: 2024-12-08 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 aa52d64a1c96d..8ae705daf613a 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-06 +date: 2024-12-08 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 bc695898f5cc9..51da5d653fc71 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-06 +date: 2024-12-08 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 271eaf3542264..1523181e04d6c 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-06 +date: 2024-12-08 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 d182efb1a345c..9876063969d20 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-06 +date: 2024-12-08 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 9e6c080de2bce..3eebdfc162514 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-06 +date: 2024-12-08 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 ce9a2bd344560..cb36059ec3810 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-06 +date: 2024-12-08 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 3fb114a234418..c078e0cbde2b9 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-06 +date: 2024-12-08 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 012d40a57257c..20f6b3fa40b9f 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-06 +date: 2024-12-08 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 6bff148f6a8d8..b7f61f11521e8 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-06 +date: 2024-12-08 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 a48ea46d9229a..e2e4ae686784c 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-06 +date: 2024-12-08 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 de05967cf8084..b4223fdee29b8 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-06 +date: 2024-12-08 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 b7e08385c4d55..cf9c6463bf38a 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-06 +date: 2024-12-08 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 ecb690bd6b057..09d40796c7a17 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-06 +date: 2024-12-08 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 91164aaa85e09..847d7c47cdbf4 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-06 +date: 2024-12-08 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 38faf3d6b6bb9..72404d5c109ad 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-06 +date: 2024-12-08 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 2cc95bc5dd106..f7a02ed0b9cf6 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-06 +date: 2024-12-08 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 b9c4b0e1efee4..e8949d453ae8f 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-06 +date: 2024-12-08 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 1ec477c513b69..0b691e5b2ab80 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-06 +date: 2024-12-08 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 45840458a7519..b9139efc378f7 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-06 +date: 2024-12-08 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 ebcd424af5e4d..d2a5970ae04ca 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-06 +date: 2024-12-08 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 8c0d008a25a1e..3dec914a81a38 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-06 +date: 2024-12-08 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 6dc661b644a26..3df34cfbf0a29 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-06 +date: 2024-12-08 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 deebd591d2e0c..2de19468613e4 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-06 +date: 2024-12-08 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 086eeed5e86ac..126d5071aff97 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-06 +date: 2024-12-08 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 b096e4b532445..a67da50b44b33 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-06 +date: 2024-12-08 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 2625dd00f32fe..5707533b948c6 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-06 +date: 2024-12-08 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 48d0583e1d741..c0db0e1d2d8df 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-06 +date: 2024-12-08 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 d70b9783b1cda..7218abc08e8bb 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-06 +date: 2024-12-08 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 beea6b193618f..b19701593644d 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-06 +date: 2024-12-08 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 99bc84ea7867b..233e27d3614be 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-06 +date: 2024-12-08 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 3ae8f1d85b70c..c1c95f5e82119 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-06 +date: 2024-12-08 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 29c17f230efa1..7d0d621f5eb37 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-06 +date: 2024-12-08 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 ed17137294d4f..65c921a2ad9ff 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-06 +date: 2024-12-08 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 843d4f0811e14..d66a406219449 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-06 +date: 2024-12-08 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.mdx b/api_docs/kbn_core_http_server.mdx index c0359a6d9c549..df48f5df7d5c4 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-06 +date: 2024-12-08 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 44741b3bb74ba..32afb0831307c 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-06 +date: 2024-12-08 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 aa71827ffbf16..9969b9110ccfe 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-06 +date: 2024-12-08 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 7f252527462ba..52445c465116b 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-06 +date: 2024-12-08 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 b1382123b70f2..5ba2f4dcbe701 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-06 +date: 2024-12-08 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 7d3b55a255bf3..da3cd9e2510c2 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-06 +date: 2024-12-08 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 f5d3881f1ae05..44235a76d20b9 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-06 +date: 2024-12-08 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 9c60535ff0985..dbfb008f15edf 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-06 +date: 2024-12-08 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 c7a73613ed672..302d26b9bc23c 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-06 +date: 2024-12-08 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 50fe0fe010841..4c941bb38f098 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-06 +date: 2024-12-08 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 bceed51eb2fc9..af7e9720c04f4 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-06 +date: 2024-12-08 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 46822f3eb6d58..f96ea419b3e6c 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-06 +date: 2024-12-08 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.mdx b/api_docs/kbn_core_lifecycle_browser.mdx index 64404b9a4954d..9c552cc9e76bf 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-06 +date: 2024-12-08 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 3667e422664eb..d76fcd167591f 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-06 +date: 2024-12-08 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 dd9a2531fa5b5..04ab948c0ab81 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-06 +date: 2024-12-08 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 b39f4320ba254..eb2f95e273763 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-06 +date: 2024-12-08 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 0cb685b7e66fb..a567d7a508e54 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-06 +date: 2024-12-08 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 82fcfa0257a7f..291caf3a7db02 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-06 +date: 2024-12-08 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 511ddedf0c87c..8db7d7fce6783 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-06 +date: 2024-12-08 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 c36f0cf287962..90fdc04d6aa78 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-06 +date: 2024-12-08 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 1138806de35d7..2c0ee822324ef 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-06 +date: 2024-12-08 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 8583413cde690..ed2594af9443f 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-06 +date: 2024-12-08 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 21df0a6422218..7c584bc43137f 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-06 +date: 2024-12-08 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 ca8b2027ba345..806eabf78fcac 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-06 +date: 2024-12-08 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 0c16bd9ec0e22..1b04fd7229ebb 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-06 +date: 2024-12-08 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 2cbe948cfb2c4..3268eaa4024b0 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-06 +date: 2024-12-08 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 e489bbc5e576d..c55f0aa811a5f 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-06 +date: 2024-12-08 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 7d36145505eae..d2c01f535de63 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-06 +date: 2024-12-08 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 c7dca3168d578..6eaa01070f17a 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-06 +date: 2024-12-08 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 b460591e808db..3f5d3b48718bb 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-06 +date: 2024-12-08 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 9577641032bf9..7f834ad28713e 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-06 +date: 2024-12-08 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 b88561ecc568a..065e5a3a3c5af 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-06 +date: 2024-12-08 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 09615036ab1dd..93a6a4cda29bd 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-06 +date: 2024-12-08 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 aa7ca03818451..53515044e8cef 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-06 +date: 2024-12-08 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 768522477d586..9e1c979a1e8e5 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-06 +date: 2024-12-08 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 8e70c3b8feea5..a9a577ca3cc7b 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-06 +date: 2024-12-08 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 3d245a5fb5f40..325503dfb772b 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-06 +date: 2024-12-08 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 1502d22591f58..cd276a67e2ed9 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-06 +date: 2024-12-08 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 4ddc607b640b3..bd1f575c691b9 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-06 +date: 2024-12-08 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 0973fc347a1a0..df1119f18907f 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-06 +date: 2024-12-08 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 efaf9b34fd5d2..bc87511b3db47 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-06 +date: 2024-12-08 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 c370b8b213d86..a20bb6d336d3f 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-06 +date: 2024-12-08 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 ea7c6c2ff1015..c6b8ee5f5a879 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-06 +date: 2024-12-08 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 093e98427474a..aa61ca85b1390 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-06 +date: 2024-12-08 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 d8a4eddac60b8..ba17249c773db 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-06 +date: 2024-12-08 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 e9f4b08efcca4..33cd854e21a2a 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-06 +date: 2024-12-08 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 42804b0391c7e..d8cf2c4305e8f 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-06 +date: 2024-12-08 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 d2cfa5fbc0a05..76aca27d0e143 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-06 +date: 2024-12-08 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 e7888be44888b..3553dcaf35dda 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-06 +date: 2024-12-08 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.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index bc5087efe15bf..7714dbc7623e6 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-06 +date: 2024-12-08 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 3617346d57e98..78738fb06725f 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-06 +date: 2024-12-08 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 035f273dc1d51..f9a38a873a689 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-06 +date: 2024-12-08 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 603b1435467b4..c2e6d6ed9d52e 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-06 +date: 2024-12-08 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 ca1e27cb9e6d2..74f78523a2beb 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-06 +date: 2024-12-08 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.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index ce33907923295..3c4fe15f2663c 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-06 +date: 2024-12-08 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 bf8768060123f..2d7778119dede 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-06 +date: 2024-12-08 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 345a7c3e33a8b..f82d2044d580e 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-06 +date: 2024-12-08 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.mdx b/api_docs/kbn_core_saved_objects_common.mdx index cd7e6d1a3ecb8..c91e5768f0239 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-06 +date: 2024-12-08 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 d96305bf2c176..d1322a2f90992 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-06 +date: 2024-12-08 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 95978057643b7..ef60bcb741187 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-06 +date: 2024-12-08 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 f27a5f3d95c15..662fd38d2f002 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-06 +date: 2024-12-08 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 1d3f7db561e41..9693720910dc7 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-06 +date: 2024-12-08 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.mdx b/api_docs/kbn_core_saved_objects_server.mdx index 249ac180f56a2..2d8324dcf9366 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-06 +date: 2024-12-08 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 528a909a1b4ca..135a8b6df453f 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-06 +date: 2024-12-08 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 fef48cdddd95e..da57a4b2bc697 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-06 +date: 2024-12-08 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 c4cf0d406f207..746da0738aebb 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-06 +date: 2024-12-08 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 739c5b4addde4..afb3844c7088a 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-06 +date: 2024-12-08 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 87631473d521c..affb054738fa7 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-06 +date: 2024-12-08 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 942872c584cf7..ee74ef38da489 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-06 +date: 2024-12-08 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 edda096c7aa52..0cdb36750bea3 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-06 +date: 2024-12-08 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 469b762b583e6..37a7b0ff8b14a 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-06 +date: 2024-12-08 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 3deadd05d9016..603c13858d2a1 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-06 +date: 2024-12-08 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 1f7fd72f6e6e4..05ef6f82e11e0 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-06 +date: 2024-12-08 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 ec94f415e22e3..0df930f891eee 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-06 +date: 2024-12-08 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 74d90c74ca11a..3342c7a30d92a 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-06 +date: 2024-12-08 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 dd804d7137cb6..b9da9ee2cb3e7 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-06 +date: 2024-12-08 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 876bc7ee18cad..b392c672ad157 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-06 +date: 2024-12-08 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 23979de09354f..2a3680f78180e 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-06 +date: 2024-12-08 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 0697cd6c4acc1..14ac768280588 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-06 +date: 2024-12-08 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 b114b8d3b01ba..7376a63193649 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-06 +date: 2024-12-08 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 f2c860cbada26..8426bcba03675 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-06 +date: 2024-12-08 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 3105c1d20b319..9b574adfdb3aa 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-06 +date: 2024-12-08 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 0231283ae4ae8..a86310df09ea3 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-06 +date: 2024-12-08 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 5f52f908f2f73..8668f1ea56e22 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-06 +date: 2024-12-08 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 5be2861a86885..bf644e79f8e01 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-06 +date: 2024-12-08 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 4ed1619f0ba7d..96d33615122d2 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-06 +date: 2024-12-08 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 6b8fa0a78ed2e..72d8b2b14659d 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-06 +date: 2024-12-08 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 ebcdc723d413a..9ca6b11d4f611 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-06 +date: 2024-12-08 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 6445c1a20906b..f91cd5ea53d29 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-06 +date: 2024-12-08 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 266f76e6a7a0b..c8c83282edc21 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-06 +date: 2024-12-08 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 92431a9cad8cf..4fd7d536a49dd 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-06 +date: 2024-12-08 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 e39b2aeb8d0cb..abefbfddd4a3e 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-06 +date: 2024-12-08 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 f893aab9474f8..e2907844ac5a5 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-06 +date: 2024-12-08 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 c2e517e80f633..ca2062bf70383 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-06 +date: 2024-12-08 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 a60937c527624..f7562d24e580f 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-06 +date: 2024-12-08 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 a8315237734b4..246b1a7d05720 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-06 +date: 2024-12-08 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 51e2722fbce50..ce57ff135b6d9 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-06 +date: 2024-12-08 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 776891e576cf0..1742aee9fb3f4 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-06 +date: 2024-12-08 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 6a7bf97a3b96d..2c25046106b10 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-06 +date: 2024-12-08 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 fa122afffc518..56cd0ceae3188 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-06 +date: 2024-12-08 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 bbc93cf5b7c42..1060830f277c4 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-06 +date: 2024-12-08 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 cd4a48ed1bf92..ccb57e52b8930 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-06 +date: 2024-12-08 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 399c73764f3dd..ccada67b6f473 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-06 +date: 2024-12-08 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 9cf7f3029e5c6..0f3cd95dc6666 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-06 +date: 2024-12-08 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 79c5aad064a76..a99bf00ba6e4d 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-06 +date: 2024-12-08 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 42697a33a335c..5efb160a23c6d 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-06 +date: 2024-12-08 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 03e3a8b0b131f..c64b6eac69931 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-06 +date: 2024-12-08 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 fceb5fc766a23..5388c40cfe830 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-06 +date: 2024-12-08 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 dbde923ff8e99..e43dc2764ea46 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-06 +date: 2024-12-08 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 8659f31b0b00d..2b1da94f03936 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-06 +date: 2024-12-08 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 ae797c2c5dc07..6e79ccc5c152b 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-service'] --- import kbnDataServiceObj from './kbn_data_service.devdocs.json'; diff --git a/api_docs/kbn_data_stream_adapter.mdx b/api_docs/kbn_data_stream_adapter.mdx index 3d1f161ccb137..5d9a4d43e277d 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-06 +date: 2024-12-08 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 b2a0edf5f1c30..b7208d1f444bd 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-06 +date: 2024-12-08 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 048164869428f..36213acf192ef 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-06 +date: 2024-12-08 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 4c6944d753aec..331e3b6f2e22c 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-06 +date: 2024-12-08 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 830f427690fac..0c3a06f25884e 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-06 +date: 2024-12-08 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 c44639b431e8d..b6896c397f76a 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-06 +date: 2024-12-08 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 2d914e3a36c7e..03e7caf5d5db6 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-management'] --- import kbnDeeplinksManagementObj from './kbn_deeplinks_management.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_ml.mdx b/api_docs/kbn_deeplinks_ml.mdx index 26c704a3beaf4..ffa69a4f4e7fa 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-06 +date: 2024-12-08 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 01186ffc34fd5..d5cd27f38a69a 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-observability'] --- import kbnDeeplinksObservabilityObj from './kbn_deeplinks_observability.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_search.mdx b/api_docs/kbn_deeplinks_search.mdx index ce84e5b22de3c..838b33af7415f 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-search'] --- import kbnDeeplinksSearchObj from './kbn_deeplinks_search.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_security.mdx b/api_docs/kbn_deeplinks_security.mdx index 1b63acdc45fc3..ee4b76a1a9739 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-06 +date: 2024-12-08 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 788f80c818b1a..94b36e9ca011c 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-06 +date: 2024-12-08 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 1389f742d9300..c323059909b68 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-06 +date: 2024-12-08 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 85bfe3573cec5..85d811996f75d 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-06 +date: 2024-12-08 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 c338264750511..374f4868feb66 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-management'] --- import kbnDefaultNavManagementObj from './kbn_default_nav_management.devdocs.json'; diff --git a/api_docs/kbn_default_nav_ml.mdx b/api_docs/kbn_default_nav_ml.mdx index 9c02a24259cf3..422879a3fee74 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-06 +date: 2024-12-08 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 0429492780a59..27724d76b0630 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-06 +date: 2024-12-08 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 66aacae98cc47..741766539ad83 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-06 +date: 2024-12-08 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 7b608ef141666..7abd93c43d6ac 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-06 +date: 2024-12-08 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 d725eef2c1ace..a8064f0da46e3 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-06 +date: 2024-12-08 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 80a4fbe2eaf92..fcf0baca43f6d 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-06 +date: 2024-12-08 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.devdocs.json b/api_docs/kbn_discover_utils.devdocs.json index e16d23d1e7c14..9bba66acba184 100644 --- a/api_docs/kbn_discover_utils.devdocs.json +++ b/api_docs/kbn_discover_utils.devdocs.json @@ -5094,21 +5094,6 @@ "trackAdoption": false, "initialIsOpen": false }, - { - "parentPluginId": "@kbn/discover-utils", - "id": "def-common.SEARCH_FIELDS_FROM_SOURCE", - "type": "string", - "tags": [], - "label": "SEARCH_FIELDS_FROM_SOURCE", - "description": [], - "signature": [ - "\"discover:searchFieldsFromSource\"" - ], - "path": "packages/kbn-discover-utils/src/constants.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, { "parentPluginId": "@kbn/discover-utils", "id": "def-common.SEARCH_ON_PAGE_LOAD_SETTING", diff --git a/api_docs/kbn_discover_utils.mdx b/api_docs/kbn_discover_utils.mdx index e88a1b9c6f6cd..fb0c16892206f 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/discover-utils'] --- import kbnDiscoverUtilsObj from './kbn_discover_utils.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 277 | 0 | 227 | 4 | +| 276 | 0 | 226 | 4 | ## Common diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index 6c8d3d356be26..2b5ba8d1bf904 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-06 +date: 2024-12-08 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 53d2e26839a2e..3469c946af919 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-06 +date: 2024-12-08 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 720c78f7033e2..9cc77f57d2621 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-06 +date: 2024-12-08 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 7238c12e1e08d..ebae2ad023bc1 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-06 +date: 2024-12-08 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 a8093e71ebc5f..0e6f3f1cd25bb 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-06 +date: 2024-12-08 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 d1bd6f203002f..428ed3d6bf0c0 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-06 +date: 2024-12-08 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 f9e54b320ef99..95b06158bccfd 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-06 +date: 2024-12-08 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 934b188822636..f41a0d59bbf47 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-06 +date: 2024-12-08 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.devdocs.json b/api_docs/kbn_entities_schema.devdocs.json index 0269efb5711d8..a5b3bfffd5b6f 100644 --- a/api_docs/kbn_entities_schema.devdocs.json +++ b/api_docs/kbn_entities_schema.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "(minimumMinutes: number) => Zod.ZodEffects" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -62,7 +62,7 @@ "signature": [ "({\n type,\n dataset,\n}: AliasPatternOptions) => `entities-${string}-${TDataset}`" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/patterns.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/patterns.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -76,7 +76,7 @@ "signature": [ "AliasPatternOptions" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/patterns.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/patterns.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -95,7 +95,7 @@ "signature": [ "({\n schemaVersion,\n dataset,\n definitionId,\n}: IndexPatternOptions) => `.entities.v${number}.${TDataset}.${string}`" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/patterns.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/patterns.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -109,7 +109,7 @@ "signature": [ "IndexPatternOptions" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/patterns.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/patterns.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -127,7 +127,7 @@ "tags": [], "label": "EntityV2", "description": [], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -138,7 +138,7 @@ "tags": [], "label": "'entity.id'", "description": [], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false }, @@ -149,7 +149,7 @@ "tags": [], "label": "'entity.type'", "description": [], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false }, @@ -160,7 +160,7 @@ "tags": [], "label": "'entity.display_name'", "description": [], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false }, @@ -174,7 +174,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false }, @@ -188,7 +188,7 @@ "signature": [ "[metadata: string]: any" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false } @@ -202,7 +202,7 @@ "tags": [], "label": "MetadataRecord", "description": [], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -223,7 +223,7 @@ "text": "MetadataRecord" } ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false } @@ -239,7 +239,7 @@ "tags": [], "label": "BasicAggregations", "description": [], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -256,7 +256,7 @@ "signature": [ "\"entities\"" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/patterns.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/patterns.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -271,7 +271,7 @@ "signature": [ "\"history\"" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/patterns.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/patterns.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -286,7 +286,7 @@ "signature": [ "\"latest\"" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/patterns.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/patterns.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -301,7 +301,7 @@ "signature": [ "\"v1\"" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/patterns.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/patterns.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -324,7 +324,7 @@ }, "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; metadata?: ({ destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; })[] | undefined; staticFields?: Record | undefined; installStatus?: \"failed\" | \"installing\" | \"upgrading\" | \"installed\" | undefined; installStartedAt?: string | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity_definition.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity_definition.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -347,7 +347,7 @@ }, "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; indexPatterns?: string[] | undefined; metadata?: ({ destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; })[] | undefined; identityFields?: ({ field: string; optional: false; } | { field: string; optional: boolean; })[] | undefined; displayNameTemplate?: string | undefined; staticFields?: Record | undefined; latest?: { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; } | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity_definition.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity_definition.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -362,7 +362,7 @@ "signature": [ "{ entity: { id: string; type: string; schema_version: string; identity_fields: string | string[]; display_name: string; definition_version: string; definition_id: string; last_seen_timestamp: string; metrics?: Record | undefined; }; } & Metadata" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -377,7 +377,7 @@ "signature": [ "Metadata" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -392,7 +392,7 @@ "signature": [ "{ includeState: boolean; page?: number | undefined; perPage?: number | undefined; }" ], - "path": "x-pack/packages/kbn-entities-schema/src/rest_spec/get.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/get.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -415,7 +415,7 @@ }, "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -430,7 +430,7 @@ "signature": [ "{ destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; }" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -453,7 +453,7 @@ }, "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -470,7 +470,7 @@ "signature": [ "Zod.ZodArray" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -493,7 +493,7 @@ }, ">" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -532,7 +532,7 @@ }, "; filter?: string | undefined; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -547,7 +547,7 @@ "signature": [ "Zod.ZodObject<{ installOnly: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { installOnly: boolean; }, { installOnly?: boolean | \"true\" | \"false\" | undefined; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/rest_spec/create.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/create.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -562,7 +562,7 @@ "signature": [ "Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/rest_spec/delete.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/delete.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -577,7 +577,7 @@ "signature": [ "Zod.ZodObject<{ deleteData: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { deleteData: boolean; }, { deleteData?: boolean | \"true\" | \"false\" | undefined; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/rest_spec/delete.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/delete.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -592,7 +592,7 @@ "signature": [ "Zod.ZodObject<{ name: Zod.ZodString; aggregation: Zod.ZodLiteral<\"doc_count\">; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; aggregation: \"doc_count\"; filter?: string | undefined; }, { name: string; aggregation: \"doc_count\"; filter?: string | undefined; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -607,7 +607,7 @@ "signature": [ "Zod.ZodString" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -622,7 +622,7 @@ "signature": [ "Zod.ZodObject<{ id: Zod.ZodString; type: Zod.ZodString; identity_fields: Zod.ZodUnion<[Zod.ZodArray, Zod.ZodString]>; display_name: Zod.ZodString; metrics: Zod.ZodOptional>; definition_version: Zod.ZodString; schema_version: Zod.ZodString; definition_id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: string; schema_version: string; identity_fields: string | string[]; display_name: string; definition_version: string; definition_id: string; metrics?: Record | undefined; }, { id: string; type: string; schema_version: string; identity_fields: string | string[]; display_name: string; definition_version: string; definition_id: string; metrics?: Record | undefined; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -693,7 +693,7 @@ }, "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; managed?: boolean | undefined; metadata?: (string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; })[] | undefined; staticFields?: Record | undefined; installStatus?: \"failed\" | \"installing\" | \"upgrading\" | \"installed\" | undefined; installStartedAt?: string | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity_definition.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity_definition.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -764,7 +764,7 @@ }, "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; indexPatterns?: string[] | undefined; metadata?: (string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; })[] | undefined; identityFields?: (string | { field: string; optional: false; })[] | undefined; displayNameTemplate?: string | undefined; staticFields?: Record | undefined; latest?: { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; } | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity_definition.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity_definition.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -779,7 +779,7 @@ "signature": [ "Zod.ZodIntersection, Zod.ZodString]>; display_name: Zod.ZodString; metrics: Zod.ZodOptional>; definition_version: Zod.ZodString; schema_version: Zod.ZodString; definition_id: Zod.ZodString; }, { last_seen_timestamp: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { id: string; type: string; schema_version: string; identity_fields: string | string[]; display_name: string; definition_version: string; definition_id: string; last_seen_timestamp: string; metrics?: Record | undefined; }, { id: string; type: string; schema_version: string; identity_fields: string | string[]; display_name: string; definition_version: string; definition_id: string; last_seen_timestamp: string; metrics?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { entity: { id: string; type: string; schema_version: string; identity_fields: string | string[]; display_name: string; definition_version: string; definition_id: string; last_seen_timestamp: string; metrics?: Record | undefined; }; }, { entity: { id: string; type: string; schema_version: string; identity_fields: string | string[]; display_name: string; definition_version: string; definition_id: string; last_seen_timestamp: string; metrics?: Record | undefined; }; }>, Zod.ZodType>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -794,7 +794,7 @@ "signature": [ "Zod.ZodType" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/entity.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/entity.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -809,7 +809,7 @@ "signature": [ "Zod.ZodOptional" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -824,7 +824,7 @@ "signature": [ "Zod.ZodObject<{ page: Zod.ZodOptional; perPage: Zod.ZodOptional; includeState: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { includeState: boolean; page?: number | undefined; perPage?: number | undefined; }, { page?: number | undefined; perPage?: number | undefined; includeState?: boolean | \"true\" | \"false\" | undefined; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/rest_spec/get.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/get.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -839,7 +839,7 @@ "signature": [ "Zod.ZodEffects; syncDelay: Zod.ZodOptional; lookbackPeriod: Zod.ZodDefault>; frequency: Zod.ZodOptional; backfillSyncDelay: Zod.ZodOptional; backfillLookbackPeriod: Zod.ZodOptional; backfillFrequency: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { lookbackPeriod: string; frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; backfillSyncDelay?: string | undefined; backfillLookbackPeriod?: string | undefined; backfillFrequency?: string | undefined; }, { frequency?: string | undefined; lookbackPeriod?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; backfillSyncDelay?: string | undefined; backfillLookbackPeriod?: string | undefined; backfillFrequency?: string | undefined; }>>, { lookbackPeriod: string; frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; backfillSyncDelay?: string | undefined; backfillLookbackPeriod?: string | undefined; backfillFrequency?: string | undefined; }, { frequency?: string | undefined; lookbackPeriod?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; backfillSyncDelay?: string | undefined; backfillLookbackPeriod?: string | undefined; backfillFrequency?: string | undefined; } | undefined>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -854,7 +854,7 @@ "signature": [ "Zod.ZodUnion<[Zod.ZodObject<{ field: Zod.ZodString; optional: Zod.ZodLiteral; }, \"strip\", Zod.ZodTypeAny, { field: string; optional: false; }, { field: string; optional: false; }>, Zod.ZodEffects]>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -909,7 +909,7 @@ }, "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -924,7 +924,7 @@ "signature": [ "Zod.ZodUnion<[Zod.ZodObject<{ type: Zod.ZodLiteral<\"terms\">; limit: Zod.ZodDefault; lookbackPeriod: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; }, { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"top_value\">; sort: Zod.ZodRecord, Zod.ZodLiteral<\"desc\">]>>; lookbackPeriod: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }, { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }>]>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -939,7 +939,7 @@ "signature": [ "Zod.ZodEffects; aggregation: Zod.ZodDefault; limit: Zod.ZodDefault; lookbackPeriod: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; }, { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"top_value\">; sort: Zod.ZodRecord, Zod.ZodLiteral<\"desc\">]>>; lookbackPeriod: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }, { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }>]>>>; }, \"strip\", Zod.ZodTypeAny, { source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; destination?: string | undefined; }, { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, Zod.ZodEffects]>, { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; }, string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; }, string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -978,7 +978,7 @@ }, "; filter?: string | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; aggregation: Zod.ZodLiteral<\"doc_count\">; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; aggregation: \"doc_count\"; filter?: string | undefined; }, { name: string; aggregation: \"doc_count\"; filter?: string | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; aggregation: Zod.ZodLiteral<\"percentile\">; field: Zod.ZodString; percentile: Zod.ZodNumber; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }, { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }>]>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -993,7 +993,7 @@ "signature": [ "Zod.ZodObject<{ name: Zod.ZodString; aggregation: Zod.ZodLiteral<\"percentile\">; field: Zod.ZodString; percentile: Zod.ZodNumber; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }, { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1008,7 +1008,7 @@ "signature": [ "Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>" ], - "path": "x-pack/packages/kbn-entities-schema/src/rest_spec/reset.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/rest_spec/reset.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1023,7 +1023,7 @@ "signature": [ "Zod.ZodEffects" ], - "path": "x-pack/packages/kbn-entities-schema/src/schema/common.ts", + "path": "x-pack/platform/packages/shared/kbn-entities-schema/src/schema/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_entities_schema.mdx b/api_docs/kbn_entities_schema.mdx index c019c482807b1..67353de3614ad 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-06 +date: 2024-12-08 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 34c7f68ade0c8..72b80dc9503f6 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-06 +date: 2024-12-08 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 7df03bd9ec2c5..e4c0822387c05 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-06 +date: 2024-12-08 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 536ffdcd685ce..9f91de2293f4c 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-06 +date: 2024-12-08 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 456f6c8c6b9ab..30e61b162710a 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-06 +date: 2024-12-08 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 6e828e953cb41..1299ddad819bb 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-06 +date: 2024-12-08 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 05c85e39ada9e..47e0c7d069b01 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-06 +date: 2024-12-08 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 3a850ab7e31f6..7f84ea5cbd325 100644 --- a/api_docs/kbn_esql_ast.devdocs.json +++ b/api_docs/kbn_esql_ast.devdocs.json @@ -2623,10848 +2623,8 @@ "description": [], "signature": [ "Visitor", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitRenameExpression: (ctx: ", - "RenameExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitListLiteralExpression: (ctx: ", - "ListLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitRenameExpression: (ctx: ", - "RenameExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - "ESQLList", - ">, inp: Input) => Output; } & { visitFunctionCallExpression: (ctx: ", - "FunctionCallExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitRenameExpression: (ctx: ", - "RenameExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitListLiteralExpression: (ctx: ", - "ListLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitRenameExpression: (ctx: ", - "RenameExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - "ESQLList", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitCommandOption: (ctx: ", - "CommandOptionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitRenameExpression: (ctx: ", - "RenameExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitListLiteralExpression: (ctx: ", - "ListLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitRenameExpression: (ctx: ", - "RenameExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - "ESQLList", - ">, inp: Input) => Output; } & { visitFunctionCallExpression: (ctx: ", - "FunctionCallExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitRenameExpression: (ctx: ", - "RenameExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitListLiteralExpression: (ctx: ", - "ListLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitRenameExpression: (ctx: ", - "RenameExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - "ESQLList", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitCommand: (ctx: ", - "CommandVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitRenameExpression: (ctx: ", - "RenameExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitInlineCastExpression: (ctx: ", - "InlineCastExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitLiteralExpression: (ctx: ", - "LiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { visitColumnExpression: (ctx: ", - "ColumnExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLLiteral", - "text": "ESQLLiteral" - }, - ">, inp: Input) => Output; } & { visitTimeIntervalLiteralExpression: (ctx: ", - "TimeIntervalLiteralExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; } & { visitSourceExpression: (ctx: ", - "SourceExpressionVisitorContext", - "<", - "VisitorMethods", - " & { visitExpression: (ctx: ", - "ExpressionVisitorContext", - "<", - "VisitorMethods", - ", ", - "SharedData", - ", ", - "ESQLAstExpression", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { ...; } & { ...; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; }, ", - "SharedData", - ">, inp: Input) => Output; } & { ...; } & { ...; } & { ...; }, ", - "SharedData", - ", ", - { - "pluginId": "@kbn/esql-ast", - "scope": "common", - "docId": "kibKbnEsqlAstPluginApi", - "section": "def-common.ESQLAstCommand", - "text": "ESQLAstCommand" - }, - ">, inp: Input) => Output; } & { ...; }, ", - "SharedData", ">" ], "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", @@ -13487,7 +2647,7 @@ "section": "def-common.ESQLAstQueryExpression", "text": "ESQLAstQueryExpression" }, - ") => string" + ") => any" ], "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, @@ -16156,7 +5316,9 @@ "docId": "kibKbnEsqlAstPluginApi", "section": "def-common.ESQLAstMetricsCommand", "text": "ESQLAstMetricsCommand" - } + }, + " | ", + "ESQLAstJoinCommand" ], "path": "packages/kbn-esql-ast/src/types.ts", "deprecated": false, @@ -16219,6 +5381,8 @@ "text": "ESQLAstMetricsCommand" }, " | ", + "ESQLAstJoinCommand", + " | ", { "pluginId": "@kbn/esql-ast", "scope": "common", diff --git a/api_docs/kbn_esql_ast.mdx b/api_docs/kbn_esql_ast.mdx index 8aa0141581109..463a564c7baec 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-ast'] --- import kbnEsqlAstObj from './kbn_esql_ast.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 285 | 1 | 223 | 36 | +| 285 | 1 | 223 | 25 | ## Common diff --git a/api_docs/kbn_esql_editor.mdx b/api_docs/kbn_esql_editor.mdx index 022af3b8a0da8..2c1bd43482cce 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-editor'] --- import kbnEsqlEditorObj from './kbn_esql_editor.devdocs.json'; diff --git a/api_docs/kbn_esql_utils.mdx b/api_docs/kbn_esql_utils.mdx index b7bbdf7f7ae26..e73a893c2ffd4 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-06 +date: 2024-12-08 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 f35814c5b2e30..837fc82d6a35b 100644 --- a/api_docs/kbn_esql_validation_autocomplete.devdocs.json +++ b/api_docs/kbn_esql_validation_autocomplete.devdocs.json @@ -496,6 +496,8 @@ "section": "def-common.ESQLAstMetricsCommand", "text": "ESQLAstMetricsCommand" }, + " | ", + "ESQLAstJoinCommand", "; node: ", "ESQLStringLiteral", "; option: ", @@ -530,6 +532,8 @@ "section": "def-common.ESQLAstMetricsCommand", "text": "ESQLAstMetricsCommand" }, + " | ", + "ESQLAstJoinCommand", "; node: ", { "pluginId": "@kbn/esql-ast", @@ -572,6 +576,8 @@ "section": "def-common.ESQLAstMetricsCommand", "text": "ESQLAstMetricsCommand" }, + " | ", + "ESQLAstJoinCommand", "; node: ", { "pluginId": "@kbn/esql-ast", @@ -614,6 +620,8 @@ "section": "def-common.ESQLAstMetricsCommand", "text": "ESQLAstMetricsCommand" }, + " | ", + "ESQLAstJoinCommand", "; node: ", { "pluginId": "@kbn/esql-ast", @@ -754,6 +762,8 @@ "section": "def-common.ESQLAstMetricsCommand", "text": "ESQLAstMetricsCommand" }, + " | ", + "ESQLAstJoinCommand", "; node: ", { "pluginId": "@kbn/esql-ast", @@ -870,6 +880,8 @@ "section": "def-common.ESQLAstMetricsCommand", "text": "ESQLAstMetricsCommand" }, + " | ", + "ESQLAstJoinCommand", "; option: ", { "pluginId": "@kbn/esql-ast", diff --git a/api_docs/kbn_esql_validation_autocomplete.mdx b/api_docs/kbn_esql_validation_autocomplete.mdx index 4f981e42aa068..3bf17b3c34754 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-06 +date: 2024-12-08 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 6c93900b63f50..671b21cbfa0a1 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-06 +date: 2024-12-08 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 f0a71cb04f293..9d985d20bb771 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-06 +date: 2024-12-08 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 bc85793555482..d8b0408faf6e4 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-06 +date: 2024-12-08 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 7f9bd3bfda87e..fbcd51692aa34 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-06 +date: 2024-12-08 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 2436b61711a16..bd3a39bf18d89 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-06 +date: 2024-12-08 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 25d9ce03ccd48..8159d6972487e 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-06 +date: 2024-12-08 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 94fc7190e9e97..0f2af18133972 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-06 +date: 2024-12-08 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 9d1553f52a1ee..e2de0a89cd1bf 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-06 +date: 2024-12-08 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 9a847762781aa..335cb06ffaa46 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-06 +date: 2024-12-08 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 0ddb9d75eaca9..33e71e69f8679 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-06 +date: 2024-12-08 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 9b5ba49703ae8..385360046777e 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-06 +date: 2024-12-08 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 de52646511b71..932d13da30cf7 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-06 +date: 2024-12-08 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 6386b08e4f418..a721c8d5ba523 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-06 +date: 2024-12-08 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 39c93b550d01f..03d2ddc9309e9 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-06 +date: 2024-12-08 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 d470cd9a5188f..5d726eceffc72 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-06 +date: 2024-12-08 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 daa0bfbd88804..c77d340f417c8 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-06 +date: 2024-12-08 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 9f1ae12090990..df0c705dd63f4 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-06 +date: 2024-12-08 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 da459f236bada..7f22d94080cb7 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-06 +date: 2024-12-08 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 81fbd2ab1922e..ca5689a02994b 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-06 +date: 2024-12-08 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 c487b13553df3..f2c28323ea386 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-06 +date: 2024-12-08 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 1aed1df9124f1..0df08e839ec3a 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-06 +date: 2024-12-08 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 27bf16e6b0194..eb2ba03eb133f 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-06 +date: 2024-12-08 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 1fd8c6d2acfcb..9b7a67b6ae154 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-06 +date: 2024-12-08 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 b5dcd30aeb118..39a50d92589b1 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_index_adapter.mdx b/api_docs/kbn_index_adapter.mdx index 1dd4c216335f4..7ae8c3d4b7421 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-06 +date: 2024-12-08 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 376d13f2d0dca..74a95171e8d88 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-06 +date: 2024-12-08 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 2ea0a26299753..26b931622b0d1 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-06 +date: 2024-12-08 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 2982ec2d8b672..c1ab2ab60cfd6 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-06 +date: 2024-12-08 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.mdx b/api_docs/kbn_inference_integration_flyout.mdx index 08b13a8907a1e..13e1c22c38f64 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-06 +date: 2024-12-08 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 de22cf3786ba7..fcad510e1f762 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-06 +date: 2024-12-08 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 2f278c45cd440..46e84a40bf7f8 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-06 +date: 2024-12-08 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 8a01100837bd7..eaa08d527ec11 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-06 +date: 2024-12-08 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 61d2e8701365a..ec6f39f46cacc 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-06 +date: 2024-12-08 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 160d94c71243a..79ac1e2620e93 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-06 +date: 2024-12-08 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 4e72db4900a01..0cf2a86a379ea 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-06 +date: 2024-12-08 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 55d3f4b52fb12..7817286a036ab 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-06 +date: 2024-12-08 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 8b3898b7ba370..db2876feef882 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-06 +date: 2024-12-08 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 ac2e812de6e47..853344235ce9e 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/json-ast'] --- import kbnJsonAstObj from './kbn_json_ast.devdocs.json'; diff --git a/api_docs/kbn_json_schemas.mdx b/api_docs/kbn_json_schemas.mdx index 5b891793a1aa4..be844e5dd0b76 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-06 +date: 2024-12-08 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 fdfed8e0efa0f..907297767bcd1 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-manifest-schema'] --- import kbnKibanaManifestSchemaObj from './kbn_kibana_manifest_schema.devdocs.json'; diff --git a/api_docs/kbn_language_documentation.mdx b/api_docs/kbn_language_documentation.mdx index 85a8189936c48..763b5f164d8fa 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-06 +date: 2024-12-08 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 0a673b0fec690..6020fd79fd2f5 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-06 +date: 2024-12-08 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 c3e5a2e1825be..1fbaa90bd326f 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-06 +date: 2024-12-08 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 7c1234ecfdebf..6883e1d1dca42 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-06 +date: 2024-12-08 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 4025437d81046..82e819e8c710a 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-06 +date: 2024-12-08 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 71a313fe97bf7..6c6502340cf90 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-06 +date: 2024-12-08 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 3a53be0e4d63c..e2c540a3cec8f 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-06 +date: 2024-12-08 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 96408fe3f3ed0..39ae693ced7ed 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-06 +date: 2024-12-08 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.devdocs.json b/api_docs/kbn_management_settings_application.devdocs.json index 12a0227cdc241..c88cf83be225b 100644 --- a/api_docs/kbn_management_settings_application.devdocs.json +++ b/api_docs/kbn_management_settings_application.devdocs.json @@ -11,7 +11,7 @@ "label": "KibanaSettingsApplication", "description": [], "signature": [ - "({ docLinks, i18n, notifications, settings, theme, history, sectionRegistry, application, chrome, }: ", + "({ docLinks, i18n, notifications, settings, userProfile, theme, history, sectionRegistry, application, chrome, }: ", { "pluginId": "@kbn/management-settings-application", "scope": "public", @@ -30,7 +30,7 @@ "id": "def-public.KibanaSettingsApplication.$1", "type": "CompoundType", "tags": [], - "label": "{\n docLinks,\n i18n,\n notifications,\n settings,\n theme,\n history,\n sectionRegistry,\n application,\n chrome,\n}", + "label": "{\n docLinks,\n i18n,\n notifications,\n settings,\n userProfile,\n theme,\n history,\n sectionRegistry,\n application,\n chrome,\n}", "description": [], "signature": [ { diff --git a/api_docs/kbn_management_settings_application.mdx b/api_docs/kbn_management_settings_application.mdx index 6bf57b442d016..fefefe4c8e1cf 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-06 +date: 2024-12-08 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 9e176adad9d62..a7d2050d15a4d 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-06 +date: 2024-12-08 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 10930b46862bf..638a6cc9e2523 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-06 +date: 2024-12-08 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 ff29464ee3309..903e3b65fd8fc 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-06 +date: 2024-12-08 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 2066747a64401..4055adebdd8a3 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-06 +date: 2024-12-08 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 68699f3eb09c2..b01b1b5458cd9 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-06 +date: 2024-12-08 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.devdocs.json b/api_docs/kbn_management_settings_ids.devdocs.json index 5e248ad3ff958..a9745d04f0356 100644 --- a/api_docs/kbn_management_settings_ids.devdocs.json +++ b/api_docs/kbn_management_settings_ids.devdocs.json @@ -487,21 +487,6 @@ "trackAdoption": false, "initialIsOpen": false }, - { - "parentPluginId": "@kbn/management-settings-ids", - "id": "def-common.DISCOVER_SEARCH_FIELDS_FROM_SOURCE_ID", - "type": "string", - "tags": [], - "label": "DISCOVER_SEARCH_FIELDS_FROM_SOURCE_ID", - "description": [], - "signature": [ - "\"discover:searchFieldsFromSource\"" - ], - "path": "packages/kbn-management/settings/setting_ids/index.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, { "parentPluginId": "@kbn/management-settings-ids", "id": "def-common.DISCOVER_SEARCH_ON_PAGE_LOAD_ID", diff --git a/api_docs/kbn_management_settings_ids.mdx b/api_docs/kbn_management_settings_ids.mdx index 5d9599d078865..921360662339f 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-ids'] --- import kbnManagementSettingsIdsObj from './kbn_management_settings_ids.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 138 | 0 | 137 | 0 | +| 137 | 0 | 136 | 0 | ## Common diff --git a/api_docs/kbn_management_settings_section_registry.mdx b/api_docs/kbn_management_settings_section_registry.mdx index e4d435a6ec5c7..60ff882f3a953 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-06 +date: 2024-12-08 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 79b4adb449686..909350353b2c9 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-06 +date: 2024-12-08 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 e1b2b634c1ce6..530e405f64c37 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-06 +date: 2024-12-08 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 4e3dafd617265..d95db1f3995d4 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-06 +date: 2024-12-08 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 61cd62345a5a6..0bd7950c25e11 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-06 +date: 2024-12-08 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 34def0111cdcc..0c3726dea5743 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-06 +date: 2024-12-08 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 a5c5976a81fc3..f140aa071e3a6 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-06 +date: 2024-12-08 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.mdx b/api_docs/kbn_ml_agg_utils.mdx index 51531482b83f7..db6fb1841b56b 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] --- import kbnMlAggUtilsObj from './kbn_ml_agg_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_anomaly_utils.mdx b/api_docs/kbn_ml_anomaly_utils.mdx index e80cb90f5d946..1e1c9a6434285 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-anomaly-utils'] --- import kbnMlAnomalyUtilsObj from './kbn_ml_anomaly_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_cancellable_search.mdx b/api_docs/kbn_ml_cancellable_search.mdx index 47f405f966337..6ab3d1cbc0505 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-cancellable-search'] --- import kbnMlCancellableSearchObj from './kbn_ml_cancellable_search.devdocs.json'; diff --git a/api_docs/kbn_ml_category_validator.mdx b/api_docs/kbn_ml_category_validator.mdx index 2cc423a0815b6..9254930ffca25 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-category-validator'] --- import kbnMlCategoryValidatorObj from './kbn_ml_category_validator.devdocs.json'; diff --git a/api_docs/kbn_ml_chi2test.mdx b/api_docs/kbn_ml_chi2test.mdx index 8bf4242f61f4c..133915f875ab9 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-chi2test'] --- import kbnMlChi2testObj from './kbn_ml_chi2test.devdocs.json'; diff --git a/api_docs/kbn_ml_data_frame_analytics_utils.mdx b/api_docs/kbn_ml_data_frame_analytics_utils.mdx index 15d62f80b8b26..6439f3f35f132 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-data-frame-analytics-utils'] --- import kbnMlDataFrameAnalyticsUtilsObj from './kbn_ml_data_frame_analytics_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_data_grid.mdx b/api_docs/kbn_ml_data_grid.mdx index 1423a8220abc9..0d290df831643 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-data-grid'] --- import kbnMlDataGridObj from './kbn_ml_data_grid.devdocs.json'; diff --git a/api_docs/kbn_ml_date_picker.mdx b/api_docs/kbn_ml_date_picker.mdx index eb0e84fe47e06..3ff14ea53e6fe 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-date-picker'] --- import kbnMlDatePickerObj from './kbn_ml_date_picker.devdocs.json'; diff --git a/api_docs/kbn_ml_date_utils.mdx b/api_docs/kbn_ml_date_utils.mdx index 33ac1175dbf7f..4ea4ffb4b3aab 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-date-utils'] --- import kbnMlDateUtilsObj from './kbn_ml_date_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_error_utils.mdx b/api_docs/kbn_ml_error_utils.mdx index d35777148b2c0..9556c8e0d7988 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-error-utils'] --- import kbnMlErrorUtilsObj from './kbn_ml_error_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_field_stats_flyout.mdx b/api_docs/kbn_ml_field_stats_flyout.mdx index 9ab971b922b00..349d59992fe87 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-field-stats-flyout'] --- import kbnMlFieldStatsFlyoutObj from './kbn_ml_field_stats_flyout.devdocs.json'; diff --git a/api_docs/kbn_ml_in_memory_table.mdx b/api_docs/kbn_ml_in_memory_table.mdx index cfd9a4e3ead2d..668afa622c871 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-in-memory-table'] --- import kbnMlInMemoryTableObj from './kbn_ml_in_memory_table.devdocs.json'; diff --git a/api_docs/kbn_ml_is_defined.mdx b/api_docs/kbn_ml_is_defined.mdx index ef753e0ebf716..56bcdce48e470 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-defined'] --- import kbnMlIsDefinedObj from './kbn_ml_is_defined.devdocs.json'; diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index 1a18815fe78a7..21170c907f5c5 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] --- import kbnMlIsPopulatedObjectObj from './kbn_ml_is_populated_object.devdocs.json'; diff --git a/api_docs/kbn_ml_kibana_theme.mdx b/api_docs/kbn_ml_kibana_theme.mdx index 30b705060dbb1..3de236ae8c4ef 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-kibana-theme'] --- import kbnMlKibanaThemeObj from './kbn_ml_kibana_theme.devdocs.json'; diff --git a/api_docs/kbn_ml_local_storage.mdx b/api_docs/kbn_ml_local_storage.mdx index 9e3c1254d1865..ed4c83658c968 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-local-storage'] --- import kbnMlLocalStorageObj from './kbn_ml_local_storage.devdocs.json'; diff --git a/api_docs/kbn_ml_nested_property.mdx b/api_docs/kbn_ml_nested_property.mdx index 865856b1a06ba..c8dc46cedde2e 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-nested-property'] --- import kbnMlNestedPropertyObj from './kbn_ml_nested_property.devdocs.json'; diff --git a/api_docs/kbn_ml_number_utils.mdx b/api_docs/kbn_ml_number_utils.mdx index b45d2760ede95..d94778912183a 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-number-utils'] --- import kbnMlNumberUtilsObj from './kbn_ml_number_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_parse_interval.mdx b/api_docs/kbn_ml_parse_interval.mdx index 8440a021d2ab6..2ba180a8bbf90 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-parse-interval'] --- import kbnMlParseIntervalObj from './kbn_ml_parse_interval.devdocs.json'; diff --git a/api_docs/kbn_ml_query_utils.mdx b/api_docs/kbn_ml_query_utils.mdx index e68e36ead45dc..ef520802f826f 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-query-utils'] --- import kbnMlQueryUtilsObj from './kbn_ml_query_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_random_sampler_utils.mdx b/api_docs/kbn_ml_random_sampler_utils.mdx index 054c89a5cf798..e618befbbf1ec 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-random-sampler-utils'] --- import kbnMlRandomSamplerUtilsObj from './kbn_ml_random_sampler_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_route_utils.mdx b/api_docs/kbn_ml_route_utils.mdx index fb3077b8b4643..7b1c80ad74db7 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-route-utils'] --- import kbnMlRouteUtilsObj from './kbn_ml_route_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_runtime_field_utils.mdx b/api_docs/kbn_ml_runtime_field_utils.mdx index b4554a01f3d5a..640565c3d610b 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-runtime-field-utils'] --- import kbnMlRuntimeFieldUtilsObj from './kbn_ml_runtime_field_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index 21ac48ba3ef18..c0a6996f1a0c1 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] --- import kbnMlStringHashObj from './kbn_ml_string_hash.devdocs.json'; diff --git a/api_docs/kbn_ml_time_buckets.mdx b/api_docs/kbn_ml_time_buckets.mdx index 4dc4593b0cf7e..e4074560b5da0 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-time-buckets'] --- import kbnMlTimeBucketsObj from './kbn_ml_time_buckets.devdocs.json'; diff --git a/api_docs/kbn_ml_trained_models_utils.mdx b/api_docs/kbn_ml_trained_models_utils.mdx index 894e133b66232..e2ff281706aaf 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-trained-models-utils'] --- import kbnMlTrainedModelsUtilsObj from './kbn_ml_trained_models_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_ui_actions.mdx b/api_docs/kbn_ml_ui_actions.mdx index baccfe70487c8..1c03049df0fdb 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-ui-actions'] --- import kbnMlUiActionsObj from './kbn_ml_ui_actions.devdocs.json'; diff --git a/api_docs/kbn_ml_url_state.mdx b/api_docs/kbn_ml_url_state.mdx index d7b28a1ea278c..c53c8cb1664fe 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-url-state'] --- import kbnMlUrlStateObj from './kbn_ml_url_state.devdocs.json'; diff --git a/api_docs/kbn_ml_validators.mdx b/api_docs/kbn_ml_validators.mdx index c946f0aee1149..1b3c9e4a492d7 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-06 +date: 2024-12-08 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 b9c776d8e6d18..b98b41e38c79e 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mock-idp-utils'] --- import kbnMockIdpUtilsObj from './kbn_mock_idp_utils.devdocs.json'; diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index 017672be1aa13..73ad695231248 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-06 +date: 2024-12-08 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 33862fa6b2260..6cfdc4f77c47c 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-06 +date: 2024-12-08 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 c8279932da0d5..a2640170665d6 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-06 +date: 2024-12-08 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 7f6dd3c9163f1..8d1c8135c7387 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-06 +date: 2024-12-08 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 0a38c0934dcfd..b8ad353e1d446 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-06 +date: 2024-12-08 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 d037d467cdad3..c2bc82c710fc0 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-06 +date: 2024-12-08 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 9cfefefcd8c1c..decdca8201c68 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-06 +date: 2024-12-08 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 fa264d6f7bbe9..8fb17eed98b28 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-06 +date: 2024-12-08 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 402213b3a0ab7..0894f83212771 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-06 +date: 2024-12-08 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 69e73fb5da2b9..47776abaaf11e 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-06 +date: 2024-12-08 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 723efa53e02c2..597b377014ddf 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/openapi-generator'] --- import kbnOpenapiGeneratorObj from './kbn_openapi_generator.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index 3a8369053fcd3..bfa45c75094b8 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] --- import kbnOptimizerObj from './kbn_optimizer.devdocs.json'; diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index eb955ba0c7b49..a68d3bc4556d9 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-06 +date: 2024-12-08 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 cf3b5abd89ddb..1731e4939d8ed 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-06 +date: 2024-12-08 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 ce2ac00d178e1..0a00c2a0d7f8c 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-06 +date: 2024-12-08 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 57c80d4f31ff0..cae4528ff02bc 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-06 +date: 2024-12-08 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 50023026d4caf..63a61adda1be8 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-06 +date: 2024-12-08 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 83c9627ae06c2..0155c9cf789ff 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-06 +date: 2024-12-08 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 528647f2c74ee..8207fd6fa3471 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-06 +date: 2024-12-08 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 2b20a77fbf34e..731daffabdb33 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/presentation-containers'] --- import kbnPresentationContainersObj from './kbn_presentation_containers.devdocs.json'; diff --git a/api_docs/kbn_presentation_publishing.mdx b/api_docs/kbn_presentation_publishing.mdx index 65e2bbc2c1a2e..0c4395d41bac2 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-06 +date: 2024-12-08 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 661c5cd553c04..0adcc08296025 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-06 +date: 2024-12-08 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 5996b8c170c98..3a09cf3a07604 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-06 +date: 2024-12-08 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 c95c4c0b5ca65..499ed85ff8989 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-06 +date: 2024-12-08 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 9e79aa2e877d5..d2ef079e5ed31 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-06 +date: 2024-12-08 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 0ffcaa5da86fc..4e72583f09413 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-06 +date: 2024-12-08 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 7d995c3c43621..77cfde23d7c82 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-06 +date: 2024-12-08 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 a25f724a37c27..c0459bddf8b5e 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-06 +date: 2024-12-08 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 5ece35b4f228d..fe5ae226bd20d 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-06 +date: 2024-12-08 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 a592e4244e47e..0faaa93d45832 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-06 +date: 2024-12-08 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 9b72db91e9e3d..62dffb3241381 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-06 +date: 2024-12-08 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 535878fc2085b..52028663e3c53 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-06 +date: 2024-12-08 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 4488663a74e73..8d873a6f0114a 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-mount'] --- import kbnReactKibanaMountObj from './kbn_react_kibana_mount.devdocs.json'; diff --git a/api_docs/kbn_recently_accessed.mdx b/api_docs/kbn_recently_accessed.mdx index cecd666ce59d2..7650a73fadb44 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-06 +date: 2024-12-08 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 679fec5e26388..6479106494587 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-06 +date: 2024-12-08 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 8cd83d345b345..f5dba539c9277 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-06 +date: 2024-12-08 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 52b655fee878e..5b685744fb24c 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-06 +date: 2024-12-08 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 5f81f144b7570..62adc07dd34c1 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-06 +date: 2024-12-08 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 3e97f5612464b..3b619e74db9fd 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-06 +date: 2024-12-08 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 f1d05c260380c..d6e6218ec0a96 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-06 +date: 2024-12-08 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 2f99ca09ce63c..1afa85a6e464a 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-06 +date: 2024-12-08 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 432f79269fd0b..5c07301747222 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-06 +date: 2024-12-08 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 73c8b6acb4b51..3b88f50cdabd5 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-06 +date: 2024-12-08 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 bf77fab755460..24306e0d4137a 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-06 +date: 2024-12-08 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 3726502e5b6ce..3b12623500ef3 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-06 +date: 2024-12-08 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 c55be86aa3c15..f948b46ee59dc 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-06 +date: 2024-12-08 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 3e49180c4e4ff..9e81dc73fb003 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-06 +date: 2024-12-08 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 2e27fed77542c..4397969cd250d 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-06 +date: 2024-12-08 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 5c5346b618296..d6db703f11ef4 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-06 +date: 2024-12-08 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 09f244533b8c0..d40e362f2bf25 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-06 +date: 2024-12-08 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 290d6e7599c18..bf6426d023133 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-06 +date: 2024-12-08 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 0f3fb18657837..1e15947867eae 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-06 +date: 2024-12-08 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 c391dffaa7e39..260185a1a4670 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-06 +date: 2024-12-08 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 0612c5ee453a1..8c8d6887fb7c0 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-06 +date: 2024-12-08 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 4e809f3cfb37b..05a93d079043b 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-06 +date: 2024-12-08 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 68b4ef870baaa..97c78729dda35 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-06 +date: 2024-12-08 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 880728e94388e..ad87e883999fb 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-06 +date: 2024-12-08 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 d50a91d2e20c9..7e3046a04893d 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-06 +date: 2024-12-08 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 8b02482f6845c..d41aa154bd0d1 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-06 +date: 2024-12-08 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 c57d9b37a78a7..29d1661a9869d 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-06 +date: 2024-12-08 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 41864970a19d2..82baa72c17cfd 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/saved-search-component'] --- import kbnSavedSearchComponentObj from './kbn_saved_search_component.devdocs.json'; diff --git a/api_docs/kbn_scout.mdx b/api_docs/kbn_scout.mdx index a90a01e466597..ef0afbf3e7153 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scout'] --- import kbnScoutObj from './kbn_scout.devdocs.json'; diff --git a/api_docs/kbn_screenshotting_server.mdx b/api_docs/kbn_screenshotting_server.mdx index 2157309622a32..a9c94365eddf3 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-06 +date: 2024-12-08 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 853ae31aaed90..66cb7dbe9abf7 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-06 +date: 2024-12-08 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 0cfc221b88982..a90ceec93df04 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-06 +date: 2024-12-08 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 ea555e3faf6e0..1c9b421cad59f 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-06 +date: 2024-12-08 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 70aef3fb9a684..0c4a44da5d667 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-06 +date: 2024-12-08 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 53046f040310c..3f3b506b96f67 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-06 +date: 2024-12-08 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 6b30127f9de07..6cf7e74f0ac9f 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-06 +date: 2024-12-08 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 1a7b198a5209b..4d366205fd18b 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-06 +date: 2024-12-08 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 ca0058e6a7e65..f8a8d9b511797 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-06 +date: 2024-12-08 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 6ec2daa549a97..65a85a103bbbc 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-06 +date: 2024-12-08 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 b62fd90cb74cb..b7addc04ae90b 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-06 +date: 2024-12-08 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 15450d29e4b0b..7afb119975218 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-06 +date: 2024-12-08 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 1c4b3d0efb2cb..3e82afcc6548a 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-06 +date: 2024-12-08 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 1cec292edfc60..89c542075f19e 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-06 +date: 2024-12-08 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 55bb80ce1f209..d81eb10e69423 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-06 +date: 2024-12-08 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 13a7091dc6477..f526311795c7b 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-06 +date: 2024-12-08 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 d2f68985da7a7..3c25cd3a16df2 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-06 +date: 2024-12-08 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 3594642ab41a3..b066cbead7eaf 100644 --- a/api_docs/kbn_security_plugin_types_server.devdocs.json +++ b/api_docs/kbn_security_plugin_types_server.devdocs.json @@ -4875,23 +4875,23 @@ }, { "plugin": "entityManager", - "path": "x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts" }, { "plugin": "entityManager", - "path": "x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts" }, { "plugin": "entityManager", - "path": "x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts" }, { "plugin": "entityManager", - "path": "x-pack/plugins/entity_manager/server/routes/enablement/enable.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts" }, { "plugin": "entityManager", - "path": "x-pack/plugins/entity_manager/server/routes/enablement/disable.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts" }, { "plugin": "apm", diff --git a/api_docs/kbn_security_plugin_types_server.mdx b/api_docs/kbn_security_plugin_types_server.mdx index 141a59ca43657..deab25afe7652 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-06 +date: 2024-12-08 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 32e52970ce1ed..70cc895ec666a 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-06 +date: 2024-12-08 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 e72a52cd12d9c..11d88409e098a 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-06 +date: 2024-12-08 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 db1c7cba7b35d..c2c2114ad0193 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-06 +date: 2024-12-08 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 f29bc0be8658f..359b80c11454b 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-06 +date: 2024-12-08 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 455f8f49cc103..99a55df0639a1 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-06 +date: 2024-12-08 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 00a1d93dba05c..aff9c39b67c4f 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-06 +date: 2024-12-08 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 7e3d38a759401..930b7a74f50bf 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-06 +date: 2024-12-08 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 a1babe133bddc..86c35ac5ea83f 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-06 +date: 2024-12-08 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 9616e84c796c4..6fb4d430f9f7b 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-06 +date: 2024-12-08 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 e1139afe1d5c8..95d3f04331a95 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-06 +date: 2024-12-08 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 761783c8ac887..b0ac3ab72c50c 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-06 +date: 2024-12-08 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 be495c2b2f9ee..a18079cacec1f 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-06 +date: 2024-12-08 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 60e4bb630d6cd..67d09777d4df5 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-06 +date: 2024-12-08 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 70df756507e3b..8255c7ae7e235 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-06 +date: 2024-12-08 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 6303587680963..394665ffe4dd1 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-06 +date: 2024-12-08 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 e3462430c7eab..c3193f06b7d92 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-06 +date: 2024-12-08 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 cf959794b4bb4..09b7de0f592b8 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-06 +date: 2024-12-08 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 3a13819e3a173..d9a92b672b2d7 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-06 +date: 2024-12-08 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 14677e50673da..a2c9a505f1b9a 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-06 +date: 2024-12-08 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 795e9d47e4efa..a0f5721f99660 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-06 +date: 2024-12-08 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 8816b89a73e78..aa03f2b7cb73f 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-06 +date: 2024-12-08 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 5888a2f75a3df..53c236ba812ae 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-06 +date: 2024-12-08 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 c7be7b88e4fb6..b85416de518f6 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-06 +date: 2024-12-08 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 cfd489ebead9d..438e43ad81cf8 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-06 +date: 2024-12-08 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 a13c6663a52b6..185bf71e61b75 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-06 +date: 2024-12-08 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 87681c860122c..c6e0bca53dba8 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-06 +date: 2024-12-08 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 9d59d8ad72997..d28ed5d04280b 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-06 +date: 2024-12-08 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 bbec68eaa0f8d..8739a6dc0addd 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-06 +date: 2024-12-08 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 f10392c989063..9655a6afedb3b 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-06 +date: 2024-12-08 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 2f96d276d389e..a43f4e27ce56b 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-06 +date: 2024-12-08 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 8ee62126d76ab..5d3033d56d563 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-06 +date: 2024-12-08 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 7513689806085..7d4afcec96af3 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-06 +date: 2024-12-08 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 503d8f279b5de..670031fdb2609 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-06 +date: 2024-12-08 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 244301d6805de..843ea3fd02e77 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-06 +date: 2024-12-08 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 896a0247008d1..f28463e32218d 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-06 +date: 2024-12-08 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 6795588d15cbc..23ddb3688ae47 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-06 +date: 2024-12-08 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 82aa50186c35d..e9c51c3d0d65b 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-06 +date: 2024-12-08 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 7bbc0c00d9c9f..840eb469a3853 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-06 +date: 2024-12-08 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 434a2fc5af5cf..e2d2e9d4c4c48 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-06 +date: 2024-12-08 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 d524e23835a0a..595ca70e888a0 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-06 +date: 2024-12-08 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 5a264b32f6f00..d2fd20d6d72d7 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-06 +date: 2024-12-08 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 e46308d5b985f..70e428afa23a1 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-06 +date: 2024-12-08 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 e4282c75db3bb..5b0462fd2c6eb 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-06 +date: 2024-12-08 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 c6d0d726147b2..075fb613cd1f2 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-06 +date: 2024-12-08 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 7157b33825a89..35d09676f85b7 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-06 +date: 2024-12-08 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 8b681edf6a467..e0a42081fb0ae 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-06 +date: 2024-12-08 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 30beb96b27f11..36136ee6bc21f 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-06 +date: 2024-12-08 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 6acb294e4ac53..d83b29307f7b2 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-06 +date: 2024-12-08 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 57982ce5b7ab1..25f9aa482b8ba 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-06 +date: 2024-12-08 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 fd08ea1d7acf7..5680ed994f064 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-06 +date: 2024-12-08 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 e52c69f393fb7..3d10f635bf425 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-06 +date: 2024-12-08 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 66a06759daa64..1673b1c4af8ea 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-06 +date: 2024-12-08 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 d63b533473610..e5aed6399e471 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-06 +date: 2024-12-08 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 270e9ef3fd1a4..8d02fe0be10b1 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-06 +date: 2024-12-08 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 cc8bb4d395b8a..6fd00462e3bf2 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-06 +date: 2024-12-08 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 af9d5878245d6..2f7e0817771b9 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-06 +date: 2024-12-08 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 fbc82b1195531..069dfcb9fbaec 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-06 +date: 2024-12-08 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 764bef19531ae..d528ffafd4da5 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-06 +date: 2024-12-08 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 40864d34f632f..55ac71143836e 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-06 +date: 2024-12-08 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 a163bdefa87aa..42ac104b0c211 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-06 +date: 2024-12-08 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 f4bae211b54de..cb691cf4d7b9a 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-06 +date: 2024-12-08 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 76e10d48ab656..a790e78d121a5 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-06 +date: 2024-12-08 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 191786097af8e..bd281432706ea 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-06 +date: 2024-12-08 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 c39517ab4c21b..73ebee8e29eb3 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-06 +date: 2024-12-08 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 8ae7a30d93fb6..865add3b07ef6 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-06 +date: 2024-12-08 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 774a73cd21405..e4d710217ccbe 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-06 +date: 2024-12-08 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 3a07e4446f388..83dc4791ae154 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-06 +date: 2024-12-08 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 a7f0a006d4359..8aa01e3acf25e 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-06 +date: 2024-12-08 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 d61b05c1b2c77..4ff2029daa23c 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-06 +date: 2024-12-08 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 a7bc1371cb900..7db5fa82847c8 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-06 +date: 2024-12-08 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 8fef17c858306..de5a46d70a443 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-06 +date: 2024-12-08 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 1653a99cdce71..b4f31672ebbd1 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-06 +date: 2024-12-08 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 1977c552c18ac..a9e2d67a05887 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-06 +date: 2024-12-08 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 af862bf19ec0d..5bf22d3826d56 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-06 +date: 2024-12-08 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 d57105039543b..28963fdd249cd 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-06 +date: 2024-12-08 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 8ea257edf7cdd..94e741e17d659 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-06 +date: 2024-12-08 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 939cc9fa829d1..9006f72a90c57 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-06 +date: 2024-12-08 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 a2354c1502ae6..28faae1ba3889 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-06 +date: 2024-12-08 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 5b712987bf8e2..9440d87e8a46b 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-06 +date: 2024-12-08 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 8a826f05b98bc..ecc41aece679e 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-06 +date: 2024-12-08 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 5638fa8a975e3..78e9155eec9b5 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-06 +date: 2024-12-08 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 af8e1829fa288..d485778c4a39d 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-06 +date: 2024-12-08 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 966009240ba38..4fdf351787b34 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-06 +date: 2024-12-08 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 aa626941b3bd6..10b34c0c1bdc2 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-06 +date: 2024-12-08 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 0fd0fa14e20b3..641af0cc50205 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-06 +date: 2024-12-08 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 11d3d99593dcd..17045e59ccd21 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-06 +date: 2024-12-08 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 c0eaed2931e65..a17beea8efb04 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] --- import kbnTelemetryToolsObj from './kbn_telemetry_tools.devdocs.json'; diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index 1efad9614ef39..96e905f052287 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; diff --git a/api_docs/kbn_test_eui_helpers.mdx b/api_docs/kbn_test_eui_helpers.mdx index a00308f3ff0b2..64681737e5467 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-06 +date: 2024-12-08 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 ea6c59932d79e..72162df584c31 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-06 +date: 2024-12-08 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 01fb22998c870..c3cd84fec7652 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-06 +date: 2024-12-08 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 0afc5aa229231..1faa4f0a42b44 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-06 +date: 2024-12-08 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 9cf0bf23b2a4b..b7d2cca603f20 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-06 +date: 2024-12-08 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 80b495301259c..fb308448162ff 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-06 +date: 2024-12-08 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 47589a04765ec..68466de99e352 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-06 +date: 2024-12-08 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 2dbb021396338..63490e157f56c 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-06 +date: 2024-12-08 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 6498c5feee1fd..16409c3e23822 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-06 +date: 2024-12-08 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 939fb741cdd11..4bc505cdd98ef 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-06 +date: 2024-12-08 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 47ffe97f738ea..ccb1a264175b1 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-06 +date: 2024-12-08 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 96f2096596e9e..fa1f25e1e319c 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-06 +date: 2024-12-08 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 0f615cc088a56..3272ba2b16226 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-06 +date: 2024-12-08 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.devdocs.json b/api_docs/kbn_unified_data_table.devdocs.json index 0a59133908c68..e3125eeb4e0b6 100644 --- a/api_docs/kbn_unified_data_table.devdocs.json +++ b/api_docs/kbn_unified_data_table.devdocs.json @@ -823,7 +823,7 @@ "label": "UnifiedDataTable", "description": [], "signature": [ - "({ ariaLabelledBy, columns, columnsMeta, showColumnTokens, canDragAndDropColumns, configHeaderRowHeight, headerRowHeightState, onUpdateHeaderRowHeight, controlColumnIds, rowAdditionalLeadingControls, dataView, loadingState, onFilter, onResize, onSetColumns, onSort, rows, searchDescription, searchTitle, settings, showTimeCol, showFullScreenButton, sort, useNewFieldsApi, isSortEnabled, isPaginationEnabled, cellActionsTriggerId, cellActionsMetadata, cellActionsHandling, visibleCellActions, className, rowHeightState, onUpdateRowHeight, maxAllowedSampleSize, sampleSizeState, onUpdateSampleSize, isPlainRecord, rowsPerPageState, onUpdateRowsPerPage, onFieldEdited, services, renderCustomGridBody, renderCustomToolbar, externalControlColumns, trailingControlColumns, totalHits, onFetchMoreRecords, renderDocumentView, setExpandedDoc, expandedDoc, configRowHeight, showMultiFields, maxDocFieldsDisplayed, externalAdditionalControls, rowsPerPageOptions, externalCustomRenderers, additionalFieldGroups, consumer, componentsTourSteps, gridStyleOverride, rowLineHeightOverride, customGridColumnsConfiguration, enableComparisonMode, cellContext, renderCellPopover, getRowIndicator, dataGridDensityState, onUpdateDataGridDensity, onUpdatePageIndex, }: ", + "({ ariaLabelledBy, columns, columnsMeta, showColumnTokens, canDragAndDropColumns, configHeaderRowHeight, headerRowHeightState, onUpdateHeaderRowHeight, controlColumnIds, rowAdditionalLeadingControls, dataView, loadingState, onFilter, onResize, onSetColumns, onSort, rows, searchDescription, searchTitle, settings, showTimeCol, showFullScreenButton, sort, isSortEnabled, isPaginationEnabled, cellActionsTriggerId, cellActionsMetadata, cellActionsHandling, visibleCellActions, className, rowHeightState, onUpdateRowHeight, maxAllowedSampleSize, sampleSizeState, onUpdateSampleSize, isPlainRecord, rowsPerPageState, onUpdateRowsPerPage, onFieldEdited, services, renderCustomGridBody, renderCustomToolbar, externalControlColumns, trailingControlColumns, totalHits, onFetchMoreRecords, renderDocumentView, setExpandedDoc, expandedDoc, configRowHeight, showMultiFields, maxDocFieldsDisplayed, externalAdditionalControls, rowsPerPageOptions, externalCustomRenderers, additionalFieldGroups, consumer, componentsTourSteps, gridStyleOverride, rowLineHeightOverride, customGridColumnsConfiguration, enableComparisonMode, cellContext, renderCellPopover, getRowIndicator, dataGridDensityState, onUpdateDataGridDensity, onUpdatePageIndex, }: ", { "pluginId": "@kbn/unified-data-table", "scope": "public", @@ -842,7 +842,7 @@ "id": "def-public.UnifiedDataTable.$1", "type": "Object", "tags": [], - "label": "{\n ariaLabelledBy,\n columns,\n columnsMeta,\n showColumnTokens,\n canDragAndDropColumns,\n configHeaderRowHeight,\n headerRowHeightState,\n onUpdateHeaderRowHeight,\n controlColumnIds = CONTROL_COLUMN_IDS_DEFAULT,\n rowAdditionalLeadingControls,\n dataView,\n loadingState,\n onFilter,\n onResize,\n onSetColumns,\n onSort,\n rows,\n searchDescription,\n searchTitle,\n settings,\n showTimeCol,\n showFullScreenButton = true,\n sort,\n useNewFieldsApi,\n isSortEnabled = true,\n isPaginationEnabled = true,\n cellActionsTriggerId,\n cellActionsMetadata,\n cellActionsHandling = 'replace',\n visibleCellActions,\n className,\n rowHeightState,\n onUpdateRowHeight,\n maxAllowedSampleSize,\n sampleSizeState,\n onUpdateSampleSize,\n isPlainRecord = false,\n rowsPerPageState,\n onUpdateRowsPerPage,\n onFieldEdited,\n services,\n renderCustomGridBody,\n renderCustomToolbar,\n externalControlColumns, // TODO: deprecate in favor of rowAdditionalLeadingControls\n trailingControlColumns, // TODO: deprecate in favor of rowAdditionalLeadingControls\n totalHits,\n onFetchMoreRecords,\n renderDocumentView,\n setExpandedDoc,\n expandedDoc,\n configRowHeight,\n showMultiFields = true,\n maxDocFieldsDisplayed = 50,\n externalAdditionalControls,\n rowsPerPageOptions,\n externalCustomRenderers,\n additionalFieldGroups,\n consumer = 'discover',\n componentsTourSteps,\n gridStyleOverride,\n rowLineHeightOverride,\n customGridColumnsConfiguration,\n enableComparisonMode,\n cellContext,\n renderCellPopover,\n getRowIndicator,\n dataGridDensityState,\n onUpdateDataGridDensity,\n onUpdatePageIndex,\n}", + "label": "{\n ariaLabelledBy,\n columns,\n columnsMeta,\n showColumnTokens,\n canDragAndDropColumns,\n configHeaderRowHeight,\n headerRowHeightState,\n onUpdateHeaderRowHeight,\n controlColumnIds = CONTROL_COLUMN_IDS_DEFAULT,\n rowAdditionalLeadingControls,\n dataView,\n loadingState,\n onFilter,\n onResize,\n onSetColumns,\n onSort,\n rows,\n searchDescription,\n searchTitle,\n settings,\n showTimeCol,\n showFullScreenButton = true,\n sort,\n isSortEnabled = true,\n isPaginationEnabled = true,\n cellActionsTriggerId,\n cellActionsMetadata,\n cellActionsHandling = 'replace',\n visibleCellActions,\n className,\n rowHeightState,\n onUpdateRowHeight,\n maxAllowedSampleSize,\n sampleSizeState,\n onUpdateSampleSize,\n isPlainRecord = false,\n rowsPerPageState,\n onUpdateRowsPerPage,\n onFieldEdited,\n services,\n renderCustomGridBody,\n renderCustomToolbar,\n externalControlColumns, // TODO: deprecate in favor of rowAdditionalLeadingControls\n trailingControlColumns, // TODO: deprecate in favor of rowAdditionalLeadingControls\n totalHits,\n onFetchMoreRecords,\n renderDocumentView,\n setExpandedDoc,\n expandedDoc,\n configRowHeight,\n showMultiFields = true,\n maxDocFieldsDisplayed = 50,\n externalAdditionalControls,\n rowsPerPageOptions,\n externalCustomRenderers,\n additionalFieldGroups,\n consumer = 'discover',\n componentsTourSteps,\n gridStyleOverride,\n rowLineHeightOverride,\n customGridColumnsConfiguration,\n enableComparisonMode,\n cellContext,\n renderCellPopover,\n getRowIndicator,\n dataGridDensityState,\n onUpdateDataGridDensity,\n onUpdatePageIndex,\n}", "description": [], "signature": [ { @@ -870,7 +870,7 @@ "label": "useColumns", "description": [], "signature": [ - "({ capabilities, dataView, dataViews, setAppState, useNewFieldsApi, columns, sort, defaultOrder, settings, }: ", + "({ capabilities, dataView, dataViews, setAppState, columns, sort, defaultOrder, settings, }: ", { "pluginId": "@kbn/unified-data-table", "scope": "public", @@ -889,7 +889,7 @@ "id": "def-public.useColumns.$1", "type": "Object", "tags": [], - "label": "{\n capabilities,\n dataView,\n dataViews,\n setAppState,\n useNewFieldsApi,\n columns,\n sort,\n defaultOrder = 'desc',\n settings,\n}", + "label": "{\n capabilities,\n dataView,\n dataViews,\n setAppState,\n columns,\n sort,\n defaultOrder = 'desc',\n settings,\n}", "description": [], "signature": [ { @@ -1714,19 +1714,6 @@ "deprecated": false, "trackAdoption": false }, - { - "parentPluginId": "@kbn/unified-data-table", - "id": "def-public.UnifiedDataTableProps.useNewFieldsApi", - "type": "boolean", - "tags": [], - "label": "useNewFieldsApi", - "description": [ - "\nHow the data is fetched" - ], - "path": "packages/kbn-unified-data-table/src/components/data_table.tsx", - "deprecated": false, - "trackAdoption": false - }, { "parentPluginId": "@kbn/unified-data-table", "id": "def-public.UnifiedDataTableProps.isPaginationEnabled", @@ -2978,17 +2965,6 @@ "deprecated": false, "trackAdoption": false }, - { - "parentPluginId": "@kbn/unified-data-table", - "id": "def-public.UseColumnsProps.useNewFieldsApi", - "type": "boolean", - "tags": [], - "label": "useNewFieldsApi", - "description": [], - "path": "packages/kbn-unified-data-table/src/hooks/use_data_grid_columns.ts", - "deprecated": false, - "trackAdoption": false - }, { "parentPluginId": "@kbn/unified-data-table", "id": "def-public.UseColumnsProps.setAppState", diff --git a/api_docs/kbn_unified_data_table.mdx b/api_docs/kbn_unified_data_table.mdx index c498fb0e171f3..c3131a5f9f5ee 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-data-table'] --- import kbnUnifiedDataTableObj from './kbn_unified_data_table.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 186 | 0 | 109 | 1 | +| 184 | 0 | 108 | 1 | ## Client diff --git a/api_docs/kbn_unified_doc_viewer.mdx b/api_docs/kbn_unified_doc_viewer.mdx index 98108a63dba3f..6f6da12d6c133 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-06 +date: 2024-12-08 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 e6ff76488e9f2..2c61ebffaf511 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-06 +date: 2024-12-08 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 64f64dcfc5cd2..e1be6e933dc43 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-06 +date: 2024-12-08 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 e9ccb41aa9c40..3a99d7e1303b7 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-06 +date: 2024-12-08 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 305148f2a5854..b248472540f72 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-06 +date: 2024-12-08 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.mdx b/api_docs/kbn_user_profile_components.mdx index ede628fd2d911..553ad9d7b09ae 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-06 +date: 2024-12-08 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 7c0c4d213d7e4..7fd54ecb498a8 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-06 +date: 2024-12-08 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 9fc98f3429532..feb9caabfe11b 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-06 +date: 2024-12-08 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 759c57179e199..85975194a95ff 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-06 +date: 2024-12-08 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 87711d7671299..82d247342ffc8 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-06 +date: 2024-12-08 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 4241d08d0715b..51e438970b975 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-06 +date: 2024-12-08 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 5fd6048c204ad..f3cad21bacbdf 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-06 +date: 2024-12-08 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 76bd80d875eff..d7245b98ea4f8 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-06 +date: 2024-12-08 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 8ede4291962d3..da5ea1dfc6bae 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-06 +date: 2024-12-08 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 719b3cd5184c8..a752c55ddc132 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-06 +date: 2024-12-08 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 49b6b7b1503a6..c68307b29dc4f 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-06 +date: 2024-12-08 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 ed77397a79c09..07a8a3a767f73 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-06 +date: 2024-12-08 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 1443ffbb19977..2eb2821a93259 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-06 +date: 2024-12-08 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 92af2bed4e382..8dd69b939c367 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 0a90017cea645..8d4fd3da7943f 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-06 +date: 2024-12-08 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 55ddad38e8d5b..b1ffc9acd51d6 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-06 +date: 2024-12-08 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 8d12c88c48fbf..3083de68055f7 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] --- import licenseManagementObj from './license_management.devdocs.json'; diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index f6159135da045..b04e8cf06df2a 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-06 +date: 2024-12-08 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 5d8d5a8d31731..1dee83eef373a 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-06 +date: 2024-12-08 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 781715045282a..c32a868b4514a 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-06 +date: 2024-12-08 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 8a50fffc3780f..b6b6e620eabd1 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-06 +date: 2024-12-08 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 d8bc94c7dbcdc..79bba12fc13dd 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-06 +date: 2024-12-08 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 1e726cdbf0fd6..3b58b1eaddec4 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-06 +date: 2024-12-08 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 7e67824b5ebfa..85afe3d43e4e1 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-06 +date: 2024-12-08 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 3b28a29d9186f..90011f8ae29e7 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-06 +date: 2024-12-08 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 2e7c6bf2e29a3..aeef24dfcd9a5 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-06 +date: 2024-12-08 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 b381a1fcb5e98..0bf35b95bbfd5 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-06 +date: 2024-12-08 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 5870c6eafb186..fb826bdeb961d 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'metricsDataAccess'] --- import metricsDataAccessObj from './metrics_data_access.devdocs.json'; diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 6f75bf364267e..5a8942adba924 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-06 +date: 2024-12-08 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 c78ebd6904b77..0c0c49bf1e417 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-06 +date: 2024-12-08 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 8ed90a30a6942..2cee11a246db2 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-06 +date: 2024-12-08 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 74650535d624e..c8491c0521324 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-06 +date: 2024-12-08 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 a8d6afc078126..fd85a0831cfad 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-06 +date: 2024-12-08 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 1486f831c7cc9..215db70f3378f 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-06 +date: 2024-12-08 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 b19c331617c33..7ad04ffd66795 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-06 +date: 2024-12-08 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 f6eed356a303d..65849375b304d 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-06 +date: 2024-12-08 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 4dc201e169ac8..fc80b200eadc5 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; diff --git a/api_docs/observability_a_i_assistant.mdx b/api_docs/observability_a_i_assistant.mdx index 60945c4ccdca0..f0c47eda762b8 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAIAssistant'] --- import observabilityAIAssistantObj from './observability_a_i_assistant.devdocs.json'; diff --git a/api_docs/observability_a_i_assistant_app.mdx b/api_docs/observability_a_i_assistant_app.mdx index 40e2e3bb6b7fd..67f15ea754257 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-06 +date: 2024-12-08 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 5b6a6c9918a8b..6633eedc78444 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-06 +date: 2024-12-08 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 aa87b9d800e15..72970e9eef0b9 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-06 +date: 2024-12-08 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 3c6aef3178a03..558269ec46097 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-06 +date: 2024-12-08 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 c7bce4c2bf710..5a4dcff470879 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-06 +date: 2024-12-08 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 13fde6f41b6a5..9747ed154a8e2 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-06 +date: 2024-12-08 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 f3e5e5468e1fd..4f77a739e1689 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-06 +date: 2024-12-08 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 531f632843807..1fb71c7427236 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -21,7 +21,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 54979 | 240 | 41354 | 2039 | +| 54982 | 240 | 41356 | 2028 | ## Plugin Directory @@ -295,7 +295,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 24 | 0 | 24 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 149 | 2 | 143 | 20 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 10 | 0 | 8 | 4 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 32 | 0 | 28 | 0 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 34 | 0 | 29 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 9 | 0 | 6 | 2 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 1 | 0 | 1 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 43 | 0 | 42 | 1 | @@ -303,8 +303,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 8 | 0 | 8 | 0 | | | [@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) | - | 10 | 0 | 10 | 0 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 51 | 0 | 33 | 3 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 30 | 0 | 30 | 0 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 52 | 0 | 33 | 3 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 34 | 0 | 34 | 0 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 195 | 1 | 128 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 100 | 0 | 0 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 7 | 1 | @@ -513,7 +513,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 15 | 0 | 9 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 38 | 2 | 33 | 0 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | - | 37 | 0 | 34 | 2 | -| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 277 | 0 | 227 | 4 | +| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 276 | 0 | 226 | 4 | | | [@elastic/docs](https://github.com/orgs/elastic/teams/docs) | - | 80 | 0 | 80 | 2 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 5 | 0 | 5 | 1 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 57 | 0 | 30 | 6 | @@ -529,7 +529,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 271 | 1 | 210 | 14 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 30 | 0 | 30 | 1 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 2 | 0 | 1 | 0 | -| | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 285 | 1 | 223 | 36 | +| | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 285 | 1 | 223 | 25 | | | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 29 | 0 | 12 | 0 | | | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 83 | 0 | 74 | 0 | | | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 205 | 0 | 193 | 12 | @@ -587,7 +587,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 23 | 0 | 7 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 8 | 0 | 2 | 3 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 45 | 0 | 0 | 0 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 138 | 0 | 137 | 0 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 137 | 0 | 136 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 20 | 0 | 11 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 88 | 0 | 10 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 56 | 0 | 6 | 0 | @@ -806,7 +806,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 42 | 0 | 28 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 61 | 0 | 52 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 9 | 0 | 8 | 0 | -| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Contains functionality for the unified data table which can be integrated into apps | 186 | 0 | 109 | 1 | +| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Contains functionality for the unified data table which can be integrated into apps | 184 | 0 | 108 | 1 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 18 | 0 | 17 | 5 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Contains functionality for the field list and field stats which can be integrated into apps | 317 | 0 | 288 | 8 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 13 | 0 | 9 | 0 | diff --git a/api_docs/presentation_panel.mdx b/api_docs/presentation_panel.mdx index 4892998a10183..1521bdc2902c8 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-06 +date: 2024-12-08 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 23b9071b90781..31035379b014e 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-06 +date: 2024-12-08 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 04a0f4ca404af..2651c38873223 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-06 +date: 2024-12-08 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 aa6832574b6a7..1d69e13ba338b 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-06 +date: 2024-12-08 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 580435914d046..cb4a883f11f32 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-06 +date: 2024-12-08 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 b7c3259dfb664..b2902855bb00f 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-06 +date: 2024-12-08 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 d621daf71e856..a6597664e3d43 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-06 +date: 2024-12-08 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 d909f57917b25..e80f1702a5abf 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-06 +date: 2024-12-08 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 6112a70d6dcc7..9c3e88384057a 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-06 +date: 2024-12-08 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 170fd711972f9..6a0966e2860bb 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-06 +date: 2024-12-08 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 60d13458dc9d1..f2c4ae70642a8 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-06 +date: 2024-12-08 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 b41168fa47a56..dfca992f25c4b 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-06 +date: 2024-12-08 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 dd9b68aa5033c..42f00081936b3 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-06 +date: 2024-12-08 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 0f6c19ddf2032..a7e301f4a6ecb 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-06 +date: 2024-12-08 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 51a844537defc..5d0c2ef6c4985 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-06 +date: 2024-12-08 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 272c4abae6d2e..8247bfe895789 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-06 +date: 2024-12-08 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 fe3ed38a4ea7f..253172ba83d39 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-06 +date: 2024-12-08 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 1dcdde85a1ee1..ce03de084ad06 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-06 +date: 2024-12-08 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 c7fe93a504fc3..3b9cc3999d1f1 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-06 +date: 2024-12-08 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 c457eac05662e..91241f9933692 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-06 +date: 2024-12-08 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 4485e60b37430..d38c224e1264d 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchHomepage'] --- import searchHomepageObj from './search_homepage.devdocs.json'; diff --git a/api_docs/search_indices.mdx b/api_docs/search_indices.mdx index c39decb91510c..f716291619da0 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchIndices'] --- import searchIndicesObj from './search_indices.devdocs.json'; diff --git a/api_docs/search_inference_endpoints.mdx b/api_docs/search_inference_endpoints.mdx index 2afa29aa66060..eeca68fce592b 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchInferenceEndpoints'] --- import searchInferenceEndpointsObj from './search_inference_endpoints.devdocs.json'; diff --git a/api_docs/search_navigation.mdx b/api_docs/search_navigation.mdx index e96b8dcda0019..edb285432f591 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-06 +date: 2024-12-08 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 da7483ccb3d62..05e5e98d6a686 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-06 +date: 2024-12-08 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 5fcab795f3e2a..3000a842f2dd3 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-06 +date: 2024-12-08 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 9d1c4fbc5f7a4..ed40895d05a0f 100644 --- a/api_docs/security.devdocs.json +++ b/api_docs/security.devdocs.json @@ -6483,23 +6483,23 @@ }, { "plugin": "entityManager", - "path": "x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts" }, { "plugin": "entityManager", - "path": "x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts" }, { "plugin": "entityManager", - "path": "x-pack/plugins/entity_manager/server/lib/auth/api_key/api_key.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts" }, { "plugin": "entityManager", - "path": "x-pack/plugins/entity_manager/server/routes/enablement/enable.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/enable.ts" }, { "plugin": "entityManager", - "path": "x-pack/plugins/entity_manager/server/routes/enablement/disable.ts" + "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts" }, { "plugin": "apm", diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 50d8cfbc34e75..d435dce83c6de 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] --- import securityObj from './security.devdocs.json'; diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 5d81edfe370d6..6a937903d3aea 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-06 +date: 2024-12-08 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 376234b91f463..a2bb5aeb18d7f 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-06 +date: 2024-12-08 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 2a8eb8b7d5da2..54a3288fb071b 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-06 +date: 2024-12-08 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 e3618cd1cb3b3..5a082f55db64b 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-06 +date: 2024-12-08 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 b2fa67d78367d..0a4e99c9f57d9 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-06 +date: 2024-12-08 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 75a0aec8ecf33..972c872ec300f 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-06 +date: 2024-12-08 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 4c0c18d16b2c1..3007a0d2e1698 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-06 +date: 2024-12-08 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 a7e8dfdf6e650..c89cb2c3c1346 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-06 +date: 2024-12-08 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 eb24a3c2bde62..956c6b6b19f5e 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-06 +date: 2024-12-08 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 adda19845be88..ed39ad019c3ef 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-06 +date: 2024-12-08 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 2a67dcde5f9b8..0c50774f7ca5f 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-06 +date: 2024-12-08 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 d7d81aaef2236..7446ad78868ab 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-06 +date: 2024-12-08 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 0852e374e9011..caa17c8e9c2be 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-06 +date: 2024-12-08 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 38402818f9e4d..9d0e55270db93 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-06 +date: 2024-12-08 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 511d2fe961fe4..448d90ee1acb1 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-06 +date: 2024-12-08 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 acb599b5dfe11..6561f34505d36 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-06 +date: 2024-12-08 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 b4319b8b734a8..cb5d5add77c5d 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-06 +date: 2024-12-08 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 344f5958147ce..c2163f75976c6 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-06 +date: 2024-12-08 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 2a7f95260af04..e5a25759c256a 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-06 +date: 2024-12-08 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 849438cbdad8b..1a1c0681fa461 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-06 +date: 2024-12-08 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 196cd334e8a86..f32783a2a7b7e 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] --- import timelinesObj from './timelines.devdocs.json'; diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index ea416a9e427c9..f7304a65979fd 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-06 +date: 2024-12-08 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 6997b216ad64c..4468496de6844 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-06 +date: 2024-12-08 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 2c09ad7b8f41b..4a8f8cb9f2016 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-06 +date: 2024-12-08 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 ae7ca33b1f7fa..e3627b097069d 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_doc_viewer.devdocs.json b/api_docs/unified_doc_viewer.devdocs.json index fc82efaa4e3d0..a62b48cdcb9fd 100644 --- a/api_docs/unified_doc_viewer.devdocs.json +++ b/api_docs/unified_doc_viewer.devdocs.json @@ -181,7 +181,7 @@ "\nCustom react hook for querying a single doc in ElasticSearch" ], "signature": [ - "({\n id,\n index,\n dataView,\n requestSource,\n textBasedHits,\n onBeforeFetch,\n onProcessRecord,\n}: ", + "({\n id,\n index,\n dataView,\n textBasedHits,\n onBeforeFetch,\n onProcessRecord,\n}: ", "EsDocSearchProps", ") => [", { @@ -210,7 +210,7 @@ "id": "def-public.useEsDocSearch.$1", "type": "Object", "tags": [], - "label": "{\n id,\n index,\n dataView,\n requestSource,\n textBasedHits,\n onBeforeFetch,\n onProcessRecord,\n}", + "label": "{\n id,\n index,\n dataView,\n textBasedHits,\n onBeforeFetch,\n onProcessRecord,\n}", "description": [], "signature": [ "EsDocSearchProps" diff --git a/api_docs/unified_doc_viewer.mdx b/api_docs/unified_doc_viewer.mdx index 5fdd58db9b3d0..7d7e73e57078f 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-06 +date: 2024-12-08 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 c6cb69dfddaff..35d412b992932 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-06 +date: 2024-12-08 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 5aebd5a685e96..2c536c958ac0d 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-06 +date: 2024-12-08 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 f24d774083adb..38d9dfaf31856 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-06 +date: 2024-12-08 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 d6ad8decb5798..dc4170cd0781e 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-06 +date: 2024-12-08 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 ef41259c8da1b..8408c82d3d893 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-06 +date: 2024-12-08 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 99123990f71c7..e7c82388d0175 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-06 +date: 2024-12-08 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 6691cad6fe45f..39505f5cac022 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-06 +date: 2024-12-08 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 0759c2b68fcfd..6e734270d68e3 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-06 +date: 2024-12-08 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 273e4d3f43895..170f6e9726eaf 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-06 +date: 2024-12-08 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 e47a96a00d9ce..d72bed3f09e42 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-06 +date: 2024-12-08 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 53f4edc6dbc5b..ba05453aebec2 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-06 +date: 2024-12-08 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 d2d8991e00e54..4e7ef467aa1a8 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-06 +date: 2024-12-08 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 9bed03ff724f5..4f3b18e3fbbc7 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-06 +date: 2024-12-08 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 b1328ccf6ec6d..58593e6edb5ae 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-06 +date: 2024-12-08 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 27b533fd4eff0..52bcb0296efc1 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-06 +date: 2024-12-08 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 ee1ad5c61ac00..d13a2efdd3f4b 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-06 +date: 2024-12-08 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 b95d4cd7f7edc..d2ab103b95a09 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-06 +date: 2024-12-08 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 4545f56af63bb..9261d7b4e0322 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-06 +date: 2024-12-08 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; From b3d6d914b347bb1abc8822131d20de9f20f38ec0 Mon Sep 17 00:00:00 2001 From: Ievgen Sorokopud Date: Sun, 8 Dec 2024 23:04:39 +0100 Subject: [PATCH 010/103] [Rules migration] Add functionality to display matched prebuilt rules details (#11360) (#203035) ## Summary [Internal link](https://github.com/elastic/security-team/issues/10820) to the feature details These changes add functionality that allows to display matched prebuilt rules details. ### New route There is a new route `/internal/siem_migrations/rules/{migration_id}/prebuilt_rules` that will return all prebuilt rules matched by translated rules within a specific migration. ### UI changes The rule migration details flyout was updated to display matched prebuilt rule data in both `Translation` and `Overview` tabs. https://github.com/user-attachments/assets/3da49653-e0ab-4d8b-892e-dd05cf73743b ### Other changes Also, as part of this PR, batching of a rule installation/creation was added. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Sergi Massaneda --- .../common/api/quickstart_client.gen.ts | 23 +++ .../common/siem_migrations/constants.ts | 2 + .../model/api/rules/rule_migration.gen.ts | 19 ++ .../api/rules/rule_migration.schema.yaml | 27 +++ .../model/rule_migration.gen.ts | 16 ++ .../model/rule_migration.schema.yaml | 13 ++ .../common/siem_migrations/rules/utils.ts | 36 ++++ .../public/siem_migrations/rules/api/index.ts | 19 ++ .../components/rule_details_flyout/index.tsx | 70 ++++---- .../translation_tab/index.tsx | 165 ++++++++++-------- .../translation_tab/translations.ts | 7 + .../rules/components/rules_table/index.tsx | 9 +- .../use_migration_rule_preview_flyout.tsx | 29 ++- .../rules/logic/translations.ts | 7 + .../logic/use_get_migration_prebuilt_rules.ts | 39 +++++ .../siem_migrations/rules/api/constants.ts | 10 ++ .../rules/api/get_prebuilt_rules.ts | 73 ++++++++ .../lib/siem_migrations/rules/api/index.ts | 2 + .../rules/api/util/installation.ts | 156 ++++++++--------- .../rules/api/util/prebuilt_rules.ts | 84 +++++++++ .../data/rule_migrations_data_rules_client.ts | 7 +- .../services/security_solution_api.gen.ts | 25 +++ 22 files changed, 638 insertions(+), 200 deletions(-) create mode 100644 x-pack/plugins/security_solution/common/siem_migrations/rules/utils.ts create mode 100644 x-pack/plugins/security_solution/public/siem_migrations/rules/logic/use_get_migration_prebuilt_rules.ts create mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/constants.ts create mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/get_prebuilt_rules.ts create mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/util/prebuilt_rules.ts diff --git a/x-pack/plugins/security_solution/common/api/quickstart_client.gen.ts b/x-pack/plugins/security_solution/common/api/quickstart_client.gen.ts index 0ef67f164409b..b5d72fc1ef207 100644 --- a/x-pack/plugins/security_solution/common/api/quickstart_client.gen.ts +++ b/x-pack/plugins/security_solution/common/api/quickstart_client.gen.ts @@ -363,6 +363,8 @@ import type { GetRuleMigrationRequestQueryInput, GetRuleMigrationRequestParamsInput, GetRuleMigrationResponse, + GetRuleMigrationPrebuiltRulesRequestParamsInput, + GetRuleMigrationPrebuiltRulesResponse, GetRuleMigrationResourcesRequestQueryInput, GetRuleMigrationResourcesRequestParamsInput, GetRuleMigrationResourcesResponse, @@ -1431,6 +1433,24 @@ finalize it. }) .catch(catchAxiosErrorFormatAndThrow); } + /** + * Retrieves all available prebuilt rules (installed and installable) + */ + async getRuleMigrationPrebuiltRules(props: GetRuleMigrationPrebuiltRulesProps) { + this.log.info(`${new Date().toISOString()} Calling API GetRuleMigrationPrebuiltRules`); + return this.kbnClient + .request({ + path: replaceParams( + '/internal/siem_migrations/rules/{migration_id}/prebuilt_rules', + props.params + ), + headers: { + [ELASTIC_HTTP_VERSION_HEADER]: '1', + }, + method: 'GET', + }) + .catch(catchAxiosErrorFormatAndThrow); + } /** * Retrieves resources for an existing SIEM rules migration */ @@ -2396,6 +2416,9 @@ export interface GetRuleMigrationProps { query: GetRuleMigrationRequestQueryInput; params: GetRuleMigrationRequestParamsInput; } +export interface GetRuleMigrationPrebuiltRulesProps { + params: GetRuleMigrationPrebuiltRulesRequestParamsInput; +} export interface GetRuleMigrationResourcesProps { query: GetRuleMigrationResourcesRequestQueryInput; params: GetRuleMigrationResourcesRequestParamsInput; diff --git a/x-pack/plugins/security_solution/common/siem_migrations/constants.ts b/x-pack/plugins/security_solution/common/siem_migrations/constants.ts index e04130e7f44d7..e947dda4bbcc2 100644 --- a/x-pack/plugins/security_solution/common/siem_migrations/constants.ts +++ b/x-pack/plugins/security_solution/common/siem_migrations/constants.ts @@ -23,6 +23,8 @@ export const SIEM_RULE_MIGRATION_STOP_PATH = `${SIEM_RULE_MIGRATION_PATH}/stop` export const SIEM_RULE_MIGRATION_INSTALL_PATH = `${SIEM_RULE_MIGRATION_PATH}/install` as const; export const SIEM_RULE_MIGRATION_INSTALL_TRANSLATED_PATH = `${SIEM_RULE_MIGRATION_PATH}/install_translated` as const; +export const SIEM_RULE_MIGRATIONS_PREBUILT_RULES_PATH = + `${SIEM_RULE_MIGRATION_PATH}/prebuilt_rules` as const; export const SIEM_RULE_MIGRATION_RESOURCES_PATH = `${SIEM_RULE_MIGRATION_PATH}/resources` as const; 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 8a549e8e11817..58944ff7f2f95 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 @@ -26,6 +26,7 @@ import { OriginalRule, RuleMigration, RuleMigrationTranslationStats, + PrebuiltRuleVersion, RuleMigrationResourceData, RuleMigrationResourceType, RuleMigrationResource, @@ -76,6 +77,24 @@ export const GetRuleMigrationResponse = z.object({ total: z.number(), data: z.array(RuleMigration), }); + +export type GetRuleMigrationPrebuiltRulesRequestParams = z.infer< + typeof GetRuleMigrationPrebuiltRulesRequestParams +>; +export const GetRuleMigrationPrebuiltRulesRequestParams = z.object({ + migration_id: NonEmptyString, +}); +export type GetRuleMigrationPrebuiltRulesRequestParamsInput = z.input< + typeof GetRuleMigrationPrebuiltRulesRequestParams +>; + +/** + * The map of prebuilt rules, with the rules id as a key + */ +export type GetRuleMigrationPrebuiltRulesResponse = z.infer< + typeof GetRuleMigrationPrebuiltRulesResponse +>; +export const GetRuleMigrationPrebuiltRulesResponse = z.object({}).catchall(PrebuiltRuleVersion); export type GetRuleMigrationResourcesRequestQuery = z.infer< typeof GetRuleMigrationResourcesRequestQuery >; 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 8b9d264cf4104..dff6089b2b48f 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 @@ -355,6 +355,33 @@ paths: 204: description: Indicates the migration id was not found running. + /internal/siem_migrations/rules/{migration_id}/prebuilt_rules: + get: + summary: Retrieves all prebuilt rules for a specific migration + operationId: GetRuleMigrationPrebuiltRules + x-codegen-enabled: true + x-internal: true + description: Retrieves all available prebuilt rules (installed and installable) + tags: + - SIEM Rule Migrations + parameters: + - name: migration_id + in: path + required: true + schema: + description: The migration id to retrieve prebuilt rules for + $ref: '../../../../../common/api/model/primitives.schema.yaml#/components/schemas/NonEmptyString' + responses: + 200: + description: Indicates prebuilt rules have been retrieved correctly. + content: + application/json: + schema: + type: object + description: The map of prebuilt rules, with the rules id as a key + additionalProperties: + $ref: '../../rule_migration.schema.yaml#/components/schemas/PrebuiltRuleVersion' + # Rule migration resources APIs /internal/siem_migrations/rules/{migration_id}/resources: diff --git a/x-pack/plugins/security_solution/common/siem_migrations/model/rule_migration.gen.ts b/x-pack/plugins/security_solution/common/siem_migrations/model/rule_migration.gen.ts index b52cdb1c91f19..60220bf054a12 100644 --- a/x-pack/plugins/security_solution/common/siem_migrations/model/rule_migration.gen.ts +++ b/x-pack/plugins/security_solution/common/siem_migrations/model/rule_migration.gen.ts @@ -17,6 +17,7 @@ import { z } from '@kbn/zod'; import { NonEmptyString } from '../../api/model/primitives.gen'; +import { RuleResponse } from '../../api/detection_engine/model/rule_schema/rule_schemas.gen'; /** * The original rule vendor identifier. @@ -117,6 +118,21 @@ export const ElasticRule = z.object({ export type ElasticRulePartial = z.infer; export const ElasticRulePartial = ElasticRule.partial(); +/** + * The prebuilt rule version. + */ +export type PrebuiltRuleVersion = z.infer; +export const PrebuiltRuleVersion = z.object({ + /** + * The latest available version of prebuilt rule. + */ + target: RuleResponse, + /** + * The currently installed version of prebuilt rule. + */ + current: RuleResponse.optional(), +}); + /** * The rule translation result. */ diff --git a/x-pack/plugins/security_solution/common/siem_migrations/model/rule_migration.schema.yaml b/x-pack/plugins/security_solution/common/siem_migrations/model/rule_migration.schema.yaml index 4c88c66fc604d..e13e9b1d0ed75 100644 --- a/x-pack/plugins/security_solution/common/siem_migrations/model/rule_migration.schema.yaml +++ b/x-pack/plugins/security_solution/common/siem_migrations/model/rule_migration.schema.yaml @@ -97,6 +97,19 @@ components: $ref: '#/components/schemas/ElasticRule' x-modify: partial + PrebuiltRuleVersion: + type: object + description: The prebuilt rule version. + required: + - target + properties: + target: + description: The latest available version of prebuilt rule. + $ref: '../../../common/api/detection_engine/model/rule_schema/rule_schemas.schema.yaml#/components/schemas/RuleResponse' + current: + description: The currently installed version of prebuilt rule. + $ref: '../../../common/api/detection_engine/model/rule_schema/rule_schemas.schema.yaml#/components/schemas/RuleResponse' + RuleMigration: description: The rule migration document object. allOf: 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 new file mode 100644 index 0000000000000..a9b8666b19981 --- /dev/null +++ b/x-pack/plugins/security_solution/common/siem_migrations/rules/utils.ts @@ -0,0 +1,36 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { Severity } from '../../api/detection_engine'; +import { DEFAULT_TRANSLATION_FIELDS, DEFAULT_TRANSLATION_SEVERITY } from '../constants'; +import type { ElasticRule, ElasticRulePartial } from '../model/rule_migration.gen'; + +export type MigrationPrebuiltRule = ElasticRulePartial & + Required>; + +export type MigrationCustomRule = ElasticRulePartial & + Required>; + +export const isMigrationPrebuiltRule = (rule?: ElasticRule): rule is MigrationPrebuiltRule => + !!(rule?.title && rule?.description && rule?.prebuilt_rule_id); + +export const isMigrationCustomRule = (rule?: ElasticRule): rule is MigrationCustomRule => + !isMigrationPrebuiltRule(rule) && + !!(rule?.title && rule?.description && rule?.query && rule?.query_language); + +export const convertMigrationCustomRuleToSecurityRulePayload = (rule: MigrationCustomRule) => { + return { + type: rule.query_language, + language: rule.query_language, + query: rule.query, + name: rule.title, + description: rule.description, + + ...DEFAULT_TRANSLATION_FIELDS, + severity: (rule.severity as Severity) ?? DEFAULT_TRANSLATION_SEVERITY, + }; +}; 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 db6f0117d4a77..ac9e49ff861fc 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 @@ -19,6 +19,7 @@ import { SIEM_RULE_MIGRATION_START_PATH, SIEM_RULE_MIGRATION_STATS_PATH, SIEM_RULE_MIGRATION_TRANSLATION_STATS_PATH, + SIEM_RULE_MIGRATIONS_PREBUILT_RULES_PATH, } from '../../../../common/siem_migrations/constants'; import type { CreateRuleMigrationRequestBody, @@ -30,6 +31,7 @@ import type { InstallMigrationRulesResponse, StartRuleMigrationRequestBody, GetRuleMigrationStatsResponse, + GetRuleMigrationPrebuiltRulesResponse, } from '../../../../common/siem_migrations/model/api/rules/rule_migration.gen'; export interface GetRuleMigrationStatsParams { @@ -192,3 +194,20 @@ export const installTranslatedMigrationRules = async ({ { version: '1', signal } ); }; + +export interface GetRuleMigrationsPrebuiltRulesParams { + /** `id` of the migration to install rules for */ + migrationId: string; + /** Optional AbortSignal for cancelling request */ + signal?: AbortSignal; +} +/** Retrieves all prebuilt rules matched within a specific migration. */ +export const getRuleMigrationsPrebuiltRules = async ({ + migrationId, + signal, +}: GetRuleMigrationsPrebuiltRulesParams): Promise => { + return KibanaServices.get().http.get( + replaceParams(SIEM_RULE_MIGRATIONS_PREBUILT_RULES_PATH, { migration_id: migrationId }), + { version: '1', 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 9353d0063b8ab..8fea17b51cb0e 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 @@ -24,19 +24,12 @@ import { } from '@elastic/eui'; import type { EuiTabbedContentTab, EuiTabbedContentProps, EuiFlyoutProps } from '@elastic/eui'; -import { - DEFAULT_TRANSLATION_SEVERITY, - DEFAULT_TRANSLATION_FIELDS, -} from '../../../../../common/siem_migrations/constants'; import type { RuleMigration } from '../../../../../common/siem_migrations/model/rule_migration.gen'; import { RuleOverviewTab, useOverviewTabSections, } from '../../../../detection_engine/rule_management/components/rule_details/rule_overview_tab'; -import { - type RuleResponse, - type Severity, -} from '../../../../../common/api/detection_engine/model/rule_schema'; +import type { RuleResponse } from '../../../../../common/api/detection_engine/model/rule_schema'; import * as i18n from './translations'; import { @@ -44,6 +37,10 @@ import { LARGE_DESCRIPTION_LIST_COLUMN_WIDTHS, } from './constants'; import { TranslationTab } from './translation_tab'; +import { + convertMigrationCustomRuleToSecurityRulePayload, + isMigrationCustomRule, +} from '../../../../../common/siem_migrations/rules/utils'; /* * Fixes tabs to the top and allows the content to scroll. @@ -67,6 +64,7 @@ export const TabContentPadding: FC> = ({ children }) interface MigrationRuleDetailsFlyoutProps { ruleActions?: React.ReactNode; ruleMigration: RuleMigration; + matchedPrebuiltRule?: RuleResponse; size?: EuiFlyoutProps['size']; extraTabs?: EuiTabbedContentTab[]; closeFlyout: () => void; @@ -76,26 +74,21 @@ export const MigrationRuleDetailsFlyout: React.FC { const { expandedOverviewSections, toggleOverviewSection } = useOverviewTabSections(); - const rule: RuleResponse = useMemo(() => { - const esqlLanguage = ruleMigration.elastic_rule?.query_language ?? 'esql'; - return { - type: esqlLanguage, - language: esqlLanguage, - name: ruleMigration.elastic_rule?.title, - description: ruleMigration.elastic_rule?.description, - query: ruleMigration.elastic_rule?.query, - - ...DEFAULT_TRANSLATION_FIELDS, - severity: - (ruleMigration.elastic_rule?.severity as Severity) ?? DEFAULT_TRANSLATION_SEVERITY, - } as RuleResponse; // TODO: we need to adjust RuleOverviewTab to allow partial RuleResponse as a parameter - }, [ruleMigration]); + const rule = useMemo(() => { + if (isMigrationCustomRule(ruleMigration.elastic_rule)) { + return convertMigrationCustomRuleToSecurityRulePayload( + ruleMigration.elastic_rule + ) as RuleResponse; // TODO: we need to adjust RuleOverviewTab to allow partial RuleResponse as a parameter; + } + return matchedPrebuiltRule; + }, [matchedPrebuiltRule, ruleMigration]); const translationTab: EuiTabbedContentTab = useMemo( () => ({ @@ -103,11 +96,14 @@ export const MigrationRuleDetailsFlyout: React.FC - + ), }), - [ruleMigration] + [matchedPrebuiltRule, ruleMigration] ); const overviewTab: EuiTabbedContentTab = useMemo( @@ -116,16 +112,18 @@ export const MigrationRuleDetailsFlyout: React.FC - + {rule && ( + + )} ), }), @@ -166,7 +164,9 @@ export const MigrationRuleDetailsFlyout: React.FC -

{rule.name}

+

+ {rule?.name ?? ruleMigration.original_rule.title} +

diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rule_details_flyout/translation_tab/index.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rule_details_flyout/translation_tab/index.tsx index a2e590b85ac09..a80480b8837bb 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rule_details_flyout/translation_tab/index.tsx +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rule_details_flyout/translation_tab/index.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React from 'react'; +import React, { useMemo } from 'react'; import { EuiAccordion, EuiBadge, @@ -20,6 +20,7 @@ import { } from '@elastic/eui'; import { css } from '@emotion/css'; import { FormattedMessage } from '@kbn/i18n-react'; +import type { RuleResponse } from '../../../../../../common/api/detection_engine'; import type { RuleMigration } from '../../../../../../common/siem_migrations/model/rule_migration.gen'; import { TranslationTabHeader } from './header'; import { MigrationRuleQuery } from './migration_rule_query'; @@ -31,82 +32,98 @@ import { interface TranslationTabProps { ruleMigration: RuleMigration; + matchedPrebuiltRule?: RuleResponse; } -export const TranslationTab: React.FC = React.memo(({ ruleMigration }) => { - const { euiTheme } = useEuiTheme(); +export const TranslationTab: React.FC = React.memo( + ({ ruleMigration, matchedPrebuiltRule }) => { + const { euiTheme } = useEuiTheme(); - const name = ruleMigration.elastic_rule?.title ?? ruleMigration.original_rule.title; - const originalQuery = ruleMigration.original_rule.query; - const elasticQuery = ruleMigration.elastic_rule?.query ?? 'Prebuilt rule query'; + const name = useMemo( + () => ruleMigration.elastic_rule?.title ?? ruleMigration.original_rule.title, + [ruleMigration.elastic_rule?.title, ruleMigration.original_rule.title] + ); + const originalQuery = ruleMigration.original_rule.query; + const elasticQuery = useMemo(() => { + let query = ruleMigration.elastic_rule?.query; + if (matchedPrebuiltRule && matchedPrebuiltRule.type !== 'machine_learning') { + query = matchedPrebuiltRule.query; + } + return query ?? ''; + }, [matchedPrebuiltRule, ruleMigration.elastic_rule?.query]); - return ( - <> - - - - - - } - initialIsOpen={true} - > - - - - - - - -

- -

-
-
- - {}} - onClickAriaLabel={'Click to update translation status'} - > - {convertTranslationResultIntoText(ruleMigration.translation_result)} - - -
-
- - - - + + + + + + } + initialIsOpen={true} + > + + + + + + + +

+ +

+
+
+ + {}} + onClickAriaLabel={'Click to update translation status'} + > + {convertTranslationResultIntoText(ruleMigration.translation_result)} + + +
+
+ + + + + + - - - - - - - -
-
-
- - ); -}); + + + +
+
+
+
+
+ + ); + } +); TranslationTab.displayName = 'TranslationTab'; diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rule_details_flyout/translation_tab/translations.ts b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rule_details_flyout/translation_tab/translations.ts index e7532a5a8b2e3..1592a80d32478 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rule_details_flyout/translation_tab/translations.ts +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rule_details_flyout/translation_tab/translations.ts @@ -28,6 +28,13 @@ export const SPLUNK_QUERY_TITLE = i18n.translate( } ); +export const PREBUILT_RULE_QUERY_TITLE = i18n.translate( + 'xpack.securitySolution.siemMigrations.rules.translationDetails.translationTab.prebuiltRuleQueryTitle', + { + defaultMessage: 'Prebuilt rule query', + } +); + export const ESQL_TRANSLATION_TITLE = i18n.translate( 'xpack.securitySolution.siemMigrations.rules.translationDetails.translationTab.esqlTranslationTitle', { 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 e7af1af93e2ba..13b451c2918d8 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 @@ -26,6 +26,7 @@ import { useInstallMigrationRules } from '../../logic/use_install_migration_rule import { useGetMigrationRules } from '../../logic/use_get_migration_rules'; import { useInstallTranslatedMigrationRules } from '../../logic/use_install_translated_migration_rules'; import { useGetMigrationTranslationStats } from '../../logic/use_get_migration_translation_stats'; +import { useGetMigrationPrebuiltRules } from '../../logic/use_get_migration_prebuilt_rules'; import * as logicI18n from '../../logic/translations'; import { BulkActions } from './bulk_actions'; import { SearchField } from './search_field'; @@ -53,6 +54,9 @@ export const MigrationRulesTable: React.FC = React.mem const { data: translationStats, isLoading: isStatsLoading } = useGetMigrationTranslationStats(migrationId); + const { data: prebuiltRules = {}, isLoading: isPrebuiltRulesLoading } = + useGetMigrationPrebuiltRules(migrationId); + const { data: { ruleMigrations, total } = { ruleMigrations: [], total: 0 }, isLoading: isDataLoading, @@ -129,6 +133,7 @@ export const MigrationRulesTable: React.FC = React.mem migrationRuleDetailsFlyout: rulePreviewFlyout, openMigrationRuleDetails: openRulePreview, } = useMigrationRuleDetailsFlyout({ + prebuiltRules, ruleActionsFactory, }); @@ -138,6 +143,8 @@ export const MigrationRulesTable: React.FC = React.mem installMigrationRule: installSingleRule, }); + const isLoading = isStatsLoading || isPrebuiltRulesLoading || isDataLoading || isTableLoading; + return ( <> = React.mem ; ruleActionsFactory: (ruleMigration: RuleMigration, closeRulePreview: () => void) => ReactNode; extraTabsFactory?: (ruleMigration: RuleMigration) => EuiTabbedContentTab[]; } @@ -23,10 +28,12 @@ interface UseMigrationRuleDetailsFlyoutResult { } export function useMigrationRuleDetailsFlyout({ + prebuiltRules, extraTabsFactory, ruleActionsFactory, }: UseMigrationRuleDetailsFlyoutParams): UseMigrationRuleDetailsFlyoutResult { const [ruleMigration, setMigrationRuleForPreview] = useState(); + const [matchedPrebuiltRule, setMatchedPrebuiltRule] = useState(); const closeMigrationRuleDetails = useCallback(() => setMigrationRuleForPreview(undefined), []); const ruleActions = useMemo( () => ruleMigration && ruleActionsFactory(ruleMigration, closeMigrationRuleDetails), @@ -37,19 +44,33 @@ export function useMigrationRuleDetailsFlyout({ [ruleMigration, extraTabsFactory] ); + const openMigrationRuleDetails = useCallback( + (rule: RuleMigration) => { + setMigrationRuleForPreview(rule); + + // Find matched prebuilt rule if any and prioritize its installed version + const matchedPrebuiltRuleVersion = rule.elastic_rule?.prebuilt_rule_id + ? prebuiltRules[rule.elastic_rule.prebuilt_rule_id] + : undefined; + const prebuiltRule = + matchedPrebuiltRuleVersion?.current ?? matchedPrebuiltRuleVersion?.target; + setMatchedPrebuiltRule(prebuiltRule); + }, + [prebuiltRules] + ); + return { migrationRuleDetailsFlyout: ruleMigration && ( ), - openMigrationRuleDetails: useCallback((rule: RuleMigration) => { - setMigrationRuleForPreview(rule); - }, []), + openMigrationRuleDetails, closeMigrationRuleDetails, }; } diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/translations.ts b/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/translations.ts index 3b13daa8f0682..3f92da4e8ddcc 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/translations.ts +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/translations.ts @@ -7,6 +7,13 @@ import { i18n } from '@kbn/i18n'; +export const GET_MIGRATION_PREBUILT_RULES_FAILURE = i18n.translate( + 'xpack.securitySolution.siemMigrations.rules.getMigrationPrebuiltRulesFailDescription', + { + defaultMessage: 'Failed to fetch prebuilt rules', + } +); + export const GET_MIGRATION_RULES_FAILURE = i18n.translate( 'xpack.securitySolution.siemMigrations.rules.getMigrationRulesFailDescription', { diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/use_get_migration_prebuilt_rules.ts b/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/use_get_migration_prebuilt_rules.ts new file mode 100644 index 0000000000000..a855d53555551 --- /dev/null +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/use_get_migration_prebuilt_rules.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 { replaceParams } from '@kbn/openapi-common/shared'; +import { useQuery } from '@tanstack/react-query'; +import { useAppToasts } from '../../../common/hooks/use_app_toasts'; +import type { GetRuleMigrationPrebuiltRulesResponse } from '../../../../common/siem_migrations/model/api/rules/rule_migration.gen'; +import { SIEM_RULE_MIGRATIONS_PREBUILT_RULES_PATH } from '../../../../common/siem_migrations/constants'; +import { getRuleMigrationsPrebuiltRules } from '../api'; +import { DEFAULT_QUERY_OPTIONS } from './constants'; +import * as i18n from './translations'; + +export const useGetMigrationPrebuiltRules = (migrationId: string) => { + const { addError } = useAppToasts(); + + const SPECIFIC_MIGRATIONS_PREBUILT_RULES_PATH = replaceParams( + SIEM_RULE_MIGRATIONS_PREBUILT_RULES_PATH, + { + migration_id: migrationId, + } + ); + + return useQuery( + ['GET', SPECIFIC_MIGRATIONS_PREBUILT_RULES_PATH], + async ({ signal }) => { + return getRuleMigrationsPrebuiltRules({ migrationId, signal }); + }, + { + ...DEFAULT_QUERY_OPTIONS, + onError: (error) => { + addError(error, { title: i18n.GET_MIGRATION_PREBUILT_RULES_FAILURE }); + }, + } + ); +}; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/constants.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/constants.ts new file mode 100644 index 0000000000000..215f0089410e7 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/constants.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const MAX_CUSTOM_RULES_TO_CREATE_IN_PARALLEL = 50; +export const MAX_PREBUILT_RULES_TO_FETCH = 10_000 as const; +export const MAX_TRANSLATED_RULES_TO_INSTALL = 10_000 as const; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/get_prebuilt_rules.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/get_prebuilt_rules.ts new file mode 100644 index 0000000000000..551e4a51e477e --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/get_prebuilt_rules.ts @@ -0,0 +1,73 @@ +/* + * Copyright 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 { IKibanaResponse, Logger } from '@kbn/core/server'; +import { buildRouteValidationWithZod } from '@kbn/zod-helpers'; +import type { GetRuleMigrationPrebuiltRulesResponse } from '../../../../../common/siem_migrations/model/api/rules/rule_migration.gen'; +import { GetRuleMigrationPrebuiltRulesRequestParams } from '../../../../../common/siem_migrations/model/api/rules/rule_migration.gen'; +import { SIEM_RULE_MIGRATIONS_PREBUILT_RULES_PATH } from '../../../../../common/siem_migrations/constants'; +import type { SecuritySolutionPluginRouter } from '../../../../types'; +import { withLicense } from './util/with_license'; +import { getPrebuiltRules, getUniquePrebuiltRuleIds } from './util/prebuilt_rules'; +import { MAX_PREBUILT_RULES_TO_FETCH } from './constants'; + +export const registerSiemRuleMigrationsPrebuiltRulesRoute = ( + router: SecuritySolutionPluginRouter, + logger: Logger +) => { + router.versioned + .get({ + path: SIEM_RULE_MIGRATIONS_PREBUILT_RULES_PATH, + access: 'internal', + security: { authz: { requiredPrivileges: ['securitySolution'] } }, + }) + .addVersion( + { + version: '1', + validate: { + request: { + params: buildRouteValidationWithZod(GetRuleMigrationPrebuiltRulesRequestParams), + }, + }, + }, + withLicense( + async ( + context, + req, + res + ): Promise> => { + const { migration_id: migrationId } = req.params; + try { + const ctx = await context.resolve(['core', 'alerting', 'securitySolution']); + const ruleMigrationsClient = ctx.securitySolution.getSiemRuleMigrationsClient(); + const savedObjectsClient = ctx.core.savedObjects.client; + const rulesClient = await ctx.alerting.getRulesClient(); + + const result = await ruleMigrationsClient.data.rules.get(migrationId, { + filters: { + prebuilt: true, + }, + from: 0, + size: MAX_PREBUILT_RULES_TO_FETCH, + }); + + const prebuiltRulesIds = getUniquePrebuiltRuleIds(result.data); + const prebuiltRules = await getPrebuiltRules( + rulesClient, + savedObjectsClient, + prebuiltRulesIds + ); + + return res.ok({ body: prebuiltRules }); + } catch (err) { + logger.error(err); + return res.badRequest({ body: err.message }); + } + } + ) + ); +}; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/index.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/index.ts index c6f3c51a1bb53..a327d4b28a9bd 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/index.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/index.ts @@ -20,6 +20,7 @@ import { registerSiemRuleMigrationsResourceGetRoute } from './resources/get'; import { registerSiemRuleMigrationsRetryRoute } from './retry'; import { registerSiemRuleMigrationsInstallRoute } from './install'; import { registerSiemRuleMigrationsInstallTranslatedRoute } from './install_translated'; +import { registerSiemRuleMigrationsPrebuiltRulesRoute } from './get_prebuilt_rules'; export const registerSiemRuleMigrationsRoutes = ( router: SecuritySolutionPluginRouter, @@ -28,6 +29,7 @@ export const registerSiemRuleMigrationsRoutes = ( registerSiemRuleMigrationsCreateRoute(router, logger); registerSiemRuleMigrationsUpdateRoute(router, logger); registerSiemRuleMigrationsStatsAllRoute(router, logger); + registerSiemRuleMigrationsPrebuiltRulesRoute(router, logger); registerSiemRuleMigrationsGetRoute(router, logger); registerSiemRuleMigrationsStartRoute(router, logger); registerSiemRuleMigrationsRetryRoute(router, logger); 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 2fce95be9dafe..d74619e4c1251 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 @@ -7,22 +7,23 @@ import type { Logger, SavedObjectsClientContract } from '@kbn/core/server'; import type { RulesClient } from '@kbn/alerting-plugin/server'; -import { - DEFAULT_TRANSLATION_RISK_SCORE, - DEFAULT_TRANSLATION_SEVERITY, -} from '../../../../../../common/siem_migrations/constants'; +import { initPromisePool } from '../../../../../utils/promise_pool'; import type { SecuritySolutionApiRequestHandlerContext } from '../../../../..'; -import { createPrebuiltRuleObjectsClient } from '../../../../detection_engine/prebuilt_rules/logic/rule_objects/prebuilt_rule_objects_client'; import { performTimelinesInstallation } from '../../../../detection_engine/prebuilt_rules/logic/perform_timelines_installation'; import { createPrebuiltRules } from '../../../../detection_engine/prebuilt_rules/logic/rule_objects/create_prebuilt_rules'; -import type { PrebuiltRuleAsset } from '../../../../detection_engine/prebuilt_rules'; -import { getRuleGroups } from '../../../../detection_engine/prebuilt_rules/model/rule_groups/get_rule_groups'; -import { fetchRuleVersionsTriad } from '../../../../detection_engine/prebuilt_rules/logic/rule_versions/fetch_rule_versions_triad'; -import { createPrebuiltRuleAssetsClient } from '../../../../detection_engine/prebuilt_rules/logic/rule_assets/prebuilt_rule_assets_client'; import type { IDetectionRulesClient } from '../../../../detection_engine/rule_management/logic/detection_rules_client/detection_rules_client_interface'; -import type { RuleCreateProps } from '../../../../../../common/api/detection_engine'; +import type { RuleResponse } from '../../../../../../common/api/detection_engine'; import type { UpdateRuleMigrationInput } from '../../data/rule_migrations_data_rules_client'; import type { StoredRuleMigration } from '../../types'; +import { getPrebuiltRules, getUniquePrebuiltRuleIds } from './prebuilt_rules'; +import { + MAX_CUSTOM_RULES_TO_CREATE_IN_PARALLEL, + MAX_TRANSLATED_RULES_TO_INSTALL, +} from '../constants'; +import { + convertMigrationCustomRuleToSecurityRulePayload, + isMigrationCustomRule, +} from '../../../../../../common/siem_migrations/rules/utils'; const installPrebuiltRules = async ( rulesToInstall: StoredRuleMigration[], @@ -31,105 +32,90 @@ const installPrebuiltRules = async ( savedObjectsClient: SavedObjectsClientContract, detectionRulesClient: IDetectionRulesClient ): Promise => { - const ruleAssetsClient = createPrebuiltRuleAssetsClient(savedObjectsClient); - const ruleObjectsClient = createPrebuiltRuleObjectsClient(rulesClient); - const ruleVersionsMap = await fetchRuleVersionsTriad({ - ruleAssetsClient, - ruleObjectsClient, - }); - const { currentRules, installableRules } = getRuleGroups(ruleVersionsMap); - - const rulesToUpdate: UpdateRuleMigrationInput[] = []; - const assetsToInstall: PrebuiltRuleAsset[] = []; - rulesToInstall.forEach((ruleToInstall) => { - // If prebuilt rule has already been installed, then just update migration rule with the installed rule id - const installedRule = currentRules.find( - (rule) => rule.rule_id === ruleToInstall.elastic_rule?.prebuilt_rule_id - ); - if (installedRule) { - rulesToUpdate.push({ - id: ruleToInstall.id, - elastic_rule: { - id: installedRule.id, - }, - }); - return; - } + // Get required prebuilt rules + const prebuiltRulesIds = getUniquePrebuiltRuleIds(rulesToInstall); + const prebuiltRules = await getPrebuiltRules(rulesClient, savedObjectsClient, prebuiltRulesIds); - // If prebuilt rule is not installed, then keep reference to install it - const installableRule = installableRules.find( - (rule) => rule.rule_id === ruleToInstall.elastic_rule?.prebuilt_rule_id - ); - if (installableRule) { - assetsToInstall.push(installableRule); + const { installed: alreadyInstalledRules, installable } = Object.values(prebuiltRules).reduce( + (acc, item) => { + if (item.current) { + acc.installed.push(item.current); + } else { + acc.installable.push(item.target); + } + return acc; + }, + { installed: [], installable: [] } as { + installed: RuleResponse[]; + installable: RuleResponse[]; } - }); - - // Filter out any duplicates which can occur when multiple translated rules matched the same prebuilt rule - const filteredAssetsToInstall = assetsToInstall.filter( - (value, index, self) => index === self.findIndex((rule) => rule.rule_id === value.rule_id) ); + // Install prebuilt rules // TODO: we need to do an error handling which can happen during the rule installation - const { results: installedRules } = await createPrebuiltRules( + const { results: newlyInstalledRules } = await createPrebuiltRules( detectionRulesClient, - filteredAssetsToInstall + installable ); await performTimelinesInstallation(securitySolutionContext); + const installedRules = [ + ...alreadyInstalledRules, + ...newlyInstalledRules.map((value) => value.result), + ]; + + // Create migration rules updates templates + const rulesToUpdate: UpdateRuleMigrationInput[] = []; installedRules.forEach((installedRule) => { - const rules = rulesToInstall.filter( - (rule) => rule.elastic_rule?.prebuilt_rule_id === installedRule.result.rule_id + const filteredRules = rulesToInstall.filter( + (rule) => rule.elastic_rule?.prebuilt_rule_id === installedRule.rule_id ); - rules.forEach((prebuiltRule) => { - rulesToUpdate.push({ - id: prebuiltRule.id, + rulesToUpdate.push( + ...filteredRules.map(({ id }) => ({ + id, elastic_rule: { - id: installedRule.result.id, + id: installedRule.id, }, - }); - }); + })) + ); }); return rulesToUpdate; }; -const installCustomRules = async ( +export const installCustomRules = async ( rulesToInstall: StoredRuleMigration[], detectionRulesClient: IDetectionRulesClient, logger: Logger ): Promise => { const rulesToUpdate: UpdateRuleMigrationInput[] = []; - await Promise.all( - rulesToInstall.map(async (rule) => { - if (!rule.elastic_rule?.query || !rule.elastic_rule?.description) { + const createCustomRulesOutcome = await initPromisePool({ + concurrency: MAX_CUSTOM_RULES_TO_CREATE_IN_PARALLEL, + items: rulesToInstall, + executor: async (rule) => { + if (!isMigrationCustomRule(rule.elastic_rule)) { return; } - try { - const payloadRule: RuleCreateProps = { - type: 'esql', - language: 'esql', - query: rule.elastic_rule.query, - name: rule.elastic_rule.title, - description: rule.elastic_rule.description, - severity: DEFAULT_TRANSLATION_SEVERITY, - risk_score: DEFAULT_TRANSLATION_RISK_SCORE, - }; - const createdRule = await detectionRulesClient.createCustomRule({ - params: payloadRule, - }); - rulesToUpdate.push({ - id: rule.id, - elastic_rule: { - id: createdRule.id, - }, - }); - } catch (err) { - // TODO: we need to do an error handling which can happen during the rule creation - logger.debug(`Could not create a rule because of error: ${JSON.stringify(err)}`); - } - }) - ); + const payloadRule = convertMigrationCustomRuleToSecurityRulePayload(rule.elastic_rule); + const createdRule = await detectionRulesClient.createPrebuiltRule({ + params: payloadRule, + }); + rulesToUpdate.push({ + id: rule.id, + elastic_rule: { + id: createdRule.id, + }, + }); + }, + }); + if (createCustomRulesOutcome.errors) { + // TODO: we need to do an error handling which can happen during the rule creation + logger.debug( + `Failed to create some of the rules because of errors: ${JSON.stringify( + createCustomRulesOutcome.errors + )}` + ); + } return rulesToUpdate; }; @@ -179,6 +165,8 @@ export const installTranslated = async ({ const { data: rulesToInstall } = await ruleMigrationsClient.data.rules.get(migrationId, { filters: { ids, installable: true }, + from: 0, + size: MAX_TRANSLATED_RULES_TO_INSTALL, }); const { customRulesToInstall, prebuiltRulesToInstall } = rulesToInstall.reduce( diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/util/prebuilt_rules.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/util/prebuilt_rules.ts new file mode 100644 index 0000000000000..7760612abc878 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/util/prebuilt_rules.ts @@ -0,0 +1,84 @@ +/* + * Copyright 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 { SavedObjectsClientContract } from '@kbn/core/server'; +import type { RulesClient } from '@kbn/alerting-plugin/server'; +import type { RuleResponse } from '../../../../../../common/api/detection_engine'; +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 { createPrebuiltRuleAssetsClient } from '../../../../detection_engine/prebuilt_rules/logic/rule_assets/prebuilt_rule_assets_client'; +import { convertPrebuiltRuleAssetToRuleResponse } from '../../../../detection_engine/rule_management/logic/detection_rules_client/converters/convert_prebuilt_rule_asset_to_rule_response'; +import type { RuleMigration } from '../../../../../../common/siem_migrations/model/rule_migration.gen'; + +export const getUniquePrebuiltRuleIds = (migrationRules: RuleMigration[]): string[] => { + const rulesIds = new Set(); + migrationRules.forEach((rule) => { + if (rule.elastic_rule?.prebuilt_rule_id) { + rulesIds.add(rule.elastic_rule.prebuilt_rule_id); + } + }); + return Array.from(rulesIds); +}; + +export interface PrebuiltRulesResults { + /** + * The latest available version + */ + target: RuleResponse; + + /** + * The currently installed version + */ + current?: RuleResponse; +} + +/** + * Gets Elastic prebuilt rules + * @param rulesClient The rules client to fetch prebuilt rules + * @param savedObjectsClient The saved objects client + * @param rulesIds The list of IDs to filter requested prebuilt rules. If not specified, all available prebuilt rules will be returned. + * @returns + */ +export const getPrebuiltRules = async ( + rulesClient: RulesClient, + savedObjectsClient: SavedObjectsClientContract, + rulesIds?: string[] +): Promise> => { + const ruleAssetsClient = createPrebuiltRuleAssetsClient(savedObjectsClient); + const ruleObjectsClient = createPrebuiltRuleObjectsClient(rulesClient); + + const prebuiltRulesMap = await fetchRuleVersionsTriad({ + ruleAssetsClient, + ruleObjectsClient, + }); + + // Filter out prebuilt rules by `rule_id` + let filteredPrebuiltRulesMap: typeof prebuiltRulesMap; + if (rulesIds) { + filteredPrebuiltRulesMap = new Map(); + for (const ruleId of rulesIds) { + const prebuiltRule = prebuiltRulesMap.get(ruleId); + if (prebuiltRule) { + filteredPrebuiltRulesMap.set(ruleId, prebuiltRule); + } + } + } else { + filteredPrebuiltRulesMap = prebuiltRulesMap; + } + + const prebuiltRules: Record = {}; + filteredPrebuiltRulesMap.forEach((ruleVersions, ruleId) => { + if (ruleVersions.target) { + prebuiltRules[ruleId] = { + target: convertPrebuiltRuleAssetToRuleResponse(ruleVersions.target), + current: ruleVersions.current, + }; + } + }); + + return prebuiltRules; +}; 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 716d19ce16cdf..f11b24e50b95a 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 @@ -42,6 +42,7 @@ export interface RuleMigrationFilters { status?: SiemMigrationStatus | SiemMigrationStatus[]; ids?: string[]; installable?: boolean; + prebuilt?: boolean; searchTerm?: string; } export interface RuleMigrationGetOptions { @@ -54,7 +55,6 @@ export interface RuleMigrationGetOptions { * 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; -/* The default number of rule migrations to retrieve in a single GET request. */ export class RuleMigrationsDataRulesClient extends RuleMigrationsDataBaseClient { /** Indexes an array of rule migrations to be processed */ @@ -337,7 +337,7 @@ export class RuleMigrationsDataRulesClient extends RuleMigrationsDataBaseClient private getFilterQuery( migrationId: string, - { status, ids, installable, searchTerm }: RuleMigrationFilters = {} + { status, ids, installable, prebuilt, searchTerm }: RuleMigrationFilters = {} ): QueryDslQueryContainer { const filter: QueryDslQueryContainer[] = [{ term: { migration_id: migrationId } }]; if (status) { @@ -353,6 +353,9 @@ export class RuleMigrationsDataRulesClient extends RuleMigrationsDataBaseClient if (installable) { filter.push(...conditions.isInstallable()); } + if (prebuilt) { + filter.push(conditions.isPrebuilt()); + } if (searchTerm?.length) { filter.push(conditions.matchTitle(searchTerm)); } diff --git a/x-pack/test/api_integration/services/security_solution_api.gen.ts b/x-pack/test/api_integration/services/security_solution_api.gen.ts index 98fefc3a74aa4..a6d0ac86a810c 100644 --- a/x-pack/test/api_integration/services/security_solution_api.gen.ts +++ b/x-pack/test/api_integration/services/security_solution_api.gen.ts @@ -99,6 +99,7 @@ import { GetRuleMigrationRequestQueryInput, GetRuleMigrationRequestParamsInput, } from '@kbn/security-solution-plugin/common/siem_migrations/model/api/rules/rule_migration.gen'; +import { GetRuleMigrationPrebuiltRulesRequestParamsInput } from '@kbn/security-solution-plugin/common/siem_migrations/model/api/rules/rule_migration.gen'; import { GetRuleMigrationResourcesRequestQueryInput, GetRuleMigrationResourcesRequestParamsInput, @@ -957,6 +958,27 @@ finalize it. .set(X_ELASTIC_INTERNAL_ORIGIN_REQUEST, 'kibana') .query(props.query); }, + /** + * Retrieves all available prebuilt rules (installed and installable) + */ + getRuleMigrationPrebuiltRules( + props: GetRuleMigrationPrebuiltRulesProps, + kibanaSpace: string = 'default' + ) { + return supertest + .get( + routeWithNamespace( + replaceParams( + '/internal/siem_migrations/rules/{migration_id}/prebuilt_rules', + props.params + ), + kibanaSpace + ) + ) + .set('kbn-xsrf', 'true') + .set(ELASTIC_HTTP_VERSION_HEADER, '1') + .set(X_ELASTIC_INTERNAL_ORIGIN_REQUEST, 'kibana'); + }, /** * Retrieves resources for an existing SIEM rules migration */ @@ -1731,6 +1753,9 @@ export interface GetRuleMigrationProps { query: GetRuleMigrationRequestQueryInput; params: GetRuleMigrationRequestParamsInput; } +export interface GetRuleMigrationPrebuiltRulesProps { + params: GetRuleMigrationPrebuiltRulesRequestParamsInput; +} export interface GetRuleMigrationResourcesProps { query: GetRuleMigrationResourcesRequestQueryInput; params: GetRuleMigrationResourcesRequestParamsInput; From 6d3b5c264b771a0fec3eb29112286f032496cf5d Mon Sep 17 00:00:00 2001 From: Sonia Sanz Vivas Date: Mon, 9 Dec 2024 09:57:41 +0100 Subject: [PATCH 011/103] Snapshots: show slm and status (#199622) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes [#148241](https://github.com/elastic/kibana/issues/148241) ## Summary This PR introduces a few changes in the snapshot and restore plugin. #### Snapshots tab * The state column has been aded to the table * In the detail flyout, it has been changed the way in which the status is displayed (icon and text). * No new test needed since this info was already there. The related tests have been updated.
Screenshot 2024-11-27 at 15 17 03 Screenshot 2024-11-27 at 15 54 32
#### Policies tab * The copy of the callout for warning that two or more policies have the same schedule has been changed. For testing that, you need to have two or more policies that have the same time por execution. No test added for this, is only a copy change [[code](https://github.com/elastic/kibana/pull/199622/files#diff-e8e12f0dfdc97e4e064f8a07965312c8c91ca66578bdcaf5ee807e879cebcb6eR207)] Screenshot 2024-11-27 at 15 17 25 * A new callout has been added to warn that the SLM status is different from “running”. SLM status is "running" by default, but it could happen that the user stop it for any reason and then does not restart it. This causes policies not to run when they are scheduled. To known the SLM status a new api call has been introduced (`GET _slm/status`). * I've created a new doc link to https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-start.html * I've added new tests for the new api call. Screenshot 2024-11-27 at 15 59 56 ## Testing You will need to have at least one policy to test this. For that, you can run Elastic using the following: ``` yarn es snapshot --license=trial -E path.repo=/tmp/es-backups ``` From the console, you can add a repository (you can also do it from the UI): ``` PUT /_snapshot/my_backup { "type": "fs", "settings": { "location": "/tmp/es-backups", "chunk_size": "10mb" } } ```` And for creating a policy you can run this: ``` PUT _slm/policy/nightly-snapshots { "schedule": "0 30 1 * * ?", "name": "", "repository": "my_backup1", "retention": { "expire_after": "30d", "min_count": 5, "max_count": 50 } } ``` SLM status should be started by default (unless you have stopped it). For starting it you can use `POST /_slm/start` and for stop it `POST /_slm/stop` ## Demo https://github.com/user-attachments/assets/b83cd3ba-4821-4295-87f2-ecf427ec46e0 --------- Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com> --- .../shared/kbn-doc-links/src/get_doc_links.ts | 1 + x-pack/plugins/snapshot_restore/README.md | 10 +++- .../__jest__/client_integration/home.test.ts | 11 ++-- .../public/application/constants/index.ts | 7 ++- .../application/lib/snapshot_list_params.ts | 3 +- .../sections/home/policy_list/policy_list.tsx | 53 +++++++++++++++-- .../components/snapshot_table.tsx | 10 ++++ .../snapshot_details/tabs/snapshot_state.tsx | 58 +++++++------------ .../snapshot_details/tabs/tab_summary.tsx | 2 +- .../services/http/policy_requests.ts | 7 +++ .../server/routes/api/policy.test.ts | 23 ++++++++ .../server/routes/api/policy.ts | 16 +++++ .../translations/translations/fr-FR.json | 2 - .../translations/translations/ja-JP.json | 2 - .../translations/translations/zh-CN.json | 2 - .../snapshot_restore/lib/elasticsearch.ts | 5 ++ .../management/snapshot_restore/policies.ts | 26 ++++++++- 17 files changed, 179 insertions(+), 59 deletions(-) diff --git a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts index d82caffce0343..271d34d800471 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts @@ -793,6 +793,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D restoreSnapshot: `${ELASTICSEARCH_DOCS}snapshots-restore-snapshot.html`, restoreSnapshotApi: `${ELASTICSEARCH_DOCS}restore-snapshot-api.html#restore-snapshot-api-request-body`, searchableSnapshotSharedCache: `${ELASTICSEARCH_DOCS}searchable-snapshots.html#searchable-snapshots-shared-cache`, + slmStart: `${ELASTICSEARCH_DOCS}slm-api-start.html`, }, ingest: { append: `${ELASTICSEARCH_DOCS}append-processor.html`, diff --git a/x-pack/plugins/snapshot_restore/README.md b/x-pack/plugins/snapshot_restore/README.md index b6b75631b07d9..48cd9d51f29a8 100644 --- a/x-pack/plugins/snapshot_restore/README.md +++ b/x-pack/plugins/snapshot_restore/README.md @@ -74,4 +74,12 @@ To run ES with plugins: 1. Run `yarn es snapshot` from the Kibana directory like normal, then exit out of process. 2. `cd .es/8.0.0` 3. `bin/elasticsearch-plugin install https://snapshots.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-8.0.0-SNAPSHOT.zip` -4. Run `bin/elasticsearch` from the `.es/8.0.0` directory. Otherwise, starting ES with `yarn es snapshot` would overwrite the plugins you just installed. \ No newline at end of file +4. Run `bin/elasticsearch` from the `.es/8.0.0` directory. Otherwise, starting ES with `yarn es snapshot` would overwrite the plugins you just installed. + + +### SLM status +Snapshot lifecycle management (SLM) status is "RUNNING" by default, but it can be stoped manually (for mantenaince purpouses, for instance). When this happens, no schedule snapshots will be taken. Docs: https://www.elastic.co/guide/en/elasticsearch/reference/master/snapshot-lifecycle-management-api.html + +* To check the SLM status you can run `GET _slm/status` +* To start SLM `POST /_slm/start` +* To stop SLM `POST /_slm/stop` diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/home.test.ts b/x-pack/plugins/snapshot_restore/__jest__/client_integration/home.test.ts index 222cc4e89c26e..a25dcf2a61341 100644 --- a/x-pack/plugins/snapshot_restore/__jest__/client_integration/home.test.ts +++ b/x-pack/plugins/snapshot_restore/__jest__/client_integration/home.test.ts @@ -512,6 +512,7 @@ describe('', () => { expect(row).toEqual([ '', // Checkbox snapshot.snapshot, // Snapshot + 'Complete', // The displayed message when stats is success REPOSITORY_NAME, // Repository snapshot.indices.length.toString(), // Indices snapshot.shards.total.toString(), // Shards @@ -738,7 +739,7 @@ describe('', () => { expect(find('snapshotDetail.version.value').text()).toBe(version); expect(find('snapshotDetail.uuid.value').text()).toBe(uuid); - expect(find('snapshotDetail.state.value').text()).toBe('Snapshot complete'); + expect(find('snapshotDetail.state.value').text()).toBe('Complete'); expect(find('snapshotDetail.includeGlobalState.value').text()).toEqual('Yes'); expect( find('snapshotDetail.snapshotFeatureStatesSummary.featureStatesList').text() @@ -788,10 +789,10 @@ describe('', () => { }; const mapStateToMessage = { - [SNAPSHOT_STATE.IN_PROGRESS]: 'Taking snapshot…', - [SNAPSHOT_STATE.FAILED]: 'Snapshot failed', - [SNAPSHOT_STATE.PARTIAL]: 'Partial failure ', - [SNAPSHOT_STATE.INCOMPATIBLE]: 'Incompatible version ', + [SNAPSHOT_STATE.IN_PROGRESS]: 'In progress', + [SNAPSHOT_STATE.FAILED]: 'Failed', + [SNAPSHOT_STATE.PARTIAL]: 'Partial', + [SNAPSHOT_STATE.SUCCESS]: 'Complete', }; // Call sequentially each state and verify that the message is ok diff --git a/x-pack/plugins/snapshot_restore/public/application/constants/index.ts b/x-pack/plugins/snapshot_restore/public/application/constants/index.ts index f319f1c995d0d..7ca0e3181aea0 100644 --- a/x-pack/plugins/snapshot_restore/public/application/constants/index.ts +++ b/x-pack/plugins/snapshot_restore/public/application/constants/index.ts @@ -17,7 +17,12 @@ export enum SNAPSHOT_STATE { SUCCESS = 'SUCCESS', FAILED = 'FAILED', PARTIAL = 'PARTIAL', - INCOMPATIBLE = 'INCOMPATIBLE', +} + +export enum SLM_STATE { + RUNNING = 'RUNNING', + STOPPING = 'STOPPING', + STOPPED = 'STOPPED', } const INDEX_SETTING_SUGGESTIONS: string[] = [ diff --git a/x-pack/plugins/snapshot_restore/public/application/lib/snapshot_list_params.ts b/x-pack/plugins/snapshot_restore/public/application/lib/snapshot_list_params.ts index 352eb658dd023..8c29a910c2d0c 100644 --- a/x-pack/plugins/snapshot_restore/public/application/lib/snapshot_list_params.ts +++ b/x-pack/plugins/snapshot_restore/public/application/lib/snapshot_list_params.ts @@ -15,7 +15,8 @@ export type SortField = | 'startTimeInMillis' | 'durationInMillis' | 'shards.total' - | 'shards.failed'; + | 'shards.failed' + | 'state'; export type SortDirection = Direction; diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx b/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx index aa7a35bb2c0b2..6a74b92c4ac57 100644 --- a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx +++ b/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx @@ -8,10 +8,11 @@ import React, { Fragment, useEffect } from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; import { RouteComponentProps } from 'react-router-dom'; -import { EuiButton, EuiCallOut, EuiSpacer, EuiPageTemplate } from '@elastic/eui'; +import { EuiButton, EuiCallOut, EuiSpacer, EuiPageTemplate, EuiLink } from '@elastic/eui'; import { reactRouterNavigate } from '@kbn/kibana-react-plugin/public'; +import { i18n } from '@kbn/i18n'; import { PageLoading, PageError, @@ -23,11 +24,15 @@ import { import { SlmPolicy } from '../../../../../common/types'; import { APP_SLM_CLUSTER_PRIVILEGES } from '../../../../../common'; -import { BASE_PATH, UIM_POLICY_LIST_LOAD } from '../../../constants'; +import { BASE_PATH, SLM_STATE, UIM_POLICY_LIST_LOAD } from '../../../constants'; import { useDecodedParams } from '../../../lib'; -import { useLoadPolicies, useLoadRetentionSettings } from '../../../services/http'; +import { + useLoadPolicies, + useLoadRetentionSettings, + useLoadSlmStatus, +} from '../../../services/http'; import { linkToAddPolicy, linkToPolicy } from '../../../services/navigation'; -import { useAppContext, useServices } from '../../../app_context'; +import { useAppContext, useCore, useServices } from '../../../app_context'; import { PolicyDetails } from './policy_details'; import { PolicyTable } from './policy_table'; @@ -52,6 +57,7 @@ export const PolicyList: React.FunctionComponent { return linkToPolicy(newPolicyName); }; @@ -157,9 +165,44 @@ export const PolicyList: React.FunctionComponent policy.schedule); const hasDuplicateSchedules = policySchedules.length > new Set(policySchedules).size; const hasRetention = Boolean(policies.find((policy: SlmPolicy) => policy.retention)); + const isSlmRunning = slmStatus?.operation_mode === SLM_STATE.RUNNING; content = (
+ {!isSlmRunning ? ( + + + } + color="warning" + iconType="warning" + > + + {i18n.translate('xpack.snapshotRestore.slmDocLink', { + defaultMessage: 'using the API.', + })} + + ), + }} + /> + + + + ) : null} + {hasDuplicateSchedules ? ( diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_table.tsx b/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_table.tsx index 69f9d1b2f9ffb..e4907709f7e1e 100644 --- a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_table.tsx +++ b/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_table.tsx @@ -29,6 +29,7 @@ import { import { SnapshotListParams, SortDirection, SortField } from '../../../../lib'; import { DataPlaceholder, FormattedDateTime, SnapshotDeleteProvider } from '../../../../components'; import { SnapshotSearchBar } from './snapshot_search_bar'; +import { SnapshotState } from '../snapshot_details/tabs/snapshot_state'; const getLastSuccessfulManagedSnapshot = ( snapshots: SnapshotDetails[] @@ -93,6 +94,15 @@ export const SnapshotTable: React.FunctionComponent = (props: Props) => { ), }, + { + field: 'state', + name: i18n.translate('xpack.snapshotRestore.snapshotList.table.stateColumnTitle', { + defaultMessage: 'State', + }), + truncateText: false, + sortable: false, + render: (state: string) => , + }, { field: 'repository', name: i18n.translate('xpack.snapshotRestore.snapshotList.table.repositoryColumnTitle', { diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/snapshot_state.tsx b/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/snapshot_state.tsx index e4629f1160f38..4b3a0215d7ec6 100644 --- a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/snapshot_state.tsx +++ b/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/snapshot_state.tsx @@ -5,57 +5,49 @@ * 2.0. */ -import React, { Fragment } from 'react'; +import React from 'react'; -import { EuiFlexGroup, EuiFlexItem, EuiIcon, EuiIconTip, EuiLoadingSpinner } from '@elastic/eui'; +import { EuiFlexGroup, EuiHealth, EuiIcon, EuiToolTip } from '@elastic/eui'; import { SNAPSHOT_STATE } from '../../../../../constants'; import { useServices } from '../../../../../app_context'; interface Props { state: any; + displayTooltipIcon: boolean; } -export const SnapshotState: React.FC = ({ state }) => { +export const SnapshotState: React.FC = ({ state, displayTooltipIcon }) => { const { i18n } = useServices(); const stateMap: any = { [SNAPSHOT_STATE.IN_PROGRESS]: { - icon: , + color: 'primary', label: i18n.translate('xpack.snapshotRestore.snapshotState.inProgressLabel', { - defaultMessage: 'Taking snapshot…', + defaultMessage: 'In progress', }), }, [SNAPSHOT_STATE.SUCCESS]: { - icon: , + color: 'success', label: i18n.translate('xpack.snapshotRestore.snapshotState.completeLabel', { - defaultMessage: 'Snapshot complete', + defaultMessage: 'Complete', }), }, [SNAPSHOT_STATE.FAILED]: { - icon: , + color: 'danger', label: i18n.translate('xpack.snapshotRestore.snapshotState.failedLabel', { - defaultMessage: 'Snapshot failed', + defaultMessage: 'Failed', }), }, [SNAPSHOT_STATE.PARTIAL]: { - icon: , + color: 'warning', label: i18n.translate('xpack.snapshotRestore.snapshotState.partialLabel', { - defaultMessage: 'Partial failure', + defaultMessage: 'Partial', }), tip: i18n.translate('xpack.snapshotRestore.snapshotState.partialTipDescription', { defaultMessage: `Global cluster state was stored, but at least one shard wasn't stored successfully. See the 'Failed indices' tab.`, }), }, - [SNAPSHOT_STATE.INCOMPATIBLE]: { - icon: , - label: i18n.translate('xpack.snapshotRestore.snapshotState.incompatibleLabel', { - defaultMessage: 'Incompatible version', - }), - tip: i18n.translate('xpack.snapshotRestore.snapshotState.incompatibleTipDescription', { - defaultMessage: `Snapshot was created with a version of Elasticsearch incompatible with the cluster's version.`, - }), - }, }; if (!stateMap[state]) { @@ -63,26 +55,16 @@ export const SnapshotState: React.FC = ({ state }) => { return state; } - const { icon, label, tip } = stateMap[state]; + const { color, label, tip } = stateMap[state]; - const iconTip = tip && ( - - {' '} - - - ); + const iconTip = displayTooltipIcon && tip && ; return ( - - {icon} - - - {/* Escape flex layout created by EuiFlexItem. */} -
- {label} - {iconTip} -
-
-
+ + + {label} + {iconTip} + + ); }; diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx b/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx index 00ea3fa27109b..cf1f9fd83a3d8 100644 --- a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx +++ b/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx @@ -94,7 +94,7 @@ export const TabSummary: React.FC = ({ snapshotDetails }) => { - + diff --git a/x-pack/plugins/snapshot_restore/public/application/services/http/policy_requests.ts b/x-pack/plugins/snapshot_restore/public/application/services/http/policy_requests.ts index f4e8abc34e993..945ceff724aef 100644 --- a/x-pack/plugins/snapshot_restore/public/application/services/http/policy_requests.ts +++ b/x-pack/plugins/snapshot_restore/public/application/services/http/policy_requests.ts @@ -131,3 +131,10 @@ export const executeRetention = async () => { uiMetricService.trackUiMetric(UIM_RETENTION_EXECUTE); return result; }; + +export const useLoadSlmStatus = () => { + return useRequest({ + path: `${API_BASE_PATH}policies/slm_status`, + method: 'get', + }); +}; diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/policy.test.ts b/x-pack/plugins/snapshot_restore/server/routes/api/policy.test.ts index 3d4f0f5505b30..873d270a206ca 100644 --- a/x-pack/plugins/snapshot_restore/server/routes/api/policy.test.ts +++ b/x-pack/plugins/snapshot_restore/server/routes/api/policy.test.ts @@ -9,6 +9,7 @@ import { addBasePath } from '../helpers'; import { registerPolicyRoutes } from './policy'; import { RouterMock, routeDependencies, RequestMock } from '../../test/helpers'; import { ResolveIndexResponseFromES } from '../../types'; +import { SlmGetStatusResponse } from '@elastic/elasticsearch/lib/api/types'; describe('[Snapshot and Restore API Routes] Policy', () => { const mockEsPolicy = { @@ -56,6 +57,7 @@ describe('[Snapshot and Restore API Routes] Policy', () => { const executeLifecycleFn = router.getMockApiFn('slm.executeLifecycle'); const deleteLifecycleFn = router.getMockApiFn('slm.deleteLifecycle'); const resolveIndicesFn = router.getMockApiFn('indices.resolveIndex'); + const getStatusFn = router.getMockApiFn('slm.getStatus'); beforeAll(() => { registerPolicyRoutes({ @@ -437,4 +439,25 @@ describe('[Snapshot and Restore API Routes] Policy', () => { await expect(router.runRequest(mockRequest)).rejects.toThrowError(); }); }); + + describe('getSlmStatusHandler', () => { + const mockRequest: RequestMock = { + method: 'get', + path: addBasePath('policies/slm_status'), + }; + + it('should return successful ES response', async () => { + const mockEsResponse: SlmGetStatusResponse = { operation_mode: 'RUNNING' }; + getStatusFn.mockResolvedValue(mockEsResponse); + + const expectedResponse = { ...mockEsResponse }; + await expect(router.runRequest(mockRequest)).resolves.toEqual({ body: expectedResponse }); + }); + + it('should throw if ES error', async () => { + getStatusFn.mockRejectedValue(new Error()); + + await expect(router.runRequest(mockRequest)).rejects.toThrowError(); + }); + }); }); diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/policy.ts b/x-pack/plugins/snapshot_restore/server/routes/api/policy.ts index 51bdf96361a24..9f948d0d2524a 100644 --- a/x-pack/plugins/snapshot_restore/server/routes/api/policy.ts +++ b/x-pack/plugins/snapshot_restore/server/routes/api/policy.ts @@ -304,4 +304,20 @@ export function registerPolicyRoutes({ return res.ok({ body: response }); }) ); + + // Get snapshot lifecycle management status + router.get( + { path: addBasePath('policies/slm_status'), validate: false }, + license.guardApiRoute(async (ctx, req, res) => { + const { client: clusterClient } = (await ctx.core).elasticsearch; + + try { + const response = await clusterClient.asCurrentUser.slm.getStatus(); + + return res.ok({ body: response }); + } catch (e) { + return handleEsError({ error: e, response: res }); + } + }) + ); } diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index 9883c1b53fde6..397c73a512c10 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -44408,8 +44408,6 @@ "xpack.snapshotRestore.snapshots.breadcrumbTitle": "Snapshots", "xpack.snapshotRestore.snapshotState.completeLabel": "Snapshot terminé", "xpack.snapshotRestore.snapshotState.failedLabel": "Snapshot échoué", - "xpack.snapshotRestore.snapshotState.incompatibleLabel": "Version incompatible", - "xpack.snapshotRestore.snapshotState.incompatibleTipDescription": "Le snapshot a été créé avec une version d'Elasticsearch incompatible avec la version du cluster.", "xpack.snapshotRestore.snapshotState.inProgressLabel": "Prise de snapshot…", "xpack.snapshotRestore.snapshotState.partialLabel": "Échec partiel", "xpack.snapshotRestore.snapshotState.partialTipDescription": "L'état du cluster global a été stocké, mais au moins une partition n'a pas été stockée correctement. Consultez l'onglet \"Index échoués\".", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index e0214b2fa0834..37f24051c6001 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -44258,8 +44258,6 @@ "xpack.snapshotRestore.snapshots.breadcrumbTitle": "スナップショット", "xpack.snapshotRestore.snapshotState.completeLabel": "スナップショット完了", "xpack.snapshotRestore.snapshotState.failedLabel": "スナップショット失敗", - "xpack.snapshotRestore.snapshotState.incompatibleLabel": "互換性のないバージョン", - "xpack.snapshotRestore.snapshotState.incompatibleTipDescription": "このスナップショットはクラスターのバージョンと互換性のないバージョンの Elasticsearch で作成されました。", "xpack.snapshotRestore.snapshotState.inProgressLabel": "スナップショットを撮影中…", "xpack.snapshotRestore.snapshotState.partialLabel": "一部失敗", "xpack.snapshotRestore.snapshotState.partialTipDescription": "グローバルクラスターステータスが保存されましたが、1 つまたは複数のシャードの保存に失敗しました。「失敗したインシデント」タブをご覧ください。", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 19868ab9d392e..67f0cee7591ff 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -43615,8 +43615,6 @@ "xpack.snapshotRestore.snapshots.breadcrumbTitle": "快照", "xpack.snapshotRestore.snapshotState.completeLabel": "快照完成", "xpack.snapshotRestore.snapshotState.failedLabel": "快照失败", - "xpack.snapshotRestore.snapshotState.incompatibleLabel": "不兼容版本", - "xpack.snapshotRestore.snapshotState.incompatibleTipDescription": "创建快照所用的 Elasticsearch 版本与集群的版本不兼容。", "xpack.snapshotRestore.snapshotState.inProgressLabel": "正在拍取快照……", "xpack.snapshotRestore.snapshotState.partialLabel": "部分失败", "xpack.snapshotRestore.snapshotState.partialTipDescription": "全局集群状态已存储,但至少一个分片未成功存储。请参阅'失败的索引'选项卡。", diff --git a/x-pack/test/api_integration/apis/management/snapshot_restore/lib/elasticsearch.ts b/x-pack/test/api_integration/apis/management/snapshot_restore/lib/elasticsearch.ts index b5b0bc053f3de..f1fa340f9ae2e 100644 --- a/x-pack/test/api_integration/apis/management/snapshot_restore/lib/elasticsearch.ts +++ b/x-pack/test/api_integration/apis/management/snapshot_restore/lib/elasticsearch.ts @@ -101,6 +101,10 @@ export const registerEsHelpers = (getService: FtrProviderContext['getService']) }); }; + const startSlm = () => { + return es.slm.start(); + }; + return { createRepository, createPolicy, @@ -110,5 +114,6 @@ export const registerEsHelpers = (getService: FtrProviderContext['getService']) executePolicy, createSnapshot, deleteSnapshots, + startSlm, }; }; diff --git a/x-pack/test/api_integration/apis/management/snapshot_restore/policies.ts b/x-pack/test/api_integration/apis/management/snapshot_restore/policies.ts index e0734680887d2..2e771616f9d1b 100644 --- a/x-pack/test/api_integration/apis/management/snapshot_restore/policies.ts +++ b/x-pack/test/api_integration/apis/management/snapshot_restore/policies.ts @@ -16,7 +16,7 @@ const REPO_NAME = 'test_repo'; export default function ({ getService }: FtrProviderContext) { const supertest = getService('supertest'); - const { createRepository, createPolicy, deletePolicy, cleanupPolicies, getPolicy } = + const { createRepository, createPolicy, deletePolicy, cleanupPolicies, getPolicy, startSlm } = registerEsHelpers(getService); describe('SLM policies', function () { @@ -229,5 +229,29 @@ export default function ({ getService }: FtrProviderContext) { }); }); }); + + describe('Show info', () => { + before(async () => { + // Make sure SLM is running + try { + await startSlm(); + } catch (err) { + // eslint-disable-next-line no-console + console.log('[Setup error] Error starting Slm'); + throw err; + } + }); + + it('should get slm status', async () => { + const { body } = await supertest + .get(`${API_BASE_PATH}/policies/slm_status`) + .set('kbn-xsrf', 'xxx') + .expect(200); + + expect(body).to.eql({ + operation_mode: 'RUNNING', + }); + }); + }); }); } From c3484a6ef3feacc72e62af3a613dc0f5dc6dd6cf Mon Sep 17 00:00:00 2001 From: "elastic-renovate-prod[bot]" <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 03:06:33 -0600 Subject: [PATCH 012/103] Update dependency @redocly/cli to ^1.25.15 (main) (#203253) --- oas_docs/package-lock.json | 2 +- oas_docs/package.json | 2 +- package.json | 2 +- yarn.lock | 28 ++++++++++++++-------------- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/oas_docs/package-lock.json b/oas_docs/package-lock.json index ab921922f0d15..b12374f23e3bf 100644 --- a/oas_docs/package-lock.json +++ b/oas_docs/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@redocly/cli": "^1.25.14", + "@redocly/cli": "^1.25.15", "bump-cli": "^2.8.4" } }, diff --git a/oas_docs/package.json b/oas_docs/package.json index 9510dc4d31dc7..67289885b4ba3 100644 --- a/oas_docs/package.json +++ b/oas_docs/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "bump-cli": "^2.8.4", - "@redocly/cli": "^1.25.14" + "@redocly/cli": "^1.25.15" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/package.json b/package.json index c32e875489aba..c5026d5d626dc 100644 --- a/package.json +++ b/package.json @@ -1518,7 +1518,7 @@ "@octokit/rest": "^17.11.2", "@parcel/watcher": "^2.1.0", "@playwright/test": "1.49.0", - "@redocly/cli": "^1.25.14", + "@redocly/cli": "^1.25.15", "@statoscope/webpack-plugin": "^5.28.2", "@storybook/addon-a11y": "^6.5.16", "@storybook/addon-actions": "^6.5.16", diff --git a/yarn.lock b/yarn.lock index 7fe1424cda3cc..eae7eb82b057e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9136,12 +9136,12 @@ require-from-string "^2.0.2" uri-js-replace "^1.0.1" -"@redocly/cli@^1.25.14": - version "1.25.14" - resolved "https://registry.yarnpkg.com/@redocly/cli/-/cli-1.25.14.tgz#05810916bac2193137020ffbfa0bd766caca2258" - integrity sha512-HRDOoN3YpFe4+2rWrL/uTqRUDqqyrRtj1MVHFJ0heKTfBLOFEEfXXUYExw7R6yoiY3+GnptR96wePeFpH1gheg== +"@redocly/cli@^1.25.15": + version "1.25.15" + resolved "https://registry.yarnpkg.com/@redocly/cli/-/cli-1.25.15.tgz#12e487dd7a45ceda38655f2a93721ac15868f4e6" + integrity sha512-ZD743CJX4FpMJvGNE9Cm3gNn8LNRzRjyrYNVPi1C4iIEtrFkr5Zq791qv6gUFehWns71svbVyzWD9ftVTdfqYg== dependencies: - "@redocly/openapi-core" "1.25.14" + "@redocly/openapi-core" "1.25.15" abort-controller "^3.0.0" chokidar "^3.5.1" colorette "^1.2.0" @@ -9161,18 +9161,18 @@ styled-components "^6.0.7" yargs "17.0.1" -"@redocly/config@^0.16.0": - version "0.16.0" - resolved "https://registry.yarnpkg.com/@redocly/config/-/config-0.16.0.tgz#4b7700a5cb6e04bc6d6fdb94b871c9e260a1fba6" - integrity sha512-t9jnODbUcuANRSl/K4L9nb12V+U5acIHnVSl26NWrtSdDZVtoqUXk2yGFPZzohYf62cCfEQUT8ouJ3bhPfpnJg== +"@redocly/config@^0.17.0": + version "0.17.1" + resolved "https://registry.yarnpkg.com/@redocly/config/-/config-0.17.1.tgz#2def04cecf440dd78c0f102f53f3444fac050768" + integrity sha512-CEmvaJuG7pm2ylQg53emPmtgm4nW2nxBgwXzbVEHpGas/lGnMyN8Zlkgiz6rPw0unASg6VW3wlz27SOL5XFHYQ== -"@redocly/openapi-core@1.25.14", "@redocly/openapi-core@^1.4.0": - version "1.25.14" - resolved "https://registry.yarnpkg.com/@redocly/openapi-core/-/openapi-core-1.25.14.tgz#2c0c33e0226923ed428e8d43f37f80d48b26c8d1" - integrity sha512-B9ewI0KVC1yqyeoQzErVnV4kdnxaYfwRMctxk/YwJxZZc/nVZ3VOVE+r2kXIFaGbUgc4ZHFn+aE2qvzCRXTXHw== +"@redocly/openapi-core@1.25.15", "@redocly/openapi-core@^1.4.0": + version "1.25.15" + resolved "https://registry.yarnpkg.com/@redocly/openapi-core/-/openapi-core-1.25.15.tgz#61d82b054340e080998efc3f701ca55c20f7fdb8" + integrity sha512-/dpr5zpGj2t1Bf7EIXEboRZm1hsJZBQfv3Q1pkivtdAEg3if2khv+b9gY68aquC6cM/2aQY2kMLy8LlY2tn+Og== dependencies: "@redocly/ajv" "^8.11.2" - "@redocly/config" "^0.16.0" + "@redocly/config" "^0.17.0" colorette "^1.2.0" https-proxy-agent "^7.0.4" js-levenshtein "^1.1.6" From eb1c8fc63f77a166dbf8c9f2485c39f722029e39 Mon Sep 17 00:00:00 2001 From: Bharat Pasupula <123897612+bhapas@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:23:05 +0100 Subject: [PATCH 013/103] [Automatic Import] Add datastream name as dataset value in manifest (#203106) ## Release note Use Data stream name for data_stream.dataset value in input manifests ## Summary Closes https://github.com/elastic/kibana/issues/201478 This PR uses the user-supplied data stream name as the `data_stream.dataset` value instead of a generic placeholder. Custom Fleet integrations default to a generic dataset (data_stream.dataset) value - something like `http_endpoint.generic.` Since users configure their own options for a custom integration, this workflow makes sense. Elastic integrations, on the other hand, default to a predetermined naming convention based on the integration package + datastream name for dataset - something like github.issues for the issues data stream from the Github package. Hence defaulting it to `package_name.datastream_name` Screenshot 2024-12-05 at 15 12 32 Screenshot 2024-12-05 at 15 12 16 ### Checklist Check the PR satisfies following conditions. - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --- .../server/templates/manifest/cel_manifest.yml.njk | 3 ++- .../server/templates/manifest/http_endpoint_manifest.yml.njk | 3 ++- .../server/templates/manifest/kafka_manifest.yml.njk | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/integration_assistant/server/templates/manifest/cel_manifest.yml.njk b/x-pack/plugins/integration_assistant/server/templates/manifest/cel_manifest.yml.njk index eae1ebaa3be38..7023cda923fdf 100644 --- a/x-pack/plugins/integration_assistant/server/templates/manifest/cel_manifest.yml.njk +++ b/x-pack/plugins/integration_assistant/server/templates/manifest/cel_manifest.yml.njk @@ -10,7 +10,8 @@ title: Dataset name description: | Dataset to write data to. Changing the dataset will send the data to a different index. You can't use `-` in the name of a dataset and only valid characters for [Elasticsearch index names](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html). - default: cel.cel + default: | + {{ package_name }}.{{ data_stream_name }} required: true show_user: true - name: pipeline diff --git a/x-pack/plugins/integration_assistant/server/templates/manifest/http_endpoint_manifest.yml.njk b/x-pack/plugins/integration_assistant/server/templates/manifest/http_endpoint_manifest.yml.njk index b35471ad4a631..6846b07328f3f 100644 --- a/x-pack/plugins/integration_assistant/server/templates/manifest/http_endpoint_manifest.yml.njk +++ b/x-pack/plugins/integration_assistant/server/templates/manifest/http_endpoint_manifest.yml.njk @@ -32,7 +32,8 @@ title: Dataset name description: | Dataset to write data to. Changing the dataset will send the data to a different index. You can't use `-` in the name of a dataset and only valid characters for [Elasticsearch index names](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html). - default: http_endpoint.generic + default: | + {{ package_name }}.{{ data_stream_name }} required: true show_user: true - name: pipeline diff --git a/x-pack/plugins/integration_assistant/server/templates/manifest/kafka_manifest.yml.njk b/x-pack/plugins/integration_assistant/server/templates/manifest/kafka_manifest.yml.njk index a5e7f058c9471..2492058788eba 100644 --- a/x-pack/plugins/integration_assistant/server/templates/manifest/kafka_manifest.yml.njk +++ b/x-pack/plugins/integration_assistant/server/templates/manifest/kafka_manifest.yml.njk @@ -26,7 +26,8 @@ title: Dataset name description: | Dataset to write data to. Changing the dataset will send the data to a different index. You can't use `-` in the name of a dataset and only valid characters for [Elasticsearch index names](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html). - default: kafka_log.generic + default: | + {{ package_name }}.{{ data_stream_name }} required: true show_user: true - name: pipeline From 313f973aecac80f7eb6340ba517870999e0da1a3 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 11:33:55 +0100 Subject: [PATCH 014/103] Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-esql` (#202722) ## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > This PR has been auto-generated. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 2 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/esql` | `src/platform/plugins/shared/esql` | | `@kbn/esql-datagrid` | `src/platform/plugins/shared/esql_datagrid` | #### 5 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/esql-ast` | `src/platform/packages/shared/kbn-esql-ast` | | `@kbn/esql-editor` | `src/platform/packages/private/kbn-esql-editor` | | `@kbn/esql-utils` | `src/platform/packages/shared/kbn-esql-utils` | | `@kbn/esql-validation-autocomplete` | `src/platform/packages/shared/kbn-esql-validation-autocomplete` | | `@kbn/language-documentation` | `src/platform/packages/private/kbn-language-documentation` |
Updated references ``` ./.buildkite/scripts/steps/esql_generate_function_metadata.sh ./.buildkite/scripts/steps/esql_grammar_sync.sh ./.eslintignore ./.eslintrc.js ./.i18nrc.json ./docs/developer/plugin-list.asciidoc ./examples/esql_ast_inspector/public/plugin.ts ./examples/esql_validation_example/public/plugin.ts ./package.json ./packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts ./packages/kbn-monaco/BUILD.bazel ./packages/kbn-repo-packages/package-map.json ./packages/kbn-ts-projects/config-paths.json ./packages/kbn-ui-shared-deps-src/BUILD.bazel ./src/dev/storybook/aliases.ts ./src/platform/packages/private/kbn-esql-editor/jest.config.js ./src/platform/packages/private/kbn-language-documentation/jest.config.js ./src/platform/packages/private/kbn-language-documentation/package.json ./src/platform/packages/shared/kbn-esql-ast/jest.config.js ./src/platform/packages/shared/kbn-esql-utils/jest.config.js ./src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md ./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js ./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js ./src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json ./src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts ./src/platform/plugins/shared/esql/jest.config.js ./src/platform/plugins/shared/esql_datagrid/jest.config.js ./tsconfig.base.json ./yarn.lock ```
Updated relative paths ``` src/platform/packages/private/kbn-esql-editor/jest.config.js:12 src/platform/packages/private/kbn-esql-editor/tsconfig.json:2 src/platform/packages/private/kbn-language-documentation/jest.config.js:12 src/platform/packages/private/kbn-language-documentation/package.json:12 src/platform/packages/private/kbn-language-documentation/tsconfig.json:2 src/platform/packages/shared/kbn-esql-ast/jest.config.js:12 src/platform/packages/shared/kbn-esql-ast/tsconfig.json:2 src/platform/packages/shared/kbn-esql-utils/jest.config.js:12 src/platform/packages/shared/kbn-esql-utils/tsconfig.json:2 src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js:12 src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js:12 src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:10 src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:11 src/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts:389 src/platform/packages/shared/kbn-esql-validation-autocomplete/tsconfig.json:2 src/platform/plugins/shared/esql/jest.config.js:12 src/platform/plugins/shared/esql/tsconfig.json:2 src/platform/plugins/shared/esql/tsconfig.json:7 src/platform/plugins/shared/esql_datagrid/jest.config.js:12 src/platform/plugins/shared/esql_datagrid/tsconfig.json:2 src/platform/plugins/shared/esql_datagrid/tsconfig.json:7 ```
Script errors ``` ```
--------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Rudolf Meijering --- .../steps/esql_generate_function_metadata.sh | 4 +-- .buildkite/scripts/steps/esql_grammar_sync.sh | 6 ++-- .eslintignore | 2 +- .eslintrc.js | 2 +- .github/CODEOWNERS | 14 +++++----- .i18nrc.json | 12 ++++---- docs/developer/plugin-list.asciidoc | 4 +-- examples/esql_ast_inspector/public/plugin.ts | 2 +- .../esql_validation_example/public/plugin.ts | 2 +- package.json | 14 +++++----- packages/kbn-monaco/BUILD.bazel | 4 +-- packages/kbn-ui-shared-deps-src/BUILD.bazel | 2 +- src/dev/storybook/aliases.ts | 5 ++-- .../kbn-esql-editor/.storybook/main.js | 0 .../kbn-esql-editor/.storybook/preview.js | 0 .../private}/kbn-esql-editor/README.md | 0 .../private}/kbn-esql-editor/index.ts | 0 .../private}/kbn-esql-editor/jest.config.js | 6 ++-- .../private}/kbn-esql-editor/kibana.jsonc | 0 .../private}/kbn-esql-editor/package.json | 0 .../private}/kbn-esql-editor/setup_tests.ts | 0 .../src/__stories__/esql_editor.stories.mdx | 0 .../discard_starred_query_modal.tsx | 0 .../discard_starred_query/index.tsx | 0 .../editor_footer/errors_warnings_popover.tsx | 0 .../esql_starred_queries_service.test.tsx | 0 .../esql_starred_queries_service.tsx | 0 .../src/editor_footer/feedback_component.tsx | 0 .../history_starred_queries.test.tsx | 0 .../editor_footer/history_starred_queries.tsx | 0 .../history_starred_queries_helpers.test.ts | 0 .../history_starred_queries_helpers.ts | 0 .../src/editor_footer/index.tsx | 0 .../editor_footer/query_wrap_component.tsx | 0 .../src/editor_footer/tooltip_wrapper.tsx | 0 .../kbn-esql-editor/src/esql_editor.styles.ts | 0 .../kbn-esql-editor/src/esql_editor.test.tsx | 0 .../kbn-esql-editor/src/esql_editor.tsx | 0 .../src/fetch_fields_from_esql.ts | 0 .../kbn-esql-editor/src/helpers.test.ts | 0 .../private}/kbn-esql-editor/src/helpers.ts | 0 .../src/history_local_storage.test.ts | 0 .../src/history_local_storage.ts | 0 .../kbn-esql-editor/src/overwrite.scss | 0 .../kbn-esql-editor/src/resizable_button.tsx | 0 .../private}/kbn-esql-editor/src/types.ts | 0 .../private}/kbn-esql-editor/tsconfig.json | 2 +- .../.storybook/main.js | 0 .../kbn-language-documentation/README.md | 0 .../kbn-language-documentation/index.ts | 0 .../jest.config.js | 4 +-- .../kbn-language-documentation/kibana.jsonc | 0 .../kbn-language-documentation/package.json | 2 +- .../scripts/generate_esql_docs.ts | 0 .../kbn-language-documentation/setup_tests.ts | 0 ...language_documentation_popover.stories.tsx | 0 .../src/components/as_flyout/index.test.tsx | 0 .../src/components/as_flyout/index.tsx | 0 .../src/components/as_inline/index.test.tsx | 0 .../src/components/as_inline/index.tsx | 0 .../src/components/as_popover/index.tsx | 0 .../as_popover/popover_content.test.tsx | 0 .../components/as_popover/popover_content.tsx | 0 .../src/components/shared/documentation.scss | 0 .../shared/documentation_content.tsx | 0 .../shared/documentation_navigation.tsx | 0 .../src/components/shared/index.ts | 0 .../sections/esql_documentation_sections.tsx | 0 .../generated/aggregation_functions.tsx | 0 .../sections/generated/scalar_functions.tsx | 0 .../src/sections/index.ts | 0 .../kbn-language-documentation/src/types.ts | 0 .../src/utils/element_to_string.test.tsx | 0 .../src/utils/element_to_string.ts | 0 .../src/utils/get_filtered_groups.test.tsx | 0 .../src/utils/get_filtered_groups.ts | 0 .../kbn-language-documentation/tsconfig.json | 2 +- .../packages/shared}/kbn-esql-ast/BUILD.bazel | 0 .../packages/shared}/kbn-esql-ast/README.md | 0 .../packages/shared}/kbn-esql-ast/index.ts | 0 .../shared/kbn-esql-ast}/jest.config.js | 4 +-- .../shared}/kbn-esql-ast/kibana.jsonc | 0 .../shared}/kbn-esql-ast/package.json | 0 .../scripts/antlr4_tools/.gitignore | 0 .../scripts/antlr4_tools/README.md | 0 .../scripts/antlr4_tools/brewfile | 0 .../scripts/esql_update_ast_script.js | 0 .../scripts/fix_generated_antlr.js | 0 .../shared}/kbn-esql-ast/src/antlr/.gitignore | 0 .../kbn-esql-ast/src/antlr/esql_lexer.g4 | 0 .../kbn-esql-ast/src/antlr/esql_lexer.interp | 0 .../kbn-esql-ast/src/antlr/esql_lexer.tokens | 0 .../kbn-esql-ast/src/antlr/esql_lexer.ts | 0 .../kbn-esql-ast/src/antlr/esql_parser.g4 | 0 .../kbn-esql-ast/src/antlr/esql_parser.interp | 0 .../kbn-esql-ast/src/antlr/esql_parser.tokens | 0 .../kbn-esql-ast/src/antlr/esql_parser.ts | 0 .../src/antlr/esql_parser_listener.ts | 0 .../kbn-esql-ast/src/antlr/lexer_config.js | 0 .../kbn-esql-ast/src/antlr/parser_config.js | 0 .../shared}/kbn-esql-ast/src/ast/constants.ts | 0 .../shared}/kbn-esql-ast/src/ast/helpers.ts | 0 .../shared}/kbn-esql-ast/src/ast/util.ts | 0 .../kbn-esql-ast/src/builder/README.md | 0 .../kbn-esql-ast/src/builder/builder.test.ts | 0 .../kbn-esql-ast/src/builder/builder.ts | 0 .../shared}/kbn-esql-ast/src/builder/index.ts | 0 .../shared}/kbn-esql-ast/src/builder/types.ts | 0 .../shared}/kbn-esql-ast/src/mutate/README.md | 0 .../src/mutate/commands/from/index.ts | 0 .../src/mutate/commands/from/metadata.test.ts | 0 .../src/mutate/commands/from/metadata.ts | 0 .../src/mutate/commands/from/sources.test.ts | 0 .../src/mutate/commands/from/sources.ts | 0 .../kbn-esql-ast/src/mutate/commands/index.ts | 0 .../src/mutate/commands/limit/index.test.ts | 0 .../src/mutate/commands/limit/index.ts | 0 .../src/mutate/commands/sort/index.test.ts | 0 .../src/mutate/commands/sort/index.ts | 0 .../src/mutate/commands/stats/index.test.ts | 0 .../src/mutate/commands/stats/index.ts | 0 .../src/mutate/commands/where/index.test.ts | 0 .../src/mutate/commands/where/index.ts | 0 .../commands/where/index_scenarios.test.ts | 0 .../generic/commands/args/index.test.ts | 0 .../src/mutate/generic/commands/args/index.ts | 0 .../src/mutate/generic/commands/index.test.ts | 0 .../src/mutate/generic/commands/index.ts | 0 .../generic/commands/options/index.test.ts | 0 .../mutate/generic/commands/options/index.ts | 0 .../kbn-esql-ast/src/mutate/generic/index.ts | 0 .../shared}/kbn-esql-ast/src/mutate/index.ts | 0 .../shared}/kbn-esql-ast/src/mutate/types.ts | 0 .../shared}/kbn-esql-ast/src/mutate/util.ts | 0 .../shared}/kbn-esql-ast/src/parser/README.md | 0 .../__tests__/ast_parser.source.test.ts | 0 .../src/parser/__tests__/columns.test.ts | 0 .../parser/__tests__/command_options.test.ts | 0 .../src/parser/__tests__/commands.test.ts | 0 .../src/parser/__tests__/comments.test.ts | 0 .../src/parser/__tests__/from.test.ts | 0 .../src/parser/__tests__/function.test.ts | 0 .../src/parser/__tests__/inlinecast.test.ts | 0 .../src/parser/__tests__/join.test.ts | 0 .../src/parser/__tests__/literal.test.ts | 0 .../src/parser/__tests__/metrics.test.ts | 0 .../src/parser/__tests__/params.test.ts | 0 .../src/parser/__tests__/rename.test.ts | 0 .../src/parser/__tests__/sort.test.ts | 0 .../src/parser/__tests__/where.test.ts | 0 .../kbn-esql-ast/src/parser/constants.ts | 0 .../src/parser/esql_ast_builder_listener.ts | 0 .../src/parser/esql_error_listener.ts | 0 .../kbn-esql-ast/src/parser/factories.ts | 0 .../kbn-esql-ast/src/parser/factories/join.ts | 0 .../kbn-esql-ast/src/parser/formatting.ts | 0 .../kbn-esql-ast/src/parser/helpers.ts | 0 .../shared}/kbn-esql-ast/src/parser/index.ts | 0 .../shared}/kbn-esql-ast/src/parser/parser.ts | 0 .../shared}/kbn-esql-ast/src/parser/types.ts | 0 .../kbn-esql-ast/src/parser/walkers.ts | 0 .../kbn-esql-ast/src/pretty_print/README.md | 0 .../basic_pretty_printer.comments.test.ts | 0 .../__tests__/basic_pretty_printer.test.ts | 0 .../src/pretty_print/__tests__/fixtures.ts | 0 .../wrapping_pretty_printer.comments.test.ts | 0 .../__tests__/wrapping_pretty_printer.test.ts | 0 .../src/pretty_print/basic_pretty_printer.ts | 0 .../src/pretty_print/constants.ts | 0 .../kbn-esql-ast/src/pretty_print/helpers.ts | 0 .../kbn-esql-ast/src/pretty_print/index.ts | 0 .../src/pretty_print/leaf_printer.ts | 0 .../pretty_print/wrapping_pretty_printer.ts | 0 .../shared}/kbn-esql-ast/src/query/index.ts | 0 .../shared}/kbn-esql-ast/src/query/query.ts | 0 .../shared}/kbn-esql-ast/src/synth/README.md | 0 .../src/synth/__tests__/cmd.test.ts | 0 .../src/synth/__tests__/expr_function.test.ts | 0 .../src/synth/__tests__/expr_template.test.ts | 0 .../src/synth/__tests__/scenarios.test.ts | 0 .../shared}/kbn-esql-ast/src/synth/cmd.ts | 0 .../shared}/kbn-esql-ast/src/synth/expr.ts | 0 .../shared}/kbn-esql-ast/src/synth/helpers.ts | 0 .../shared}/kbn-esql-ast/src/synth/index.ts | 0 .../shared}/kbn-esql-ast/src/synth/types.ts | 0 .../shared}/kbn-esql-ast/src/types.ts | 0 .../kbn-esql-ast/src/visitor/README.md | 0 .../src/visitor/__tests__/commands.test.ts | 0 .../src/visitor/__tests__/expressions.test.ts | 0 .../src/visitor/__tests__/scenarios.test.ts | 0 .../src/visitor/__tests__/visitor.test.ts | 0 .../kbn-esql-ast/src/visitor/contexts.ts | 0 .../src/visitor/global_visitor_context.ts | 0 .../shared}/kbn-esql-ast/src/visitor/index.ts | 0 .../shared}/kbn-esql-ast/src/visitor/types.ts | 0 .../shared}/kbn-esql-ast/src/visitor/utils.ts | 0 .../kbn-esql-ast/src/visitor/visitor.ts | 0 .../shared}/kbn-esql-ast/src/walker/README.md | 0 .../kbn-esql-ast/src/walker/helpers.ts | 0 .../shared}/kbn-esql-ast/src/walker/index.ts | 0 .../kbn-esql-ast/src/walker/walker.test.ts | 0 .../shared}/kbn-esql-ast/src/walker/walker.ts | 0 .../shared}/kbn-esql-ast/tsconfig.json | 2 +- .../packages/shared}/kbn-esql-utils/README.md | 0 .../shared}/kbn-esql-utils/constants.ts | 0 .../packages/shared}/kbn-esql-utils/index.ts | 0 .../shared/kbn-esql-utils}/jest.config.js | 4 +-- .../shared}/kbn-esql-utils/kibana.jsonc | 0 .../shared}/kbn-esql-utils/package.json | 0 .../shared}/kbn-esql-utils/src/index.ts | 0 .../shared}/kbn-esql-utils/src/types.ts | 0 .../src/utils/append_to_query.test.ts | 0 .../src/utils/append_to_query.ts | 0 .../src/utils/esql_fields_utils.test.ts | 0 .../src/utils/esql_fields_utils.ts | 0 .../src/utils/get_esql_adhoc_dataview.ts | 0 .../utils/get_esql_with_safe_limit.test.ts | 0 .../src/utils/get_esql_with_safe_limit.ts | 0 .../src/utils/get_initial_esql_query.test.ts | 0 .../src/utils/get_initial_esql_query.ts | 0 .../src/utils/query_cannot_be_sampled.test.ts | 0 .../src/utils/query_cannot_be_sampled.ts | 0 .../src/utils/query_parsing_helpers.test.ts | 0 .../src/utils/query_parsing_helpers.ts | 0 .../src/utils/run_query.test.ts | 0 .../kbn-esql-utils/src/utils/run_query.ts | 0 .../kbn-esql-utils/src/utils/sha256.ts | 0 .../shared}/kbn-esql-utils/tsconfig.json | 2 +- .../BUILD.bazel | 0 .../README.md | 14 +++++----- .../kbn-esql-validation-autocomplete/index.ts | 0 .../jest.config.js | 4 +-- .../jest.integration.config.js | 4 +-- .../kibana.jsonc | 0 .../package.json | 4 +-- .../scripts/generate_function_definitions.ts | 2 +- .../src/__tests__/helpers.ts | 0 .../autocomplete.command.from.test.ts | 0 .../autocomplete.command.sort.test.ts | 0 .../autocomplete.command.stats.test.ts | 0 .../autocomplete.command.where.test.ts | 0 .../autocomplete.suggest.eval.test.ts | 0 .../__tests__/autocomplete.suggest.test.ts | 0 .../src/autocomplete/__tests__/constants.ts | 0 .../src/autocomplete/__tests__/helpers.ts | 0 .../hidden_functions_and_commands.test.ts | 0 .../__tests__/suggestions_in_comments.test.ts | 0 .../src/autocomplete/autocomplete.test.ts | 0 .../src/autocomplete/autocomplete.ts | 0 .../src/autocomplete/commands/drop/index.ts | 0 .../src/autocomplete/commands/keep/index.ts | 0 .../autocomplete/commands/sort/helper.test.ts | 0 .../src/autocomplete/commands/sort/helper.ts | 0 .../src/autocomplete/commands/sort/index.ts | 0 .../src/autocomplete/commands/stats/index.ts | 0 .../src/autocomplete/commands/stats/util.ts | 0 .../src/autocomplete/commands/where/index.ts | 0 .../src/autocomplete/commands/where/util.ts | 0 .../src/autocomplete/complete_items.ts | 0 .../src/autocomplete/documentation_util.ts | 0 .../src/autocomplete/factories.ts | 0 .../src/autocomplete/helper.test.ts | 0 .../src/autocomplete/helper.ts | 2 +- .../recommended_queries/suggestions.ts | 0 .../recommended_queries/templates.ts | 0 .../src/autocomplete/types.ts | 0 .../utils/ecs_metadata_helper.test.ts | 0 .../autocomplete/utils/ecs_metadata_helper.ts | 0 .../src/code_actions/actions.test.ts | 0 .../src/code_actions/actions.ts | 0 .../src/code_actions/types.ts | 0 .../src/code_actions/utils.ts | 0 .../src/definitions/builtin.ts | 0 .../src/definitions/commands.ts | 0 .../generated/aggregation_functions.ts | 0 .../definitions/generated/scalar_functions.ts | 0 .../src/definitions/grouping.ts | 0 .../src/definitions/helpers.ts | 0 .../src/definitions/literals.ts | 0 .../src/definitions/options.ts | 0 .../src/definitions/settings.ts | 0 .../src/definitions/types.ts | 0 .../src/shared/constants.ts | 0 .../src/shared/context.ts | 0 .../src/shared/esql_types.ts | 0 .../src/shared/helpers.test.ts | 0 .../src/shared/helpers.ts | 0 .../src/shared/resources_helpers.ts | 0 .../src/shared/test_functions.ts | 0 .../src/shared/types.ts | 0 .../src/shared/variables.ts | 0 .../src/types.ts | 0 .../src/validation/.gitignore | 0 .../validation/__tests__/callbacks.test.ts | 0 .../__tests__/fields_and_variables.test.ts | 0 .../validation/__tests__/functions.test.ts | 0 .../src/validation/__tests__/helpers.ts | 0 .../test_suites/validation.command.from.ts | 0 .../validation.command.inlinestats.ts | 0 .../test_suites/validation.command.metrics.ts | 0 .../test_suites/validation.command.stats.ts | 0 .../src/validation/__tests__/types.ts | 0 .../__tests__/validation.ccs.test.ts | 0 .../__tests__/validation.command.from.test.ts | 0 .../validation.command.inlinestats.ts | 0 .../validation.command.metrics.test.ts | 0 .../validation.command.stats.test.ts | 0 .../validation.eval.date_diff.test.ts | 0 .../validation.functions.full_text.test.ts | 0 .../__tests__/validation.params.test.ts | 0 .../src/validation/errors.ts | 0 .../esql_validation_meta_tests.json | 0 .../src/validation/helpers.ts | 0 .../src/validation/resources.ts | 0 .../src/validation/types.ts | 0 .../src/validation/validation.test.ts | 2 +- .../src/validation/validation.ts | 0 .../tsconfig.json | 2 +- .../plugins/shared}/esql/.i18nrc.json | 0 .../plugins/shared}/esql/README.md | 0 .../plugins/shared/esql}/jest.config.js | 8 +++--- .../plugins/shared}/esql/kibana.jsonc | 0 .../plugins/shared}/esql/package.json | 0 .../shared}/esql/public/create_editor.tsx | 0 .../plugins/shared}/esql/public/index.ts | 0 .../shared}/esql/public/kibana_services.ts | 0 .../plugins/shared}/esql/public/plugin.ts | 0 .../shared}/esql/public/triggers/index.ts | 0 .../update_esql_query_actions.test.ts | 0 .../triggers/update_esql_query_actions.ts | 0 .../triggers/update_esql_query_helpers.ts | 0 .../triggers/update_esql_query_trigger.ts | 0 .../plugins/shared}/esql/public/types.ts | 0 .../plugins/shared}/esql/server/index.ts | 0 .../plugins/shared}/esql/server/plugin.ts | 0 .../shared}/esql/server/ui_settings.ts | 0 .../plugins/shared}/esql/tsconfig.json | 4 +-- .../shared}/esql_datagrid/.i18nrc.json | 0 .../plugins/shared}/esql_datagrid/README.md | 0 .../shared/esql_datagrid}/jest.config.js | 11 +++++--- .../shared}/esql_datagrid/kibana.jsonc | 0 .../shared}/esql_datagrid/package.json | 0 .../esql_datagrid/public/create_datagrid.tsx | 0 .../esql_datagrid/public/data_grid.tsx | 0 .../shared}/esql_datagrid/public/index.ts | 0 .../esql_datagrid/public/kibana_services.ts | 0 .../shared}/esql_datagrid/public/plugin.ts | 0 .../esql_datagrid/public/row_viewer.test.tsx | 0 .../esql_datagrid/public/row_viewer.tsx | 0 .../esql_datagrid/public/row_viewer_lazy.tsx | 0 .../shared}/esql_datagrid/tsconfig.json | 4 +-- test/api_integration/apis/esql/errors.ts | 5 +--- tsconfig.base.json | 28 +++++++++---------- yarn.lock | 14 +++++----- 354 files changed, 105 insertions(+), 104 deletions(-) rename {packages => src/platform/packages/private}/kbn-esql-editor/.storybook/main.js (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/.storybook/preview.js (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/README.md (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/jest.config.js (72%) rename {packages => src/platform/packages/private}/kbn-esql-editor/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/package.json (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/setup_tests.ts (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/__stories__/esql_editor.stories.mdx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/discard_starred_query/discard_starred_query_modal.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/discard_starred_query/index.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/errors_warnings_popover.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/esql_starred_queries_service.test.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/esql_starred_queries_service.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/feedback_component.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/history_starred_queries.test.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/history_starred_queries.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/history_starred_queries_helpers.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/history_starred_queries_helpers.ts (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/index.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/query_wrap_component.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/editor_footer/tooltip_wrapper.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/esql_editor.styles.ts (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/esql_editor.test.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/esql_editor.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/fetch_fields_from_esql.ts (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/helpers.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/helpers.ts (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/history_local_storage.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/history_local_storage.ts (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/overwrite.scss (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/resizable_button.tsx (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/src/types.ts (100%) rename {packages => src/platform/packages/private}/kbn-esql-editor/tsconfig.json (94%) rename {packages => src/platform/packages/private}/kbn-language-documentation/.storybook/main.js (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/README.md (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/index.ts (100%) rename {packages/kbn-esql-utils => src/platform/packages/private/kbn-language-documentation}/jest.config.js (82%) rename {packages => src/platform/packages/private}/kbn-language-documentation/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/package.json (68%) rename {packages => src/platform/packages/private}/kbn-language-documentation/scripts/generate_esql_docs.ts (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/setup_tests.ts (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/__stories__/language_documentation_popover.stories.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/components/as_flyout/index.test.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/components/as_flyout/index.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/components/as_inline/index.test.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/components/as_inline/index.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/components/as_popover/index.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/components/as_popover/popover_content.test.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/components/as_popover/popover_content.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/components/shared/documentation.scss (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/components/shared/documentation_content.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/components/shared/documentation_navigation.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/components/shared/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/sections/esql_documentation_sections.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/sections/generated/aggregation_functions.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/sections/generated/scalar_functions.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/sections/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/types.ts (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/utils/element_to_string.test.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/utils/element_to_string.ts (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/utils/get_filtered_groups.test.tsx (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/src/utils/get_filtered_groups.ts (100%) rename {packages => src/platform/packages/private}/kbn-language-documentation/tsconfig.json (87%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/BUILD.bazel (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/index.ts (100%) rename {packages/kbn-esql-validation-autocomplete => src/platform/packages/shared/kbn-esql-ast}/jest.config.js (84%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/scripts/antlr4_tools/.gitignore (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/scripts/antlr4_tools/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/scripts/antlr4_tools/brewfile (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/scripts/esql_update_ast_script.js (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/scripts/fix_generated_antlr.js (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/antlr/.gitignore (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/antlr/esql_lexer.g4 (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/antlr/esql_lexer.interp (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/antlr/esql_lexer.tokens (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/antlr/esql_lexer.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/antlr/esql_parser.g4 (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/antlr/esql_parser.interp (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/antlr/esql_parser.tokens (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/antlr/esql_parser.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/antlr/esql_parser_listener.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/antlr/lexer_config.js (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/antlr/parser_config.js (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/ast/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/ast/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/ast/util.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/builder/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/builder/builder.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/builder/builder.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/builder/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/builder/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/from/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/from/metadata.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/from/metadata.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/from/sources.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/from/sources.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/limit/index.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/limit/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/sort/index.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/sort/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/stats/index.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/stats/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/where/index.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/where/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/commands/where/index_scenarios.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/generic/commands/args/index.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/generic/commands/args/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/generic/commands/index.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/generic/commands/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/generic/commands/options/index.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/generic/commands/options/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/generic/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/mutate/util.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/ast_parser.source.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/columns.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/command_options.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/commands.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/comments.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/from.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/function.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/inlinecast.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/join.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/literal.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/metrics.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/params.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/rename.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/sort.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/__tests__/where.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/esql_ast_builder_listener.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/esql_error_listener.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/factories.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/factories/join.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/formatting.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/parser.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/parser/walkers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/pretty_print/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/pretty_print/__tests__/basic_pretty_printer.comments.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/pretty_print/__tests__/basic_pretty_printer.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/pretty_print/__tests__/fixtures.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/pretty_print/__tests__/wrapping_pretty_printer.comments.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/pretty_print/__tests__/wrapping_pretty_printer.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/pretty_print/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/pretty_print/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/pretty_print/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/pretty_print/leaf_printer.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/query/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/query/query.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/synth/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/synth/__tests__/cmd.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/synth/__tests__/expr_function.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/synth/__tests__/expr_template.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/synth/__tests__/scenarios.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/synth/cmd.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/synth/expr.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/synth/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/synth/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/synth/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/visitor/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/visitor/__tests__/commands.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/visitor/__tests__/expressions.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/visitor/__tests__/scenarios.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/visitor/__tests__/visitor.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/visitor/contexts.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/visitor/global_visitor_context.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/visitor/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/visitor/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/visitor/utils.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/visitor/visitor.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/walker/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/walker/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/walker/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/walker/walker.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/src/walker/walker.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-ast/tsconfig.json (81%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/index.ts (100%) rename {packages/kbn-esql-ast => src/platform/packages/shared/kbn-esql-utils}/jest.config.js (84%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/append_to_query.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/append_to_query.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/esql_fields_utils.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/esql_fields_utils.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/get_esql_with_safe_limit.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/get_initial_esql_query.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/get_initial_esql_query.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/query_cannot_be_sampled.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/query_cannot_be_sampled.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/query_parsing_helpers.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/query_parsing_helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/run_query.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/run_query.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/src/utils/sha256.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-utils/tsconfig.json (90%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/BUILD.bazel (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/README.md (91%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/index.ts (100%) rename {packages/kbn-language-documentation => src/platform/packages/shared/kbn-esql-validation-autocomplete}/jest.config.js (81%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/jest.integration.config.js (83%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/package.json (50%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts (99%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/__tests__/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.from.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.sort.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.stats.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.where.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.suggest.eval.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.suggest.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/hidden_functions_and_commands.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/suggestions_in_comments.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/commands/drop/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/commands/keep/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/helper.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/helper.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/commands/stats/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/commands/stats/util.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/commands/where/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/commands/where/util.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/complete_items.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/documentation_util.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/factories.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/helper.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts (99%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/suggestions.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/utils/ecs_metadata_helper.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/autocomplete/utils/ecs_metadata_helper.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/code_actions/actions.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/code_actions/actions.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/code_actions/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/code_actions/utils.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/definitions/builtin.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/definitions/commands.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/definitions/generated/aggregation_functions.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/definitions/generated/scalar_functions.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/definitions/grouping.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/definitions/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/definitions/literals.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/definitions/options.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/definitions/settings.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/definitions/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/shared/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/shared/context.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/shared/esql_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/shared/helpers.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/shared/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/shared/test_functions.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/shared/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/shared/variables.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/.gitignore (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/callbacks.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/fields_and_variables.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/functions.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.from.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.inlinestats.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.metrics.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.stats.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.ccs.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.from.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.inlinestats.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.metrics.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.stats.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.eval.date_diff.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.functions.full_text.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.params.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/errors.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/esql_validation_meta_tests.json (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/resources.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/validation.test.ts (99%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/src/validation/validation.ts (100%) rename {packages => src/platform/packages/shared}/kbn-esql-validation-autocomplete/tsconfig.json (85%) rename src/{plugins => platform/plugins/shared}/esql/.i18nrc.json (100%) rename src/{plugins => platform/plugins/shared}/esql/README.md (100%) rename src/{plugins/esql_datagrid => platform/plugins/shared/esql}/jest.config.js (76%) rename src/{plugins => platform/plugins/shared}/esql/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/esql/package.json (100%) rename src/{plugins => platform/plugins/shared}/esql/public/create_editor.tsx (100%) rename src/{plugins => platform/plugins/shared}/esql/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/esql/public/kibana_services.ts (100%) rename src/{plugins => platform/plugins/shared}/esql/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/esql/public/triggers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/esql/public/triggers/update_esql_query_actions.test.ts (100%) rename src/{plugins => platform/plugins/shared}/esql/public/triggers/update_esql_query_actions.ts (100%) rename src/{plugins => platform/plugins/shared}/esql/public/triggers/update_esql_query_helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/esql/public/triggers/update_esql_query_trigger.ts (100%) rename src/{plugins => platform/plugins/shared}/esql/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/esql/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/esql/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/esql/server/ui_settings.ts (100%) rename src/{plugins => platform/plugins/shared}/esql/tsconfig.json (88%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/.i18nrc.json (100%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/README.md (100%) rename src/{plugins/esql => platform/plugins/shared/esql_datagrid}/jest.config.js (63%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/package.json (100%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/public/create_datagrid.tsx (100%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/public/data_grid.tsx (100%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/public/kibana_services.ts (100%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/public/row_viewer.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/public/row_viewer.tsx (100%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/public/row_viewer_lazy.tsx (100%) rename src/{plugins => platform/plugins/shared}/esql_datagrid/tsconfig.json (89%) diff --git a/.buildkite/scripts/steps/esql_generate_function_metadata.sh b/.buildkite/scripts/steps/esql_generate_function_metadata.sh index 15d0087594696..026d7d04da55f 100755 --- a/.buildkite/scripts/steps/esql_generate_function_metadata.sh +++ b/.buildkite/scripts/steps/esql_generate_function_metadata.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash set -euo pipefail -VALIDATION_PACKAGE_DIR="packages/kbn-esql-validation-autocomplete" -EDITOR_PACKAGE_DIR="packages/kbn-language-documentation" +VALIDATION_PACKAGE_DIR="src/platform/packages/shared/kbn-esql-validation-autocomplete" +EDITOR_PACKAGE_DIR="src/platform/packages/private/kbn-language-documentation" GIT_SCOPE="$VALIDATION_PACKAGE_DIR/**/* $EDITOR_PACKAGE_DIR/**/*" report_main_step () { diff --git a/.buildkite/scripts/steps/esql_grammar_sync.sh b/.buildkite/scripts/steps/esql_grammar_sync.sh index 24d9bd9603737..0c5948adda2f0 100755 --- a/.buildkite/scripts/steps/esql_grammar_sync.sh +++ b/.buildkite/scripts/steps/esql_grammar_sync.sh @@ -4,7 +4,7 @@ set -euo pipefail synchronize_lexer_grammar () { license_header="$1" source_file="$PARENT_DIR/elasticsearch/x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.g4" - destination_file="./packages/kbn-esql-ast/src/antlr/esql_lexer.g4" + destination_file="./src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_lexer.g4" # Copy the file cp "$source_file" "$destination_file" @@ -26,7 +26,7 @@ synchronize_lexer_grammar () { synchronize_parser_grammar () { license_header="$1" source_file="$PARENT_DIR/elasticsearch/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4" - destination_file="./packages/kbn-esql-ast/src/antlr/esql_parser.g4" + destination_file="./src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_parser.g4" # Copy the file cp "$source_file" "$destination_file" @@ -104,7 +104,7 @@ main () { .buildkite/scripts/bootstrap.sh # Build ANTLR stuff - cd ./packages/kbn-esql-ast/src + cd ./src/platform/packages/shared/kbn-esql-ast/src yarn build:antlr4:esql # Make a commit diff --git a/.eslintignore b/.eslintignore index cb4ee2668b226..e2b06124e936a 100644 --- a/.eslintignore +++ b/.eslintignore @@ -39,7 +39,7 @@ snapshots.js /packages/kbn-ui-framework/dist /packages/kbn-flot-charts/lib /packages/kbn-monaco/src/**/antlr -/packages/kbn-esql-ast/src/**/antlr +/src/platform/packages/shared/kbn-esql-ast/src/**/antlr # Bazel /bazel-* diff --git a/.eslintrc.js b/.eslintrc.js index 226017e524d84..3052b07745e4c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -189,7 +189,7 @@ const DEV_PATTERNS = [ 'x-pack/performance/**/*', 'src/setup_node_env/index.js', 'src/cli/dev.js', - 'packages/kbn-esql-validation-autocomplete/scripts/**/*', + 'src/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/**/*', ]; /** Restricted imports with suggested alternatives */ diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1b4119ca09e3c..d75759814bad0 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -352,10 +352,6 @@ packages/kbn-eslint-plugin-eslint @elastic/kibana-operations packages/kbn-eslint-plugin-i18n @elastic/obs-knowledge-team @elastic/kibana-operations packages/kbn-eslint-plugin-imports @elastic/kibana-operations packages/kbn-eslint-plugin-telemetry @elastic/obs-knowledge-team -packages/kbn-esql-ast @elastic/kibana-esql -packages/kbn-esql-editor @elastic/kibana-esql -packages/kbn-esql-utils @elastic/kibana-esql -packages/kbn-esql-validation-autocomplete @elastic/kibana-esql packages/kbn-event-annotation-common @elastic/kibana-visualizations packages/kbn-event-annotation-components @elastic/kibana-visualizations packages/kbn-expandable-flyout @elastic/security-threat-hunting-investigations @@ -394,7 +390,6 @@ packages/kbn-jest-serializers @elastic/kibana-operations packages/kbn-journeys @elastic/kibana-operations @elastic/appex-qa packages/kbn-json-ast @elastic/kibana-operations packages/kbn-kibana-manifest-schema @elastic/kibana-operations -packages/kbn-language-documentation @elastic/kibana-esql packages/kbn-lens-embeddable-utils @elastic/obs-ux-infra_services-team @elastic/kibana-visualizations packages/kbn-lens-formula-docs @elastic/kibana-visualizations packages/kbn-lint-packages-cli @elastic/kibana-operations @@ -622,7 +617,14 @@ 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/kbn-esql-editor @elastic/kibana-esql +src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql 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/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 src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux @@ -650,8 +652,6 @@ src/plugins/discover @elastic/kibana-data-discovery src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team src/plugins/embeddable @elastic/kibana-presentation src/plugins/es_ui_shared @elastic/kibana-management -src/plugins/esql @elastic/kibana-esql -src/plugins/esql_datagrid @elastic/kibana-esql src/plugins/event_annotation @elastic/kibana-visualizations src/plugins/event_annotation_listing @elastic/kibana-visualizations src/plugins/expression_error @elastic/kibana-presentation diff --git a/.i18nrc.json b/.i18nrc.json index 38629974722f3..12294fb37e5a2 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -76,7 +76,7 @@ "interpreter": "src/legacy/core_plugins/interpreter", "imageEmbeddable": "src/plugins/image_embeddable", "kbn": "src/legacy/core_plugins/kibana", - "kbn-esql-validation-autocomplete": "packages/kbn-esql-validation-autocomplete/src", + "kbn-esql-validation-autocomplete": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src", "kbnConfig": "packages/kbn-config/src", "kbnDocViews": "src/legacy/core_plugins/kbn_doc_views", "kibana_react": "src/legacy/core_plugins/kibana_react", @@ -98,8 +98,8 @@ "presentationUtil": "src/plugins/presentation_util", "randomSampling": "x-pack/packages/kbn-random-sampling", "reactPackages": "packages/react", - "esqlEditor": "packages/kbn-esql-editor", - "esqlUtils": "packages/kbn-esql-utils", + "esqlEditor": "src/platform/packages/private/kbn-esql-editor", + "esqlUtils": "src/platform/packages/shared/kbn-esql-utils", "reporting": "packages/kbn-reporting", "savedObjects": "src/plugins/saved_objects", "savedObjectsFinder": "src/plugins/saved_objects_finder", @@ -119,9 +119,9 @@ "serverlessPackages": "packages/serverless", "sse": ["packages/kbn-sse-utils"], "coloring": "packages/kbn-coloring/src", - "languageDocumentation": "packages/kbn-language-documentation/src", - "esql": "src/plugins/esql", - "esqlDataGrid": "src/plugins/esql_datagrid", + "languageDocumentation": "src/platform/packages/private/kbn-language-documentation/src", + "esql": "src/platform/plugins/shared/esql", + "esqlDataGrid": "src/platform/plugins/shared/esql_datagrid", "statusPage": "src/legacy/core_plugins/status_page", "telemetry": ["src/plugins/telemetry", "src/plugins/telemetry_management_section"], "timelion": ["src/plugins/vis_types/timelion"], diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 0baaf75b79493..dc65c9df54e92 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -102,11 +102,11 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |Embeddables are React components that manage their own state, can be serialized and deserialized, and return an API that can be used to interact with them imperatively. -|{kib-repo}blob/{branch}/src/plugins/esql/README.md[esql] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/esql/README.md[esql] |The editor accepts the following properties: -|{kib-repo}blob/{branch}/src/plugins/esql_datagrid/README.md[esqlDataGrid] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/esql_datagrid/README.md[esqlDataGrid] |Contains a Discover-like table specifically for ES|QL queries: diff --git a/examples/esql_ast_inspector/public/plugin.ts b/examples/esql_ast_inspector/public/plugin.ts index f8765b383878e..6877af3762628 100644 --- a/examples/esql_ast_inspector/public/plugin.ts +++ b/examples/esql_ast_inspector/public/plugin.ts @@ -42,7 +42,7 @@ export class ESQLASTInspectorPlugin links: [ { label: 'README', - href: 'https://github.com/elastic/kibana/tree/main/packages/kbn-esql-validation-autocomplete/README.md', + href: 'https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md', iconType: 'logoGithub', size: 's', target: '_blank', diff --git a/examples/esql_validation_example/public/plugin.ts b/examples/esql_validation_example/public/plugin.ts index cf15958d0e5ea..62eadf2cf884e 100644 --- a/examples/esql_validation_example/public/plugin.ts +++ b/examples/esql_validation_example/public/plugin.ts @@ -42,7 +42,7 @@ export class ESQLValidationExamplePlugin links: [ { label: 'README', - href: 'https://github.com/elastic/kibana/tree/main/packages/kbn-esql-validation-autocomplete/README.md', + href: 'https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md', iconType: 'logoGithub', size: 's', target: '_blank', diff --git a/package.json b/package.json index c5026d5d626dc..6654547617b12 100644 --- a/package.json +++ b/package.json @@ -489,13 +489,13 @@ "@kbn/es-ui-shared-plugin": "link:src/plugins/es_ui_shared", "@kbn/eso-model-version-example": "link:examples/eso_model_version_example", "@kbn/eso-plugin": "link:x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin", - "@kbn/esql": "link:src/plugins/esql", - "@kbn/esql-ast": "link:packages/kbn-esql-ast", + "@kbn/esql": "link:src/platform/plugins/shared/esql", + "@kbn/esql-ast": "link:src/platform/packages/shared/kbn-esql-ast", "@kbn/esql-ast-inspector-plugin": "link:examples/esql_ast_inspector", - "@kbn/esql-datagrid": "link:src/plugins/esql_datagrid", - "@kbn/esql-editor": "link:packages/kbn-esql-editor", - "@kbn/esql-utils": "link:packages/kbn-esql-utils", - "@kbn/esql-validation-autocomplete": "link:packages/kbn-esql-validation-autocomplete", + "@kbn/esql-datagrid": "link:src/platform/plugins/shared/esql_datagrid", + "@kbn/esql-editor": "link:src/platform/packages/private/kbn-esql-editor", + "@kbn/esql-utils": "link:src/platform/packages/shared/kbn-esql-utils", + "@kbn/esql-validation-autocomplete": "link:src/platform/packages/shared/kbn-esql-validation-autocomplete", "@kbn/esql-validation-example-plugin": "link:examples/esql_validation_example", "@kbn/eui-provider-dev-warning": "link:test/plugin_functional/plugins/eui_provider_dev_warning", "@kbn/event-annotation-common": "link:packages/kbn-event-annotation-common", @@ -609,7 +609,7 @@ "@kbn/kibana-utils-plugin": "link:src/plugins/kibana_utils", "@kbn/kubernetes-security-plugin": "link:x-pack/plugins/kubernetes_security", "@kbn/langchain": "link:x-pack/packages/kbn-langchain", - "@kbn/language-documentation": "link:packages/kbn-language-documentation", + "@kbn/language-documentation": "link:src/platform/packages/private/kbn-language-documentation", "@kbn/lens-config-builder-example-plugin": "link:x-pack/examples/lens_config_builder_example", "@kbn/lens-embeddable-utils": "link:packages/kbn-lens-embeddable-utils", "@kbn/lens-formula-docs": "link:packages/kbn-lens-formula-docs", diff --git a/packages/kbn-monaco/BUILD.bazel b/packages/kbn-monaco/BUILD.bazel index 9a2e2b8f03243..c21c6b3cbf71d 100644 --- a/packages/kbn-monaco/BUILD.bazel +++ b/packages/kbn-monaco/BUILD.bazel @@ -26,8 +26,8 @@ SRCS = glob( SHARED_DEPS = [ "//packages/kbn-i18n", "//packages/kbn-ui-theme", - "//packages/kbn-esql-validation-autocomplete", - "//packages/kbn-esql-ast", + "//src/platform/packages/shared/kbn-esql-validation-autocomplete", + "//src/platform/packages/shared/kbn-esql-ast", "@npm//antlr4", "@npm//monaco-editor", "@npm//monaco-yaml", diff --git a/packages/kbn-ui-shared-deps-src/BUILD.bazel b/packages/kbn-ui-shared-deps-src/BUILD.bazel index b0d7bb65843d9..80613093c093b 100644 --- a/packages/kbn-ui-shared-deps-src/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-src/BUILD.bazel @@ -25,7 +25,7 @@ webpack_cli( "//packages/kbn-i18n", "//packages/kbn-i18n-react", "//packages/kbn-ebt-tools", - "//packages/kbn-esql-ast", + "//src/platform/packages/shared/kbn-esql-ast", "//packages/kbn-monaco", "//packages/kbn-datemath", "//packages/kbn-analytics", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index cc991d72d23c0..c89df73f1b877 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -19,7 +19,8 @@ export const storybookAliases = { cloud_security_posture_packages: 'x-pack/packages/kbn-cloud-security-posture/storybook/config', cloud: 'packages/cloud/.storybook', coloring: 'packages/kbn-coloring/.storybook', - language_documentation_popover: 'packages/kbn-language-documentation/.storybook', + language_documentation_popover: + 'src/platform/packages/private/kbn-language-documentation/.storybook', chart_icons: 'packages/kbn-chart-icons/.storybook', content_management_examples: 'examples/content_management_examples/.storybook', custom_icons: 'packages/kbn-custom-icons/.storybook', @@ -61,7 +62,7 @@ export const storybookAliases = { observability_slo: 'x-pack/plugins/observability_solution/slo/.storybook', presentation: 'src/plugins/presentation_util/storybook', random_sampling: 'x-pack/packages/kbn-random-sampling/.storybook', - esql_editor: 'packages/kbn-esql-editor/.storybook', + esql_editor: 'src/platform/packages/private/kbn-esql-editor/.storybook', security_solution: 'x-pack/plugins/security_solution/.storybook', security_solution_packages: 'x-pack/packages/security-solution/storybook/config', serverless: 'packages/serverless/storybook/config', diff --git a/packages/kbn-esql-editor/.storybook/main.js b/src/platform/packages/private/kbn-esql-editor/.storybook/main.js similarity index 100% rename from packages/kbn-esql-editor/.storybook/main.js rename to src/platform/packages/private/kbn-esql-editor/.storybook/main.js diff --git a/packages/kbn-esql-editor/.storybook/preview.js b/src/platform/packages/private/kbn-esql-editor/.storybook/preview.js similarity index 100% rename from packages/kbn-esql-editor/.storybook/preview.js rename to src/platform/packages/private/kbn-esql-editor/.storybook/preview.js diff --git a/packages/kbn-esql-editor/README.md b/src/platform/packages/private/kbn-esql-editor/README.md similarity index 100% rename from packages/kbn-esql-editor/README.md rename to src/platform/packages/private/kbn-esql-editor/README.md diff --git a/packages/kbn-esql-editor/index.ts b/src/platform/packages/private/kbn-esql-editor/index.ts similarity index 100% rename from packages/kbn-esql-editor/index.ts rename to src/platform/packages/private/kbn-esql-editor/index.ts diff --git a/packages/kbn-esql-editor/jest.config.js b/src/platform/packages/private/kbn-esql-editor/jest.config.js similarity index 72% rename from packages/kbn-esql-editor/jest.config.js rename to src/platform/packages/private/kbn-esql-editor/jest.config.js index 303950b371682..cc84906a1d6cf 100644 --- a/packages/kbn-esql-editor/jest.config.js +++ b/src/platform/packages/private/kbn-esql-editor/jest.config.js @@ -9,7 +9,7 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-esql-editor'], - setupFilesAfterEnv: ['/packages/kbn-esql-editor/setup_tests.ts'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-esql-editor'], + setupFilesAfterEnv: ['/src/platform/packages/private/kbn-esql-editor/setup_tests.ts'], }; diff --git a/packages/kbn-esql-editor/kibana.jsonc b/src/platform/packages/private/kbn-esql-editor/kibana.jsonc similarity index 100% rename from packages/kbn-esql-editor/kibana.jsonc rename to src/platform/packages/private/kbn-esql-editor/kibana.jsonc diff --git a/packages/kbn-esql-editor/package.json b/src/platform/packages/private/kbn-esql-editor/package.json similarity index 100% rename from packages/kbn-esql-editor/package.json rename to src/platform/packages/private/kbn-esql-editor/package.json diff --git a/packages/kbn-esql-editor/setup_tests.ts b/src/platform/packages/private/kbn-esql-editor/setup_tests.ts similarity index 100% rename from packages/kbn-esql-editor/setup_tests.ts rename to src/platform/packages/private/kbn-esql-editor/setup_tests.ts diff --git a/packages/kbn-esql-editor/src/__stories__/esql_editor.stories.mdx b/src/platform/packages/private/kbn-esql-editor/src/__stories__/esql_editor.stories.mdx similarity index 100% rename from packages/kbn-esql-editor/src/__stories__/esql_editor.stories.mdx rename to src/platform/packages/private/kbn-esql-editor/src/__stories__/esql_editor.stories.mdx diff --git a/packages/kbn-esql-editor/src/editor_footer/discard_starred_query/discard_starred_query_modal.tsx b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/discard_starred_query/discard_starred_query_modal.tsx similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/discard_starred_query/discard_starred_query_modal.tsx rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/discard_starred_query/discard_starred_query_modal.tsx diff --git a/packages/kbn-esql-editor/src/editor_footer/discard_starred_query/index.tsx b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/discard_starred_query/index.tsx similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/discard_starred_query/index.tsx rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/discard_starred_query/index.tsx diff --git a/packages/kbn-esql-editor/src/editor_footer/errors_warnings_popover.tsx b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/errors_warnings_popover.tsx similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/errors_warnings_popover.tsx rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/errors_warnings_popover.tsx diff --git a/packages/kbn-esql-editor/src/editor_footer/esql_starred_queries_service.test.tsx b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/esql_starred_queries_service.test.tsx similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/esql_starred_queries_service.test.tsx rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/esql_starred_queries_service.test.tsx diff --git a/packages/kbn-esql-editor/src/editor_footer/esql_starred_queries_service.tsx b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/esql_starred_queries_service.tsx similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/esql_starred_queries_service.tsx rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/esql_starred_queries_service.tsx diff --git a/packages/kbn-esql-editor/src/editor_footer/feedback_component.tsx b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/feedback_component.tsx similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/feedback_component.tsx rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/feedback_component.tsx diff --git a/packages/kbn-esql-editor/src/editor_footer/history_starred_queries.test.tsx b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/history_starred_queries.test.tsx similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/history_starred_queries.test.tsx rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/history_starred_queries.test.tsx diff --git a/packages/kbn-esql-editor/src/editor_footer/history_starred_queries.tsx b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/history_starred_queries.tsx similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/history_starred_queries.tsx rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/history_starred_queries.tsx diff --git a/packages/kbn-esql-editor/src/editor_footer/history_starred_queries_helpers.test.ts b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/history_starred_queries_helpers.test.ts similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/history_starred_queries_helpers.test.ts rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/history_starred_queries_helpers.test.ts diff --git a/packages/kbn-esql-editor/src/editor_footer/history_starred_queries_helpers.ts b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/history_starred_queries_helpers.ts similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/history_starred_queries_helpers.ts rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/history_starred_queries_helpers.ts diff --git a/packages/kbn-esql-editor/src/editor_footer/index.tsx b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/index.tsx similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/index.tsx rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/index.tsx diff --git a/packages/kbn-esql-editor/src/editor_footer/query_wrap_component.tsx b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/query_wrap_component.tsx similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/query_wrap_component.tsx rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/query_wrap_component.tsx diff --git a/packages/kbn-esql-editor/src/editor_footer/tooltip_wrapper.tsx b/src/platform/packages/private/kbn-esql-editor/src/editor_footer/tooltip_wrapper.tsx similarity index 100% rename from packages/kbn-esql-editor/src/editor_footer/tooltip_wrapper.tsx rename to src/platform/packages/private/kbn-esql-editor/src/editor_footer/tooltip_wrapper.tsx diff --git a/packages/kbn-esql-editor/src/esql_editor.styles.ts b/src/platform/packages/private/kbn-esql-editor/src/esql_editor.styles.ts similarity index 100% rename from packages/kbn-esql-editor/src/esql_editor.styles.ts rename to src/platform/packages/private/kbn-esql-editor/src/esql_editor.styles.ts diff --git a/packages/kbn-esql-editor/src/esql_editor.test.tsx b/src/platform/packages/private/kbn-esql-editor/src/esql_editor.test.tsx similarity index 100% rename from packages/kbn-esql-editor/src/esql_editor.test.tsx rename to src/platform/packages/private/kbn-esql-editor/src/esql_editor.test.tsx diff --git a/packages/kbn-esql-editor/src/esql_editor.tsx b/src/platform/packages/private/kbn-esql-editor/src/esql_editor.tsx similarity index 100% rename from packages/kbn-esql-editor/src/esql_editor.tsx rename to src/platform/packages/private/kbn-esql-editor/src/esql_editor.tsx diff --git a/packages/kbn-esql-editor/src/fetch_fields_from_esql.ts b/src/platform/packages/private/kbn-esql-editor/src/fetch_fields_from_esql.ts similarity index 100% rename from packages/kbn-esql-editor/src/fetch_fields_from_esql.ts rename to src/platform/packages/private/kbn-esql-editor/src/fetch_fields_from_esql.ts diff --git a/packages/kbn-esql-editor/src/helpers.test.ts b/src/platform/packages/private/kbn-esql-editor/src/helpers.test.ts similarity index 100% rename from packages/kbn-esql-editor/src/helpers.test.ts rename to src/platform/packages/private/kbn-esql-editor/src/helpers.test.ts diff --git a/packages/kbn-esql-editor/src/helpers.ts b/src/platform/packages/private/kbn-esql-editor/src/helpers.ts similarity index 100% rename from packages/kbn-esql-editor/src/helpers.ts rename to src/platform/packages/private/kbn-esql-editor/src/helpers.ts diff --git a/packages/kbn-esql-editor/src/history_local_storage.test.ts b/src/platform/packages/private/kbn-esql-editor/src/history_local_storage.test.ts similarity index 100% rename from packages/kbn-esql-editor/src/history_local_storage.test.ts rename to src/platform/packages/private/kbn-esql-editor/src/history_local_storage.test.ts diff --git a/packages/kbn-esql-editor/src/history_local_storage.ts b/src/platform/packages/private/kbn-esql-editor/src/history_local_storage.ts similarity index 100% rename from packages/kbn-esql-editor/src/history_local_storage.ts rename to src/platform/packages/private/kbn-esql-editor/src/history_local_storage.ts diff --git a/packages/kbn-esql-editor/src/overwrite.scss b/src/platform/packages/private/kbn-esql-editor/src/overwrite.scss similarity index 100% rename from packages/kbn-esql-editor/src/overwrite.scss rename to src/platform/packages/private/kbn-esql-editor/src/overwrite.scss diff --git a/packages/kbn-esql-editor/src/resizable_button.tsx b/src/platform/packages/private/kbn-esql-editor/src/resizable_button.tsx similarity index 100% rename from packages/kbn-esql-editor/src/resizable_button.tsx rename to src/platform/packages/private/kbn-esql-editor/src/resizable_button.tsx diff --git a/packages/kbn-esql-editor/src/types.ts b/src/platform/packages/private/kbn-esql-editor/src/types.ts similarity index 100% rename from packages/kbn-esql-editor/src/types.ts rename to src/platform/packages/private/kbn-esql-editor/src/types.ts diff --git a/packages/kbn-esql-editor/tsconfig.json b/src/platform/packages/private/kbn-esql-editor/tsconfig.json similarity index 94% rename from packages/kbn-esql-editor/tsconfig.json rename to src/platform/packages/private/kbn-esql-editor/tsconfig.json index 5131dd90fb0a5..e29b2d78e3897 100644 --- a/packages/kbn-esql-editor/tsconfig.json +++ b/src/platform/packages/private/kbn-esql-editor/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-language-documentation/.storybook/main.js b/src/platform/packages/private/kbn-language-documentation/.storybook/main.js similarity index 100% rename from packages/kbn-language-documentation/.storybook/main.js rename to src/platform/packages/private/kbn-language-documentation/.storybook/main.js diff --git a/packages/kbn-language-documentation/README.md b/src/platform/packages/private/kbn-language-documentation/README.md similarity index 100% rename from packages/kbn-language-documentation/README.md rename to src/platform/packages/private/kbn-language-documentation/README.md diff --git a/packages/kbn-language-documentation/index.ts b/src/platform/packages/private/kbn-language-documentation/index.ts similarity index 100% rename from packages/kbn-language-documentation/index.ts rename to src/platform/packages/private/kbn-language-documentation/index.ts diff --git a/packages/kbn-esql-utils/jest.config.js b/src/platform/packages/private/kbn-language-documentation/jest.config.js similarity index 82% rename from packages/kbn-esql-utils/jest.config.js rename to src/platform/packages/private/kbn-language-documentation/jest.config.js index a6cb7a3c43b54..c001ec9ff0a96 100644 --- a/packages/kbn-esql-utils/jest.config.js +++ b/src/platform/packages/private/kbn-language-documentation/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-esql-utils'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-language-documentation'], }; diff --git a/packages/kbn-language-documentation/kibana.jsonc b/src/platform/packages/private/kbn-language-documentation/kibana.jsonc similarity index 100% rename from packages/kbn-language-documentation/kibana.jsonc rename to src/platform/packages/private/kbn-language-documentation/kibana.jsonc diff --git a/packages/kbn-language-documentation/package.json b/src/platform/packages/private/kbn-language-documentation/package.json similarity index 68% rename from packages/kbn-language-documentation/package.json rename to src/platform/packages/private/kbn-language-documentation/package.json index 3788ee50f2c95..2c90cc1923394 100644 --- a/packages/kbn-language-documentation/package.json +++ b/src/platform/packages/private/kbn-language-documentation/package.json @@ -9,6 +9,6 @@ "scripts": { "make:docs": "ts-node --transpileOnly scripts/generate_esql_docs.ts", "postmake:docs": "yarn run lint:fix", - "lint:fix": "cd ../.. && node ./scripts/eslint --fix ./packages/kbn-language-documentation/src/sections/generated" + "lint:fix": "cd ../../../../.. && node ./scripts/eslint --fix ./src/platform/packages/private/kbn-language-documentation/src/sections/generated" } } diff --git a/packages/kbn-language-documentation/scripts/generate_esql_docs.ts b/src/platform/packages/private/kbn-language-documentation/scripts/generate_esql_docs.ts similarity index 100% rename from packages/kbn-language-documentation/scripts/generate_esql_docs.ts rename to src/platform/packages/private/kbn-language-documentation/scripts/generate_esql_docs.ts diff --git a/packages/kbn-language-documentation/setup_tests.ts b/src/platform/packages/private/kbn-language-documentation/setup_tests.ts similarity index 100% rename from packages/kbn-language-documentation/setup_tests.ts rename to src/platform/packages/private/kbn-language-documentation/setup_tests.ts diff --git a/packages/kbn-language-documentation/src/__stories__/language_documentation_popover.stories.tsx b/src/platform/packages/private/kbn-language-documentation/src/__stories__/language_documentation_popover.stories.tsx similarity index 100% rename from packages/kbn-language-documentation/src/__stories__/language_documentation_popover.stories.tsx rename to src/platform/packages/private/kbn-language-documentation/src/__stories__/language_documentation_popover.stories.tsx diff --git a/packages/kbn-language-documentation/src/components/as_flyout/index.test.tsx b/src/platform/packages/private/kbn-language-documentation/src/components/as_flyout/index.test.tsx similarity index 100% rename from packages/kbn-language-documentation/src/components/as_flyout/index.test.tsx rename to src/platform/packages/private/kbn-language-documentation/src/components/as_flyout/index.test.tsx diff --git a/packages/kbn-language-documentation/src/components/as_flyout/index.tsx b/src/platform/packages/private/kbn-language-documentation/src/components/as_flyout/index.tsx similarity index 100% rename from packages/kbn-language-documentation/src/components/as_flyout/index.tsx rename to src/platform/packages/private/kbn-language-documentation/src/components/as_flyout/index.tsx diff --git a/packages/kbn-language-documentation/src/components/as_inline/index.test.tsx b/src/platform/packages/private/kbn-language-documentation/src/components/as_inline/index.test.tsx similarity index 100% rename from packages/kbn-language-documentation/src/components/as_inline/index.test.tsx rename to src/platform/packages/private/kbn-language-documentation/src/components/as_inline/index.test.tsx diff --git a/packages/kbn-language-documentation/src/components/as_inline/index.tsx b/src/platform/packages/private/kbn-language-documentation/src/components/as_inline/index.tsx similarity index 100% rename from packages/kbn-language-documentation/src/components/as_inline/index.tsx rename to src/platform/packages/private/kbn-language-documentation/src/components/as_inline/index.tsx diff --git a/packages/kbn-language-documentation/src/components/as_popover/index.tsx b/src/platform/packages/private/kbn-language-documentation/src/components/as_popover/index.tsx similarity index 100% rename from packages/kbn-language-documentation/src/components/as_popover/index.tsx rename to src/platform/packages/private/kbn-language-documentation/src/components/as_popover/index.tsx diff --git a/packages/kbn-language-documentation/src/components/as_popover/popover_content.test.tsx b/src/platform/packages/private/kbn-language-documentation/src/components/as_popover/popover_content.test.tsx similarity index 100% rename from packages/kbn-language-documentation/src/components/as_popover/popover_content.test.tsx rename to src/platform/packages/private/kbn-language-documentation/src/components/as_popover/popover_content.test.tsx diff --git a/packages/kbn-language-documentation/src/components/as_popover/popover_content.tsx b/src/platform/packages/private/kbn-language-documentation/src/components/as_popover/popover_content.tsx similarity index 100% rename from packages/kbn-language-documentation/src/components/as_popover/popover_content.tsx rename to src/platform/packages/private/kbn-language-documentation/src/components/as_popover/popover_content.tsx diff --git a/packages/kbn-language-documentation/src/components/shared/documentation.scss b/src/platform/packages/private/kbn-language-documentation/src/components/shared/documentation.scss similarity index 100% rename from packages/kbn-language-documentation/src/components/shared/documentation.scss rename to src/platform/packages/private/kbn-language-documentation/src/components/shared/documentation.scss diff --git a/packages/kbn-language-documentation/src/components/shared/documentation_content.tsx b/src/platform/packages/private/kbn-language-documentation/src/components/shared/documentation_content.tsx similarity index 100% rename from packages/kbn-language-documentation/src/components/shared/documentation_content.tsx rename to src/platform/packages/private/kbn-language-documentation/src/components/shared/documentation_content.tsx diff --git a/packages/kbn-language-documentation/src/components/shared/documentation_navigation.tsx b/src/platform/packages/private/kbn-language-documentation/src/components/shared/documentation_navigation.tsx similarity index 100% rename from packages/kbn-language-documentation/src/components/shared/documentation_navigation.tsx rename to src/platform/packages/private/kbn-language-documentation/src/components/shared/documentation_navigation.tsx diff --git a/packages/kbn-language-documentation/src/components/shared/index.ts b/src/platform/packages/private/kbn-language-documentation/src/components/shared/index.ts similarity index 100% rename from packages/kbn-language-documentation/src/components/shared/index.ts rename to src/platform/packages/private/kbn-language-documentation/src/components/shared/index.ts diff --git a/packages/kbn-language-documentation/src/sections/esql_documentation_sections.tsx b/src/platform/packages/private/kbn-language-documentation/src/sections/esql_documentation_sections.tsx similarity index 100% rename from packages/kbn-language-documentation/src/sections/esql_documentation_sections.tsx rename to src/platform/packages/private/kbn-language-documentation/src/sections/esql_documentation_sections.tsx diff --git a/packages/kbn-language-documentation/src/sections/generated/aggregation_functions.tsx b/src/platform/packages/private/kbn-language-documentation/src/sections/generated/aggregation_functions.tsx similarity index 100% rename from packages/kbn-language-documentation/src/sections/generated/aggregation_functions.tsx rename to src/platform/packages/private/kbn-language-documentation/src/sections/generated/aggregation_functions.tsx diff --git a/packages/kbn-language-documentation/src/sections/generated/scalar_functions.tsx b/src/platform/packages/private/kbn-language-documentation/src/sections/generated/scalar_functions.tsx similarity index 100% rename from packages/kbn-language-documentation/src/sections/generated/scalar_functions.tsx rename to src/platform/packages/private/kbn-language-documentation/src/sections/generated/scalar_functions.tsx diff --git a/packages/kbn-language-documentation/src/sections/index.ts b/src/platform/packages/private/kbn-language-documentation/src/sections/index.ts similarity index 100% rename from packages/kbn-language-documentation/src/sections/index.ts rename to src/platform/packages/private/kbn-language-documentation/src/sections/index.ts diff --git a/packages/kbn-language-documentation/src/types.ts b/src/platform/packages/private/kbn-language-documentation/src/types.ts similarity index 100% rename from packages/kbn-language-documentation/src/types.ts rename to src/platform/packages/private/kbn-language-documentation/src/types.ts diff --git a/packages/kbn-language-documentation/src/utils/element_to_string.test.tsx b/src/platform/packages/private/kbn-language-documentation/src/utils/element_to_string.test.tsx similarity index 100% rename from packages/kbn-language-documentation/src/utils/element_to_string.test.tsx rename to src/platform/packages/private/kbn-language-documentation/src/utils/element_to_string.test.tsx diff --git a/packages/kbn-language-documentation/src/utils/element_to_string.ts b/src/platform/packages/private/kbn-language-documentation/src/utils/element_to_string.ts similarity index 100% rename from packages/kbn-language-documentation/src/utils/element_to_string.ts rename to src/platform/packages/private/kbn-language-documentation/src/utils/element_to_string.ts diff --git a/packages/kbn-language-documentation/src/utils/get_filtered_groups.test.tsx b/src/platform/packages/private/kbn-language-documentation/src/utils/get_filtered_groups.test.tsx similarity index 100% rename from packages/kbn-language-documentation/src/utils/get_filtered_groups.test.tsx rename to src/platform/packages/private/kbn-language-documentation/src/utils/get_filtered_groups.test.tsx diff --git a/packages/kbn-language-documentation/src/utils/get_filtered_groups.ts b/src/platform/packages/private/kbn-language-documentation/src/utils/get_filtered_groups.ts similarity index 100% rename from packages/kbn-language-documentation/src/utils/get_filtered_groups.ts rename to src/platform/packages/private/kbn-language-documentation/src/utils/get_filtered_groups.ts diff --git a/packages/kbn-language-documentation/tsconfig.json b/src/platform/packages/private/kbn-language-documentation/tsconfig.json similarity index 87% rename from packages/kbn-language-documentation/tsconfig.json rename to src/platform/packages/private/kbn-language-documentation/tsconfig.json index f613b6cb759aa..54e161125fe41 100644 --- a/packages/kbn-language-documentation/tsconfig.json +++ b/src/platform/packages/private/kbn-language-documentation/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-esql-ast/BUILD.bazel b/src/platform/packages/shared/kbn-esql-ast/BUILD.bazel similarity index 100% rename from packages/kbn-esql-ast/BUILD.bazel rename to src/platform/packages/shared/kbn-esql-ast/BUILD.bazel diff --git a/packages/kbn-esql-ast/README.md b/src/platform/packages/shared/kbn-esql-ast/README.md similarity index 100% rename from packages/kbn-esql-ast/README.md rename to src/platform/packages/shared/kbn-esql-ast/README.md diff --git a/packages/kbn-esql-ast/index.ts b/src/platform/packages/shared/kbn-esql-ast/index.ts similarity index 100% rename from packages/kbn-esql-ast/index.ts rename to src/platform/packages/shared/kbn-esql-ast/index.ts diff --git a/packages/kbn-esql-validation-autocomplete/jest.config.js b/src/platform/packages/shared/kbn-esql-ast/jest.config.js similarity index 84% rename from packages/kbn-esql-validation-autocomplete/jest.config.js rename to src/platform/packages/shared/kbn-esql-ast/jest.config.js index 314329cd8c541..1031cbe4a3eb8 100644 --- a/packages/kbn-esql-validation-autocomplete/jest.config.js +++ b/src/platform/packages/shared/kbn-esql-ast/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-esql-validation-autocomplete'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-esql-ast'], }; diff --git a/packages/kbn-esql-ast/kibana.jsonc b/src/platform/packages/shared/kbn-esql-ast/kibana.jsonc similarity index 100% rename from packages/kbn-esql-ast/kibana.jsonc rename to src/platform/packages/shared/kbn-esql-ast/kibana.jsonc diff --git a/packages/kbn-esql-ast/package.json b/src/platform/packages/shared/kbn-esql-ast/package.json similarity index 100% rename from packages/kbn-esql-ast/package.json rename to src/platform/packages/shared/kbn-esql-ast/package.json diff --git a/packages/kbn-esql-ast/scripts/antlr4_tools/.gitignore b/src/platform/packages/shared/kbn-esql-ast/scripts/antlr4_tools/.gitignore similarity index 100% rename from packages/kbn-esql-ast/scripts/antlr4_tools/.gitignore rename to src/platform/packages/shared/kbn-esql-ast/scripts/antlr4_tools/.gitignore diff --git a/packages/kbn-esql-ast/scripts/antlr4_tools/README.md b/src/platform/packages/shared/kbn-esql-ast/scripts/antlr4_tools/README.md similarity index 100% rename from packages/kbn-esql-ast/scripts/antlr4_tools/README.md rename to src/platform/packages/shared/kbn-esql-ast/scripts/antlr4_tools/README.md diff --git a/packages/kbn-esql-ast/scripts/antlr4_tools/brewfile b/src/platform/packages/shared/kbn-esql-ast/scripts/antlr4_tools/brewfile similarity index 100% rename from packages/kbn-esql-ast/scripts/antlr4_tools/brewfile rename to src/platform/packages/shared/kbn-esql-ast/scripts/antlr4_tools/brewfile diff --git a/packages/kbn-esql-ast/scripts/esql_update_ast_script.js b/src/platform/packages/shared/kbn-esql-ast/scripts/esql_update_ast_script.js similarity index 100% rename from packages/kbn-esql-ast/scripts/esql_update_ast_script.js rename to src/platform/packages/shared/kbn-esql-ast/scripts/esql_update_ast_script.js diff --git a/packages/kbn-esql-ast/scripts/fix_generated_antlr.js b/src/platform/packages/shared/kbn-esql-ast/scripts/fix_generated_antlr.js similarity index 100% rename from packages/kbn-esql-ast/scripts/fix_generated_antlr.js rename to src/platform/packages/shared/kbn-esql-ast/scripts/fix_generated_antlr.js diff --git a/packages/kbn-esql-ast/src/antlr/.gitignore b/src/platform/packages/shared/kbn-esql-ast/src/antlr/.gitignore similarity index 100% rename from packages/kbn-esql-ast/src/antlr/.gitignore rename to src/platform/packages/shared/kbn-esql-ast/src/antlr/.gitignore diff --git a/packages/kbn-esql-ast/src/antlr/esql_lexer.g4 b/src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_lexer.g4 similarity index 100% rename from packages/kbn-esql-ast/src/antlr/esql_lexer.g4 rename to src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_lexer.g4 diff --git a/packages/kbn-esql-ast/src/antlr/esql_lexer.interp b/src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_lexer.interp similarity index 100% rename from packages/kbn-esql-ast/src/antlr/esql_lexer.interp rename to src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_lexer.interp diff --git a/packages/kbn-esql-ast/src/antlr/esql_lexer.tokens b/src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_lexer.tokens similarity index 100% rename from packages/kbn-esql-ast/src/antlr/esql_lexer.tokens rename to src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_lexer.tokens diff --git a/packages/kbn-esql-ast/src/antlr/esql_lexer.ts b/src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_lexer.ts similarity index 100% rename from packages/kbn-esql-ast/src/antlr/esql_lexer.ts rename to src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_lexer.ts diff --git a/packages/kbn-esql-ast/src/antlr/esql_parser.g4 b/src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_parser.g4 similarity index 100% rename from packages/kbn-esql-ast/src/antlr/esql_parser.g4 rename to src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_parser.g4 diff --git a/packages/kbn-esql-ast/src/antlr/esql_parser.interp b/src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_parser.interp similarity index 100% rename from packages/kbn-esql-ast/src/antlr/esql_parser.interp rename to src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_parser.interp diff --git a/packages/kbn-esql-ast/src/antlr/esql_parser.tokens b/src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_parser.tokens similarity index 100% rename from packages/kbn-esql-ast/src/antlr/esql_parser.tokens rename to src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_parser.tokens diff --git a/packages/kbn-esql-ast/src/antlr/esql_parser.ts b/src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_parser.ts similarity index 100% rename from packages/kbn-esql-ast/src/antlr/esql_parser.ts rename to src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_parser.ts diff --git a/packages/kbn-esql-ast/src/antlr/esql_parser_listener.ts b/src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_parser_listener.ts similarity index 100% rename from packages/kbn-esql-ast/src/antlr/esql_parser_listener.ts rename to src/platform/packages/shared/kbn-esql-ast/src/antlr/esql_parser_listener.ts diff --git a/packages/kbn-esql-ast/src/antlr/lexer_config.js b/src/platform/packages/shared/kbn-esql-ast/src/antlr/lexer_config.js similarity index 100% rename from packages/kbn-esql-ast/src/antlr/lexer_config.js rename to src/platform/packages/shared/kbn-esql-ast/src/antlr/lexer_config.js diff --git a/packages/kbn-esql-ast/src/antlr/parser_config.js b/src/platform/packages/shared/kbn-esql-ast/src/antlr/parser_config.js similarity index 100% rename from packages/kbn-esql-ast/src/antlr/parser_config.js rename to src/platform/packages/shared/kbn-esql-ast/src/antlr/parser_config.js diff --git a/packages/kbn-esql-ast/src/ast/constants.ts b/src/platform/packages/shared/kbn-esql-ast/src/ast/constants.ts similarity index 100% rename from packages/kbn-esql-ast/src/ast/constants.ts rename to src/platform/packages/shared/kbn-esql-ast/src/ast/constants.ts diff --git a/packages/kbn-esql-ast/src/ast/helpers.ts b/src/platform/packages/shared/kbn-esql-ast/src/ast/helpers.ts similarity index 100% rename from packages/kbn-esql-ast/src/ast/helpers.ts rename to src/platform/packages/shared/kbn-esql-ast/src/ast/helpers.ts diff --git a/packages/kbn-esql-ast/src/ast/util.ts b/src/platform/packages/shared/kbn-esql-ast/src/ast/util.ts similarity index 100% rename from packages/kbn-esql-ast/src/ast/util.ts rename to src/platform/packages/shared/kbn-esql-ast/src/ast/util.ts diff --git a/packages/kbn-esql-ast/src/builder/README.md b/src/platform/packages/shared/kbn-esql-ast/src/builder/README.md similarity index 100% rename from packages/kbn-esql-ast/src/builder/README.md rename to src/platform/packages/shared/kbn-esql-ast/src/builder/README.md diff --git a/packages/kbn-esql-ast/src/builder/builder.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/builder/builder.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/builder/builder.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/builder/builder.test.ts diff --git a/packages/kbn-esql-ast/src/builder/builder.ts b/src/platform/packages/shared/kbn-esql-ast/src/builder/builder.ts similarity index 100% rename from packages/kbn-esql-ast/src/builder/builder.ts rename to src/platform/packages/shared/kbn-esql-ast/src/builder/builder.ts diff --git a/packages/kbn-esql-ast/src/builder/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/builder/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/builder/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/builder/index.ts diff --git a/packages/kbn-esql-ast/src/builder/types.ts b/src/platform/packages/shared/kbn-esql-ast/src/builder/types.ts similarity index 100% rename from packages/kbn-esql-ast/src/builder/types.ts rename to src/platform/packages/shared/kbn-esql-ast/src/builder/types.ts diff --git a/packages/kbn-esql-ast/src/mutate/README.md b/src/platform/packages/shared/kbn-esql-ast/src/mutate/README.md similarity index 100% rename from packages/kbn-esql-ast/src/mutate/README.md rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/README.md diff --git a/packages/kbn-esql-ast/src/mutate/commands/from/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/from/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/from/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/from/index.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/from/metadata.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/from/metadata.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/from/metadata.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/from/metadata.test.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/from/metadata.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/from/metadata.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/from/metadata.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/from/metadata.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/from/sources.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/from/sources.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/from/sources.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/from/sources.test.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/from/sources.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/from/sources.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/from/sources.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/from/sources.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/index.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/limit/index.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/limit/index.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/limit/index.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/limit/index.test.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/limit/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/limit/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/limit/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/limit/index.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/sort/index.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/sort/index.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/sort/index.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/sort/index.test.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/sort/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/sort/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/sort/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/sort/index.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/stats/index.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/stats/index.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/stats/index.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/stats/index.test.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/stats/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/stats/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/stats/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/stats/index.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/where/index.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/where/index.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/where/index.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/where/index.test.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/where/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/where/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/where/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/where/index.ts diff --git a/packages/kbn-esql-ast/src/mutate/commands/where/index_scenarios.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/where/index_scenarios.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/commands/where/index_scenarios.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/commands/where/index_scenarios.test.ts diff --git a/packages/kbn-esql-ast/src/mutate/generic/commands/args/index.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/commands/args/index.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/generic/commands/args/index.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/commands/args/index.test.ts diff --git a/packages/kbn-esql-ast/src/mutate/generic/commands/args/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/commands/args/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/generic/commands/args/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/commands/args/index.ts diff --git a/packages/kbn-esql-ast/src/mutate/generic/commands/index.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/commands/index.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/generic/commands/index.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/commands/index.test.ts diff --git a/packages/kbn-esql-ast/src/mutate/generic/commands/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/commands/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/generic/commands/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/commands/index.ts diff --git a/packages/kbn-esql-ast/src/mutate/generic/commands/options/index.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/commands/options/index.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/generic/commands/options/index.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/commands/options/index.test.ts diff --git a/packages/kbn-esql-ast/src/mutate/generic/commands/options/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/commands/options/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/generic/commands/options/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/commands/options/index.ts diff --git a/packages/kbn-esql-ast/src/mutate/generic/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/generic/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/generic/index.ts diff --git a/packages/kbn-esql-ast/src/mutate/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/index.ts diff --git a/packages/kbn-esql-ast/src/mutate/types.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/types.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/types.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/types.ts diff --git a/packages/kbn-esql-ast/src/mutate/util.ts b/src/platform/packages/shared/kbn-esql-ast/src/mutate/util.ts similarity index 100% rename from packages/kbn-esql-ast/src/mutate/util.ts rename to src/platform/packages/shared/kbn-esql-ast/src/mutate/util.ts diff --git a/packages/kbn-esql-ast/src/parser/README.md b/src/platform/packages/shared/kbn-esql-ast/src/parser/README.md similarity index 100% rename from packages/kbn-esql-ast/src/parser/README.md rename to src/platform/packages/shared/kbn-esql-ast/src/parser/README.md diff --git a/packages/kbn-esql-ast/src/parser/__tests__/ast_parser.source.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/ast_parser.source.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/ast_parser.source.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/ast_parser.source.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/columns.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/columns.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/columns.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/columns.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/command_options.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/command_options.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/command_options.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/command_options.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/commands.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/commands.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/commands.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/commands.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/comments.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/comments.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/comments.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/comments.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/from.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/from.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/from.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/from.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/function.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/function.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/function.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/function.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/inlinecast.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/inlinecast.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/inlinecast.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/inlinecast.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/join.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/join.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/join.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/join.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/literal.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/literal.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/literal.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/literal.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/metrics.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/metrics.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/metrics.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/metrics.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/params.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/params.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/params.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/params.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/rename.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/rename.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/rename.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/rename.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/sort.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/sort.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/sort.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/sort.test.ts diff --git a/packages/kbn-esql-ast/src/parser/__tests__/where.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/where.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/__tests__/where.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/__tests__/where.test.ts diff --git a/packages/kbn-esql-ast/src/parser/constants.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/constants.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/constants.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/constants.ts diff --git a/packages/kbn-esql-ast/src/parser/esql_ast_builder_listener.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/esql_ast_builder_listener.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/esql_ast_builder_listener.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/esql_ast_builder_listener.ts diff --git a/packages/kbn-esql-ast/src/parser/esql_error_listener.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/esql_error_listener.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/esql_error_listener.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/esql_error_listener.ts diff --git a/packages/kbn-esql-ast/src/parser/factories.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/factories.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/factories.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/factories.ts diff --git a/packages/kbn-esql-ast/src/parser/factories/join.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/factories/join.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/factories/join.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/factories/join.ts diff --git a/packages/kbn-esql-ast/src/parser/formatting.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/formatting.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/formatting.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/formatting.ts diff --git a/packages/kbn-esql-ast/src/parser/helpers.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/helpers.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/helpers.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/helpers.ts diff --git a/packages/kbn-esql-ast/src/parser/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/index.ts diff --git a/packages/kbn-esql-ast/src/parser/parser.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/parser.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts diff --git a/packages/kbn-esql-ast/src/parser/types.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/types.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/types.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/types.ts diff --git a/packages/kbn-esql-ast/src/parser/walkers.ts b/src/platform/packages/shared/kbn-esql-ast/src/parser/walkers.ts similarity index 100% rename from packages/kbn-esql-ast/src/parser/walkers.ts rename to src/platform/packages/shared/kbn-esql-ast/src/parser/walkers.ts diff --git a/packages/kbn-esql-ast/src/pretty_print/README.md b/src/platform/packages/shared/kbn-esql-ast/src/pretty_print/README.md similarity index 100% rename from packages/kbn-esql-ast/src/pretty_print/README.md rename to src/platform/packages/shared/kbn-esql-ast/src/pretty_print/README.md diff --git a/packages/kbn-esql-ast/src/pretty_print/__tests__/basic_pretty_printer.comments.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/pretty_print/__tests__/basic_pretty_printer.comments.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/pretty_print/__tests__/basic_pretty_printer.comments.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/pretty_print/__tests__/basic_pretty_printer.comments.test.ts diff --git a/packages/kbn-esql-ast/src/pretty_print/__tests__/basic_pretty_printer.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/pretty_print/__tests__/basic_pretty_printer.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/pretty_print/__tests__/basic_pretty_printer.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/pretty_print/__tests__/basic_pretty_printer.test.ts diff --git a/packages/kbn-esql-ast/src/pretty_print/__tests__/fixtures.ts b/src/platform/packages/shared/kbn-esql-ast/src/pretty_print/__tests__/fixtures.ts similarity index 100% rename from packages/kbn-esql-ast/src/pretty_print/__tests__/fixtures.ts rename to src/platform/packages/shared/kbn-esql-ast/src/pretty_print/__tests__/fixtures.ts diff --git a/packages/kbn-esql-ast/src/pretty_print/__tests__/wrapping_pretty_printer.comments.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/pretty_print/__tests__/wrapping_pretty_printer.comments.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/pretty_print/__tests__/wrapping_pretty_printer.comments.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/pretty_print/__tests__/wrapping_pretty_printer.comments.test.ts diff --git a/packages/kbn-esql-ast/src/pretty_print/__tests__/wrapping_pretty_printer.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/pretty_print/__tests__/wrapping_pretty_printer.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/pretty_print/__tests__/wrapping_pretty_printer.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/pretty_print/__tests__/wrapping_pretty_printer.test.ts diff --git a/packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts b/src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts similarity index 100% rename from packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts rename to src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts diff --git a/packages/kbn-esql-ast/src/pretty_print/constants.ts b/src/platform/packages/shared/kbn-esql-ast/src/pretty_print/constants.ts similarity index 100% rename from packages/kbn-esql-ast/src/pretty_print/constants.ts rename to src/platform/packages/shared/kbn-esql-ast/src/pretty_print/constants.ts diff --git a/packages/kbn-esql-ast/src/pretty_print/helpers.ts b/src/platform/packages/shared/kbn-esql-ast/src/pretty_print/helpers.ts similarity index 100% rename from packages/kbn-esql-ast/src/pretty_print/helpers.ts rename to src/platform/packages/shared/kbn-esql-ast/src/pretty_print/helpers.ts diff --git a/packages/kbn-esql-ast/src/pretty_print/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/pretty_print/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/pretty_print/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/pretty_print/index.ts diff --git a/packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts b/src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts similarity index 100% rename from packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts rename to src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts diff --git a/packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts b/src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts similarity index 100% rename from packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts rename to src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts diff --git a/packages/kbn-esql-ast/src/query/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/query/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/query/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/query/index.ts diff --git a/packages/kbn-esql-ast/src/query/query.ts b/src/platform/packages/shared/kbn-esql-ast/src/query/query.ts similarity index 100% rename from packages/kbn-esql-ast/src/query/query.ts rename to src/platform/packages/shared/kbn-esql-ast/src/query/query.ts diff --git a/packages/kbn-esql-ast/src/synth/README.md b/src/platform/packages/shared/kbn-esql-ast/src/synth/README.md similarity index 100% rename from packages/kbn-esql-ast/src/synth/README.md rename to src/platform/packages/shared/kbn-esql-ast/src/synth/README.md diff --git a/packages/kbn-esql-ast/src/synth/__tests__/cmd.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/synth/__tests__/cmd.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/synth/__tests__/cmd.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/synth/__tests__/cmd.test.ts diff --git a/packages/kbn-esql-ast/src/synth/__tests__/expr_function.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/synth/__tests__/expr_function.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/synth/__tests__/expr_function.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/synth/__tests__/expr_function.test.ts diff --git a/packages/kbn-esql-ast/src/synth/__tests__/expr_template.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/synth/__tests__/expr_template.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/synth/__tests__/expr_template.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/synth/__tests__/expr_template.test.ts diff --git a/packages/kbn-esql-ast/src/synth/__tests__/scenarios.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/synth/__tests__/scenarios.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/synth/__tests__/scenarios.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/synth/__tests__/scenarios.test.ts diff --git a/packages/kbn-esql-ast/src/synth/cmd.ts b/src/platform/packages/shared/kbn-esql-ast/src/synth/cmd.ts similarity index 100% rename from packages/kbn-esql-ast/src/synth/cmd.ts rename to src/platform/packages/shared/kbn-esql-ast/src/synth/cmd.ts diff --git a/packages/kbn-esql-ast/src/synth/expr.ts b/src/platform/packages/shared/kbn-esql-ast/src/synth/expr.ts similarity index 100% rename from packages/kbn-esql-ast/src/synth/expr.ts rename to src/platform/packages/shared/kbn-esql-ast/src/synth/expr.ts diff --git a/packages/kbn-esql-ast/src/synth/helpers.ts b/src/platform/packages/shared/kbn-esql-ast/src/synth/helpers.ts similarity index 100% rename from packages/kbn-esql-ast/src/synth/helpers.ts rename to src/platform/packages/shared/kbn-esql-ast/src/synth/helpers.ts diff --git a/packages/kbn-esql-ast/src/synth/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/synth/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/synth/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/synth/index.ts diff --git a/packages/kbn-esql-ast/src/synth/types.ts b/src/platform/packages/shared/kbn-esql-ast/src/synth/types.ts similarity index 100% rename from packages/kbn-esql-ast/src/synth/types.ts rename to src/platform/packages/shared/kbn-esql-ast/src/synth/types.ts diff --git a/packages/kbn-esql-ast/src/types.ts b/src/platform/packages/shared/kbn-esql-ast/src/types.ts similarity index 100% rename from packages/kbn-esql-ast/src/types.ts rename to src/platform/packages/shared/kbn-esql-ast/src/types.ts diff --git a/packages/kbn-esql-ast/src/visitor/README.md b/src/platform/packages/shared/kbn-esql-ast/src/visitor/README.md similarity index 100% rename from packages/kbn-esql-ast/src/visitor/README.md rename to src/platform/packages/shared/kbn-esql-ast/src/visitor/README.md diff --git a/packages/kbn-esql-ast/src/visitor/__tests__/commands.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/visitor/__tests__/commands.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/visitor/__tests__/commands.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/visitor/__tests__/commands.test.ts diff --git a/packages/kbn-esql-ast/src/visitor/__tests__/expressions.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/visitor/__tests__/expressions.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/visitor/__tests__/expressions.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/visitor/__tests__/expressions.test.ts diff --git a/packages/kbn-esql-ast/src/visitor/__tests__/scenarios.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/visitor/__tests__/scenarios.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/visitor/__tests__/scenarios.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/visitor/__tests__/scenarios.test.ts diff --git a/packages/kbn-esql-ast/src/visitor/__tests__/visitor.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/visitor/__tests__/visitor.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/visitor/__tests__/visitor.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/visitor/__tests__/visitor.test.ts diff --git a/packages/kbn-esql-ast/src/visitor/contexts.ts b/src/platform/packages/shared/kbn-esql-ast/src/visitor/contexts.ts similarity index 100% rename from packages/kbn-esql-ast/src/visitor/contexts.ts rename to src/platform/packages/shared/kbn-esql-ast/src/visitor/contexts.ts diff --git a/packages/kbn-esql-ast/src/visitor/global_visitor_context.ts b/src/platform/packages/shared/kbn-esql-ast/src/visitor/global_visitor_context.ts similarity index 100% rename from packages/kbn-esql-ast/src/visitor/global_visitor_context.ts rename to src/platform/packages/shared/kbn-esql-ast/src/visitor/global_visitor_context.ts diff --git a/packages/kbn-esql-ast/src/visitor/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/visitor/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/visitor/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/visitor/index.ts diff --git a/packages/kbn-esql-ast/src/visitor/types.ts b/src/platform/packages/shared/kbn-esql-ast/src/visitor/types.ts similarity index 100% rename from packages/kbn-esql-ast/src/visitor/types.ts rename to src/platform/packages/shared/kbn-esql-ast/src/visitor/types.ts diff --git a/packages/kbn-esql-ast/src/visitor/utils.ts b/src/platform/packages/shared/kbn-esql-ast/src/visitor/utils.ts similarity index 100% rename from packages/kbn-esql-ast/src/visitor/utils.ts rename to src/platform/packages/shared/kbn-esql-ast/src/visitor/utils.ts diff --git a/packages/kbn-esql-ast/src/visitor/visitor.ts b/src/platform/packages/shared/kbn-esql-ast/src/visitor/visitor.ts similarity index 100% rename from packages/kbn-esql-ast/src/visitor/visitor.ts rename to src/platform/packages/shared/kbn-esql-ast/src/visitor/visitor.ts diff --git a/packages/kbn-esql-ast/src/walker/README.md b/src/platform/packages/shared/kbn-esql-ast/src/walker/README.md similarity index 100% rename from packages/kbn-esql-ast/src/walker/README.md rename to src/platform/packages/shared/kbn-esql-ast/src/walker/README.md diff --git a/packages/kbn-esql-ast/src/walker/helpers.ts b/src/platform/packages/shared/kbn-esql-ast/src/walker/helpers.ts similarity index 100% rename from packages/kbn-esql-ast/src/walker/helpers.ts rename to src/platform/packages/shared/kbn-esql-ast/src/walker/helpers.ts diff --git a/packages/kbn-esql-ast/src/walker/index.ts b/src/platform/packages/shared/kbn-esql-ast/src/walker/index.ts similarity index 100% rename from packages/kbn-esql-ast/src/walker/index.ts rename to src/platform/packages/shared/kbn-esql-ast/src/walker/index.ts diff --git a/packages/kbn-esql-ast/src/walker/walker.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/walker/walker.test.ts similarity index 100% rename from packages/kbn-esql-ast/src/walker/walker.test.ts rename to src/platform/packages/shared/kbn-esql-ast/src/walker/walker.test.ts diff --git a/packages/kbn-esql-ast/src/walker/walker.ts b/src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts similarity index 100% rename from packages/kbn-esql-ast/src/walker/walker.ts rename to src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts diff --git a/packages/kbn-esql-ast/tsconfig.json b/src/platform/packages/shared/kbn-esql-ast/tsconfig.json similarity index 81% rename from packages/kbn-esql-ast/tsconfig.json rename to src/platform/packages/shared/kbn-esql-ast/tsconfig.json index a53bf973e2373..f4dec95868b42 100644 --- a/packages/kbn-esql-ast/tsconfig.json +++ b/src/platform/packages/shared/kbn-esql-ast/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-esql-utils/README.md b/src/platform/packages/shared/kbn-esql-utils/README.md similarity index 100% rename from packages/kbn-esql-utils/README.md rename to src/platform/packages/shared/kbn-esql-utils/README.md diff --git a/packages/kbn-esql-utils/constants.ts b/src/platform/packages/shared/kbn-esql-utils/constants.ts similarity index 100% rename from packages/kbn-esql-utils/constants.ts rename to src/platform/packages/shared/kbn-esql-utils/constants.ts diff --git a/packages/kbn-esql-utils/index.ts b/src/platform/packages/shared/kbn-esql-utils/index.ts similarity index 100% rename from packages/kbn-esql-utils/index.ts rename to src/platform/packages/shared/kbn-esql-utils/index.ts diff --git a/packages/kbn-esql-ast/jest.config.js b/src/platform/packages/shared/kbn-esql-utils/jest.config.js similarity index 84% rename from packages/kbn-esql-ast/jest.config.js rename to src/platform/packages/shared/kbn-esql-utils/jest.config.js index bcd3df071307a..67e6ade4d2194 100644 --- a/packages/kbn-esql-ast/jest.config.js +++ b/src/platform/packages/shared/kbn-esql-utils/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-esql-ast'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-esql-utils'], }; diff --git a/packages/kbn-esql-utils/kibana.jsonc b/src/platform/packages/shared/kbn-esql-utils/kibana.jsonc similarity index 100% rename from packages/kbn-esql-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-esql-utils/kibana.jsonc diff --git a/packages/kbn-esql-utils/package.json b/src/platform/packages/shared/kbn-esql-utils/package.json similarity index 100% rename from packages/kbn-esql-utils/package.json rename to src/platform/packages/shared/kbn-esql-utils/package.json diff --git a/packages/kbn-esql-utils/src/index.ts b/src/platform/packages/shared/kbn-esql-utils/src/index.ts similarity index 100% rename from packages/kbn-esql-utils/src/index.ts rename to src/platform/packages/shared/kbn-esql-utils/src/index.ts diff --git a/packages/kbn-esql-utils/src/types.ts b/src/platform/packages/shared/kbn-esql-utils/src/types.ts similarity index 100% rename from packages/kbn-esql-utils/src/types.ts rename to src/platform/packages/shared/kbn-esql-utils/src/types.ts diff --git a/packages/kbn-esql-utils/src/utils/append_to_query.test.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.test.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/append_to_query.test.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.test.ts diff --git a/packages/kbn-esql-utils/src/utils/append_to_query.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/append_to_query.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts diff --git a/packages/kbn-esql-utils/src/utils/esql_fields_utils.test.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/esql_fields_utils.test.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/esql_fields_utils.test.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/esql_fields_utils.test.ts diff --git a/packages/kbn-esql-utils/src/utils/esql_fields_utils.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/esql_fields_utils.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/esql_fields_utils.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/esql_fields_utils.ts diff --git a/packages/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts diff --git a/packages/kbn-esql-utils/src/utils/get_esql_with_safe_limit.test.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_with_safe_limit.test.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/get_esql_with_safe_limit.test.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_with_safe_limit.test.ts diff --git a/packages/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts diff --git a/packages/kbn-esql-utils/src/utils/get_initial_esql_query.test.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/get_initial_esql_query.test.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/get_initial_esql_query.test.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/get_initial_esql_query.test.ts diff --git a/packages/kbn-esql-utils/src/utils/get_initial_esql_query.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/get_initial_esql_query.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/get_initial_esql_query.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/get_initial_esql_query.ts diff --git a/packages/kbn-esql-utils/src/utils/query_cannot_be_sampled.test.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/query_cannot_be_sampled.test.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/query_cannot_be_sampled.test.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/query_cannot_be_sampled.test.ts diff --git a/packages/kbn-esql-utils/src/utils/query_cannot_be_sampled.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/query_cannot_be_sampled.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/query_cannot_be_sampled.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/query_cannot_be_sampled.ts diff --git a/packages/kbn-esql-utils/src/utils/query_parsing_helpers.test.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.test.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/query_parsing_helpers.test.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.test.ts diff --git a/packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts diff --git a/packages/kbn-esql-utils/src/utils/run_query.test.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.test.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/run_query.test.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.test.ts diff --git a/packages/kbn-esql-utils/src/utils/run_query.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/run_query.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts diff --git a/packages/kbn-esql-utils/src/utils/sha256.ts b/src/platform/packages/shared/kbn-esql-utils/src/utils/sha256.ts similarity index 100% rename from packages/kbn-esql-utils/src/utils/sha256.ts rename to src/platform/packages/shared/kbn-esql-utils/src/utils/sha256.ts diff --git a/packages/kbn-esql-utils/tsconfig.json b/src/platform/packages/shared/kbn-esql-utils/tsconfig.json similarity index 90% rename from packages/kbn-esql-utils/tsconfig.json rename to src/platform/packages/shared/kbn-esql-utils/tsconfig.json index 79c447579d86c..c57e474c9a248 100644 --- a/packages/kbn-esql-utils/tsconfig.json +++ b/src/platform/packages/shared/kbn-esql-utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-esql-validation-autocomplete/BUILD.bazel b/src/platform/packages/shared/kbn-esql-validation-autocomplete/BUILD.bazel similarity index 100% rename from packages/kbn-esql-validation-autocomplete/BUILD.bazel rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/BUILD.bazel diff --git a/packages/kbn-esql-validation-autocomplete/README.md b/src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md similarity index 91% rename from packages/kbn-esql-validation-autocomplete/README.md rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md index 977b568e93a3f..d67d4a3689468 100644 --- a/packages/kbn-esql-validation-autocomplete/README.md +++ b/src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md @@ -215,11 +215,11 @@ Both the validation and autocomplete engine are covered by extensive suites of t #### Running the tests -All the tests can be run using the `yarn jest:tests packages/kbn-esql-validation-autocomplete/path/to/test/file` command at the root of the repository. +All the tests can be run using the `yarn jest:tests src/platform/packages/shared/kbn-esql-validation-autocomplete/path/to/test/file` command at the root of the repository. To run all autocomplete and validation tests you can specifically run -`yarn test:jest packages/kbn-esql-validation-autocomplete/` +`yarn test:jest src/platform/packages/shared/kbn-esql-validation-autocomplete/` #### Ongoing refactor @@ -241,7 +241,7 @@ The newer pattern is ##### The new way -Validation test logic is found in `packages/kbn-esql-validation-autocomplete/src/validation/__tests__`. +Validation test logic is found in `src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__`. Tests are found in files named with the following convention: `validation.some-description.test.ts`. @@ -274,7 +274,7 @@ testErrorsAndWarnings(`ROW var = NOT 5 LIKE "?a"`, [ ]); ``` -and are found in `packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts`. +and are found in `src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/validation.test.ts`. `testErrorsAndWarnings` supports `skip` and `only` modifiers e.g. `testErrorsAndWarnings.only('...')`. @@ -284,13 +284,13 @@ It accepts 2. a list of expected errors (can be empty) 3. a list of expected warnings (can be empty or omitted) -Running the tests in `validation.test.ts` populates `packages/kbn-esql-validation-autocomplete/src/validation/esql_validation_meta_tests.json` which is then used in `test/api_integration/apis/esql/errors.ts` to make sure our validator isn't giving users false positives. Therefore, the validation test suite should always be run after any changes have been made to it so that the JSON file stays in sync. +Running the tests in `validation.test.ts` populates `src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/esql_validation_meta_tests.json` which is then used in `test/api_integration/apis/esql/errors.ts` to make sure our validator isn't giving users false positives. Therefore, the validation test suite should always be run after any changes have been made to it so that the JSON file stays in sync. #### Autocomplete ##### The new way -The new tests are found in `packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__`. +The new tests are found in `src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__`. They look like this. @@ -327,7 +327,7 @@ So, that allows you to customize the [trigger kind](https://microsoft.github.io/ ##### The old way -All the legacy autocomplete tests are found in `packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.test.ts`. +All the legacy autocomplete tests are found in `src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.test.ts`. They look like this diff --git a/packages/kbn-esql-validation-autocomplete/index.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/index.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/index.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/index.ts diff --git a/packages/kbn-language-documentation/jest.config.js b/src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js similarity index 81% rename from packages/kbn-language-documentation/jest.config.js rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js index 1507a0cdfd7cb..f37a4337e0027 100644 --- a/packages/kbn-language-documentation/jest.config.js +++ b/src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-language-documentation'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-esql-validation-autocomplete'], }; diff --git a/packages/kbn-esql-validation-autocomplete/jest.integration.config.js b/src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js similarity index 83% rename from packages/kbn-esql-validation-autocomplete/jest.integration.config.js rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js index 899746af419e8..c4f682e7d6e6f 100644 --- a/packages/kbn-esql-validation-autocomplete/jest.integration.config.js +++ b/src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js @@ -9,8 +9,8 @@ module.exports = { preset: '@kbn/test/jest_integration_node', - rootDir: '../..', - roots: ['/packages/kbn-esql-validation-autocomplete'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-esql-validation-autocomplete'], openHandlesTimeout: 0, forceExit: true, }; diff --git a/packages/kbn-esql-validation-autocomplete/kibana.jsonc b/src/platform/packages/shared/kbn-esql-validation-autocomplete/kibana.jsonc similarity index 100% rename from packages/kbn-esql-validation-autocomplete/kibana.jsonc rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/kibana.jsonc diff --git a/packages/kbn-esql-validation-autocomplete/package.json b/src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json similarity index 50% rename from packages/kbn-esql-validation-autocomplete/package.json rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json index 074a4f04f6dac..0fb54a1e61c30 100644 --- a/packages/kbn-esql-validation-autocomplete/package.json +++ b/src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json @@ -7,7 +7,7 @@ "scripts": { "make:defs": "ts-node --transpileOnly ./scripts/generate_function_definitions.ts", "postmake:defs": "yarn run lint:fix:generated", - "lint:fix:generated": "cd ../.. && node ./scripts/eslint --fix ./packages/kbn-esql-validation-autocomplete/src/definitions/generated", - "test:validation": "cd ../.. && yarn test:jest ./packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts" + "lint:fix:generated": "cd ../../../../.. && node ./scripts/eslint --fix ./src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/generated", + "test:validation": "cd ../../../../.. && yarn test:jest ./src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/validation.test.ts" } } diff --git a/packages/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts similarity index 99% rename from packages/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts index 3a810cac3ad75..0601a82983123 100644 --- a/packages/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts +++ b/src/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts @@ -386,7 +386,7 @@ import type { FunctionDefinition } from '../types'; ${ functionsType === 'scalar' ? `import type { ESQLFunction } from '@kbn/esql-ast'; -import { isLiteralItem } from '../../shared/helpers';` +import { isLiteralItem } from '../../../../../shared/helpers';` : '' } diff --git a/packages/kbn-esql-validation-autocomplete/src/__tests__/helpers.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/__tests__/helpers.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/__tests__/helpers.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/__tests__/helpers.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.from.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.from.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.from.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.from.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.sort.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.sort.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.sort.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.sort.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.stats.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.stats.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.stats.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.stats.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.where.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.where.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.where.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.where.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.suggest.eval.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.suggest.eval.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.suggest.eval.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.suggest.eval.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.suggest.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.suggest.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.suggest.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.suggest.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/constants.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/constants.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/constants.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/constants.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/helpers.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/helpers.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/helpers.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/helpers.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/hidden_functions_and_commands.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/hidden_functions_and_commands.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/hidden_functions_and_commands.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/hidden_functions_and_commands.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/suggestions_in_comments.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/suggestions_in_comments.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/suggestions_in_comments.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/suggestions_in_comments.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/drop/index.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/drop/index.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/drop/index.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/drop/index.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/keep/index.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/keep/index.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/keep/index.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/keep/index.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/helper.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/helper.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/helper.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/helper.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/helper.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/helper.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/helper.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/helper.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/index.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/index.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/index.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/sort/index.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/stats/index.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/stats/index.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/stats/index.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/stats/index.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/stats/util.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/stats/util.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/stats/util.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/stats/util.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/where/index.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/where/index.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/where/index.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/where/index.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/where/util.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/where/util.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/commands/where/util.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/commands/where/util.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/complete_items.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/complete_items.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/complete_items.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/complete_items.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/documentation_util.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/documentation_util.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/documentation_util.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/documentation_util.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/factories.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/factories.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/factories.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/factories.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/helper.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/helper.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts similarity index 99% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts index 67ea324a1a69a..f359b928f3c36 100644 --- a/packages/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts +++ b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts @@ -452,7 +452,7 @@ export function pushItUpInTheList(suggestions: SuggestionRawDefinition[], should })); } -/** @deprecated — use getExpressionType instead (packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts) */ +/** @deprecated — use getExpressionType instead (src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts) */ export function extractTypeFromASTArg( arg: ESQLAstItem, references: Pick diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/suggestions.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/suggestions.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/suggestions.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/suggestions.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/utils/ecs_metadata_helper.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/utils/ecs_metadata_helper.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/utils/ecs_metadata_helper.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/utils/ecs_metadata_helper.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/utils/ecs_metadata_helper.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/utils/ecs_metadata_helper.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/autocomplete/utils/ecs_metadata_helper.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/utils/ecs_metadata_helper.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/code_actions/actions.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/actions.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/code_actions/actions.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/actions.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/code_actions/actions.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/actions.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/code_actions/actions.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/actions.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/code_actions/types.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/types.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/code_actions/types.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/types.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/code_actions/utils.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/utils.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/code_actions/utils.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/utils.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/definitions/builtin.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/builtin.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/definitions/builtin.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/builtin.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/definitions/commands.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/commands.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/definitions/commands.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/commands.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/definitions/generated/aggregation_functions.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/generated/aggregation_functions.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/definitions/generated/aggregation_functions.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/generated/aggregation_functions.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/definitions/generated/scalar_functions.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/generated/scalar_functions.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/definitions/generated/scalar_functions.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/generated/scalar_functions.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/definitions/grouping.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/grouping.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/definitions/grouping.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/grouping.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/definitions/helpers.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/helpers.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/definitions/helpers.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/helpers.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/definitions/literals.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/literals.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/definitions/literals.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/literals.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/definitions/options.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/options.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/definitions/options.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/options.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/definitions/settings.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/settings.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/definitions/settings.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/settings.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/definitions/types.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/definitions/types.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/shared/constants.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/constants.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/shared/constants.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/constants.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/shared/context.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/context.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/shared/context.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/context.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/shared/esql_types.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/esql_types.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/shared/esql_types.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/esql_types.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/shared/helpers.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/shared/helpers.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/shared/test_functions.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/test_functions.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/shared/test_functions.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/test_functions.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/shared/types.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/shared/types.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/shared/variables.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/variables.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/shared/variables.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/variables.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/types.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/types.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/types.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/types.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/.gitignore b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/.gitignore similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/.gitignore rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/.gitignore diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/callbacks.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/callbacks.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/callbacks.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/callbacks.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/fields_and_variables.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/fields_and_variables.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/fields_and_variables.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/fields_and_variables.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/functions.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/functions.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/functions.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/functions.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/helpers.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/helpers.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/helpers.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/helpers.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.from.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.from.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.from.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.from.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.inlinestats.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.inlinestats.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.inlinestats.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.inlinestats.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.metrics.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.metrics.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.metrics.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.metrics.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.stats.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.stats.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.stats.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.stats.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/types.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/types.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/types.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/types.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.ccs.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.ccs.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.ccs.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.ccs.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.from.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.from.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.from.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.from.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.inlinestats.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.inlinestats.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.inlinestats.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.inlinestats.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.metrics.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.metrics.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.metrics.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.metrics.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.stats.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.stats.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.stats.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.stats.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.eval.date_diff.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.eval.date_diff.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.eval.date_diff.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.eval.date_diff.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.functions.full_text.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.functions.full_text.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.functions.full_text.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.functions.full_text.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.params.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.params.test.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.params.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.params.test.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/errors.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/errors.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/errors.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/errors.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/esql_validation_meta_tests.json b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/esql_validation_meta_tests.json similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/esql_validation_meta_tests.json rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/esql_validation_meta_tests.json diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/helpers.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/helpers.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/helpers.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/helpers.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/resources.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/resources.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/resources.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/resources.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/types.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/types.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/validation.test.ts similarity index 99% rename from packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/validation.test.ts index 442a2299d8abe..f1256622fe7f8 100644 --- a/packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts +++ b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/validation.test.ts @@ -265,7 +265,7 @@ describe('validation logic', () => { }); // The following block tests a case that is allowed in Kibana - // by suppressing the parser error in packages/kbn-esql-ast/src/ast_parser.ts + // by suppressing the parser error in src/platform/packages/shared/kbn-esql-ast/src/ast_parser.ts describe('ESQL query can be empty', () => { testErrorsAndWarnings('', []); testErrorsAndWarnings(' ', []); diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/validation.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/validation.ts similarity index 100% rename from packages/kbn-esql-validation-autocomplete/src/validation/validation.ts rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/validation.ts diff --git a/packages/kbn-esql-validation-autocomplete/tsconfig.json b/src/platform/packages/shared/kbn-esql-validation-autocomplete/tsconfig.json similarity index 85% rename from packages/kbn-esql-validation-autocomplete/tsconfig.json rename to src/platform/packages/shared/kbn-esql-validation-autocomplete/tsconfig.json index edbd153338a5f..d262131493eaf 100644 --- a/packages/kbn-esql-validation-autocomplete/tsconfig.json +++ b/src/platform/packages/shared/kbn-esql-validation-autocomplete/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/src/plugins/esql/.i18nrc.json b/src/platform/plugins/shared/esql/.i18nrc.json similarity index 100% rename from src/plugins/esql/.i18nrc.json rename to src/platform/plugins/shared/esql/.i18nrc.json diff --git a/src/plugins/esql/README.md b/src/platform/plugins/shared/esql/README.md similarity index 100% rename from src/plugins/esql/README.md rename to src/platform/plugins/shared/esql/README.md diff --git a/src/plugins/esql_datagrid/jest.config.js b/src/platform/plugins/shared/esql/jest.config.js similarity index 76% rename from src/plugins/esql_datagrid/jest.config.js rename to src/platform/plugins/shared/esql/jest.config.js index 0183c93b464e0..3d60aabf3d59e 100644 --- a/src/plugins/esql_datagrid/jest.config.js +++ b/src/platform/plugins/shared/esql/jest.config.js @@ -9,12 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/esql_datagrid'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/esql_datagrid', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/esql'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/esql', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/esql_datagrid/{common,public,server}/**/*.{js,ts,tsx}', + '/src/platform/plugins/shared/esql/{common,public,server}/**/*.{js,ts,tsx}', ], setupFiles: ['jest-canvas-mock'], }; diff --git a/src/plugins/esql/kibana.jsonc b/src/platform/plugins/shared/esql/kibana.jsonc similarity index 100% rename from src/plugins/esql/kibana.jsonc rename to src/platform/plugins/shared/esql/kibana.jsonc diff --git a/src/plugins/esql/package.json b/src/platform/plugins/shared/esql/package.json similarity index 100% rename from src/plugins/esql/package.json rename to src/platform/plugins/shared/esql/package.json diff --git a/src/plugins/esql/public/create_editor.tsx b/src/platform/plugins/shared/esql/public/create_editor.tsx similarity index 100% rename from src/plugins/esql/public/create_editor.tsx rename to src/platform/plugins/shared/esql/public/create_editor.tsx diff --git a/src/plugins/esql/public/index.ts b/src/platform/plugins/shared/esql/public/index.ts similarity index 100% rename from src/plugins/esql/public/index.ts rename to src/platform/plugins/shared/esql/public/index.ts diff --git a/src/plugins/esql/public/kibana_services.ts b/src/platform/plugins/shared/esql/public/kibana_services.ts similarity index 100% rename from src/plugins/esql/public/kibana_services.ts rename to src/platform/plugins/shared/esql/public/kibana_services.ts diff --git a/src/plugins/esql/public/plugin.ts b/src/platform/plugins/shared/esql/public/plugin.ts similarity index 100% rename from src/plugins/esql/public/plugin.ts rename to src/platform/plugins/shared/esql/public/plugin.ts diff --git a/src/plugins/esql/public/triggers/index.ts b/src/platform/plugins/shared/esql/public/triggers/index.ts similarity index 100% rename from src/plugins/esql/public/triggers/index.ts rename to src/platform/plugins/shared/esql/public/triggers/index.ts diff --git a/src/plugins/esql/public/triggers/update_esql_query_actions.test.ts b/src/platform/plugins/shared/esql/public/triggers/update_esql_query_actions.test.ts similarity index 100% rename from src/plugins/esql/public/triggers/update_esql_query_actions.test.ts rename to src/platform/plugins/shared/esql/public/triggers/update_esql_query_actions.test.ts diff --git a/src/plugins/esql/public/triggers/update_esql_query_actions.ts b/src/platform/plugins/shared/esql/public/triggers/update_esql_query_actions.ts similarity index 100% rename from src/plugins/esql/public/triggers/update_esql_query_actions.ts rename to src/platform/plugins/shared/esql/public/triggers/update_esql_query_actions.ts diff --git a/src/plugins/esql/public/triggers/update_esql_query_helpers.ts b/src/platform/plugins/shared/esql/public/triggers/update_esql_query_helpers.ts similarity index 100% rename from src/plugins/esql/public/triggers/update_esql_query_helpers.ts rename to src/platform/plugins/shared/esql/public/triggers/update_esql_query_helpers.ts diff --git a/src/plugins/esql/public/triggers/update_esql_query_trigger.ts b/src/platform/plugins/shared/esql/public/triggers/update_esql_query_trigger.ts similarity index 100% rename from src/plugins/esql/public/triggers/update_esql_query_trigger.ts rename to src/platform/plugins/shared/esql/public/triggers/update_esql_query_trigger.ts diff --git a/src/plugins/esql/public/types.ts b/src/platform/plugins/shared/esql/public/types.ts similarity index 100% rename from src/plugins/esql/public/types.ts rename to src/platform/plugins/shared/esql/public/types.ts diff --git a/src/plugins/esql/server/index.ts b/src/platform/plugins/shared/esql/server/index.ts similarity index 100% rename from src/plugins/esql/server/index.ts rename to src/platform/plugins/shared/esql/server/index.ts diff --git a/src/plugins/esql/server/plugin.ts b/src/platform/plugins/shared/esql/server/plugin.ts similarity index 100% rename from src/plugins/esql/server/plugin.ts rename to src/platform/plugins/shared/esql/server/plugin.ts diff --git a/src/plugins/esql/server/ui_settings.ts b/src/platform/plugins/shared/esql/server/ui_settings.ts similarity index 100% rename from src/plugins/esql/server/ui_settings.ts rename to src/platform/plugins/shared/esql/server/ui_settings.ts diff --git a/src/plugins/esql/tsconfig.json b/src/platform/plugins/shared/esql/tsconfig.json similarity index 88% rename from src/plugins/esql/tsconfig.json rename to src/platform/plugins/shared/esql/tsconfig.json index 2f9bd7f0883b3..699fce107f1da 100644 --- a/src/plugins/esql/tsconfig.json +++ b/src/platform/plugins/shared/esql/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, "include": [ - "../../typings/**/*", + "../../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*", diff --git a/src/plugins/esql_datagrid/.i18nrc.json b/src/platform/plugins/shared/esql_datagrid/.i18nrc.json similarity index 100% rename from src/plugins/esql_datagrid/.i18nrc.json rename to src/platform/plugins/shared/esql_datagrid/.i18nrc.json diff --git a/src/plugins/esql_datagrid/README.md b/src/platform/plugins/shared/esql_datagrid/README.md similarity index 100% rename from src/plugins/esql_datagrid/README.md rename to src/platform/plugins/shared/esql_datagrid/README.md diff --git a/src/plugins/esql/jest.config.js b/src/platform/plugins/shared/esql_datagrid/jest.config.js similarity index 63% rename from src/plugins/esql/jest.config.js rename to src/platform/plugins/shared/esql_datagrid/jest.config.js index 073baf41b7602..236b56b2c2fb4 100644 --- a/src/plugins/esql/jest.config.js +++ b/src/platform/plugins/shared/esql_datagrid/jest.config.js @@ -9,10 +9,13 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/esql'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/esql', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/esql_datagrid'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/esql_datagrid', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/esql/{common,public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/esql_datagrid/{common,public,server}/**/*.{js,ts,tsx}', + ], setupFiles: ['jest-canvas-mock'], }; diff --git a/src/plugins/esql_datagrid/kibana.jsonc b/src/platform/plugins/shared/esql_datagrid/kibana.jsonc similarity index 100% rename from src/plugins/esql_datagrid/kibana.jsonc rename to src/platform/plugins/shared/esql_datagrid/kibana.jsonc diff --git a/src/plugins/esql_datagrid/package.json b/src/platform/plugins/shared/esql_datagrid/package.json similarity index 100% rename from src/plugins/esql_datagrid/package.json rename to src/platform/plugins/shared/esql_datagrid/package.json diff --git a/src/plugins/esql_datagrid/public/create_datagrid.tsx b/src/platform/plugins/shared/esql_datagrid/public/create_datagrid.tsx similarity index 100% rename from src/plugins/esql_datagrid/public/create_datagrid.tsx rename to src/platform/plugins/shared/esql_datagrid/public/create_datagrid.tsx diff --git a/src/plugins/esql_datagrid/public/data_grid.tsx b/src/platform/plugins/shared/esql_datagrid/public/data_grid.tsx similarity index 100% rename from src/plugins/esql_datagrid/public/data_grid.tsx rename to src/platform/plugins/shared/esql_datagrid/public/data_grid.tsx diff --git a/src/plugins/esql_datagrid/public/index.ts b/src/platform/plugins/shared/esql_datagrid/public/index.ts similarity index 100% rename from src/plugins/esql_datagrid/public/index.ts rename to src/platform/plugins/shared/esql_datagrid/public/index.ts diff --git a/src/plugins/esql_datagrid/public/kibana_services.ts b/src/platform/plugins/shared/esql_datagrid/public/kibana_services.ts similarity index 100% rename from src/plugins/esql_datagrid/public/kibana_services.ts rename to src/platform/plugins/shared/esql_datagrid/public/kibana_services.ts diff --git a/src/plugins/esql_datagrid/public/plugin.ts b/src/platform/plugins/shared/esql_datagrid/public/plugin.ts similarity index 100% rename from src/plugins/esql_datagrid/public/plugin.ts rename to src/platform/plugins/shared/esql_datagrid/public/plugin.ts diff --git a/src/plugins/esql_datagrid/public/row_viewer.test.tsx b/src/platform/plugins/shared/esql_datagrid/public/row_viewer.test.tsx similarity index 100% rename from src/plugins/esql_datagrid/public/row_viewer.test.tsx rename to src/platform/plugins/shared/esql_datagrid/public/row_viewer.test.tsx diff --git a/src/plugins/esql_datagrid/public/row_viewer.tsx b/src/platform/plugins/shared/esql_datagrid/public/row_viewer.tsx similarity index 100% rename from src/plugins/esql_datagrid/public/row_viewer.tsx rename to src/platform/plugins/shared/esql_datagrid/public/row_viewer.tsx diff --git a/src/plugins/esql_datagrid/public/row_viewer_lazy.tsx b/src/platform/plugins/shared/esql_datagrid/public/row_viewer_lazy.tsx similarity index 100% rename from src/plugins/esql_datagrid/public/row_viewer_lazy.tsx rename to src/platform/plugins/shared/esql_datagrid/public/row_viewer_lazy.tsx diff --git a/src/plugins/esql_datagrid/tsconfig.json b/src/platform/plugins/shared/esql_datagrid/tsconfig.json similarity index 89% rename from src/plugins/esql_datagrid/tsconfig.json rename to src/platform/plugins/shared/esql_datagrid/tsconfig.json index c887925e26b56..4e7daf384254c 100644 --- a/src/plugins/esql_datagrid/tsconfig.json +++ b/src/platform/plugins/shared/esql_datagrid/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, "include": [ - "../../typings/**/*", + "../../../../typings/**/*", "common/**/*", "public/**/*", ], diff --git a/test/api_integration/apis/esql/errors.ts b/test/api_integration/apis/esql/errors.ts index 020411bf8beb9..3347e9b9ef53c 100644 --- a/test/api_integration/apis/esql/errors.ts +++ b/test/api_integration/apis/esql/errors.ts @@ -19,10 +19,7 @@ import { FtrProviderContext } from '../../ftr_provider_context'; function getConfigPath() { return Path.resolve( REPO_ROOT, - 'packages', - 'kbn-esql-validation-autocomplete', - 'src', - 'validation' + 'src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation' ); } diff --git a/tsconfig.base.json b/tsconfig.base.json index de0d8a384222a..2032eae1184e8 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -862,20 +862,20 @@ "@kbn/eso-model-version-example/*": ["examples/eso_model_version_example/*"], "@kbn/eso-plugin": ["x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin"], "@kbn/eso-plugin/*": ["x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin/*"], - "@kbn/esql": ["src/plugins/esql"], - "@kbn/esql/*": ["src/plugins/esql/*"], - "@kbn/esql-ast": ["packages/kbn-esql-ast"], - "@kbn/esql-ast/*": ["packages/kbn-esql-ast/*"], + "@kbn/esql": ["src/platform/plugins/shared/esql"], + "@kbn/esql/*": ["src/platform/plugins/shared/esql/*"], + "@kbn/esql-ast": ["src/platform/packages/shared/kbn-esql-ast"], + "@kbn/esql-ast/*": ["src/platform/packages/shared/kbn-esql-ast/*"], "@kbn/esql-ast-inspector-plugin": ["examples/esql_ast_inspector"], "@kbn/esql-ast-inspector-plugin/*": ["examples/esql_ast_inspector/*"], - "@kbn/esql-datagrid": ["src/plugins/esql_datagrid"], - "@kbn/esql-datagrid/*": ["src/plugins/esql_datagrid/*"], - "@kbn/esql-editor": ["packages/kbn-esql-editor"], - "@kbn/esql-editor/*": ["packages/kbn-esql-editor/*"], - "@kbn/esql-utils": ["packages/kbn-esql-utils"], - "@kbn/esql-utils/*": ["packages/kbn-esql-utils/*"], - "@kbn/esql-validation-autocomplete": ["packages/kbn-esql-validation-autocomplete"], - "@kbn/esql-validation-autocomplete/*": ["packages/kbn-esql-validation-autocomplete/*"], + "@kbn/esql-datagrid": ["src/platform/plugins/shared/esql_datagrid"], + "@kbn/esql-datagrid/*": ["src/platform/plugins/shared/esql_datagrid/*"], + "@kbn/esql-editor": ["src/platform/packages/private/kbn-esql-editor"], + "@kbn/esql-editor/*": ["src/platform/packages/private/kbn-esql-editor/*"], + "@kbn/esql-utils": ["src/platform/packages/shared/kbn-esql-utils"], + "@kbn/esql-utils/*": ["src/platform/packages/shared/kbn-esql-utils/*"], + "@kbn/esql-validation-autocomplete": ["src/platform/packages/shared/kbn-esql-validation-autocomplete"], + "@kbn/esql-validation-autocomplete/*": ["src/platform/packages/shared/kbn-esql-validation-autocomplete/*"], "@kbn/esql-validation-example-plugin": ["examples/esql_validation_example"], "@kbn/esql-validation-example-plugin/*": ["examples/esql_validation_example/*"], "@kbn/eui-provider-dev-warning": ["test/plugin_functional/plugins/eui_provider_dev_warning"], @@ -1134,8 +1134,8 @@ "@kbn/kubernetes-security-plugin/*": ["x-pack/plugins/kubernetes_security/*"], "@kbn/langchain": ["x-pack/packages/kbn-langchain"], "@kbn/langchain/*": ["x-pack/packages/kbn-langchain/*"], - "@kbn/language-documentation": ["packages/kbn-language-documentation"], - "@kbn/language-documentation/*": ["packages/kbn-language-documentation/*"], + "@kbn/language-documentation": ["src/platform/packages/private/kbn-language-documentation"], + "@kbn/language-documentation/*": ["src/platform/packages/private/kbn-language-documentation/*"], "@kbn/lens-config-builder-example-plugin": ["x-pack/examples/lens_config_builder_example"], "@kbn/lens-config-builder-example-plugin/*": ["x-pack/examples/lens_config_builder_example/*"], "@kbn/lens-embeddable-utils": ["packages/kbn-lens-embeddable-utils"], diff --git a/yarn.lock b/yarn.lock index eae7eb82b057e..54bd760a01637 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5544,23 +5544,23 @@ version "0.0.0" uid "" -"@kbn/esql-ast@link:packages/kbn-esql-ast": +"@kbn/esql-ast@link:src/platform/packages/shared/kbn-esql-ast": version "0.0.0" uid "" -"@kbn/esql-datagrid@link:src/plugins/esql_datagrid": +"@kbn/esql-datagrid@link:src/platform/plugins/shared/esql_datagrid": version "0.0.0" uid "" -"@kbn/esql-editor@link:packages/kbn-esql-editor": +"@kbn/esql-editor@link:src/platform/packages/private/kbn-esql-editor": version "0.0.0" uid "" -"@kbn/esql-utils@link:packages/kbn-esql-utils": +"@kbn/esql-utils@link:src/platform/packages/shared/kbn-esql-utils": version "0.0.0" uid "" -"@kbn/esql-validation-autocomplete@link:packages/kbn-esql-validation-autocomplete": +"@kbn/esql-validation-autocomplete@link:src/platform/packages/shared/kbn-esql-validation-autocomplete": version "0.0.0" uid "" @@ -5568,7 +5568,7 @@ version "0.0.0" uid "" -"@kbn/esql@link:src/plugins/esql": +"@kbn/esql@link:src/platform/plugins/shared/esql": version "0.0.0" uid "" @@ -6084,7 +6084,7 @@ version "0.0.0" uid "" -"@kbn/language-documentation@link:packages/kbn-language-documentation": +"@kbn/language-documentation@link:src/platform/packages/private/kbn-language-documentation": version "0.0.0" uid "" From 9b6af1c1887f83d821d6fc639715ad4be593fea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Gonz=C3=A1lez?= Date: Mon, 9 Dec 2024 12:15:54 +0100 Subject: [PATCH 015/103] [Search][Connectors] Disable setup options after creating configuration (#203374) ## Summary This PR disables the _Elastic managed_ and _Self-managed_ setup options after clicking the _Generate configuration_ button in order to avoid the error described in this ticket https://github.com/elastic/search-team/issues/8665 when changing deployment method after generating the config. ![CleanShot 2024-12-09 at 10 32 08@2x](https://github.com/user-attachments/assets/dafea7ac-5d50-44a0-a59d-03ee29043dec) --- .../components/connectors/create_connector/start_step.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" /> From df0dfa5216c1d1d3b72a30b3b1d903781db90615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Lidue=C3=B1a?= Date: Mon, 9 Dec 2024 12:46:31 +0100 Subject: [PATCH 016/103] [Observability AI Assistant] migrate to inference client #197630 (#199286) ## Summary Closes https://github.com/elastic/kibana/issues/183245 Closes #197630 [Observability AI Assistant] Partially migrate to inference client replacing `inferenceClient.chatComplete` to `observabilityAIAssistantClient.chat` - `observabilityAIAssistantClient.complete` does a bunch of stuff on top of `chat`. keepping `observabilityAIAssistantClient.chat` as a wrapper for now because it also adds instrumentation and logging. --- .../common/connectors.ts | 6 - .../common/conversation_complete.ts | 35 +- .../common/convert_messages_for_inference.ts | 2 +- .../common/index.ts | 2 + .../concatenate_chat_completion_chunks.ts | 24 +- .../utils/emit_with_concatenated_message.ts | 16 +- .../common/utils/process_openai_stream.ts | 72 --- .../observability_ai_assistant/kibana.jsonc | 26 +- .../bedrock/bedrock_claude_adapter.test.ts | 225 --------- .../bedrock/bedrock_claude_adapter.ts | 70 --- .../bedrock/parse_serde_chunk_body.ts | 13 - .../bedrock/process_bedrock_stream.test.ts | 212 -------- .../bedrock/process_bedrock_stream.ts | 105 ---- .../service/client/adapters/bedrock/types.ts | 63 --- .../adapters/gemini/gemini_adapter.test.ts | 357 ------------- .../client/adapters/gemini/gemini_adapter.ts | 60 --- .../adapters/gemini/process_vertex_stream.ts | 64 --- .../service/client/adapters/gemini/types.ts | 51 -- .../service/client/adapters/openai_adapter.ts | 157 ------ .../client/adapters/process_openai_stream.ts | 152 ------ .../simulate_function_calling/constants.ts | 9 - ...essages_with_simulated_function_calling.ts | 107 ---- .../get_system_message_instructions.ts | 99 ---- .../parse_inline_function_calls.ts | 136 ----- .../server/service/client/adapters/types.ts | 32 -- .../server/service/client/index.test.ts | 477 ++++++++---------- .../server/service/client/index.ts | 159 ++---- ...rt_inference_events_to_streaming_events.ts | 77 +++ .../fail_on_non_existing_function_call.ts | 0 .../with_langtrace_chat_complete_span.ts | 120 ----- .../server/service/index.ts | 2 + .../server/service/types.ts | 4 +- .../eventsource_stream_into_observable.ts | 38 -- .../util/eventstream_serde_into_observable.ts | 80 --- .../server/types.ts | 2 + .../observability_ai_assistant/tsconfig.json | 1 + .../server/functions/query/index.ts | 2 +- .../common/create_llm_proxy.ts | 22 +- .../common/create_openai_chunk.ts | 4 +- .../tests/chat/chat.spec.ts | 6 +- .../tests/complete/complete.spec.ts | 26 +- .../public_complete/public_complete.spec.ts | 43 +- .../tests/conversations/index.spec.ts | 9 + .../ai_assistant/tests/chat/chat.spec.ts | 6 +- .../tests/complete/complete.spec.ts | 25 +- .../public_complete/public_complete.spec.ts | 24 +- .../utils/create_openai_chunk.ts | 4 +- 47 files changed, 559 insertions(+), 2667 deletions(-) rename x-pack/plugins/observability_solution/{observability_ai_assistant_app => observability_ai_assistant}/common/convert_messages_for_inference.ts (96%) delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/common/utils/process_openai_stream.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/bedrock_claude_adapter.test.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/bedrock_claude_adapter.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/parse_serde_chunk_body.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/process_bedrock_stream.test.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/process_bedrock_stream.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/types.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/gemini_adapter.test.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/gemini_adapter.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/process_vertex_stream.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/types.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/openai_adapter.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/process_openai_stream.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/constants.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/get_messages_with_simulated_function_calling.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/get_system_message_instructions.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/parse_inline_function_calls.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/types.ts create mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/operators/convert_inference_events_to_streaming_events.ts rename x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/{adapters => operators}/fail_on_non_existing_function_call.ts (100%) delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/operators/with_langtrace_chat_complete_span.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/util/eventsource_stream_into_observable.ts delete mode 100644 x-pack/plugins/observability_solution/observability_ai_assistant/server/service/util/eventstream_serde_into_observable.ts 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/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/constants.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/constants.ts deleted file mode 100644 index a25deca07b7d9..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/constants.ts +++ /dev/null @@ -1,9 +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 TOOL_USE_START = '<|tool_use_start|>'; -export const TOOL_USE_END = '<|tool_use_end|>'; 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..cefec5ae66758 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 @@ -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'; 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/tests/chat/chat.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/chat/chat.spec.ts index 582f544c7dbfa..424df01b3c999 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 @@ -125,9 +125,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 +161,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..80548c0369a83 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 @@ -179,6 +179,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 +194,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { StreamingChatResponseEventType.MessageAdd, StreamingChatResponseEventType.MessageAdd, StreamingChatResponseEventType.ChatCompletionChunk, + StreamingChatResponseEventType.ChatCompletionMessage, StreamingChatResponseEventType.MessageAdd, ]); @@ -259,6 +261,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(); }); }); @@ -277,6 +280,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: { @@ -293,7 +302,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { expect( omit( - events[3], + events[4], 'conversation.id', 'conversation.last_updated', 'conversation.token_count' @@ -305,7 +314,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); @@ -361,8 +370,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(); } ); 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..72e46e179443e 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 @@ -190,7 +190,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 +247,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/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 { From 62c3aecffe9388a984b4432670ade0ff6f085b75 Mon Sep 17 00:00:00 2001 From: jennypavlova Date: Mon, 9 Dec 2024 12:48:15 +0100 Subject: [PATCH 017/103] [Inventory][Hosts] Make alert count consistent with the alerts page using a filter (#203003) Closes #202979 ## Summary This PR fixes inconsistencies between the alerts shown on hosts view and inventory and the alerts page. The fix includes using consistent rule types and filters for both getting the alert count and filters applied on the alert page ## How to Test Service Alert ( Inventory ) https://github.com/user-attachments/assets/f3b626da-1a49-42dc-a989-48b13d15ae2c Hosts view (+filters) Alerts (Inventory & Custom Threshold rule) https://github.com/user-attachments/assets/2a490ad4-e2a4-43b5-b00f-d00ac27f9fd3 Single Host https://github.com/user-attachments/assets/7c6a8cf7-f2a2-41f0-9f98-7e7543d4e7d5 cc: @roshan-elastic Ping to check the videos of the fix :) --- .../tabs/overview/alerts/alerts.tsx | 2 +- .../tabs/alerts/alerts_tab_content.tsx | 16 ++----- .../components/tabs/alerts_tab_badge.tsx | 4 +- .../alerts_badge/alerts_badge.test.tsx | 43 +++++++++++++++++-- .../components/alerts_badge/alerts_badge.tsx | 8 +++- 5 files changed, 54 insertions(+), 19 deletions(-) diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/alerts/alerts.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/alerts/alerts.tsx index dc4d78baeb5a1..304e67a0debde 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/alerts/alerts.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/alerts/alerts.tsx @@ -75,7 +75,7 @@ export const AlertsSummaryContent = ({ )} 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/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', })}` ); From ff331f2b6e8e17df573403b9812b7e0342417d1d Mon Sep 17 00:00:00 2001 From: Marius Iversen Date: Mon, 9 Dec 2024 13:25:08 +0100 Subject: [PATCH 018/103] [Rule Migration] Add RAG for prebuilt rules and new Retrievers (#202796) ## Summary Graph changes: ![image](https://github.com/user-attachments/assets/54ad563b-9023-4e46-a80c-73ba6b61cf70) This PR focuses on adding the functionality to retrieve currrently available prebuilt rules and create a new index with semantic_text mappings to allow the SIEM migration process to use it for RAG usecases. The below changes are some specific mentions that the PR changes: - Move the creation of the RAG indicies from `/create` to `/start`, also removes the `await` for `prepare` when `/start` is called. - Move all retrievers to a new `retriever` folder, together with a new `RuleMigrationsRetriever` class to encapsulate all the different retrievers at one place. - Adds timeout to integration and prebuilt rule bulk requests to ES because of the possible time it can take to generate initial embeddings. - Move some nodes from Translate Rule subgraph to the main agent graph, as semantic queries are used now for both translate and matching prebuilt. --- .../docs/siem_migration/img/agent_graph.png | Bin 42382 -> 35732 bytes .../siem_migration/draw_graphs_script.ts | 12 +- .../lib/siem_migrations/rules/api/create.ts | 2 +- .../lib/siem_migrations/rules/api/start.ts | 4 +- .../rules/data/rule_migrations_data_client.ts | 8 + ...ule_migrations_data_integrations_client.ts | 35 +++-- ...e_migrations_data_prebuilt_rules_client.ts | 137 ++++++++++++++++++ .../data/rule_migrations_data_service.test.ts | 13 +- .../data/rule_migrations_data_service.ts | 6 +- .../rules/data/rule_migrations_field_maps.ts | 9 ++ .../rules/task/agent/graph.test.ts | 12 +- .../siem_migrations/rules/task/agent/graph.ts | 29 ++-- .../create_semantic_query.ts | 39 +++++ .../nodes/create_semantic_query/index.ts | 8 + .../create_semantic_query}/prompts.ts | 9 +- .../match_prebuilt_rule.ts | 44 +++--- .../nodes/match_prebuilt_rule/prompts.ts | 2 +- .../nodes/process_query/index.ts | 0 .../nodes/process_query/process_query.ts | 10 +- .../nodes/process_query/prompts.ts | 2 +- .../siem_migrations/rules/task/agent/state.ts | 13 ++ .../agent/sub_graphs/translate_rule/graph.ts | 24 +-- .../retrieve_integrations.ts | 28 +--- .../nodes/translate_rule/translate_rule.ts | 4 - .../agent/sub_graphs/translate_rule/state.ts | 4 + .../agent/sub_graphs/translate_rule/types.ts | 8 +- .../siem_migrations/rules/task/agent/types.ts | 8 +- .../rules/task/retrievers/index.ts | 8 + .../integration_retriever.test.ts | 0 .../integration_retriever.ts | 0 .../retrievers/prebuilt_rules_retriever.ts | 29 ++++ .../retrievers/rule_migrations_retriever.ts | 23 +++ .../rule_resource_retriever.test.ts | 0 .../rule_resource_retriever.ts | 0 .../rules/task/rule_migrations_task_client.ts | 38 ++--- .../rules/task/util/prebuilt_rules.test.ts | 105 -------------- .../rules/task/util/prebuilt_rules.ts | 77 ---------- .../server/lib/siem_migrations/rules/types.ts | 9 ++ 38 files changed, 420 insertions(+), 339 deletions(-) create mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_prebuilt_rules_client.ts create mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/create_semantic_query.ts create mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/index.ts rename x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/{sub_graphs/translate_rule/nodes/retrieve_integrations => nodes/create_semantic_query}/prompts.ts (83%) rename x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/{sub_graphs/translate_rule => }/nodes/process_query/index.ts (100%) rename x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/{sub_graphs/translate_rule => }/nodes/process_query/process_query.ts (81%) rename x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/{sub_graphs/translate_rule => }/nodes/process_query/prompts.ts (98%) create mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/retrievers/index.ts rename x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/{util => retrievers}/integration_retriever.test.ts (100%) rename x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/{util => retrievers}/integration_retriever.ts (100%) create mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/retrievers/prebuilt_rules_retriever.ts create mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/retrievers/rule_migrations_retriever.ts rename x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/{util => retrievers}/rule_resource_retriever.test.ts (100%) rename x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/{util => retrievers}/rule_resource_retriever.ts (100%) delete mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/util/prebuilt_rules.test.ts delete mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/util/prebuilt_rules.ts 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 ecccb602e20168b077eb3fef1278259c452d02ef..a1f9cca5a34a7b4a01535e799a3fd2b1c6aa7996 100644 GIT binary patch literal 35732 zcmce82S8I>x^9r7BA^sex^xId=^c)gKthucK&pkB&`}T&LF82U{EbGb|7OB=Re`wf5P@&K0oMV$TX_%ZoWTs{ct}lrgQW#GbLY7k$;?kI{+v^ z7ohng{^WbI^UMVR6!!oC%4fg)Zl?kObx#0*i=SuQc(x<#X$I zaa8306HZP5z^6h0fZh@SU>*bjXsv$_Bmey;wp}6zagy!wB!8R%ZU9HXB>))U0k8*1 zl94pv3P1`Ve>@4$0#Kef@#9N&ROB!9DQapeDr(x3CuvU6(bCbKp*?eko`LBcJp&`d znKS2D&oMHyoIih_?(Bt&tSlFqSkANj5JEvo=AoiKO-+58h5igZ%YWM)zXmX#qV%Ll zr=;KmoM5D&WTZH518|Yc8U=uo{73OebZMxmPM)GXL2;TKeB&GdKut+ONy$Kal8TCs znwp$FC&*EtVPrbV%*!feev0KhAHV!n6SKRhr0U@da+*HK#F`-jQCh(icFWsW=21ee zpb+%-X#p*5ojZ@ia;o06UX;z-+P1KF@Czj?;P^-Fe<(Of4pe0%*A5CQ>XT=vPLNIf zVc-w#j7%(2CJ95#ywF?T$SUgd(lWAFO>g_;yy1I9nAP0k*Q$Q|_?QHsqog3mladjj z0XPQ0UjGrje|4pi^QhsCq#K6E@*b3ir46_Auc$b_p1Q~Bopl=QZB@^hAE~c{DR9lW zG&<(pCLL-W4LN6H2vKFE8?lvjD8ifhQ#tnQ3i9|5c)Tsp^U5wkn|%$CnI=YLK<>9Y@6W!g5V^i6Xr}d@z&6%9zf*8MqbshuGHHjSq_9O@Pc5nDA4Zb5u90R};zA3OqF@!&+ zc304d#c4mTlvtZ{N;3!uC8AQK9KNJpU>r#|S_v<=mX}~^(65rbm?&gZ=`t|9GIUXE zVKNSgG*fNFU4yYUHQHWDS)Z5k;LI(8ZniEY_SX zl-_(-|3rR=gv8gkAO8cqGW5<&<9z{WZ5)=T!`ru<@>fK@apMhJ=;QTGnX z8iniL?HPHZv@%4vK%QUH9q!UQacf+_DBsSSvgT<8V3A9a<(L2@aA7p+McZ9y;0Qy` zhJS5? zxs?mgeW1vqj$5?W4Pd5ghj8&U6nGtmlz@PRjais1Kqq!Bkb!6^MMdxYH|1I$S`1Rk zz%My%Y>J`k9w)yGXavWEALj9x-|*@#vXpHgyn9Z%QE2G(sX=!6OkCaBi`{q{?V8R* zhoJU3-u4BR=`*>_I&<%9L%!nVdK{IDTXBjZ;14Ep3@T@clk~W9H#8MU{jGJv+1-Mc zz4iMq7PO8;D}wLaEh(v}XOj&05&0+0*7?%Suy9$-ImtA9lMvSM;fJpuV(N^0;Du7} zdT<1+{g?SiJG3vgH3(_@W7v(*#G2)!{I~MOEJ!OuAfIgN&8~0!@#Evp#{fC|m7Wde zZxJDAxy=gKsgry>%ZB$?N&8pv6T9CDw>V(bMiC&8i6#H#V}RRJcc*y+-Tq8t{W~SD zM%EGfGZQ>AajDK)A#Go>t{`P*6m@S4&Ixo^SU4)gurqjLi(W<6>S=rfjqpXD2)#Hz zJXd!eMrQe3DdJdH{PfQ&^vAxfuWe`!}-qpGZ#HtydDv_g)qCMx%D^Jb4^0c80w= z+}>e$%N2}k{`BB|2l5zTx%4VuXOTuV~f?#+k)B;>#4!O%SE%{V#w9R@xISczo7 zERO;C7iU!Hd_PQ9;U`0c9KY9^C`D`RhEi6({%;BXgZN~>_S0Nl-~D&`2DOP+?<{AK zNb%IvFA-rr~UsQ=(fu>eL}gGAvW?uvxP8JyAzn9F@Q;4Q&fk z#O-nb2XjrGvI(k;Xgem}W%rnM8uJm{t>2oQOgQVfORo6Prmapc%1)GNPo(V@DnA3? zkg_*doaZk($niTbQ!JmT`Q%2lUQDs}ZVy5`fFX_e{)BIq#1^D0F>#9>`hboHp;a^m z`x2uQYw)6qEljW=%|ojVB@j)8lz4xFPn;&&Zu~vXnb(ZJ>{e0oe=x7LTi7!0f?bc@ zx>@&^>GJe%j9&jGqtexe1xWTdsaAf5$nr!PU%A}av&7G5p2QAy$i+Jf*>t`h32ndl zu{^5uBW=tT0KnTd%GecVtNOt zG-+O+YNB*Y_9F@y#JZ1~$~(xSeR!K&tMcU&KbX|6oNE#OJ}UK1=Y@S7d3-?@ELF&T z+0~f)LVn7=Z{zp53y*0-9^g`rg5p1|UdZDZ`{MV&QDy@G@FtV~TaH2kt1*%^c_egW zyeRmuW7K=UZ~ykh-dL))Tl2eEceYFqO6%N)0#;Xc@Sx>Ke4;76Rv&A%Nc>YB|DUhYSMLm zNnz$?W|j`W)>dkhd<-yMTNO2Vg5p0|oQr7QhnHQ~~g;@54k5oq!s*Q&X-I&pY~A-cuk0Cq@wl>-6PW6$CnLBNhOPSYrYG{GkJ%1D-~-AE ziTu(m?I0J;YfetukNJj?sylJ418!wya?m`p+);d^!_sBo-Qp*s>yAu@T`TfD@F#8V z^z63sBTtFoVdR@Ft`fxBi8s~7lD&D8OHp;~zOmhl>brO4KYotT60=IzG@FG$wOI>Z zi;MBWB3Te;tt7tmx5@$?!mZuI>0;e+PwL@t;m7z(NSjmAUCSIE)EgzhwaSUIce_Uw z3P#})pGrpiwc)YMU;MOBZry+EAK7*jFEo*M27HsK=vog?0`}wW^#f-OrBm*|qOGD? zOZHjN#GnK-K&b7s$Tn9f>q+wZ+ zZ<0@eEV-=fFe+FsE#DA*R1+fKrq8gG;Q7bD+$IjnSw4)(Sl&8rDldK zE>y5YB0rMt&Ab4}K$ufk+bxsBmgG)DB2la7f)h=iNBVF+SPi%qr=;qz>(Q}SuzvBX zD0R3TG6Ll)(^Xno8r46XyACx-Cw+{)=Cn{sSXyMS;(dBaAYyO=c`kPZtxwc0Mcyq0 zU*PlywJv?IPk>nk-$Y$Jre4`9`%F~nJKc+G9>;fz=U5lpyNn+INEtw4DI&z zR^$kqG!UVkk|Cd!w#f|b-D8KM86A+<`9APU84V4qaFHBuxL+8lUG7diU1ImRranh{ z|a- z%}CrHTM+>X_O@V_F`21(G_FaU4_9o@eqV+@2HfEP*4V!E_|G@}d*8XTQwl ztyYXor0;IL=jcbC&ZK+>^4zL2FOac98x(epjDDK1W^hpzgCOCmJP)^StJvZpZh0-5 zewDaGXbO#%h(5ZLR<^M=&G;hT`%UUhZ+*Px+uJ3o&)W$fKpu)^q$bcy{#37|k)}f2zT*C{Z4DcegVlh9Z?;yCe1A$j0`k0KF#Zs?r)t1) zQ|hOcTffK>zvi_VGt-R!Rb;jnzPoIiw!Jy}b3P>G3>BZJ?G402rA!kU#k5`S6TF?! zGpM;f;rx2m(}G!dWYiUbv-p5wA$Wl>?158=$TPr6_J23ae$k!daFKw~o}@blloIVf z417Dvo(VbnqMuRGdBeR*d3`mg67gf0SQwTZP)x`0<`?7t72*oO&GXfjeakwN#9~Yn zvP^UGR@}=;6Or}95O8TcYWK#Vc$V@}#xcN8=@{_z|7JuwV=lJa6A<pQG5;dF!>9trqKkv+wpzt7y6yspr#6X!g?0kzpNuX%yHQI3xRM; zM$6Lu?Ruv@pXjTgS+Wg0H_!e=^z4&4D)~Js=Tsh$+*5Vq_3~lm-JIu;(Fj75zbxcsc_` z1B}f*L%~yOqT7xjgsQ!eW5&#rrPV{%d5-jhnwPEijqAk?E8oi4(TxB~v)}$&I8S?y zqyQmTP@snfWXaDnNYOSipPsy0+tJ%CD4jRDo!&{4Zc5jzXUsDMZp`KT!1q=!A|k@# z)Oz+e_rMSf-LDrPx81P|cKfV5%_~z1py+=1*Lwc&^*zFF$MzjrzQ0v9PFb;D5#!;x z(tk)Fw_2BX!@>WDt;)q^IQDOo-3?c(OA{Ltf3tQQ5qbslIO7uRB78d8m)E)-$&#qL z3`Xz~RbY3A4>d^V6N7AhRanjHfQfg&I-1(94;Og7(206*SI@hN(>dBCIzryngcRzV zcHU-r9IhiPFGoDYl#^WK_~c$LaCez4nt`7V5}zVx(-<2~FmQegIFesr8|tHd2{UE& z`3O`-F**-5b05fhMFjVt7SUtMdHrJw< zK|7GX+e?978qH2HXcx*5OvsO@E}f?dQrZflitCoY72?*CW>}QsZk3s$AE0+T|9~5q zo4W|ng199%jbGYY&|ot`@dEQZE>hR!uHHwb3u*tNkZpO@8q&ZLRg+46Y~%4jn1mh9)zI_N0LAdLmBI^@ zBuN+}YuO39RZCv)>(Wz-1Zx6$QtAZCD7wCeY$b7p_0ha5Zh#Zrqh!<&Qzpsp4I%pU zF9>f$YryiPo>Rm!*Z#yAP=KVsROCcI-pj_*u3kazZO@k-;TeU>{-8e?O<`fdjBbkCYSG>#oi{>7FJV3hoU|3D@1FIRm5{rx;|r z)A^tQ^~v5Z!YO<49)4;9F&YSKR9K@M1Z zlG?|urz84WEyojI>+OqKQFr7Vl(_BBGVLP_p5#!)aOevnjLvYVBKIIZG>BQg2 zBg}NT?|9*jbWrmf@(0lDwG0R$l;GqKt@r;R8CO`cv3dK@M^^wNX_H)YSLo6(>%sM> z^TzCx-Ld6UKw-}A$kVd3rv*x)9^bhiezRkezGJcd8m?IW4h*qctFQ{YD_NS7j!Gt? zL<^IXo1()CIq(7*Ms&Tg*XKtK+&vBwh;DncUeLa;K(y>Zv1~E9v+oN|y5PwRG%yw7 zJWrw?)Lt89cn08$gY=WZqOSqWOFu7 zc}~4`vr{=kk{;EU|Z{9Ih~=CY>`J()AqM^M_1^O_J38ZhGmoGp6eq zU_)6$Pb*Wfc`Zg1bgfL)^o>r!mkPJJ?>N6lX3cA&emgsor@SZ1pd|%|CS$x|>>SU! zCj~{~!Ar8K-U2C{JHkBvnG@e9T+M?M&sMAhOfn-H44OAkw>p_n z8$@mJ0JXDHpU&zCzkX%00ufPq0?s;*8XtP66ya8=AtmH;H4QJ~C@Q_4jAmm3Lsac4 zi`K+|YZbrU<}9W+PpnpFq9v~~b}IJb;YN)7cbA!@Ft#~G!~L2s%ZNJx zb~2k*Q%)GIg0U4jS~a^EuhV1mZ3)ysft)!jsH-LxE+g)2l7)ODU@lau6uu#B&M7!_ z`2sf@iXN3X0In9rYSpJ=bWm?$dQc-RmmXI^Q2{tq2?erbO_1-j3%97{s9*cA#FCz6 zmD8R&p&2~NDNjGjw4*)51pAPbM}@tmt&=!FH<|5xc$LK6eL3Byu`f>_W42sKn*|FO z5X~>sE<*&g;~)g*ywi}g7uA6SXE$MoLzmWUm(B#Y*_4>l)}=>uX9bh;fcjMg0u&S= zhqF|t0?Ro+)oIvjvvd3YUFUmAQU@_Yvo=B5qb?@cKOJbXW{l4 zMy{G;Kx~Ea%F;1_|J?Ps`(vd?d2g970T}+pYU`i-)z{}_35LM=imT6Z5!$KYQeh=e zzoO+Q*c0d9Mi3kmw*~zCrjLpjO{!%gVMV^Z&Z-Q!WHyK7ES}svm)`j2U3hILkY@dl zVZ!(KE@AzZfRn&~kp2(16mLqdVX$8o+KsYVbKja3r6+gWf_Y*hwS#mOsoMHvVvH4& zzlhf;3u^D(zY(T>M!Y}LM9pq&_WUIUf<)t;m*#yc(D&5I&e}y;6|P(1ZyZyHfWjrD zZ+!Wbdbs8OuQEo&x}ToBTb53DA(1PeU!B4LerGor#!CG13}Us+WXcU}sdx+gO*Yyi zV>3~9UH_LS&rdy3&*=Fk3sn~SRBY9->zO3t3KzY%#0pHV!5hkEHSv@{?_PdK)QWD) z5`uI}ynLE1`RsF>UxK9Ni3qU=?+Jm%b?S`n;nV!kFMme# z?BgDpT$r&1_KS`lO@jMy<|n62jOR~Jt(ofHr6lH&^#_blihS$4AA?d05!OFF&;3d} z*h4t$l+t@4IO#u0(7#a51Cockw0mVZjpfN!e}G<+)g8$G9OR&hA}4P4&JR;w02q9K z`-eRJ7q=8+O>W@g>AJ3j=HF*?ajF^wI`7%JkKbp1ai6;%_Eqt1V?}l?x zsowDQGMwe8Q~o6+R#ZFp>Wic#9`};;=Z|~;+cwj1joCa%;O0N~j8x1#z3Ttrlc6Cl zkOiw)&Cf3lxt7_5VxaaxX@P52Odh5T44V)2IB7KuCX81U6X zS2fVjo5gZiig93IfKmNxe8_Fm^UUz_T|(8;R){#)PbB{up1l~i<|TF8kGp9Y(wX<> zTjeh_2^jd)>8E(HO69EWGTMG<=KJ+u$o--7SNkSTy6b-}SLR#QR2+?D%PXA11q92| zHOaI+NEH)H$H&UyUM)VYzHCJK$YZ>>YW^pXZYV#?(VtBE8>_fc>sTQC`mVo5GQ&^A zag*))^^HzSR^eN#EwZJ7sysa>e0KMaE;I0Zhe5ZtW8}DOKaV$r<+-nkw|_vXFcFnE1J(A zbti+3jg2vdQZ;&ej01dh!zN_-{bxEq#gEO}hAd-GnPsH<`by|C^H# z|GN2faA)io(A}ss|0rm`)g@r{7_ex|xxJ!Wl2@}Mn(al2J}44h8(HSicqEWqR9&I$ zaPQeEHlLlvd@DdcK^V=YY#p;)05V>v{0|^~n{-(&IR-81)mzhl8f# zkgBqI-lt8{^kTN-JSde)PHRoHvK_un;@*mMEx($CfC(ccbcIGjZ((!Jn3P(0Q{r}SBbrE#PT-kQAl04w;t#dqHx^Erz4+$!8%JFjCON30Q8HW5D2 z-mO-6XMMmig?g4YQIwPv(-4_yq7`WOd@_Oc2^uov3NfEeR!k6SbK=G@``LaqewlQ` zfX1Qvu2soy0GAJ{(7KPw5CUQexVkFNHuLq%xh2E2p*8)E<>u8Ut)$b3bE&@gm?1Og zbjjgV_c;;6%0#QXxO^8AcKt^70p*4;!AVB~+eF9I<QC#X(`p8Js#2TLgoc^PJY?(lQQB7wg+nsp%@{tx#`sVfOR5zR5 zLno?y==H2`Q3y1iP^8H3upbFAW`CuZ)UP|kGZnvPG@id6>T=B}Ev><-?ArBwp%-Ov z$Bq{-2-_Ey5(`|6J!6s;Z^nFz%+M{OT1*Ij{mOonyRb$OMOdjW+GIhYg$ncPU91w( zx+pesN#s`Q3V()^ap-x4F>fE^JHQt0w~oLXnDl?#u>+RCb6A%W^)-uh%4u+qScuo^~oo%_EhNPcCVzZz3Zx- z@OTsTDLsIgr@YjM17&10DKO=;D)mZCFr*K?n+FdWnHY( zv>0f$LJbtv)*aR;&YCa9RtR=_A|{C(2zBj07m{m_7QVLDL*9O3m3|`{Ts$ah%j7-!R9}FJ zFug^92r|WkS*e^dP8OG?BQyOcYe|cI5GUx0)R2(OGC!X+LOg#fNN+2sv#lY<*?hA* zm}VDO7Dtgnhq;15c#W6sHCuR*l) zX)qnMZlZ?I8SOct&xr>w>yH72uhuTEdH;u|ExHqvhpV79-zRT!-23fcH))J@13~iP zS+BmE4GnN|EW8>$^V`?x3Oh-4b?m+H?;$fvt;Bc>UFQ#`>K_@aMrL+&oKA~+DwF=C2uxPa(Sfhn{FS6e64l4f|X90 zj^V93))nCC!fGfJwrCW~oaW1jfk0z++K5g;1||=0QPR}iw7wt#E`DP7F5k?#cB1+n zrqU{acxea4L`;+hFMM(4G`PcOE$h!T2Z@G+vK#1S-s1X@$1CO}5512Pi5B$~xw<6D zh4Grv(xaqM|32Vu2|GVHjVszTVO@S%?D~uy=BS7uy2|${8-kpiGn`d*l~de?mV7u9 z4D;UlhgU$>8Nv34T{1;8I0{ZVy>l6RqjN2 zGw~)m1>j>V=`P&_PaIW9&wI=~n9SF(^JE8>{|1L9#=#E%Vgcl;gNOSs8D86Qo8}x) zPJgj}2scmXzk4xPg~C6;D17Pc{h2lD*+pfZ7iybN>S>bT)e2YtUo*}=`)UWn_fcbh?zrM z>l^}UR~(8(YVwSPjbzqe8Y&jpOqC|(z>fs7lwz8%qOIIw2XDv!Oo`B+DaSg)ZdTAW zMI-X%b1*b_RmTpaop2h9ZjGb?rU|1GyTR?E?QD4hy7>_`F>GlD1U~@f8GWlVH35S; z0093lTI8=SyhUAt&2#KmF(QHz+S&*cB-AEI$VppgR)#m*s+{k6R$ZK-eyM6tTw6i< zvOAugULa3=M^LC1VSd&qcPo|g8wbuhNzN45f8LS^)~U8G7dna-m^rNm}Jbb%(Qm#Qr$RuGb-0+IaIueaAM`P5AO~Z;(P)E!1 zG3;(#*b94RVx^iQCoR*S_M65cMssB}p(tdsHd^pB#DI`>5u%5C{g?4`Fvt~^F;Pxi zzKZnZAXsZM>1DpFb4ZB?XP*$-s$P%wL*ffX)x0QP=b1%SoUUW-&gl`zE5F%TD>`1z z4hBu8vE;AtNq->MKL;leC}=y{sz3rmZC;pYVC?n`YW^JVJCTr3dhlKe((ukQ5BC;U zI@3ke&4FN~EDPGRSw_7VYE!JIaRp;&9i$+yHU#{I-~iHn-4%0E%OmrWYBOkQN_)f=@$kI;A!xu`xn$@Ra-_&P%u}}zldg0(bUkxN$cm*0WeUeIxlpYwt#};e zL$tyDiO&ReeYA{ki`g~-!HV&;1GI$P4}6wEFIay2AzfWYkdIDxp&@fp#59Uv7B;wG}p&F7DJCX zN{?98mVT1CJ^WoOT~$?V&&dM?%LDQIgFmSz00d7ijaoK)dyeF@yB;;W*Y|V&pc)!& zl37WwtN3y+1H5_C$Ul_)C?K!5$1`*S#;7 zvqbLkqNN`vPXTW~`;;lj&V*029Y0L_WVk|rzpbakMFQFeGkzHWnLeLFrh1>gQ-^2rN+ddmE$ChjTn^5A^aPmoPnvY?EabP@Z{tGv zh}L&7dxy`9OwX%xtSNT~j_fC)>rP{N9o+MFk&dD2oE_FlwlA;WRT+`bIM}o@@7MBH z@MsH46@JGjPg2HU?TSc%PS8#Zo(`tJUcj`{JC z{ykSzY*(J;U9Fn4!KLpMn_`kai--iKMUE(n9j>LOIBDR?x*;3&!e6@#Yz68VwDJ_@dn4b)p&2pn{$F4Y^ zs#xcw6Se!P>Q}WBl!z-jL%U&SS?v3ov_Qzo)U;;eSL15y;KMhg8pG0Kj{z@Z3M0Me zG?nqMaILjnvgx>Zo!X_(zTl4c(S{`rf@TUgF*@O>`QSb*=46=&p`1n=!Q5llvN!vC zx;Olh?!T&4cJVr{FVD_{1O>)R&cjXccbAA?r8&WBZ?IYGSk{=C*Z@LCa-NaC1}*5l zxbosMUNPz2nBhlzK9wOJ$Fs_#_hNA?gNF6wIX?6W+m^<;IJ>6eodCf$|YmVvLo=jFsdYjsOVNMPgE z`zAoC_M_d>^y%nO_@f$Y{n3`>IZ%R|?|vV2jE(X5r#b=ZqDk~$K6>&0r8ykUH6v9( z$1~n?!t3<5!u2BIQY)iXm#7*z2o}b`m8xyzTW4W@Vg#w|P-S z%q?wUS8vqfl)L)1f|rIFsEnuFgdQsQl+Q(911q(&8KZbrY@$4-l6%@|?H33OPFf5| zOM40X#==GCRCWG2H5}y9j~<3?jOYG{vE03JsrI^;mkI((?A|b#bx!Y@_St@>^LF2i z5Y0l2RcgI{b#QQBL&AkP2%vad|AX=GPH54c^?fw&Xy6|H3>@?%L$ACG0@DozV`@dJ zLF7>&o{jAysk>v8h!Ztm+8#DQ8Eko63%HhD)VNVBFAk zNKleuU@iHmguY-5eN$h0?$mfek0`Modk`#||68m#-((cl%wF3-OM+e=slYr1t}PuT z@964Kj3a$9eDPrPUh(4n%AcreDtCIjGohqOl`*u3g#*|)#e}7gzP;)gjzepggMdAk z^^gn9Fk9oYcJ|)g4RcpwnVz^SA&8oMc;y37MVHjNcW5_TYJF!3CLpk6Vgn1mfiMUi z;{taSvdOr&3Z$koUZBJ??i;^#r~F*gVj(sa{u4!}V?Q}_gUW_SMu?69z1bvsD6ysl z+bGw0Bh>8%KJmN{CTzq>N4Sg&ez}EBAW;t8854gRfu zg>}4@;|eFcma$M&n*C+z6`OUs^x$C#rwjz!PyrScd@QvRA4WR4?i^Td(RB7FV!q(| z&Per%?Zk|uZ##|6s!Flu&I89+)(Hkpxdb!gV$H((T_<9X2X4hdJi0!W9U1&m@#3nL zZ=Sc+Ua|Wk-$W@4zRQ*OE-`=DUdw7xiPi2a&Pf`dz<~i{fD&vnklx{pvwGiz1~pt& zMtoYvgMOk?TTky}fT8Wg+W5^KhgIl8lc&;!67!bZnUFGf+UX>As(O9xd{6|wcC9n* zO*$A_)$T7Xz?dbiC4*48Rq1D2x1L|V6TCc_?eny!R?i4@!!}{~Bl<0}r^IL*mD53V zu<^}!5R|}!dCBa;gUwuNuv_!5DWSxCU?Ac8;5MUQ4YVOqli}XYu&<}(**)2B@Ig-z z?^ny-QuRUk_j)?sZ5}f}KVilg4hn2+OpsDvJpbx9jIH&RCd6kh+S;--zB;YaNm=lj zY4tgNuzupf2v!1=Jdz(v|1lD6rC0L^gS(z|R66pxP(9k&rc5WZ=7Z?9^XjNI-`;1Y zc9uD(ESVy@l5LA4fo~8UiGn=&A}N^|50e)J3_g{Wij|RFMFidbmO~RP3cja7!N}nG zv(&`w-k(-%kF_o=DZwb&^7@!K?diC4M-`3sJs8a+xSS941r^#B7PC*oMw#ATgag%# zkjAD@bGuIwuA8JrG*#CG4UAK%rAl_a!dQcHb)2YZlWL7>jGwJaY*>d>SbLv(NA4~3 zER)Y>DuK_M{B_<{c!z&Gf5+FDl1jZ#qWg)4XOl^>VWFO5#EsgRc3P`)`Jrs``W_Z za@s&z!8Y;Wl+c%wlar2ukLMHaU8^c_sR}H-naP(Utz#H&Vk8rRmCVh}lO`D=JMYSP z3n7QI#$y^f-6!QHh58Y>BV4J2L)Ws7jKIEOBbx%vEgluPtMkx!MR7*|Q%?te=0~(4 zX+K^r)^=iLWktGHyudErY0wH8&i*WdPLQY!(uYLWCLkleBz(-~chLV8ksrui_EqGt z;DztwAJbzuLYB#m5cA{wldLIb;Z|XhUIKNJ(!E_7a7*!onXYf-wi2Y<784WW6Mi1n zCnGy@(co`~oqum<**G*djd%v`ubaztfCdhS!*`|+&EiT@YCDJ3WlJn_bD5LI!}ccK zRJ{sbx|M@bPq_%KY_41*8e$gGK_HQ~ML#K(d)5qlF%vX|g*knO<=g639k#~ZBfZ&- z@p-rNekh^H{O2jeqD}Cond->Y>V*}-WonXXdpUGp}v2ruODfbwlTjr#UH_WaXv$J*K+IQirpD-$Z=W<>OB zZLRRyjqT!W{Ht2MK_1J6uGkAaX+fgU7V^XNJ+_~c{{x`pdsY)$%T}sD!U|Xu0+4W^i$*Sr5s6Ih)h0Z zY==gh?3i!qhuX0edoK+>-yomNn1v**JeAn=@saPT7&~}hp>p0hL8WYOX?i0ax{G+T z+@IlmGG^!EN?99cXbO;7ET}gf@(!*CF6xTus?O~{HNZ`IPNATqc;qN;y!OCX zlSRLL(1)eV6Rer}bf>r4U83+*L{g&_tQyZKQqQe;GmtsHA+g+3vbZt!oVcTOHK~UX36q$u&*koubMK?OO^vVCa~M$?~pso z`fDXtB>TJgMt#%bTT0*rM_UZLUOZLJ8=g^YO;Zh=L$tXpy|j!ZyV9%E7FA54y6VQ5 z_c+5k@@hrh{9}lhjbb+Ar|4VnE$ByT0`~^}z6F@~VtPtl^Mf|Rjqp(1LV3dHw018}fU*HOtxXU{nF%YzyDKHO43x*zvrzT6q@f$nIs^tQR6bd0CcSTbSM9dHxb1)) zSyi+>%X%;Mfl^?}RiuU90o5x466&SJa(&*`LrJu#KB1ZC??f0t^>f`tIUZXM3!1ua zLn2$cPecY0d?pt-VH38-=iEy|U8>RDO0Y>(Ml>y-G1o2nb&oDM=ao$IBb^}W>q6hI zU+%|?tL2Ov47zuhBxi!g^JGTLM%dhUiTRZzdU2+7*+lo!%2>!~^RhaXGx9+WS504y zg+vK!Ow#b;v>amZo={2ztHpi{$pF@MRO6q?s=xS|ET`#ijRxq7v2ra5h z0?j5g`L+snCX59##k{DV^?fU?`*@~Q zJtH%oaGl>r125-SnDyXDZY<>FZ^VM)J(Fj37gG3O7 zh)PY(%2eX-lwX{9IVhIYWcS4xxxI$bf0-AD<%mL!J8MHY?lZaE{N6P8+dI`vWY z7;N2U$t%mJUCw-AYQyrQo>NhhXv*N*34y8td;a(aT*nwg-i;19*pZp}B>ShInvy9)ZA8lV+ggR<} z)I*K9#fjxF6xjKqBt}H>R3HRcxS@ph4da=zoVBMP%G~9Hd$d&o?d2eRA|+Hi$d4s2Mv_x z@S+xO)vAS&@cFF*H@m~yWe#AfPNFBczVtvlilt~LD_BaPa?T23qZR2knv^_COMrK} zE4QnY$*Lz-!(xdj$&drqAMR zqHN^6MNO_v=@icRmKdrh_%Mo79*9Tveqei}7`rWRUB`sJ6jNJNS(=c_;HvVV2)a@n zd&hEMC@oPl#mkgIe8IraREqFKxqA?mpMGCILK*_A%`(7xG2eU8c6kaTcZXP>>bIuc z^SQalFP=7ebv25#aPwX8N7f1PYL}}_(8M>+Q8Csw9P$@l0>U&OJRaw5de4cxqO}3{_?l8K#_xV}vlH5QCUI!V=7kB|@1Y(iJoO)KlJ7uG>TrHQP>J z5rzaHE#-I^-)RoTan7@6AK-87W*^Po=Esl^r6iHh6&(YnS@}OSm#y>E`YXheyZvqC zA6;PA#4#Yy>-+uph^lgF`H<-hjjVlAsjp2-fqLpT+N$OJxs37-VUN{Y!%yUP;6C0$ zDrwir6I{u{MZ^c=i1v#a<(<>ExSkfc+B#`r-@hLo*KgJ7XWY$C4(%MOGI{tzQGfm6 zba6n*%QtZnE!)&GeO8}O`IM{g7iS?hEA68_gRUCvn72IUralIY4NrV^1rxGIjzcl#A=fw}UIRzo}7u^Bfi;ib|WRC$5-D%F!oUcyVr5|9HQBwa^=>OJ;nlf4_i59Wf z70$J{gYeBSBJZ%{?WT}|4J)?Ad^d(Rr=A@e+CM3bu`>u?S~`6C@XRM%rs%ZHS2f5d z2Mt}_cbr-10BN4QybX2$XIUZS-d{4E6oV5o=QR?E6+&9Ocge4aS+PjuJy2GkeL>Mp zx?AW!u&^hFe|E&hF5w4l@8g^Mb@IjX4^h<=LZ^7_aXV`XTknnDzd+= z3sRNzI10g`u?k`xAaH;7u9{wTkpG=|)qw3;yj{ArL9pol;X$N@PhiqQ*MqqDdZjtlT=$*Q3};!e=(I+dHjUv8EEAEf=f z`5#vlmA_RZ<-e*%iN^!AK;RFa_qeV`~a<*g3L!!q2RWhLH(ELc#U}K z*$eaEzN}1>oF?V(*B$zt$67;OhBFbiSgu9~=h#%Ix4FuXp%YM4-g{+#ldRL9I<8zN zbwt*dh(mVafA4JBsmSu*(8~kjZMZp&Q>M4SNqP3m*OSRq5=u23AY4aN2~fM zJeBEv_8(08c|-Ga@*eB`s|6}vT$kD%hy{);6@@MOsef9>*{*^&J;sEaI_?f3lzKcfV`xl3jl5x7PM>8I~`3pm*`NbNt`uDn*2b z{}4pw{#W=m_OD0#Rk6cYDZQO2DM>bbpv%-7zcYe!f2Atni`$A#5e+T@gknFDySUfz&nKMa+8Gj=LZEM?;H~qSK z#-O~u}=Cy_Bonthl4|ORx62`t6e{T0WCHhR; zr@FCz%pG&vr?xG!6(U+)J&YxQBWwRQ9^Zci@7e3D81pRPtE)9lSpjy7k9FQ$Zr_3W zw6C4dprAp2pSvq9c=<;!|EtJ9;HU|vZl--B`1K4s3+RtD#|XWB@h)jCu%#lnt#&!r zJ<@(iXwznpGg;?pwU~$|+>5)^Ukb>Yp}@dEKz9Y(htv@VISL%+=N@qc#DcU%^+h16 zcocacgj;pGhkCS=kZ6NV=&2JPx9U7IMZ9tp^P+trr9F|+Oa-ZDh|U0cl{47(xPG`0 zRPp*w>!UNSmE|>LfiQjN%)0R7CWQ>qGGur2L*t2i+SF{RI_pi?Tjh$d+oa)um zd@`Ore48DmUFi}dGuRFhm4)Nb54iLy$BE)~8PIZyadADo`8MY9?9+}&%&!o9Hr5aK5UV?bK zUJsT;1ADEkcDp+>rlB2SCq;)e8loOB)<-p(uy!-{IA%ysWseWZyR27_KbJCm=t6p0 z;bN$x>Rcks9Uj4rhY?lrgDKp=Akv*Bk&r!oAr%Gd_u)0i+-K$sGIPP}V>F78t1h)9k*RSMEAUbYHGAv(XbdDLh4c!{en4;8x; zHxUDjolN4%#WDz!Dux8&4R_O}?>XUlSJ8M7L^t5cajH)HviX$Z3JRmn@zfwO-3?VB zh=AX;sfjMQ--O|oD+eZegM`<@8_Dbf6Ykj+f=EKefg!j@&Ha<&slo)) zCs9Fh<7TL{M2yN;dswO*QcY67{FGz%^+F^+ONT*Ajh5#{-%y9G6v+fe8=_i(VfY+m z>Uw9tmHVtdZ@-7{)!~RV{m7a+XnA;R9hI>t}kQMQzBMw zv)r$@TF@=b&ehC1R7*w#(ink}PF?VdaE6EQYLkp%nO$K?5*l?cYBGh~#|-6`!)TTg z6u*q?L?XkCpq~VqOYU-2>eXVk6Qa}u>f!UU*T=N7E12bvpR2;XKAj@aTy8>!3Zd}=X{b6MIPVnJdj;`PS-TKP8_hFo;TSHIV7QcuU!A=)Umjtn* zV$^(#qk#<5k4~xTOFUc=|I_?9e!lp%v9n*M@>W;q#BP{wmQe<(4M5#c{$tYm`T5hP zedLeXQm)W^@S@hYfdcbT3QB9aB06F9t}JD1$>sh_8_8B15zAV>&kP%UO%~xgBY&T3 z`DHZc;SWhRe}%tgjs9XUr9b)|urRl{U!I|V6+nIR!;g}`e`v8;+lhQVpznZZ4#*H} zR{SnOc%Swjq-!6FV3$x{28mBPZ`F$Brk>Zbw|xlMIn{fjd!*`hn3uKJped+a?oegSgXr(s{5=`N=QsXR7=%MlivbtCwv?|9J zBX-2TL;L1h9^bTt5_qHCBrJ1jw_G{g2(St6@XVR%<{0<7(9Q{eYsPnXh_rv_PYKv>2L-y*Oz|)? z)&rN`hePfpnnDB9?3#~*IFrDv(NI7eU9O~Gr}aaoKbykuk{WT9=U@|?c7EpzkKFoIBY$t)KgtGd5LbwQUmfp( z?SZFD3TMzEsF5?8SLD48naPLZ#VVDF=_@IwK{mQkFuoZj7*9SvSpWoM;1M9_bBBEf zrf7Bb-lSq3S!k}470OF20XJNtYyuztdF=e}JN;xP6e-34rCx%n%_R)!%S0Q=Rjc0t zXB1?PJ$Cv-#XqO0Z(*g_ip+2+&RMfQ`wD)2Ly+$P zvIot&GBVQ83|}(&Vj^zIF2bo!Za9}k=X$?INmdGW9vz3TmQun?fa7qAFwl}wIDsL; zAt$%yMHYjYDWIWPbhxNfDcV_FH(4`M|0zKPO5&o43KR;}Mn4wd!8KIze*@Z3zi|xD zx;&%tXKnsSANy%&YpMDZvNz=YIwtp5`&!3e5k9YTlmJP(HlGXF5-3rljs8&bmlTzV$BZi1 z%v3SMZnA3A%1LfZm;ir|Q~?|U*H1ZtZ~w5W9?;Sk=AU7<;YwJO%o3#8SFM$3{YHUj zn(jT&t?lT9qfj!hjzE%q^VMq zf(EI?Wn3beIkrF~8dn7r;=!*9??bN-UKLXvUV=_*C*92pm9Sj4taKkHU_~lzYXZ4L z1mM;$pit8$)#%;NzOLz!yROP!!$-7FF04-bn(C(*D-;#F>3s+2*sPo}8j<6tIIu`; zN8G0SHD7DJ{b!+r()(@UQ#wUZJUrMYbB4WJZqR#1YR)h-?t$TD(;2j>+OzKJ8}T9? zxkwZ)=V^5GH_dBL9=R8NUH7tF2}$khVnF3kSrtwtSCE8^6XJ5hbGmlAx{ph?wv6b& zvyvkK0G5B#FaImnGK$6^(!su&^7gF~)^x$t_sxUf0q%QT%RAuVabM*FL}cinTQoge4OD3N!KzpdO72;rKE$hgIRt(@eHi4v2mLu{m*M3C)o z%t`O_O%peGa^A))JPE8AkKm1|7(PcVHDrmtZfiJBcq))wVeBnr>Ye~Y$1|$O5GXMXDSN!=jq~f9kq;(UCWeXeu>6+nx98}( z%_Bh5i>7E&)oQBSTc>AO8jNoBIBNzhP8$x9xR^j^O)PDkP!T+rR5p@SJ=d2pG}S*I zEo#}L5|Ngb9>=bqt7~UU%Z;{!fWTb9pgdFO(-qkl5H|wjkVH}|utyEdiK*3hKs3a*I>ov>SFcJdePwEGU;=uFxMh#Lqxun6j`5zcUR z5pk0uC3jVj!vPILNvUVM)*GmhH&t~+?vtJmGWvOJ7;u@io+aNY_C(!ZU1WOn~ zXCKY$r8;}Q*8f5GW;>=dweleQ2d6+fV}NqzPR@Q;&fZ1XqOl9l)2*|+LXcQIJ9O~` zcEN5b?gQZT)j$8M{#7_?$whi=kpfm3FE7V}Yt>yf=_oXb-vCew#Ci6ItbdIL@vF8B z$iqX?)V-pyQ+h1AD^qjd0W}9v+dk0?Sf$iMk}8T=!+X~(sjtF+^VO1_m}%i-eY*mh zbyeb4I~1>UL9?Pq0d3Bub?nPCxp%9h+H9-Uc2bXr7Gm&uP)9lxhv1#d-LM#YZk~7K zVKwN~U>rH1{zKP;oZ8dreSBm3Y2*c(M7zPK(ZIv1YZt1#U`&iOQP8sJG^(52DF}5u zNBGgpkB0Q`C1I-#zoP7=*t(TW1)Fj|u{8;3*g3!$FQ6uQhcyPDZ-?qU=7C~bT&$v7 z?vhd-B0Fm7jh1B%*dkDhcT2^z9A?y?bz-n*%F-QhX1UHp7{Vz71QKTOSf#qjp?{9_ zYC>Cj{jn0!q@dDM4HH@$D-hy*SENLb>r+k?iWQ0haeq9np~iS~IyX6@=|Q4HbFQiT z?n1@E9hRI@K?s}4vfPs-48POBfX2kYROE4J{)bK1*%wzYKOz@yN=}Flk>_*Wd)^3U zk3B|BdZjcc)y-_1uc+0@_srFfWEgRPb%-xQParz$3WBVW_@hfXiio5s4u@oHtD7Bf zc)!1{s}3zRW6DR%Lx$?+k$*HkrT*K;=RX5e|Eu8A(>1Z3RPl;Ar<`?>DR;(BH{6j+ zcBYF%qD`BOAs{Ir10mXmm#yXbhvB@KJ(q+{6_Qk_4{zDR1C@4KFd{@iI5m)*nMsLW z+ZGlQ)jsHCdYTjI(FH@UA8<^RpT{A6ytdWkq0?_ZvPCw;Y`xvZ7VBmqFXl+M*CL_@ zwd%w-*(RMu;?AnsbeYcjgM$Kt}hd28oGEFI~ltd7HoAA4GB2 zQF5SVhaxr$Ei+?xzi(-Yi(|?VZ&NNAVG$e^Nbjh zwS{<{ZHx|&t&v1^;dj7*OT)#V z^_TsPM-dF@EwpL{6{-cQ@M9}GSpprbTp04t!f^0FO9)D!HRmEo!}H^P6tIH z)U54boHU!~EYEP5M^b&rf@LGqCFG9Bu-{epJ)SAT_W>f#>G^CntCx1Esq^ffO7Nr- zvsZzQTO$SwoULc2kn*^;&bx38V+JbAW+!qke~qJUi>3Co0{V-HCThaz;6{*kp&qRm z6b=s76^wOK%`2Gc(^dD)PQIh1X{A+_;m{V7i3={zsDR-HV+j0JYn;cYCBpLue!afs z=c@59+k^gJ8%~d{F67)HR!xP7r128@_m7*-9NQBAJjrlA?pZNz38AOy$iDancJegu&+~WxJu%=z>w{;?^0Z(M=@5r)~cgNhg|PauDN;s zOW(@4=B(NwxY}arLKwMZ9Gksc+D166A73JmSNB=R3h-J5G=x`&w_XNlmDLmw8E9~o zd1b*)NzQW}ov|!30UZdfvUi*v5Mvz{(uu(QVe14MS70hf<#d&fWEl}^)%Ylyzr^(O zo3_;l;#=qO1)03an#Vlai23#5`nEVN-0nva;KwuPPJb3exU(`tty;@LOx<7yDqqoj zSHlIy^D+`BRNHh_83}$(h}K<3iC^z_+fJtp1PliC{j$yYb%6d)KV?##cp!n#i=n#k za50$1+r@~d`hI4~Jk#3{Y;<&uI!R5nDMSNCKnHjFIL(v23`W%%eXKvLzmuNhYB)H@ zjxxn!lw1&oF(g4z0fa_dTU)r6&ar35I1_K+Sxww(5+ZgwHG8Fap3Q5DO2*R!#}o=^ z2F6z6Bt+Cn8p4br>_>n8jj3DEZC}6K?Tp)VwsCAwrXIOV4@>hmj4?ocj~SyF~Z>J;1>(CW@(HPZ^Uij5)hE0lvu zZuUBwGLs!0NBk#S=rz4HN5V_qTHhGd(A1X3!O!|PAXMK32UiE1^e?Sl(~^)Qyq=8qsl#Cm}pe6@MH)50=5FhQ@F6TBE|K(Dw{giO^W?uE)2N#O2(l1akS|Kx#|7ck(V;#I|V5V0<{6Q?%}Z z(ntHoJYlxWHwPn>n{etMnUQPTmg)Ux)v#)@Z5TmO zDzy?Ym;61YYKfe$zEcwsijGMU;}L=;wrXzZs%T(>YdB>XDX7y)bCd+)^c@F+!yYlH z*sn&qEPNWr=BE!2yc8b_v>d8nkYFe<89Sd^C$SmG5goEOsC-jJH>zSpon#(3^6`wy zgc&FC9@DKr_noZPDP0elyp)UD*+VFMo1s}SBDwlAB^-UTV5*dOrqV}ewWTGPbPT*9 z1fz%_5U4%sM%hO7?{z-=Nu<1g-Y8A#n`%b8p?L0qr#h3Q&~Iu5 z{H7&r{rCEEwVBvwkc%k&8~R%}5k8u}ZCer3yjxLzu^rylU@?bntzwP9od&&ZsITj^Owtg#ue0I=RRObSwk#n=`(B?Sj#3KGk=< zvFZ7i@5Arx#HL$Na7zW`L&`|z77Y+=Za*0U7RXPI0zGLgyl59=u&B$GpG{1-8Q0Hnj*oOxltQv&qy(M&+2o4vf9*t; z|75?g4;htwnYcSz;P{A5-^%EAsINH8EqM2HiDAsfekRHGJD@TZuraa^+~c}8mNp_C zVD9WZOD;!z5a;R^)N&J!_)GxqXP=FU4|97UPT8mb{tuA-eY`Nd^p@)pp6QKA;>(rE zIN!?h9~ff{K?x2IxVJ4sUH@}~3?0NcPphFP!q=6VqS5;0YOPL?jR6LMVIX8*5w!rp zBZ0>!ba~KdN;F$bgsu+Dn>AdI%&Cu`Ziy!FI5WsJ&2KxS_&A*a)G1N_qi440n!UC1 z*D+1GFo0#Y{J8!%>mLra^K9U917i zig7(tgdFaA_ll=U3EV_NLea)wVy-on%5m<<(AgRyR<4X@fKq}CXogAq(o+Hl zPEP<*lHT{R;Ec2eWj!tb#%RakbkCnY~7cL~( z+q2>@F&&>D81!|u3aknA4c3jYz%&=D;#nic2Z%tNGA z2{ky1l(Wbb^P|M+NLhR=0DmWA<&OyC^H;hvaTgmMN;hLji*RJmoe4O~O+egkx+79G z@g$RdUau+;eDYcXzVU0=H6iLi14elnYW=}`nIiM?{Fz&zYQ`YPj^s0WW_XUw>!F|Y z^@K}bN);L62GazUCb{ovt;!nqyeFMIp)t3?Z*-zuYW#kzhSmsIT0kntOEz*(Y)(0M z3|>+Q9vq{FX>n?ywgJoqb0Evu9><=XS1om;uq(%f+c93#zr#46=s=&Yj@3;zjb8<_tWK?zSmR<{fp4dQ1}K zQnP6;=igJMFl%nR-r2l5krU=tYaWCw6#O;0R_MND&nV ziv~v1bRR3d>gJwNk=wjb8LCPviP|i^?lBRsXL|B0)iaajEU26GJTjIN?<6)qf;Sz~ z>yY%pGx%B3RlxC(z1lrE^`_Um{;)^%o_?6Chehn;;!XUn34$T>s7!-g%|&W z?PwZ*OgIq7SNqtzpT$NshA-N?ZfT0PQ>Y`GOZH@=Yn8 za*x*WI2pp3!6SnKR}ww2#r74$IU~k}4H0@-OCWB-IobNRWp3U*jC)80)dz$p9X5nZ53CvmfdSIi&gd-w8y7)1l+LB*0q62(PhP; z%-!PD3r?<{lUD7HcQ9g`Fc@=33c$1V=gR~&PcQgZGRIHI3VLS@WGG~K`42_#rBGRx z0d$V_E;*>xIyrzbac;vCL?p#&`{k&RdsD$lO+52g_xwJaz&x6E*J$9U(l@@`Ch^PU zqFfe_*O;unNJoU7h;+xiaEFUeyB0AY?2*A;hJ&RTV)O{v<-%ys4>X;}GH;I>u-(;X zA!3Gwk!Bm|`j?tgugWgI$P}P~iD-BYWuTaoqKQ^bC2&z^{TC>XA;(eLAdl)xGt6VB zf;b%-2)x1)PTfz;eM)o+1U}fcf0Id}ws@Fy`AB@}p?%nH?Yl#3H>25iHB%iPS%7o>@`K+GnC_wJE!)ip_jLXFkQLC$ z?y^p$j)b@JPZrW|Sk;Wl1#ilQi6@~TXgGHP)Y=#jJ z?=bvf9TebTJ1RP`Pwr5!D8=F)UFgq&d#Ldla1aqZes@VNXbZ9B73MQcL|FQYzg@{TA!`X3;Ij>IQ z)+iQAGNU= z{tOw9*TF-wQNatgzGLDsI4LeK?v#Lr$kb;P&sOzOjftMFw+ei=aS4%BUV?8eKd9oB z2iHyov1{f?7I2qQxN4NEAvjxA55`jSxMZ|wW!SM}lZI}#H;NW4(Cwl;ap2bc7L%t{ z86Y?#&K#LRnd?P)twpHoFN3+DnXMQ>a69l)$@OKv)OUQ#D@*(rhoS*w}xeNMkVxj zz)Om!uzR}MgoBtX(y6anaR5}z^0NFpKt_!ABE;|AziMVb9{VA=yWK(4sr@w1$fy+I zLx}y|GO+R#1|kL|oC~yz0KUi|r^~bI^G9=#6E0wyKL0qS&<>6f&-VJye-S%sQqT?8 z++k4kKm7RBNSFWS*yx~@JyUlH$ah0&CnC37rtGTqKAWB&7Pa|x#pfbb%&iH-I$!zs zXL@Dd9y%`iaibS7fbMUS>4)Rx3v=(jDbex2t|+*->-mcQ*9X9SCK^xt*KhKg?K zY}c=1R1eDSM+WOwy?bUiJS}&Ca^qJe9{f=(04}zaXZ|XAC7{PsIkEO)Tl?_9k;FfW z`TW#|)3thka`aG5ry}a~`#*|(7zo?58!5`Z|6wD!cV@YD9pYa0@E=x!I%(POiidJE z1w51RxQBCLL7`5^HPzsIN=hIQ)G4?WL%b~T`Ksk^a>9+$pp!%%>K=0L%gRKfRY{RS zSo|u4d8y)wi6%BPDlnQy07mh@eij^bVv7=l18dcOvuR_Y1tjI6l?A5$0-%2Qg0h8C zDS28senM)NUeiTjDHa>$CFN z-II}@vi_6J1Kxt!s#Xi1XE~WUPA2u#@(6jB>g(aOg3hKKpF4M)NV%ngX;vuf{IrpW zG7jQiOY@I=H}bdf@#)_mA3?5sg?6lqNFe(HNqX&4H58cU4dBQO_rFhW zC~wjBv??jF&MHy)WYredgtjW$srS;LP>gO+eE)}OJ1a(=rpRW}BYgC#=HPM)0jaZr z;;6J8^k3xYMmg#K?T5qfg~LAUz((ZK%!8-m-vQlqQydTFz5{MIS(S{NYqV`|$PQ*7 zdTc*LDFP|iKV`gIq>wv)rwRQ>5Zjvm!ljCH!$ap_r||LV)mak8_J?M_@Pc?wiYuDl z(J_k~3~YuqU|k@ejA+FZDNOjeUzqUx6eBdv554KbM{|F0yZm#7|jj>*r4Br+w3uGTIlZ!~oayn^-4nc2*LJT#U4{VmQKN1mH)>Fi8d$GqpB z{aRSM>GT~Sdg145G6BCzmVn>=sm__7uR#E8&-vnCc@csk~5!&?K7Gl{~~?< zPT)!kf49i;&rbPM-yZ$7{q_Hw1_oQ1pu8KK{#iEnk-p*k87(NXb%q{c4kYTTWWm*Y zq&#-Gqa~lLuI$hoo^D4Nro_H*rNq8SdP|Pe&V{Xjs#Jk5DI0`a{E?r&#qb9%Sp|5k zSDvfN$xm=ZRQA6eWZ}p?MIYZG(Tkaa+?Y3j{_QmJk28)HNn5}&%&r{NltSD?E3F9E z;%KJ3t_jE8dh;Gi@${5DzbH=UGicS9*Cz%?dh*EAWrP?8ab!4;-8kKCj1{0@&{j4t z;RuR{d5u39G5E0hNJ|zu-4N4n$GoG}^GGC9nG@+r+meEX!YRb!519l?z-tZAJ#tF#xj{Z@U2r(xHAnvz z>V2{UQRA-HR5-bENA!c0|>#=3oV3ZCNqr;-ADRngk2Fux<^ddXnjyx1if9Isg{gJhF zY)o{B-vsjl6YpL%otvc#FRSDd(Ci`!N|MfShqnuYMIBNfwsnPvpLqC7jcFsYZ$)k0 zDV=z-nB?yw1!BTcg3v|G<5Gs|ZYr?F2F_CVcFAp9?D=H4-xw3os?=_y6Tn+nb4Wyx z%0|MgBqIdK=n|eeuZRn$1RC0*4;SH~s5&D-d~F!yVXWfG!mg@i0<06WEJB!5>7O8o z7^ChRlwo=bm;<3usH#8LKKA$^<{FT|9UM%~pqNU%Q<)CecK=Cd{B73RTBEv@a+2Q1 z!C~#8T;5E`j6@Zd+oaXW=X57RqqGq*V66s4UwKhnxQ1ax+DDT)P}2AB-zlFO>tDfq zMV2ie`tlM^K;U<_a?z>ARbyQI5Gfp;S#g3vW;ZQlL6msPdTAaVV3OtjRWl*zhBJgM zaD9YD?;WTiP7V6eqa6em_K8XHa(;!)EK`GlJ7Vk+;a%NuiS}Pj#stEegu=4}`ikOp z)#08bq42>9Ys-e)&3>zEs4p++O^Vh({!C2)sMQmeZ_%$9F17o#Gt&)1q+T?$dA3}(^&FXCVE;&q{fy?l56)R}v6cu= z{--d?ov*C+^^`TaExagACqn;8QDalg`uJtv+S*0LUivn@@>Ivy@L50ULXF9Yaf{&pz* zO$G;j#krWR{)qC6cFiIYw8~VK=48M3X*}NnXwNru2h}&?npFr+6?kbnjynRX>yZ4C zj5SuGh;nyRqBDc`rccr|Ow~-H1w?YjF(Y(kB3?_ByJRUx z?GF?;%(aV`V^pp8r7~mfZnVozSvkpBtM1qI`A!-%%kA?T=c}h+YSqUTCxD$#AL-<_ zhmxLxM8w4}ZH9$QuO~uG^1M=c2;5y{C=~ty2AT5BG05BINklxMI0tW0`|-;3d0f+_ zpfSl>1x5l+lZ26Fy(um3>n1G)a78(H2L4W7oF4bO&t+K=i&{)LUYzqgz|*=4e&)l= zB3_Iwy$UYz`RKZP%7LZZ! zQq#A@R#?m16z#s1m1jQCHCFCV_YGBj9uz?JsRZM;d!kMyoBZYLXnu2~V4AT$eF6V9 zzDgBK{?f*z$VjDA&wQVjKUi(fzJ4fM#j*cF&(gmTa2vumN9u|}JwsUB=r-hxH*)k=%^lBf=S^M2t)oix8WDAaD?XVAWVC(8(zdzgn` zZY8}@*fVO}qi|N3Ul#xTbyK9v_@iWKLu69|5-)M6TFaSrg!AWXJf1Heey+Z7?TWSw zp1G@Bla%4PtzgCm96n5ao4TZ`mV@&P(yPy{3>HoIoJZ fhwHY~vG>;_$~V3ab?db4CqD$x|8T_pKK6eA4N`FV literal 42382 zcmeFZ1z4QTk|;a`OM(T0d(Z?8!7V`W5Fofi@PWbI36S6nKDY$eA-F?u3+{uvdvLpx z^X*N(J>S{gvwQd6|JmpHduHD0sjlv~s=KDUx~lrUpSoWJJb5c2EdfA4000o+FTnjW z!j!bAsNQ=;c?s!v;(ru$1K-S)=13xk{wl{<$9Kt^|cJQ0SiN%HIaZUfoKmVCG_#-dyGwP5+cP_*34{#_lJ6C>%$?(!%lQy?&;j6r&qksVKp}AHqMR0DFKU zKoaogC;#x@@MN6<0Pvgw0EiL4VFn2RK=o$;fDrZ@Mw1QzV0{7rss?|7fDA5c@B~2oDT{w36l5gS2Z#?59>I%sp8yaL5g#BRKg4(pr~EN0 zd~_bbGbq?N&rqM@ia6jCP_c2T#*{t8qv2FgREdtQ7#M*Ne1x6bhr>QH ziq_yuY0D!*Ix#gnU%!kt`sbpM%=RUC`y_wd`uEM@!~Xyg83_dyUicat{^vk|^NfNF z@3_Cw2QNgz#$i*ijU2|sd&bV8q#xCS{8U8oOBt0x>B!P6J0EIM-$R-=tw;AT06M(R z18hWWfDqswpgfF?fc*sfKYy{EgMQTj(iG;+uX77etypbzFFSyU`DUfzl2!D2oxVqi zHKPB;=Nk>6uVOb9*_$^b=+FyC+B8HLE51>&cP0fk;n!byxXi83dU??u35cc0F+Z2d zO+?;(D#@)Yr0>Hej~T4=beJ*`l6(SA?XdJ^OGgKTxxnNs0M_bS5Ni)EdFWuN-Yo@1 zh8xAec2OGBdpD)mWBUa?#~rBI?0b6iYemg8@7>s6x9@BA9gCx8vhT|O@bC%{y_{2t zUJJ&0YYIyl*Lba-{v*e;@Ori~ZZ#N7!gMO7Ps2+p{fCKX&|P@=(55$kL77LX$kw}S zwO)b5LB=)>r!Vf|fn3?2?g8`7zmP+gZ{)fd(I`x+8*@7+6~Fr30}Q+~SAIx}sz9-T z_EPpzW7x}#S2<~ZqgwOZpHZ6y~YwMXp-etw3@-baXI`D5RiH$Ae(;~tRMREqYe@PLrY4pt7g6bC43 z?oLHCG?1I3+zRqnaRMVouh9|F^yw_(c)9~i>PxqNyiJYNnK`||xDUggI`6`gdy<`z|i zHrkp!s#sWg?X^axGm(?o%GgJ#?`>Z_ngZgMJSvxt7uCl`CY$a^T!V9h&o(e#sxNE z@R_upg=74)@?*~^X>rdczR!DwIXOnB?;o3fA4Mcn9O)AHD9J~XX&A%9IpcW3H!ob) z!$z(JWJ*p}G8jv6gibNz2Wx$1tm;EtwJ7b&Y$Kue^E*ZUK6K~mjJ%)RWH61lxL7@F zGR8VSH6TJZqV+x>occEY-P1QmB&*MSR#Gt$+7T;`jwnwb6UV74C=Fb>no%%Wy611q z42Vfhf~ul8$*I3kD}0MR&qM5kVwoE$PqS!&4JOw++cZpS7G97jNInDFhTQ{VMiojz zZCN(Br>cA4>fqxw;a{i5FKC1JAic& zb%@Y(UeGTRmu6nncrXs@-@174Ie&;B$rTgd5DpA{82ItOcJZU8E|+%jPjr(kV@yF$ zzNLu*l{<}$bZvEk5|^=B@?O6rI2()@nNMM6{FqbIDmZE#4|ZZHcDSV@&jq6v7K51j zCb%uTH3&598-IajCZ{FTHV+*BlAEbrs$Chc_+ykUvhMC7G&b7;L z$X;(OUuW%8dGlE>2ocQD*Oy=3MI}>fW)sBPDOlB+XeUpxI+NxcGZyB5D!0dJC#s2F zCY@foD=4oCy4h;>xY2V+-5=bzlKuozkQS9?>|2n3I_qI&k3j3;S(Hg}l|{kzxZwFJSe2qvE1VDy;b|utnb4^yHS7P@<~8b3-It!G2t^O9sHNK2fcB zPX4Uu195Fvelb#Nx~eB+K|#wt>e4nKKHo#TgO-i2F7bhAGTHcmV85ADGD;^mcx1z~ zs_6A3uxKl?jaJs{lLKrzP2nYKC-HfdCKeWQ9VTJ`pejaIdH5;5H$~7_F>zlcF<~*W z|Fet8MpM@a7S)B18I1$}ru>mm1AGQ=eB^pidaiqX0j_&Gq;*+mwjzXzb;0`P|M+gd z8xYw@?JCWss__S7o};-`0I_fyFWB|lYX^~@bT)UmU@v!^~t>+2W5vZcHof#4`jPgO9TwixleE=yA0;2NB zM`tH5Z~eQrlssW)c3Sda>^prP=3y~+*Lbfs!yoxgdx8z$h4f3Wloy!XWvwA$) zvJF{UW-*f-D<*d-J}-G6;%zJiz#n%&4ZlWejI2y9U$L8d*0x|)X{c=5Mmu-9EW$D1 z>_-?XHYY%~Pp?aiNlt(@UieKg{3b@{Hryjc$pB*RE@-I55zC2JF3)I`7uyvQh`y95 zs)_n-sF8Z+d)pZaMYim@Sr2HEWU<96_)nm{b^U9M@R6MBiq*=Uu)`14;@H1Izj?6J zJng)Asg)7<8}z%6d70f-JP7|)w|gW-7=KMUhV9{@lfJW==uPm^oVQ&f*R6jv zrkSx^uCsMewOMFZ9k@^^Lt`~r+D{8L3{b#C!an>AYlwdOZi(+b71hW8)L%!PcPHef zcG$N~@v1Di8q;exuTFFih;XGphNW%sS{hD_Ry`%wR{e@x7J-odr2OMOU=A(YUQ2K< z>mJ}Rcj zO`7=H^c-WwzQJy}eUxUlKqDsiX3nggoMc?X2er8CXuT}ly~Y_bsq9X^d(xyikKXC` zd%VITp)veuPu6Z@gBqv|d|0~HSNw8q?4oV^N0YLGv~6%)lJ{r1t}^asrz8n*q~9CI zm2beuQ^MlWF>9&~EIpj_CyKzm!zP}EmqEwCEgB0867@&R8x<}!p!~(!{F51ESygGd znPi1#5_>Hthoxaj=_2NM0>N(_V9S<{ZxN`WzK;#Khb1>ip$5q*hE;ugSDV}JIs-0S zc{w@RiFt!Gk#!QBMW4fM$BS$yWqG^~>t13i*@BfVqbFAgfcr5&j^pWphRYBlz@$ZF zW3fACiW~x4*n=jIRNtH_Tion2z z-oXFN%8G_4bc{uFr=@gD&wT2Wc8MD0&76N14Ve(M$_r_4f$0Z>CKonR;2AG+yiX%9EQp=h^Qj0!uFVLCS^qy)#{301+0AMn)9eL zZ17Q2Hcjx`X2&N6^_*?%(1$8W^NUIbb0a>L$74iXkt>m2Yi-y>a|wm zIjIZv>Kd{}fz-Jq$&ktQ>}aF4TYy$+Z*)a9c}l#ik5xi6^Gf;NYUy#x2jf_L-@-`^ zDUu85)G53{t#NU0aJ#sGGFDUZs2m5c$Y_|bf|nf6j-9*I1nh$MElW?1x+eqL_d-D) z4~BCZcv5Wps828zXwPnUE!P-&VzsSU^E=re^YKvZwa4OA5y*-yk;XnNt+SbrI3_*Y z$ z`9b3ROr18T&AV)5kEGhY zTGM4`4_dbtd@D-!9_5ykIz-AT3=rL=&QKJ`nC}<;&@A~?gKt~fe9>5xF2i@0B5*2S z&6G(z+dKgmPrcb#1!#rVEA6YDLhuTnlV+iDVWzxEPF~g*Z>iYz=Ns-u@ni%1eW{%_ zwXhV&mG+&}kz>&y1=aWCqGrc2Tn zI*GwKdXhQW)#0ux-c9!?R?^J4wbOgE;FKjYGa+wHN4mMa6nPEpjX(n%=8JoBEBSn}L`E(IFI{eB6>H;>@!ir~kMfSJcX66# zDNj$06A63@rTC?-J~z>GKvG1Wxsy>)*3dRnG^lUwQZX9Om!W-jcu-(xnin)&$BS0I zk2!~Kv?;Ot$SHeZ64Y45IVU?qb(Ztgxn3a{?Ni6Vj2Zxd(nDTPDvVGc;yCJGXQKp> z+;}(Nr4n$g)XmoACVRHTr2;DSMVo_}5nqy78FkcZqZuC@!$t!ODx4 zp?NDBj(uETVJs6`76f^$ zIuq`XDM;Jo$5xy&g&mcCUwAhBB}xFr%ao#jk-+gD5P2i?yhe}F3ZlN9+c?}IYCEAp z+#8?av>6glO41l`Vl?XR0$6+yS|&g}E#y`bwb$F9nLEZeO+go0fGcnk${asF#?jNi zlkN)AM5~w-Mh#?UQDm9+H|;}iMlF49q6I9CXGKYkqlWa*Do4HB?7Q4dk3BF%B<8}% zRNLO01)PR(Q%*4lyH|{zy>;LI!n(E*-T3RZ6N^T0mM4GXJf&e7lsjj1z1s}80Zrx002U~z?QV7kwzh)!^^ zG|fE#$5E5vke8S9yzbxzR&o_wD|HMya9p^o)H}tqJJEI9t}0fI#3o2k_)nRkKA7H# ztfuvuduOdRH3eTihbnX8M*D7>Q#;55Hf6LQ3Z3C)rznWqD&NquWpn;od9tN+UJ>s; zPE8GNn!nDoC{++q5Eancus_B2dpb`_F1(VH=?AVu%=I9cITh7i`m8fWe9nFxiyKBS z`h}9HK@VZ)2u#e9H5|HvCvmZyjQg-uu&Vho$^J)yP_w*c$(_mUEkpRhn0s?Sxw%U` z*RX-RrS}Qf#+I_TSL%%3O@Hl`3dKTh{mt-tZjhfPK7G~XJ%HWHD^~J+Yp?Pi@O>sN zTjBQV|4nt=eiJpP>fTP}WdbR}bv`-QQ(Rv;(W6saRl2}lR(UVw z!g(57(H}_hxg*^D;~fV5Id0EoW77#uSN*f}YHc8pENCrFeGZ$NB1++3`DoL3Ol4%HeuhS zsT1!&(-?|Os`jsAoca4@icjg1+oY{ovK)oDzqmYQYn8MI9~~iDg^iws(}Od~xPf52z@q{&d00DFdgjND9(wV~;Bi zl4L+0#gq3CE@dXJry@O(qP&=3&u3A61lw`fbIQmo_#B><=p+WDoFd$KOeeP~urF)NH7-pYo#!TCJgO zv7^VyJ|s6lM?X7?FyGvqf{a##hBrg!%Zy942qh>)bgl)qC+O7I!8tx|+j`J9-1l9% z^ekLa9-G4Ox498{_NvOvj+Hw;0ACM+ji#mJt4Xxt@vl{@ z6Vmdy4rPtQ;%Hfzh^?b)HJqOZU_u-S-^@j~qf$>?^If7$)i?8Zs2~K2-92q*~Udzhe+TpJE zohL?z9^$+187_;Pv+5h%_EOAzIGm`#+e%DqhL;gOIg{d&ZlG)nSx{y{ezBp%xrdq` z8p#+bZ}SL6(z~A~h9;ceZYqx`o>yECHh8;)0Y_0^QJ>e8lE0r3e353}Sr6i8Da#8h z_cfq%cpfQt-rjMuRQ1y!e-IRM*=F(6#{OE(`QXLEqdvYEsa*GEgFBnQ)pY)ax#sM3 zoN{QK@|H%a@rccv$1)Y}0pS0IXjk9tDtGZ}ARFh!{6&0oGS}cw3;r)eUY&)8Tn{2s z#UR`Rk9T?lB&KjDfZQ*{Waz=XQWJW4zF4qx6CLXYM)^p>S?+JdztM)GF_t0Dzwngc z#D5xY@mKnd$XI_KbKu9ctw5FXi=q7Ah_Q3mz0NHV$A8Rue((P68vo+|XvRIPD{aTu z;%^hGxs=|CO-kpHNe()6Kf^FdULrA==J;`ddXlV>>4Lf?)o?qTyW%Q`Y5Y^S>8#v#FZ}<#{(nu}YAm^D9Isx`R!u5RN|ICw{y0YU zPvIQen*5^EH!Q0>NtB6~0A8dEuq}DlUc)qE%J#b-8fv~=3LB0o+TmMQar!zm(Jq4l4nTnz{kkB($rV*i19Xj`UN=h6r2qS zE*`!<6*t-X>yi+44%ggwB`IlE7?id`SoH>c~>0vZ_}2 zaT@DTvo|s+k7hB!hlZ=9Hc!}19idWZ|8#YIYOf!KYQW-+Gq0s=j0zjYx!l8!Yn=05 zRqD|3I>=G12D6H6@69f=*@=hTQgPZgJW=(+d{r6P-+X ztdHdB>7Zj7E^O1)9k?~(OY??G&1c`o4O|CSjxx|A;3!Ex?M#t<<)Aw_DXAs9pOiF* z$-qr$-;ZFsK_>RCwturga2=sVg-iC>jB!z30qJZp?%{W1+h-YUmzEqfcUE;rLyjtT zjRE3*^RKqwfhV25!oGM^azeH@O+xX*oUE~C8V&(CoHUq~m;2Z8{l1FVRC$?IN|W>b z+llMFXenshFZz*&6uxa&OXfs%kw?|`Qxs5cey!!psh(qRQZ05ly)k*eU;|u0*2bR# zE<*Fd#<6SOOc@&4q1b<|wwV=iF|(!in-lBg7vza=+-5b>WpiD<>xf!8=ZCw=DrL!N zoGuT>Dh9!3wdFLl`?jPv7SXn!TqI>tLm87Go}n5gKdSisCC$Dxj&BX`RdNnXDsknC zlyUR$!qPsn_Qg({utD5$5Bc1g#W}@26IVh;X7!DZ83{NK-Z-G$EJ^gZa&92prujBs;X zb4$}P2o_ndhw4=DqC6D78@@2Obr<){D1t`KjpQe}_&(fbu>76}TK5Sb;~W6;`A1ED z+~eSvOQqd#Z0atOn@JniU?{;i2Voco&gUOXLx;*BN+U>AbWa!Sb?I%q6^I>6xH?=# z30avG7hEOamdn0W$xj-(Q#xqfiB;Un#EHOZ) zm@gw2E6C^b=?HJf9Ch~7(n!uQr)9a1F4`)X*eS+%L%JpdUpH;uf;?pN@Su&N8nQHQ zJPiqm>V{J!h1DDw4=Ga_k5vg&xM?T%Wy=|0TG1~HjdkucLBiE^b?@UDNC9D8@b2)Wn1X`{l z9cf_6h-%sjz82~k5|)f6mf#KEmM~zP(}+wUkobrOi};YV%8fBtXgnl zmR&Q?SX@-#JN`8N6<_I5WJR+JK=1}Jd-h;qB^Iwr%bRYtXoPEXr{7m#hP?K1aESYh z86|n93ZIie>Yz|2_b)LII)S&J!W_pYk_ZbWnio5+?g0#Ih2)jTda>&+d!5s9qf^gw z3n3)NoxFtS60Q4|BkV5ve2#v(->TtSrR@!jyKL00YL+p7#jx=CW}#uKrX&xjN}^(W zbcIy-h_y$cKzEmDtu6K@`T@4GA?{6*s@8rr10lLYC1aUkf7r!m^0+t@o_fgdJqp`%H?quEr zlIdmqPKWOS1Gv_|u=3}x@lULVH?h6V?Zv}gU#s7C0=-jWz1r&X1rre;n#Jqm^z2P1 zOF5xA?Y+~gJlekjH$OscZywYAmo}fzpHEdMIfV;{Tq`x6F|W^M4pH5WH`FOW`~G)7n8uL48t#?#WfUJMQ-6_JoLz#I6&vQwE6-2&VZ5cy%;5t$@fP$G zIb-;*#>NgjLtLwYKOQz$8j|;v1$8o;_EFUGelZ?dymjzC`Lt!@RVQ@W8ulB_TLK}Z z!k4XHm^zTkpM~OTvQ$1IxEz|BBybcBlP$oDVf{2vM?f7-YMliBgLzO==;3bmW8 zg}|<;W_;&dGZAdhY}?*vTluYh%;TzIL#){GG04(LKFJ7U`bGxvSUcBGxdg%Ga&#~Rms)U(Xzg6yuNVv7K`0dHy<0;TTgyL&EYTU zfg!Cm|4w)YHPM~nLNjE@TQT3VNWwe*{9vtuVyr+5w7*+dAXJq$LZp@@CSKtCTvvft zyZYGGsSKtAY%n57syB^-%o*hxl@l&uyy|vt48yQGJKc6%d>m7_R(FoYQdRT@{mp@j zNm1#m36R4)4{>y+$LiAns%FWJ|XLp;dZ2B>8jCt7hVkZW>7S%bP2S7s=r zU~xu8@T$P4xVm5Qq>77kY3)jI9!*=FSejIA5{u=BGifowSqBO4n<*SzVZb78omNd|Ej?}*4c_Im1}U0scx2o){X}uV#l}W)`pbwr{#7g<+yf>@%g2j}i5~_wF#bEvL|?YFb;0XPOVm>a z2&~=oGTiGz?;_5Y{`J*E}Hz^REjeHx|7GYQXKj`qjD@wZQGcOkZ|ps@DRy+~QS)R9d| z$o^&!_EnEeQUim1xnRQ}b{sK<8B3qpTs=5mYjTQt0T@?TArSoUtS3=t^5msFoN%*ipFtD~aA&<|?~JtP%PmO`C#rEj;Y z8BprAH13VgRGPPANqKW;3*JcIj5*pL&VpRnHURgqFdT+HZ#|5BCnD)G&O4?YcXi#!{=!PEhkCl-_i#OGfL|A3(F@s**L}6yFZX#(!f4PvAoqof z_i15}KG?~>hr|fTw|V$bPpxt+t*q@t|D6Qclb37*%3r^CE&`c|9D^^l35_|bW@0#T z{4o%mCU{a%GQ$rZr+6wTiXc`?qTAMY6sjZWnMVfwme#x;xIJ6IyHxdRY`foMp|TDp zR6U_Jnt>#yE%p~l@FO5P4tc)!@>ZAgZBA+0^D^)#*7%BYVZF`nQI*%0v2M)1x6&|M zT;C|L_-;GPTF53O`4dQqaHe{NU#D15&R$+IL#g&wUaV7(RW_sgx*)RQww1*WyZD`< z)k5f=Q^hH7|NkY)<=x%9$(RidFe|K5B6PfEBaIH?xNtft-8roomSQmsxh`o_0rrea;QHQS14{Z<-CrxDSv|ehWo~n(`-Dd0KE02Og z;p2e)H1nplT#h|N9N*eqOLC99ITz%0$q$1GnKj<>Yn}HE52(pHx*DES(}zg^W0anM z!5|XQlxjGgN=A&m*qxu!y)EFPS0xmzE4l{|Dsv`P+t=NhQOi2q_O>+^XPzZ3j8-;# z-*)#bkBBGDPYhqn9&EuDn&i%^!eQ3lauc`5V7od{;m=hN-h8?HZ^EwT zW%n>_sB%v8Ryr>=y|43s6Pji!y@om3pVA3gP`<3V1)R4Mm9*59UU~479Wvszn3TSs zdXa*GE- z5+5cK5_%~f;}q{zLY%FnJ{Y4RX%?`3RG>0f$ZjGrn(as{$S_;Hb!* zRwF*}hBH6(535FME^ltW!i(9v+zdn3xSV0F+i|IRuO$NBhZ8w$)z+O(^_p(U>#5md zb&nqg`tegAyKPMypFUpeYFw;xQg0NlD-)uJra<)GL$%%K(M*j)#?XAccebXtC&Dn0 z#B}l6|Kp%Ga*vaHz{-s-Gk?5yOUbp8_qf~RlMQ$*P%@GzxbeGCNx-$1TU>gf%Awf9 zz=FT72>)VQL1Fp58ps;{S|rq*mZn!MZby0>{|P2@?XOaULYs7x#I4~9gzNPu?N#bO zDG)#HKbz10y9_{oS=wAr=HPy&2Xy;<&M!}@3vY`X)Y40YYz6ND8N@043Emj9La?Oq zdqD6HWb>wnKG=AQ|44oR8|Lxg>B~O3{DEIAUr;|h@gZk z?-FU^d%!oAu=ypBORj)E_R2lLsFV6_2d>HP;93a5@KdiB+$P>k>P>-3M>3=RTnn5+ zx(_=!i-skvzTc^rdSY`gM?0AwcZ6&PHRC3aTAnDKE*cU~05gBplCEdJH0bytwh%05 zR&|+wb;uTG-OWkf?*U;oCb2E=(XAyB>HLgUJ&%}bj@UkP#k~&XJo2(8Q#-(0!dfLa z50i+WUVJzC#IDk5>Awh6a6AxZ=#vaY;4ZL4&my- zBs=FlKsU7#>yFr`mX zEf>U5Lybd?@Ewhqc>Lc9;Qvgqd&JbzZd4PG^wHdO^87kwN5yFUwUU8Oj(1^qWgJYq zo;kJWIy=QpOiZ`a;Ezp7=-{P(J1;8)Od56gyr2*ZAbN)0 z&IY6km`67}SnbJi3DZ5mUH0}#VO-C(e5FcRS`~Tt$G{NC-?@U>Y=3DI1)$#wMtwEr zAc^TdL}g2E<5ch|kw+s}@WOt9#L4-?+HQ$Twy=6H_Db03*apWb11*2re>54y{WtH4 zd?neAlW_LfZ*|3s%Iqm#l(LKpjjw9xB#CEakI2#d(~GL@sQrYH2tlR2YK9rQk;5`+^{I39sT)Q>&dVI@K@RpyLTA|jC`GXrZ-Vc9z(anx+C z2XH%OMwLVlXudcs>~D-?@OwK`jHkm~7e^nJvB6BDc^CI~=2L{&Isv)mca~)Vt~kJ( z)5u-#Z*ufXVLc!4xDtbNCZ%8nwd+Y)oL`FLbG`lYN|UgT}K&dms0)!&GU^-;H%p~Vi|1N;mwnS*zdCqFX+RF(l!s$Th4^bcs`^o|z*I zeRp(5Sb9=yMcz3tXXOMk&arT|Y?>h*R%%1Ge8*R&W))k8FNOYPpSV7mW!A&3m~=2= zmL%q}yEbFg{>Dl=exnuf*Dj{~t~QhqkURO;pkV?SrI*F=GZTSpL+ zU#+(?CvxtwsU+@5UFhS@xr&dATcXa0-y%Ce$Njxv`9KrW!Zy>oe)6fKU}9%kWew!& zY*_`;QEq$PsUWK%y|0^2JOP#nI{J5=&ux>~ONnO#X6EIn=Vh-T(hLBs zwyx^SrFEer>3!I1M^gGFKO?`pqjig8NLituf}Ot|d3FZLM70-D6R_Sy&NyO`?DL`K zH2B&yqg?7aYmCW)jnVnzgayvmliZ0o($uM)AI~?5C6d62tmUy53@6dYmI{G}n3cmy zvu1PV1&Nz95lX|a=_Ss^CXPJP@%J!o$Y050psx`n`^{Mqg`vpCk54L(4e41wts9o7 z8E|<2US!|podvywy+3`g)Xl!l(}GjHxDdk_buUh{QmxGOJm#2Eh0*dNNfJb@l7k^; zahFY>=s;IBh<9VoUEtr%vAym}|E+WEltd-=|JQS@3>(sFO{!mq((5MhX+d)>S=eNv zn{x}J+0N$L7H(N%eIi9=|FgE@Y^V(%&}ADlok_9}!UjXbsJ-%vwt^1b13EF(#%HbZ zm7H^e3aHGw-Yp#^T~%*6qiy0_fD1`d?PsXN^$crj8i(zx zw>|h2LXgWw>nr8kUi(Yyq=|b#w)||~d6k~vYv8gGWSQx;H}i?x!jJsxn2qBF?&5pE z+q7DFcjJ@MbugW@6;<1BsN65i|5A0mi9Sff)*f(Q`8`B zXSngKg2k%-u1!wY&P%gasHD5xwYUN+uhv0Ehl2x}yFpZal6WoQ?yA8FUl+f-+Uo5P?BZ|d) zK)Bn4KL=+zXF3pYgnScBC-Rg!EDX#Am?-rV9ug47OmC8A5B&3q5s@C}3I)AA6{ne4 zCY1_2TRx(#T%bLTq5tPB3c_c`>aMRlk3!{ULbWVnlqb+Y>M%{jCmyyCvVP~!`K)tG z1S#6uGC?#^dDwF7=^ywBQiFxBWnl%Mr0up&6~+X|EfS!_(r98}Iy#Dh2d{=EZ2`U_ zO1jp#b|WGV4~aue~lrezPK}ZNktUBnwYM)SF^RB-lvS)!Y2yr z(U)%+4gyXU7vDy?&{U3Fkg$if#h1Z}!4eLjctM5?8^^%J2nR%YWLW322Z7btlMS&= z+`!U3S0>I%g(2k@&bnPQszOMx(@uZDAu|q!p)082X=#^eu2Q00Yv{}0)(FCy-=+u7 z-xdj-nE=zU@^cx6AOFPGI%RO%jqcT@nCn7JW|(~T*pGBst*#*Lk3$4^A|Vfx#_B^ z>U5CLQSbd<2PY<~)hWD@n3|*3Yv*^THA$~|^34&sqc~kb5b!VVjQ>IVi;$=-r_3^i zCTLv-pQcj;+A5#9d?41R)O4O$j#18cO79F`@eRw6D=`5g2PO_Lm}B9-ysDHF3yNas z6-(j%WOc;+bwNXU3lD>WjC222ud4dZx{`Xi%POpiNlyZmbF*$%&v9Li#Si)7%nMvC zSFnSO?WR5c^(i4OogX@CbGej_=PItIKEBzw)gCjbJD{eJg6oQdqz|{2&clv+PRYLK zb1G}8D34=XJesxGLS)59PHeL(W?p=B7_S_yA~Znyh?cqxSQcLPFk;gEbz2ZObsrmP zIYrI1RakL;wf2kE?7TqOcEj`ekx8t>3!B#*A)j~1lNjKX6VkX6u7S|H*#*{TtiB&z z$F?p-G?_o7bG3(|+ieT;SvYs-jx;~GMsEy{(GEJ!g{)4$EOgC? zdW-I*2g-HkM+^U~l&;T2oA?s3tJN#By%~7^t53AF++UyI>5IoIQOpQn6E6N69a7|q zd{9@|CxG9g7_8M~>33SWAU^I1`%~YFxbGJn4Z{Prc4q?EtC;&VH0FW1#IMO-N zX;YbFmPXj}fQrfImjMoGU0j)214T%EyO)oLK4lE2Duc{8xx3ZS$eJS2`73;B$roVjfbMlcofIhFI43WtT!c}ECTvBuHVY_%wzGOwGOrr#=}6RlW4pioLWJEk|s#D=1-J>9&Y@ctQvx zfx&-!cF6xE%}Qe2J3)n__t{-VLC^1eVfk)qlaqV~y;xOTl3iqP<0RHV={vc;kkH_b zh|!6`r>iBnr6R+Z8LnM~3zQ%n zcq({`lBWLwgVN`Fy^hpT80Sjv$bb+E7Ega81b)0m#I~Gk&H&QXhc0n|=cOboygsn` z3G5$RR>7BE!GqB*F(Q|^lSjd*$5d;g)925Q!fBON(h9vu=FSmU(;LpRup4~hC<63Z z?e44xhByTT&5l&;xUvkCq8~8U>*E-lPBbJssVOTNS;oKiFOry=zxXaIutQ2XqQ2b! zaB&g8Q|qH~#Br`+zpVySR3Bc33~j6b_NBfl$5z7gC<2K|vTqe(P{0!p^X5SN<(pDt z*YO#KoYD^!Bk!kJVkZJ7CUq};6a)af>o7{&;ejbqxg_qxg^JH;;A=X|8gClXWC0%) zx9+^`e4hkeY1{`qna=)K!CUHcU22@g4_<9JVh~H64oJfvfPjjrJ@aX7l%z>o&&4m3 zcVGs65YtenP$C>)i>Ppj(@;WoCSZIa!Pb*)38`vRh+D4e*~5#8Lwr#^Iof-8jO3Fv zwO$)$uk-cPmqX#gfB(^L=9m8csZ(mpmu>R4bt+Q@pe?BF_~@uw2cl^(mo$ltiP3Nz zegl4lrlwX&$X1g(BlDRSt~2TkaLIAtRLi_HDQua6!FiG{BZpv;_LyU zuru(vz3#hXIR#hp{BrGrVlM6ea;_%drti}v^5SZ^4Qu=`ZEi9|%}IVa%6f?~2aQYT zXPgdP^K!W@xz(d{Ux5oU;x}a-@F7MC`n6csXUzpPGopUGv<$3qOpQ!?{(H>L9)+!AE@#5KJABz_Lm zT90^NeP_FSfAl?*BC$uAx-0)^ruLr=h$>9klv}+CAkd1*4`8v~DL;3aP-tG`8y>M*x|SX35f2%E%#-zG_jalD+82N_a;=mcqpHAe^fi6*B>B%i z5}2ceV}`W@rH*Vbu-RYH9?2Vd$}Ys@y-aEnw5*(GG{|=(Ro1{0Y?bIk7I64uY zd9j7-Ulhyfxtef_y43J(xLS~rzc742*YkdJke|O#*PAVUQ(MMS&$xQ}nOgkB3a*P2 z)lP@XS-*l4$cg}em@A^?{S;lWVSmH+G^tjhXagmWSz!Qkc@)!0H0)Ys1v9_P+)8mp z8K1F{c3FBF0TTO3QsL=}zI}7M3zNN8-b_cfqn%PWvNxTE3BA@{ieM*r96UJ#qO-B5 zOD!v?;>+!x0BTat(j3(*6iNgH$+z?B?53rzShmaL{^V=TVVID$!INx1M!MMR9dI5@YgNx{NCA)zJEu;I>-eYhH)O zxy?8t;YQEWPI}5rlW1;XW~FG02uKTf7;Ca!gpH^51YCL>?DpRSI)F@f?}YlU2~4c- z7?bv1!$Hq)89)+2%2ZUB;=kR@L>d;INq7ytu)I7SGTcEtC3turW+=UT!j&xfE52{T zj+#armdf(%uhQ%A$(^|NKsVS+2xC~`;yrO=4)5eng=GBw5;Ib68FF6RJ$DG}a-aU+ z6=5_R#T@b*8VYqN{3&7enzxz)lzcu%o4Jd8!`Qu??c1;dTsiLYSTvOP?}fr-b?>HK=W*z{}l>MNz!mNpQ}aDPBeeU+ou!zYzXFGHdvOs{H+( zOQTlJyt4XVke_!B@rECKl6ThYqr(~hgO{9`}5zR51PxsjH{&!-ty?O<_M-ct=|h!uT7M@{5^s$D1Gz3%*QYs=Uos&_x9G<{oojM;->R4@dm;=Kw=aQut-Y0c3*tkG7$=|@Mj zusyvt=V0^Ag!n75BQr4v88d8xUY6fZ)}Fp?K0120wCpyKeg(NZ`1Xqzmrr7)arc%k zoQUiLux<~>ej<_nq$qC=k!+xIuGp)X{0W)x#SiTSPf4-%1En7|K;D8E3nK-F8&m;O zv(AlaS;H&TMHmD+8FFr;Vt0Mc4iv44n8o zMi{!+R{p=*d&{u6mTg_Q2_z6Sgdk}wL4ybAMj8+9!5u;xZ`_?g2rdBvAy{yiKpK}2 zT!Op1)3{r1XRWNPwa?!ByZbx$-20q;pZlku?&?`{)T~)^R@E5qc;B{(%dA-Ue*v8I zF9aj|pChB86Mu&R9{D?yXdL?JMhE39Ryp}OPEj>FSJ>6_$W5F<5+SnFG(hp{};|HJy(~5lI zZZO$#B$3B@T)9<#E-*`vsSN1>0Rx9AFIw91(TM6Vh>Fr{rIDOqF7Xuy7Gbiu6~N1H z>c~BI6IYECP>;HAwKN=1y-WWJCW1UAqtfWqsymjIvxOx^*EOhW?0G9ouSrx(tHNrW zu%|ZU#o^K&{KkAsSd53B-wL8tE|z#Yd?0?#y{1m~InZ&s;}y!=r|Wkk=t?ugrRYNn zRCX=G38e>PTC17c?11JEr7a`U(_fM+>FLYM%dIVVMvhG4D1-ySHS7HYU#(7g&Cgjw z2PRHf9;hYiNDry*KAh>*_LfaQa`p=T)gf>t$$I#Cj%)9Z{m_9PamMFug*6r-+5vYy z!PfNPT`NKJSTbnONBxMtQnPfADa8bru$?~+ZuwPT`$@{l&}#A$ z->-xD{-{qBLjNC(8HCk;NNGxpaEa2fFILcg!n8y9R!Pr{$|1wIZfT07aI(=6XBsb#CB@)?QW z4=D`|)$PqZkT?Gh_{5s^T3XQ?-jG0`M1GPW^8tH=koBG-8tYUCLlZz#zSxE$rjpLe7Ua+B|xZh%}nwot{#%wkgD147Bh66+*8KPJ0l zv%OcF=qXQc9HR1CTMbl|!VUC%ZN_45WcOCOR!oVL1LJ4U{=B`vIUbN7#DrZvlFl%9Rg?qvNF#?& zaq<`*vbxZyObCYvwS$yUy>t5AQ8l%fVG&IJJB6Ry3Be$>KHTVnWY*QrBybH;w5Hr^ zVX&JmOs86jZ2_gx4~*W1+4QMh$*f9sVg_xevX#^{vpBzKZH{a0OH!z$_j3ntbb=}? z4`Jt2Ux>uPPj417TO;N_yGE+!xQGZ2p3T{??RQXB`I4pD-Ybq9Rke%szhtyYY64kn z#gdM*gRiz2xrN&uN-JRo1(N>g&jke@T%l|K+j-OO>E>+Eeh0+3lF_htM~8n+p)T_) zli0bQiXXZX)+o5TII%y7>DHjvt%1H9UpZcEwT)w}b57th2DM>+y_+5D+ZWvH5D7WV z2wr$P)B?Kh?!0cev}h`XR}1vdmXU0H7}^R`YNL%0H^_j(w1Ic~&CmhhrTp1i-s}*I zb{Q&FjG#|a|JW~w^ws6qUnp3O7Qj{EoN80~<6_5U@zwD(RJ_w;XXWFIqKfE5zDxZf zw2|>s;!6Z|13(K%vj9z@B{7aW-wYga-@M(V#zK;uUj`~QF5YcXaMCm;scL{7;Ht%X zVY(YU2`AUw9kii9FJ#U7BZk0X|DU}3#B~4J7u?5JTVmqB+5c}3yME2~r2drmMNw5y z_32lN(iT0q!1AlMm|?6S;4#A()G5|9xv;~!B-e%5QOh46bcF+zyo02j5xPqsf>`0} z$lpDE>!TGa?xk3^y&ifO-o*YP{yP94zg0UMDvDZ7>{;)5bV_f}dhUL{v7@tIOL8W$ zZkpiqi7(2fd#q2<-i2!SeMw5nN<(m@zx8X-){CD7%RAz8Yz6`X-ChKg7&CXwM}zAR zBuzSDR%-9H6T_SGhm;1_>2mYgoIsQ2_5Km)qTc~7jYMC58Hz{R;Z&$V|5>20taosH zI5b^3z`hsWZ<1_@`?DaqqjqI$EvFh8>|7vC?SYJw|17veGcR&-a^Ad9Vm~L=-o!1E z;Pkn4D^?HZ_=K_R1Jk5=jUHI_Yr67i6?ogbAEm$ApHJcOBn7pGYHo+mw{D+Qj~-&#W#U8p?inIPp{ zewqrz2><7n@c%8@|B~DHcT4uW)+%)&NLD^K^y7HAx(masxQ0*N>x*yNOj}+bCVWBRJ}w^` zR1YFq&nXG?0*e*lT7hc#1A5w#u)ti^2`AK@_^j0k9{+=3C3ymBYQ0|OM|fu?oe##s zbhu9V4g|uQ%r`fSDz7Z2yekCnk2OEBjgZPVL=9%IyXX1B`?&u@la|nP#jYJJSy*PZ zd;+w8Du3Bg^*CDZg(aszjwCpeZJ>n$4Yjd|bkr#vYTFK;dt9!)7>%mh$pm}(rr4hd z-hq__Hsg3|y>D@H_1M*i%_YpKpik}+ z&1HS3R27{=qQOOs1W1|&#F=WY+FIN)i2Hbl)2KP4YIIrsN_#EBM2lY?qj>mE{sgm0 z)}o9SHL8RkmZ+?(E||}0k#O~KqN-$91%ppv+w!MT12-N^^(ksYN4uK*hX#Ck)O?QS z`0JulXxs$>A)I(VrS`8wjS0&goh{=ATnaMKhQEp!JU9?W>3?5dOk3woDAeh~su{>M zpc^6Nl98L@m+fklMQGb#ZOwq~c{3`|B6a|VMc%>?fE^OkzTa}{j%|=Av7396RZ?JV z#WFZ%UM4OgZW^u4&HIkk1ByG>%V}m*Vn-(+4BX$%%O$WU@5V)ai5L0~!-iNU&+@1r zQ5ZeD6%@7lRA-_5X!mid1$nJ7ra1H%%k6pFjx*m%(^t=OBOCZoC;y%fY%v~Qnu)M8 zbnbDEYGDI6)<+X}Bh+!PGH&toWPrl6`y8@r%c>)y_C9&0u z7<-j;*j{wgvIwNA1}*uuIwT~gKU!^T+l4MUq(kSb%4azjZavKOE{|mYByW*kU3PBe zRZ-zQq&&)1%!z$aeMw46SsY>K;|IJ;v$tPJp?I#4gNzX$&laaJ(XyoP+E&QY96$ax zCCi!4$=d<~@mVAAR@2Mf)QN``;a`L0heGz*u{|OgZ{; zKx;ZX^7?KSMRpA_!5#|dU7>Z9zj^DUiRp1Y``elNZ|*Ot0=NBpG0A(~;u5)$Pd{a@Xs7lw4*-BFxhKMTi#urx%5MXXxcJG?`T zN|I~u)H@B|9H?QYET4SLcyYo7l)*&mHq35%=q9Z&VFfHwxomK&e4X(I|Miv|n#Ll^ zU!3E>w(<~`IhCq%umY+z!yKI8-vi7;%Cny^bRLw}Fq*|92~j_x6IGhgE2NEF5fOQ5 zGqC4T5o5xPMq<8-Vjn+u*yfODqJ|+ksaRQuB2kKSUNHtMHvX}g`0t)yfdn8u{tbXc zr>MwDP8KBvhD}QNSLB(Bbv|!f{R5OzPOI7wa|4W@YCIeCF;D7c%bO!SU+^E_x+aye)!%~|3Lc*%A|cS z;M}e*_asv>*tDQV*M2>3JrBwuwQqq7ak_(?L3-(hf&J1nfV+>FM%IRl$TCbF)TG4X zXW5kvb3%_ScI1K5Obwhb(4n5tWRCmXVoh`cIqu0|$+#4Zbx*rcI+$bW;HX~7y-An_ zX>S6qUnix)pc9N@{u=w0d98I3?(nU7)QFs4Em2#~NM}8Jq9IpFQ#W#VD<`R!VS`+~rUph|VR}%{ccn41pk(Yhv-rHZb zwl3H$LzRjZ@yVf+Kkh@Z*qZEI4~4cXHHOi6>8e)PP^S`$m*+ydMQ5{U5^3@1tA12% zFa*GF6q84jY$VEAG30oy-c($Efi!;~Enry(&p;g(Bw zonwYf`%52mL_5A!{$SN)R2N#Q6>6nM*N~TlAV)GOEDp8JpUYX2>F=RBQasM3f7SoZ z99Y5R=S|9#j5_f5~pJIh=o~IT;x}Zf<<2h z560(ZaL8PzCKsA5u91TPu3gx$a2LgH#ArV3t)DiX2UJILfVbD3m`f`Cj%brm*RA~= zf46jgo$@p-*J~Cz(2%NHpZfV0EtoFlQ+v@PTYxZ{QKiHylt;B1)_f5KN^*YxPL2yo zaWB!0Cl;m=oSci{eU{L+MU+QA`Qgi47z@h|*in&2B?aXwWAdEfLGzp!30ge+d&^Nf zOZ%~1hlyY#-AE$M;uk85tg%f)jwsV31iCJmGVfi}VbUxiq8V7CPzXPFGTgDHi6Sg0 zB#-Eh5p7mlR!xg_nTMK?oELc}dZ&7?)wZKGaxOf$lW zFoW|_?b;s)Xa_TxXC$O&Gsq=If=Q-zdy0LQ$HCT(BxBb7%97M{FFeR7h89^M{_&JF z|19(LHg{wnk*rg~cL4S=JKJwVJbksMLw98*S>9>da8m5xpXd>0qbKR#fsYsUG|x7R~5(hTsrAmn_?ZVWSD zCw$gKxAMDY8V8rjVOjtJmPs%kt6Zyr!VAx+Y-SLI4tqk21br>Ggl_bFmwLdP{accLm!d&d<~n_ElLs46Ud z^6=6F8sau23H1o&)Evvg2l`N($M^RFanac7pN$=GMhMox-h7DF3?DTm?$nFu8NiMd z%3>BKF%fFeoUQJ5lWYZY)r_Plfs);t5yp+&XRppod@h7}Zg!Zd9A)(VOBvaVBh@!+ z`M2S!s_N|;`Z|E9*tDYY)%whEGEE@rq^K_xJl(HtntN{6KBY!ZcwSy*)h1dFpLjt2 zu*9X+SeVsM%>MGh7zi>{yIHXcFVHrJ=%J32~biznK2m|1H8yFFE`ss_sFhXN^M#7pI9Zw=M23eu*8(NlhI z(x?iOR`LYN206fS%sh@EsM#|+=x&N)xb9e9;Nn>L@LNfFRB0-nsnp@vE7bmaAUs zkcY%6c#aP0>Q7jV-$^G=8k!-YIaAn6P913AkTpfA2Mr9hoEv+*3=U`Yn015+FG>rD zD3WznO8Fewzn^NCx7j#y3V&NR^PCJ(TA2kdrXVJ^XsZhdpR_Y`>75HuX+?OR%G4BG zcSYZQL|DFK#&(}vUrs5YV4`iP|`-<+1iGLNQZ3XqFHL&}dh0BINzG9Y1vr!C>2Je|U zE^0UKQbeGK9HFTYu&276S04n1l+Qp$ta~7-e=u`yXvrzLujRu^SK%8=!H%ec7`+q z?6Kv5&{=t-Uk*v~Q~!}ej%MqJBlPsAeBnY)1j-eMvQ{x3G@f!%U(4FA0n_B95u>%v z;dVpTSzd%%IIFEL(S898_6UpRxV%AWLe8QAf!d`Y9uU_vJit&!Guhx8L7LB!f^xkd zfBvd&xrQ+jvtN6dj+sRw0uWGdCqSNUYF#XXwQljpU1Iwd$3CC)~kL@_S>1!_M z5@IeKDJ@(KJPwt86ka2=JCZ`SX4)>QKCHydcm@JcQIMg{K$?W|UM@Gy<}^ zIsgulgh<-qjP&79;NxD6TnFMsNT(&N*jMST<`hTQBn`_^S<+6Ek{CS>_aNZ`Ns+mC zvMwTh{lmQLEW;J~>dFHuqLOkw&drJ>P}02Nb##=L=$fCvlHbrJe|-FR-{Sra%;Y!s zL}0VeSESAschSw~*rvbyct7AlEuM3BtX_nPCVoD~vZBG(ZatBW(H-v$HE>OjBrNm- z>E9-_ZlLI?)n}*=;A1)P?v@BrXl~FO8uLh%!ml4ru(Rin-cD8d&_iV}Bqh{H{{G$4bqT zv}k+P6{7+q})a{`92%wT?YgR#(J?!a1F14}KYmp#yL3 zhXNXhP_5>#Fj3Vt`f7nWierDQ2_nbPxpaX5lPbhc*peOJuHiUDQk*IFm(c7xSUNKP_k{w^wk_I$@&*`Z;46SU@~&WniSNjQ1vv==}4 zFxNU9Dd7^hu4<6H{V>HRMAcr$v*RG1gVfnZg^*A$D{ehC!cS`>GdFm6_r>h$r}on6 z1?SYQ#zIy_H<=YQ!@9St?+fAjFS>T#PBJ0xOetcsSQf=|mi*$hZ9!(!qd-X{0yGM%g70#dE8rbBjgwiv!EHG&mhz20Vw9GZ0WMELJ zC~e!9Vp_^hcCU&=PL~$QsY77p`Nce&7Ei`UeIH!3t@2y+?|uXFM1ypXyxTl*vfCs2 zr`XQP%PLw09EabBxL5TUTIptM2hFaDt=1RYQE=^$YCDZ7d$|!X<1vJe&xEVY$Ho_G zkWMks)_HiyYr{kfp1`;(6zmyv2c2fegfw;`_0x`za5}0VRY<#)&9J&KC7+Z{SQfx{ ztECBAb-}FRgAZRrt=GKeQ>`XJ^v~4>>F)8D;GICm*|ApQ77(pB$G6`^8plmJ7ZWH? zp(cJlkjKWQc^U`mSc`+NgY+t9pD`2FvE6N>Dy)XQzF#G3pB8n{W*jY5iMao^2g~OP zLR3@{rG-sWtO@1Maf#$E`woacbPloEYODBsQ{!Buc>HVwpLos6|DWyD|9$eO(2$p4 z(9Xl2)%&;zRav?p@cJUe`!kc{ZgE!G^G=s4WuOSx>X}S}x$~t+ zvwx8Qw;XSdMim5&y<)9Ts~nu%NK_P;$D!quO``I9+ICBtW}U~5Cg!qhU4N=*r=Um$ z)W!~xhdjTYRJn@vx}eCpB&e0~i7xpfI*b(ltr8zzbKSZ5(o}7THaH9%XaTke&UTUl%%7;!h|i3*MJ@N(mNv*+8~S`K9SVLyuc(d{K$4&EXYL=A|TCs`Qx=$&f8 zA)h))@I(9Yh56oH zgc&sUGRHvo{g96`b+VS_BfIJIg#PtADV&@n{jTV>0ToBYm^wud!0*(ajw;LbpXD!>+P21K{Y@TFh8w!j;;Q(z7_^ z%t@~Ye5&+=Nl-hu-vT55Jh`G9^L(IZI2(^tlOpR z(4TvXv28Y6;aEk(A-)mCY593C;u542Nz%f^D;=qA{AYT?;yZ!X9=hlBGkX&S}<1*lXXGO#%%X3E#i+u($R_UBVh;K>2`+X8xo z`Sh*wc*|`=SY#;o-eOoM_?Ca0mL<=+zfd!gS{tJ8cG$9M5wr>Q;_nTfigyCUMOA0s z9~{bk+;T4)jJvF|H_J+7ZoX0S^eC7>+J zWmsGT&EYFGU4VLEJB>9iGFF%B$8%3oJ2(t|{2#yvU*F#{$q&)m;WF1D?}Yb-Flv9G zc#>u3>dFEBl7Mi*K>#D{S_0Q^ZKO6d>*;7ntmkCqWkr?pmg5s~J=3a#a8umpmUo3G zW9j1h--EwXw@X}z>zdRt-bqhs*u^d^%7Uvr+pJlj<|&h!4}*y0v<)dh2-4IeQhY6{ zY+R zeS%3+ak=^CW(jcHvuo$~ElbtUU-G9wk0oZJRYz4*RA+KQCqXFebW+UPRLKsp(A*p}Yv;W;3^;T}BQV1HF5bC=dkB zLK^GXj6=;qt#l3<74^fj&B#%Cawa@W1|RdlwOjjhMtF=|yU;OuZnENu=X&as&N?jW zBx!58D|sV*kq4HO(1CRMUOcnOIfA6o+puX0@G2sw|K-i_4&K8<=b?3W9}C3Lb^%6` z$)JlQA*bje-Y3clLzfknu`oWNYQYRzqq6BIu>58yn7zJrur(EMtH}u_-2e0~00uB9 zyZ)4QolTj9DOpAKg4`nszO{Em@}=Cz<8@oz4EzGyV6wz~yB2e^hwz(E(4x2!=G@O_ zdl<@I$_ep2cyH@EmRRvo1WCkR#SiP5QcP{VE?_nPK>|-Ew^wx1^!_B?+m^oK!54V* zp|7+HdbnGy`41C(zbqsTL1z`?cs?xXAl|Sco?gu>{JWE^p zeqH6|%M{+P>>U$;{kSSZ(q9LTeD!H#apq(3>Kzb~HLn^N>I8uw*l`hCjK-9=W;7Wt zVnEK$%p4zoJ8^PUGUqvKKZwt#m5()z-@(IHHYfo(e`cS;R=e-ZymMCCe%|M@V@4}~ z+SGBN9u>S$ZgStzs*m2I$Z^?|C8&IaCenA{DY>LSPgIG&y-(Q7{)&cfIzT3kp4&k5>weMV`|OatnTaLc0zg9hsIN^bPe?@NQYD1FYU99PfCLZ3gad zas)&zS>&|tO%V}3+vK~Q64EDkYUA-F)zWjRX8PbxvE8C;`#u9$pbq{O-%^`Dh6);1?zdCwvkuds6aFgWu*tWrm!)zIw zk=jlmS7FLW@@|Wu3Kg~P8a~;tgBS^pIM~bs5w>R22nyHt1UCUchY|6|=TI)ogngH) zX%dUPJN6Yw*6{XTT= z{v4&sdS93HttY+iup$0zRSszUG-f4&&Q<;L_XmXF=P1pr{Wac`|E%}Nb5cxr)cXiC zD3~9BhqbGOJTU}+8j%;GO~H~P z*RGYn^UAG6@LP6QSAi^KzgdAjFrZqSj#f7))bBTHtpAe5!2cmqU~#RwqHlbbl&Zek zxdq&@)qz&8H{Y_JmR@u#BEADQ->IeRkH@gci$%3&qHB*l{6?V^)}QDG4r4_Y$pqxE6-K z6UQS;i}to(zvs?8W>~*KJ#nDQ9A}DjwR8*fxrF++Im)iAgg3D&I)>@FsRc#~u?Y?k z@O~XTqCdRRw`E^VeMhg5n4k1+*J4IB*G$})%Jb(fXBqd~X;!`lD18wgfN#O8t^nCj z1;~lt=?X-XAZp68CADo1mfn>I_+>B#_(LWhG%1)je(^pS?VNuIY-$wQt0Fv+-S$n5 zq3U8D{iZ@!KLT}tV1>PV@X0}r3WZZv_dK!ImQR?1XrTol!rU()Pn@XFYxS9rtQE$h z$5?Dx6Je343?K-q- zhF!*;^o8e(fWXqL>6hwvsu5^=kKRItK+sp$T%oNmPSi9RpC+~$P;kbaa$7{Ws7~w2 zqC)2$EE0?LnB3l>*~AjDPVk$b*XG(GYtTVB*8mfeptKQX8(IS_L@9y9@-^m^JjNk{ zE?>hqmF2QIW^m^*O?)@j>*797u!T83+Q$7wX6|B9Y9?pjIe(!V0aorg9zE6XzbG069G-1-`7d7(p+d2@BbUA$YQ{Oc=i&IqmIkm?&64fZ*4P)ENv7`g#T6!PoT=IM8B569>cWJ+TZr^+} z{Y4OdQ$0B?CN3-{cJIt(b@n^p2Q~Hc{M$l--d4Nk^#;e7sRpTicmv_uVq(v8L$Ekj z0s;v-a6%$ly}C;9hboHmqrb{@CQD<5zNTbKIRRNSdyo3*IwzB+H&Jx*yDz9&WPQ>q zIhR-K9ko8%(>9x^{a{%fB7Ea4fic?-hnFwg_2Ves)_vhV$i|v~BDRFn%I<;G5kq)= zq+=th6{vVCSmQuZx5r-H1LG~jaC3NtUJ_)WQF{1}uabf2YO-Q`vPzstQA0#pT2HQn zKFc?%Nrzx^paot(Eo}!m>loma;K5TD6Mvz3^6`+O_FRr~G}e;YL-9OP?FuyeW1P&{pHi~m3+NRX?laT5c-iqI`$D}Adu}zWL zGq>HF)D@*p&nu|EG*)<-n-w6r!K}11*IInL$JLzT5&6hP76Dt(RgRwr-l6B)%gju1XTB^crE1qOf2mnW4 zpIWP;_#zT1wL5S~{ew!>_y;=C`sP2NZIk6x>= zD%yUQ6nCy$tMJ%9aowVdNqw%2u{eFY3Ebdn)17bHB|%lry^b2UmX1{$6nfB{&uA~> zE{UaYDB>0ppkuV-vnn%oZ{txvxc3Df?r?bOzW#OyN8?4F4ikf+<*sE+01EXa2-i7D zitA2}lVq8tfH_xd0lZW2{*(>$$kB2GKqT(rpY+zC#j{cfw&>xhGv7g>c~FOv64 zizan>>UOb_8(@O;6FT4tWeo?p=(IlN z5MG}LmQNkop_vKq+ipJkXm6kkA5b;#ZRrH<+n7OUR04eO^SUj6`&4Hi971#p#ii15 z@|IJ-x6h8yp7wYjgJu9si-k@gR*P*!NwT-|cG(h+?0Apxw08UbJDE5>t~x1W%HBPA zJ#P*};z-EkY}+65--QaRZ%|sa!@mRKkLS8x+`tPAp_4w}+;>-=`e>`Y+4`)#ef(y9 z@ROMM9zyI#{NP`R6>Pqi4Hp#A5)pR)q3!U_W8sHSXXA&q=PwlusA9OlV)~TqPQFO* z%!dYCFnc)0S-alDJ$`sT?SBa~L1-n4?1$yO4(DzqW(S%37$|85gZ2LYPq0-l6*a)>e)3n zx%S%H*xW_xmBiVM%{HVIU#`rq@qJu9Xy4KJT`)zKdu!J~QN!!N1^(H);rQs-WsaVA z8X2>W6S9kG%?#zP&q_Q#Ey*cpK&q~2eKByqaIf8sN!syAMCzISu8K0)b8$H~G&1Lz zj9{KCsrM4lJMHXs5$aiqoHp7w|HsW({@Dr+S9p}k>7S-OeznITx$h9E>+(aj1u3iY z%krPi;q6^JuPeO_OJSi6O^_KcCGA~mJ&G1;hJ~7`9->)tnI)$Zo|9N{1G$hMe59K_*4G7{BP&zVz zmU#YIw+#K`uFp8vZZR*dBg$_W({s-%GL|Q^dOuY&wmvo@)*gqTLX#8}Jq(EmKkKB4mPP{XN@%wx zxd_KcOpU{O^vK!q_uCgZ^Vk(|k>P5tPd|KP|MP_1wI>82p2oXiqD`g2Jak^C$fVcd za?odj>|+uXIdLgj5=gSypU?WUAJ6*MZ_j!gSJdy%I??}DIh!A$K(RkQ^nJS9GGZ7J zAi?d*8|MU{im!Vm!pOo#dSoFAeYVb(JW}(e`0H?yB}9eid#^C;KG7|Co?*1<4d!CiYTkaQ(2t z{b!-epO*6Qd2i3D?xxVW{WJRtA}%9*Yr+4|{2#aE|MJdHb#rWEdb~VXePDDdoxt=2 zY*adkbe>qfj(iQ^=Z8jy;ka7V2fOXEEw^{v$UeV&E1F0hDY-CED$^-FR`41#zG_@- z2_HFP5_D$%;edVc`+$}^NZe8Q(%aqFqjW>g7gKUrc6g}j6Q~-LM0ExC&AhS*F_0S1ZQ~6kSaeV)0pLveD zkgAwS-K!df7@Mq9J!-V~Qs*6DCpr14oHhu;aMKO>BC&Ab&wDTmu^Y@~AZO|FBdS>; z<|U|9Yr#VG(VUmnbWhQCj|C3=0pk06klf!U^8Lr-+P>{~e8v{MG)#hvI;N()S!q_P z(4210-I`x13!<%N?KJ9k6D-x;1QQObU=%=Y2L?tY`l(4ifosHi9oc(}>r zcBrU<2RTmd}b*~1if=SP$EfbFO#e=7oAz) zjbwRY{R&j^bY7ogjPb!=U*CV32L7B7{@FK?eGgJ5vUa#Y1dyo80^l9uOrVH^kQCML~f=x^0cdGV2{;>gXhr^n!cCi z$`V$+eZHGuTAhfN4_EHaHt0~2hC}SY5vn^z(0eDK6CU}^Ll=x5nEJEd*{D{~CwK!7 zjJr;FU(H$Erd3-EaBtQ<2acPE^0c&XEpcqW1L5dZN%Rl(TA+@p_UG=*aye=xPcIML zCDoHwqTv|kmyrl#=?{XN)J}RnJwedc#Pn}sb|YZMMWfMkvMPk)WR64iWvVC-$1-t> z`q97mLzT|ys;YLFtvB)JfjH>FK1zSEC;bt3|GNnC|K}eM@R)e(&PHy7Yi8)V9jmOT zo&e(?TPH4)>(tSe*BsaC^GWH9YmT|XLm5F`27VkLU$UBZmM~j?D&q-Xx|R(Al^4ji+Ir#Md`$`mpC-NEYR0dY{m- zgkefKp}j5?qN_3cotttyPFJ?eEB(6B)C0OAsGu3)^+!n<2%s;c7Bip+;y z9WR2j4y37HYq$C4(WC%SMl%vw_2x#4>1@!`T+Zs3BAWpY`HLmIwM*r*4dg7?#?BC*gW`>Y>)f zHjTiAMI6*n1fJ1=so0d>4G`MgIC%0v%z*LFxaR-=Z&;0PnjeM^Vl*kg1J?V8+WMvk zH^_Vz6|X;5v3cu*yPX1LWM>*~+G6CD?xp5FvV}G$ttWW{T%=~a$zK<;u9a?OhYpJy zki>`QjUFx=$UDa3D=Az^L38sht=UDH1Goe(Y+*@2L~2Ss?ne}5t9sL{W@iQ{sy>a; z{f|hOMZ;?TVzN+XH#qw0Fv32(OAsn48KZ?5(+***DH_m$&|;b4Jbm}+HG8~b-BW^E zd2SpovwC&DUgr%GnpR6oLu!XapLcH|y~+11s;$W0>g->(%aqTS#9g|`fKvulM(+$b zyqQYQaNfaTrHMngT6ATjE!2RqN1ITAuDHx2K8EP~xc71b`F;4hs5(T=OAD5V`zJ53 z>3HX%OC!-j@)rm<03069v!nemc8a!_yo;G=Ysr#J*F8msHLQzg)ypzFG5KxB+CB{A zYKGmPLa(1?rPB#c|3cEmtgJd3A{SDoJy}`4y+(4*WsRSlfHIE*Mmswz_Kb*?It)2 zeFxaeo{4X#SEa{izjWuP_al-`AK=@tw{&-%sgRgq(8Qx8SjMmNDbQcIDWGUoa?DS~ ztL-1s+2X!un3?Y+%XLh?%0=$uJa??lpQQOQ$`l0T)|NHg7{MJ1n8yhI*izecga6V0 zNhLfx6mzRUg5W#Ar}s_X;5BAY=pkCrKOk2BSBENA!jg4%?ejiKEmTHxQ*$F^E;jCM z$MpCQ!ENaNM$<8~`{(+Xx{3`tl0@JVv-~hmT-<(sJb!Y<)-4VW5k0I>U zJ<017bjn5IO;rPNV??b5L$|q{+ESVTUe|@{)qCd)j*LqJnUB#sa}ugPFR!16dV3Yr zUVH~&G*QML<(;!4j*KNw=wgLvXBxtCZ(1+X2tHaMaf4s|g_t%}4)mthyCSy@=-Sl} zM6I}8K88%`Nz+&GgEG5+2gOeT5zQ2%syB`U;s61pwTsVHMw 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/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/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/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_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..7aca804c12890 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 @@ -62,3 +62,12 @@ export const integrationsFieldMap: FieldMap = { 'data_streams.index_pattern': { type: 'keyword', required: true }, elser_embeddings: { type: 'semantic_text', required: true }, }; + +export const prebuiltRulesFieldMap: FieldMap = { + '@timestamp': { type: 'date', required: true }, + name: { type: 'text', required: true }, + description: { type: 'text', required: true }, + elser_embedding: { type: 'semantic_text', required: true }, + rule_id: { type: 'keyword', required: true }, + mitre_attack_ids: { type: 'keyword', array: true, required: false }, +}; 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/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/index.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/index.ts new file mode 100644 index 0000000000000..84bf247965a26 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/index.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { 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[]; +} From d0fde5f8e12709c08b5486359b98699637dba80d Mon Sep 17 00:00:00 2001 From: Clint Andrew Hall Date: Mon, 9 Dec 2024 06:55:14 -0600 Subject: [PATCH 019/103] [React@18] Env variable to use React@18 (#193113) Part of https://github.com/elastic/kibana-team/issues/1016#issuecomment-2454845292 Our plan for React@18 packages upgrade is to let kibana contributors now that we're going to bump React packages couple weeks in advance. In addtion to the final PR with green tests and Kibana deployed, we want to give simple instructions on how to run React@18 locally easilly: This PR allows to quickly toggle between version of React locally without having to do anything beyond an environment variable. `REACT_18=true yarn bootstrap` will alias `react` and `react-dom` to v18 in the build. I check that this works as expected when starting from: - local dev server `yarn start` - local ftr `node scripts/functional_tests_server.js` - local unit tests `REACT_18=true yarn test:jest ...` Please note: - **This PR doesn't implement this switch for dist build, as I don't think we need this for our purposes.** - The plan is that we remove this switch soon after we merge React@18 upgrade to main. In addition to the switch this PR mutes a very noisy warning from React@18 about legacy root `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.`. This warning is expected as after we upgrade to React@18 packages (Phase 1) we will be in the process of migrating to the new createRoot API (Phase 2). However, it is very noisy and we want to mute it for now. Co-authored-by: Anton Dosov --- .github/CODEOWNERS | 1 + .../commands/bootstrap/bootstrap_command.mjs | 3 +- kbn_pm/src/lib/bazel.mjs | 13 +++++--- package.json | 3 ++ .../src/core_system.ts | 11 +++++++ .../core-root-browser-internal/tsconfig.json | 1 + .../kbn-optimizer/src/common/worker_config.ts | 7 +++++ .../src/optimizer/optimizer_cache_key.test.ts | 1 + .../src/optimizer/optimizer_config.test.ts | 11 +++++++ .../src/optimizer/optimizer_config.ts | 10 ++++-- .../src/worker/webpack.config.ts | 4 +++ .../README.md | 5 +++ .../index.ts | 31 +++++++++++++++++++ .../jest.config.js | 14 +++++++++ .../kibana.jsonc | 5 +++ .../package.json | 6 ++++ .../tsconfig.json | 17 ++++++++++ packages/kbn-test/src/jest/resolver.js | 14 +++++++++ .../src/jest/setup/react_testing_library.js | 13 ++++++++ packages/kbn-test/tsconfig.json | 1 + packages/kbn-ui-shared-deps-npm/BUILD.bazel | 3 ++ .../kbn-ui-shared-deps-npm/webpack.config.js | 4 ++- packages/kbn-ui-shared-deps-src/BUILD.bazel | 1 + .../kbn-ui-shared-deps-src/webpack.config.js | 4 ++- tsconfig.base.json | 2 ++ yarn.lock | 22 ++++++++----- 26 files changed, 190 insertions(+), 17 deletions(-) create mode 100644 packages/kbn-react-mute-legacy-root-warning/README.md create mode 100644 packages/kbn-react-mute-legacy-root-warning/index.ts create mode 100644 packages/kbn-react-mute-legacy-root-warning/jest.config.js create mode 100644 packages/kbn-react-mute-legacy-root-warning/kibana.jsonc create mode 100644 packages/kbn-react-mute-legacy-root-warning/package.json create mode 100644 packages/kbn-react-mute-legacy-root-warning/tsconfig.json diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d75759814bad0..b947f8dfede4b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -435,6 +435,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 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/package.json b/package.json index 6654547617b12..7a93af2e2ac7a 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", 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/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-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..af4473869eb75 100644 --- a/packages/kbn-test/tsconfig.json +++ b/packages/kbn-test/tsconfig.json @@ -37,5 +37,6 @@ "@kbn/core-saved-objects-api-server", "@kbn/mock-idp-utils", "@kbn/code-owners", + "@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/tsconfig.base.json b/tsconfig.base.json index 2032eae1184e8..1c05a23678871 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -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"], diff --git a/yarn.lock b/yarn.lock index 54bd760a01637..703518b9f0afe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 "" @@ -27358,6 +27362,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 +27413,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 +27907,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" From 7f1d43668106e662dc06bda67d33266a0e35da62 Mon Sep 17 00:00:00 2001 From: "Eyo O. Eyo" <7893459+eokoneyo@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:15:29 +0100 Subject: [PATCH 020/103] [React18] Migrate test suites to account for testing library upgrades obs-ux-management-team (#201164) This PR migrates test suites that use `renderHook` from the library `@testing-library/react-hooks` to adopt the equivalent and replacement of `renderHook` from the export that is now available from `@testing-library/react`. This work is required for the planned migration to react18. ## Context In this PR, usages of `waitForNextUpdate` that previously could have been destructured from `renderHook` are now been replaced with `waitFor` exported from `@testing-library/react`, furthermore `waitFor` that would also have been destructured from the same renderHook result is now been replaced with `waitFor` from the export of `@testing-library/react`. ***Why is `waitFor` a sufficient enough replacement for `waitForNextUpdate`, and better for testing values subject to async computations?*** WaitFor will retry the provided callback if an error is returned, till the configured timeout elapses. By default the retry interval is `50ms` with a timeout value of `1000ms` that effectively translates to at least 20 retries for assertions placed within waitFor. See https://testing-library.com/docs/dom-testing-library/api-async/#waitfor for more information. This however means that for person's writing tests, said person has to be explicit about expectations that describe the internal state of the hook being tested. This implies checking for instance when a react query hook is being rendered, there's an assertion that said hook isn't loading anymore. In this PR you'd notice that this pattern has been adopted, with most existing assertions following an invocation of `waitForNextUpdate` being placed within a `waitFor` invocation. In some cases the replacement is simply a `waitFor(() => new Promise((resolve) => resolve(null)))` (many thanks to @kapral18, for point out exactly why this works), where this suffices the assertions that follow aren't placed within a waitFor so this PR doesn't get larger than it needs to be. It's also worth pointing out this PR might also contain changes to test and application code to improve said existing test. ### What to do next? 1. Review the changes in this PR. 2. If you think the changes are correct, approve the PR. ## Any questions? If you have any questions or need help with this PR, please leave comments in this PR. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine --- .../src/hooks/use_alerts_history.test.tsx | 44 +- .../hooks/use_lens_attributes.test.tsx | 16 +- .../hooks/use_series_storage.test.tsx | 19 +- .../hooks/use_time_range.test.tsx | 11 +- .../has_data_context.test.tsx | 414 +++++++++--------- .../public/hooks/use_fetch_alert_data.test.ts | 51 +-- .../hooks/use_fetch_alert_detail.test.ts | 49 +-- .../public/hooks/use_fetch_bulk_cases.test.ts | 8 +- .../alerts/components/alert_actions.test.tsx | 3 +- .../slo_edit/hooks/use_show_sections.test.tsx | 2 +- .../use_recently_viewed_monitors.test.tsx | 21 +- .../use_monitor_status_data.test.ts | 14 +- .../monitor_filters/use_filters.test.tsx | 16 +- .../hooks/use_monitor_list.test.tsx | 14 +- .../use_get_data_stream_statuses.test.ts | 2 +- .../hooks/use_get_ilm_policies.test.ts | 6 +- .../hooks/use_location_monitors.test.tsx | 9 +- .../hooks/use_locations_api.test.tsx | 67 +-- .../use_step_waterfall_metrics.test.tsx | 2 +- .../waterfall/use_bar_charts.test.tsx | 2 +- .../waterfall_flyout/use_flyout.test.tsx | 2 +- .../hooks/use_absolute_date.test.ts | 2 +- .../hooks/use_composite_image.test.tsx | 25 +- .../hooks/use_location_name.test.tsx | 10 +- .../hooks/use_monitor_name.test.tsx | 18 +- .../use_monitors_sorted_by_status.test.tsx | 19 +- .../hooks/use_synthetics_priviliges.test.tsx | 4 +- .../synthetics/utils/testing/rtl_helpers.tsx | 2 +- .../public/hooks/use_date_format.test.tsx | 2 +- .../use_step_waterfall_metrics.test.tsx | 2 +- .../components/use_bar_charts.test.tsx | 2 +- .../waterfall/components/use_flyout.test.tsx | 2 +- .../overview/query_bar/use_query_bar.test.tsx | 3 +- .../check_steps/use_expanded_row.test.tsx | 7 +- .../hooks/use_composite_image.test.tsx | 23 +- .../hooks/use_filter_update.test.ts | 3 +- .../hooks/use_overview_filter_check.test.tsx | 2 +- 37 files changed, 437 insertions(+), 461 deletions(-) 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/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/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/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'; From 1f09537e15983bb384b461c51a0ad501dc77ff52 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Mon, 9 Dec 2024 14:22:07 +0100 Subject: [PATCH 021/103] [UA] Remove `delete` from `.tasks` permission check (#203379) ## Summary * Removes `delete` permission check on `.tasks` * Task doc deletion best effort * Creates a `warning` level log if deletion from `.tasks` fails like: ``` [2024-12-09T10:50:28.398+01:00][WARN ][plugins.upgradeAssistant.reindex_worker] ResponseError: security_exception log.ts:66 Root causes: log.ts:66 security_exception: action [indices:data/write/bulk[s]] is unauthorized for API key id [___] of user [elastic] on restricted indices [.tasks], this action is granted by the index privileges [create_doc,create,delete,index,write,all] ``` ## How to test 1. Follow [these steps](https://github.com/elastic/kibana-team/issues/1249#issuecomment-2514462816), but instead of creating a data stream create an index in 7.x 2. Start ES on v8.x 3. Checkout Kibana `8.x` locally and apply [the diff](https://patch-diff.githubusercontent.com/raw/elastic/kibana/pull/203379.diff) from this branch 4. Start Kibana 5. Log in as `elastic` or some other admin/superuser 6. Go to UA and reindex the index you created ## Resources ### Outdated 7.x guidance https://www.elastic.co/guide/en/elasticsearch/reference/7.17/docs-update-by-query.html#docs-update-by-query-task-api > When you are done with a task, you should delete the task document so Elasticsearch can reclaim the space. --- .../lib/reindexing/reindex_service.test.ts | 57 ++++++++++++++++--- .../server/lib/reindexing/reindex_service.ts | 54 ++++++++++-------- 2 files changed, 78 insertions(+), 33 deletions(-) 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; From d51601d346a3ec9ec4abd61ff338e6f62967a386 Mon Sep 17 00:00:00 2001 From: Joe McElroy Date: Mon, 9 Dec 2024 13:25:09 +0000 Subject: [PATCH 022/103] [OE] [Connectors] Enabling connectors FTRs (#203192) ## Summary - Fixes issue where deletes all connectors before starting - fixes issue where the first page is index_management - fixes devconsole tests - fixes where the creating the connector and searching for it may not appear (as hasn't propagated) made this test retry ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss. Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging. - [ ] [See some risk examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) - [ ] ... --------- Co-authored-by: Elastic Machine --- .../connection_details_panel.tsx | 6 ++++- .../svl_search_connectors_page.ts | 22 +++++++++++++--- .../search/connectors/connectors_overview.ts | 26 ++++++++++++------- 3 files changed, 39 insertions(+), 15 deletions(-) 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/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..8279c89f05d03 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'); @@ -60,8 +71,8 @@ export function SvlSearchConnectorsPageProvider({ getService }: FtrProviderConte 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..7b014d6ad3e7a 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,32 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { ]); const testSubjects = getService('testSubjects'); const browser = getService('browser'); - // FLAKY: https://github.com/elastic/kibana/issues/197019 - describe.skip('connectors', function () { + + describe('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); }); + + it('Connector app is loaded and has no connectors', async () => { + await pageObjects.common.navigateToApp('serverlessConnectors'); + await pageObjects.svlSearchConnectorsPage.connectorOverviewPage.expectConnectorOverviewPageComponentsToExist(); + }); + describe('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 () => { From 61dd1f57acd4ebd855bdee2ef0e283e9cbd01cf1 Mon Sep 17 00:00:00 2001 From: Larry Gregory Date: Mon, 9 Dec 2024 08:41:38 -0500 Subject: [PATCH 023/103] Dependency ownership for Kibana Presentation team, part 1 (#203269) ## Summary This updates our `renovate.json` configuration to mark the Kibana Presentation team as owners of their set of dependencies. --- renovate.json | 207 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 207 insertions(+) diff --git a/renovate.json b/renovate.json index 69a390b5b1127..bf77e27809e00 100644 --- a/renovate.json +++ b/renovate.json @@ -1512,6 +1512,213 @@ "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": "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": [ From cafab5eb64eae3622ac2a771fb77ad1d0e4b7d20 Mon Sep 17 00:00:00 2001 From: Tim Sullivan Date: Mon, 9 Dec 2024 06:54:04 -0700 Subject: [PATCH 024/103] [Reporting] Log the wait time for the stream's pending callbacks (#203156) ## Summary This PR adds logging for the final step of report execution: waiting for the writable stream's pending callbacks. * **Debug**: log the beginning of the wait * **Info**: log the end of the wait Update: this also puts the report job ID in the context of the logger utility used for running the task. image ### Checklist none ### Identify risks none --- .../server/lib/tasks/execute_report.ts | 40 ++++++++++--------- 1 file changed, 22 insertions(+), 18 deletions(-) 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(); }, From 1d9ca1ebf66f4cb8a367de8a8854d40dd4789ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Mon, 9 Dec 2024 15:00:05 +0100 Subject: [PATCH 025/103] [Obs AI Assistant] Fix null pointer in function definition (#203344) Closes #201713 --- .../kbn-ai-assistant/src/hooks/use_json_editor_model.ts | 2 +- .../src/utils/create_initialized_object.ts | 2 +- .../observability_ai_assistant/common/functions/types.ts | 4 +++- .../server/functions/query/index.ts | 9 +++++---- 4 files changed, 10 insertions(+), 7 deletions(-) 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/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_app/server/functions/query/index.ts b/x-pack/plugins/observability_solution/observability_ai_assistant_app/server/functions/query/index.ts index cefec5ae66758..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 { @@ -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', }); From ad4e8efd0f07f8f682709efce271493a4872e331 Mon Sep 17 00:00:00 2001 From: David Olaru Date: Mon, 9 Dec 2024 14:34:25 +0000 Subject: [PATCH 026/103] [kbn-scout] Custom event-oriented test reporter & persistence (#202906) --- .github/CODEOWNERS | 2 + package.json | 2 + packages/kbn-scout-info/README.md | 6 + .../kbn-scout-info/index.ts | 4 +- packages/kbn-scout-info/jest.config.js | 14 + packages/kbn-scout-info/kibana.jsonc | 6 + packages/kbn-scout-info/package.json | 6 + packages/kbn-scout-info/src/paths.ts | 19 ++ packages/kbn-scout-info/src/reporting.ts | 12 + packages/kbn-scout-info/tsconfig.json | 19 ++ packages/kbn-scout-reporting/README.md | 5 + packages/kbn-scout-reporting/index.ts | 12 + packages/kbn-scout-reporting/jest.config.js | 14 + packages/kbn-scout-reporting/kibana.jsonc | 6 + packages/kbn-scout-reporting/package.json | 6 + .../kbn-scout-reporting/src/cli/common.ts | 37 +++ packages/kbn-scout-reporting/src/cli/index.ts | 11 + .../src/cli/initialize_report_datastream.ts | 53 ++++ .../src/cli/upload_events.ts | 61 ++++ .../src/datasources/buildkite.ts | 87 +++++ .../src/datasources/host.ts | 41 +++ .../src/datasources/index.ts | 19 ++ .../src/reporting/index.ts | 30 ++ .../src/reporting/playwright.ts | 300 ++++++++++++++++++ .../src/reporting/report/event.ts | 108 +++++++ .../src/reporting/report/index.ts | 103 ++++++ .../report/persistence/component_templates.ts | 92 ++++++ .../src/reporting/report/persistence/index.ts | 143 +++++++++ .../report/persistence/index_templates.ts | 27 ++ .../reporting/report/persistence/mappings.ts | 172 ++++++++++ packages/kbn-scout-reporting/tsconfig.json | 24 ++ packages/kbn-scout/index.ts | 2 +- packages/kbn-scout/src/cli/index.ts | 14 +- packages/kbn-scout/src/cli/run_tests.ts | 40 +++ packages/kbn-scout/src/cli/run_tests_cli.ts | 39 --- .../{start_servers_cli.ts => start_server.ts} | 28 +- packages/kbn-scout/src/config/utils.ts | 11 +- .../kbn-scout/src/playwright/config/index.ts | 7 +- packages/kbn-scout/src/types/config.d.ts | 2 +- packages/kbn-scout/tsconfig.json | 2 + .../fake_mocha_types.ts | 14 + .../lib/config/schema.ts | 6 + .../lib/mocha/reporter/reporter.js | 5 + .../lib/mocha/reporter/scout_ftr_reporter.ts | 203 ++++++++++++ packages/kbn-test/tsconfig.json | 2 + scripts/{scout_start_servers.js => scout.js} | 4 +- tsconfig.base.json | 4 + yarn.lock | 8 + 48 files changed, 1761 insertions(+), 71 deletions(-) create mode 100644 packages/kbn-scout-info/README.md rename scripts/scout_test.js => packages/kbn-scout-info/index.ts (86%) create mode 100644 packages/kbn-scout-info/jest.config.js create mode 100644 packages/kbn-scout-info/kibana.jsonc create mode 100644 packages/kbn-scout-info/package.json create mode 100644 packages/kbn-scout-info/src/paths.ts create mode 100644 packages/kbn-scout-info/src/reporting.ts create mode 100644 packages/kbn-scout-info/tsconfig.json create mode 100644 packages/kbn-scout-reporting/README.md create mode 100644 packages/kbn-scout-reporting/index.ts create mode 100644 packages/kbn-scout-reporting/jest.config.js create mode 100644 packages/kbn-scout-reporting/kibana.jsonc create mode 100644 packages/kbn-scout-reporting/package.json create mode 100644 packages/kbn-scout-reporting/src/cli/common.ts create mode 100644 packages/kbn-scout-reporting/src/cli/index.ts create mode 100644 packages/kbn-scout-reporting/src/cli/initialize_report_datastream.ts create mode 100644 packages/kbn-scout-reporting/src/cli/upload_events.ts create mode 100644 packages/kbn-scout-reporting/src/datasources/buildkite.ts create mode 100644 packages/kbn-scout-reporting/src/datasources/host.ts create mode 100644 packages/kbn-scout-reporting/src/datasources/index.ts create mode 100644 packages/kbn-scout-reporting/src/reporting/index.ts create mode 100644 packages/kbn-scout-reporting/src/reporting/playwright.ts create mode 100644 packages/kbn-scout-reporting/src/reporting/report/event.ts create mode 100644 packages/kbn-scout-reporting/src/reporting/report/index.ts create mode 100644 packages/kbn-scout-reporting/src/reporting/report/persistence/component_templates.ts create mode 100644 packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts create mode 100644 packages/kbn-scout-reporting/src/reporting/report/persistence/index_templates.ts create mode 100644 packages/kbn-scout-reporting/src/reporting/report/persistence/mappings.ts create mode 100644 packages/kbn-scout-reporting/tsconfig.json create mode 100644 packages/kbn-scout/src/cli/run_tests.ts delete mode 100644 packages/kbn-scout/src/cli/run_tests_cli.ts rename packages/kbn-scout/src/cli/{start_servers_cli.ts => start_server.ts} (59%) create mode 100644 packages/kbn-test/src/functional_test_runner/lib/mocha/reporter/scout_ftr_reporter.ts rename scripts/{scout_start_servers.js => scout.js} (89%) mode change 100644 => 100755 diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b947f8dfede4b..b06cd9e04c219 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -465,6 +465,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 diff --git a/package.json b/package.json index 7a93af2e2ac7a..d628499e5bf22 100644 --- a/package.json +++ b/package.json @@ -1493,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/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_test.js b/packages/kbn-scout-info/index.ts similarity index 86% rename from scripts/scout_test.js rename to packages/kbn-scout-info/index.ts index 8b14ebd33da19..ff7948350e1ad 100644 --- a/scripts/scout_test.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').runTestsCli(); +export * from './src/paths'; +export * from './src/reporting'; diff --git a/packages/kbn-scout-info/jest.config.js b/packages/kbn-scout-info/jest.config.js new file mode 100644 index 0000000000000..6e70c1cc5996b --- /dev/null +++ b/packages/kbn-scout-info/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-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-scout-info/tsconfig.json b/packages/kbn-scout-info/tsconfig.json new file mode 100644 index 0000000000000..b7a5e0164b099 --- /dev/null +++ b/packages/kbn-scout-info/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@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/tsconfig.json b/packages/kbn-test/tsconfig.json index af4473869eb75..b4cd88e05db5a 100644 --- a/packages/kbn-test/tsconfig.json +++ b/packages/kbn-test/tsconfig.json @@ -37,6 +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/scripts/scout_start_servers.js b/scripts/scout.js old mode 100644 new mode 100755 similarity index 89% rename from scripts/scout_start_servers.js rename to scripts/scout.js index b93ec0e456454..dce9e52c870f2 --- a/scripts/scout_start_servers.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').startServersCli(); +void require('@kbn/scout').cli.run(); diff --git a/tsconfig.base.json b/tsconfig.base.json index 1c05a23678871..7d1f6ea696819 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1548,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"], diff --git a/yarn.lock b/yarn.lock index 703518b9f0afe..df4c2f65299f2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6908,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 "" From 55d5c7ab6bb56f90c5c5936f6bf537ef4c2632fd Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Mon, 9 Dec 2024 15:47:27 +0100 Subject: [PATCH 027/103] [UA] `kibana-core` ownership (#203410) ## Summary As Core will be driving a lot of the development for UA for 8->9 this PR makes `kibana-core` the temporary code owners for UA until we've completed the 9.0 release. --- .github/CODEOWNERS | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b06cd9e04c219..320b4eb868eb7 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2007,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 @@ -2033,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 @@ -2057,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 @@ -2090,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 From 6bf02e4c1317873281b74e9f3722cb2ee5f2cc60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Gonz=C3=A1lez?= Date: Mon, 9 Dec 2024 15:51:10 +0100 Subject: [PATCH 028/103] [ES3][Connectors]Using EuiComboBox with searchable capability as we do in ESS (#199464) ## Summary This PR swaps the `EuiSelectable` by the `EuiComboBox` component as we have in ESS. ### Context: This PR belongs to this initiative https://github.com/elastic/search-team/issues/8000 where we agreed on bring low hanging fruit artefacts from ESS to ES3 before being replace completly with the full new experience which will be later. Therefor we are not investing effort on make the code scalable and reusable at this point. ![CleanShot 2024-11-08 at 12 59 47](https://github.com/user-attachments/assets/a73884c2-7ea4-412c-a5de-386003733d0a) --------- Co-authored-by: Elastic Machine Co-authored-by: Navarone Feekery <13634519+navarone-feekery@users.noreply.github.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Rodney Norris --- .../serverless_search/common/i18n_string.ts | 8 + .../connectors/edit_service_type.tsx | 194 +++++++++++++++--- .../svl_search_connectors_page.ts | 4 +- 3 files changed, 174 insertions(+), 32 deletions(-) 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/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/test_serverless/functional/page_objects/svl_search_connectors_page.ts b/x-pack/test_serverless/functional/page_objects/svl_search_connectors_page.ts index 8279c89f05d03..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 @@ -64,9 +64,9 @@ 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}`); From 1f2a76a44bb6e339441e1ba10c861d5a2b7b9667 Mon Sep 17 00:00:00 2001 From: Pierre Gayvallet Date: Mon, 9 Dec 2024 16:09:29 +0100 Subject: [PATCH 029/103] GenAI FTR tests: switch to daily job (#203369) ## Summary Part of https://github.com/elastic/kibana-team/issues/1271 Follow-up of https://github.com/elastic/kibana/pull/198000 Fix https://github.com/elastic/kibana/issues/203205 Fix https://github.com/elastic/kibana/issues/203062 - Fix the problem with the Gemini token count events - Unskip the test suite - Remove the suite from the `on-merge` pipeline - Add a dedicated pipeline to run the tests daily --- .../kibana-gen-ai-daily.yml | 54 +++++++++++++++++++ .../locations.yml | 1 + .buildkite/pipelines/gen_ai_testing.yml | 48 +++++++++++++++++ .buildkite/pipelines/on_merge.yml | 22 -------- .../adapters/gemini/process_vertex_stream.ts | 5 +- .../inference/tests/index.ts | 3 +- 6 files changed, 107 insertions(+), 26 deletions(-) create mode 100644 .buildkite/pipeline-resource-definitions/kibana-gen-ai-daily.yml create mode 100644 .buildkite/pipelines/gen_ai_testing.yml 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/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/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); From a95a5a39b831280d2eedae79786ac1df53c62a82 Mon Sep 17 00:00:00 2001 From: Larry Gregory Date: Mon, 9 Dec 2024 10:42:08 -0500 Subject: [PATCH 030/103] Dependency ownership for Kibana Reporting/Response-Ops team, part 1 (#203441) ## Summary This updates our `renovate.json` configuration to mark the Response Ops team as owners of their set of dependencies. --- renovate.json | 92 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 87 insertions(+), 5 deletions(-) diff --git a/renovate.json b/renovate.json index bf77e27809e00..d36be57301abb 100644 --- a/renovate.json +++ b/renovate.json @@ -1691,6 +1691,34 @@ "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": [ @@ -2414,8 +2442,7 @@ "jsonwebtoken" ], "reviewers": [ - "team:response-ops", - "team:kibana-core" + "team:response-ops" ], "matchBaseBranches": [ "main" @@ -2488,7 +2515,8 @@ { "groupName": "AlertingEmails", "matchDepNames": [ - "nodemailer" + "nodemailer", + "@types/nodemailer" ], "reviewers": [ "team:response-ops" @@ -2498,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 @@ -2661,4 +2743,4 @@ "datasourceTemplate": "docker" } ] -} +} \ No newline at end of file From d2e6f20ab9f55e98036423953dc7671efa7b07cf Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Mon, 9 Dec 2024 16:25:56 +0000 Subject: [PATCH 031/103] skip flaky suite (#203462) --- .../test_suites/search/connectors/connectors_overview.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 7b014d6ad3e7a..31b52c3592626 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 @@ -35,7 +35,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await pageObjects.svlSearchConnectorsPage.connectorOverviewPage.expectConnectorOverviewPageComponentsToExist(); }); - describe('create and configure connector', () => { + // 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'); From 2d9bcbbc25aac8d100c199866586969e7f52171e Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Mon, 9 Dec 2024 16:27:58 +0000 Subject: [PATCH 032/103] skip flaky suite (#197304) --- .../create/cancel_creation_confirmation_modal.test.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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', From 58b8b47928288d87c7c9d28368e110e2f3bb423d Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 17:36:25 +0100 Subject: [PATCH 033/103] Sustainable Kibana Architecture: Move modules owned by `@elastic/ml-ui` (#202764) ## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > This PR has been auto-generated. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 4 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/aiops-plugin` | `x-pack/platform/plugins/shared/aiops` | | `@kbn/data-visualizer-plugin` | `x-pack/platform/plugins/private/data_visualizer` | | `@kbn/ml-plugin` | `x-pack/platform/plugins/shared/ml` | | `@kbn/transform-plugin` | `x-pack/platform/plugins/private/transform` | #### 42 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@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-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-rate-analysis` | `x-pack/platform/packages/shared/ml/aiops_log_rate_analysis` | | `@kbn/aiops-test-utils` | `x-pack/platform/packages/private/ml/aiops_test_utils` | | `@kbn/deeplinks-ml` | `src/platform/packages/shared/deeplinks/ml` | | `@kbn/default-nav-ml` | `src/platform/packages/private/default-nav/ml` | | `@kbn/inference_integration_flyout` | `x-pack/platform/packages/private/ml/inference_integration_flyout` | | `@kbn/json-schemas` | `x-pack/platform/packages/private/ml/json_schemas` | | `@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-cancellable-search` | `x-pack/platform/packages/private/ml/cancellable_search` | | `@kbn/ml-category-validator` | `x-pack/platform/packages/private/ml/category_validator` | | `@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-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-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-utils` | `x-pack/platform/packages/private/ml/date_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-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-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-local-storage` | `x-pack/platform/packages/private/ml/local_storage` | | `@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-parse-interval` | `x-pack/platform/packages/private/ml/parse_interval` | | `@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-response-stream` | `x-pack/platform/packages/shared/ml/response_stream` | | `@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-string-hash` | `x-pack/platform/packages/private/ml/string_hash` | | `@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-ui-actions` | `x-pack/platform/packages/private/ml/ui_actions` | | `@kbn/ml-url-state` | `x-pack/platform/packages/private/ml/url_state` | | `@kbn/ml-validators` | `x-pack/platform/packages/private/ml/validators` |
Updated references ``` ./.eslintrc.js ./docs/developer/plugin-list.asciidoc ./docs/redirects.asciidoc ./oas_docs/scripts/merge_ess_oas.js ./oas_docs/scripts/merge_serverless_oas.js ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-synthetic-package-map/synthetic-packages.json ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/private/default-nav/ml/jest.config.js ./src/platform/packages/shared/deeplinks/ml/jest.config.js ./tsconfig.base.json ./tsconfig.refs.json ./x-pack/.i18nrc.json ./x-pack/packages/security-solution/navigation/src/constants.ts ./x-pack/platform/packages/private/ml/agg_utils/jest.config.js ./x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js ./x-pack/platform/packages/private/ml/aiops_components/jest.config.js ./x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js ./x-pack/platform/packages/private/ml/cancellable_search/jest.config.js ./x-pack/platform/packages/private/ml/category_validator/jest.config.js ./x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js ./x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js ./x-pack/platform/packages/private/ml/data_grid/jest.config.js ./x-pack/platform/packages/private/ml/data_view_utils/jest.config.js ./x-pack/platform/packages/private/ml/date_picker/jest.config.js ./x-pack/platform/packages/private/ml/date_utils/jest.config.js ./x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js ./x-pack/platform/packages/private/ml/in_memory_table/jest.config.js ./x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js ./x-pack/platform/packages/private/ml/is_defined/jest.config.js ./x-pack/platform/packages/private/ml/is_populated_object/jest.config.js ./x-pack/platform/packages/private/ml/json_schemas/jest.config.js ./x-pack/platform/packages/private/ml/kibana_theme/jest.config.js ./x-pack/platform/packages/private/ml/local_storage/jest.config.js ./x-pack/platform/packages/private/ml/nested_property/jest.config.js ./x-pack/platform/packages/private/ml/number_utils/jest.config.js ./x-pack/platform/packages/private/ml/parse_interval/jest.config.js ./x-pack/platform/packages/private/ml/query_utils/jest.config.js ./x-pack/platform/packages/private/ml/route_utils/jest.config.js ./x-pack/platform/packages/private/ml/string_hash/jest.config.js ./x-pack/platform/packages/private/ml/time_buckets/jest.config.js ./x-pack/platform/packages/private/ml/ui_actions/jest.config.js ./x-pack/platform/packages/private/ml/url_state/jest.config.js ./x-pack/platform/packages/private/ml/validators/jest.config.js ./x-pack/platform/packages/shared/ml/aiops_common/jest.config.js ./x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js ./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js ./x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js ./x-pack/platform/packages/shared/ml/chi2test/jest.config.js ./x-pack/platform/packages/shared/ml/error_utils/jest.config.js ./x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js ./x-pack/platform/packages/shared/ml/response_stream/jest.config.js ./x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js ./x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js ./x-pack/platform/plugins/private/data_visualizer/jest.config.js ./x-pack/platform/plugins/private/transform/jest.config.js ./x-pack/platform/plugins/private/transform/readme.md ./x-pack/platform/plugins/shared/aiops/README.md ./x-pack/platform/plugins/shared/aiops/jest.config.js ./x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.ts ./x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts ./x-pack/platform/plugins/shared/ml/jest.config.js ./x-pack/platform/plugins/shared/ml/readme.md ./x-pack/plugins/aiops/README.md ./x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts ./x-pack/plugins/security_solution/common/machine_learning/helpers.ts ./yarn.lock ```
Updated relative paths ``` src/platform/packages/private/default-nav/ml/jest.config.js:12 src/platform/packages/private/default-nav/ml/tsconfig.json:2 src/platform/packages/shared/deeplinks/ml/jest.config.js:12 src/platform/packages/shared/deeplinks/ml/tsconfig.json:2 x-pack/platform/packages/private/ml/agg_utils/jest.config.js:10 x-pack/platform/packages/private/ml/agg_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js:10 x-pack/platform/packages/private/ml/aiops_change_point_detection/tsconfig.json:2 x-pack/platform/packages/private/ml/aiops_components/jest.config.js:10 x-pack/platform/packages/private/ml/aiops_components/tsconfig.json:2 x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js:10 x-pack/platform/packages/private/ml/aiops_test_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/cancellable_search/jest.config.js:10 x-pack/platform/packages/private/ml/cancellable_search/tsconfig.json:2 x-pack/platform/packages/private/ml/category_validator/jest.config.js:10 x-pack/platform/packages/private/ml/category_validator/tsconfig.json:2 x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js:10 x-pack/platform/packages/private/ml/creation_wizard_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js:10 x-pack/platform/packages/private/ml/data_frame_analytics_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/data_grid/jest.config.js:10 x-pack/platform/packages/private/ml/data_grid/tsconfig.json:2 x-pack/platform/packages/private/ml/data_view_utils/jest.config.js:10 x-pack/platform/packages/private/ml/data_view_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/date_picker/jest.config.js:10 x-pack/platform/packages/private/ml/date_picker/tsconfig.json:2 x-pack/platform/packages/private/ml/date_utils/jest.config.js:10 x-pack/platform/packages/private/ml/date_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js:10 x-pack/platform/packages/private/ml/field_stats_flyout/tsconfig.json:2 x-pack/platform/packages/private/ml/in_memory_table/jest.config.js:10 x-pack/platform/packages/private/ml/in_memory_table/tsconfig.json:2 x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js:10 x-pack/platform/packages/private/ml/inference_integration_flyout/tsconfig.json:2 x-pack/platform/packages/private/ml/is_defined/jest.config.js:10 x-pack/platform/packages/private/ml/is_defined/tsconfig.json:2 x-pack/platform/packages/private/ml/is_populated_object/jest.config.js:10 x-pack/platform/packages/private/ml/is_populated_object/tsconfig.json:2 x-pack/platform/packages/private/ml/json_schemas/jest.config.js:10 x-pack/platform/packages/private/ml/json_schemas/package.json:7 x-pack/platform/packages/private/ml/json_schemas/tsconfig.json:2 x-pack/platform/packages/private/ml/kibana_theme/jest.config.js:10 x-pack/platform/packages/private/ml/kibana_theme/tsconfig.json:2 x-pack/platform/packages/private/ml/local_storage/jest.config.js:10 x-pack/platform/packages/private/ml/local_storage/tsconfig.json:2 x-pack/platform/packages/private/ml/nested_property/jest.config.js:10 x-pack/platform/packages/private/ml/nested_property/tsconfig.json:2 x-pack/platform/packages/private/ml/number_utils/jest.config.js:10 x-pack/platform/packages/private/ml/number_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/parse_interval/jest.config.js:10 x-pack/platform/packages/private/ml/parse_interval/tsconfig.json:2 x-pack/platform/packages/private/ml/query_utils/jest.config.js:10 x-pack/platform/packages/private/ml/query_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/route_utils/jest.config.js:10 x-pack/platform/packages/private/ml/route_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/string_hash/jest.config.js:10 x-pack/platform/packages/private/ml/string_hash/tsconfig.json:2 x-pack/platform/packages/private/ml/time_buckets/jest.config.js:10 x-pack/platform/packages/private/ml/time_buckets/tsconfig.json:2 x-pack/platform/packages/private/ml/ui_actions/jest.config.js:10 x-pack/platform/packages/private/ml/ui_actions/tsconfig.json:2 x-pack/platform/packages/private/ml/url_state/jest.config.js:10 x-pack/platform/packages/private/ml/url_state/tsconfig.json:2 x-pack/platform/packages/private/ml/validators/jest.config.js:10 x-pack/platform/packages/private/ml/validators/tsconfig.json:2 x-pack/platform/packages/shared/ml/aiops_common/jest.config.js:10 x-pack/platform/packages/shared/ml/aiops_common/tsconfig.json:2 x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js:10 x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/tsconfig.json:2 x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js:10 x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/tsconfig.json:2 x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/anomaly_utils/tsconfig.json:2 x-pack/platform/packages/shared/ml/chi2test/jest.config.js:10 x-pack/platform/packages/shared/ml/chi2test/tsconfig.json:2 x-pack/platform/packages/shared/ml/error_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/error_utils/tsconfig.json:2 x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/random_sampler_utils/tsconfig.json:2 x-pack/platform/packages/shared/ml/response_stream/jest.config.js:10 x-pack/platform/packages/shared/ml/response_stream/tsconfig.json:2 x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/runtime_field_utils/tsconfig.json:2 x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/trained_models_utils/tsconfig.json:2 x-pack/platform/plugins/private/data_visualizer/jest.config.js:10 x-pack/platform/plugins/private/data_visualizer/tsconfig.json:2 x-pack/platform/plugins/private/data_visualizer/tsconfig.json:7 x-pack/platform/plugins/private/transform/jest.config.js:10 x-pack/platform/plugins/private/transform/tsconfig.json:10 x-pack/platform/plugins/private/transform/tsconfig.json:2 x-pack/platform/plugins/shared/aiops/jest.config.js:10 x-pack/platform/plugins/shared/aiops/tsconfig.json:2 x-pack/platform/plugins/shared/aiops/tsconfig.json:7 x-pack/platform/plugins/shared/ml/jest.config.js:10 x-pack/platform/plugins/shared/ml/readme.md:186 x-pack/platform/plugins/shared/ml/readme.md:192 x-pack/platform/plugins/shared/ml/tsconfig.json:12 x-pack/platform/plugins/shared/ml/tsconfig.json:2 x-pack/platform/plugins/shared/ml/tsconfig.json:24 ```
Script errors ``` ```
--------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Walter Rafelsberger --- .eslintrc.js | 13 +- .github/CODEOWNERS | 92 ++++----- .github/codeql/codeql-config.yml | 1 - .i18nrc.json | 5 +- docs/developer/plugin-list.asciidoc | 8 +- docs/redirects.asciidoc | 2 +- oas_docs/scripts/merge_ess_oas.js | 2 +- oas_docs/scripts/merge_serverless_oas.js | 2 +- package.json | 92 ++++----- .../private}/default-nav/ml/README.md | 0 .../default-nav/ml/default_navigation.ts | 0 .../packages/private}/default-nav/ml/index.ts | 0 .../private}/default-nav/ml/jest.config.js | 4 +- .../private}/default-nav/ml/kibana.jsonc | 0 .../private}/default-nav/ml/package.json | 0 .../private}/default-nav/ml/tsconfig.json | 2 +- .../packages/shared}/deeplinks/ml/README.md | 0 .../shared}/deeplinks/ml/deep_links.ts | 0 .../packages/shared}/deeplinks/ml/index.ts | 0 .../shared}/deeplinks/ml/jest.config.js | 4 +- .../shared}/deeplinks/ml/kibana.jsonc | 0 .../shared}/deeplinks/ml/package.json | 0 .../shared/deeplinks/ml}/tsconfig.json | 2 +- tsconfig.base.json | 184 +++++++++--------- x-pack/.i18nrc.json | 36 ++-- .../ml/aiops_test_utils/jest.config.js | 12 -- .../packages/ml/anomaly_utils/jest.config.js | 12 -- .../ml/cancellable_search/jest.config.js | 12 -- x-pack/packages/ml/chi2test/jest.config.js | 12 -- .../ml/creation_wizard_utils/jest.config.js | 12 -- .../data_frame_analytics_utils/jest.config.js | 12 -- x-pack/packages/ml/data_grid/jest.config.js | 12 -- .../ml/data_view_utils/jest.config.js | 12 -- x-pack/packages/ml/date_picker/jest.config.js | 12 -- x-pack/packages/ml/date_utils/jest.config.js | 12 -- x-pack/packages/ml/error_utils/jest.config.js | 12 -- .../ml/field_stats_flyout/jest.config.js | 12 -- .../ml/in_memory_table/jest.config.js | 12 -- .../jest.config.js | 12 -- x-pack/packages/ml/is_defined/jest.config.js | 12 -- .../packages/ml/json_schemas/jest.config.js | 12 -- .../packages/ml/kibana_theme/jest.config.js | 12 -- .../packages/ml/local_storage/jest.config.js | 12 -- .../ml/nested_property/jest.config.js | 12 -- .../packages/ml/number_utils/jest.config.js | 12 -- x-pack/packages/ml/number_utils/tsconfig.json | 19 -- .../packages/ml/parse_interval/jest.config.js | 12 -- x-pack/packages/ml/query_utils/jest.config.js | 12 -- .../ml/random_sampler_utils/jest.config.js | 12 -- .../ml/response_stream/jest.config.js | 12 -- x-pack/packages/ml/route_utils/jest.config.js | 12 -- .../ml/runtime_field_utils/jest.config.js | 12 -- x-pack/packages/ml/string_hash/jest.config.js | 12 -- .../packages/ml/time_buckets/jest.config.js | 12 -- .../ml/trained_models_utils/jest.config.js | 12 -- x-pack/packages/ml/ui_actions/jest.config.js | 12 -- x-pack/packages/ml/url_state/jest.config.js | 12 -- x-pack/packages/ml/validators/jest.config.js | 12 -- .../navigation/src/constants.ts | 2 +- .../packages/private}/ml/agg_utils/README.md | 0 .../packages/private}/ml/agg_utils/index.ts | 0 .../private/ml/agg_utils}/jest.config.js | 4 +- .../private}/ml/agg_utils/kibana.jsonc | 0 .../private}/ml/agg_utils/package.json | 0 .../src/build_sampler_aggregation.test.ts | 0 .../src/build_sampler_aggregation.ts | 0 .../ml/agg_utils/src/fetch_agg_intervals.ts | 0 .../src/fetch_histograms_for_fields.ts | 0 .../ml/agg_utils/src/field_histograms.ts | 0 ...sampler_aggregations_response_path.test.ts | 0 .../get_sampler_aggregations_response_path.ts | 0 .../src/is_multi_bucket_aggregate.ts | 0 .../src/time_series_metric_fields.ts | 0 .../ml/agg_utils/src/type_guards.test.ts | 0 .../private}/ml/agg_utils/src/type_guards.ts | 0 .../private}/ml/agg_utils/src/types.ts | 0 .../ml/agg_utils/src/validate_number.test.ts | 0 .../ml/agg_utils/src/validate_number.ts | 0 .../private}/ml/agg_utils/tsconfig.json | 2 +- .../ml/aiops_change_point_detection/README.md | 0 .../aiops_change_point_detection/constants.ts | 0 .../jest.config.js | 12 ++ .../aiops_change_point_detection/kibana.jsonc | 0 .../aiops_change_point_detection/package.json | 0 .../tsconfig.json | 2 +- .../private}/ml/aiops_components/README.md | 0 .../private}/ml/aiops_components/index.ts | 0 .../ml/aiops_components/jest.config.js | 12 ++ .../private}/ml/aiops_components/kibana.jsonc | 0 .../private}/ml/aiops_components/package.json | 0 .../src/document_count_chart/brush_badge.tsx | 0 .../document_count_chart.tsx | 0 .../document_count_chart_redux.tsx | 0 .../src/document_count_chart/index.ts | 0 .../src/dual_brush/dual_brush.scss | 0 .../src/dual_brush/dual_brush.tsx | 0 .../src/dual_brush/dual_brush_annotation.tsx | 0 .../aiops_components/src/dual_brush/index.ts | 0 .../src/progress_controls/index.ts | 0 .../progress_controls/progress_controls.tsx | 0 .../use_animated_progress_bar_background.ts | 0 .../ml/aiops_components/tsconfig.json | 2 +- .../private}/ml/aiops_test_utils/README.md | 0 .../artificial_logs/fields.ts | 0 .../filtered_frequent_item_sets.ts | 0 .../final_significant_item_groups.ts | 0 ...final_significant_item_groups_textfield.ts | 0 .../artificial_logs/frequent_item_sets.ts | 0 .../significant_item_groups.ts | 0 .../significant_log_patterns.ts | 0 .../artificial_logs/significant_terms.ts | 0 .../artificial_logs/top_terms.ts | 0 .../artificial_logs/top_terms_groups.ts | 0 .../farequote/significant_item_groups.ts | 0 .../frequent_item_sets_large_arrays.ts | 0 .../ml/aiops_test_utils/jest.config.js | 12 ++ .../private}/ml/aiops_test_utils/kibana.jsonc | 0 .../significant_terms.ts | 0 .../private}/ml/aiops_test_utils/package.json | 0 .../ml/aiops_test_utils/tsconfig.json | 2 +- .../private}/ml/cancellable_search/README.md | 0 .../private}/ml/cancellable_search/index.ts | 0 .../ml/cancellable_search/jest.config.js | 12 ++ .../ml/cancellable_search/kibana.jsonc | 0 .../ml/cancellable_search/package.json | 0 .../src/use_cancellable_search.ts | 0 .../ml/cancellable_search/tsconfig.json | 2 +- .../private}/ml/category_validator/README.md | 0 .../common/constants/categorization.ts | 0 .../common/types/categories.ts | 0 .../private}/ml/category_validator/index.ts | 0 .../ml/category_validator/jest.config.js | 12 ++ .../ml/category_validator/kibana.jsonc | 0 .../ml/category_validator/package.json | 0 .../ml/category_validator/src/examples.ts | 0 .../ml/category_validator/src/util.ts | 0 .../src/validation_results.ts | 0 .../ml/category_validator/tsconfig.json | 2 +- .../ml/creation_wizard_utils/README.md | 0 .../components/destination_index_form.tsx | 0 .../use_id_as_index_name_switch.tsx | 0 .../ml/creation_wizard_utils/jest.config.js | 12 ++ .../ml/creation_wizard_utils/kibana.jsonc | 0 .../ml/creation_wizard_utils/package.json | 0 .../ml/creation_wizard_utils}/tsconfig.json | 2 +- .../ml/data_frame_analytics_utils/README.md | 0 .../ml/data_frame_analytics_utils/index.ts | 0 .../data_frame_analytics_utils/jest.config.js | 12 ++ .../data_frame_analytics_utils/kibana.jsonc | 0 .../data_frame_analytics_utils/package.json | 0 .../src/analytics_utils.test.ts | 0 .../src/analytics_utils.ts | 0 .../src/constants.ts | 0 .../src/feature_importance.ts | 0 .../data_frame_analytics_utils/src/fields.ts | 0 .../src/get_num_top_classes.ts | 0 .../get_num_top_feature_importance_values.ts | 0 .../data_frame_analytics_utils/src/types.ts | 0 .../data_frame_analytics_utils/tsconfig.json | 2 +- .../packages/private}/ml/data_grid/README.md | 0 .../ml/data_grid/components/column_chart.tsx | 0 .../ml/data_grid/components/data_grid.tsx | 0 .../data_grid/hooks/use_column_chart.test.tsx | 0 .../ml/data_grid/hooks/use_column_chart.tsx | 0 .../ml/data_grid/hooks/use_data_grid.tsx | 0 .../packages/private}/ml/data_grid/index.ts | 0 .../private/ml/data_grid}/jest.config.js | 4 +- .../private}/ml/data_grid/kibana.jsonc | 0 .../private}/ml/data_grid/lib/common.test.ts | 0 .../private}/ml/data_grid/lib/common.ts | 0 .../ml/data_grid/lib/field_histograms.ts | 0 .../private}/ml/data_grid/lib/types.ts | 0 .../private}/ml/data_grid/package.json | 0 .../private}/ml/data_grid/tsconfig.json | 4 +- .../private}/ml/data_view_utils/README.md | 0 .../ml/data_view_utils/actions/create.ts | 0 .../actions/data_view_handler.ts | 0 .../ml/data_view_utils/actions/delete.ts | 0 .../components/create_data_view_form_row.tsx | 0 .../components/create_data_view_switch.tsx | 0 .../create_data_view_time_field.tsx | 0 .../private/ml/data_view_utils/jest.config.js | 12 ++ .../private}/ml/data_view_utils/kibana.jsonc | 0 .../private}/ml/data_view_utils/package.json | 0 .../schemas/api_create_query_schema.ts | 0 .../private}/ml/data_view_utils/tsconfig.json | 2 +- .../types/api_create_response_schema.ts | 0 .../types/api_delete_response_schema.ts | 0 .../private}/ml/date_picker/README.md | 0 .../packages/private}/ml/date_picker/index.ts | 0 .../private/ml/date_picker/jest.config.js | 12 ++ .../private}/ml/date_picker/kibana.jsonc | 0 .../private}/ml/date_picker/package.json | 0 .../components/date_picker_wrapper.test.tsx | 0 .../src/components/date_picker_wrapper.tsx | 0 .../full_time_range_selector.test.tsx | 0 .../components/full_time_range_selector.tsx | 0 .../src/hooks/use_date_picker_context.tsx | 0 .../src/hooks/use_timefilter.test.ts | 0 .../date_picker/src/hooks/use_timefilter.ts | 0 .../full_time_range_selector_service.test.ts | 0 .../full_time_range_selector_service.ts | 0 .../src/services/time_field_range.ts | 0 .../services/timefilter_refresh_service.ts | 0 .../ml/date_picker/src/services/types.ts | 0 .../private}/ml/date_picker/src/storage.ts | 0 .../private}/ml/date_picker/tsconfig.json | 2 +- .../packages/private}/ml/date_utils/README.md | 0 .../packages/private}/ml/date_utils/index.ts | 0 .../private/ml/date_utils}/jest.config.js | 4 +- .../private}/ml/date_utils/kibana.jsonc | 0 .../private}/ml/date_utils/package.json | 0 .../ml/date_utils/src/date_utils.test.ts | 0 .../private}/ml/date_utils/src/date_utils.ts | 0 .../private}/ml/date_utils/src/time_format.ts | 0 .../private}/ml/date_utils/tsconfig.json | 2 +- .../private}/ml/field_stats_flyout/README.md | 0 .../field_stats_content.tsx | 0 .../field_stats_flyout/field_stats_flyout.tsx | 0 .../field_stats_flyout_provider.tsx | 0 .../field_stats_info_button.tsx | 0 .../get_kbn_field_icon_types.test.ts | 0 .../get_kbn_field_icon_types.ts | 0 .../private}/ml/field_stats_flyout/index.ts | 0 .../ml/field_stats_flyout/jest.config.js | 12 ++ .../ml/field_stats_flyout/kibana.jsonc | 0 .../option_list_popover.tsx | 0 .../option_list_popover_footer.tsx | 0 .../option_list_with_stats.tsx | 0 .../options_list_with_stats/types.ts | 0 .../ml/field_stats_flyout/package.json | 0 .../get_merged_populated_fields_query.test.ts | 0 .../get_merged_populated_fields_query.ts | 0 .../populated_fields/index.ts | 0 .../populated_fields_cache_manager.ts | 0 .../ml/field_stats_flyout/tsconfig.json | 2 +- .../use_field_stats_flyout_context.ts | 0 .../use_field_stats_trigger.tsx | 0 .../private}/ml/in_memory_table/README.md | 0 .../in_memory_table/hooks/use_table_state.ts | 0 .../private}/ml/in_memory_table/index.ts | 0 .../private/ml/in_memory_table/jest.config.js | 12 ++ .../private}/ml/in_memory_table/kibana.jsonc | 0 .../private}/ml/in_memory_table/package.json | 0 .../private}/ml/in_memory_table/tsconfig.json | 2 +- .../ml/inference_integration_flyout/README.md | 0 .../components/connect_to_api.tsx | 0 .../components/eland_python_client.tsx | 0 .../components/elasticsearch_models.tsx | 0 .../components/flyout_layout.tsx | 0 .../inference_flyout_wrapper.test.tsx | 0 .../components/inference_flyout_wrapper.tsx | 0 .../save_inference_mappings_button.tsx | 0 .../components/service_forms/cohere_form.tsx | 0 .../service_forms/huggingface_form.tsx | 0 .../components/service_forms/openai_form.tsx | 0 .../components/service_options.tsx | 0 .../ml/inference_integration_flyout/index.ts | 0 .../jest.config.js | 12 ++ .../inference_integration_flyout/kibana.jsonc | 0 .../lib/shared_values.ts | 0 .../inference_integration_flyout/package.json | 0 .../tsconfig.json | 2 +- .../ml/inference_integration_flyout/types.ts | 0 .../packages/private}/ml/is_defined/README.md | 0 .../packages/private}/ml/is_defined/index.ts | 0 .../private/ml/is_defined/jest.config.js | 12 ++ .../private}/ml/is_defined/kibana.jsonc | 0 .../private}/ml/is_defined/package.json | 0 .../private}/ml/is_defined/src/is_defined.ts | 0 .../private/ml/is_defined}/tsconfig.json | 2 +- .../private}/ml/is_populated_object/README.md | 0 .../private}/ml/is_populated_object/index.ts | 0 .../ml/is_populated_object/jest.config.js | 12 ++ .../ml/is_populated_object/kibana.jsonc | 0 .../ml/is_populated_object/package.json | 0 .../src/is_populated_object.test.ts | 0 .../src/is_populated_object.ts | 0 .../ml/is_populated_object/tsconfig.json | 2 +- .../private}/ml/json_schemas/README.md | 0 .../private}/ml/json_schemas/index.ts | 0 .../private/ml/json_schemas/jest.config.js | 12 ++ .../private}/ml/json_schemas/kibana.jsonc | 0 .../private}/ml/json_schemas/package.json | 2 +- .../private}/ml/json_schemas/scripts/index.ts | 0 .../json_schemas/src/json_schema_service.ts | 0 ..._ml_anomaly_detectors__job_id__schema.json | 0 ...__ml_data_frame_analytics__id__schema.json | 0 ...t___ml_datafeeds__datafeed_id__schema.json | 0 ...ransform__transform_id___pivot_schema.json | 0 .../ml/json_schemas/src/schema_overrides.ts | 0 .../private}/ml/json_schemas/src/types.ts | 0 .../private}/ml/json_schemas/tsconfig.json | 2 +- .../private}/ml/kibana_theme/README.md | 0 .../private}/ml/kibana_theme/index.ts | 0 .../private/ml/kibana_theme/jest.config.js | 12 ++ .../private}/ml/kibana_theme/kibana.jsonc | 0 .../private}/ml/kibana_theme/package.json | 0 .../private}/ml/kibana_theme/src/hooks.ts | 0 .../private}/ml/kibana_theme/tsconfig.json | 2 +- .../private}/ml/local_storage/README.md | 0 .../private}/ml/local_storage/index.ts | 0 .../private/ml/local_storage/jest.config.js | 12 ++ .../private}/ml/local_storage/kibana.jsonc | 0 .../private}/ml/local_storage/package.json | 0 .../ml/local_storage/src/storage_context.tsx | 0 .../private}/ml/local_storage/tsconfig.json | 2 +- .../private}/ml/nested_property/README.md | 0 .../private}/ml/nested_property/index.ts | 0 .../private/ml/nested_property/jest.config.js | 12 ++ .../private}/ml/nested_property/kibana.jsonc | 0 .../private}/ml/nested_property/package.json | 0 .../src/get_nested_property.test.ts | 0 .../src/get_nested_property.ts | 0 .../src/set_nested_property.test.ts | 0 .../src/set_nested_property.ts | 0 .../private}/ml/nested_property/tsconfig.json | 2 +- .../private}/ml/number_utils/README.md | 0 .../private}/ml/number_utils/index.ts | 0 .../private/ml/number_utils/jest.config.js | 12 ++ .../private}/ml/number_utils/kibana.jsonc | 0 .../private}/ml/number_utils/package.json | 0 .../src/round_to_decimal_place.test.ts | 0 .../src/round_to_decimal_place.ts | 0 .../private/ml/number_utils}/tsconfig.json | 2 +- .../private}/ml/parse_interval/README.md | 0 .../private}/ml/parse_interval/index.ts | 0 .../private/ml/parse_interval/jest.config.js | 12 ++ .../private}/ml/parse_interval/kibana.jsonc | 0 .../private}/ml/parse_interval/package.json | 0 .../ml/parse_interval/parse_interval.test.ts | 0 .../ml/parse_interval/parse_interval.ts | 0 .../private}/ml/parse_interval/tsconfig.json | 2 +- .../private}/ml/query_utils/README.md | 0 .../packages/private}/ml/query_utils/index.ts | 0 .../private/ml/query_utils/jest.config.js | 12 ++ .../private}/ml/query_utils/kibana.jsonc | 0 .../private}/ml/query_utils/package.json | 0 .../query_utils/src/__mocks__/simple_query.ts | 0 .../src/add_exclude_frozen_to_query.test.ts | 0 .../src/add_exclude_frozen_to_query.ts | 0 .../bool_filter_based_simple_query.test.ts | 0 .../src/bool_filter_based_simple_query.ts | 0 .../src/build_base_filter_criteria.test.ts | 0 .../src/build_base_filter_criteria.ts | 0 .../ml/query_utils/src/default_query.test.ts | 0 .../ml/query_utils/src/default_query.ts | 0 .../src/es_client_total_hits_relation.ts | 0 .../src/filter_based_default_query.test.ts | 0 .../src/filter_based_default_query.ts | 0 .../query_utils/src/get_default_dsl_query.ts | 0 .../src/get_safe_aggregation_name.test.ts | 0 .../src/get_safe_aggregation_name.ts | 0 .../query_utils/src/match_all_query.test.ts | 0 .../ml/query_utils/src/match_all_query.ts | 0 .../ml/query_utils/src/simple_query.test.ts | 0 .../ml/query_utils/src/simple_query.ts | 0 .../private}/ml/query_utils/src/types.ts | 0 .../private}/ml/query_utils/tsconfig.json | 2 +- .../private}/ml/route_utils/README.md | 0 .../packages/private}/ml/route_utils/index.ts | 0 .../private/ml/route_utils/jest.config.js | 12 ++ .../private}/ml/route_utils/kibana.jsonc | 0 .../private}/ml/route_utils/package.json | 0 .../src/create_execution_context.test.ts | 0 .../src/create_execution_context.ts | 0 .../private}/ml/route_utils/tsconfig.json | 2 +- .../private}/ml/string_hash/README.md | 0 .../packages/private}/ml/string_hash/index.ts | 0 .../private/ml/string_hash}/jest.config.js | 4 +- .../private}/ml/string_hash/kibana.jsonc | 0 .../private}/ml/string_hash/package.json | 0 .../ml/string_hash/src/string_hash.test.ts | 0 .../ml/string_hash/src/string_hash.ts | 0 .../private}/ml/string_hash/tsconfig.json | 2 +- .../private}/ml/time_buckets/README.md | 0 .../ml/time_buckets/calc_auto_interval.js | 0 .../time_buckets/calc_auto_interval.test.js | 0 .../private}/ml/time_buckets/index.ts | 0 .../private/ml/time_buckets/jest.config.js | 12 ++ .../private}/ml/time_buckets/kibana.jsonc | 0 .../private}/ml/time_buckets/package.json | 0 .../ml/time_buckets/parse_interval.ts | 0 .../ml/time_buckets/time_buckets.d.ts | 0 .../private}/ml/time_buckets/time_buckets.js | 0 .../ml/time_buckets/time_buckets.test.js | 0 .../private}/ml/time_buckets/tsconfig.json | 2 +- .../ml/time_buckets/use_time_buckets.ts | 0 .../packages/private}/ml/ui_actions/README.md | 0 .../packages/private}/ml/ui_actions/index.ts | 0 .../private/ml/ui_actions}/jest.config.js | 4 +- .../private}/ml/ui_actions/kibana.jsonc | 0 .../private}/ml/ui_actions/package.json | 0 .../ml/ui_actions/src/aiops/ui_actions.ts | 0 .../ml/ui_actions/src/ml/ui_actions.ts | 0 .../private}/ml/ui_actions/tsconfig.json | 2 +- .../packages/private}/ml/url_state/README.md | 0 .../packages/private}/ml/url_state/index.ts | 0 .../private/ml/url_state}/jest.config.js | 4 +- .../private}/ml/url_state/kibana.jsonc | 0 .../private}/ml/url_state/package.json | 0 .../ml/url_state/src/url_state.test.tsx | 0 .../private}/ml/url_state/src/url_state.tsx | 0 .../private}/ml/url_state/tsconfig.json | 2 +- .../packages/private}/ml/validators/README.md | 0 .../private}/ml/validators/constants.ts | 0 .../packages/private}/ml/validators/index.ts | 0 .../private/ml/validators}/jest.config.js | 4 +- .../private}/ml/validators/kibana.jsonc | 0 .../private}/ml/validators/package.json | 0 .../private}/ml/validators/tsconfig.json | 2 +- .../private}/ml/validators/validators.test.ts | 0 .../private}/ml/validators/validators.ts | 0 .../shared}/ml/aiops_common/README.md | 0 .../shared}/ml/aiops_common/constants.ts | 0 .../aiops_common/create_default_query.test.ts | 0 .../ml/aiops_common/create_default_query.ts | 0 .../is_request_aborted_error.test.ts | 0 .../aiops_common/is_request_aborted_error.ts | 0 .../shared/ml/aiops_common/jest.config.js | 12 ++ .../shared}/ml/aiops_common/kibana.jsonc | 0 .../shared}/ml/aiops_common/package.json | 0 .../shared}/ml/aiops_common/tsconfig.json | 2 +- .../ml/aiops_log_pattern_analysis/README.md | 0 .../aiops_log_pattern_analysis/constants.ts | 0 .../create_category_request.ts | 0 .../aiops_log_pattern_analysis/embeddable.ts | 0 .../get_category_query.ts | 0 .../ml/aiops_log_pattern_analysis/index.ts | 0 .../aiops_log_pattern_analysis/jest.config.js | 12 ++ .../aiops_log_pattern_analysis/kibana.jsonc | 0 .../aiops_log_pattern_analysis/package.json | 0 .../process_category_results.ts | 0 .../ml/aiops_log_pattern_analysis/schema.ts | 0 .../aiops_log_pattern_analysis/tsconfig.json | 2 +- .../ml/aiops_log_pattern_analysis/types.ts | 0 .../ml/aiops_log_rate_analysis/README.md | 0 .../__mocks__/date_histogram.ts | 0 .../ml/aiops_log_rate_analysis/api/schema.ts | 0 .../aiops_log_rate_analysis/api/schema_v2.ts | 0 .../aiops_log_rate_analysis/api/schema_v3.ts | 0 .../api/stream_reducer.test.ts | 0 .../api/stream_reducer.ts | 0 .../ml/aiops_log_rate_analysis/constants.ts | 0 .../ecs_fields.test.ts | 0 .../ml/aiops_log_rate_analysis/ecs_fields.ts | 0 .../get_baseline_and_deviation_rates.test.ts | 0 .../get_baseline_and_deviation_rates.ts | 0 .../get_extended_change_point.test.ts | 0 .../get_extended_change_point.ts | 0 ...log_rate_analysis_parameters_from_alert.ts | 0 ..._log_rate_analysis_type_for_counts.test.ts | 0 .../get_log_rate_analysis_type_for_counts.ts | 0 ...g_rate_analysis_type_for_histogram.test.ts | 0 ...et_log_rate_analysis_type_for_histogram.ts | 0 .../get_log_rate_change.test.ts | 0 .../get_log_rate_change.ts | 0 .../get_snapped_timestamps.ts | 0 .../get_snapped_window_parameters.test.ts | 0 .../get_snapped_window_parameters.ts | 0 .../get_swapped_window_parameters.test.ts | 0 .../get_swapped_window_parameters.ts | 0 .../get_window_parameters.ts | 0 .../get_window_parameters_for_trigger.ts | 0 .../ml/aiops_log_rate_analysis/index.ts | 0 .../ml/aiops_log_rate_analysis/jest.config.js | 12 ++ .../ml/aiops_log_rate_analysis/kibana.jsonc | 0 .../log_rate_analysis_type.ts | 0 .../log_rate_histogram_item.ts | 0 .../ml/aiops_log_rate_analysis/package.json | 0 .../queries/__mocks__/field_caps_ecommerce.ts | 0 .../__mocks__/field_caps_large_arrays.ts | 0 .../queries/__mocks__/field_caps_pgbench.ts | 0 .../queries/__mocks__/params_match_all.ts | 0 .../queries/__mocks__/params_search_query.ts | 0 .../queries/__mocks__/search_query.ts | 0 .../__mocks__/top_categories_result.ts | 0 .../top_categories_search_response.ts | 0 .../queries/__mocks__/top_terms_result.ts | 0 .../__mocks__/top_terms_search_response.ts | 0 .../queries/duplicate_identifier.ts | 0 .../queries/fetch_categories.test.ts | 0 .../queries/fetch_categories.ts | 0 .../queries/fetch_category_counts.test.ts | 0 .../queries/fetch_category_counts.ts | 0 .../queries/fetch_field_candidates.test.ts | 0 .../queries/fetch_field_candidates.ts | 0 .../queries/fetch_frequent_item_sets.test.ts | 0 .../queries/fetch_frequent_item_sets.ts | 0 .../queries/fetch_index_info.test.ts | 0 .../queries/fetch_index_info.ts | 0 .../fetch_log_rate_analysis_for_alert.ts | 0 ..._mini_histograms_for_significant_groups.ts | 0 ...h_mini_histograms_for_significant_items.ts | 0 .../queries/fetch_significant_categories.ts | 0 .../fetch_significant_term_p_values.ts | 0 .../fetch_terms_2_categories_counts.ts | 0 .../queries/fetch_top_categories.test.ts | 0 .../queries/fetch_top_categories.ts | 0 .../queries/fetch_top_terms.test.ts | 0 .../queries/fetch_top_terms.ts | 0 .../queries/fetch_top_types.ts | 0 .../get_field_value_pair_counts.test.ts | 0 .../queries/get_field_value_pair_counts.ts | 0 .../queries/get_group_filter.test.ts | 0 .../queries/get_group_filter.ts | 0 ...get_groups_with_readded_duplicates.test.ts | 0 .../get_groups_with_readded_duplicates.ts | 0 .../queries/get_histogram_query.test.ts | 0 .../queries/get_histogram_query.ts | 0 .../queries/get_marked_duplicates.test.ts | 0 .../queries/get_marked_duplicates.ts | 0 .../get_missing_significant_items.test.ts | 0 .../queries/get_missing_significant_items.ts | 0 .../queries/get_normalized_score.ts | 0 .../queries/get_query_with_params.test.ts | 0 .../queries/get_query_with_params.ts | 0 .../queries/get_range_query.test.ts | 0 .../queries/get_range_query.ts | 0 .../queries/get_request_base.ts | 0 .../get_significant_item_groups.test.ts | 0 .../queries/get_significant_item_groups.ts | 0 .../get_simple_hierarchical_tree.test.ts | 0 .../queries/get_simple_hierarchical_tree.ts | 0 ...et_simple_hierarchical_tree_leaves.test.ts | 0 .../get_simple_hierarchical_tree_leaves.ts | 0 .../queries/get_total_doc_count_request.ts | 0 .../queries/get_value_counts.test.ts | 0 .../queries/get_value_counts.ts | 0 .../queries/get_values_descending.test.ts | 0 .../queries/get_values_descending.ts | 0 .../queries/mini_histogram_utils.test.ts | 0 .../queries/mini_histogram_utils.ts | 0 ...ransform_significant_item_to_group.test.ts | 0 .../transform_significant_item_to_group.ts | 0 .../queue_field_candidates.ts | 0 .../ml/aiops_log_rate_analysis/state/hooks.ts | 0 .../ml/aiops_log_rate_analysis/state/index.ts | 0 ...te_analysis_field_candidates_slice.test.ts | 0 ...og_rate_analysis_field_candidates_slice.ts | 0 .../state/log_rate_analysis_slice.ts | 0 .../log_rate_analysis_table_slice.test.ts | 0 .../state/log_rate_analysis_table_slice.ts | 0 .../aiops_log_rate_analysis/state/store.tsx | 0 .../ml/aiops_log_rate_analysis/state/types.ts | 0 .../state/use_current_selected_group.ts | 0 .../use_current_selected_significant_item.ts | 0 .../ml/aiops_log_rate_analysis/tsconfig.json | 2 +- .../ml/aiops_log_rate_analysis/types.ts | 0 .../window_parameters.ts | 0 .../shared}/ml/anomaly_utils/README.md | 0 .../ml/anomaly_utils/aggregation_types.ts | 0 .../ml/anomaly_utils/anomaly_severity.ts | 0 .../anomaly_utils/anomaly_severity_types.ts | 0 .../ml/anomaly_utils/anomaly_threshold.ts | 0 .../ml/anomaly_utils/anomaly_utils.test.ts | 0 .../shared}/ml/anomaly_utils/anomaly_utils.ts | 0 .../shared}/ml/anomaly_utils/constants.ts | 0 .../shared}/ml/anomaly_utils/custom_urls.ts | 0 .../shared}/ml/anomaly_utils/detector_rule.ts | 0 .../shared}/ml/anomaly_utils/es_client.ts | 0 .../shared}/ml/anomaly_utils/field_types.ts | 0 .../shared}/ml/anomaly_utils/fields.ts | 0 .../get_formatted_severity_score.ts | 0 .../ml/anomaly_utils/get_severity.test.ts | 0 .../shared}/ml/anomaly_utils/get_severity.ts | 0 .../anomaly_utils/get_severity_color.test.ts | 0 .../ml/anomaly_utils/get_severity_color.ts | 0 .../ml/anomaly_utils/get_severity_type.ts | 0 .../shared}/ml/anomaly_utils/index.ts | 0 .../shared/ml/anomaly_utils/jest.config.js | 12 ++ .../shared}/ml/anomaly_utils/kibana.jsonc | 0 .../shared}/ml/anomaly_utils/package.json | 0 .../ml/anomaly_utils/severity_colors.ts | 0 .../shared}/ml/anomaly_utils/tsconfig.json | 2 +- .../shared}/ml/anomaly_utils/types.ts | 0 .../packages/shared}/ml/chi2test/README.md | 0 .../ml/chi2test/compute_chi_2_pvalue.test.ts | 0 .../ml/chi2test/compute_chi_2_pvalue.ts | 0 .../packages/shared}/ml/chi2test/constants.ts | 0 .../ml/chi2test/critical_table_lookup.ts | 0 .../packages/shared}/ml/chi2test/index.ts | 0 .../shared/ml/chi2test}/jest.config.js | 4 +- .../packages/shared}/ml/chi2test/kibana.jsonc | 0 .../packages/shared}/ml/chi2test/package.json | 0 .../packages/shared/ml/chi2test/tsconfig.json | 19 ++ .../packages/shared}/ml/chi2test/types.ts | 0 .../packages/shared}/ml/error_utils/README.md | 0 .../packages/shared}/ml/error_utils/index.ts | 0 .../shared/ml/error_utils/jest.config.js | 12 ++ .../shared}/ml/error_utils/kibana.jsonc | 0 .../shared}/ml/error_utils/package.json | 0 .../ml/error_utils/src/process_errors.test.ts | 0 .../ml/error_utils/src/process_errors.ts | 0 .../ml/error_utils/src/request_error.ts | 0 .../shared}/ml/error_utils/src/types.ts | 0 .../shared}/ml/error_utils/tsconfig.json | 2 +- .../shared}/ml/random_sampler_utils/README.md | 0 .../shared}/ml/random_sampler_utils/index.ts | 0 .../ml/random_sampler_utils/jest.config.js | 12 ++ .../ml/random_sampler_utils/kibana.jsonc | 0 .../ml/random_sampler_utils/package.json | 0 .../src/get_sample_probability.test.ts | 0 .../src/get_sample_probability.ts | 0 .../src/random_sampler_manager.ts | 0 .../src/random_sampler_wrapper.test.ts | 0 .../src/random_sampler_wrapper.ts | 0 .../ml/random_sampler_utils/tsconfig.json | 2 +- .../shared}/ml/response_stream/README.md | 0 .../ml/response_stream/client/constants.ts | 0 .../ml/response_stream/client/fetch_stream.ts | 0 .../ml/response_stream/client/index.ts | 0 .../ml/response_stream/client/stream_slice.ts | 0 .../response_stream/client/string_reducer.ts | 0 .../client/use_fetch_stream.ts | 0 .../shared/ml/response_stream/jest.config.js | 12 ++ .../shared}/ml/response_stream/kibana.jsonc | 0 .../shared}/ml/response_stream/package.json | 0 .../server/accept_compression.test.ts | 0 .../server/accept_compression.ts | 0 .../ml/response_stream/server/index.ts | 0 .../server/stream_factory.test.ts | 0 .../response_stream/server/stream_factory.ts | 0 .../shared}/ml/response_stream/tsconfig.json | 2 +- .../shared}/ml/runtime_field_utils/README.md | 0 .../shared}/ml/runtime_field_utils/index.ts | 0 .../ml/runtime_field_utils/jest.config.js | 12 ++ .../ml/runtime_field_utils/kibana.jsonc | 0 .../ml/runtime_field_utils/package.json | 0 .../src/get_combined_runtime_mappings.ts | 0 .../src/is_runtime_field.test.ts | 0 .../src/is_runtime_field.ts | 0 .../src/is_runtime_mappings.test.ts | 0 .../src/is_runtime_mappings.ts | 0 .../ml/runtime_field_utils/tsconfig.json | 2 +- .../shared}/ml/trained_models_utils/README.md | 0 .../shared}/ml/trained_models_utils/index.ts | 0 .../ml/trained_models_utils/jest.config.js | 12 ++ .../ml/trained_models_utils/kibana.jsonc | 0 .../ml/trained_models_utils/package.json | 0 .../src/constants/trained_models.ts | 0 .../ml/trained_models_utils}/tsconfig.json | 2 +- .../private}/data_visualizer/README.md | 0 .../private}/data_visualizer/common/app.ts | 0 .../data_visualizer/common/constants.ts | 0 .../data_visualizer/common/i18n_constants.ts | 0 .../common/types/field_request_config.ts | 0 .../common/types/field_stats.ts | 0 .../common/types/field_vis_config.ts | 0 .../data_visualizer/common/types/index.ts | 0 .../data_visualizer/common/types/indices.ts | 0 .../common/types/job_field_type.ts | 0 .../common/types/test_grok_pattern.ts | 0 .../common/types/time_field_request.ts | 0 .../common/utils/build_query_filters.ts | 0 .../common/utils/datafeed_utils.ts | 0 .../common/utils/parse_interval.test.ts | 0 .../common/utils/parse_interval.ts | 0 .../common/utils/runtime_field_utils.ts | 0 .../common/utils/tika_utils.ts | 0 .../private/data_visualizer/jest.config.js | 18 ++ .../private}/data_visualizer/kibana.jsonc | 0 .../data_visualizer/public/api/index.ts | 0 .../public/application/_index.scss | 0 .../application/common/components/_index.scss | 0 .../combined_fields/combined_field_label.tsx | 0 .../combined_fields/combined_fields_form.tsx | 0 .../combined_fields_read_only_form.tsx | 0 .../components/combined_fields/geo_point.tsx | 0 .../components/combined_fields/index.ts | 0 .../combined_fields/semantic_text.tsx | 0 .../components/combined_fields/types.ts | 0 .../components/combined_fields/utils.test.ts | 0 .../components/combined_fields/utils.ts | 0 .../document_count_chart.tsx | 0 .../document_count_chart/index.ts | 0 .../document_count_content.tsx | 0 .../document_count_content/index.ts | 0 .../total_count_header.tsx | 0 .../examples_list/examples_list.tsx | 0 .../common/components/examples_list/index.ts | 0 .../expanded_row/file_based_expanded_row.tsx | 0 .../geo_point_content/format_utils.ts | 0 .../geo_point_content/geo_point_content.tsx | 0 .../expanded_row/geo_point_content/index.ts | 0 .../geo_point_content_with_map.tsx | 0 .../geo_point_content_with_map/index.ts | 0 .../common/components/expanded_row/index.ts | 0 .../expanded_row/index_based_expanded_row.tsx | 0 .../expanded_row/use_expanded_row_css.ts | 0 .../field_count_panel/field_count_panel.tsx | 0 .../components/field_count_panel/index.ts | 0 .../field_data_row/action_menu/actions.ts | 0 .../field_data_row/action_menu/index.ts | 0 .../field_data_row/action_menu/lens_utils.ts | 0 .../common/components/field_data_row/index.ts | 0 .../field_data_row/number_content_preview.tsx | 0 .../field_names_filter/field_names_filter.tsx | 0 .../components/field_names_filter/index.ts | 0 .../field_type_icon/_field_type_icon.scss | 0 .../components/field_type_icon/_index.scss | 0 .../field_type_icon/field_type_icon.test.tsx | 0 .../field_type_icon/field_type_icon.tsx | 0 .../components/field_type_icon/index.ts | 0 .../field_types_filter/field_types_filter.tsx | 0 .../field_types_help_popover.tsx | 0 .../components/field_types_filter/index.ts | 0 .../fields_stats_grid/create_fields.ts | 0 .../fields_stats_grid/fields_stats_grid.tsx | 0 .../fields_stats_grid/filter_fields.ts | 0 .../fields_stats_grid/get_field_names.ts | 0 .../components/fields_stats_grid/index.ts | 0 .../filebeat_config_flyout/filebeat_config.ts | 0 .../filebeat_config_flyout.tsx | 0 .../filebeat_config_flyout/index.ts | 0 .../common/components/help_menu/help_menu.tsx | 0 .../common/components/help_menu/index.tsx | 0 .../common/components/link_card/index.ts | 0 .../common/components/link_card/link_card.tsx | 0 .../components/loading_indicator/index.ts | 0 .../loading_indicator/loading_indicator.tsx | 0 .../components/multi_select_picker/index.ts | 0 .../multi_select_picker.tsx | 0 .../components/not_in_docs_content/index.ts | 0 .../not_in_docs_context.tsx | 0 .../random_sampling_menu/probability_used.tsx | 0 .../random_sampler_range_slider.tsx | 0 .../random_sampling_menu.tsx | 0 .../common/components/results_links/index.ts | 0 .../results_links/results_links.tsx | 0 .../common/components/stats_table/_index.scss | 0 .../expanded_row_field_header.tsx | 0 .../expanded_row_field_header/index.ts | 0 .../components/field_count_stats/index.ts | 0 .../field_count_stats/metric_fields_count.tsx | 0 .../components/field_count_stats/styles.ts | 0 .../field_count_stats/total_fields_count.tsx | 0 .../field_data_expanded_row/_index.scss | 0 .../_number_content.scss | 0 .../boolean_content.tsx | 0 .../choropleth_map.tsx | 0 .../field_data_expanded_row/date_content.tsx | 0 .../document_stats.tsx | 0 .../field_data_expanded_row/error_message.tsx | 0 .../expanded_row_content.tsx | 0 .../expanded_row_panel.tsx | 0 .../field_data_expanded_row/index.ts | 0 .../field_data_expanded_row/ip_content.tsx | 0 .../keyword_content.tsx | 0 .../number_content.tsx | 0 .../field_data_expanded_row/other_content.tsx | 0 .../field_data_expanded_row/text_content.tsx | 0 .../components/field_data_row/_index.scss | 0 .../boolean_content_preview.tsx | 0 .../field_data_row/column_chart.scss | 0 .../field_data_row/column_chart.tsx | 0 .../field_data_row/distinct_values.tsx | 0 .../field_data_row/document_stats.tsx | 0 .../components/field_data_row/index.ts | 0 .../field_data_row/number_content_preview.tsx | 0 .../field_data_row/top_values_preview.tsx | 0 .../field_data_row/use_column_chart.test.tsx | 0 .../field_data_row/use_column_chart.tsx | 0 .../metric_distribution_chart/index.ts | 0 .../metric_distribution_chart.tsx | 0 ...metric_distribution_chart_data_builder.tsx | 0 ...tric_distribution_chart_tooltip_header.tsx | 0 .../data_visualizer_stats_table.tsx | 0 .../stats_table/hooks/color_range_legend.tsx | 0 .../components/stats_table/hooks/index.ts | 0 .../stats_table/hooks/use_color_range.test.ts | 0 .../stats_table/hooks/use_color_range.ts | 0 .../hooks/use_data_viz_chart_theme.ts | 0 .../common/components/stats_table/index.ts | 0 .../stats_table/types/field_data_row.ts | 0 .../components/stats_table/types/index.ts | 0 .../stats_table/use_table_settings.ts | 0 .../common/components/stats_table/utils.ts | 0 .../components/top_values/_top_values.scss | 0 .../common/components/top_values/index.ts | 0 .../components/top_values/top_values.tsx | 0 .../common/components/utils/format_value.ts | 0 .../common/components/utils/index.ts | 0 .../components/utils/kibana_field_format.ts | 0 .../utils/number_as_ordinal.test.ts | 0 .../components/utils/number_as_ordinal.ts | 0 .../common/components/utils/utils.ts | 0 .../public/application/common/constants.ts | 0 .../common/hooks/data_source_context.ts | 0 .../common/hooks/use_current_eui_theme.ts | 0 .../application/common/hooks/use_data.ts | 0 .../common/hooks/use_document_count_stats.ts | 0 .../application/common/hooks/use_search.ts | 0 .../common/types/data_visualizer_plugin.ts | 0 .../application/common/util/display_error.ts | 0 .../common/util/example_utils.test.ts | 0 .../application/common/util/example_utils.ts | 0 .../common/util/field_types_utils.ts | 0 .../common/util/get_data_test_subject.ts | 0 ...or_messages_from_es_shard_failures.test.ts | 0 ...t_error_messages_from_es_shard_failures.ts | 0 .../application/common/util/get_max_bytes.ts | 0 .../common/util/grok_pattern.test.ts | 0 .../application/common/util/grok_pattern.ts | 0 .../common/util/promise_all_settled_utils.ts | 0 .../charts/data_drift_distribution_chart.tsx | 0 .../charts/default_value_formatter.ts | 0 .../data_drift/charts/no_charts_data.tsx | 0 .../charts/overlap_distribution_chart.tsx | 0 .../charts/single_distribution_chart.tsx | 0 .../application/data_drift/constants.ts | 0 .../data_drift/data_drift_app_state.tsx | 0 .../data_drift_chart_tooltip_body.tsx | 0 .../data_drift/data_drift_hint.tsx | 0 .../data_drift/data_drift_overview_table.tsx | 0 .../data_drift/data_drift_page.tsx | 0 .../data_drift/data_drift_utils.ts | 0 .../data_drift/data_drift_view.tsx | 0 .../document_count_chart_singular.tsx | 2 +- .../index.tsx | 0 .../single_brush.tsx | 2 +- .../data_drift/document_count_with_brush.tsx | 0 .../public/application/data_drift/index.ts | 0 .../public/application/data_drift/types.ts | 0 .../data_drift/use_data_drift_result.ts | 0 .../data_drift/use_state_manager.ts | 0 .../components/about_panel/about_panel.tsx | 0 .../components/about_panel/index.ts | 0 .../about_panel/welcome_content.tsx | 0 .../analysis_summary/analysis_summary.tsx | 0 .../components/analysis_summary/index.ts | 0 .../components/doc_count_chart/axes.tsx | 0 .../doc_count_chart/doc_count_chart.tsx | 0 .../doc_count_chart/doc_count_search.ts | 0 .../doc_count_chart/event_rate_chart.tsx | 0 .../components/doc_count_chart/index.ts | 0 .../components/edit_flyout/edit_flyout.js | 0 .../components/edit_flyout/index.js | 0 .../components/edit_flyout/options/index.js | 0 .../edit_flyout/options/option_lists.ts | 0 .../components/edit_flyout/options/options.ts | 0 .../components/edit_flyout/overrides.js | 0 .../components/edit_flyout/overrides.test.js | 0 .../components/edit_flyout/overrides_utils.ts | 0 .../edit_flyout/overrides_validation.js | 0 .../explanation_flyout/explanation_flyout.tsx | 0 .../components/explanation_flyout/index.ts | 0 .../components/file_contents/field_badge.tsx | 0 .../file_contents/file_contents.tsx | 0 .../file_contents/grok_highlighter.ts | 0 .../components/file_contents/index.ts | 0 .../components/file_contents/preview_pdf.ts | 0 .../file_contents/use_text_parser.tsx | 0 .../file_data_visualizer_view/constants.ts | 0 .../file_data_visualizer_view.js | 0 .../file_error_callouts.tsx | 0 .../file_size_check.ts | 0 .../file_data_visualizer_view/index.js | 0 .../tika_analyzer.ts | 0 .../components/import_errors/errors.tsx | 0 .../components/import_errors/index.ts | 0 .../import_progress/import_progress.tsx | 0 .../components/import_progress/index.ts | 0 .../import_settings/advanced/advanced.tsx | 0 .../import_settings/advanced/index.ts | 0 .../import_settings/advanced/inputs.tsx | 0 .../advanced/use_existing_indices.ts | 0 .../create_data_view_tooltip.tsx | 0 .../import_settings/import_settings.tsx | 0 .../components/import_settings/index.ts | 0 .../import_settings/semantic_text_info.tsx | 0 .../components/import_settings/simple.tsx | 0 .../components/import_summary/failures.tsx | 0 .../import_summary/import_summary.tsx | 0 .../components/import_summary/index.ts | 0 .../components/import_view/auto_deploy.ts | 0 .../components/import_view/import.ts | 0 .../components/import_view/import_view.js | 0 .../components/import_view/index.js | 0 .../components/json_editor/index.ts | 0 .../components/json_editor/json_editor.tsx | 0 .../components/results_view/index.ts | 0 .../components/results_view/results_view.tsx | 0 .../file_data_visualizer.tsx | 0 .../application/file_data_visualizer/index.ts | 0 .../public/application/index.ts | 0 .../actions_panel/actions_panel.tsx | 0 .../components/actions_panel/index.ts | 0 .../data_view_management.tsx | 0 .../components/data_view_management/index.ts | 0 .../index_data_visualizer_view/index.ts | 0 .../index_data_visualizer_esql.tsx | 0 .../index_data_visualizer_view.tsx | 0 .../search_panel/esql/limit_size.tsx | 0 .../search_panel/field_name_filter.tsx | 0 .../search_panel/field_type_filter.tsx | 0 .../components/search_panel/index.ts | 0 .../components/search_panel/search_bar.tsx | 0 .../components/search_panel/search_panel.tsx | 0 .../constants/esql_constants.ts | 0 .../constants/field_stats_component_type.ts | 0 .../constants/index_data_visualizer_viewer.ts | 0 .../constants/random_sampler.ts | 0 .../embeddables/field_stats/constants.ts | 0 .../field_stats/field_stats_esql_editor.tsx | 0 .../field_stats/field_stats_factory.tsx | 0 .../field_stats/field_stats_initializer.tsx | 0 .../field_stats_initializer_view_type.tsx | 0 .../embeddables/field_stats/index.ts | 0 .../initialize_field_stats_controls.ts | 0 .../resolve_field_stats_embeddable_input.tsx | 0 .../embeddables/field_stats/types.ts | 0 .../grid_embeddable/embeddable_error_msg.tsx | 0 .../embeddable_esql_field_stats_table.tsx | 0 .../embeddable_field_stats_no_results.tsx | 0 .../embeddable_field_stats_table.tsx | 0 .../embeddable_loading_fallback.tsx | 0 .../grid_embeddable/field_stats_wrapper.tsx | 0 .../embeddables/grid_embeddable/types.ts | 0 .../esql/use_data_visualizer_esql_data.tsx | 0 .../hooks/esql/use_esql_field_stats_data.ts | 0 .../hooks/esql/use_esql_overall_stats_data.ts | 0 .../hooks/use_data_visualizer_grid_data.ts | 0 .../hooks/use_field_stats.ts | 0 .../hooks/use_overall_stats.ts | 0 .../index_data_visualizer/index.ts | 0 .../index_data_visualizer.tsx | 0 .../index_data_visualizer/locator/index.ts | 0 .../locator/locator.test.ts | 0 .../index_data_visualizer/locator/locator.ts | 0 .../index_data_visualizer/progress_utils.ts | 0 .../esql_requests/get_boolean_field_stats.ts | 0 .../get_count_and_cardinality.ts | 0 .../esql_requests/get_date_field_stats.ts | 0 .../esql_requests/get_keyword_fields.ts | 0 .../esql_requests/get_numeric_field_stats.ts | 0 .../esql_requests/handle_error.ts | 0 .../requests/build_random_sampler_agg.ts | 0 .../search_strategy/requests/constants.ts | 0 .../requests/esql_utils.test.ts | 0 .../search_strategy/requests/esql_utils.ts | 0 .../search_strategy/requests/fetch_utils.ts | 0 .../requests/get_boolean_field_stats.ts | 0 .../get_data_view_by_index_pattern.ts | 0 .../requests/get_date_field_stats.ts | 0 .../requests/get_document_stats.ts | 0 .../requests/get_field_examples.ts | 0 .../requests/get_fields_stats.ts | 0 .../requests/get_numeric_field_stats.ts | 0 .../requests/get_string_field_stats.ts | 0 .../search_strategy/requests/overall_stats.ts | 0 .../search_strategy/requests/utils.ts | 0 .../types/combined_query.ts | 0 .../index_data_visualizer/types/data_drift.ts | 0 .../types/esql_data_visualizer.ts | 0 .../types/index_data_visualizer_state.ts | 0 .../types/overall_stats.ts | 0 .../index_data_visualizer/types/storage.ts | 0 .../get_fields_with_subfields_utils.test.ts | 0 .../utils/get_fields_with_subfields_utils.ts | 0 ...n_fieldstats_unavailable_for_esql_query.ts | 0 .../utils/get_supported_aggs.ts | 0 .../utils/process_distribution_data.ts | 0 .../utils/saved_search_utils.test.ts | 0 .../utils/saved_search_utils.ts | 0 .../public/application/kibana_context.ts | 0 .../private}/data_visualizer/public/index.ts | 0 .../data_visualizer/public/kibana_services.ts | 0 .../lazy_load_bundle/component_wrapper.tsx | 0 .../public/lazy_load_bundle/index.ts | 0 .../public/lazy_load_bundle/lazy/index.tsx | 0 .../private}/data_visualizer/public/plugin.ts | 0 .../data_visualizer/public/register_home.ts | 0 .../data_visualizer/server/config_schema.ts | 0 .../private}/data_visualizer/server/index.ts | 0 .../private}/data_visualizer/server/plugin.ts | 0 .../server/register_custom_integration.ts | 0 .../private}/data_visualizer/server/routes.ts | 0 .../data_visualizer/server/types/deps.ts | 0 .../data_visualizer/server/types/index.ts | 0 .../server/utils/error_wrapper.ts | 0 .../private}/data_visualizer/tsconfig.json | 4 +- .../transform/common/constants.test.ts | 0 .../private}/transform/common/constants.ts | 0 .../private}/transform/common/index.ts | 0 .../transform/common/types/aggregations.ts | 0 .../transform/common/types/alerting.ts | 0 .../transform/common/types/capabilities.ts | 0 .../private}/transform/common/types/common.ts | 0 .../transform/common/types/data_view.test.ts | 0 .../transform/common/types/data_view.ts | 0 .../transform/common/types/es_index.ts | 0 .../common/types/es_ingest_pipeline.ts | 0 .../private}/transform/common/types/fields.ts | 0 .../transform/common/types/messages.ts | 0 .../transform/common/types/pivot_aggs.ts | 0 .../transform/common/types/pivot_group_by.ts | 0 .../transform/common/types/storage.ts | 0 .../transform/common/types/transform.ts | 0 .../transform/common/types/transform_stats.ts | 0 .../transform/common/utils/alerts.test.ts | 0 .../private}/transform/common/utils/alerts.ts | 0 .../create_capability_failure_message.ts | 0 .../utils/create_stats_unknown_message.ts | 0 .../private}/transform/common/utils/errors.ts | 0 .../transform/common/utils/es_utils.ts | 0 .../common/utils/field_utils.test.ts | 0 .../transform/common/utils/field_utils.ts | 0 .../transform/common/utils/to_array.ts | 0 .../common/utils/transform_api_key.ts | 0 .../plugins/private/transform}/jest.config.js | 11 +- .../plugins/private}/transform/kibana.jsonc | 0 .../transform/public/alerting/index.ts | 0 .../alerting/transform_alerting_flyout.tsx | 0 .../transform_health_rule_type/index.ts | 0 .../register_transform_health_rule.ts | 0 .../tests_selection_control.tsx | 0 .../transform_health_rule_trigger.tsx | 0 .../transform_selector_control.tsx | 0 .../public/app/__mocks__/app_dependencies.tsx | 0 .../private}/transform/public/app/app.tsx | 0 .../transform/public/app/app_dependencies.tsx | 0 .../common/__mocks__/transform_list_row.json | 0 .../app/common/__mocks__/transform_stats.json | 0 .../public/app/common/aggregations.test.ts | 0 .../public/app/common/aggregations.ts | 0 .../public/app/common/constants/index.ts | 0 .../public/app/common/data_grid.test.ts | 0 .../transform/public/app/common/data_grid.ts | 0 .../transform/public/app/common/dropdown.ts | 0 .../transform/public/app/common/fields.ts | 0 .../transform/public/app/common/index.ts | 0 .../app/common/managed_transforms_utils.ts | 0 .../public/app/common/navigation.tsx | 0 .../public/app/common/pivot_aggs.test.ts | 0 .../transform/public/app/common/pivot_aggs.ts | 0 .../public/app/common/pivot_group_by.ts | 0 .../app/common/reauthorization_utils.ts | 0 .../public/app/common/request.test.ts | 0 .../transform/public/app/common/request.ts | 0 .../public/app/common/time_zone_utils.test.ts | 0 .../public/app/common/time_zone_utils.ts | 0 .../public/app/common/transform.test.ts | 0 .../transform/public/app/common/transform.ts | 0 .../public/app/common/transform_list.ts | 0 .../public/app/common/transform_stats.test.ts | 0 .../public/app/common/transform_stats.ts | 0 .../validators/frequency_validator.test.ts | 0 .../common/validators/frequency_validator.ts | 0 .../public/app/common/validators/index.ts | 0 .../integer_above_zero_validator.test.ts | 0 .../integer_above_zero_validator.ts | 0 .../integer_range_minus_1_to_100_validator.ts | 0 .../is_continuous_mode_delay.test.ts | 0 .../validators/is_continuous_mode_delay.ts | 0 .../common/validators/is_json_string.test.ts | 0 .../app/common/validators/is_json_string.ts | 0 .../is_retention_policy_max_age.test.ts | 0 .../validators/is_retention_policy_max_age.ts | 0 .../is_transform_wizard_frequency.test.ts | 0 .../is_transform_wizard_frequency.ts | 0 .../common/validators/is_valid_frequency.ts | 0 .../public/app/common/validators/messages.ts | 0 .../parse_duration_above_zero.test.ts | 0 .../validators/parse_duration_above_zero.ts | 0 ...retention_policy_max_age_validator.test.ts | 0 .../retention_policy_max_age_validator.ts | 0 .../validators/string_validator.test.ts | 0 .../app/common/validators/string_validator.ts | 0 ...rm_settings_number_of_retries_validator.ts | 0 ...orm_settings_page_search_size_validator.ts | 0 .../public/app/common/validators/types.ts | 0 .../app/components/capabilities_wrapper.tsx | 0 .../transform/public/app/components/index.ts | 0 .../public/app/components/job_icon.tsx | 0 .../toast_notification_text.test.tsx | 0 .../components/toast_notification_text.tsx | 0 .../transform/public/app/hooks/index.ts | 0 .../public/app/hooks/use_create_transform.tsx | 0 .../public/app/hooks/use_data_search.ts | 0 .../public/app/hooks/use_data_view_exists.ts | 0 .../public/app/hooks/use_delete_transform.tsx | 0 .../app/hooks/use_documentation_links.ts | 0 .../app/hooks/use_get_data_view_titles.ts | 0 .../hooks/use_get_data_views_title_id_map.ts | 0 .../public/app/hooks/use_get_es_indices.ts | 0 .../app/hooks/use_get_es_ingest_pipelines.ts | 0 .../hooks/use_get_histograms_for_fields.ts | 0 .../public/app/hooks/use_get_transform.tsx | 0 .../hooks/use_get_transform_audit_messages.ts | 0 .../app/hooks/use_get_transform_nodes.ts | 0 .../app/hooks/use_get_transform_stats.ts | 0 .../public/app/hooks/use_get_transforms.ts | 0 .../app/hooks/use_get_transforms_preview.ts | 0 .../public/app/hooks/use_index_data.test.tsx | 0 .../public/app/hooks/use_index_data.ts | 0 .../app/hooks/use_reauthorize_transform.tsx | 0 .../app/hooks/use_refresh_transform_list.ts | 0 .../public/app/hooks/use_reset_transform.tsx | 0 .../app/hooks/use_schedule_now_transform.tsx | 0 .../app/hooks/use_search_items/common.ts | 0 .../app/hooks/use_search_items/index.ts | 0 .../use_search_items/use_search_items.ts | 0 .../public/app/hooks/use_start_transform.tsx | 0 .../public/app/hooks/use_stop_transform.tsx | 0 .../app/hooks/use_transform_capabilities.ts | 0 .../hooks/use_transform_config_data.test.ts | 0 .../app/hooks/use_transform_config_data.ts | 0 .../public/app/hooks/use_update_transform.ts | 0 .../private}/transform/public/app/index.scss | 0 .../public/app/mount_management_section.ts | 0 .../clone_transform_section.tsx | 0 .../app/sections/clone_transform/index.ts | 0 .../advanced_pivot_editor.tsx | 0 .../components/advanced_pivot_editor/index.ts | 0 .../advanced_pivot_editor_switch.tsx | 0 .../advanced_pivot_editor_switch/index.ts | 0 .../advanced_query_editor_switch.tsx | 0 .../advanced_query_editor_switch/index.ts | 0 .../advanced_runtime_mappings_editor.tsx | 0 ...dvanced_runtime_mappings_editor_switch.tsx | 0 .../index.ts | 0 .../switch_modal.tsx | 0 .../advanced_runtime_mappings_settings.tsx | 0 .../index.ts | 0 .../advanced_source_editor.tsx | 0 .../advanced_source_editor/index.ts | 0 .../aggregation_dropdown/dropdown.tsx | 0 .../components/aggregation_dropdown/index.ts | 0 .../_aggregation_label_form.scss | 0 .../components/aggregation_list/_index.scss | 0 .../aggregation_list/agg_label_form.test.tsx | 0 .../aggregation_list/agg_label_form.tsx | 0 .../components/aggregation_list/index.ts | 0 .../aggregation_list/list_form.test.tsx | 0 .../components/aggregation_list/list_form.tsx | 0 .../aggregation_list/list_summary.test.tsx | 0 .../aggregation_list/list_summary.tsx | 0 .../aggregation_list/popover_form.test.tsx | 0 .../aggregation_list/popover_form.tsx | 0 .../aggregation_list/sub_aggs_section.tsx | 0 .../date_picker_apply_switch.tsx | 0 .../date_picker_apply_switch/index.ts | 0 .../group_by_list/_group_by_label_form.scss | 0 .../components/group_by_list/_index.scss | 0 .../group_by_label_form.test.tsx | 0 .../group_by_list/group_by_label_form.tsx | 0 .../group_by_label_summary.test.tsx | 0 .../group_by_list/group_by_label_summary.tsx | 0 .../components/group_by_list/index.ts | 0 .../group_by_list/list_form.test.tsx | 0 .../components/group_by_list/list_form.tsx | 0 .../group_by_list/list_summary.test.tsx | 0 .../components/group_by_list/list_summary.tsx | 0 .../group_by_list/popover_form.test.tsx | 0 .../components/group_by_list/popover_form.tsx | 0 .../components/pivot_configuration/index.ts | 0 .../pivot_configuration.tsx | 0 .../components/source_search_bar/index.ts | 0 .../source_search_bar/source_search_bar.tsx | 0 .../components/step_create/index.ts | 0 .../step_create/step_create_form.test.tsx | 0 .../step_create/step_create_form.tsx | 0 .../step_create/step_create_summary.tsx | 0 .../apply_transform_config_to_define_state.ts | 0 .../step_define/common/common.test.ts | 0 .../step_define/common/constants.ts | 0 .../filter_agg/components/editor_form.tsx | 0 .../components/filter_agg_form.test.tsx | 0 .../filter_agg/components/filter_agg_form.tsx | 0 .../components/filter_range_form.tsx | 0 .../components/filter_term_form.tsx | 0 .../common/filter_agg/components/index.ts | 0 .../step_define/common/filter_agg/config.ts | 0 .../common/filter_agg/constants.ts | 0 .../step_define/common/filter_agg/index.ts | 0 .../step_define/common/filter_agg/types.ts | 0 .../step_define/common/get_agg_form_config.ts | 0 .../get_agg_name_conflict_toast_messages.ts | 0 .../common/get_default_aggregation_config.ts | 0 .../common/get_default_group_by_config.ts | 0 .../common/get_default_step_define_state.ts | 0 .../common/get_pivot_dropdown_options.ts | 0 .../components/step_define/common/index.ts | 0 .../common/percentiles_agg/config.test.ts | 0 .../common/percentiles_agg/config.ts | 0 .../common/percentiles_agg/constants.ts | 0 .../common/percentiles_agg/index.ts | 0 .../percentiles_form_component.tsx | 0 .../common/percentiles_agg/types.ts | 0 .../step_define/common/terms_agg/config.ts | 0 .../step_define/common/terms_agg/index.ts | 0 .../common/terms_agg/terms_form_component.tsx | 0 .../step_define/common/terms_agg/types.ts | 0 .../components/top_metrics_agg_form.tsx | 0 .../common/top_metrics_agg/config.test.ts | 0 .../common/top_metrics_agg/config.ts | 0 .../common/top_metrics_agg/index.ts | 0 .../common/top_metrics_agg/types.ts | 0 .../components/step_define/common/types.ts | 0 .../hooks/use_advanced_pivot_editor.ts | 0 .../use_advanced_runtime_mappings_editor.ts | 0 .../hooks/use_advanced_source_editor.ts | 0 .../step_define/hooks/use_date_picker.ts | 0 .../hooks/use_latest_function_config.test.ts | 0 .../hooks/use_latest_function_config.ts | 0 .../step_define/hooks/use_pivot_config.ts | 0 .../step_define/hooks/use_search_bar.ts | 0 .../step_define/hooks/use_step_define_form.ts | 0 .../components/step_define/index.ts | 0 .../step_define/latest_function_form.tsx | 0 .../step_define/pivot_function_form.tsx | 0 .../step_define/step_define_form.test.tsx | 0 .../step_define/step_define_form.tsx | 0 .../step_define/step_define_summary.test.tsx | 0 .../step_define/step_define_summary.tsx | 0 .../transform_function_selector.tsx | 0 .../components/step_details/common.ts | 0 .../components/step_details/index.ts | 0 .../step_details/step_details_form.tsx | 0 .../step_details/step_details_summary.tsx | 0 .../components/switch_modal/index.ts | 0 .../components/switch_modal/switch_modal.tsx | 0 .../components/wizard/_index.scss | 0 .../components/wizard/_wizard.scss | 0 .../components/wizard/index.ts | 0 .../components/wizard/storage.ts | 0 .../components/wizard/wizard.tsx | 0 .../components/wizard_nav/index.ts | 0 .../components/wizard_nav/wizard_nav.tsx | 0 .../create_transform_section.tsx | 0 .../app/sections/create_transform/index.ts | 0 .../edit_transform_api_error_callout.tsx | 0 .../components/edit_transform_flyout.tsx | 0 .../edit_transform_flyout_callout.tsx | 0 .../components/edit_transform_flyout_form.tsx | 0 .../edit_transform_flyout_form_text_area.tsx | 0 .../edit_transform_flyout_form_text_input.tsx | 0 .../edit_transform_ingest_pipeline.tsx | 0 .../edit_transform_retention_policy.tsx | 0 .../edit_transform_update_button.tsx | 0 .../app/sections/edit_transform/index.ts | 0 .../__mocks__/transform_config.ts | 0 .../state_management/actions.ts | 0 ...ply_form_state_to_transform_config.test.ts | 0 .../apply_form_state_to_transform_config.ts | 0 .../edit_transform_flyout_state.test.tsx | 0 .../edit_transform_flyout_state.tsx | 0 .../state_management/form_field.ts | 0 .../state_management/form_section.ts | 0 .../state_management/get_default_state.ts | 0 .../state_management/get_update_value.ts | 0 .../selectors/api_error_message.ts | 0 .../state_management/selectors/form_field.ts | 0 .../selectors/form_sections.ts | 0 .../selectors/is_form_touched.ts | 0 .../selectors/is_form_valid.ts | 0 .../selectors/retention_policy_field.ts | 0 .../selectors/updated_transform_config.ts | 0 .../state_management/validators.ts | 0 .../state_management/value_parsers.ts | 0 .../utils/capitalize_first_letter.ts | 0 .../action_clone/clone_action_name.tsx | 0 .../components/action_clone/index.ts | 0 .../action_clone/use_clone_action.tsx | 0 .../create_alert_rule_action_name.tsx | 0 .../components/action_create_alert/index.ts | 0 .../use_create_alert_rule_action.tsx | 0 .../action_delete/delete_action_modal.tsx | 0 .../action_delete/delete_action_name.test.tsx | 0 .../action_delete/delete_action_name.tsx | 0 .../components/action_delete/index.ts | 0 .../action_delete/use_delete_action.tsx | 0 .../discover_action_name.test.tsx | 0 .../action_discover/discover_action_name.tsx | 0 .../components/action_discover/index.ts | 0 .../action_discover/use_action_discover.tsx | 0 .../action_edit/edit_action_name.tsx | 0 .../components/action_edit/index.ts | 0 .../action_edit/use_edit_action.tsx | 0 .../components/action_reauthorize/index.ts | 0 .../reauthorize_action_modal.tsx | 0 .../reauthorize_action_name.tsx | 0 .../sort_transforms_to_reauthorize.test.ts | 0 .../sort_transforms_to_reauthorize.ts | 0 .../use_reauthorize_action.tsx | 0 .../components/action_reset/index.ts | 0 .../action_reset/reset_action_modal.tsx | 0 .../action_reset/reset_action_name.tsx | 0 .../action_reset/use_reset_action.tsx | 0 .../components/action_schedule_now/index.ts | 0 .../schedule_now_action_name.tsx | 0 .../use_schedule_now_action.tsx | 0 .../components/action_start/index.ts | 0 .../action_start/start_action_modal.tsx | 0 .../action_start/start_action_name.test.tsx | 0 .../action_start/start_action_name.tsx | 0 .../action_start/use_start_action.tsx | 0 .../components/action_stop/index.ts | 0 .../action_stop/stop_action_modal.tsx | 0 .../action_stop/stop_action_name.test.tsx | 0 .../action_stop/stop_action_name.tsx | 0 .../action_stop/use_stop_action.tsx | 0 .../create_transform_button/_index.scss | 0 .../_transform_search_dialog.scss | 0 .../create_transform_button.test.tsx | 0 .../create_transform_button.tsx | 0 .../create_transform_button/index.ts | 0 .../dangling_task_warning.tsx | 0 .../managed_transforms_callout.tsx | 0 .../refresh_transform_list_button/index.ts | 0 .../refresh_transform_list_button.tsx | 0 .../components/search_selection/index.ts | 0 .../search_selection/search_selection.tsx | 0 .../components/stats_bar/_index.scss | 0 .../components/stats_bar/_stat.scss | 0 .../components/stats_bar/_stats_bar.scss | 0 .../components/stats_bar/index.ts | 0 .../components/stats_bar/stat.tsx | 0 .../components/stats_bar/stats_bar.tsx | 0 .../transform_list/expanded_row.test.tsx | 0 .../transform_list/expanded_row.tsx | 0 .../expanded_row_column_view.test.tsx | 0 .../expanded_row_column_view.tsx | 0 .../expanded_row_details_pane.tsx | 0 .../expanded_row_health_pane.tsx | 0 .../expanded_row_json_pane.test.tsx | 0 .../transform_list/expanded_row_json_pane.tsx | 0 .../expanded_row_messages_pane.tsx | 0 .../expanded_row_preview_pane.tsx | 0 .../expanded_row_stats_pane.tsx | 0 .../components/transform_list/index.ts | 0 .../transform_health_colored_dot.tsx | 0 .../transform_list/transform_list.test.tsx | 0 .../transform_list/transform_list.tsx | 0 .../transform_search_bar_filters.tsx | 0 .../transform_task_state_badge.tsx | 0 .../transform_list/transforms_stats_bar.tsx | 0 .../transform_list/use_actions.test.tsx | 0 .../components/transform_list/use_actions.tsx | 0 .../transform_list/use_columns.test.tsx | 0 .../components/transform_list/use_columns.tsx | 0 .../transform_list/use_table_settings.ts | 0 .../sections/transform_management/index.ts | 0 .../transform_management_section.test.tsx | 0 .../transform_management_section.tsx | 0 .../public/app/serverless_context.tsx | 0 .../app/services/navigation/breadcrumb.ts | 0 .../app/services/navigation/doc_title.ts | 0 .../public/app/services/navigation/index.ts | 0 .../public/app/services/text/index.ts | 0 .../public/app/services/text/text.ts | 0 .../private}/transform/public/index.ts | 0 .../private}/transform/public/plugin.ts | 0 .../transform/public/register_feature.ts | 0 .../plugins/private}/transform/readme.md | 2 +- .../private}/transform/server/README.md | 0 .../transform/server/capabilities.test.ts | 0 .../private}/transform/server/capabilities.ts | 0 .../private}/transform/server/config.ts | 0 .../private}/transform/server/index.ts | 0 .../transform/server/lib/alerting/index.ts | 0 .../transform_health_rule_type/index.ts | 0 .../register_transform_health_rule_type.ts | 0 .../transform_health_rule_type/schema.ts | 0 .../transform_health_service.test.ts | 0 .../transform_health_service.ts | 0 .../private}/transform/server/plugin.ts | 0 .../api/audit_messages/register_route.ts | 0 .../api/audit_messages/route_handler.ts | 0 .../delete_transforms/delete_transforms.ts | 0 .../api/delete_transforms/register_route.ts | 0 .../route_handler_factory.ts | 0 .../api/field_histograms/register_route.ts | 0 .../api/field_histograms/route_handler.ts | 0 .../reauthorize_and_start_transforms.ts | 0 .../reauthorize_transforms/register_route.ts | 0 .../route_handler_factory.ts | 0 .../api/reset_transforms/register_route.ts | 0 .../api/reset_transforms/reset_transforms.ts | 0 .../api/reset_transforms/route_handler.ts | 0 .../schedule_now_transforms/register_route.ts | 0 .../schedule_now_transforms/route_handler.ts | 0 .../schedule_now_transforms.ts | 0 .../api/start_transforms/register_route.ts | 0 .../api/start_transforms/route_handler.ts | 0 .../api/start_transforms/start_transforms.ts | 0 .../api/stop_transforms/register_route.ts | 0 .../api/stop_transforms/route_handler.ts | 0 .../api/stop_transforms/stop_transforms.ts | 0 .../api/transforms_all/register_route.ts | 0 .../api/transforms_all/route_handler.ts | 0 .../api/transforms_create/register_route.ts | 0 .../route_handler_factory.ts | 0 .../api/transforms_nodes/register_route.ts | 0 .../route_handler_factory.test.ts | 0 .../transforms_nodes/route_handler_factory.ts | 0 .../api/transforms_preview/register_route.ts | 0 .../api/transforms_preview/route_handler.ts | 0 .../api/transforms_single/register_route.ts | 0 .../api/transforms_single/route_handler.ts | 0 .../transforms_stats_all/register_route.ts | 0 .../api/transforms_stats_all/route_handler.ts | 0 .../transforms_stats_single/register_route.ts | 0 .../transforms_stats_single/route_handler.ts | 0 .../api/transforms_update/register_route.ts | 0 .../api/transforms_update/route_handler.ts | 0 .../routes/api_schemas/audit_messages.ts | 0 .../server/routes/api_schemas/common.ts | 0 .../routes/api_schemas/delete_transforms.ts | 0 .../routes/api_schemas/field_histograms.ts | 0 .../api_schemas/reauthorize_transforms.ts | 0 .../routes/api_schemas/reset_transforms.ts | 0 .../api_schemas/schedule_now_transforms.ts | 0 .../routes/api_schemas/start_transforms.ts | 0 .../routes/api_schemas/stop_transforms.ts | 0 .../server/routes/api_schemas/transforms.ts | 0 .../routes/api_schemas/transforms_stats.ts | 0 .../routes/api_schemas/update_transforms.ts | 0 .../transform/server/routes/apidoc.json | 0 .../private}/transform/server/routes/index.ts | 0 .../server/routes/utils/error_utils.ts | 0 .../transform/server/services/index.ts | 0 .../transform/server/services/license.ts | 0 .../private}/transform/server/types.ts | 0 .../transform/server/usage/collector.ts | 0 .../private/transform}/server/usage/index.ts | 0 .../plugins/private}/transform/tsconfig.json | 4 +- .../plugins/shared}/aiops/README.md | 6 +- .../plugins/shared}/aiops/jest.config.js | 10 +- .../plugins/shared}/aiops/kibana.jsonc | 0 .../application/url_state/common.test.ts | 0 .../public/application/url_state/common.ts | 0 .../url_state/log_pattern_analysis.ts | 0 .../url_state/log_rate_analysis.ts | 0 ...uild_extended_base_filter_criteria.test.ts | 0 .../build_extended_base_filter_criteria.ts | 2 +- .../public/application/utils/search_utils.ts | 2 +- .../utils/time_series_dataview_check.tsx | 0 .../cases/change_point_charts_attachment.tsx | 0 .../public/cases/log_pattern_attachment.tsx | 0 .../cases/log_rate_analysis_attachment.tsx | 0 .../aiops/public/cases/register_cases.tsx | 0 .../change_point_detection_context.tsx | 0 .../change_point_detection_page.tsx | 0 .../change_point_detection_root.tsx | 0 .../change_point_type_filter.tsx | 0 .../change_points_table.tsx | 0 .../chart_component.tsx | 0 .../change_point_detection/charts_grid.tsx | 0 .../change_point_detection/constants.ts | 0 .../change_point_detection/fields_config.tsx | 0 .../function_picker.tsx | 0 .../change_point_detection/index.ts | 0 .../max_series_control.tsx | 0 .../metric_field_selector.tsx | 0 .../no_change_points_warning.tsx | 0 .../partitions_selector.tsx | 0 .../change_point_detection/search_bar.tsx | 0 .../split_field_selector.tsx | 0 .../use_change_point_agg_request.ts | 0 .../use_common_chart_props.ts | 0 .../use_split_field_cardinality.ts | 0 .../view_type_selector.tsx | 0 .../document_count_content.tsx | 0 .../document_count_content/index.ts | 0 .../total_count_header/index.ts | 0 .../total_count_header/total_count_header.tsx | 2 +- .../field_stats_content.tsx | 0 .../field_stats_popover.tsx | 0 .../components/field_stats_popover/index.ts | 0 .../log_categorization/attachments_menu.tsx | 0 .../categorize_field_actions.ts | 0 .../category_table/category_table.tsx | 0 .../category_table/expanded_row.tsx | 0 .../category_table/index.ts | 0 .../category_table/labels.ts | 0 .../category_table/table_header.tsx | 0 .../category_table/use_actions.tsx | 0 .../category_table/use_open_in_discover.ts | 0 .../category_validation_callout.tsx | 0 .../create_categorization_job.tsx | 0 .../document_count_chart.tsx | 0 .../format_category.test.tsx | 0 .../log_categorization/format_category.tsx | 0 .../components/log_categorization/index.ts | 0 .../log_categorization/information_text.tsx | 0 .../loading_categorization.tsx | 0 .../log_categorization_app_state.tsx | 0 .../log_categorization_enabled.ts | 0 .../discover_tabs.tsx | 0 .../embeddable_menu.tsx | 0 .../field_selector.tsx | 0 .../index.ts | 0 .../log_categorization_for_discover.tsx | 0 ...og_categorization_for_discover_wrapper.tsx | 0 .../log_categorization_for_embeddable.tsx | 0 .../minimum_time_range.ts | 0 .../selected_patterns.tsx | 0 .../use_minimum_time_range.ts | 0 .../log_categorization_for_flyout.tsx | 0 .../log_categorization_page.tsx | 0 .../log_categorization/sampling_menu/index.ts | 0 .../sampling_menu/random_sampler.ts | 0 .../random_sampler_range_slider.tsx | 0 .../sampling_menu/sampling_menu.tsx | 0 .../sampling_menu/sampling_panel.tsx | 0 .../use_random_sampler_storage.ts | 0 .../log_categorization/show_flyout.tsx | 0 .../technical_preview_badge/index.ts | 0 .../technical_preview_badge.tsx | 0 .../use_categorize_request.ts | 0 .../log_categorization/use_discover_links.ts | 0 .../use_validate_category_field.ts | 0 .../components/log_categorization/utils.ts | 0 .../components/log_rate_analysis/index.ts | 0 .../item_filter_apply_button.tsx | 0 .../log_rate_analysis/item_filter_popover.tsx | 0 .../log_rate_analysis_app_state.tsx | 0 .../log_rate_analysis_content/index.ts | 0 .../log_rate_analysis_attachments_menu.tsx | 0 .../log_rate_analysis_content.tsx | 0 .../log_rate_analysis_content_wrapper.tsx | 0 ...ate_analysis_document_count_chart_data.tsx | 0 .../log_rate_analysis_for_embeddable.tsx | 0 .../log_rate_analysis_info_popover.tsx | 0 .../log_rate_analysis_options.tsx | 0 .../log_rate_analysis_page.tsx | 2 +- .../log_rate_analysis_results.tsx | 0 ...d_transactions_correlation_impact_label.ts | 0 .../get_group_table_items.test.ts | 0 .../get_group_table_items.ts | 0 .../get_table_item_as_kql.test.ts | 0 .../get_table_item_as_kql.ts | 0 .../impact_bar.tsx | 0 .../log_rate_analysis_results_table/index.ts | 0 .../log_rate_analysis_results_table.tsx | 0 ...log_rate_analysis_results_table_groups.tsx | 0 .../table_action_button.tsx | 0 .../use_columns.tsx | 0 .../use_copy_to_clipboard_action.test.tsx | 0 .../use_copy_to_clipboard_action.tsx | 0 .../use_view_in_discover_action.tsx | 0 ...se_view_in_log_pattern_analysis_action.tsx | 0 .../public/components/mini_histogram/index.ts | 0 .../mini_histogram/mini_histogram.tsx | 0 .../public/components/page_header/index.ts | 0 .../components/page_header/page_header.tsx | 0 .../public}/components/search_panel/index.ts | 0 .../components/search_panel/search_panel.tsx | 0 .../public/components/time_field_warning.tsx | 0 .../change_point_chart_initializer.tsx | 0 .../embeddables/change_point_chart/const.ts | 0 .../embeddable_change_point_chart_factory.tsx | 0 .../embeddable_chart_component_wrapper.tsx | 0 .../embeddables/change_point_chart/index.ts | 0 .../initialize_change_point_controls.ts | 0 .../resolve_change_point_config_input.tsx | 0 .../embeddables/change_point_chart/types.ts | 0 .../shared}/aiops/public/embeddables/index.ts | 0 .../embeddable_log_rate_analysis_factory.tsx | 0 .../embeddables/log_rate_analysis/index.ts | 0 ...ize_log_rate_analysis_analysis_controls.ts | 0 ...g_rate_analysis_embeddable_initializer.tsx | 0 ...resolve_log_rate_analysis_config_input.tsx | 0 .../embeddables/log_rate_analysis/types.ts | 0 .../embeddable_pattern_analysis_factory.tsx | 0 .../embeddables/pattern_analysis/index.ts | 0 .../initialize_pattern_analysis_controls.ts | 0 .../pattern_analysis_component_wrapper.tsx | 0 .../pattern_analysis_initializer.tsx | 0 .../resolve_pattern_analysis_config_input.tsx | 0 .../embeddables/pattern_analysis/types.ts | 0 .../aiops/public/get_document_stats.ts | 0 .../hooks/__mocks__/use_aiops_app_context.ts | 0 .../public/hooks/__mocks__/use_reload.tsx | 0 .../public/hooks/use_aiops_app_context.ts | 0 .../public/hooks/use_cancellable_search.ts | 0 .../aiops/public/hooks/use_cases_modal.ts | 0 .../shared}/aiops/public/hooks/use_data.ts | 0 .../aiops/public/hooks/use_data_source.tsx | 0 .../public/hooks/use_document_count_stats.ts | 0 .../aiops/public/hooks/use_eui_theme.ts | 0 .../public/hooks/use_filters_query.test.tsx | 0 .../aiops/public/hooks/use_filters_query.tsx | 0 .../shared}/aiops/public/hooks/use_reload.tsx | 0 .../shared}/aiops/public/hooks/use_search.ts | 0 .../plugins/shared}/aiops/public/index.ts | 0 .../plugins/shared}/aiops/public/plugin.tsx | 0 .../change_point_detection.tsx | 0 .../aiops/public/shared_components/index.tsx | 0 .../log_rate_analysis_embeddable_wrapper.tsx | 0 .../shared_components/pattern_analysis.tsx | 0 .../aiops/public/shared_lazy_components.tsx | 0 .../shared}/aiops/public/types/index.ts | 0 .../shared}/aiops/public/types/storage.ts | 0 .../ui_actions/change_point_action_context.ts | 0 .../ui_actions/create_change_point_chart.tsx | 0 .../create_log_rate_analysis_actions.tsx | 0 .../create_pattern_analysis_action.tsx | 0 .../shared}/aiops/public/ui_actions/index.ts | 0 .../log_rate_analysis_action_context.ts | 0 .../ui_actions/open_change_point_ml.tsx | 0 .../pattern_analysis_action_context.ts | 0 .../plugins/shared}/aiops/server/index.ts | 0 .../shared}/aiops/server/lib/license.ts | 0 .../server/lib/track_route_usage.test.ts | 0 .../aiops/server/lib/track_route_usage.ts | 0 .../plugins/shared}/aiops/server/plugin.ts | 0 .../shared}/aiops/server/register_cases.ts | 0 .../define_route.ts | 0 .../route_handler_factory.ts | 0 .../aiops/server/routes/error_wrapper.ts | 0 .../analysis_handlers/grouping_handler.ts | 0 .../analysis_handlers/histogram_handler.ts | 0 .../analysis_handlers/index_info_handler.ts | 0 .../overall_histogram_handler.ts | 0 .../analysis_handlers/overrides_handler.ts | 0 .../significant_items_handler.ts | 0 .../analysis_handlers/top_items_handler.ts | 0 .../routes/log_rate_analysis/define_route.ts | 0 .../response_stream_factory.ts | 0 .../response_stream_utils/constants.ts | 0 .../log_debug_message.ts | 0 .../response_stream_utils/state_handler.ts | 0 .../response_stream_utils/stream_end.ts | 0 .../stream_end_with_updated_loading_state.ts | 0 .../stream_push_error.ts | 0 .../stream_push_ping_with_timeout.ts | 0 .../route_handler_factory.ts | 0 .../define_route.ts | 0 .../route_handler_factory.ts | 0 .../plugins/shared}/aiops/server/types.ts | 0 .../plugins/shared}/aiops/tsconfig.json | 4 +- .../plugins/shared}/ml/.gitignore | 0 .../__mocks__/mock_anomalies_table_data.json | 0 ...omalies_table_data_multiple_detectors.json | 0 .../common/api_schemas/json_schema_schema.ts | 0 .../shared}/ml/common/constants/alerts.ts | 0 .../ml/common/constants/annotations.ts | 0 .../shared}/ml/common/constants/app.ts | 0 .../shared}/ml/common/constants/calendars.ts | 0 .../shared}/ml/common/constants/cases.ts | 0 .../shared}/ml/common/constants/charts.ts | 0 .../shared}/ml/common/constants/cloud.ts | 0 .../ml/common/constants/index_patterns.ts | 0 .../ml/common/constants/job_actions.ts | 0 .../shared}/ml/common/constants/jobs_list.ts | 0 .../shared}/ml/common/constants/license.ts | 0 .../shared}/ml/common/constants/locator.ts | 0 .../ml/common/constants/message_levels.ts | 0 .../ml/common/constants/messages.test.mock.ts | 0 .../ml/common/constants/messages.test.ts | 0 .../shared}/ml/common/constants/messages.ts | 0 .../shared}/ml/common/constants/new_job.ts | 0 .../ml/common/constants/notifications.ts | 0 .../shared}/ml/common/constants/search.ts | 0 .../shared}/ml/common/constants/settings.ts | 0 .../shared}/ml/common/constants/states.ts | 0 .../ml/common/constants/trained_models.ts | 0 .../ml/common/constants/usage_collection.ts | 0 .../plugins/shared}/ml/common/index.ts | 0 .../shared}/ml/common/license/index.ts | 0 .../shared}/ml/common/license/ml_license.ts | 0 .../shared}/ml/common/openapi/README.md | 0 .../shared}/ml/common/openapi/ml_apis.yaml | 0 .../ml/common/openapi/ml_apis_serverless.yaml | 0 .../types/__mocks__/job_config_farequote.json | 0 .../plugins/shared}/ml/common/types/alerts.ts | 0 .../ml/common/types/annotations.test.ts | 0 .../shared}/ml/common/types/annotations.ts | 0 .../combined_job.test.ts | 0 .../anomaly_detection_jobs/combined_job.ts | 0 .../types/anomaly_detection_jobs/datafeed.ts | 0 .../anomaly_detection_jobs/datafeed_stats.ts | 0 .../types/anomaly_detection_jobs/index.ts | 0 .../types/anomaly_detection_jobs/job.ts | 0 .../types/anomaly_detection_jobs/job_stats.ts | 0 .../anomaly_detection_jobs/model_snapshot.ts | 0 .../anomaly_detection_jobs/summary_job.ts | 0 .../shared}/ml/common/types/audit_message.ts | 0 .../shared}/ml/common/types/calendars.ts | 0 .../shared}/ml/common/types/capabilities.ts | 0 .../shared}/ml/common/types/categories.ts | 0 .../shared}/ml/common/types/common.test.ts | 0 .../plugins/shared}/ml/common/types/common.ts | 0 .../ml/common/types/data_recognizer.ts | 0 .../shared}/ml/common/types/detector_rules.ts | 0 .../shared}/ml/common/types/filters.ts | 0 .../plugins/shared}/ml/common/types/groups.ts | 0 .../shared}/ml/common/types/job_service.ts | 0 .../shared}/ml/common/types/job_validation.ts | 0 .../plugins/shared}/ml/common/types/kibana.ts | 0 .../shared}/ml/common/types/locator.ts | 0 .../shared}/ml/common/types/management.ts | 0 .../shared}/ml/common/types/ml_server_info.ts | 0 .../shared}/ml/common/types/modules.ts | 0 .../shared}/ml/common/types/notifications.ts | 0 .../shared}/ml/common/types/results.ts | 0 .../shared}/ml/common/types/saved_objects.ts | 0 .../shared}/ml/common/types/storage.test.tsx | 0 .../shared}/ml/common/types/storage.ts | 0 .../shared}/ml/common/types/trained_models.ts | 0 .../shared}/ml/common/util/alerts.test.ts | 0 .../plugins/shared}/ml/common/util/alerts.ts | 0 .../common/util/anomalies_table_utils.test.ts | 0 .../ml/common/util/anomalies_table_utils.ts | 0 .../ml/common/util/anomaly_description.ts | 0 .../shared}/ml/common/util/chart_utils.ts | 0 .../shared}/ml/common/util/datafeed_utils.ts | 0 .../shared}/ml/common/util/es_utils.test.ts | 0 .../shared}/ml/common/util/es_utils.ts | 0 .../shared}/ml/common/util/fields_utils.ts | 0 .../ml/common/util/group_color_utils.ts | 0 .../shared}/ml/common/util/job_utils.test.ts | 0 .../shared}/ml/common/util/job_utils.ts | 0 .../util/metric_change_description.test.ts | 0 .../common/util/metric_change_description.ts | 0 .../ml/common/util/object_utils.test.ts | 0 .../shared}/ml/common/util/object_utils.ts | 0 .../ml/common/util/string_utils.test.ts | 0 .../shared}/ml/common/util/string_utils.ts | 0 .../ml/common/util/validation_utils.ts | 0 .../plugins/shared/ml}/jest.config.js | 8 +- .../plugins/shared}/ml/kibana.jsonc | 0 .../shared}/ml/public/__mocks__/core_start.ts | 0 .../ml/public/__mocks__/ml_start_deps.ts | 0 .../alert_actions.tsx | 0 .../anomaly_detection_alerts_table/index.ts | 0 .../register_alerts_table_configuration.tsx | 0 .../render_cell_value.test.tsx | 0 .../render_cell_value.tsx | 0 .../use_alerts_flyout.tsx | 0 .../advanced_settings.tsx | 0 .../config_validator.tsx | 0 .../alerting/anomaly_detection_rule/index.ts | 0 .../interim_results_control.tsx | 0 .../ml_anomaly_alert_trigger.tsx | 0 .../preview_alert_condition.tsx | 0 .../register_anomaly_detection_rule.tsx | 0 .../result_type_selector.tsx | 0 .../shared}/ml/public/alerting/index.ts | 0 .../ml/public/alerting/job_selector.tsx | 0 ...aly_detection_jobs_health_rule_trigger.tsx | 0 .../public/alerting/jobs_health_rule/index.ts | 0 .../register_jobs_health_alerting_rule.ts | 0 .../tests_selection_control.tsx | 0 .../ml/public/alerting/ml_alerting_flyout.tsx | 0 .../ml/public/alerting/register_ml_alerts.ts | 0 .../public/alerting/time_interval_control.tsx | 0 .../shared}/ml/public/alerting/validators.ts | 0 .../shared}/ml/public/application/_index.scss | 0 .../ml/public/application/_variables.scss | 0 .../access_denied/access_denied.tsx | 0 .../application/access_denied/index.tsx | 0 .../aiops/change_point_detection.tsx | 0 .../ml/public/application/aiops/index.ts | 0 .../application/aiops/log_categorization.tsx | 0 .../application/aiops/log_rate_analysis.tsx | 0 .../shared}/ml/public/application/app.tsx | 0 .../__mocks__/check_capabilities.ts | 0 .../capabilities/check_capabilities.ts | 0 .../capabilities/get_capabilities.ts | 0 .../__snapshots__/index.test.tsx.snap | 0 .../annotation_description_list/_index.scss | 0 .../index.test.tsx | 0 .../annotation_description_list/index.tsx | 0 .../annotation_flyout/index.test.tsx | 0 .../annotations/annotation_flyout/index.tsx | 0 .../__mocks__/mock_annotations.json | 0 .../annotations_table.test.js.snap | 0 .../annotations_table/annotations_table.js | 0 .../annotations_table.test.js | 0 .../annotations/annotations_table/index.js | 0 .../delete_annotation_modal/index.tsx | 0 .../anomalies_table/_anomalies_table.scss | 0 .../components/anomalies_table/_index.scss | 0 .../anomalies_table/anomalies_table.js | 0 .../anomalies_table/anomalies_table.test.js | 0 .../anomalies_table_columns.js | 0 .../anomalies_table_constants.ts | 0 .../anomalies_table/anomaly_details.test.js | 0 .../anomalies_table/anomaly_details.tsx | 0 .../anomalies_table/anomaly_details_utils.tsx | 0 .../anomalies_table/description_cell.js | 0 .../anomalies_table/detector_cell.js | 0 .../get_query_string_for_influencers.test.ts | 0 .../get_query_string_for_influencers.ts | 0 .../components/anomalies_table/index.js | 0 .../anomalies_table/influencers_cell.js | 0 .../components/anomalies_table/links_menu.tsx | 0 .../anomalies_table/severity_cell/index.ts | 0 .../severity_cell/severity_cell.test.tsx | 0 .../severity_cell/severity_cell.tsx | 0 .../anomaly_results_view_selector.test.tsx | 0 .../anomaly_results_view_selector.tsx | 0 .../anomaly_results_view_selector/index.tsx | 0 .../components/callout/callout.tsx | 0 .../application/components/callout/index.ts | 0 .../chart_tooltip/chart_tooltip.tsx | 0 .../chart_tooltip_service.test.ts | 0 .../chart_tooltip/chart_tooltip_service.ts | 0 .../chart_tooltip/chart_tooltip_styles.ts | 0 .../components/chart_tooltip/index.ts | 0 .../collapsible_panel/collapsible_panel.tsx | 0 .../components/collapsible_panel/index.ts | 0 .../collapsible_panel/panel_header_items.tsx | 0 .../color_range_legend/color_range_legend.tsx | 0 .../components/color_range_legend/index.ts | 0 .../use_color_range.test.ts | 0 .../color_range_legend/use_color_range.ts | 0 .../checkbox_showcharts.tsx | 0 .../controls/checkbox_showcharts/index.ts | 0 .../application/components/controls/index.ts | 0 .../controls/select_interval/index.ts | 0 .../select_interval/select_interval.test.tsx | 0 .../select_interval/select_interval.tsx | 0 .../controls/select_severity/index.ts | 0 .../select_severity/select_severity.test.tsx | 0 .../select_severity/select_severity.tsx | 0 .../create_data_view_button.tsx | 0 .../create_data_view_button/index.ts | 0 .../components/custom_hooks/index.ts | 0 .../custom_hooks/use_create_ad_links.ts | 0 .../custom_hooks/use_partial_state.ts | 0 .../custom_selection_table.js | 0 .../custom_selection_table/index.js | 0 .../__snapshots__/list.test.tsx.snap | 0 .../custom_url_editor/constants.ts | 0 .../custom_time_range_picker.tsx | 0 .../custom_urls/custom_url_editor/editor.tsx | 0 .../custom_url_editor/get_dropdown_options.ts | 0 .../custom_urls/custom_url_editor/index.ts | 0 .../interval_time_range_selector.tsx | 0 .../custom_url_editor/list.test.tsx | 0 .../custom_urls/custom_url_editor/list.tsx | 0 .../custom_urls/custom_url_editor/utils.ts | 0 .../components/custom_urls/custom_urls.tsx | 0 .../custom_urls/custom_urls_wrapper.tsx | 0 .../components/custom_urls/index.ts | 0 .../custom_urls/is_valid_custom_urls.ts | 0 .../data_recognizer/data_recognizer.d.ts | 0 .../data_recognizer/data_recognizer.js | 0 .../components/data_recognizer/index.ts | 0 .../data_recognizer/recognized_result.js | 0 .../delete_space_aware_item_check_modal.tsx | 0 .../index.ts | 0 .../display_value/display_value.tsx | 0 .../components/display_value/index.ts | 0 .../components/entity_cell/_index.scss | 0 .../components/entity_cell/entity_cell.scss | 0 .../entity_cell/entity_cell.test.tsx | 0 .../components/entity_cell/entity_cell.tsx | 0 .../components/entity_cell/index.ts | 0 .../feature_feedback_button.tsx | 0 .../feedback_button/feedback_button.tsx | 0 .../components/feedback_button/index.ts | 0 .../header_menu_portal/header_menu_portal.tsx | 0 .../components/header_menu_portal/index.ts | 0 .../components/help_icon/help_icon.tsx | 0 .../components/help_icon/index.tsx | 0 .../components/help_menu/help_menu.tsx | 0 .../components/help_menu/index.tsx | 0 .../components/help_popover/help_popover.scss | 0 .../components/help_popover/help_popover.tsx | 0 .../components/help_popover/index.tsx | 0 .../export_job_warning_callout.tsx | 0 .../export_jobs_flyout/export_jobs_flyout.tsx | 0 .../export_jobs_flyout_content.tsx | 0 .../export_jobs_flyout/index.ts | 0 .../export_jobs_flyout/jobs_export_service.ts | 0 .../cannot_import_jobs_callout.tsx | 0 .../cannot_read_file_callout.tsx | 0 .../import_jobs_flyout/import_jobs_flyout.tsx | 0 .../import_jobs_flyout/index.ts | 0 .../import_jobs_flyout/jobs_import_service.ts | 0 .../import_jobs_flyout/validate.ts | 0 .../components/import_export_jobs/index.ts | 0 .../components/influencers_list/index.ts | 0 .../influencers_list/influencers_list.tsx | 0 .../influencers_list_styles.ts | 0 .../components/items_grid/index.js | 0 .../components/items_grid/items_grid.js | 0 .../items_grid/items_grid_pagination.js | 0 .../components/job_message_icon/index.ts | 0 .../job_message_icon/job_message_icon.tsx | 0 .../components/job_messages/index.ts | 0 .../components/job_messages/job_messages.tsx | 0 .../components/job_selector/_index.scss | 0 .../job_selector/_job_selector.scss | 0 .../job_selector/id_badges/id_badges.js | 0 .../job_selector/id_badges/id_badges.test.js | 0 .../job_selector/id_badges/index.js | 0 .../components/job_selector/index.ts | 0 .../job_selector/job_select_service_utils.ts | 0 .../components/job_selector/job_selector.tsx | 0 .../job_selector/job_selector_badge/index.ts | 0 .../job_selector_badge/job_selector_badge.tsx | 0 .../job_selector/job_selector_flyout.tsx | 0 .../job_selector/job_selector_table/index.js | 0 .../job_selector_table/job_selector_table.js | 0 .../job_selector_table.test.js | 0 .../new_selection_id_badges/index.ts | 0 .../new_selection_id_badges.test.js | 0 .../new_selection_id_badges.tsx | 0 .../job_selector/timerange_bar/index.js | 0 .../timerange_bar/timerange_bar.js | 0 .../timerange_bar/timerange_bar.test.js | 0 .../job_selector/use_job_selection.ts | 0 .../components/job_spaces_sync/index.ts | 0 .../job_spaces_sync_flyout.tsx | 0 .../components/job_spaces_sync/sync_list.tsx | 0 .../jobs_awaiting_node_warning/index.ts | 0 .../jobs_awaiting_node_warning.tsx | 0 .../new_job_awaiting_node.tsx | 0 .../new_job_awaiting_node_shared/index.tsx | 0 .../lazy_loader.tsx | 0 .../new_job_awaiting_node_shared.tsx | 0 .../application/components/link_card/index.ts | 0 .../components/link_card/link_card.tsx | 0 .../components/loading_indicator/index.ts | 0 .../loading_indicator/loading_indicator.tsx | 0 .../components/message_call_out/index.js | 0 .../message_call_out/message_call_out.js | 0 .../components/ml_entity_selector/index.ts | 0 .../ml_entity_selector.test.tsx | 0 .../ml_entity_selector/ml_entity_selector.tsx | 0 .../add_inference_pipeline_flyout.tsx | 0 .../additional_advanced_settings.tsx | 0 .../components/pipeline_details.tsx | 0 .../components/processor_configuration.tsx | 0 .../components/reindex_with_pipeline.tsx | 0 .../components/save_changes_button.tsx | 0 .../ml_inference/components/test_pipeline.tsx | 0 .../components/ml_inference/constants.ts | 0 .../ml_inference/get_pipeline_config.ts | 0 .../components/ml_inference/get_steps.ts | 0 .../ml_inference/hooks/use_fetch_pipelines.ts | 0 .../components/ml_inference/index.ts | 0 .../ml_inference/retry_create_data_view.ts | 0 .../components/ml_inference/state.ts | 0 .../components/ml_inference/types.ts | 0 .../components/ml_inference/validation.ts | 0 .../application/components/ml_page/index.ts | 0 .../components/ml_page/ml_page.tsx | 0 .../ml_page/notifications_indicator.tsx | 0 .../components/ml_page/side_nav.tsx | 0 .../ml_saved_objects_spaces_list/index.ts | 0 .../ml_saved_objects_spaces_list.tsx | 0 .../close_job_confirm/close_job_confirm.tsx | 0 .../close_job_confirm/index.ts | 0 .../edit_model_snapshot_flyout.tsx | 0 .../edit_model_snapshot_flyout/index.ts | 0 .../components/model_snapshots/index.ts | 0 .../model_snapshots/model_snapshots_table.tsx | 0 .../chart_loader.ts | 0 .../create_calendar.tsx | 0 .../revert_model_snapshot_flyout/index.ts | 0 .../revert_model_snapshot_flyout.tsx | 0 .../components/multi_select_picker/index.ts | 0 .../multi_select_picker.tsx | 0 .../node_available_warning/hooks.ts | 0 .../node_available_warning/index.ts | 0 .../node_available_warning.tsx | 0 .../node_available_warning_shared.tsx | 0 .../node_available_warning/warning.tsx | 0 .../components/page_header/index.ts | 0 .../components/page_header/page_header.tsx | 0 .../components/page_title/index.ts | 0 .../components/page_title/page_title.tsx | 0 .../actions_section.test.js.snap | 0 .../condition_expression.test.js.snap | 0 .../conditions_section.test.js.snap | 0 .../rule_editor_flyout.test.js.snap | 0 .../scope_expression.test.js.snap | 0 .../__snapshots__/scope_section.test.js.snap | 0 .../components/rule_editor/_index.scss | 0 .../components/rule_editor/_rule_editor.scss | 0 .../components/rule_editor/actions_section.js | 0 .../rule_editor/actions_section.test.js | 0 .../detector_description_list.test.js.snap | 0 .../_detector_description_list.scss | 0 .../detector_description_list/_index.scss | 0 .../detector_description_list.js | 0 .../detector_description_list.test.js | 0 .../detector_description_list/index.js | 0 .../rule_editor/condition_expression.js | 0 .../rule_editor/condition_expression.test.js | 0 .../rule_editor/conditions_section.js | 0 .../rule_editor/conditions_section.test.js | 0 .../components/rule_editor/index.js | 0 .../rule_editor/rule_editor_flyout.js | 0 .../rule_editor/rule_editor_flyout.test.js | 0 .../rule_editor/scope_expression.js | 0 .../rule_editor/scope_expression.test.js | 0 .../components/rule_editor/scope_section.js | 0 .../rule_editor/scope_section.test.js | 0 .../add_to_filter_list_link.test.js.snap | 0 .../delete_rule_modal.test.js.snap | 0 .../edit_condition_link.test.js.snap | 0 .../add_to_filter_list_link.js | 0 .../add_to_filter_list_link.test.js | 0 .../select_rule_action/delete_rule_modal.js | 0 .../delete_rule_modal.test.js | 0 .../select_rule_action/edit_condition_link.js | 0 .../edit_condition_link.test.js | 0 .../rule_editor/select_rule_action/index.js | 0 .../select_rule_action/rule_action_panel.js | 0 .../rule_action_panel.test.js | 0 .../select_rule_action/select_rule_action.js | 0 .../components/rule_editor/utils.js | 0 .../components/rule_editor/utils.test.js | 0 .../saved_objects_warning/__mocks__/index.ts | 0 .../components/saved_objects_warning/index.ts | 0 .../saved_objects_warning.tsx | 0 .../components/scatterplot_matrix/index.ts | 0 .../scatterplot_matrix.test.tsx | 0 .../scatterplot_matrix/scatterplot_matrix.tsx | 0 .../scatterplot_matrix_vega_lite_spec.test.ts | 0 .../scatterplot_matrix_vega_lite_spec.ts | 0 .../use_scatterplot_field_options.ts | 0 .../components/severity_control/index.ts | 0 .../severity_control/severity_control.tsx | 0 .../shared/add_inference_pipeline_footer.tsx | 0 ...dd_inference_pipeline_horizontal_steps.tsx | 0 .../application/components/shared/index.ts | 0 .../shared/on_failure_configuration.tsx | 0 .../shared/pipeline_details_title.tsx | 0 .../shared/pipeline_name_and_description.tsx | 0 .../shared/review_and_create_pipeline.tsx | 0 .../application/components/stats_bar/index.ts | 0 .../application/components/stats_bar/stat.tsx | 0 .../components/stats_bar/stats_bar.tsx | 0 .../technical_preview_badge/index.ts | 0 .../technical_preview_badge.tsx | 0 .../application/components/upgrade/index.ts | 0 .../components/upgrade/upgrade_warning.tsx | 0 .../components/validate_job/index.ts | 0 .../validate_job/validate_job_view.d.ts | 0 .../validate_job/validate_job_view.js | 0 .../validate_job/validate_job_view.test.js | 0 .../components/vega_chart/common.ts | 0 .../components/vega_chart/index.ts | 0 .../components/vega_chart/vega_chart.tsx | 0 .../vega_chart/vega_chart_loading.tsx | 0 .../components/vega_chart/vega_chart_view.tsx | 0 .../contexts/kibana/__mocks__/index.ts | 0 .../kibana/__mocks__/kibana_context.ts | 0 .../kibana/__mocks__/use_field_formatter.ts | 0 .../kibana/__mocks__/use_ml_api_context.ts | 0 .../kibana/__mocks__/use_ml_license.ts | 0 .../kibana/__mocks__/use_timefilter.ts | 0 .../application/contexts/kibana/index.ts | 0 .../contexts/kibana/kibana_context.ts | 0 .../contexts/kibana/use_cases_modal.ts | 0 .../contexts/kibana/use_create_url.ts | 0 .../contexts/kibana/use_current_theme.ts | 0 .../contexts/kibana/use_field_formatter.ts | 0 .../contexts/kibana/use_ml_api_context.ts | 0 .../contexts/kibana/use_ml_license.ts | 0 .../contexts/kibana/use_navigate_to_path.ts | 0 .../kibana/use_notifications_context.ts | 0 .../kibana/use_ui_settings_context.ts | 0 .../contexts/ml/__mocks__/data_view.ts | 0 .../ml/__mocks__/data_view_contract.ts | 0 .../contexts/ml/__mocks__/kibana_config.ts | 0 .../ml/__mocks__/ml_notifications_context.tsx | 0 .../contexts/ml/__mocks__/saved_search.ts | 0 .../contexts/ml/data_source_context.tsx | 0 .../public/application/contexts/ml/index.ts | 0 .../ml/ml_annotation_updates_context.ts | 0 .../ml/ml_notifications_context.test.tsx | 0 .../contexts/ml/ml_notifications_context.tsx | 0 .../contexts/ml/ml_server_info_context.tsx | 0 .../contexts/ml/serverless_context.tsx | 0 .../contexts/ml/use_job_selection_flyout.tsx | 0 .../common/analytics.test.ts | 0 .../data_frame_analytics/common/analytics.ts | 0 .../common/get_destination_index.ts | 0 .../common/get_index_data.ts | 0 .../common/get_index_fields.ts | 0 .../get_scatterplot_matrix_legend_type.ts | 0 .../data_frame_analytics/common/index.ts | 0 .../common/render_cell_popover.tsx | 0 .../common/search_bar_filters.tsx | 0 .../common/use_results_view_config.ts | 0 .../advanced_step/advanced_step.tsx | 0 .../advanced_step/advanced_step_details.tsx | 0 .../advanced_step/advanced_step_form.tsx | 0 .../advanced_step/hyper_parameters.tsx | 0 .../components/advanced_step/index.ts | 0 .../outlier_hyper_parameters.tsx | 0 .../back_to_list_panel/back_to_list_panel.tsx | 0 .../components/back_to_list_panel/index.ts | 0 .../analysis_fields_table.tsx | 0 .../configuration_step/configuration_step.tsx | 0 .../configuration_step_details.tsx | 0 .../configuration_step_form.tsx | 0 .../form_options_validation.ts | 0 .../components/configuration_step/index.ts | 0 .../configuration_step/job_type.tsx | 0 .../supported_fields_message.tsx | 0 .../configuration_step/use_saved_search.ts | 0 .../components/continue_button.tsx | 0 .../create_analytics_advanced_editor.tsx | 0 .../editor_component.tsx | 0 .../create_analytics_advanced_editor/index.ts | 0 .../components/create_step/create_step.tsx | 0 .../components/create_step/index.ts | 0 .../create_step_footer/create_step_footer.tsx | 0 .../components/create_step_footer/index.ts | 0 .../create_step_footer/progress_stats.tsx | 0 .../details_step/additional_section.tsx | 0 .../components/details_step/description.tsx | 0 .../components/details_step/details_step.tsx | 0 .../details_step/details_step_details.tsx | 0 .../details_step/details_step_form.tsx | 0 .../components/details_step/index.ts | 0 .../analytics_creation/components/index.ts | 0 .../components/index_permissions_callout.tsx | 0 .../components/runtime_mappings/index.ts | 0 .../runtime_mappings/runtime_mappings.tsx | 0 .../runtime_mappings_editor.tsx | 0 .../runtime_mappings/switch_modal.tsx | 0 .../components/shared/fetch_explain_data.ts | 0 .../components/shared/index.ts | 0 .../components/shared/messages.tsx | 0 .../components/validation_step/index.ts | 0 .../validation_step/validation_step.tsx | 0 .../validation_step_details.tsx | 0 .../validation_step_wrapper.tsx | 0 .../components/view_results_panel/index.ts | 0 .../view_results_panel/view_results_panel.tsx | 0 .../pages/analytics_creation/hooks/index.ts | 0 .../hooks/use_can_create_data_view.ts | 0 .../hooks/use_data_view_time_fields.ts | 0 .../hooks/use_has_index_permission.ts | 0 .../hooks/use_index_data.ts | 0 .../pages/analytics_creation/index.ts | 0 .../pages/analytics_creation/page.tsx | 0 .../classification_exploration.tsx | 0 .../column_data.tsx | 0 .../confusion_matrix_help_popover.tsx | 0 .../evaluate_panel.tsx | 0 .../evaluate_stat.tsx | 0 .../evaluation_quality_metrics_table.tsx | 0 .../get_roc_curve_chart_vega_lite_spec.tsx | 0 .../classification_exploration/index.ts | 0 .../is_training_filter.ts | 0 .../roc_curve_help_popover.tsx | 0 .../use_confusion_matrix.ts | 0 .../use_roc_curve.ts | 0 .../data_view_prompt/data_view_prompt.tsx | 0 .../components/data_view_prompt/index.ts | 0 .../error_callout/error_callout.tsx | 0 .../components/error_callout/index.ts | 0 .../expandable_section/expandable_section.tsx | 0 .../expandable_section_analytics.tsx | 0 .../expandable_section_results.tsx | 0 .../expandable_section_splom.tsx | 0 .../components/expandable_section/index.ts | 0 .../exploration_page_wrapper.tsx | 0 .../exploration_page_wrapper/index.ts | 0 .../exploration_query_bar.tsx | 0 .../components/exploration_query_bar/index.ts | 0 .../exploration_results_table.tsx | 0 .../exploration_results_table/index.ts | 0 .../use_exploration_data_grid.ts | 0 .../use_exploration_results.ts | 0 .../decision_path_chart.tsx | 0 .../decision_path_classification.tsx | 0 .../decision_path_json_viewer.tsx | 0 .../decision_path_popover.tsx | 0 .../decision_path_regression.tsx | 0 .../missing_decision_path_callout.tsx | 0 .../use_classification_path_data.test.tsx | 0 .../use_classification_path_data.tsx | 0 .../job_config_error_callout/index.ts | 0 .../job_config_error_callout.tsx | 0 .../components/loading_panel/index.ts | 0 .../loading_panel/loading_panel.tsx | 0 .../outlier_exploration/common.test.ts | 0 .../components/outlier_exploration/common.ts | 0 .../components/outlier_exploration/index.ts | 0 .../outlier_exploration.test.tsx | 0 .../outlier_exploration.tsx | 0 .../use_outlier_data.test.ts | 0 .../outlier_exploration/use_outlier_data.ts | 0 .../regression_exploration/evaluate_panel.tsx | 0 .../regression_exploration/evaluate_stat.tsx | 0 .../regression_exploration/index.ts | 0 .../regression_exploration.tsx | 0 .../feature_importance_summary.tsx | 0 .../hooks/use_exploration_url_state.ts | 0 .../pages/analytics_exploration/index.ts | 0 .../pages/analytics_exploration/page.tsx | 0 .../action_clone/clone_action_name.test.ts | 0 .../action_clone/clone_action_name.tsx | 0 .../components/action_clone/index.ts | 0 .../action_clone/use_clone_action.tsx | 0 .../action_delete/delete_action_modal.tsx | 0 .../action_delete/delete_action_name.test.tsx | 0 .../action_delete/delete_action_name.tsx | 0 .../components/action_delete/index.ts | 0 .../action_delete/use_delete_action.tsx | 0 .../action_edit/edit_action_flyout.tsx | 0 .../action_edit/edit_action_name.tsx | 0 .../components/action_edit/index.ts | 0 .../action_edit/use_edit_action.tsx | 0 .../components/action_map/index.ts | 0 .../components/action_map/map_button.tsx | 0 .../components/action_map/use_map_action.tsx | 0 .../components/action_start/index.ts | 0 .../action_start/start_action_modal.tsx | 0 .../action_start/start_action_name.tsx | 0 .../action_start/use_start_action.tsx | 0 .../components/action_stop/index.ts | 0 .../action_stop/stop_action_modal.tsx | 0 .../action_stop/stop_action_name.tsx | 0 .../action_stop/use_stop_action.tsx | 0 .../action_view/get_view_link_status.ts | 0 .../components/action_view/index.ts | 0 .../action_view/use_view_action.tsx | 0 .../components/action_view/view_button.tsx | 0 .../__mocks__/analytics_list_item.json | 0 .../__mocks__/analytics_stats.json | 0 .../analytics_list/analytics_list.tsx | 0 .../components/analytics_list/common.test.ts | 0 .../components/analytics_list/common.ts | 0 .../analytics_list/expanded_row.tsx | 0 .../expanded_row_details_pane.tsx | 0 .../analytics_list/expanded_row_json_pane.tsx | 0 .../expanded_row_messages_pane.tsx | 0 .../components/analytics_list/index.ts | 0 .../analytics_list/progress_bar.tsx | 0 .../components/analytics_list/use_actions.tsx | 0 .../components/analytics_list/use_columns.tsx | 0 .../analytics_list/use_refresh_interval.ts | 0 .../analytics_list/use_table_settings.ts | 0 .../create_analytics_button.test.tsx | 0 .../create_analytics_button.tsx | 0 .../create_analytics_button/index.ts | 0 .../data_frame_analytics_kibana.png | Bin .../components/empty_prompt/empty_prompt.tsx | 0 .../components/empty_prompt/index.ts | 0 .../refresh_analytics_list_button/index.ts | 0 .../refresh_analytics_list_button.tsx | 0 .../components/source_selection/index.ts | 0 .../source_selection.test.tsx | 0 .../source_selection/source_selection.tsx | 0 .../use_create_analytics_form/actions.ts | 0 .../hooks/use_create_analytics_form/index.ts | 0 .../use_create_analytics_form/reducer.test.ts | 0 .../use_create_analytics_form/reducer.ts | 0 .../use_create_analytics_form/state.test.ts | 0 .../hooks/use_create_analytics_form/state.ts | 0 .../use_create_analytics_form.test.tsx | 0 .../use_create_analytics_form.ts | 0 .../pages/analytics_management/index.ts | 0 .../pages/analytics_management/page.tsx | 0 .../analytics_service/delete_analytics.ts | 0 .../analytics_service/get_analytics.test.ts | 0 .../analytics_service/get_analytics.ts | 0 .../services/analytics_service/index.ts | 0 .../analytics_service/start_analytics.ts | 0 .../analytics_service/stop_analytics.ts | 0 .../analytics_id_selector.tsx | 0 .../analytics_id_selector_controls.tsx | 0 .../components/analytics_selector/index.ts | 0 .../pages/job_map/components/controls.tsx | 0 .../pages/job_map/components/cytoscape.tsx | 0 .../job_map/components/cytoscape_options.tsx | 0 .../icons/ml_classification_job.svg | 0 .../icons/ml_outlier_detection_job.svg | 0 .../components/icons/ml_regression_job.svg | 0 .../pages/job_map/components/index.ts | 0 .../pages/job_map/components/legend.tsx | 0 .../job_map/components/use_ref_dimensions.ts | 0 .../pages/job_map/index.ts | 0 .../pages/job_map/job_map.tsx | 0 .../pages/job_map/page.tsx | 0 .../job_map/use_fetch_analytics_map_data.ts | 0 .../pages/source_selection/index.ts | 0 .../pages/source_selection/page.tsx | 0 .../data_drift_index_patterns_editor.tsx | 0 .../data_drift/data_drift_page.tsx | 0 .../data_drift/data_view_editor.tsx | 0 .../data_drift/index_patterns_picker.tsx | 0 .../datavisualizer_selector.tsx | 0 .../file_based/file_datavisualizer.tsx | 0 .../datavisualizer/file_based/index.tsx | 0 .../application/datavisualizer/index.ts | 0 .../index_based/common/request.ts | 0 .../index_based/data_loader/data_loader.ts | 0 .../index_based/data_loader/index.ts | 0 .../datavisualizer/index_based/index.ts | 0 .../index_based/index_data_visualizer.tsx | 0 .../__mocks__/mock_overall_swimlane.json | 0 .../__mocks__/mock_viewby_swimlane.json | 0 .../application/explorer/_explorer.scss | 0 .../public/application/explorer/_index.scss | 0 .../application/explorer/actions/index.ts | 0 .../explorer/actions/job_selection.ts | 0 .../explorer/actions/load_explorer_data.ts | 0 .../explorer/alerts/alerts_panel.tsx | 0 .../explorer/alerts/alerts_summary.tsx | 0 .../anomaly_detection_alerts_state_service.ts | 0 .../application/explorer/alerts/chart.tsx | 0 .../application/explorer/alerts/const.ts | 0 .../alerts/get_alerts_summary.test.ts | 0 .../explorer/alerts/get_alerts_summary.ts | 0 .../application/explorer/alerts/index.ts | 0 .../explorer/alerts/swim_lane_wrapper.tsx | 0 .../explorer/annotation_timeline.tsx | 0 .../application/explorer/anomalies_map.tsx | 0 .../explorer/anomaly_charts_state_service.ts | 0 .../explorer/anomaly_context_menu.tsx | 0 .../explorer/anomaly_explorer_common_state.ts | 0 .../explorer/anomaly_explorer_context.tsx | 0 .../application/explorer/anomaly_timeline.tsx | 0 .../anomaly_timeline_help_popover.tsx | 0 .../anomaly_timeline_state_service.ts | 0 .../explorer/calculate_row_options.test.ts | 0 .../explorer/calculate_row_options.ts | 0 ...explorer_no_influencers_found.test.js.snap | 0 .../explorer_no_influencers_found.test.js | 0 .../explorer_no_influencers_found.tsx | 0 .../explorer_no_influencers_found/index.ts | 0 .../explorer_no_jobs_selected.tsx | 0 .../explorer_no_jobs_selected/index.ts | 0 .../explorer_no_results_found.test.js.snap | 0 .../explorer_no_results_found.test.js | 0 .../explorer_no_results_found.tsx | 0 .../explorer_no_results_found/index.ts | 0 .../explorer_query_bar/explorer_query_bar.tsx | 0 .../components/explorer_query_bar/index.ts | 0 .../application/explorer/components/index.ts | 0 .../explorer/components/no_overall_data.tsx | 0 .../public/application/explorer/constants.ts | 0 .../public/application/explorer/explorer.tsx | 0 .../__mocks__/mock_anomaly_chart_records.json | 0 .../__mocks__/mock_anomaly_record.json | 0 .../__mocks__/mock_chart_data.js | 0 .../__mocks__/mock_chart_data_rare.js | 0 .../__mocks__/mock_detectors_by_job.json | 0 .../__mocks__/mock_job_config.json | 0 .../mock_series_config_filebeat.json | 0 .../__mocks__/mock_series_config_rare.json | 0 .../mock_series_promises_response.json | 0 .../explorer_chart_info_tooltip.test.js.snap | 0 .../explorer_charts/_explorer_chart.scss | 0 .../_explorer_chart_tooltip.scss | 0 .../explorer/explorer_charts/_index.scss | 0 .../explorer_chart_label.test.js.snap | 0 .../explorer_chart_label_badge.test.js.snap | 0 .../_explorer_chart_label.scss | 0 .../_explorer_chart_label_badge.scss | 0 .../explorer_chart_label/_index.scss | 0 .../entity_filter/_entity_filter.scss | 0 .../entity_filter/entity_filter.tsx | 0 .../entity_filter/index.ts | 0 .../explorer_chart_label.js | 0 .../explorer_chart_label.test.js | 0 .../explorer_chart_label_badge.js | 0 .../explorer_chart_label_badge.test.js | 0 .../components/explorer_chart_label/index.js | 0 .../explorer/explorer_charts/constants.ts | 0 .../explorer_anomalies_container.tsx | 0 .../explorer_chart_distribution.js | 0 .../explorer_chart_distribution.test.js | 0 .../explorer_chart_embedded_map.tsx | 0 .../explorer_chart_info_tooltip.js | 0 .../explorer_chart_info_tooltip.test.js | 0 .../explorer_chart_single_metric.js | 0 .../explorer_chart_single_metric.test.js | 0 .../explorer_charts_container.js | 0 .../explorer_charts_container.test.js | 0 .../explorer_charts_container_service.ts | 0 .../explorer_charts_error_callouts.tsx | 0 .../explorer/explorer_charts/index.js | 0 .../explorer/explorer_charts/map_config.ts | 0 .../draw_anomaly_explorer_charts_cursor.ts | 0 .../explorer/explorer_constants.ts | 0 .../explorer/explorer_dashboard_service.ts | 0 .../application/explorer/explorer_utils.ts | 0 .../explorer/has_matching_points.test.ts | 0 .../explorer/has_matching_points.ts | 0 .../explorer/hooks/use_explorer_url_state.ts | 0 .../explorer/hooks/use_selected_cells.ts | 0 .../ml/public/application/explorer/index.ts | 0 .../clear_influencer_filter_settings.ts | 0 .../explorer_reducer/get_index_pattern.ts | 0 .../reducers/explorer_reducer/index.ts | 0 .../explorer_reducer/job_selection_change.ts | 0 .../reducers/explorer_reducer/reducer.ts | 0 .../set_kql_query_bar_placeholder.ts | 0 .../reducers/explorer_reducer/state.ts | 0 .../application/explorer/reducers/index.ts | 0 .../swimlane_annotation_container.tsx | 0 .../explorer/swimlane_container.tsx | 0 .../explorer/swimlane_pagination.tsx | 0 .../abbreviate_whole_number.test.ts | 0 .../formatters/abbreviate_whole_number.ts | 0 .../formatters/format_value.test.ts | 0 .../application/formatters/format_value.ts | 0 .../formatters/kibana_field_format.ts | 0 .../formatters/number_as_ordinal.test.ts | 0 .../formatters/number_as_ordinal.ts | 0 .../ml/public/application/hooks/index.ts | 0 .../hooks/use_as_observable.test.ts | 0 .../application/hooks/use_as_observable.ts | 0 .../jobs/components/jobs_action_menu/index.ts | 0 .../jobs_action_menu/jobs_action_menu.tsx | 0 .../ml/public/application/jobs/index.ts | 0 .../anomaly_detection_empty_state.tsx | 0 .../anomaly_detection_kibana.png | Bin .../anomaly_detection_empty_state/index.ts | 0 .../close_jobs_confirm_modal.tsx | 0 .../managed_jobs_warning_callout.tsx | 0 .../stop_datafeeds_confirm_modal.tsx | 0 .../datafeed_chart_flyout/constants.ts | 0 .../datafeed_chart_flyout.tsx | 0 .../edit_query_delay.tsx | 0 .../fill_missing_chart_data.test.ts | 0 .../fill_missing_chart_data.ts | 0 .../components/datafeed_chart_flyout/index.ts | 0 .../delete_job_modal/delete_job_modal.tsx | 0 .../components/delete_job_modal/index.ts | 0 .../edit_job_flyout/edit_job_flyout.js | 0 .../components/edit_job_flyout/edit_utils.js | 0 .../components/edit_job_flyout/index.js | 0 .../edit_job_flyout/tabs/datafeed.js | 0 .../edit_job_flyout/tabs/detectors.js | 0 .../components/edit_job_flyout/tabs/index.js | 0 .../edit_job_flyout/tabs/job_details.js | 0 .../jobs_list/components/job_actions/index.js | 0 .../components/job_actions/management.js | 0 .../components/job_actions/results.js | 0 .../job_details/datafeed_preview_tab.tsx | 0 .../job_details/extract_job_details.js | 0 .../forecasts_table/forecasts_table.js | 0 .../job_details/forecasts_table/index.js | 0 .../components/job_details/format_values.js | 0 .../jobs_list/components/job_details/index.js | 0 .../components/job_details/job_details.js | 0 .../job_details/job_details_pane.tsx | 0 .../job_details/job_messages_pane.tsx | 0 .../components/job_details/json_tab.js | 0 .../components/job_filter_bar/index.ts | 0 .../job_filter_bar/job_filter_bar.tsx | 0 .../jobs_list/components/job_group/index.ts | 0 .../components/job_group/job_group.tsx | 0 .../jobs_list/components/jobs_list/index.js | 0 .../components/jobs_list/job_description.js | 0 .../components/jobs_list/job_id_link.tsx | 0 .../components/jobs_list/jobs_list.js | 0 .../components/jobs_list_view/index.js | 0 .../jobs_list_view/jobs_list_view.js | 0 .../components/jobs_stats_bar/index.js | 0 .../jobs_stats_bar/jobs_stats_bar.js | 0 .../components/ml_job_editor/index.ts | 0 .../ml_job_editor/ml_job_editor.tsx | 0 .../multi_job_actions/actions_menu.js | 0 .../group_selector/group_list/group_list.js | 0 .../group_selector/group_list/index.js | 0 .../group_selector/group_selector.js | 0 .../multi_job_actions/group_selector/index.js | 0 .../group_selector/new_group_input/index.js | 0 .../new_group_input/new_group_input.js | 0 .../components/multi_job_actions/index.js | 0 .../multi_job_actions/multi_job_actions.js | 0 .../components/new_job_button/index.js | 0 .../new_job_button/new_job_button.js | 0 .../components/reset_job_modal/index.ts | 0 .../open_jobs_warning_callout.tsx | 0 .../reset_job_modal/reset_job_modal.tsx | 0 .../components/start_datafeed_modal/index.js | 0 .../start_datafeed_modal.js | 0 .../time_range_selector/index.js | 0 .../time_range_selector.js | 0 .../time_range_selector_wrapper.tsx | 0 .../jobs/jobs_list/components/utils.d.ts | 0 .../jobs/jobs_list/components/utils.js | 0 .../jobs/jobs_list/components/validate_job.js | 0 .../application/jobs/jobs_list/index.ts | 0 .../application/jobs/jobs_list/jobs.tsx | 0 .../ml/public/application/jobs/jobs_utils.ts | 0 .../common/chart_loader/chart_loader.ts | 0 .../jobs/new_job/common/chart_loader/index.ts | 0 .../new_job/common/chart_loader/searches.ts | 0 .../jobs/new_job/common/components/index.ts | 0 .../common/components/job_groups_input.tsx | 0 .../common/components/time_range_picker.tsx | 0 .../application/jobs/new_job/common/index.ts | 0 .../new_job/common/index_pattern_context.ts | 0 .../job_creator/advanced_job_creator.ts | 0 .../job_creator/categorization_job_creator.ts | 0 .../common/job_creator/geo_job_creator.ts | 0 .../jobs/new_job/common/job_creator/index.ts | 0 .../new_job/common/job_creator/job_creator.ts | 0 .../common/job_creator/job_creator_factory.ts | 0 .../job_creator/multi_metric_job_creator.ts | 0 .../job_creator/population_job_creator.ts | 0 .../common/job_creator/rare_job_creator.ts | 0 .../job_creator/single_metric_job_creator.ts | 0 .../new_job/common/job_creator/type_guards.ts | 0 .../job_creator/util/default_configs.ts | 0 .../util/filter_runtime_mappings.test.ts | 0 .../util/filter_runtime_mappings.ts | 0 .../common/job_creator/util/general.ts | 0 .../util/model_memory_estimator.test.ts | 0 .../util/model_memory_estimator.ts | 0 .../jobs/new_job/common/job_runner/index.ts | 0 .../new_job/common/job_runner/job_runner.ts | 0 .../new_job/common/job_validator/index.ts | 0 .../common/job_validator/job_validator.ts | 0 .../jobs/new_job/common/job_validator/util.ts | 0 .../common/job_validator/validators.ts | 0 .../jobs/new_job/common/map_loader/index.ts | 0 .../new_job/common/map_loader/map_loader.ts | 0 .../categorization_examples_loader.ts | 0 .../new_job/common/results_loader/index.ts | 0 .../common/results_loader/results_loader.ts | 0 .../new_job/common/results_loader/searches.ts | 0 .../jobs/new_job/job_from_dashboard/index.ts | 0 .../quick_create_job_base.ts | 0 .../jobs/new_job/job_from_lens/index.ts | 0 .../new_job/job_from_lens/quick_create_job.ts | 0 .../new_job/job_from_lens/route_resolver.ts | 0 .../jobs/new_job/job_from_lens/utils.ts | 0 .../job_from_lens/visualization_extractor.ts | 0 .../jobs/new_job/job_from_map/index.ts | 0 .../new_job/job_from_map/quick_create_job.ts | 0 .../new_job/job_from_map/route_resolver.ts | 0 .../jobs/new_job/job_from_map/utils.ts | 0 .../job_from_map/visualization_extractor.ts | 0 .../job_from_pattern_analysis/index.ts | 0 .../quick_create_job.ts | 0 .../route_resolver.ts | 0 .../job_from_pattern_analysis/utils.ts | 0 .../charts/anomaly_chart/anomaly_chart.tsx | 0 .../components/charts/anomaly_chart/index.ts | 0 .../components/charts/anomaly_chart/line.tsx | 0 .../charts/anomaly_chart/model_bounds.tsx | 0 .../charts/anomaly_chart/scatter.tsx | 0 .../components/charts/common/anomalies.tsx | 0 .../pages/components/charts/common/axes.tsx | 0 .../components/charts/common/settings.ts | 0 .../pages/components/charts/common/utils.ts | 0 .../event_rate_chart/event_rate_chart.tsx | 0 .../charts/event_rate_chart/index.ts | 0 .../charts/event_rate_chart/overlay_range.tsx | 0 .../charts/loading_wrapper/index.ts | 0 .../loading_wrapper/loading_wrapper.tsx | 0 .../datafeed_preview.tsx | 0 .../datafeed_preview_flyout.tsx | 0 .../common/datafeed_preview_flyout/index.ts | 0 .../edit_categorization_analyzer_flyout.tsx | 0 .../index.ts | 0 .../common/json_editor_flyout/index.ts | 0 .../json_editor_flyout/json_editor_flyout.tsx | 0 .../common/model_memory_limit/description.tsx | 0 .../common/model_memory_limit/index.ts | 0 .../model_memory_limit_input.tsx | 0 .../components/data_view/change_data_view.tsx | 0 .../data_view/change_data_view_button.tsx | 0 .../components/data_view/description.tsx | 0 .../components/data_view/index.ts | 0 .../components/frequency/description.tsx | 0 .../components/frequency/frequency_input.tsx | 0 .../components/frequency/index.ts | 0 .../datafeed_step/components/hooks.ts | 0 .../components/query/description.tsx | 0 .../datafeed_step/components/query/index.ts | 0 .../components/query/query_input.tsx | 0 .../components/query_delay/description.tsx | 0 .../components/query_delay/index.ts | 0 .../query_delay/query_delay_input.tsx | 0 .../components/reset_query/index.tsx | 0 .../components/reset_query/reset_query.tsx | 0 .../components/scroll_size/description.tsx | 0 .../components/scroll_size/index.ts | 0 .../scroll_size/scroll_size_input.tsx | 0 .../components/time_field/description.tsx | 0 .../components/time_field/index.ts | 0 .../components/time_field/time_field.tsx | 0 .../time_field/time_field_select.tsx | 0 .../components/datafeed_step/datafeed.tsx | 0 .../pages/components/datafeed_step/index.ts | 0 .../pages/components/job_creator_context.ts | 0 .../additional_section/additional_section.tsx | 0 .../calendars/calendars_selection.tsx | 0 .../components/calendars/description.tsx | 0 .../components/calendars/description_dst.tsx | 0 .../components/calendars/index.ts | 0 .../custom_urls/custom_urls_selection.tsx | 0 .../components/custom_urls/description.tsx | 0 .../components/custom_urls/index.ts | 0 .../components/additional_section/index.ts | 0 .../advanced_section/advanced_section.tsx | 0 .../annotations/annotations_switch.tsx | 0 .../components/annotations/description.tsx | 0 .../components/annotations/index.ts | 0 .../dedicated_index_switch.tsx | 0 .../dedicated_index/description.tsx | 0 .../components/dedicated_index/index.ts | 0 .../ignore_unavailable/description.tsx | 0 .../ignore_unavailable_switch.tsx | 0 .../components/ignore_unavailable/index.ts | 0 .../components/mml_callout.tsx | 0 .../components/model_plot/description.tsx | 0 .../components/model_plot/index.ts | 0 .../model_plot/model_plot_switch.tsx | 0 .../components/advanced_section/index.ts | 0 .../components/groups/description.tsx | 0 .../components/groups/groups_input.tsx | 0 .../components/groups/index.ts | 0 .../job_description/description.tsx | 0 .../components/job_description/index.ts | 0 .../job_description/job_description_input.tsx | 0 .../components/job_id/description.tsx | 0 .../components/job_id/index.ts | 0 .../components/job_id/job_id_input.tsx | 0 .../components/job_details_step/index.ts | 0 .../job_details_step/job_details.tsx | 0 .../advanced_detector_modal.tsx | 0 .../advanced_detector_modal/descriptions.tsx | 0 .../advanced_detector_modal/function_help.tsx | 0 .../advanced_detector_modal/index.tsx | 0 .../advanced_detector_modal/modal_wrapper.tsx | 0 .../advanced_view/advanced_view.tsx | 0 .../advanced_view/detector_list.tsx | 0 .../components/advanced_view/extra.tsx | 0 .../components/advanced_view/index.ts | 0 .../advanced_view/metric_selection.tsx | 0 .../metric_selection_summary.tsx | 0 .../advanced_view/metric_selector.tsx | 0 .../components/advanced_view/settings.tsx | 0 .../components/agg_select/agg_select.tsx | 0 .../components/agg_select/index.ts | 0 .../components/bucket_span/bucket_span.tsx | 0 .../bucket_span/bucket_span_input.tsx | 0 .../components/bucket_span/description.tsx | 0 .../components/bucket_span/index.ts | 0 .../bucket_span_estimator.tsx | 0 .../estimate_bucket_span.ts | 0 .../components/bucket_span_estimator/index.ts | 0 .../components/by_field/by_field.tsx | 0 .../components/by_field/index.ts | 0 .../categorization_detector.tsx | 0 .../detector_cards.tsx | 0 .../categorization_detector/index.ts | 0 .../categorization_field.tsx | 0 .../categorization_field_select.tsx | 0 .../categorization_field/description.tsx | 0 .../components/categorization_field/index.ts | 0 .../categorization_per_partition.tsx | 0 .../categorization_per_partition_dropdown.tsx | 0 .../categorization_per_partition_input.tsx | 0 .../categorization_per_partition_switch.tsx | 0 .../categorization_stop_on_warn_switch.tsx | 0 .../description.tsx | 0 .../categorization_partition_field/index.ts | 0 .../categorization_view.tsx | 0 .../category_stopped_partitions.tsx | 0 .../examples_valid_callout.tsx | 0 .../categorization_view/field_examples.tsx | 0 .../components/categorization_view/index.ts | 0 .../invalid_ccs_version_valid_callout.tsx | 0 .../categorization_view/metric_selection.tsx | 0 .../metric_selection_summary.tsx | 0 .../categorization_view/settings.tsx | 0 .../categorization_view/top_categories.tsx | 0 .../detector_title/detector_title.tsx | 0 .../components/detector_title/index.ts | 0 .../components/geo_field/description.tsx | 0 .../components/geo_field/geo_field.tsx | 0 .../components/geo_field/geo_field_select.tsx | 0 .../components/geo_field/index.ts | 0 .../components/geo_view/geo_map_examples.tsx | 0 .../components/geo_view/geo_view.tsx | 0 .../components/geo_view/index.ts | 0 .../components/geo_view/metric_selection.tsx | 0 .../geo_view/metric_selection_summary.tsx | 0 .../components/geo_view/settings.tsx | 0 .../components/influencers/description.tsx | 0 .../components/influencers/index.ts | 0 .../components/influencers/influencers.tsx | 0 .../influencers/influencers_select.tsx | 0 .../components/metric_selector/index.ts | 0 .../metric_selector/metric_selector.tsx | 0 .../multi_metric_view/chart_grid.tsx | 0 .../components/multi_metric_view/index.ts | 0 .../multi_metric_view/metric_selection.tsx | 0 .../metric_selection_summary.tsx | 0 .../multi_metric_view/multi_metric_view.tsx | 0 .../components/multi_metric_view/settings.tsx | 0 .../population_field/description.tsx | 0 .../components/population_field/index.ts | 0 .../population_field/population_field.tsx | 0 .../components/population_view/chart_grid.tsx | 0 .../components/population_view/index.ts | 0 .../population_view/metric_selection.tsx | 0 .../metric_selection_summary.tsx | 0 .../population_view/population_view.tsx | 0 .../components/population_view/settings.tsx | 0 .../rare_detector/detector_cards.tsx | 0 .../components/rare_detector/index.ts | 0 .../rare_detector/rare_detector.tsx | 0 .../components/rare_field/description.tsx | 0 .../components/rare_field/index.ts | 0 .../components/rare_field/rare_field.tsx | 0 .../rare_field/rare_field_select.tsx | 0 .../rare_view/detector_description.tsx | 0 .../components/rare_view/index.ts | 0 .../components/rare_view/metric_selection.tsx | 0 .../rare_view/metric_selection_summary.tsx | 0 .../components/rare_view/rare_view.tsx | 0 .../components/rare_view/settings.tsx | 0 .../components/single_metric_view/index.ts | 0 .../single_metric_view/metric_selection.tsx | 0 .../metric_selection_summary.tsx | 0 .../single_metric_view/settings.tsx | 0 .../single_metric_view/single_metric_view.tsx | 0 .../components/sparse_data/description.tsx | 0 .../components/sparse_data/index.ts | 0 .../sparse_data/sparse_data_switch.tsx | 0 .../split_cards/animate_split_hook.ts | 0 .../components/split_cards/index.ts | 0 .../components/split_cards/split_cards.tsx | 0 .../components/split_field/description.tsx | 0 .../components/split_field/index.ts | 0 .../components/split_field/split_field.tsx | 0 .../components/split_field_select/index.ts | 0 .../split_field_select/split_field_select.tsx | 0 .../summary_count_field/description.tsx | 0 .../components/summary_count_field/index.ts | 0 .../summary_count_field.tsx | 0 .../summary_count_field_select.tsx | 0 .../components/pick_fields_step/index.ts | 0 .../pick_fields_step/pick_fields.tsx | 0 .../new_job/pages/components/step_types.ts | 0 .../summary_step/components/common.tsx | 0 .../datafeed_details/datafeed_details.tsx | 0 .../components/datafeed_details/index.ts | 0 .../detector_chart/detector_chart.tsx | 0 .../components/detector_chart/index.ts | 0 .../components/job_details/index.ts | 0 .../components/job_details/job_details.tsx | 0 .../components/job_progress/index.ts | 0 .../components/job_progress/job_progress.tsx | 0 .../components/post_save_options/index.ts | 0 .../post_save_options/post_save_options.tsx | 0 .../components/start_datafeed_switch/index.ts | 0 .../start_datafeed_switch.tsx | 0 .../pages/components/summary_step/index.ts | 0 .../pages/components/summary_step/summary.tsx | 0 .../pages/components/time_range_step/index.ts | 0 .../components/time_range_step/time_range.tsx | 0 .../pages/components/validation_step/index.ts | 0 .../validation_step/skip_validatoin.tsx | 0 .../components/validation_step/validation.tsx | 0 .../pages/components/wizard_nav/index.ts | 0 .../components/wizard_nav/wizard_nav.tsx | 0 .../new_job/pages/index_or_search/index.ts | 0 .../new_job/pages/index_or_search/page.tsx | 0 .../preconfigured_job_redirect.ts | 0 .../job_type/categorization_job_icon.tsx | 0 .../new_job/pages/job_type/geo_job_icon.tsx | 0 .../jobs/new_job/pages/job_type/index.ts | 0 .../jobs/new_job/pages/job_type/page.tsx | 0 .../new_job/pages/job_type/rare_job_icon.tsx | 0 .../jobs/new_job/pages/new_job/index.ts | 0 .../jobs/new_job/pages/new_job/page.tsx | 0 .../jobs/new_job/pages/new_job/wizard.tsx | 0 .../pages/new_job/wizard_horizontal_steps.tsx | 0 .../new_job/pages/new_job/wizard_steps.tsx | 0 .../components/create_result_callout.tsx | 0 .../new_job/recognize/components/edit_job.tsx | 0 .../new_job/recognize/components/job_item.tsx | 0 .../components/job_settings_form.tsx | 0 .../recognize/components/kibana_objects.tsx | 0 .../recognize/components/module_jobs.tsx | 0 .../jobs/new_job/recognize/index.ts | 0 .../jobs/new_job/recognize/page.tsx | 0 .../jobs/new_job/utils/new_job_utils.test.ts | 0 .../jobs/new_job/utils/new_job_utils.ts | 0 .../application/license/check_license.tsx | 0 .../ml/public/application/license/index.ts | 0 .../application/management/breadcrumbs.ts | 0 .../ml/public/application/management/index.ts | 0 .../components/access_denied_page.tsx | 0 .../management/jobs_list/components/index.ts | 0 .../components/insufficient_license_page.tsx | 0 .../components/jobs_list_page/docs_link.tsx | 0 .../components/jobs_list_page/index.ts | 0 .../jobs_list_page/jobs_list_page.tsx | 0 .../space_management/columns.tsx | 0 .../space_management/filters.ts | 0 .../jobs_list_page/space_management/index.ts | 0 .../space_management/space_management.tsx | 0 .../application/management/jobs_list/index.ts | 0 .../application/management/management_urls.ts | 0 .../public/application/memory_usage/index.ts | 0 .../memory_usage/memory_item_colors.ts | 0 .../memory_usage/memory_tree_map/index.ts | 0 .../memory_tree_map/memory_page.tsx | 0 .../memory_usage/memory_tree_map/tree_map.tsx | 0 .../memory_usage/memory_usage_page.tsx | 0 .../nodes_overview/allocated_models.tsx | 0 .../nodes_overview/expanded_row.tsx | 0 .../memory_usage/nodes_overview/index.ts | 0 .../nodes_overview/memory_preview_chart.tsx | 0 .../nodes_overview/nodes_list.tsx | 0 .../shared}/ml/public/application/ml.svg | 0 .../ml_nodes_check/check_ml_nodes.ts | 0 .../application/ml_nodes_check/index.ts | 0 .../model_management/add_model_flyout.tsx | 0 .../model_management/config_mapping.ts | 0 .../create_pipeline_for_model_flyout.tsx | 0 ...ference_properties_from_pipeline_config.ts | 0 .../get_pipeline_config.ts | 0 .../pipeline_details.tsx | 0 .../create_pipeline_for_model/state.ts | 0 .../test_trained_model.tsx | 0 .../model_management/delete_models_modal.tsx | 0 .../deployment_params_mapper.test.ts | 0 .../deployment_params_mapper.ts | 0 .../model_management/deployment_setup.tsx | 0 .../model_management/expanded_row.tsx | 0 .../model_management/force_stop_dialog.tsx | 0 .../model_management/get_model_state.tsx | 0 .../model_management/inference_api_tab.tsx | 0 .../model_management/model_actions.tsx | 0 .../model_management/model_link.tsx | 0 .../model_management/models_list.tsx | 0 .../pipelines/expanded_row.tsx | 0 .../model_management/pipelines/index.ts | 0 .../model_management/pipelines/pipelines.tsx | 0 .../test_dfa_models_flyout.tsx | 0 .../model_management/test_models/index.ts | 0 .../test_models/inference_error.tsx | 0 .../test_models/models/index.ts | 0 .../test_models/models/index_input.tsx | 0 .../test_models/models/inference_base.ts | 0 .../test_models/models/inference_info.tsx | 0 .../models/inference_input_form/index.tsx | 0 .../inference_input_form/index_input.tsx | 0 .../inference_input_form.tsx | 0 .../input_form_controls.tsx | 0 .../inference_input_form/text_input.tsx | 0 .../test_models/models/ner/index.ts | 0 .../test_models/models/ner/ner_inference.ts | 0 .../test_models/models/ner/ner_output.tsx | 0 .../models/question_answering/index.ts | 0 .../question_answering_inference.ts | 0 .../question_answering_input.tsx | 0 .../question_answering_output.tsx | 0 .../test_models/models/raw_output.tsx | 0 .../models/text_classification/common.ts | 0 .../fill_mask_inference.ts | 0 .../text_classification/fill_mask_output.tsx | 0 .../models/text_classification/index.ts | 0 .../models/text_classification/lang_codes.ts | 0 .../lang_ident_inference.ts | 0 .../text_classification/lang_ident_output.tsx | 0 .../text_classification_inference.ts | 0 .../text_classification_output.tsx | 0 .../zero_shot_classification_inference.ts | 0 .../zero_shot_classification_input.tsx | 0 .../models/text_embedding/index.ts | 0 .../text_embedding_inference.ts | 0 .../text_embedding/text_embedding_output.tsx | 0 .../models/text_expansion/index.ts | 0 .../text_expansion_inference.ts | 0 .../text_expansion/text_expansion_input.tsx | 0 .../text_expansion/text_expansion_output.tsx | 0 .../test_models/models/text_input.tsx | 0 .../test_models/output_loading.tsx | 0 .../test_models/selected_model.tsx | 0 .../test_models/test_flyout.tsx | 0 ...est_model_and_pipeline_creation_flyout.tsx | 0 .../test_trained_model_content.tsx | 0 .../test_trained_models_context.tsx | 0 .../model_management/test_models/utils.ts | 0 .../components/entity_filter.tsx | 0 .../components/notifications_list.test.tsx | 0 .../components/notifications_list.tsx | 0 .../public/application/notifications/page.tsx | 0 .../components/analytics_panel/actions.tsx | 0 .../analytics_panel/analytics_panel.tsx | 0 .../components/analytics_panel/index.ts | 0 .../components/analytics_panel/table.tsx | 0 .../anomaly_detection_panel/actions.tsx | 0 .../anomaly_detection_panel.tsx | 0 .../anomaly_detection_panel/index.ts | 0 .../anomaly_detection_panel/table.tsx | 0 .../anomaly_detection_panel/utils.ts | 0 .../overview/components/content.tsx | 0 .../application/overview/overview_page.tsx | 0 .../public/application/routing/breadcrumbs.ts | 0 .../components/navigate_to_page_button.tsx | 0 .../ml/public/application/routing/index.ts | 0 .../application/routing/ml_page_wrapper.tsx | 0 .../public/application/routing/resolvers.ts | 0 .../ml/public/application/routing/router.tsx | 0 .../routes/aiops/change_point_detection.tsx | 0 .../application/routing/routes/aiops/index.ts | 0 .../routes/aiops/log_categorization.tsx | 0 .../routes/aiops/log_rate_analysis.tsx | 0 .../analytics_job_creation.tsx | 0 .../analytics_job_exploration.tsx | 0 .../analytics_jobs_list.tsx | 0 .../data_frame_analytics/analytics_map.tsx | 0 .../analytics_source_selection.tsx | 0 .../routes/data_frame_analytics/index.ts | 0 .../routes/datavisualizer/data_comparison.tsx | 0 .../routes/datavisualizer/data_drift.tsx | 0 .../routes/datavisualizer/datavisualizer.tsx | 0 .../routes/datavisualizer/file_based.tsx | 0 .../routing/routes/datavisualizer/index.ts | 0 .../routes/datavisualizer/index_based.tsx | 0 .../routing/routes/explorer/explorer.tsx | 0 .../routing/routes/explorer/index.ts | 0 .../routing/routes/explorer/state_manager.tsx | 0 .../application/routing/routes/index.ts | 0 .../application/routing/routes/jobs_list.tsx | 0 .../routing/routes/memory_usage.tsx | 0 .../routing/routes/new_job/from_lens.tsx | 0 .../routing/routes/new_job/from_map.tsx | 0 .../routes/new_job/from_pattern_analysis.tsx | 0 .../routing/routes/new_job/index.ts | 0 .../routes/new_job/index_or_search.tsx | 0 .../routing/routes/new_job/job_type.tsx | 0 .../routing/routes/new_job/new_job.tsx | 0 .../routing/routes/new_job/recognize.tsx | 0 .../routing/routes/new_job/wizard.tsx | 0 .../routing/routes/notifications.tsx | 0 .../application/routing/routes/overview.tsx | 0 .../routing/routes/settings/calendar_list.tsx | 0 .../routes/settings/calendar_new_edit.tsx | 0 .../routing/routes/settings/filter_list.tsx | 0 .../routes/settings/filter_list_new_edit.tsx | 0 .../routing/routes/settings/index.ts | 0 .../routing/routes/settings/settings.tsx | 0 .../routes/supplied_configurations/index.ts | 0 .../supplied_configurations_view.tsx | 0 .../routes/timeseriesexplorer/index.ts | 0 .../timeseriesexplorer/state_manager.tsx | 0 .../timeseriesexplorer.test.tsx | 0 .../timeseriesexplorer/timeseriesexplorer.tsx | 0 .../routing/routes/trained_models/index.ts | 0 .../routes/trained_models/models_list.tsx | 0 .../application/routing/use_active_route.tsx | 0 .../application/routing/use_doc_title.ts | 0 .../public/application/routing/use_refresh.ts | 0 .../application/routing/use_resolver.test.ts | 0 .../application/routing/use_resolver.tsx | 0 .../__mocks__/anomaly_detector_service.ts | 0 .../anomaly_explorer_charts_service.ts | 0 .../cloudwatch_job_caps_response.json | 0 .../services/__mocks__/ml_api_services.ts | 0 .../services/__mocks__/ml_info_response.json | 0 .../nested_field_index_response.json | 0 .../services/annotations_service.test.tsx | 0 .../services/annotations_service.tsx | 0 .../services/anomaly_detector_service.ts | 0 .../anomaly_explorer_charts_service.test.ts | 0 .../anomaly_explorer_charts_service.ts | 0 .../services/anomaly_timeline_service.ts | 0 .../application/services/calendar_service.ts | 0 .../services/dashboard_service.test.ts | 0 .../application/services/dashboard_service.ts | 0 .../services/elastic_models_service.ts | 0 .../services/field_format_service.ts | 0 .../services/field_format_service_factory.ts | 0 .../application/services/forecast_service.ts | 0 .../services/get_shared_ml_services.ts | 0 .../application/services/http_service.ts | 0 .../services/job_cloning_service.ts | 0 .../application/services/job_service.d.ts | 0 .../application/services/job_service.js | 0 .../services/ml_api_service/alerting.ts | 0 .../services/ml_api_service/annotations.ts | 0 .../ml_api_service/data_frame_analytics.ts | 0 .../services/ml_api_service/filters.ts | 0 .../services/ml_api_service/index.ts | 0 .../ml_api_service/inference_models.ts | 0 .../services/ml_api_service/jobs.ts | 0 .../services/ml_api_service/json_schema.ts | 0 .../services/ml_api_service/management.ts | 0 .../services/ml_api_service/notifications.ts | 0 .../services/ml_api_service/results.ts | 0 .../services/ml_api_service/saved_objects.ts | 0 .../services/ml_api_service/trained_models.ts | 0 .../services/ml_results_service.ts | 0 .../services/ml_server_info.test.ts | 0 .../application/services/ml_server_info.ts | 0 .../services/new_job_capabilities/index.ts | 0 .../load_new_job_capabilities.ts | 0 .../new_job_capabilities.ts | 0 .../new_job_capabilities_service.test.ts | 0 .../new_job_capabilities_service.ts | 0 .../new_job_capabilities_service_analytics.ts | 0 .../remove_nested_field_children.test.ts | 0 .../services/results_service/index.ts | 0 .../results_service/result_service_rx.ts | 0 .../results_service/results_service.d.ts | 0 .../results_service/results_service.js | 0 .../application/services/state_service.ts | 0 .../application/services/table_service.js | 0 .../__mocks__/index.ts | 0 .../toast_notification_service/index.ts | 0 .../toast_notification_service.ts | 0 .../services/usage_collection.test.ts | 0 .../application/services/usage_collection.ts | 0 .../settings/anomaly_detection_settings.tsx | 0 .../anomaly_detection_settings_context.tsx | 0 .../settings/calendars/dst_utils.test.ts | 0 .../settings/calendars/dst_utils.ts | 0 .../__snapshots__/calendar_form.test.js.snap | 0 .../edit/calendar_form/calendar_form.test.js | 0 .../edit/calendar_form/calendar_form.tsx | 0 .../calendar_form/dst_event_generator.tsx | 0 .../calendars/edit/calendar_form/index.ts | 0 .../__snapshots__/events_table.test.js.snap | 0 .../edit/events_table/events_table.test.js | 0 .../edit/events_table/events_table.tsx | 0 .../calendars/edit/events_table/index.ts | 0 .../__snapshots__/import_modal.test.js.snap | 0 .../edit/import_modal/import_modal.js | 0 .../edit/import_modal/import_modal.test.js | 0 .../calendars/edit/import_modal/index.js | 0 .../calendars/edit/import_modal/utils.js | 0 .../imported_events.test.js.snap | 0 .../edit/imported_events/imported_events.js | 0 .../imported_events/imported_events.test.js | 0 .../calendars/edit/imported_events/index.js | 0 .../settings/calendars/edit/index.ts | 0 .../settings/calendars/edit/new_calendar.d.ts | 0 .../settings/calendars/edit/new_calendar.js | 0 .../calendars/edit/new_calendar.test.js | 0 .../calendars/edit/new_event_modal/index.js | 0 .../edit/new_event_modal/new_event_modal.js | 0 .../new_event_modal/new_event_modal.test.js | 0 .../settings/calendars/edit/utils.ts | 0 .../application/settings/calendars/index.ts | 0 .../list/__snapshots__/header.test.js.snap | 0 .../calendars/list/calendars_list.d.ts | 0 .../settings/calendars/list/calendars_list.js | 0 .../calendars/list/calendars_list.test.js | 0 .../calendars/list/delete_calendars.js | 0 .../settings/calendars/list/header.test.js | 0 .../settings/calendars/list/header.tsx | 0 .../settings/calendars/list/index.ts | 0 .../table/__snapshots__/table.test.js.snap | 0 .../settings/calendars/list/table/index.js | 0 .../settings/calendars/list/table/table.js | 0 .../calendars/list/table/table.test.js | 0 .../add_item_popover.test.js.snap | 0 .../add_item_popover/add_item_popover.js | 0 .../add_item_popover/add_item_popover.test.js | 0 .../components/add_item_popover/index.js | 0 .../delete_filter_list_modal.test.js.snap | 0 .../delete_filter_list_modal.js | 0 .../delete_filter_list_modal.test.js | 0 .../delete_filter_lists.js | 0 .../delete_filter_list_modal/index.js | 0 .../edit_description_popover.test.js.snap | 0 .../edit_description_popover.js | 0 .../edit_description_popover.test.js | 0 .../edit_description_popover/index.js | 0 .../filter_list_usage_popover.test.js.snap | 0 .../filter_list_usage_popover.js | 0 .../filter_list_usage_popover.test.js | 0 .../filter_list_usage_popover/index.js | 0 .../edit/__snapshots__/header.test.js.snap | 0 .../edit/__snapshots__/toolbar.test.js.snap | 0 .../filter_lists/edit/edit_filter_list.d.ts | 0 .../filter_lists/edit/edit_filter_list.js | 0 .../edit/edit_filter_list.test.js | 0 .../settings/filter_lists/edit/header.js | 0 .../settings/filter_lists/edit/header.test.js | 0 .../settings/filter_lists/edit/index.ts | 0 .../settings/filter_lists/edit/toolbar.js | 0 .../filter_lists/edit/toolbar.test.js | 0 .../settings/filter_lists/edit/utils.js | 0 .../settings/filter_lists/index.ts | 0 .../list/__snapshots__/header.test.js.snap | 0 .../list/__snapshots__/table.test.js.snap | 0 .../filter_lists/list/filter_lists.d.ts | 0 .../filter_lists/list/filter_lists.js | 0 .../filter_lists/list/filter_lists.test.js | 0 .../settings/filter_lists/list/header.js | 0 .../settings/filter_lists/list/header.test.js | 0 .../settings/filter_lists/list/index.ts | 0 .../settings/filter_lists/list/table.js | 0 .../settings/filter_lists/list/table.test.js | 0 .../ml/public/application/settings/index.ts | 0 .../application/settings/settings.test.tsx | 0 .../public/application/settings/settings.tsx | 0 .../shared}/ml/public/application/styles.ts | 0 .../supplied_configurations.tsx | 0 .../data_views_table.tsx | 0 .../supplied_configurations_flyout/flyout.tsx | 0 .../supplied_configurations_flyout/index.ts | 0 .../jobs_tab_content.tsx | 0 .../kibana_tab_content.tsx | 0 .../overview_tab_content.tsx | 0 .../supplied_configurations/utils.ts | 0 .../context_chart_mask/context_chart_mask.js | 0 .../components/context_chart_mask/index.js | 0 .../entity_control/entity_config.tsx | 0 .../entity_control/entity_control.tsx | 0 .../components/entity_control/index.ts | 0 .../forecasting_modal/forecast_button.tsx | 0 .../forecasting_modal/forecast_progress.js | 0 .../forecasting_modal/forecasting_modal.js | 0 .../forecasting_modal/forecasts_list.js | 0 .../components/forecasting_modal/index.js | 0 .../components/forecasting_modal/modal.js | 0 .../forecasting_modal/progress_icon.js | 0 .../forecasting_modal/progress_states.js | 0 .../forecasting_modal/run_controls.js | 0 .../plot_function_controls/index.ts | 0 .../plot_function_controls.tsx | 0 .../components/series_controls/index.ts | 0 .../series_controls/series_controls.tsx | 0 .../__mocks__/mock_annotations_overlap.json | 0 .../timeseries_chart/timeseries_chart.d.ts | 0 .../timeseries_chart/timeseries_chart.js | 0 .../timeseries_chart/timeseries_chart.test.js | 0 .../timeseries_chart_annotations.test.ts | 0 .../timeseries_chart_annotations.ts | 0 .../timeseries_chart_with_tooltip.tsx | 0 .../index.ts | 0 .../timeseriesexplorer_chart_data_error.tsx | 0 .../timeseriesexplorer_controls/index.ts | 0 .../timeseriesexplorer_controls.tsx | 0 .../timeseriesexplorer_no_chart_data/index.ts | 0 .../timeseriesexplorer_no_chart_data.tsx | 0 .../timeseriesexplorer_no_jobs_found/index.ts | 0 .../timeseriesexplorer_no_jobs_found.tsx | 0 .../get_controls_for_detector.ts | 0 .../timeseriesexplorer/get_criteria_fields.ts | 0 .../get_function_description.ts | 0 .../use_timeseriesexplorer_url_state.ts | 0 .../hooks/use_timeseriesexplorer_url_state.ts | 0 .../application/timeseriesexplorer/index.ts | 0 .../application/timeseriesexplorer/styles.ts | 0 .../timeseriesexplorer.d.ts | 0 .../timeseriesexplorer/timeseriesexplorer.js | 0 .../timeseriesexplorer_constants.ts | 0 .../index.ts | 0 .../timeseriesexplorer_checkbox.tsx | 0 .../timeseriesexplorer_embeddable_chart.js | 0 .../timeseriesexplorer_title.tsx | 0 .../timeseriesexplorer_help_popover.tsx | 0 .../timeseriesexplorer_page.tsx | 0 .../get_timeseriesexplorer_default_state.ts | 0 .../get_viewable_detectors.ts | 0 .../timeseriesexplorer_utils/index.ts | 0 .../time_series_search_service.ts | 0 .../validate_job_selection.ts | 0 .../util/__mocks__/time_buckets.ts | 0 .../application/util/__mocks__/url_state.tsx | 0 .../application/util/chart_config_builder.ts | 0 .../public/application/util/chart_utils.d.ts | 0 .../ml/public/application/util/chart_utils.js | 0 .../application/util/chart_utils.test.js | 0 .../application/util/component_utils.ts | 0 .../application/util/custom_url_utils.test.ts | 0 .../application/util/custom_url_utils.ts | 0 .../util/field_types_utils.test.ts | 0 .../application/util/field_types_utils.ts | 0 .../public/application/util/get_services.ts | 0 .../util/get_time_buckets_from_cache.ts | 0 .../public/application/util/index_service.ts | 0 .../ml/public/application/util/index_utils.ts | 0 .../application/util/recently_accessed.ts | 0 .../ml/public/application/util/results_url.ts | 0 .../application/util/string_utils.test.ts | 0 .../public/application/util/string_utils.ts | 0 .../application/util/time_buckets_service.ts | 0 .../util/time_series_explorer_service.ts | 0 .../public/application/util/url_utils.test.ts | 0 .../ml/public/application/util/url_utils.ts | 0 .../cases/anomaly_charts_attachments.tsx | 0 .../cases/anomaly_swim_lane_attachment.tsx | 0 .../plugins/shared}/ml/public/cases/index.tsx | 0 .../register_anomaly_charts_attachment.tsx | 0 .../register_anomaly_swim_lane_attachment.tsx | 0 .../cases/register_cases_attachments.ts | 0 ...gister_single_metric_viewer_attachment.tsx | 0 .../cases/single_metric_viewer_attachment.tsx | 0 .../anomaly_charts_embeddable_factory.tsx | 0 .../anomaly_charts_initializer.test.tsx | 0 .../anomaly_charts_initializer.tsx | 0 .../anomaly_charts_react_container.tsx | 0 .../anomaly_charts_setup_flyout.tsx | 0 ...et_anomaly_charts_services_dependencies.ts | 0 .../embeddables/anomaly_charts/index.ts | 0 .../initialize_anomaly_charts_controls.ts | 0 .../lazy_anomaly_charts_container.ts | 0 .../anomaly_charts/use_anomaly_charts_data.ts | 0 .../embeddables/anomaly_charts/utils.ts | 0 .../anomaly_swimlane_embeddable.tsx | 0 ...omaly_swimlane_embeddable_factory.test.tsx | 0 .../anomaly_swimlane_embeddable_factory.tsx | 0 .../anomaly_swimlane_initializer.tsx | 0 .../anomaly_swimlane_setup_flyout.tsx | 0 .../embeddables/anomaly_swimlane/index.ts | 0 .../initialize_swim_lane_controls.ts | 0 .../initialize_swim_lane_data_fetcher.ts | 0 .../embeddables/anomaly_swimlane/types.ts | 0 .../common/anomaly_detection_embeddable.ts | 0 .../embeddable_loading_fallback.tsx | 0 .../common/components/job_selector_flyout.tsx | 0 .../embeddables/common/get_jobs_observable.ts | 0 .../common/process_filters.test.ts | 0 .../embeddables/common/process_filters.ts | 0 .../use_embeddable_execution_context.ts | 0 .../ml/public/embeddables/constants.ts | 0 .../shared}/ml/public/embeddables/index.ts | 0 .../job_creation/aiops/flyout/create_job.tsx | 0 .../job_creation/aiops/flyout/flyout.tsx | 0 .../job_creation/aiops/flyout/index.ts | 0 .../embeddables/job_creation/aiops/index.ts | 0 .../job_creation/aiops/show_flyout.tsx | 0 .../job_creation/common/context.ts | 0 .../job_creation/common/create_flyout.tsx | 0 .../job_creation/common/job_details.tsx | 0 .../embeddables/job_creation/lens/index.ts | 0 .../flyout.tsx | 0 .../lens_vis_layer_selection_flyout/index.ts | 0 .../layer/compatible_layer.tsx | 0 .../layer/incompatible_layer.tsx | 0 .../layer/index.ts | 0 .../layer/layer.tsx | 0 .../job_creation/lens/show_flyout.tsx | 0 .../embeddables/job_creation/map/flyout.tsx | 0 .../embeddables/job_creation/map/index.ts | 0 .../layer/compatible_layer.tsx | 0 .../layer/incompatible_layer.tsx | 0 .../layer/index.ts | 0 .../layer/layer.tsx | 0 .../job_creation/map/show_flyout.tsx | 0 .../get_default_panel_title.ts | 0 .../single_metric_viewer/get_services.ts | 0 .../embeddables/single_metric_viewer/index.ts | 0 ...ngle_metric_viewer_controls_initializer.ts | 0 .../single_metric_viewer_data_fetcher.ts | 0 ...ingle_metric_viewer_embeddable_factory.tsx | 0 .../single_metric_viewer_initializer.tsx | 0 .../single_metric_viewer_setup_flyout.tsx | 0 .../shared}/ml/public/embeddables/types.ts | 0 .../shared}/ml/public/embeddables/utils.ts | 0 .../plugins/shared}/ml/public/index.ts | 0 .../ml/public/locator/formatters/aiops.ts | 0 .../locator/formatters/anomaly_detection.ts | 0 .../ml/public/locator/formatters/common.ts | 0 .../formatters/data_frame_analytics.ts | 0 .../ml/public/locator/formatters/index.ts | 0 .../locator/formatters/notifications.ts | 0 .../ml/public/locator/formatters/settings.tsx | 0 .../locator/formatters/trained_models.ts | 0 .../shared}/ml/public/locator/index.ts | 0 .../ml/public/locator/ml_locator.test.ts | 0 .../shared}/ml/public/locator/ml_locator.ts | 0 .../shared}/ml/public/locator/use_ml_href.ts | 0 .../ml/public/maps/anomaly_job_selector.tsx | 0 .../maps/anomaly_job_selector_empty_state.tsx | 0 .../ml/public/maps/anomaly_layer_wizard.tsx | 0 .../maps/anomaly_layer_wizard_factory.tsx | 0 .../shared}/ml/public/maps/anomaly_source.tsx | 0 .../ml/public/maps/anomaly_source_factory.ts | 0 .../ml/public/maps/anomaly_source_field.tsx | 0 .../maps/create_anomaly_source_editor.tsx | 0 .../shared}/ml/public/maps/layer_selector.tsx | 0 .../shared}/ml/public/maps/maps_util.test.js | 0 .../ml/public/maps/register_map_extension.ts | 0 .../ml/public/maps/results.test.mock.ts | 0 .../maps/update_anomaly_source_editor.tsx | 0 .../plugins/shared}/ml/public/maps/util.ts | 0 .../plugins/shared}/ml/public/mocks.ts | 0 .../plugins/shared}/ml/public/plugin.ts | 0 .../ml/public/register_helper/index.ts | 0 .../register_search_links/index.ts | 0 .../register_search_links.ts | 0 .../search_deep_links.ts | 0 .../ml/public/register_home_feature.ts | 0 .../shared_components/anomaly_swim_lane.tsx | 0 .../ml/public/shared_components/index.ts | 0 .../single_metric_viewer/index.tsx | 0 .../single_metric_viewer.tsx | 0 .../apply_entity_filters_action.tsx | 0 .../apply_influencer_filters_action.tsx | 0 .../ui_actions/apply_time_range_action.tsx | 0 .../ui_actions/clear_selection_action.tsx | 0 .../shared}/ml/public/ui_actions/constants.ts | 0 .../ui_actions/create_anomaly_chart.tsx | 0 .../create_single_metric_viewer.tsx | 0 .../ml/public/ui_actions/create_swim_lane.tsx | 0 .../ui_actions/get_embeddable_time_range.ts | 0 .../shared}/ml/public/ui_actions/index.ts | 0 .../open_create_categorization_job_action.tsx | 0 .../open_in_anomaly_explorer_action.tsx | 0 .../open_in_single_metric_viewer_action.tsx | 0 .../ui_actions/open_vis_in_ml_action.tsx | 0 .../shared}/ml/public/ui_actions/triggers.ts | 0 .../shared}/ml/public/ui_actions/types.ts | 0 .../plugins/shared}/ml/readme.md | 10 +- .../shared}/ml/server/client/error_wrapper.ts | 0 .../shared}/ml/server/client/errors.js | 0 .../shared}/ml/server/config_schema.ts | 0 .../plugins/shared}/ml/server/index.ts | 0 .../shared}/ml/server/lib/__mocks__/log.ts | 0 .../ml/server/lib/alerts/alerting_service.ts | 0 .../lib/alerts/jobs_health_service.test.ts | 0 .../server/lib/alerts/jobs_health_service.ts | 0 .../register_anomaly_detection_alert_type.ts | 0 .../register_jobs_monitoring_rule_type.ts | 0 .../server/lib/alerts/register_ml_alerts.ts | 0 .../capabilities/__mocks__/ml_capabilities.ts | 0 .../lib/capabilities/capabilities_switcher.ts | 0 .../capabilities/check_capabilities.test.ts | 0 .../lib/capabilities/check_capabilities.ts | 0 .../ml/server/lib/capabilities/errors.ts | 0 .../ml/server/lib/capabilities/index.ts | 0 .../ml/server/lib/capabilities/upgrade.ts | 0 .../ml/server/lib/check_annotations/index.ts | 0 .../shared}/ml/server/lib/data_views_utils.ts | 0 .../plugins/shared}/ml/server/lib/log.ts | 0 .../shared}/ml/server/lib/ml_client/errors.ts | 0 .../shared}/ml/server/lib/ml_client/index.ts | 0 .../server/lib/ml_client/ml_audit_logger.ts | 0 .../ml/server/lib/ml_client/ml_client.ts | 0 .../shared}/ml/server/lib/ml_client/search.ts | 0 .../shared}/ml/server/lib/ml_client/types.ts | 0 .../shared}/ml/server/lib/node_utils.ts | 0 .../shared}/ml/server/lib/register_cases.ts | 0 .../lib/register_sample_data_set_links.ts | 0 .../ml/server/lib/register_settings.ts | 0 .../ml/server/lib/request_authorization.ts | 0 .../shared}/ml/server/lib/route_guard.ts | 0 .../shared}/ml/server/lib/spaces_utils.ts | 0 .../plugins/shared}/ml/server/mocks.ts | 0 .../__mocks__/get_annotations_request.json | 0 .../__mocks__/get_annotations_response.json | 0 .../annotation_service/annotation.test.ts | 0 .../models/annotation_service/annotation.ts | 0 .../server/models/annotation_service/index.ts | 0 .../bucket_span_estimator.d.ts | 0 .../bucket_span_estimator.js | 0 .../bucket_span_estimator.test.ts | 0 .../models/bucket_span_estimator/index.ts | 0 .../models/bucket_span_estimator/intervals.js | 0 .../polled_data_checker.js | 0 .../single_series_checker.js | 0 .../calculate_model_memory_limit.ts | 0 .../calculate_model_memory_limit/index.ts | 0 .../models/calendar/calendar_manager.ts | 0 .../server/models/calendar/event_manager.ts | 0 .../ml/server/models/calendar/index.ts | 0 .../analytics_audit_messages.ts | 0 .../data_frame_analytics/analytics_manager.ts | 0 .../models/data_frame_analytics/index.ts | 0 .../models/data_frame_analytics/types.ts | 0 .../models/data_frame_analytics/validation.ts | 0 .../data_recognizer/data_recognizer.test.ts | 0 .../models/data_recognizer/data_recognizer.ts | 0 .../ml/server/models/data_recognizer/index.ts | 0 .../ml_http_access_explorer_ecs.json | 0 .../search/ml_http_access_filebeat_ecs.json | 0 .../ml_http_access_events_timechart_ecs.json | 0 .../visualization/ml_http_access_map_ecs.json | 0 ...l_http_access_source_ip_timechart_ecs.json | 0 ...http_access_status_code_timechart_ecs.json | 0 ..._http_access_top_source_ips_table_ecs.json | 0 .../ml_http_access_top_urls_table_ecs.json | 0 ...access_unique_count_url_timechart_ecs.json | 0 .../modules/apache_ecs/logo.json | 0 .../modules/apache_ecs/manifest.json | 0 .../ml/datafeed_low_request_rate_ecs.json | 0 .../datafeed_source_ip_request_rate_ecs.json | 0 .../ml/datafeed_source_ip_url_count_ecs.json | 0 .../ml/datafeed_status_code_rate_ecs.json | 0 .../ml/datafeed_visitor_rate_ecs.json | 0 .../apache_ecs/ml/low_request_rate_ecs.json | 0 .../ml/source_ip_request_rate_ecs.json | 0 .../ml/source_ip_url_count_ecs.json | 0 .../apache_ecs/ml/status_code_rate_ecs.json | 0 .../apache_ecs/ml/visitor_rate_ecs.json | 0 .../modules/apm_transaction/logo.json | 0 .../modules/apm_transaction/manifest.json | 0 .../apm_transaction/ml/apm_tx_metrics.json | 0 .../ml/datafeed_apm_tx_metrics.json | 0 ...ditbeat_docker_process_event_rate_ecs.json | 0 ...auditbeat_docker_process_explorer_ecs.json | 0 ...l_auditbeat_docker_process_events_ecs.json | 0 ...ker_process_event_rate_by_process_ecs.json | 0 ...eat_docker_process_event_rate_vis_ecs.json | 0 ...ditbeat_docker_process_occurrence_ecs.json | 0 .../auditbeat_process_docker_ecs/logo.json | 0 .../manifest.json | 0 ..._docker_high_count_process_events_ecs.json | 0 ...feed_docker_rare_process_activity_ecs.json | 0 .../docker_high_count_process_events_ecs.json | 0 .../ml/docker_rare_process_activity_ecs.json | 0 .../modules/logs_ui_analysis/logo.json | 0 .../modules/logs_ui_analysis/manifest.json | 0 .../ml/datafeed_log_entry_rate.json | 0 .../logs_ui_analysis/ml/log_entry_rate.json | 0 .../modules/logs_ui_categories/logo.json | 0 .../modules/logs_ui_categories/manifest.json | 0 .../datafeed_log_entry_categories_count.json | 0 .../ml/log_entry_categories_count.json | 0 .../modules/metricbeat_system_ecs/logo.json | 0 .../metricbeat_system_ecs/manifest.json | 0 .../ml/datafeed_high_mean_cpu_iowait_ecs.json | 0 .../ml/datafeed_max_disk_utilization_ecs.json | 0 .../ml/datafeed_metricbeat_outages_ecs.json | 0 .../ml/high_mean_cpu_iowait_ecs.json | 0 .../ml/max_disk_utilization_ecs.json | 0 .../ml/metricbeat_outages_ecs.json | 0 .../modules/metrics_ui_hosts/logo.json | 0 .../modules/metrics_ui_hosts/manifest.json | 0 .../ml/datafeed_hosts_memory_usage.json | 0 .../ml/datafeed_hosts_network_in.json | 0 .../ml/datafeed_hosts_network_out.json | 0 .../ml/hosts_memory_usage.json | 0 .../metrics_ui_hosts/ml/hosts_network_in.json | 0 .../ml/hosts_network_out.json | 0 .../modules/metrics_ui_k8s/logo.json | 0 .../modules/metrics_ui_k8s/manifest.json | 0 .../ml/datafeed_k8s_memory_usage.json | 0 .../ml/datafeed_k8s_network_in.json | 0 .../ml/datafeed_k8s_network_out.json | 0 .../metrics_ui_k8s/ml/k8s_memory_usage.json | 0 .../metrics_ui_k8s/ml/k8s_network_in.json | 0 .../metrics_ui_k8s/ml/k8s_network_out.json | 0 .../ml_http_access_explorer_ecs.json | 0 .../search/ml_http_access_filebeat_ecs.json | 0 .../ml_http_access_events_timechart_ecs.json | 0 .../visualization/ml_http_access_map_ecs.json | 0 ...l_http_access_source_ip_timechart_ecs.json | 0 ...http_access_status_code_timechart_ecs.json | 0 ..._http_access_top_source_ips_table_ecs.json | 0 .../ml_http_access_top_urls_table_ecs.json | 0 ...access_unique_count_url_timechart_ecs.json | 0 .../modules/nginx_ecs/logo.json | 0 .../modules/nginx_ecs/manifest.json | 0 .../ml/datafeed_low_request_rate_ecs.json | 0 .../datafeed_source_ip_request_rate_ecs.json | 0 .../ml/datafeed_source_ip_url_count_ecs.json | 0 .../ml/datafeed_status_code_rate_ecs.json | 0 .../ml/datafeed_visitor_rate_ecs.json | 0 .../nginx_ecs/ml/low_request_rate_ecs.json | 0 .../ml/source_ip_request_rate_ecs.json | 0 .../nginx_ecs/ml/source_ip_url_count_ecs.json | 0 .../nginx_ecs/ml/status_code_rate_ecs.json | 0 .../nginx_ecs/ml/visitor_rate_ecs.json | 0 .../modules/sample_data_ecommerce/logo.json | 0 .../sample_data_ecommerce/manifest.json | 0 .../ml/datafeed_high_sum_total_sales.json | 0 .../ml/high_sum_total_sales.json | 0 .../modules/sample_data_weblogs/logo.json | 0 .../modules/sample_data_weblogs/manifest.json | 0 .../ml/datafeed_low_request_rate.json | 0 .../ml/datafeed_response_code_rates.json | 0 .../ml/datafeed_url_scanning.json | 0 .../ml/low_request_rate.json | 0 .../ml/response_code_rates.json | 0 .../sample_data_weblogs/ml/url_scanning.json | 0 .../modules/security_auth/logo.json | 0 .../modules/security_auth/manifest.json | 0 .../ml/auth_high_count_logon_events.json | 0 ...gh_count_logon_events_for_a_source_ip.json | 0 .../ml/auth_high_count_logon_fails.json | 0 .../ml/auth_rare_hour_for_a_user.json | 0 .../ml/auth_rare_source_ip_for_a_user.json | 0 .../security_auth/ml/auth_rare_user.json | 0 ...datafeed_auth_high_count_logon_events.json | 0 ...gh_count_logon_events_for_a_source_ip.json | 0 .../datafeed_auth_high_count_logon_fails.json | 0 .../datafeed_auth_rare_hour_for_a_user.json | 0 ...tafeed_auth_rare_source_ip_for_a_user.json | 0 .../ml/datafeed_auth_rare_user.json | 0 .../datafeed_suspicious_login_activity.json | 0 .../ml/suspicious_login_activity.json | 0 .../modules/security_cloudtrail/logo.json | 0 .../modules/security_cloudtrail/manifest.json | 0 ...eed_high_distinct_count_error_message.json | 0 .../ml/datafeed_rare_error_code.json | 0 .../ml/datafeed_rare_method_for_a_city.json | 0 .../datafeed_rare_method_for_a_country.json | 0 .../datafeed_rare_method_for_a_username.json | 0 .../ml/high_distinct_count_error_message.json | 0 .../ml/rare_error_code.json | 0 .../ml/rare_method_for_a_city.json | 0 .../ml/rare_method_for_a_country.json | 0 .../ml/rare_method_for_a_username.json | 0 .../modules/security_host/logo.json | 0 .../modules/security_host/manifest.json | 0 ...eed_high_count_events_for_a_host_name.json | 0 ...feed_low_count_events_for_a_host_name.json | 0 .../ml/high_count_events_for_a_host_name.json | 0 .../ml/low_count_events_for_a_host_name.json | 0 .../modules/security_linux/logo.json | 0 .../modules/security_linux/manifest.json | 0 ...d_v3_linux_anomalous_network_activity.json | 0 ...linux_anomalous_network_port_activity.json | 0 ..._v3_linux_anomalous_process_all_hosts.json | 0 ...datafeed_v3_linux_anomalous_user_name.json | 0 ...linux_network_configuration_discovery.json | 0 ...v3_linux_network_connection_discovery.json | 0 ...tafeed_v3_linux_rare_metadata_process.json | 0 .../datafeed_v3_linux_rare_metadata_user.json | 0 .../ml/datafeed_v3_linux_rare_sudo_user.json | 0 .../datafeed_v3_linux_rare_user_compiler.json | 0 ...v3_linux_system_information_discovery.json | 0 ...eed_v3_linux_system_process_discovery.json | 0 ...tafeed_v3_linux_system_user_discovery.json | 0 ...atafeed_v3_rare_process_by_host_linux.json | 0 .../v3_linux_anomalous_network_activity.json | 0 ...linux_anomalous_network_port_activity.json | 0 .../v3_linux_anomalous_process_all_hosts.json | 0 .../ml/v3_linux_anomalous_user_name.json | 0 ...linux_network_configuration_discovery.json | 0 ...v3_linux_network_connection_discovery.json | 0 .../ml/v3_linux_rare_metadata_process.json | 0 .../ml/v3_linux_rare_metadata_user.json | 0 .../ml/v3_linux_rare_sudo_user.json | 0 .../ml/v3_linux_rare_user_compiler.json | 0 ...v3_linux_system_information_discovery.json | 0 .../ml/v3_linux_system_process_discovery.json | 0 .../ml/v3_linux_system_user_discovery.json | 0 .../ml/v3_rare_process_by_host_linux.json | 0 .../modules/security_network/logo.json | 0 .../modules/security_network/manifest.json | 0 ...eed_high_count_by_destination_country.json | 0 .../datafeed_high_count_network_denies.json | 0 .../datafeed_high_count_network_events.json | 0 .../ml/datafeed_rare_destination_country.json | 0 .../ml/high_count_by_destination_country.json | 0 .../ml/high_count_network_denies.json | 0 .../ml/high_count_network_events.json | 0 .../ml/rare_destination_country.json | 0 .../modules/security_packetbeat/logo.json | 0 .../modules/security_packetbeat/manifest.json | 0 .../ml/datafeed_packetbeat_dns_tunneling.json | 0 ...datafeed_packetbeat_rare_dns_question.json | 0 ...atafeed_packetbeat_rare_server_domain.json | 0 .../ml/datafeed_packetbeat_rare_urls.json | 0 .../datafeed_packetbeat_rare_user_agent.json | 0 .../ml/packetbeat_dns_tunneling.json | 0 .../ml/packetbeat_rare_dns_question.json | 0 .../ml/packetbeat_rare_server_domain.json | 0 .../ml/packetbeat_rare_urls.json | 0 .../ml/packetbeat_rare_user_agent.json | 0 .../modules/security_windows/logo.json | 0 .../modules/security_windows/manifest.json | 0 ...afeed_v3_rare_process_by_host_windows.json | 0 ...v3_windows_anomalous_network_activity.json | 0 ...ed_v3_windows_anomalous_path_activity.json | 0 ...3_windows_anomalous_process_all_hosts.json | 0 ...v3_windows_anomalous_process_creation.json | 0 .../datafeed_v3_windows_anomalous_script.json | 0 ...datafeed_v3_windows_anomalous_service.json | 0 ...tafeed_v3_windows_anomalous_user_name.json | 0 ...feed_v3_windows_rare_metadata_process.json | 0 ...atafeed_v3_windows_rare_metadata_user.json | 0 ...feed_v3_windows_rare_user_runas_event.json | 0 ...windows_rare_user_type10_remote_login.json | 0 .../ml/v3_rare_process_by_host_windows.json | 0 ...v3_windows_anomalous_network_activity.json | 0 .../v3_windows_anomalous_path_activity.json | 0 ...3_windows_anomalous_process_all_hosts.json | 0 ...v3_windows_anomalous_process_creation.json | 0 .../ml/v3_windows_anomalous_script.json | 0 .../ml/v3_windows_anomalous_service.json | 0 .../ml/v3_windows_anomalous_user_name.json | 0 .../ml/v3_windows_rare_metadata_process.json | 0 .../ml/v3_windows_rare_metadata_user.json | 0 .../ml/v3_windows_rare_user_runas_event.json | 0 ...windows_rare_user_type10_remote_login.json | 0 .../modules/uptime_heartbeat/logo.json | 0 .../modules/uptime_heartbeat/manifest.json | 0 .../ml/datafeed_high_latency_by_geo.json | 0 .../ml/high_latency_by_geo.json | 0 .../models/data_visualizer/data_visualizer.ts | 0 .../ml/server/models/data_visualizer/index.ts | 0 .../fields_service/fields_aggs_cache.ts | 0 .../models/fields_service/fields_service.ts | 0 .../ml/server/models/fields_service/index.ts | 0 .../ml/server/models/filter/filter_manager.ts | 0 .../shared}/ml/server/models/filter/index.ts | 0 .../server/models/job_audit_messages/index.ts | 0 .../job_audit_messages/is_clearable.test.ts | 0 .../job_audit_messages/job_audit_messages.ts | 0 .../ml/server/models/job_service/datafeeds.ts | 0 .../server/models/job_service/error_utils.ts | 0 .../ml/server/models/job_service/groups.ts | 0 .../ml/server/models/job_service/index.ts | 0 .../ml/server/models/job_service/jobs.ts | 0 .../models/job_service/model_snapshots.ts | 0 .../new_job/categorization/index.ts | 0 .../new_job/categorization/top_categories.ts | 0 .../models/job_service/new_job/charts.ts | 0 .../models/job_service/new_job/index.ts | 0 .../models/job_service/new_job/line_chart.ts | 0 .../job_service/new_job/population_chart.ts | 0 .../responses/cloudwatch_field_caps.json | 0 .../data_view_rollup_cloudwatch.json | 0 .../responses/farequote_field_caps.json | 0 .../__mocks__/responses/rollup_caps.json | 0 .../results/cloudwatch_rollup_job_caps.json | 0 .../__mocks__/results/farequote_job_caps.json | 0 .../results/farequote_job_caps_empty.json | 0 .../job_service/new_job_caps/field_service.ts | 0 .../models/job_service/new_job_caps/index.ts | 0 .../new_job_caps/new_job_caps.test.ts | 0 .../job_service/new_job_caps/new_job_caps.ts | 0 .../models/job_service/new_job_caps/rollup.ts | 0 .../__mocks__/mock_farequote_cardinality.json | 0 .../mock_farequote_search_response.json | 0 .../__mocks__/mock_field_caps.json | 0 .../__mocks__/mock_it_search_response.json | 0 .../__mocks__/mock_time_field.json | 0 .../__mocks__/mock_time_field_nested.json | 0 .../__mocks__/mock_time_range.json | 0 .../ml/server/models/job_validation/index.ts | 0 .../job_validation/job_validation.test.ts | 0 .../models/job_validation/job_validation.ts | 0 .../job_validation/validate_bucket_span.js | 0 .../validate_bucket_span.test.ts | 0 .../validate_cardinality.test.ts | 0 .../job_validation/validate_cardinality.ts | 0 .../validate_datafeed_preview.ts | 0 .../validate_influencers.test.ts | 0 .../job_validation/validate_influencers.ts | 0 .../job_validation/validate_job_object.ts | 0 .../validate_model_memory_limit.test.ts | 0 .../validate_model_memory_limit.ts | 0 .../validate_time_range.test.ts | 0 .../job_validation/validate_time_range.ts | 0 .../__mocks__/mock_deployment_response.json | 0 .../__mocks__/mock_download_tasks.json | 0 .../model_management/get_model_state.test.tsx | 0 .../model_management/get_model_state.ts | 0 .../server/models/model_management/index.ts | 0 .../model_management/memory_usage.test.ts | 0 .../models/model_management/memory_usage.ts | 0 .../model_management/model_provider.test.ts | 0 .../model_management/models_provider.ts | 0 .../models/notifications_service/index.ts | 0 .../notifications_service_provider.ts | 0 .../results_service/anomaly_charts.test.ts | 0 .../models/results_service/anomaly_charts.ts | 0 .../build_anomaly_table_items.d.ts | 0 .../build_anomaly_table_items.js | 0 .../get_partition_fields_values.ts | 0 .../ml/server/models/results_service/index.ts | 0 .../models/results_service/results_service.ts | 0 .../plugins/shared}/ml/server/plugin.ts | 0 .../shared}/ml/server/routes/README.md | 0 .../shared}/ml/server/routes/alerting.ts | 0 .../shared}/ml/server/routes/annotations.ts | 0 .../ml/server/routes/anomaly_detectors.ts | 0 .../shared}/ml/server/routes/calendars.ts | 0 .../ml/server/routes/data_frame_analytics.ts | 0 .../ml/server/routes/data_visualizer.ts | 0 .../shared}/ml/server/routes/datafeeds.ts | 0 .../ml/server/routes/fields_service.ts | 0 .../shared}/ml/server/routes/filters.ts | 0 .../ml/server/routes/inference_models.ts | 0 .../ml/server/routes/job_audit_messages.ts | 0 .../shared}/ml/server/routes/job_service.ts | 0 .../ml/server/routes/job_validation.ts | 0 .../shared}/ml/server/routes/management.ts | 0 .../ml/server/routes/model_management.ts | 0 .../shared}/ml/server/routes/modules.ts | 0 .../shared}/ml/server/routes/notifications.ts | 0 .../ml/server/routes/results_service.ts | 0 .../shared}/ml/server/routes/saved_objects.ts | 0 .../server/routes/schemas/alerting_schema.ts | 0 .../routes/schemas/annotations_schema.ts | 0 .../schemas/anomaly_detectors_schema.ts | 0 .../server/routes/schemas/calendars_schema.ts | 0 .../schemas/data_frame_analytics_schema.ts | 0 .../routes/schemas/data_visualizer_schema.ts | 0 .../server/routes/schemas/datafeeds_schema.ts | 0 .../routes/schemas/fields_service_schema.ts | 0 .../server/routes/schemas/filters_schema.ts | 0 .../server/routes/schemas/indices_schema.ts | 0 .../server/routes/schemas/inference_schema.ts | 0 .../schemas/job_audit_messages_schema.ts | 0 .../routes/schemas/job_service_schema.ts | 0 .../routes/schemas/job_validation_schema.ts | 0 .../routes/schemas/management_schema.ts | 0 .../ml/server/routes/schemas/modules.ts | 0 .../routes/schemas/notifications_schema.ts | 0 .../routes/schemas/results_service_schema.ts | 0 .../routes/schemas/runtime_mappings_schema.ts | 0 .../ml/server/routes/schemas/saved_objects.ts | 0 .../shared}/ml/server/routes/system.ts | 0 .../ml/server/routes/trained_models.ts | 0 .../ml/server/saved_objects/authorization.ts | 0 .../shared}/ml/server/saved_objects/checks.ts | 0 .../shared}/ml/server/saved_objects/index.ts | 0 .../saved_objects/initialization/index.ts | 0 .../initialization/initialization.ts | 0 .../initialization/space_overrides/index.ts | 0 .../initialization/space_overrides/logs.ts | 0 .../initialization/space_overrides/metrics.ts | 0 .../space_overrides/space_overrides.test.ts | 0 .../space_overrides/space_overrides.ts | 0 .../ml/server/saved_objects/mappings.ts | 0 .../ml/server/saved_objects/migrations.ts | 0 .../ml/server/saved_objects/saved_objects.ts | 0 .../ml/server/saved_objects/service.ts | 0 .../shared}/ml/server/saved_objects/sync.ts | 0 .../ml/server/saved_objects/sync_task.ts | 0 .../shared}/ml/server/saved_objects/util.ts | 0 .../plugins/shared}/ml/server/shared.ts | 0 .../ml/server/shared_services/errors.test.ts | 0 .../ml/server/shared_services/errors.ts | 0 .../ml/server/shared_services/index.ts | 0 .../shared_services/license_checks/errors.ts | 0 .../shared_services/license_checks/index.ts | 0 .../license_checks/license_checks.ts | 0 .../providers/__mocks__/alerting_service.ts | 0 .../providers/__mocks__/anomaly_detectors.ts | 0 .../providers/__mocks__/jobs_service.ts | 0 .../providers/__mocks__/modules.ts | 0 .../providers/__mocks__/results_service.ts | 0 .../providers/__mocks__/system.ts | 0 .../providers/__mocks__/trained_models.ts | 0 .../providers/alerting_service.ts | 0 .../providers/anomaly_detectors.ts | 0 .../server/shared_services/providers/index.ts | 0 .../shared_services/providers/job_service.ts | 0 .../shared_services/providers/modules.ts | 0 .../providers/results_service.ts | 0 .../shared_services/providers/system.ts | 0 .../providers/trained_models.ts | 0 .../server/shared_services/shared_services.ts | 0 .../plugins/shared}/ml/server/types.ts | 0 .../shared}/ml/server/usage/collector.ts | 0 .../plugins/shared/ml}/server/usage/index.ts | 0 .../plugins/shared}/ml/tsconfig.json | 6 +- .../machine_learning/affected_job_ids.ts | 2 +- .../common/machine_learning/helpers.ts | 2 +- .../schema/xpack_platform.json | 103 +++++++++- .../schema/xpack_plugins.json | 100 ---------- x-pack/plugins/transform/jest.config.js | 15 -- yarn.lock | 92 ++++----- 3757 files changed, 896 insertions(+), 884 deletions(-) rename {packages => src/platform/packages/private}/default-nav/ml/README.md (100%) rename {packages => src/platform/packages/private}/default-nav/ml/default_navigation.ts (100%) rename {packages => src/platform/packages/private}/default-nav/ml/index.ts (100%) rename {packages => src/platform/packages/private}/default-nav/ml/jest.config.js (83%) rename {packages => src/platform/packages/private}/default-nav/ml/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/default-nav/ml/package.json (100%) rename {packages => src/platform/packages/private}/default-nav/ml/tsconfig.json (85%) rename {packages => src/platform/packages/shared}/deeplinks/ml/README.md (100%) rename {packages => src/platform/packages/shared}/deeplinks/ml/deep_links.ts (100%) rename {packages => src/platform/packages/shared}/deeplinks/ml/index.ts (100%) rename {packages => src/platform/packages/shared}/deeplinks/ml/jest.config.js (83%) rename {packages => src/platform/packages/shared}/deeplinks/ml/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/deeplinks/ml/package.json (100%) rename {x-pack/packages/ml/is_defined => src/platform/packages/shared/deeplinks/ml}/tsconfig.json (81%) delete mode 100644 x-pack/packages/ml/aiops_test_utils/jest.config.js delete mode 100644 x-pack/packages/ml/anomaly_utils/jest.config.js delete mode 100644 x-pack/packages/ml/cancellable_search/jest.config.js delete mode 100644 x-pack/packages/ml/chi2test/jest.config.js delete mode 100644 x-pack/packages/ml/creation_wizard_utils/jest.config.js delete mode 100644 x-pack/packages/ml/data_frame_analytics_utils/jest.config.js delete mode 100644 x-pack/packages/ml/data_grid/jest.config.js delete mode 100644 x-pack/packages/ml/data_view_utils/jest.config.js delete mode 100644 x-pack/packages/ml/date_picker/jest.config.js delete mode 100644 x-pack/packages/ml/date_utils/jest.config.js delete mode 100644 x-pack/packages/ml/error_utils/jest.config.js delete mode 100644 x-pack/packages/ml/field_stats_flyout/jest.config.js delete mode 100644 x-pack/packages/ml/in_memory_table/jest.config.js delete mode 100644 x-pack/packages/ml/inference_integration_flyout/jest.config.js delete mode 100644 x-pack/packages/ml/is_defined/jest.config.js delete mode 100644 x-pack/packages/ml/json_schemas/jest.config.js delete mode 100644 x-pack/packages/ml/kibana_theme/jest.config.js delete mode 100644 x-pack/packages/ml/local_storage/jest.config.js delete mode 100644 x-pack/packages/ml/nested_property/jest.config.js delete mode 100644 x-pack/packages/ml/number_utils/jest.config.js delete mode 100644 x-pack/packages/ml/number_utils/tsconfig.json delete mode 100644 x-pack/packages/ml/parse_interval/jest.config.js delete mode 100644 x-pack/packages/ml/query_utils/jest.config.js delete mode 100644 x-pack/packages/ml/random_sampler_utils/jest.config.js delete mode 100644 x-pack/packages/ml/response_stream/jest.config.js delete mode 100644 x-pack/packages/ml/route_utils/jest.config.js delete mode 100644 x-pack/packages/ml/runtime_field_utils/jest.config.js delete mode 100644 x-pack/packages/ml/string_hash/jest.config.js delete mode 100644 x-pack/packages/ml/time_buckets/jest.config.js delete mode 100644 x-pack/packages/ml/trained_models_utils/jest.config.js delete mode 100644 x-pack/packages/ml/ui_actions/jest.config.js delete mode 100644 x-pack/packages/ml/url_state/jest.config.js delete mode 100644 x-pack/packages/ml/validators/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/agg_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/index.ts (100%) rename x-pack/{packages/ml/category_validator => platform/packages/private/ml/agg_utils}/jest.config.js (75%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/build_sampler_aggregation.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/build_sampler_aggregation.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/fetch_agg_intervals.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/fetch_histograms_for_fields.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/field_histograms.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/get_sampler_aggregations_response_path.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/get_sampler_aggregations_response_path.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/is_multi_bucket_aggregate.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/time_series_metric_fields.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/type_guards.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/type_guards.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/validate_number.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/validate_number.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/tsconfig.json (89%) rename x-pack/{packages => platform/packages/private}/ml/aiops_change_point_detection/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_change_point_detection/constants.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/aiops_change_point_detection/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_change_point_detection/package.json (100%) rename {packages/deeplinks/ml => x-pack/platform/packages/private/ml/aiops_change_point_detection}/tsconfig.json (81%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/aiops_components/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/aiops_components/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/document_count_chart/brush_badge.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/document_count_chart/document_count_chart.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/document_count_chart/document_count_chart_redux.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/document_count_chart/index.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/dual_brush/dual_brush.scss (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/dual_brush/dual_brush.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/dual_brush/index.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/progress_controls/index.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/progress_controls/progress_controls.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/progress_controls/use_animated_progress_bar_background.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/tsconfig.json (92%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/fields.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/filtered_frequent_item_sets.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/final_significant_item_groups.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/final_significant_item_groups_textfield.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/frequent_item_sets.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/significant_item_groups.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/significant_log_patterns.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/significant_terms.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/top_terms.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/top_terms_groups.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/farequote/significant_item_groups.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/frequent_item_sets_large_arrays.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/kibana_sample_data_logs/significant_terms.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/tsconfig.json (83%) rename x-pack/{packages => platform/packages/private}/ml/cancellable_search/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/cancellable_search/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/cancellable_search/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/cancellable_search/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/cancellable_search/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/cancellable_search/src/use_cancellable_search.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/cancellable_search/tsconfig.json (84%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/common/constants/categorization.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/common/types/categories.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/category_validator/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/category_validator/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/src/examples.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/src/util.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/src/validation_results.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/tsconfig.json (83%) rename x-pack/{packages => platform/packages/private}/ml/creation_wizard_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/creation_wizard_utils/components/destination_index_form.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/creation_wizard_utils/components/use_id_as_index_name_switch.tsx (100%) create mode 100644 x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/creation_wizard_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/creation_wizard_utils/package.json (100%) rename x-pack/{packages/ml/trained_models_utils => platform/packages/private/ml/creation_wizard_utils}/tsconfig.json (82%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/analytics_utils.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/analytics_utils.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/constants.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/feature_importance.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/fields.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/get_num_top_classes.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/tsconfig.json (87%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/components/column_chart.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/components/data_grid.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/hooks/use_column_chart.test.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/hooks/use_column_chart.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/hooks/use_data_grid.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/index.ts (100%) rename x-pack/{packages/ml/aiops_log_pattern_analysis => platform/packages/private/ml/data_grid}/jest.config.js (74%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/lib/common.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/lib/common.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/lib/field_histograms.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/lib/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/tsconfig.json (88%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/actions/create.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/actions/data_view_handler.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/actions/delete.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/components/create_data_view_form_row.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/components/create_data_view_switch.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/components/create_data_view_time_field.tsx (100%) create mode 100644 x-pack/platform/packages/private/ml/data_view_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/schemas/api_create_query_schema.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/tsconfig.json (87%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/types/api_create_response_schema.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/types/api_delete_response_schema.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/date_picker/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/date_picker/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/components/date_picker_wrapper.test.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/components/date_picker_wrapper.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/components/full_time_range_selector.test.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/components/full_time_range_selector.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/hooks/use_date_picker_context.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/hooks/use_timefilter.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/hooks/use_timefilter.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/services/full_time_range_selector_service.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/services/full_time_range_selector_service.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/services/time_field_range.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/services/timefilter_refresh_service.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/services/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/storage.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/tsconfig.json (90%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/index.ts (100%) rename x-pack/{packages/ml/aiops_change_point_detection => platform/packages/private/ml/date_utils}/jest.config.js (74%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/src/date_utils.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/src/date_utils.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/src/time_format.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/tsconfig.json (84%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/field_stats_content.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/field_stats_flyout.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/field_stats_flyout_provider.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/field_stats_info_button.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/get_kbn_field_icon_types.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/get_kbn_field_icon_types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/options_list_with_stats/option_list_popover.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/options_list_with_stats/option_list_popover_footer.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/options_list_with_stats/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/populated_fields/index.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/populated_fields/populated_fields_cache_manager.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/tsconfig.json (92%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/use_field_stats_flyout_context.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/use_field_stats_trigger.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/in_memory_table/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/in_memory_table/hooks/use_table_state.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/in_memory_table/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/in_memory_table/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/in_memory_table/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/in_memory_table/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/in_memory_table/tsconfig.json (86%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/connect_to_api.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/eland_python_client.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/elasticsearch_models.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/flyout_layout.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/inference_flyout_wrapper.test.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/save_inference_mappings_button.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/service_forms/cohere_form.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/service_forms/huggingface_form.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/service_forms/openai_form.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/service_options.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/lib/shared_values.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/tsconfig.json (85%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/is_defined/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/is_defined/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/is_defined/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/is_defined/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/is_defined/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/is_defined/src/is_defined.ts (100%) rename x-pack/{packages/ml/aiops_change_point_detection => platform/packages/private/ml/is_defined}/tsconfig.json (81%) rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/is_populated_object/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/src/is_populated_object.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/src/is_populated_object.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/tsconfig.json (79%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/json_schemas/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/json_schemas/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/package.json (59%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/scripts/index.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/json_schema_service.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/put___ml_anomaly_detectors__job_id__schema.json (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/put___ml_data_frame_analytics__id__schema.json (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/put___ml_datafeeds__datafeed_id__schema.json (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/put___transform__transform_id___pivot_schema.json (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/schema_overrides.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/tsconfig.json (82%) rename x-pack/{packages => platform/packages/private}/ml/kibana_theme/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/kibana_theme/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/kibana_theme/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/kibana_theme/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/kibana_theme/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/kibana_theme/src/hooks.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/kibana_theme/tsconfig.json (83%) rename x-pack/{packages => platform/packages/private}/ml/local_storage/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/local_storage/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/local_storage/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/local_storage/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/local_storage/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/local_storage/src/storage_context.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/local_storage/tsconfig.json (84%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/nested_property/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/nested_property/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/src/get_nested_property.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/src/get_nested_property.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/src/set_nested_property.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/src/set_nested_property.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/tsconfig.json (80%) rename x-pack/{packages => platform/packages/private}/ml/number_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/number_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/number_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/number_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/number_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/number_utils/src/round_to_decimal_place.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/number_utils/src/round_to_decimal_place.ts (100%) rename x-pack/{packages/ml/chi2test => platform/packages/private/ml/number_utils}/tsconfig.json (81%) rename x-pack/{packages => platform/packages/private}/ml/parse_interval/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/parse_interval/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/parse_interval/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/parse_interval/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/parse_interval/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/parse_interval/parse_interval.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/parse_interval/parse_interval.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/parse_interval/tsconfig.json (81%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/query_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/query_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/__mocks__/simple_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/add_exclude_frozen_to_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/add_exclude_frozen_to_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/bool_filter_based_simple_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/bool_filter_based_simple_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/build_base_filter_criteria.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/build_base_filter_criteria.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/default_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/default_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/es_client_total_hits_relation.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/filter_based_default_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/filter_based_default_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/get_default_dsl_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/get_safe_aggregation_name.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/get_safe_aggregation_name.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/match_all_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/match_all_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/simple_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/simple_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/tsconfig.json (84%) rename x-pack/{packages => platform/packages/private}/ml/route_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/route_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/route_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/route_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/route_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/route_utils/src/create_execution_context.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/route_utils/src/create_execution_context.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/route_utils/tsconfig.json (84%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/index.ts (100%) rename x-pack/{packages/ml/is_populated_object => platform/packages/private/ml/string_hash}/jest.config.js (74%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/src/string_hash.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/src/string_hash.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/tsconfig.json (79%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/calc_auto_interval.js (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/calc_auto_interval.test.js (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/time_buckets/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/time_buckets/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/parse_interval.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/time_buckets.d.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/time_buckets.js (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/time_buckets.test.js (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/tsconfig.json (85%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/use_time_buckets.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/index.ts (100%) rename x-pack/{packages/ml/agg_utils => platform/packages/private/ml/ui_actions}/jest.config.js (75%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/src/aiops/ui_actions.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/src/ml/ui_actions.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/tsconfig.json (85%) rename x-pack/{packages => platform/packages/private}/ml/url_state/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/url_state/index.ts (100%) rename x-pack/{packages/ml/aiops_log_rate_analysis => platform/packages/private/ml/url_state}/jest.config.js (74%) rename x-pack/{packages => platform/packages/private}/ml/url_state/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/url_state/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/url_state/src/url_state.test.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/url_state/src/url_state.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/url_state/tsconfig.json (85%) rename x-pack/{packages => platform/packages/private}/ml/validators/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/validators/constants.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/validators/index.ts (100%) rename x-pack/{packages/ml/aiops_common => platform/packages/private/ml/validators}/jest.config.js (75%) rename x-pack/{packages => platform/packages/private}/ml/validators/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/validators/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/validators/tsconfig.json (81%) rename x-pack/{packages => platform/packages/private}/ml/validators/validators.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/validators/validators.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/create_default_query.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/create_default_query.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/is_request_aborted_error.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/is_request_aborted_error.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/aiops_common/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/tsconfig.json (85%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/create_category_request.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/embeddable.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/get_category_query.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/process_category_results.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/schema.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/tsconfig.json (89%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/__mocks__/date_histogram.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/api/schema.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/api/schema_v2.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/api/schema_v3.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/api/stream_reducer.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/api/stream_reducer.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/ecs_fields.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/ecs_fields.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_extended_change_point.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_extended_change_point.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_analysis_parameters_from_alert.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_change.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_change.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_snapped_window_parameters.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_swapped_window_parameters.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_window_parameters.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_ecommerce.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_large_arrays.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_pgbench.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/params_match_all.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/params_search_query.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/search_query.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_result.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_search_response.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_result.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_search_response.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/duplicate_identifier.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_categories.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_categories.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_category_counts.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_category_counts.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_index_info.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_log_rate_analysis_for_alert.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_groups.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_items.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_significant_categories.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_terms_2_categories_counts.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_top_categories.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_top_categories.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_top_terms.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_top_types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_group_filter.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_group_filter.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_histogram_query.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_histogram_query.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_normalized_score.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_query_with_params.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_query_with_params.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_range_query.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_range_query.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_request_base.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_total_doc_count_request.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_value_counts.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_value_counts.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_values_descending.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_values_descending.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queue_field_candidates.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/hooks.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/log_rate_analysis_slice.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/store.tsx (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/use_current_selected_group.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/use_current_selected_significant_item.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/tsconfig.json (92%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/window_parameters.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/aggregation_types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/anomaly_severity.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/anomaly_severity_types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/anomaly_threshold.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/anomaly_utils.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/anomaly_utils.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/custom_urls.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/detector_rule.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/es_client.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/field_types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/fields.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/get_formatted_severity_score.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/get_severity.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/get_severity.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/get_severity_color.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/get_severity_color.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/get_severity_type.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/severity_colors.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/tsconfig.json (85%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/compute_chi_2_pvalue.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/compute_chi_2_pvalue.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/critical_table_lookup.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/index.ts (100%) rename x-pack/{packages/ml/aiops_components => platform/packages/shared/ml/chi2test}/jest.config.js (74%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/package.json (100%) create mode 100644 x-pack/platform/packages/shared/ml/chi2test/tsconfig.json rename x-pack/{packages => platform/packages/shared}/ml/chi2test/types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/error_utils/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/error_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/src/process_errors.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/src/process_errors.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/src/request_error.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/src/types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/tsconfig.json (85%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/src/get_sample_probability.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/src/get_sample_probability.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/src/random_sampler_manager.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/src/random_sampler_wrapper.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/src/random_sampler_wrapper.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/tsconfig.json (83%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/client/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/client/fetch_stream.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/client/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/client/stream_slice.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/client/string_reducer.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/client/use_fetch_stream.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/response_stream/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/response_stream/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/server/accept_compression.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/server/accept_compression.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/server/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/server/stream_factory.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/server/stream_factory.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/tsconfig.json (86%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/src/is_runtime_field.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/src/is_runtime_field.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/src/is_runtime_mappings.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/src/is_runtime_mappings.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/tsconfig.json (86%) rename x-pack/{packages => platform/packages/shared}/ml/trained_models_utils/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/trained_models_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/trained_models_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/trained_models_utils/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/trained_models_utils/src/constants/trained_models.ts (100%) rename x-pack/{packages/ml/creation_wizard_utils => platform/packages/shared/ml/trained_models_utils}/tsconfig.json (82%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/app.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/i18n_constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/field_request_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/field_vis_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/indices.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/job_field_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/test_grok_pattern.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/time_field_request.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/utils/build_query_filters.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/utils/datafeed_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/utils/parse_interval.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/utils/parse_interval.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/utils/runtime_field_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/utils/tika_utils.ts (100%) create mode 100644 x-pack/platform/plugins/private/data_visualizer/jest.config.js rename x-pack/{plugins => platform/plugins/private}/data_visualizer/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/api/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/combined_field_label.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/combined_fields_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/combined_fields_read_only_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/geo_point.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/semantic_text.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/document_count_content/document_count_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/document_count_content/document_count_content.tsx (100%) rename x-pack/{plugins/aiops/public/components/document_count_content => platform/plugins/private/data_visualizer/public/application/common/components}/document_count_content/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/examples_list/examples_list.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/examples_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/file_based_expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/geo_point_content/geo_point_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/geo_point_content/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/use_expanded_row_css.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_count_panel/field_count_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_count_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_data_row/action_menu/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_data_row/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_data_row/number_content_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_names_filter/field_names_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_names_filter/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_type_icon/_field_type_icon.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_type_icon/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_type_icon/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_types_filter/field_types_help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_types_filter/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/fields_stats_grid/create_fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/fields_stats_grid/fields_stats_grid.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/fields_stats_grid/filter_fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/fields_stats_grid/get_field_names.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/fields_stats_grid/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/filebeat_config_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/help_menu/help_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/help_menu/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/link_card/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/link_card/link_card.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/loading_indicator/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/loading_indicator/loading_indicator.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/multi_select_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/not_in_docs_content/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/random_sampling_menu/probability_used.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/random_sampling_menu/random_sampler_range_slider.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/random_sampling_menu/random_sampling_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/results_links/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/results_links/results_links.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/expanded_row_field_header.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/metric_fields_count.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/styles.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/total_fields_count.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_number_content.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/boolean_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/date_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/document_stats.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/error_message.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/ip_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/keyword_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/number_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/other_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/text_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/boolean_content_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/number_content_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/top_values_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_data_builder.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_tooltip_header.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/hooks/color_range_legend.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/hooks/use_data_viz_chart_theme.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/use_table_settings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/top_values/_top_values.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/top_values/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/top_values/top_values.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/utils/format_value.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/utils/kibana_field_format.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/utils/number_as_ordinal.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/utils/number_as_ordinal.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/utils/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/hooks/data_source_context.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/hooks/use_current_eui_theme.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/hooks/use_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/hooks/use_document_count_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/hooks/use_search.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/types/data_visualizer_plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/display_error.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/example_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/example_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/field_types_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/get_data_test_subject.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/get_max_bytes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/grok_pattern.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/grok_pattern.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/promise_all_settled_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/charts/data_drift_distribution_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/charts/no_charts_data.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/charts/overlap_distribution_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/charts/single_distribution_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_app_state.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_chart_tooltip_body.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_hint.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_page.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_view.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx (99%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/document_count_chart_single_brush/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx (99%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/document_count_with_brush.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/use_data_drift_result.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/use_state_manager.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/about_panel/about_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/about_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/about_panel/welcome_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/axes.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_search.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/event_rate_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/edit_flyout.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/option_lists.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/options.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_validation.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/explanation_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_contents/field_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_contents/file_contents.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_contents/grok_highlighter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_contents/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_contents/preview_pdf.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_contents/use_text_parser.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_data_visualizer_view.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_error_callouts.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_size_check.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/tika_analyzer.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_errors/errors.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_errors/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_progress/import_progress.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_progress/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/advanced.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/inputs.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/use_existing_indices.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/create_data_view_tooltip.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/import_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/semantic_text_info.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/simple.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_summary/failures.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_summary/import_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_summary/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_view/import.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_view/import_view.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_view/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/json_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/json_editor/json_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/results_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/results_view/results_view.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/actions_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/data_view_management/data_view_management.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/data_view_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/search_panel/esql/limit_size.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_name_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx (100%) rename x-pack/{plugins/aiops/public => platform/plugins/private/data_visualizer/public/application/index_data_visualizer}/components/search_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/constants/esql_constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/constants/field_stats_component_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/constants/index_data_visualizer_viewer.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/constants/random_sampler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_esql_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer_view_type.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/initialize_field_stats_controls.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/resolve_field_stats_embeddable_input.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_error_msg.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_esql_field_stats_table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_loading_fallback.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/field_stats_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_field_stats_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_overall_stats_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/hooks/use_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/hooks/use_overall_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/locator/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/locator/locator.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/locator/locator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/progress_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_boolean_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_count_and_cardinality.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_date_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_keyword_fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_numeric_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/handle_error.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/build_random_sampler_agg.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/fetch_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_boolean_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_data_view_by_index_pattern.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_date_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_document_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_field_examples.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_fields_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_numeric_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_string_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/overall_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/types/combined_query.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/types/data_drift.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/types/esql_data_visualizer.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/types/index_data_visualizer_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/types/overall_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/types/storage.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/get_reason_fieldstats_unavailable_for_esql_query.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/get_supported_aggs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/process_distribution_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/kibana_context.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/kibana_services.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/lazy_load_bundle/component_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/lazy_load_bundle/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/lazy_load_bundle/lazy/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/register_home.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/config_schema.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/register_custom_integration.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/routes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/types/deps.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/utils/error_wrapper.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/tsconfig.json (96%) rename x-pack/{plugins => platform/plugins/private}/transform/common/constants.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/alerting.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/common.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/data_view.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/data_view.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/es_index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/es_ingest_pipeline.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/messages.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/pivot_aggs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/pivot_group_by.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/storage.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/transform.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/transform_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/alerts.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/create_capability_failure_message.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/create_stats_unknown_message.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/errors.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/es_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/field_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/field_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/to_array.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/transform_api_key.ts (100%) rename x-pack/{plugins/ml => platform/plugins/private/transform}/jest.config.js (50%) rename x-pack/{plugins => platform/plugins/private}/transform/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/transform_alerting_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/transform_health_rule_type/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/__mocks__/app_dependencies.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/app.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/app_dependencies.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/__mocks__/transform_list_row.json (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/__mocks__/transform_stats.json (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/aggregations.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/constants/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/data_grid.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/data_grid.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/dropdown.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/managed_transforms_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/navigation.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/pivot_aggs.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/pivot_aggs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/pivot_group_by.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/reauthorization_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/request.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/request.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/time_zone_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/time_zone_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/transform.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/transform.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/transform_list.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/transform_stats.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/transform_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/frequency_validator.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/frequency_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/integer_above_zero_validator.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/integer_above_zero_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/integer_range_minus_1_to_100_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_continuous_mode_delay.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_continuous_mode_delay.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_json_string.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_json_string.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_retention_policy_max_age.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_retention_policy_max_age.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_transform_wizard_frequency.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_transform_wizard_frequency.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_valid_frequency.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/messages.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/parse_duration_above_zero.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/parse_duration_above_zero.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/retention_policy_max_age_validator.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/retention_policy_max_age_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/string_validator.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/string_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/transform_settings_number_of_retries_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/transform_settings_page_search_size_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/components/capabilities_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/components/job_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/components/toast_notification_text.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/components/toast_notification_text.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_create_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_data_search.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_data_view_exists.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_delete_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_documentation_links.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_data_view_titles.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_data_views_title_id_map.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_es_indices.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_es_ingest_pipelines.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_histograms_for_fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_transform_audit_messages.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_transform_nodes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_transform_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_transforms_preview.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_index_data.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_index_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_reauthorize_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_refresh_transform_list.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_reset_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_schedule_now_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_search_items/common.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_search_items/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_search_items/use_search_items.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_start_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_stop_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_transform_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_transform_config_data.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_transform_config_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_update_transform.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/mount_management_section.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/clone_transform/clone_transform_section.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/clone_transform/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_pivot_editor/advanced_pivot_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_pivot_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/advanced_pivot_editor_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/advanced_query_editor_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor/advanced_runtime_mappings_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/advanced_runtime_mappings_editor_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/switch_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/advanced_runtime_mappings_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_source_editor/advanced_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_source_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_dropdown/dropdown.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_dropdown/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/_aggregation_label_form.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/list_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/list_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/sub_aggs_section.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/date_picker_apply_switch/date_picker_apply_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/date_picker_apply_switch/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/_group_by_label_form.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/list_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/list_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/list_summary.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/list_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/popover_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/popover_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/pivot_configuration/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/pivot_configuration/pivot_configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/source_search_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/source_search_bar/source_search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_create/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_create/step_create_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_create/step_create_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/apply_transform_config_to_define_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_range_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/get_agg_form_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/get_agg_name_conflict_toast_messages.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/get_default_aggregation_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/get_default_group_by_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/get_default_step_define_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/percentiles_form_component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/terms_form_component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/components/top_metrics_agg_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_pivot_editor.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_runtime_mappings_editor.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_source_editor.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_date_picker.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_pivot_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_step_define_form.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/latest_function_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/pivot_function_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/step_define_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/step_define_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/step_define_summary.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/transform_function_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_details/common.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_details/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_details/step_details_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/switch_modal/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/switch_modal/switch_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard/_wizard.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard/storage.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard/wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard_nav/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard_nav/wizard_nav.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/create_transform_section.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_api_error_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_flyout_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_area.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_input.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_ingest_pipeline.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_retention_policy.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_update_button.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/__mocks__/transform_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/actions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/form_field.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/form_section.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/get_default_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/get_update_value.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/api_error_message.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/form_field.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/form_sections.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/is_form_touched.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/is_form_valid.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/retention_policy_field.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/updated_transform_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/validators.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/value_parsers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/utils/capitalize_first_letter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_clone/clone_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_clone/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_create_alert/create_alert_rule_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_create_alert/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_create_alert/use_create_alert_rule_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_delete/delete_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_delete/use_delete_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_discover/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_edit/edit_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_edit/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reauthorize/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reauthorize/use_reauthorize_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reset/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reset/reset_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reset/reset_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reset/use_reset_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_schedule_now/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_schedule_now/schedule_now_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_schedule_now/use_schedule_now_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_start/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_start/start_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_start/start_action_name.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_start/start_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_start/use_start_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_stop/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_stop/stop_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_stop/use_stop_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/create_transform_button/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/create_transform_button/_transform_search_dialog.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/create_transform_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/dangling_task_warning/dangling_task_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/managed_transforms_callout/managed_transforms_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/refresh_transform_list_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/refresh_transform_list_button/refresh_transform_list_button.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/search_selection/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/search_selection/search_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/stats_bar/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/stats_bar/_stat.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/stats_bar/_stats_bar.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/stats_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/stats_bar/stat.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/stats_bar/stats_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_details_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_preview_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_stats_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/transform_health_colored_dot.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/transform_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/transform_search_bar_filters.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/transform_task_state_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/use_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/use_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/use_columns.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/use_columns.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/use_table_settings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/transform_management_section.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/transform_management_section.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/serverless_context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/services/navigation/breadcrumb.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/services/navigation/doc_title.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/services/navigation/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/services/text/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/services/text/text.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/register_feature.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/readme.md (98%) rename x-pack/{plugins => platform/plugins/private}/transform/server/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/capabilities.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/lib/alerting/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/lib/alerting/transform_health_rule_type/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/lib/alerting/transform_health_rule_type/schema.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/audit_messages/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/audit_messages/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/delete_transforms/delete_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/delete_transforms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/delete_transforms/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/field_histograms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/field_histograms/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/reauthorize_transforms/reauthorize_and_start_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/reauthorize_transforms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/reset_transforms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/reset_transforms/reset_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/reset_transforms/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/schedule_now_transforms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/schedule_now_transforms/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/schedule_now_transforms/schedule_now_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/start_transforms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/start_transforms/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/start_transforms/start_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/stop_transforms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/stop_transforms/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/stop_transforms/stop_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_all/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_all/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_create/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_create/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_nodes/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_nodes/route_handler_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_nodes/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_preview/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_preview/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_single/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_single/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_stats_all/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_stats_all/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_stats_single/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_stats_single/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_update/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_update/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/audit_messages.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/common.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/delete_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/field_histograms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/reauthorize_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/reset_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/schedule_now_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/start_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/stop_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/transforms_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/update_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/apidoc.json (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/utils/error_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/services/license.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/usage/collector.ts (100%) rename x-pack/{plugins/ml => platform/plugins/private/transform}/server/usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/tsconfig.json (96%) rename x-pack/{plugins => platform/plugins/shared}/aiops/README.md (89%) rename x-pack/{plugins => platform/plugins/shared}/aiops/jest.config.js (62%) rename x-pack/{plugins => platform/plugins/shared}/aiops/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/url_state/common.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/url_state/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/url_state/log_pattern_analysis.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/url_state/log_rate_analysis.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/utils/build_extended_base_filter_criteria.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/utils/build_extended_base_filter_criteria.ts (97%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/utils/search_utils.ts (97%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/utils/time_series_dataview_check.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/cases/change_point_charts_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/cases/log_pattern_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/cases/log_rate_analysis_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/cases/register_cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/change_point_detection_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/change_point_detection_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/change_point_detection_root.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/change_point_type_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/change_points_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/chart_component.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/charts_grid.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/fields_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/function_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/max_series_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/metric_field_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/no_change_points_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/partitions_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/split_field_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/use_change_point_agg_request.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/use_common_chart_props.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/use_split_field_cardinality.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/view_type_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/document_count_content/document_count_content/document_count_content.tsx (100%) rename x-pack/{plugins/data_visualizer/public/application/common/components => platform/plugins/shared/aiops/public/components/document_count_content}/document_count_content/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/document_count_content/total_count_header/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx (94%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/field_stats_popover/field_stats_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/field_stats_popover/field_stats_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/field_stats_popover/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/attachments_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/categorize_field_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/category_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/labels.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/table_header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/use_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/use_open_in_discover.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_validation_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/create_categorization_job.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/document_count_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/format_category.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/format_category.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/information_text.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/loading_categorization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_app_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_enabled.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/discover_tabs.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/embeddable_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/field_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_embeddable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/minimum_time_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/selected_patterns.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/use_minimum_time_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/sampling_menu/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/sampling_menu/random_sampler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/sampling_menu/random_sampler_range_slider.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/sampling_menu/sampling_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/sampling_menu/use_random_sampler_storage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/show_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/technical_preview_badge/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/technical_preview_badge/technical_preview_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/use_categorize_request.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/use_discover_links.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/use_validate_category_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/item_filter_apply_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/item_filter_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_content/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_document_count_chart_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_for_embeddable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_info_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx (98%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/get_failed_transactions_correlation_impact_label.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/impact_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/use_view_in_discover_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/use_view_in_log_pattern_analysis_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/mini_histogram/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/mini_histogram/mini_histogram.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/page_header/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/page_header/page_header.tsx (100%) rename x-pack/{plugins/data_visualizer/public/application/index_data_visualizer => platform/plugins/shared/aiops/public}/components/search_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/search_panel/search_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/time_field_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/change_point_chart_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/const.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/embeddable_change_point_chart_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/embeddable_chart_component_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/initialize_change_point_controls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/resolve_change_point_config_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/log_rate_analysis/embeddable_log_rate_analysis_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/log_rate_analysis/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/log_rate_analysis/initialize_log_rate_analysis_analysis_controls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/log_rate_analysis/log_rate_analysis_embeddable_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/log_rate_analysis/resolve_log_rate_analysis_config_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/log_rate_analysis/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/embeddable_pattern_analysis_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/initialize_pattern_analysis_controls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/pattern_analysis_component_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/pattern_analysis_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/resolve_pattern_analysis_config_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/get_document_stats.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/__mocks__/use_aiops_app_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/__mocks__/use_reload.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_aiops_app_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_cancellable_search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_cases_modal.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_data_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_document_count_stats.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_eui_theme.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_filters_query.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_filters_query.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_reload.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/shared_components/change_point_detection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/shared_components/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/shared_components/log_rate_analysis_embeddable_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/shared_components/pattern_analysis.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/shared_lazy_components.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/types/storage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/change_point_action_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/create_change_point_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/create_log_rate_analysis_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/create_pattern_analysis_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/log_rate_analysis_action_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/open_change_point_ml.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/pattern_analysis_action_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/lib/license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/lib/track_route_usage.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/lib/track_route_usage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/register_cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/categorization_field_validation/define_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/categorization_field_validation/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/error_wrapper.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/grouping_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/histogram_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/index_info_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/overall_histogram_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/overrides_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/significant_items_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/top_items_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/define_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/log_debug_message.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/state_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end_with_updated_loading_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_ping_with_timeout.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis_field_candidates/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/tsconfig.json (96%) rename x-pack/{plugins => platform/plugins/shared}/ml/.gitignore (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/__mocks__/mock_anomalies_table_data.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/__mocks__/mock_anomalies_table_data_multiple_detectors.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/api_schemas/json_schema_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/annotations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/app.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/calendars.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/charts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/cloud.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/index_patterns.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/job_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/jobs_list.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/locator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/message_levels.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/messages.test.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/messages.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/messages.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/new_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/notifications.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/states.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/usage_collection.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/license/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/license/ml_license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/openapi/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/openapi/ml_apis.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/openapi/ml_apis_serverless.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/__mocks__/job_config_farequote.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/annotations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/annotations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/combined_job.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/combined_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/datafeed.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/datafeed_stats.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/job_stats.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/model_snapshot.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/summary_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/audit_message.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/calendars.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/categories.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/common.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/data_recognizer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/detector_rules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/groups.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/job_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/job_validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/kibana.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/locator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/management.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/ml_server_info.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/modules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/notifications.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/results.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/storage.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/storage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/anomalies_table_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/anomalies_table_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/anomaly_description.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/chart_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/datafeed_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/es_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/es_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/fields_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/group_color_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/job_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/job_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/metric_change_description.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/metric_change_description.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/object_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/object_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/string_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/string_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/validation_utils.ts (100%) rename x-pack/{plugins/data_visualizer => platform/plugins/shared/ml}/jest.config.js (67%) rename x-pack/{plugins => platform/plugins/shared}/ml/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/__mocks__/core_start.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/__mocks__/ml_start_deps.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_alerts_table/alert_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_alerts_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_alerts_table/register_alerts_table_configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_alerts_table/use_alerts_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/advanced_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/config_validator.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/interim_results_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/ml_anomaly_alert_trigger.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/preview_alert_condition.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/register_anomaly_detection_rule.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/result_type_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/job_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/jobs_health_rule/anomaly_detection_jobs_health_rule_trigger.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/jobs_health_rule/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/jobs_health_rule/register_jobs_health_alerting_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/jobs_health_rule/tests_selection_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/ml_alerting_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/register_ml_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/time_interval_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/_variables.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/access_denied/access_denied.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/access_denied/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/aiops/change_point_detection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/aiops/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/aiops/log_categorization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/aiops/log_rate_analysis.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/app.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/capabilities/__mocks__/check_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/capabilities/check_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/capabilities/get_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotation_description_list/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotation_description_list/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotation_description_list/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotation_flyout/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotation_flyout/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotations_table/__mocks__/mock_annotations.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotations_table/annotations_table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotations_table/annotations_table.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotations_table/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/delete_annotation_modal/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/_anomalies_table.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomalies_table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomalies_table.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomalies_table_columns.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomalies_table_constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomaly_details.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomaly_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/description_cell.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/detector_cell.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/get_query_string_for_influencers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/get_query_string_for_influencers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/influencers_cell.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/links_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/severity_cell/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/severity_cell/severity_cell.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/severity_cell/severity_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomaly_results_view_selector/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/callout/callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/callout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/chart_tooltip/chart_tooltip.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/chart_tooltip/chart_tooltip_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/chart_tooltip/chart_tooltip_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/chart_tooltip/chart_tooltip_styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/chart_tooltip/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/collapsible_panel/collapsible_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/collapsible_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/collapsible_panel/panel_header_items.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/color_range_legend/color_range_legend.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/color_range_legend/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/color_range_legend/use_color_range.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/color_range_legend/use_color_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/checkbox_showcharts/checkbox_showcharts.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/checkbox_showcharts/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/select_interval/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/select_interval/select_interval.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/select_interval/select_interval.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/select_severity/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/select_severity/select_severity.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/select_severity/select_severity.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/create_data_view_button/create_data_view_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/create_data_view_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_hooks/use_create_ad_links.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_hooks/use_partial_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_selection_table/custom_selection_table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_selection_table/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/custom_time_range_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/get_dropdown_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/interval_time_range_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_urls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_urls_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/is_valid_custom_urls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/data_recognizer/data_recognizer.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/data_recognizer/data_recognizer.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/data_recognizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/data_recognizer/recognized_result.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/delete_space_aware_item_check_modal/delete_space_aware_item_check_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/delete_space_aware_item_check_modal/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/display_value/display_value.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/display_value/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/entity_cell/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/entity_cell/entity_cell.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/entity_cell/entity_cell.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/entity_cell/entity_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/entity_cell/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/feedback_button/feature_feedback_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/feedback_button/feedback_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/feedback_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/header_menu_portal/header_menu_portal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/header_menu_portal/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_icon/help_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_icon/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_menu/help_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_menu/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_popover/help_popover.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_popover/help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_popover/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_job_warning_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/export_jobs_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/export_jobs_flyout/jobs_export_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_import_jobs_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_read_file_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/import_jobs_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/import_jobs_flyout/jobs_import_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/import_jobs_flyout/validate.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/influencers_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/influencers_list/influencers_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/influencers_list/influencers_list_styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/items_grid/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/items_grid/items_grid.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/items_grid/items_grid_pagination.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_message_icon/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_message_icon/job_message_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_messages/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_messages/job_messages.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/_job_selector.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/id_badges/id_badges.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/id_badges/id_badges.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/id_badges/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_select_service_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector_badge/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector_badge/job_selector_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector_table/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector_table/job_selector_table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector_table/job_selector_table.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/new_selection_id_badges/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/timerange_bar/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/timerange_bar/timerange_bar.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/timerange_bar/timerange_bar.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/use_job_selection.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_spaces_sync/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_spaces_sync/job_spaces_sync_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_spaces_sync/sync_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/jobs_awaiting_node_warning/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/link_card/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/link_card/link_card.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/loading_indicator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/loading_indicator/loading_indicator.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/message_call_out/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/message_call_out/message_call_out.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_entity_selector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_entity_selector/ml_entity_selector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_entity_selector/ml_entity_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/add_inference_pipeline_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/components/additional_advanced_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/components/pipeline_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/components/processor_configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/components/reindex_with_pipeline.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/components/save_changes_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/components/test_pipeline.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/get_pipeline_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/get_steps.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/hooks/use_fetch_pipelines.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/retry_create_data_view.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_page/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_page/ml_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_page/notifications_indicator.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_page/side_nav.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_saved_objects_spaces_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_saved_objects_spaces_list/ml_saved_objects_spaces_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/close_job_confirm/close_job_confirm.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/close_job_confirm/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/edit_model_snapshot_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/model_snapshots_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/chart_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/multi_select_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/multi_select_picker/multi_select_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/node_available_warning/hooks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/node_available_warning/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/node_available_warning/node_available_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/node_available_warning/warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/page_header/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/page_header/page_header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/page_title/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/page_title/page_title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/__snapshots__/actions_section.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/__snapshots__/condition_expression.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/__snapshots__/conditions_section.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/__snapshots__/scope_expression.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/__snapshots__/scope_section.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/_rule_editor.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/actions_section.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/actions_section.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/components/detector_description_list/_detector_description_list.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/components/detector_description_list/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/condition_expression.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/condition_expression.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/conditions_section.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/conditions_section.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/rule_editor_flyout.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/rule_editor_flyout.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/scope_expression.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/scope_expression.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/scope_section.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/scope_section.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/select_rule_action.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/utils.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/saved_objects_warning/__mocks__/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/saved_objects_warning/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/scatterplot_matrix/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/severity_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/severity_control/severity_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/add_inference_pipeline_footer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/add_inference_pipeline_horizontal_steps.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/on_failure_configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/pipeline_details_title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/pipeline_name_and_description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/review_and_create_pipeline.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/stats_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/stats_bar/stat.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/stats_bar/stats_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/technical_preview_badge/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/technical_preview_badge/technical_preview_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/upgrade/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/upgrade/upgrade_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/validate_job/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/validate_job/validate_job_view.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/validate_job/validate_job_view.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/validate_job/validate_job_view.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/vega_chart/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/vega_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/vega_chart/vega_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/vega_chart/vega_chart_loading.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/vega_chart/vega_chart_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/__mocks__/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/__mocks__/kibana_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/__mocks__/use_field_formatter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/__mocks__/use_ml_api_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/__mocks__/use_ml_license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/__mocks__/use_timefilter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/kibana_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_cases_modal.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_create_url.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_current_theme.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_field_formatter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_ml_api_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_ml_license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_navigate_to_path.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_notifications_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_ui_settings_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/__mocks__/data_view.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/__mocks__/data_view_contract.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/__mocks__/kibana_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/__mocks__/ml_notifications_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/__mocks__/saved_search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/data_source_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/ml_annotation_updates_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/ml_notifications_context.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/ml_notifications_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/ml_server_info_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/serverless_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/use_job_selection_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/analytics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/get_destination_index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/get_index_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/get_index_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/get_scatterplot_matrix_legend_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/render_cell_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/search_bar_filters.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/use_results_view_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/hyper_parameters.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/back_to_list_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/analysis_fields_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/form_options_validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/supported_fields_message.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/use_saved_search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/continue_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/create_analytics_advanced_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/editor_component.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/create_step.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/additional_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index_permissions_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/switch_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/fetch_explain_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_can_create_data_view.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_data_view_time_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/classification_exploration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/column_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/confusion_matrix_help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_stat.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluation_quality_metrics_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/get_roc_curve_chart_vega_lite_spec.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/is_training_filter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/roc_curve_help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_confusion_matrix.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_roc_curve.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/data_view_prompt.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/error_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_analytics.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_splom.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/exploration_page_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_data_grid.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_classification.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_json_viewer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/missing_decision_path_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/job_config_error_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/loading_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_stat.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/regression_exploration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/total_feature_importance_summary/feature_importance_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/hooks/use_exploration_url_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/use_clone_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/use_edit_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/map_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/use_map_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/use_start_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/use_stop_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/get_view_link_status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/use_view_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/view_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_list_item.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_stats.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/analytics_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_details_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_json_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_messages_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/progress_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_columns.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_refresh_interval.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_table_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/data_frame_analytics_kibana.png (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/empty_prompt.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/refresh_analytics_list_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/delete_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/start_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/stop_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/components/analytics_selector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_classification_job.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_outlier_detection_job.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_regression_job.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/legend.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/use_ref_dimensions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/job_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/use_fetch_analytics_map_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/source_selection/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/source_selection/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/data_drift/data_drift_index_patterns_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/data_drift/data_drift_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/data_drift/data_view_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/data_drift/index_patterns_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/datavisualizer_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/file_based/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/index_based/common/request.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/index_based/data_loader/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/index_based/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/__mocks__/mock_overall_swimlane.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/__mocks__/mock_viewby_swimlane.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/_explorer.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/actions/job_selection.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/actions/load_explorer_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/alerts_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/alerts_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/anomaly_detection_alerts_state_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/const.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/get_alerts_summary.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/get_alerts_summary.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/swim_lane_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/annotation_timeline.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomalies_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_charts_state_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_context_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_explorer_common_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_explorer_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_timeline.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_timeline_help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_timeline_state_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/calculate_row_options.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/calculate_row_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_influencers_found/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_jobs_selected/explorer_no_jobs_selected.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_jobs_selected/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_results_found/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_query_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/no_overall_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_record.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_job_config.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_rare.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_promises_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/_explorer_chart.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/_explorer_chart_tooltip.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/entity_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_anomalies_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_embedded_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_charts_container.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_charts_container.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_charts_container_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_charts_error_callouts.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/map_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/utils/draw_anomaly_explorer_charts_cursor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_dashboard_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/has_matching_points.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/has_matching_points.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/hooks/use_explorer_url_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/hooks/use_selected_cells.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/clear_influencer_filter_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/get_index_pattern.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/job_selection_change.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/reducer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/set_kql_query_bar_placeholder.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/swimlane_annotation_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/swimlane_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/swimlane_pagination.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/abbreviate_whole_number.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/abbreviate_whole_number.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/format_value.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/format_value.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/kibana_field_format.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/number_as_ordinal.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/number_as_ordinal.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/hooks/use_as_observable.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/hooks/use_as_observable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/components/jobs_action_menu/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/components/jobs_action_menu/jobs_action_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_empty_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_kibana.png (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/confirm_modals/close_jobs_confirm_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/confirm_modals/managed_jobs_warning_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/confirm_modals/stop_datafeeds_confirm_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/datafeed_chart_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/edit_query_delay.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/delete_job_modal/delete_job_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/delete_job_modal/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_actions/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_actions/management.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_actions/results.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/extract_job_details.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/format_values.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/job_details.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/job_details_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/job_messages_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/json_tab.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_filter_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_filter_bar/job_filter_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_group/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_group/job_group.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_list/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_list/job_description.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_list/job_id_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_list_view/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/ml_job_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/ml_job_editor/ml_job_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/actions_menu.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/new_job_button/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/new_job_button/new_job_button.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/reset_job_modal/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/reset_job_modal/open_jobs_warning_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/reset_job_modal/reset_job_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/utils.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/validate_job.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/jobs.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/chart_loader/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/chart_loader/searches.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/components/job_groups_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/components/time_range_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/index_pattern_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/geo_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/type_guards.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/util/default_configs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/util/general.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_runner/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_runner/job_runner.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_validator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_validator/job_validator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_validator/util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_validator/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/map_loader/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/map_loader/map_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/results_loader/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/results_loader/results_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/results_loader/searches.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_dashboard/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_dashboard/quick_create_job_base.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_lens/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_lens/quick_create_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_lens/route_resolver.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_lens/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_lens/visualization_extractor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_map/quick_create_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_map/route_resolver.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_map/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_map/visualization_extractor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_pattern_analysis/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_pattern_analysis/quick_create_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_pattern_analysis/route_resolver.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_pattern_analysis/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/anomaly_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/line.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/scatter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/common/anomalies.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/common/axes.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/common/settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/common/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/event_rate_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/loading_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/edit_categorization_analyzer_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/json_editor_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/model_memory_limit_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/frequency_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/hooks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/query_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/query_delay_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/reset_query.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/scroll_size_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/datafeed.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_creator_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/additional_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/calendars_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description_dst.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/custom_urls_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/advanced_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/annotations_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/dedicated_index_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/ignore_unavailable_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/mml_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/model_plot_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/groups_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/job_description_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/job_id_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/job_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/advanced_detector_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/descriptions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/function_help.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/modal_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/advanced_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/detector_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/extra.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/agg_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/bucket_span_estimator.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/estimate_bucket_span.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/by_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/categorization_detector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_dropdown.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_stop_on_warn_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/categorization_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/category_stopped_partitions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/examples_valid_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/invalid_ccs_version_valid_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/top_categories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/detector_title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_map_examples.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/metric_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/chart_grid.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/multi_metric_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/population_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/chart_grid.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/population_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/detector_cards.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/rare_detector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/detector_description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/rare_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/single_metric_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/sparse_data_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/animate_split_hook.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/split_cards.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/split_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/split_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/pick_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/step_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/common.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/datafeed_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/detector_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/job_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/job_progress.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/post_save_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/start_datafeed_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/time_range_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/time_range_step/time_range.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/validation_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/validation_step/skip_validatoin.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/validation_step/validation.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/wizard_nav/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/wizard_nav/wizard_nav.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/index_or_search/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/index_or_search/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/job_type/categorization_job_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/job_type/geo_job_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/job_type/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/job_type/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/job_type/rare_job_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/new_job/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/new_job/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/new_job/wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/new_job/wizard_horizontal_steps.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/new_job/wizard_steps.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/components/create_result_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/components/edit_job.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/components/job_item.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/components/job_settings_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/components/kibana_objects.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/components/module_jobs.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/utils/new_job_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/license/check_license.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/license/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/breadcrumbs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/access_denied_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/insufficient_license_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/docs_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/columns.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/space_management.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/management_urls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/memory_item_colors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/memory_tree_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/memory_tree_map/memory_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/memory_usage_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/nodes_overview/expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/nodes_overview/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/nodes_overview/memory_preview_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/nodes_overview/nodes_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/ml.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/ml_nodes_check/check_ml_nodes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/ml_nodes_check/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/add_model_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/config_mapping.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/create_pipeline_for_model/create_pipeline_for_model_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/create_pipeline_for_model/get_inference_properties_from_pipeline_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/create_pipeline_for_model/get_pipeline_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/create_pipeline_for_model/pipeline_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/create_pipeline_for_model/state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/create_pipeline_for_model/test_trained_model.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/delete_models_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/deployment_params_mapper.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/deployment_params_mapper.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/deployment_setup.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/force_stop_dialog.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/get_model_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/inference_api_tab.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/model_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/model_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/models_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/pipelines/expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/pipelines/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/pipelines/pipelines.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_dfa_models_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/inference_error.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/index_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_base.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_info.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_input_form/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_input_form/index_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_input_form/inference_input_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_input_form/input_form_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_input_form/text_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/ner/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/ner/ner_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/ner/ner_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/question_answering/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/question_answering/question_answering_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/question_answering/question_answering_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/question_answering/question_answering_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/raw_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/fill_mask_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/fill_mask_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/lang_codes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/lang_ident_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/lang_ident_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/text_classification_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/text_classification_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_embedding/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_expansion/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/output_loading.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/selected_model.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/test_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/test_model_and_pipeline_creation_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/test_trained_model_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/test_trained_models_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/notifications/components/entity_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/notifications/components/notifications_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/notifications/components/notifications_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/notifications/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/analytics_panel/actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/analytics_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/analytics_panel/table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/anomaly_detection_panel/actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/anomaly_detection_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/anomaly_detection_panel/table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/anomaly_detection_panel/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/overview_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/breadcrumbs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/components/navigate_to_page_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/ml_page_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/resolvers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/router.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/aiops/change_point_detection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/aiops/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/aiops/log_categorization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/aiops/log_rate_analysis.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/data_frame_analytics/analytics_job_creation.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/data_frame_analytics/analytics_job_exploration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/data_frame_analytics/analytics_jobs_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/data_frame_analytics/analytics_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/data_frame_analytics/analytics_source_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/data_frame_analytics/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/datavisualizer/data_comparison.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/datavisualizer/data_drift.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/datavisualizer/datavisualizer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/datavisualizer/file_based.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/datavisualizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/datavisualizer/index_based.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/explorer/explorer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/explorer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/explorer/state_manager.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/jobs_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/memory_usage.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/from_lens.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/from_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/from_pattern_analysis.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/index_or_search.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/job_type.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/new_job.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/recognize.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/notifications.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/overview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/settings/calendar_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/settings/calendar_new_edit.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/settings/filter_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/settings/filter_list_new_edit.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/settings/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/supplied_configurations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/supplied_configurations/supplied_configurations_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/timeseriesexplorer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/timeseriesexplorer/state_manager.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/trained_models/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/trained_models/models_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/use_active_route.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/use_doc_title.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/use_refresh.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/use_resolver.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/use_resolver.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/__mocks__/anomaly_detector_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/__mocks__/anomaly_explorer_charts_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/__mocks__/cloudwatch_job_caps_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/__mocks__/ml_api_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/__mocks__/ml_info_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/__mocks__/nested_field_index_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/annotations_service.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/annotations_service.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/anomaly_detector_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/anomaly_explorer_charts_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/anomaly_explorer_charts_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/anomaly_timeline_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/calendar_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/dashboard_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/dashboard_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/elastic_models_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/field_format_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/field_format_service_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/forecast_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/get_shared_ml_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/http_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/job_cloning_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/job_service.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/job_service.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/alerting.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/annotations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/data_frame_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/inference_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/jobs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/json_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/management.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/notifications.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/results.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_results_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_server_info.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_server_info.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/new_job_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/results_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/results_service/result_service_rx.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/results_service/results_service.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/results_service/results_service.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/state_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/table_service.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/toast_notification_service/__mocks__/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/toast_notification_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/toast_notification_service/toast_notification_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/usage_collection.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/usage_collection.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/anomaly_detection_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/anomaly_detection_settings_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/dst_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/dst_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/calendar_form/dst_event_generator.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/calendar_form/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/events_table/events_table.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/events_table/events_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/events_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/import_modal/import_modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/import_modal/import_modal.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/import_modal/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/import_modal/utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/imported_events/imported_events.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/imported_events/imported_events.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/imported_events/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/new_calendar.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/new_calendar.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/new_calendar.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/new_event_modal/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/__snapshots__/header.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/calendars_list.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/calendars_list.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/calendars_list.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/delete_calendars.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/header.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/table/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/table/table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/table/table.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/add_item_popover/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/edit_description_popover/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/__snapshots__/header.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/edit_filter_list.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/edit_filter_list.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/edit_filter_list.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/header.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/header.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/toolbar.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/toolbar.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/__snapshots__/header.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/filter_lists.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/filter_lists.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/filter_lists.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/header.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/header.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/table.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations_flyout/data_views_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations_flyout/jobs_tab_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations_flyout/kibana_tab_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations_flyout/overview_tab_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/context_chart_mask/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/entity_control/entity_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/entity_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_progress.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasts_list.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_states.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/plot_function_controls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/plot_function_controls/plot_function_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/series_controls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/timeseriesexplorer_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/timeseriesexplorer_no_chart_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/get_controls_for_detector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/get_criteria_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/get_function_description.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/hooks/__mocks__/use_timeseriesexplorer_url_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/hooks/use_timeseriesexplorer_url_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_checkbox.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_embeddable_chart.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_timeseriesexplorer_default_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_viewable_detectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/time_series_search_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/validate_job_selection.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/__mocks__/time_buckets.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/__mocks__/url_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/chart_config_builder.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/chart_utils.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/chart_utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/chart_utils.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/component_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/custom_url_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/custom_url_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/field_types_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/field_types_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/get_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/get_time_buckets_from_cache.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/index_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/index_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/recently_accessed.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/results_url.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/string_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/string_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/time_buckets_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/time_series_explorer_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/url_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/url_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/anomaly_charts_attachments.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/anomaly_swim_lane_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/register_anomaly_charts_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/register_anomaly_swim_lane_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/register_cases_attachments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/register_single_metric_viewer_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/single_metric_viewer_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/anomaly_charts_react_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/anomaly_charts_setup_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/get_anomaly_charts_services_dependencies.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/initialize_anomaly_charts_controls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/lazy_anomaly_charts_container.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/use_anomaly_charts_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_setup_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_data_fetcher.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/anomaly_detection_embeddable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/components/embeddable_loading_fallback.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/components/job_selector_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/get_jobs_observable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/process_filters.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/process_filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/use_embeddable_execution_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/aiops/flyout/create_job.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/aiops/flyout/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/aiops/flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/aiops/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/aiops/show_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/common/context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/common/create_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/common/job_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/show_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/show_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/get_default_panel_title.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/get_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/single_metric_viewer_controls_initializer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/single_metric_viewer_data_fetcher.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/single_metric_viewer_embeddable_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/single_metric_viewer_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/single_metric_viewer_setup_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/aiops.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/anomaly_detection.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/data_frame_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/notifications.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/ml_locator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/ml_locator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/use_ml_href.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_job_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_job_selector_empty_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_layer_wizard_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_source_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_source_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/create_anomaly_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/layer_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/maps_util.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/register_map_extension.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/results.test.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/update_anomaly_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/register_helper/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/register_helper/register_search_links/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/register_helper/register_search_links/register_search_links.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/register_helper/register_search_links/search_deep_links.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/register_home_feature.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/shared_components/anomaly_swim_lane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/shared_components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/shared_components/single_metric_viewer/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/shared_components/single_metric_viewer/single_metric_viewer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/apply_entity_filters_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/apply_influencer_filters_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/apply_time_range_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/clear_selection_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/create_anomaly_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/create_single_metric_viewer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/create_swim_lane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/get_embeddable_time_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/open_create_categorization_job_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/open_in_anomaly_explorer_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/open_in_single_metric_viewer_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/open_vis_in_ml_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/triggers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/readme.md (94%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/client/error_wrapper.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/client/errors.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/config_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/__mocks__/log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/alerts/alerting_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/alerts/jobs_health_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/alerts/jobs_health_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/alerts/register_anomaly_detection_alert_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/alerts/register_jobs_monitoring_rule_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/alerts/register_ml_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/__mocks__/ml_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/capabilities_switcher.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/check_capabilities.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/check_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/upgrade.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/check_annotations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/data_views_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/ml_client/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/ml_client/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/ml_client/ml_audit_logger.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/ml_client/ml_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/ml_client/search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/ml_client/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/node_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/register_cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/register_sample_data_set_links.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/register_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/request_authorization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/route_guard.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/spaces_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/annotation_service/__mocks__/get_annotations_request.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/annotation_service/__mocks__/get_annotations_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/annotation_service/annotation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/annotation_service/annotation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/annotation_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/bucket_span_estimator.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/bucket_span_estimator.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/bucket_span_estimator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/intervals.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/polled_data_checker.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/single_series_checker.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/calculate_model_memory_limit/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/calendar/calendar_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/calendar/event_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/calendar/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_frame_analytics/analytics_audit_messages.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_frame_analytics/analytics_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_frame_analytics/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_frame_analytics/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_frame_analytics/validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/data_recognizer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/data_recognizer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apm_transaction/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apm_transaction/ml/apm_tx_metrics.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_apm_tx_metrics.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json (100%) rename x-pack/{plugins => 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 (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_analysis/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_analysis/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/datafeed_log_entry_rate.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_categories/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_categories/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/datafeed_log_entry_categories_count.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/log_entry_categories_count.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_memory_usage.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_in.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_out.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_memory_usage.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_in.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_out.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_memory_usage.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_in.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_out.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_memory_usage.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_in.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_out.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events_for_a_source_ip.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_fails.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_hour_for_a_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_source_ip_for_a_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events_for_a_source_ip.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_fails.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_hour_for_a_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_source_ip_for_a_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_suspicious_login_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/suspicious_login_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_high_distinct_count_error_message.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_error_code.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_city.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_country.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_username.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/high_distinct_count_error_message.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_error_code.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_city.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_country.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_username.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_host/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_host/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_high_count_events_for_a_host_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_low_count_events_for_a_host_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_host/ml/high_count_events_for_a_host_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_host/ml/low_count_events_for_a_host_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_port_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_process_all_hosts.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_user_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_configuration_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_connection_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_process.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_sudo_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_user_compiler.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_information_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_process_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_user_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_rare_process_by_host_linux.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_port_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_process_all_hosts.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_user_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_configuration_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_connection_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_process.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_sudo_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_user_compiler.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_information_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_process_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_user_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_rare_process_by_host_linux.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_by_destination_country.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_denies.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_events.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_rare_destination_country.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/high_count_by_destination_country.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_denies.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_events.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/rare_destination_country.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_dns_tunneling.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_dns_question.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_server_domain.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_urls.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_user_agent.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_dns_tunneling.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_dns_question.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_server_domain.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_urls.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_user_agent.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_rare_process_by_host_windows.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_network_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_path_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_all_hosts.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_creation.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_script.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_service.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_user_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_process.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_runas_event.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_type10_remote_login.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_rare_process_by_host_windows.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_network_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_path_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_all_hosts.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_creation.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_script.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_service.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_user_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_process.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_runas_event.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_type10_remote_login.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/uptime_heartbeat/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/uptime_heartbeat/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/datafeed_high_latency_by_geo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/high_latency_by_geo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_visualizer/data_visualizer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_visualizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/fields_service/fields_aggs_cache.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/fields_service/fields_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/fields_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/filter/filter_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/filter/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_audit_messages/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_audit_messages/is_clearable.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_audit_messages/job_audit_messages.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/datafeeds.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/error_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/groups.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/jobs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/model_snapshots.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job/categorization/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job/categorization/top_categories.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job/charts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job/line_chart.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job/population_chart.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/responses/cloudwatch_field_caps.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/responses/data_view_rollup_cloudwatch.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/responses/farequote_field_caps.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/responses/rollup_caps.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/results/cloudwatch_rollup_job_caps.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps_empty.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/field_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/new_job_caps.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/new_job_caps.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/rollup.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_farequote_cardinality.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_farequote_search_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_field_caps.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_it_search_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_time_field.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_time_field_nested.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_time_range.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/job_validation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/job_validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_bucket_span.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_bucket_span.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_cardinality.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_cardinality.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_datafeed_preview.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_influencers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_influencers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_job_object.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_model_memory_limit.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_model_memory_limit.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_time_range.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_time_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/__mocks__/mock_deployment_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/__mocks__/mock_download_tasks.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/get_model_state.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/get_model_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/memory_usage.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/memory_usage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/model_provider.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/models_provider.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/notifications_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/notifications_service/notifications_service_provider.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/anomaly_charts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/anomaly_charts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/build_anomaly_table_items.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/build_anomaly_table_items.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/get_partition_fields_values.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/results_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/alerting.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/annotations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/anomaly_detectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/calendars.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/data_frame_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/data_visualizer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/datafeeds.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/fields_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/inference_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/job_audit_messages.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/job_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/job_validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/management.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/model_management.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/modules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/notifications.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/results_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/alerting_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/annotations_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/anomaly_detectors_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/calendars_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/data_frame_analytics_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/data_visualizer_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/datafeeds_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/fields_service_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/filters_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/indices_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/inference_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/job_audit_messages_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/job_service_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/job_validation_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/management_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/modules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/notifications_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/results_service_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/runtime_mappings_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/system.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/authorization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/checks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/initialization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/space_overrides/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/space_overrides/logs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/space_overrides/metrics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/space_overrides/space_overrides.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/space_overrides/space_overrides.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/migrations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/sync.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/sync_task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/errors.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/license_checks/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/license_checks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/license_checks/license_checks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/alerting_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/anomaly_detectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/jobs_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/modules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/results_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/system.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/alerting_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/anomaly_detectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/job_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/modules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/results_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/system.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/shared_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/usage/collector.ts (100%) rename x-pack/{plugins/transform => platform/plugins/shared/ml}/server/usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/tsconfig.json (96%) delete mode 100644 x-pack/plugins/transform/jest.config.js 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 320b4eb868eb7..032c8f17a98c6 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 @@ -620,8 +618,10 @@ 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 @@ -797,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 @@ -866,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 @@ -890,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 @@ -921,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 @@ -990,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 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/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/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 d628499e5bf22..facb7ae498c28 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", @@ -962,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", 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/tsconfig.base.json b/tsconfig.base.json index 7d1f6ea696819..9a44fec9d5498 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"], @@ -1930,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/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/creation_wizard_utils/jest.config.js b/x-pack/packages/ml/creation_wizard_utils/jest.config.js deleted file mode 100644 index 04abfa6eec19c..0000000000000 --- a/x-pack/packages/ml/creation_wizard_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/creation_wizard_utils'], -}; 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/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/category_validator/jest.config.js b/x-pack/platform/packages/private/ml/agg_utils/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/agg_utils/jest.config.js index 16140d5a9b1f7..2709a876d33b8 100644 --- a/x-pack/packages/ml/category_validator/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/category_validator'], + 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_log_pattern_analysis/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_log_pattern_analysis/jest.config.js rename to x-pack/platform/packages/private/ml/data_grid/jest.config.js index a8495ca86189f..550e09aa8c366 100644 --- a/x-pack/packages/ml/aiops_log_pattern_analysis/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_log_pattern_analysis'], + 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_change_point_detection/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_change_point_detection/jest.config.js rename to x-pack/platform/packages/private/ml/date_utils/jest.config.js index f6d1246fd9f66..2fdf51410786c 100644 --- a/x-pack/packages/ml/aiops_change_point_detection/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_change_point_detection'], + 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/is_populated_object/tsconfig.json b/x-pack/platform/packages/private/ml/is_populated_object/tsconfig.json similarity index 79% rename from x-pack/packages/ml/is_populated_object/tsconfig.json rename to x-pack/platform/packages/private/ml/is_populated_object/tsconfig.json index 0036df9dd1a20..4306fab3f0afd 100644 --- a/x-pack/packages/ml/is_populated_object/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/is_populated_object/jest.config.js b/x-pack/platform/packages/private/ml/string_hash/jest.config.js similarity index 74% rename from x-pack/packages/ml/is_populated_object/jest.config.js rename to x-pack/platform/packages/private/ml/string_hash/jest.config.js index 8ce420d82a0a4..c15c13d767054 100644 --- a/x-pack/packages/ml/is_populated_object/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/is_populated_object'], + 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/string_hash/tsconfig.json b/x-pack/platform/packages/private/ml/string_hash/tsconfig.json similarity index 79% rename from x-pack/packages/ml/string_hash/tsconfig.json rename to x-pack/platform/packages/private/ml/string_hash/tsconfig.json index 0036df9dd1a20..4306fab3f0afd 100644 --- a/x-pack/packages/ml/string_hash/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/agg_utils/jest.config.js b/x-pack/platform/packages/private/ml/ui_actions/jest.config.js similarity index 75% rename from x-pack/packages/ml/agg_utils/jest.config.js rename to x-pack/platform/packages/private/ml/ui_actions/jest.config.js index a22a76d5bf951..b6660b8915a6c 100644 --- a/x-pack/packages/ml/agg_utils/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/agg_utils'], + 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_rate_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_rate_analysis/jest.config.js rename to x-pack/platform/packages/private/ml/url_state/jest.config.js index bce4baf78402d..afe5a25fa0a04 100644 --- a/x-pack/packages/ml/aiops_log_rate_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_rate_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/aiops_common/jest.config.js b/x-pack/platform/packages/private/ml/validators/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/validators/jest.config.js index 1eca070fa62c0..f155382a34a71 100644 --- a/x-pack/packages/ml/aiops_common/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/aiops_common'], + 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/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/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/yarn.lock b/yarn.lock index df4c2f65299f2..99f0c72dc1105 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 "" @@ -7676,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 "" From fdedae07b854280b37f142b652892f1b5ee44018 Mon Sep 17 00:00:00 2001 From: Pablo Machado Date: Mon, 9 Dec 2024 18:12:51 +0100 Subject: [PATCH 034/103] [SecuritySolution] Service Entity Store (#202344) ## Summary ### Service Definition: https://github.com/elastic/kibana/pull/202344/files#diff-42c7dd345e0500c97f85824904a70a11162827ea8f8df6982082a9047ca04ff1 ### Acceptance Criteria - [x] Upon installation of the entity store, the Service entity definition should be created by default - [x] The Service definition will be installed in the exact same way as the User and Host definitions - [x] The unique identifier for service entities will be `service.name` - [x] The fields captured for service entities should match the field mapping spreadsheet (see Implementation Notes below) ### Stored Entity ```json { "@timestamp": "2024-12-02T10:43:13.856Z", "event": { "ingested": "2024-12-02T10:51:28.987428Z" }, "entity": { "name": "test123 name", "id": "test123 name", "source": "logs-blito", "type": "service" }, "service": { "node": { "roles": [ "test123 node roles" ], "name": [ "test123 node name" ] }, "environment": [ "test123 environment" ], "address": [ "test123 address" ], "name": "test123 name", "id": [ "test123 id" ], "state": [ "test123 state" ], "ephemeral_id": [ "test123 ephemeral_id" ], "type": [ "test123 type" ], "version": [ "test123 version" ] } } ``` ### How to test it? * Start Kibana
Create mappings ``` PUT /logs-test { "mappings": { "properties": { "service.name": { "type": "keyword" }, "service.address": { "type": "keyword" }, "service.environment": { "type": "keyword" }, "service.ephemeral_id": { "type": "keyword" }, "service.id": { "type": "keyword" }, "service.node.name": { "type": "keyword" }, "service.node.roles": { "type": "keyword" }, "service.state": { "type": "keyword" }, "service.type": { "type": "keyword" }, "service.version": { "type": "keyword" }, "@timestamp": { "type": "date" } } } } ````
Create document ``` PUT /logs-test POST logs-test/_doc { "service": { "name": "test123 name", "address": "test123 address", "environment": "test123 environment", "ephemeral_id": "test123 ephemeral_id", "id": "test123 id", "node.roles": "test123 node roles", "node.name": "test123 node name", "state": "test123 state", "type": "test123 type", "version": "test123 version" }, "@timestamp": "2024-12-02T10:43:13.856Z" } ````
* Init the entity store * Wait... * Query the service index `GET .entities.v1.latest.security_service_default/_search` ### Open Questions * Can we merge this PR without first updating all other features that will use service entities? * If we merge it, the service engine will be installed together with other entities, but it won't provide any functionality * Do we need an experimental flag? --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- oas_docs/output/kibana.serverless.yaml | 1 + oas_docs/output/kibana.yaml | 1 + .../entity_store/common.gen.ts | 2 +- .../entity_store/common.schema.yaml | 1 + .../common/experimental_features.ts | 5 + ...alytics_api_2023_10_31.bundled.schema.yaml | 1 + ...alytics_api_2023_10_31.bundled.schema.yaml | 1 + .../entity_store/hooks/use_entity_store.ts | 29 +- .../pages/entity_store_management_page.tsx | 11 +- .../entity_store_data_client.test.ts | 2 + .../entity_store/entity_store_data_client.ts | 16 +- .../entity_types/index.ts | 1 + .../entity_types/service.ts | 29 ++ .../get_united_definition.test.ts | 311 ++++++++++++++++++ .../get_united_definition.ts | 10 +- .../entity_store/utils/entity_utils.ts | 15 +- .../server/request_context_factory.ts | 1 + 17 files changed, 417 insertions(+), 20 deletions(-) create mode 100644 x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/service.ts 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/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/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/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/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/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/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, }); }), From 7eb005242cd5b02a10023d204e3448719650808f Mon Sep 17 00:00:00 2001 From: Viduni Wickramarachchi Date: Mon, 9 Dec 2024 12:20:47 -0500 Subject: [PATCH 035/103] [Obs AI Assistant] Use cookie auth for internal APIs in serverless tests (#203275) ## Summary ### Problem Cookie authentication was introduced in Kibana for serverless internal API tests via https://github.com/elastic/kibana/pull/192727. The serverless tests for Obs AI Assistant still uses API key based auth. ### Solution Change authentication to cookie based auth for internal APIs in serverless tests. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --- .../observability_ai_assistant_api_client.ts | 65 +++++++--- .../ai_assistant/tests/chat/chat.spec.ts | 21 +++- .../tests/complete/complete.spec.ts | 47 ++++---- .../complete/functions/elasticsearch.spec.ts | 2 - .../tests/complete/functions/helpers.ts | 9 +- .../complete/functions/summarize.spec.ts | 6 +- .../tests/connectors/connectors.spec.ts | 13 +- .../tests/conversations/conversations.spec.ts | 62 +++------- .../tests/conversations/helpers.ts | 13 +- .../knowledge_base/knowledge_base.spec.ts | 73 ++++------- .../knowledge_base_setup.spec.ts | 20 +--- .../knowledge_base_status.spec.ts | 20 +--- .../knowledge_base_user_instructions.spec.ts | 113 +++++++----------- .../public_complete/public_complete.spec.ts | 4 +- 14 files changed, 185 insertions(+), 283 deletions(-) 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 424df01b3c999..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', 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 80548c0369a83..d411d097a0d7f 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'); @@ -82,10 +86,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 +136,14 @@ export default function ApiTest({ getService }: FtrProviderContext) { roleAuthc, internalReqHeader, }); + + supertestEditorWithCookieCredentials = await roleScopedSupertest.getSupertestWithRoleScope( + 'editor', + { + useCookieHeader: true, + withInternalHeaders: true, + } + ); }); after(async () => { @@ -155,10 +165,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, @@ -254,6 +262,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, }); }); + describe('when creating a new conversation', () => { let events: StreamingChatResponseEvent[]; @@ -273,12 +282,14 @@ 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: { @@ -329,10 +340,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, @@ -417,10 +426,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); @@ -449,10 +456,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, @@ -470,10 +475,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, @@ -486,10 +489,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: [ @@ -519,10 +520,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 72e46e179443e..a3134ab2e3014 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,6 +48,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, }, ]; + describe('/api/observability_ai_assistant/chat/complete', function () { // TODO: https://github.com/elastic/kibana/issues/192751 this.tags(['skipMKI']); @@ -108,6 +109,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { await titleSimulator.complete(); await conversationSimulator.status(200); + if (conversationSimulatorCallback) { await conversationSimulatorCallback(conversationSimulator); } @@ -158,8 +160,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { after(async () => { await deleteAllConversations({ observabilityAIAssistantAPIClient, - internalReqHeader, - roleAuthc, log, }); await deleteActionConnector({ supertest, connectorId, log, roleAuthc, internalReqHeader }); From ebb4f503a5c9c0a3d883a706566920ae27fedfad Mon Sep 17 00:00:00 2001 From: Rodney Norris Date: Mon, 9 Dec 2024 12:36:16 -0600 Subject: [PATCH 036/103] [Search] Inference Endpoints - Align rendering to plugin (#203313) ## Summary This PR removes rendering of the Inference Endpoints UI from `enterprise_search` for stack and instead utilizes the `search_inference_endpoints` plugin to render the UI for both serverless and stack. This can be done by utilizing the `search_navigation` plugin for rendering the classic navigation for stack. To support this change the `xpack.searchInferenceEndpoints.ui.enabled` was updated to default to `true` instead of only being set for serverless search. To account for this change I have added `xpack.searchInferenceEndpoints.enabled: false` to the serverless configs for both security and observability to ensure the `search_inference_endpoints` plugin is disabled in both of those projects. ### Checklist - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine --- config/serverless.es.yml | 3 - config/serverless.oblt.yml | 1 + config/serverless.security.yml | 1 + packages/deeplinks/search/constants.ts | 1 - packages/deeplinks/search/deep_links.ts | 7 +- packages/deeplinks/search/index.ts | 1 - .../enterprise_search/common/constants.ts | 17 ---- .../common/locators/index.ts | 3 - .../common/locators/inference_locator.tsx | 30 ------- x-pack/plugins/enterprise_search/kibana.jsonc | 1 - .../__mocks__/kea_logic/kibana_logic.mock.ts | 1 - .../components/inference_endpoints.tsx | 41 ---------- .../components/layout/index.ts | 8 -- .../components/layout/page_template.test.tsx | 79 ------------------- .../components/layout/page_template.tsx | 37 --------- .../components/not_found/index.ts | 8 -- .../components/not_found/not_found.test.tsx | 38 --------- .../components/not_found/not_found.tsx | 23 ------ .../index.test.tsx | 23 ------ .../enterprise_search_relevance/index.tsx | 41 ---------- .../jest.config.js | 28 ------- .../enterprise_search_relevance/routes.ts | 10 --- .../public/applications/index.tsx | 1 - .../shared/kibana/kibana_logic.ts | 4 - .../kibana_chrome/generate_breadcrumbs.ts | 4 - .../shared/kibana_chrome/index.ts | 1 - .../shared/kibana_chrome/set_chrome.tsx | 14 ---- .../enterprise_search/public/plugin.ts | 57 +++---------- .../enterprise_search/server/plugin.ts | 2 - .../plugins/enterprise_search/tsconfig.json | 1 - .../common/translations.ts | 14 ++++ .../search_inference_endpoints/kibana.jsonc | 4 +- .../public/embeddable.tsx | 29 ------- .../use_inference_endpoints_breadcrumbs.ts | 27 +++++++ .../public/index.ts | 2 - .../public/inference_endpoints_overview.tsx | 17 ++-- .../public/plugin.ts | 44 ++++++++--- .../public/types.ts | 30 +++---- .../server/config.ts | 2 +- .../server/plugin.ts | 2 +- .../search_inference_endpoints/tsconfig.json | 8 +- .../hooks/use_playground_breadcrumbs.ts | 16 +++- .../translations/translations/fr-FR.json | 5 -- .../translations/translations/ja-JP.json | 4 - .../translations/translations/zh-CN.json | 5 -- 45 files changed, 133 insertions(+), 562 deletions(-) delete mode 100644 x-pack/plugins/enterprise_search/common/locators/inference_locator.tsx delete mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/inference_endpoints.tsx delete mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/layout/index.ts delete mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/layout/page_template.test.tsx delete mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/layout/page_template.tsx delete mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/index.ts delete mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/not_found.test.tsx delete mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/not_found.tsx delete mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/index.test.tsx delete mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/index.tsx delete mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/jest.config.js delete mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/routes.ts delete mode 100644 x-pack/plugins/search_inference_endpoints/public/embeddable.tsx create mode 100644 x-pack/plugins/search_inference_endpoints/public/hooks/use_inference_endpoints_breadcrumbs.ts 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/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/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_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/index.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/layout/index.ts deleted file mode 100644 index 0a155ce20b555..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/layout/index.ts +++ /dev/null @@ -1,8 +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 { EnterpriseSearchRelevancePageTemplate } from './page_template'; 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/index.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/index.ts deleted file mode 100644 index 482c1a58faa9c..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/index.ts +++ /dev/null @@ -1,8 +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 { NotFound } from './not_found'; 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/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/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} 的先决条件和配置要求。", From 70a5bb33c438912b64259ea4c7a3c77c41f93f45 Mon Sep 17 00:00:00 2001 From: Ievgen Sorokopud Date: Mon, 9 Dec 2024 20:21:16 +0100 Subject: [PATCH 037/103] [Rules migration] Add sorting functionality to rules migration table (#11379) (#203396) ## Summary [Internal link](https://github.com/elastic/security-team/issues/10820) to the feature details These changes add sorting functionality to the migration rules table. It is possible to sort migration rules by next columns: `Updated`, `Name`, `Status`, `Risk Score`, `Severity` and `Author`. ### Other changes Next fixes and adjustments were also implemented as part of this PR: * `Installed` status in migration rules table to indicate whether the rule was installed * Rules selection and installation of selected rules * Disable selection for not fully translated rules * `Author` column to show whether the translated rule matched one of the existing Elastic prebuilt rules * `Install and enable` and `Install without enabling` buttons within the migration rule details flyout --- .../kbn-index-adapter/src/field_maps/types.ts | 1 + .../model/api/rules/rule_migration.gen.ts | 10 +- .../api/rules/rule_migration.schema.yaml | 29 +++- .../common/siem_migrations/rules/utils.ts | 6 +- .../public/siem_migrations/rules/api/index.ts | 23 +++- .../components/rule_details_flyout/index.tsx | 3 +- .../components/rules_table/bulk_actions.tsx | 17 ++- .../rules/components/rules_table/index.tsx | 119 ++++++++++++++-- .../components/rules_table/translations.ts | 28 ++++ .../components/rules_table_columns/author.tsx | 39 ++++++ .../components/rules_table_columns/index.tsx | 1 + .../components/rules_table_columns/name.tsx | 11 +- .../rules_table_columns/risk_score.tsx | 2 +- .../rules_table_columns/severity.tsx | 5 +- .../components/rules_table_columns/status.tsx | 4 +- .../rules_table_columns/translations.ts | 21 +++ .../components/status_badge/index.test.tsx | 19 --- .../rules/components/status_badge/index.tsx | 36 +++-- .../components/status_badge/translations.ts | 15 +++ .../use_migration_rules_table_columns.tsx | 2 + .../rules/logic/use_get_migration_rules.ts | 2 + .../logic/use_install_migration_rules.ts | 4 +- .../lib/siem_migrations/rules/api/get.ts | 9 +- .../lib/siem_migrations/rules/api/install.ts | 3 +- .../rules/api/install_translated.ts | 1 + .../rules/api/util/installation.ts | 19 ++- .../data/rule_migrations_data_rules_client.ts | 61 +++------ .../rules/data/rule_migrations_field_maps.ts | 4 +- .../lib/siem_migrations/rules/data/search.ts | 42 ++++++ .../lib/siem_migrations/rules/data/sort.ts | 127 ++++++++++++++++++ 30 files changed, 541 insertions(+), 122 deletions(-) create mode 100644 x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/author.tsx delete mode 100644 x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/index.test.tsx create mode 100644 x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/translations.ts create mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/search.ts create mode 100644 x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/sort.ts 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/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/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/plugins/security_solution/public/siem_migrations/rules/components/status_badge/translations.ts b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/translations.ts new file mode 100644 index 0000000000000..0a7b1c37f7acf --- /dev/null +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/translations.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 { 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/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/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_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_field_maps.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_field_maps.ts index 7aca804c12890..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; +}; From 598d3defd15442766ce1eec5b717f479ea62b5df Mon Sep 17 00:00:00 2001 From: Tim Sullivan Date: Mon, 9 Dec 2024 13:03:23 -0700 Subject: [PATCH 038/103] Preparation for High Contrast Mode, Security domains (#202609) ## Summary **Reviewers: Please test the code paths affected by this PR. See the "Risks" section below.** Part of work for enabling "high contrast mode" in Kibana. See https://github.com/elastic/kibana/issues/176219. **Background:** Kibana will soon have a user profile setting to allow users to enable "high contrast mode." This setting will activate a flag with `` that causes EUI components to render with higher contrast visual elements. Consumer plugins and packages need to be updated selected places where `` is wrapped, to pass the `UserProfileService` service dependency from the CoreStart contract. **NOTE:** **EUI currently does not yet support the high-contrast mode flag**, but support for that is expected to come in around 2 weeks. These first PRs are simply preparing the code by wiring up the `UserProvideService`. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [X] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [X] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Risks Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss. Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging. - [ ] [medium/high] The implementor of this change did not manually test the affected code paths and relied on type-checking and functional tests to drive the changes. Code owners for this PR need to manually test the affected code paths. - [ ] [medium] The `UserProfileService` dependency comes from the CoreStart contract. If acquiring the service causes synchronous code to become asynchronous, check for race conditions or errors in rendering React components. Code owners for this PR need to manually test the affected code paths. --- packages/kbn-mock-idp-plugin/public/plugin.tsx | 4 ++-- .../kbn-mock-idp-plugin/public/reload_page_toast.tsx | 4 +++- packages/kbn-mock-idp-plugin/public/role_switcher.tsx | 1 + packages/kbn-mock-idp-plugin/tsconfig.json | 1 + packages/kbn-user-profile-components/src/services.tsx | 6 ++++-- packages/kbn-user-profile-components/tsconfig.json | 1 + x-pack/plugins/security/public/index.ts | 2 +- .../management/roles/edit_role/edit_role_page.test.tsx | 4 ++++ .../management/roles/roles_grid/roles_grid_page.test.tsx | 9 ++++++++- .../management/roles/roles_grid/roles_grid_page.tsx | 8 ++------ .../components/insecure_cluster_alert.tsx | 2 ++ .../public/security_checkup/security_checkup_service.tsx | 2 ++ x-pack/plugins/security/tsconfig.json | 1 + .../edit_space/edit_space_content_tab.test.tsx | 3 +++ .../edit_space/edit_space_general_tab.test.tsx | 3 +++ .../management/edit_space/edit_space_roles_tab.test.tsx | 3 +++ .../management/edit_space/edit_space_roles_tab.tsx | 4 +++- .../edit_space/provider/edit_space_provider.test.tsx | 3 +++ .../edit_space/provider/edit_space_provider.tsx | 5 ++++- .../component/space_assign_role_privilege_form.test.tsx | 3 +++ .../public/management/spaces_management_app.test.tsx | 2 +- .../spaces/public/management/spaces_management_app.tsx | 5 +++-- .../spaces/public/space_selector/space_selector.tsx | 2 +- x-pack/plugins/spaces/tsconfig.json | 3 ++- 24 files changed, 61 insertions(+), 20 deletions(-) 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-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 = (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/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/**/*", From 371fd70769a21d107deae77c8fb506f0e04ac54e Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 10 Dec 2024 09:56:45 +1100 Subject: [PATCH 039/103] skip failing test suite (#203477) --- .../test_suites/search/connectors/connectors_overview.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 31b52c3592626..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 @@ -19,7 +19,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { const testSubjects = getService('testSubjects'); const browser = getService('browser'); - describe('connectors', function () { + // 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'); From 93112b9d968ab8ed0d19de2250c14cece07dba5e Mon Sep 17 00:00:00 2001 From: Davis Plumlee <56367316+dplumlee@users.noreply.github.com> Date: Mon, 9 Dec 2024 20:06:12 -0500 Subject: [PATCH 040/103] [Security Solution] Fixes incorrect `from` field transform logic in `upgrade/_perform` route (#202824) **Fixes: https://github.com/elastic/kibana/issues/202575** **Fixes: https://github.com/elastic/kibana/issues/201631** **Partially addresses: https://github.com/elastic/kibana/issues/202715** ## Summary All bugs have the same source > [!NOTE] > This bug/related fix is only visible with the `prebuiltRulesCustomizationEnabled` feature flag turned on. Fixes an issue where unedited prebuilt rules were being marked as "Modified" when upgraded due to a bug in the `upgrade/_perform` endpoint where the `from` field was incorrectly calculated via the `lookback` field. Solves multiple bugs where prebuilt rules were marked as "Modified" incorrectly when they were upgraded See reproduce steps in related tickets ([example](https://github.com/elastic/kibana/issues/202575#issue-2713226478)) ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --- .../diffable_rule_fields_mappings.test.ts | 15 +++++++++++++++ .../diffable_rule_fields_mappings.ts | 4 +++- .../logic/bulk_actions/rule_params_modifier.ts | 10 +++------- .../rule_types/utils/utils.test.ts | 18 ++++++++++++++++++ .../detection_engine/rule_types/utils/utils.ts | 14 ++++++++++++++ 5 files changed, 53 insertions(+), 8 deletions(-) create mode 100644 x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/perform_rule_upgrade/diffable_rule_fields_mappings.test.ts 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..d7e359b0daa25 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. @@ -201,7 +202,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/rule_management/logic/bulk_actions/rule_params_modifier.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/bulk_actions/rule_params_modifier.ts index 1d633817c7b53..756fbd3998d69 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/bulk_actions/rule_params_modifier.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/bulk_actions/rule_params_modifier.ts @@ -5,8 +5,6 @@ * 2.0. */ -import moment from 'moment'; -import { parseInterval } from '@kbn/data-plugin/common/search/aggs/utils/date_interval_utils'; import type { RuleParamsModifierResult } from '@kbn/alerting-plugin/server/rules_client/methods/bulk_edit'; import type { ExperimentalFeatures } from '../../../../../../common'; import type { InvestigationFieldsCombined, RuleAlertType } from '../../../rule_schema'; @@ -17,6 +15,7 @@ import type { } from '../../../../../../common/api/detection_engine/rule_management'; import { BulkActionEditTypeEnum } from '../../../../../../common/api/detection_engine/rule_management'; import { invariant } from '../../../../../../common/utils/invariant'; +import { calculateFromValue } from '../../../rule_types/utils/utils'; export const addItemsToArray = (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 From 418e50b4e0767db9ff6de140cbd36974a4d5a2d7 Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Mon, 9 Dec 2024 21:18:58 -0500 Subject: [PATCH 041/103] [Fleet] Enable subfeature privileges (#203182) --- .../fleet/common/experimental_features.ts | 2 +- .../apis/security/privileges.ts | 13 +- .../apis/security/privileges_basic.ts | 13 +- .../platform_security/authorization.ts | 666 ++++++++++++++++++ 4 files changed, 691 insertions(+), 3 deletions(-) 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/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_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 [ From e103a253d9b756605dbeb92955ff517597055970 Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Mon, 9 Dec 2024 20:04:15 -0700 Subject: [PATCH 042/103] [dashboard] Do not reset panel to undefined or empty last saved state (#203158) Part of https://github.com/elastic/kibana/issues/201627 This is a short term fix for serverless and 8.x branches (long term fix is an architectural change that will only be merged into 9.0 and 8.18 branches). Fix prevents users from reseting a panel edited via embeddable transfer service. This prevents panel from getting into an invalid state. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine --- .../app/presentation_container_example/page_api.ts | 1 + .../unsaved_changes/children_unsaved_changes.test.ts | 6 +++--- .../unsaved_changes/initialize_unsaved_changes.ts | 9 +++++++++ .../interfaces/publishes_unsaved_changes.ts | 2 +- .../controls/public/controls/mocks/control_mocks.ts | 4 +++- .../get_timeslider_control_factory.test.tsx | 4 +++- .../embeddable/dashboard_container.tsx | 12 +++++++++++- 7 files changed, 31 insertions(+), 7 deletions(-) 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/packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts b/packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts index fd708d14d97be..cd03db5431bcc 100644 --- a/packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts +++ b/packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts @@ -14,11 +14,11 @@ import { waitFor } from '@testing-library/react'; describe('childrenUnsavedChanges$', () => { 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/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]; From cbee44b7f9f8fe2dcee47ee027d8fa0bbeb24ef3 Mon Sep 17 00:00:00 2001 From: Ying Mao Date: Mon, 9 Dec 2024 23:46:21 -0500 Subject: [PATCH 043/103] [Response Ops][Alerting] Removing diagnostic logging for ES query rule (#203328) --- .../rule_types/es_query/executor.test.ts | 276 ------------------ .../server/rule_types/es_query/executor.ts | 97 +----- .../rule_types/es_query/lib/fetch_es_query.ts | 1 - .../es_query/lib/fetch_esql_query.ts | 1 - .../es_query/lib/fetch_search_source_query.ts | 1 - 5 files changed, 2 insertions(+), 374 deletions(-) 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, }; } From d3161abc38f47284e5aaa41590ef89f8b78f28f3 Mon Sep 17 00:00:00 2001 From: Bharat Pasupula <123897612+bhapas@users.noreply.github.com> Date: Tue, 10 Dec 2024 07:32:22 +0100 Subject: [PATCH 044/103] [Automatic Import] Use datastream description in readme (#203236) ## Release note Use provided data stream description in generated README ## Summary Closes [#201294](https://github.com/elastic/kibana/issues/201294) This PR fixes use of `datastream description` that the user entered in the input field. ![image](https://github.com/user-attachments/assets/b093c978-2102-4bdc-824e-d60aa3fd908b) --- .../build_integration.test.ts | 39 +++++++++++-------- .../integration_builder/build_integration.ts | 2 +- .../integration_builder/readme_files.test.ts | 8 ++-- .../integration_builder/readme_files.ts | 32 +++++++++++---- .../server/templates/build_readme.md.njk | 8 ++-- .../server/templates/description_readme.njk | 7 +++- .../server/templates/package_readme.md.njk | 8 ++-- 7 files changed, 65 insertions(+), 39 deletions(-) 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 }} | From 68b9df061b04dff7d38df7314d12918bdc52977b Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 10 Dec 2024 18:20:47 +1100 Subject: [PATCH 045/103] [api-docs] 2024-12-10 Daily api_docs build (#203515) Generated by https://buildkite.com/elastic/kibana-api-docs-daily/builds/917 --- api_docs/actions.mdx | 2 +- api_docs/advanced_settings.mdx | 2 +- .../ai_assistant_management_selection.mdx | 2 +- api_docs/aiops.devdocs.json | 140 +- api_docs/aiops.mdx | 2 +- api_docs/alerting.devdocs.json | 2 +- api_docs/alerting.mdx | 2 +- api_docs/apm.mdx | 2 +- api_docs/apm_data_access.mdx | 2 +- api_docs/asset_inventory.mdx | 2 +- api_docs/banners.mdx | 2 +- api_docs/bfetch.mdx | 2 +- api_docs/canvas.mdx | 2 +- api_docs/cases.mdx | 2 +- api_docs/charts.mdx | 2 +- api_docs/cloud.mdx | 2 +- api_docs/cloud_data_migration.mdx | 2 +- api_docs/cloud_defend.mdx | 2 +- api_docs/cloud_security_posture.mdx | 2 +- api_docs/console.mdx | 2 +- api_docs/content_management.mdx | 2 +- api_docs/controls.mdx | 2 +- api_docs/custom_integrations.mdx | 2 +- api_docs/dashboard.mdx | 2 +- api_docs/dashboard_enhanced.mdx | 2 +- api_docs/data.devdocs.json | 14 +- api_docs/data.mdx | 2 +- api_docs/data_quality.mdx | 2 +- api_docs/data_query.mdx | 2 +- api_docs/data_search.mdx | 2 +- api_docs/data_usage.mdx | 2 +- api_docs/data_view_editor.mdx | 2 +- api_docs/data_view_field_editor.mdx | 2 +- api_docs/data_view_management.mdx | 2 +- api_docs/data_views.devdocs.json | 66 +- api_docs/data_views.mdx | 2 +- api_docs/data_visualizer.devdocs.json | 50 +- api_docs/data_visualizer.mdx | 2 +- api_docs/dataset_quality.mdx | 2 +- api_docs/deprecations_by_api.mdx | 12 +- api_docs/deprecations_by_plugin.mdx | 50 +- api_docs/deprecations_by_team.mdx | 6 +- api_docs/dev_tools.mdx | 2 +- api_docs/discover.mdx | 2 +- api_docs/discover_enhanced.mdx | 2 +- api_docs/discover_shared.mdx | 2 +- api_docs/ecs_data_quality_dashboard.mdx | 2 +- api_docs/elastic_assistant.mdx | 2 +- api_docs/embeddable.mdx | 2 +- api_docs/embeddable_enhanced.mdx | 2 +- api_docs/encrypted_saved_objects.mdx | 2 +- api_docs/enterprise_search.mdx | 2 +- api_docs/entities_data_access.mdx | 2 +- api_docs/entity_manager.mdx | 2 +- api_docs/es_ui_shared.mdx | 2 +- api_docs/esql.devdocs.json | 50 +- api_docs/esql.mdx | 2 +- api_docs/esql_data_grid.devdocs.json | 4 +- api_docs/esql_data_grid.mdx | 2 +- api_docs/event_annotation.mdx | 2 +- api_docs/event_annotation_listing.mdx | 2 +- api_docs/event_log.mdx | 2 +- api_docs/exploratory_view.mdx | 2 +- api_docs/expression_error.mdx | 2 +- api_docs/expression_gauge.mdx | 2 +- api_docs/expression_heatmap.mdx | 2 +- api_docs/expression_image.mdx | 2 +- api_docs/expression_legacy_metric_vis.mdx | 2 +- api_docs/expression_metric.mdx | 2 +- api_docs/expression_metric_vis.mdx | 2 +- api_docs/expression_partition_vis.mdx | 2 +- api_docs/expression_repeat_image.mdx | 2 +- api_docs/expression_reveal_image.mdx | 2 +- api_docs/expression_shape.mdx | 2 +- api_docs/expression_tagcloud.mdx | 2 +- api_docs/expression_x_y.mdx | 2 +- api_docs/expressions.mdx | 2 +- api_docs/features.mdx | 2 +- api_docs/field_formats.mdx | 2 +- api_docs/fields_metadata.mdx | 2 +- api_docs/file_upload.mdx | 2 +- api_docs/files.mdx | 2 +- api_docs/files_management.mdx | 2 +- api_docs/fleet.mdx | 2 +- api_docs/global_search.mdx | 2 +- api_docs/guided_onboarding.mdx | 2 +- api_docs/home.mdx | 2 +- api_docs/image_embeddable.mdx | 2 +- api_docs/index_lifecycle_management.mdx | 2 +- api_docs/index_management.mdx | 2 +- api_docs/inference.mdx | 2 +- api_docs/infra.mdx | 2 +- api_docs/ingest_pipelines.mdx | 2 +- api_docs/inspector.mdx | 2 +- api_docs/integration_assistant.mdx | 2 +- api_docs/interactive_setup.mdx | 2 +- api_docs/inventory.mdx | 2 +- api_docs/investigate.mdx | 2 +- api_docs/investigate_app.mdx | 2 +- api_docs/kbn_actions_types.mdx | 2 +- api_docs/kbn_ai_assistant.mdx | 2 +- api_docs/kbn_ai_assistant_common.mdx | 2 +- api_docs/kbn_aiops_components.devdocs.json | 70 +- api_docs/kbn_aiops_components.mdx | 2 +- ...bn_aiops_log_pattern_analysis.devdocs.json | 4 +- api_docs/kbn_aiops_log_pattern_analysis.mdx | 2 +- .../kbn_aiops_log_rate_analysis.devdocs.json | 132 +- api_docs/kbn_aiops_log_rate_analysis.mdx | 2 +- .../kbn_alerting_api_integration_helpers.mdx | 2 +- api_docs/kbn_alerting_comparators.mdx | 2 +- api_docs/kbn_alerting_state_types.mdx | 2 +- api_docs/kbn_alerting_types.mdx | 2 +- api_docs/kbn_alerts_as_data_utils.mdx | 2 +- api_docs/kbn_alerts_grouping.mdx | 2 +- api_docs/kbn_alerts_ui_shared.mdx | 2 +- api_docs/kbn_analytics.mdx | 2 +- api_docs/kbn_analytics_collection_utils.mdx | 2 +- api_docs/kbn_apm_config_loader.mdx | 2 +- api_docs/kbn_apm_data_view.mdx | 2 +- api_docs/kbn_apm_synthtrace.mdx | 2 +- api_docs/kbn_apm_synthtrace_client.mdx | 2 +- api_docs/kbn_apm_types.mdx | 2 +- api_docs/kbn_apm_utils.mdx | 2 +- api_docs/kbn_avc_banner.mdx | 2 +- api_docs/kbn_axe_config.mdx | 2 +- api_docs/kbn_bfetch_error.mdx | 2 +- api_docs/kbn_calculate_auto.mdx | 2 +- .../kbn_calculate_width_from_char_count.mdx | 2 +- api_docs/kbn_cases_components.mdx | 2 +- api_docs/kbn_cbor.mdx | 2 +- api_docs/kbn_cell_actions.mdx | 2 +- api_docs/kbn_chart_expressions_common.mdx | 2 +- api_docs/kbn_chart_icons.mdx | 2 +- api_docs/kbn_ci_stats_core.mdx | 2 +- api_docs/kbn_ci_stats_performance_metrics.mdx | 2 +- api_docs/kbn_ci_stats_reporter.mdx | 2 +- api_docs/kbn_cli_dev_mode.mdx | 2 +- api_docs/kbn_cloud_security_posture.mdx | 2 +- .../kbn_cloud_security_posture_common.mdx | 2 +- api_docs/kbn_cloud_security_posture_graph.mdx | 2 +- api_docs/kbn_code_editor.mdx | 2 +- api_docs/kbn_code_editor_mock.mdx | 2 +- api_docs/kbn_code_owners.mdx | 2 +- api_docs/kbn_coloring.mdx | 2 +- api_docs/kbn_config.mdx | 2 +- api_docs/kbn_config_mocks.mdx | 2 +- api_docs/kbn_config_schema.mdx | 2 +- .../kbn_content_management_content_editor.mdx | 2 +- ...ent_management_content_insights_public.mdx | 2 +- ...ent_management_content_insights_server.mdx | 2 +- ...bn_content_management_favorites_common.mdx | 2 +- ...bn_content_management_favorites_public.mdx | 2 +- ...bn_content_management_favorites_server.mdx | 2 +- ...tent_management_tabbed_table_list_view.mdx | 2 +- ...kbn_content_management_table_list_view.mdx | 2 +- ...tent_management_table_list_view_common.mdx | 2 +- ...ntent_management_table_list_view_table.mdx | 2 +- .../kbn_content_management_user_profiles.mdx | 2 +- api_docs/kbn_content_management_utils.mdx | 2 +- api_docs/kbn_core_analytics_browser.mdx | 2 +- .../kbn_core_analytics_browser_internal.mdx | 2 +- api_docs/kbn_core_analytics_browser_mocks.mdx | 2 +- api_docs/kbn_core_analytics_server.mdx | 2 +- .../kbn_core_analytics_server_internal.mdx | 2 +- api_docs/kbn_core_analytics_server_mocks.mdx | 2 +- api_docs/kbn_core_application_browser.mdx | 2 +- .../kbn_core_application_browser_internal.mdx | 2 +- .../kbn_core_application_browser_mocks.mdx | 2 +- api_docs/kbn_core_application_common.mdx | 2 +- api_docs/kbn_core_apps_browser_internal.mdx | 2 +- api_docs/kbn_core_apps_browser_mocks.mdx | 2 +- api_docs/kbn_core_apps_server_internal.mdx | 2 +- api_docs/kbn_core_base_browser_mocks.mdx | 2 +- api_docs/kbn_core_base_common.mdx | 2 +- api_docs/kbn_core_base_server_internal.mdx | 2 +- api_docs/kbn_core_base_server_mocks.mdx | 2 +- .../kbn_core_capabilities_browser_mocks.mdx | 2 +- api_docs/kbn_core_capabilities_common.mdx | 2 +- api_docs/kbn_core_capabilities_server.mdx | 2 +- .../kbn_core_capabilities_server_mocks.mdx | 2 +- api_docs/kbn_core_chrome_browser.devdocs.json | 2 +- api_docs/kbn_core_chrome_browser.mdx | 2 +- api_docs/kbn_core_chrome_browser_mocks.mdx | 2 +- api_docs/kbn_core_config_server_internal.mdx | 2 +- api_docs/kbn_core_custom_branding_browser.mdx | 2 +- ..._core_custom_branding_browser_internal.mdx | 2 +- ...kbn_core_custom_branding_browser_mocks.mdx | 2 +- api_docs/kbn_core_custom_branding_common.mdx | 2 +- api_docs/kbn_core_custom_branding_server.mdx | 2 +- ...n_core_custom_branding_server_internal.mdx | 2 +- .../kbn_core_custom_branding_server_mocks.mdx | 2 +- api_docs/kbn_core_deprecations_browser.mdx | 2 +- ...kbn_core_deprecations_browser_internal.mdx | 2 +- .../kbn_core_deprecations_browser_mocks.mdx | 2 +- api_docs/kbn_core_deprecations_common.mdx | 2 +- api_docs/kbn_core_deprecations_server.mdx | 2 +- .../kbn_core_deprecations_server_internal.mdx | 2 +- .../kbn_core_deprecations_server_mocks.mdx | 2 +- api_docs/kbn_core_doc_links_browser.mdx | 2 +- api_docs/kbn_core_doc_links_browser_mocks.mdx | 2 +- api_docs/kbn_core_doc_links_server.mdx | 2 +- api_docs/kbn_core_doc_links_server_mocks.mdx | 2 +- ...e_elasticsearch_client_server_internal.mdx | 2 +- ...core_elasticsearch_client_server_mocks.mdx | 2 +- api_docs/kbn_core_elasticsearch_server.mdx | 2 +- ...kbn_core_elasticsearch_server_internal.mdx | 2 +- .../kbn_core_elasticsearch_server_mocks.mdx | 2 +- .../kbn_core_environment_server_internal.mdx | 2 +- .../kbn_core_environment_server_mocks.mdx | 2 +- .../kbn_core_execution_context_browser.mdx | 2 +- ...ore_execution_context_browser_internal.mdx | 2 +- ...n_core_execution_context_browser_mocks.mdx | 2 +- .../kbn_core_execution_context_common.mdx | 2 +- .../kbn_core_execution_context_server.mdx | 2 +- ...core_execution_context_server_internal.mdx | 2 +- ...bn_core_execution_context_server_mocks.mdx | 2 +- api_docs/kbn_core_fatal_errors_browser.mdx | 2 +- .../kbn_core_fatal_errors_browser_mocks.mdx | 2 +- api_docs/kbn_core_feature_flags_browser.mdx | 2 +- ...bn_core_feature_flags_browser_internal.mdx | 2 +- .../kbn_core_feature_flags_browser_mocks.mdx | 2 +- api_docs/kbn_core_feature_flags_server.mdx | 2 +- ...kbn_core_feature_flags_server_internal.mdx | 2 +- .../kbn_core_feature_flags_server_mocks.mdx | 2 +- api_docs/kbn_core_http_browser.mdx | 2 +- api_docs/kbn_core_http_browser_internal.mdx | 2 +- api_docs/kbn_core_http_browser_mocks.mdx | 2 +- api_docs/kbn_core_http_common.mdx | 2 +- .../kbn_core_http_context_server_mocks.mdx | 2 +- ...re_http_request_handler_context_server.mdx | 2 +- api_docs/kbn_core_http_resources_server.mdx | 2 +- ...bn_core_http_resources_server_internal.mdx | 2 +- .../kbn_core_http_resources_server_mocks.mdx | 2 +- .../kbn_core_http_router_server_internal.mdx | 2 +- .../kbn_core_http_router_server_mocks.mdx | 2 +- api_docs/kbn_core_http_server.devdocs.json | 490 +++---- api_docs/kbn_core_http_server.mdx | 2 +- api_docs/kbn_core_http_server_internal.mdx | 2 +- api_docs/kbn_core_http_server_mocks.mdx | 2 +- api_docs/kbn_core_http_server_utils.mdx | 2 +- api_docs/kbn_core_i18n_browser.mdx | 2 +- api_docs/kbn_core_i18n_browser_mocks.mdx | 2 +- api_docs/kbn_core_i18n_server.mdx | 2 +- api_docs/kbn_core_i18n_server_internal.mdx | 2 +- api_docs/kbn_core_i18n_server_mocks.mdx | 2 +- ...n_core_injected_metadata_browser_mocks.mdx | 2 +- ...kbn_core_integrations_browser_internal.mdx | 2 +- .../kbn_core_integrations_browser_mocks.mdx | 2 +- .../kbn_core_lifecycle_browser.devdocs.json | 4 +- api_docs/kbn_core_lifecycle_browser.mdx | 2 +- api_docs/kbn_core_lifecycle_browser_mocks.mdx | 2 +- api_docs/kbn_core_lifecycle_server.mdx | 2 +- api_docs/kbn_core_lifecycle_server_mocks.mdx | 2 +- api_docs/kbn_core_logging_browser_mocks.mdx | 2 +- api_docs/kbn_core_logging_common_internal.mdx | 2 +- api_docs/kbn_core_logging_server.mdx | 2 +- api_docs/kbn_core_logging_server_internal.mdx | 2 +- api_docs/kbn_core_logging_server_mocks.mdx | 2 +- ...ore_metrics_collectors_server_internal.mdx | 2 +- ...n_core_metrics_collectors_server_mocks.mdx | 2 +- api_docs/kbn_core_metrics_server.mdx | 2 +- api_docs/kbn_core_metrics_server_internal.mdx | 2 +- api_docs/kbn_core_metrics_server_mocks.mdx | 2 +- api_docs/kbn_core_mount_utils_browser.mdx | 2 +- api_docs/kbn_core_node_server.mdx | 2 +- api_docs/kbn_core_node_server_internal.mdx | 2 +- api_docs/kbn_core_node_server_mocks.mdx | 2 +- api_docs/kbn_core_notifications_browser.mdx | 2 +- ...bn_core_notifications_browser_internal.mdx | 2 +- .../kbn_core_notifications_browser_mocks.mdx | 2 +- api_docs/kbn_core_overlays_browser.mdx | 2 +- .../kbn_core_overlays_browser_internal.mdx | 2 +- api_docs/kbn_core_overlays_browser_mocks.mdx | 2 +- api_docs/kbn_core_plugins_browser.mdx | 2 +- api_docs/kbn_core_plugins_browser_mocks.mdx | 2 +- .../kbn_core_plugins_contracts_browser.mdx | 2 +- .../kbn_core_plugins_contracts_server.mdx | 2 +- api_docs/kbn_core_plugins_server.mdx | 2 +- api_docs/kbn_core_plugins_server_mocks.mdx | 2 +- api_docs/kbn_core_preboot_server.mdx | 2 +- api_docs/kbn_core_preboot_server_mocks.mdx | 2 +- api_docs/kbn_core_rendering_browser.mdx | 2 +- api_docs/kbn_core_rendering_browser_mocks.mdx | 2 +- .../kbn_core_rendering_server_internal.mdx | 2 +- api_docs/kbn_core_rendering_server_mocks.mdx | 2 +- api_docs/kbn_core_root_server_internal.mdx | 2 +- ...ore_saved_objects_api_browser.devdocs.json | 12 +- .../kbn_core_saved_objects_api_browser.mdx | 2 +- .../kbn_core_saved_objects_api_server.mdx | 2 +- ...bn_core_saved_objects_api_server_mocks.mdx | 2 +- ...ore_saved_objects_base_server_internal.mdx | 2 +- ...n_core_saved_objects_base_server_mocks.mdx | 2 +- ...bn_core_saved_objects_browser.devdocs.json | 4 +- api_docs/kbn_core_saved_objects_browser.mdx | 2 +- ...bn_core_saved_objects_browser_internal.mdx | 2 +- .../kbn_core_saved_objects_browser_mocks.mdx | 2 +- ...kbn_core_saved_objects_common.devdocs.json | 4 +- api_docs/kbn_core_saved_objects_common.mdx | 2 +- ..._objects_import_export_server_internal.mdx | 2 +- ...ved_objects_import_export_server_mocks.mdx | 2 +- ...aved_objects_migration_server_internal.mdx | 2 +- ...e_saved_objects_migration_server_mocks.mdx | 2 +- ...kbn_core_saved_objects_server.devdocs.json | 62 +- api_docs/kbn_core_saved_objects_server.mdx | 2 +- ...kbn_core_saved_objects_server_internal.mdx | 2 +- .../kbn_core_saved_objects_server_mocks.mdx | 2 +- .../kbn_core_saved_objects_utils_server.mdx | 2 +- api_docs/kbn_core_security_browser.mdx | 2 +- .../kbn_core_security_browser_internal.mdx | 2 +- api_docs/kbn_core_security_browser_mocks.mdx | 2 +- api_docs/kbn_core_security_common.mdx | 2 +- api_docs/kbn_core_security_server.mdx | 2 +- .../kbn_core_security_server_internal.mdx | 2 +- api_docs/kbn_core_security_server_mocks.mdx | 2 +- api_docs/kbn_core_status_common.mdx | 2 +- api_docs/kbn_core_status_server.mdx | 2 +- api_docs/kbn_core_status_server_internal.mdx | 2 +- api_docs/kbn_core_status_server_mocks.mdx | 2 +- ...core_test_helpers_deprecations_getters.mdx | 2 +- ...n_core_test_helpers_http_setup_browser.mdx | 2 +- api_docs/kbn_core_test_helpers_kbn_server.mdx | 2 +- .../kbn_core_test_helpers_model_versions.mdx | 2 +- ...n_core_test_helpers_so_type_serializer.mdx | 2 +- api_docs/kbn_core_test_helpers_test_utils.mdx | 2 +- api_docs/kbn_core_theme_browser.mdx | 2 +- api_docs/kbn_core_theme_browser_mocks.mdx | 2 +- api_docs/kbn_core_ui_settings_browser.mdx | 2 +- .../kbn_core_ui_settings_browser_internal.mdx | 2 +- .../kbn_core_ui_settings_browser_mocks.mdx | 2 +- api_docs/kbn_core_ui_settings_common.mdx | 2 +- api_docs/kbn_core_ui_settings_server.mdx | 2 +- .../kbn_core_ui_settings_server_internal.mdx | 2 +- .../kbn_core_ui_settings_server_mocks.mdx | 2 +- api_docs/kbn_core_usage_data_server.mdx | 2 +- .../kbn_core_usage_data_server_internal.mdx | 2 +- api_docs/kbn_core_usage_data_server_mocks.mdx | 2 +- api_docs/kbn_core_user_profile_browser.mdx | 2 +- ...kbn_core_user_profile_browser_internal.mdx | 2 +- .../kbn_core_user_profile_browser_mocks.mdx | 2 +- api_docs/kbn_core_user_profile_common.mdx | 2 +- api_docs/kbn_core_user_profile_server.mdx | 2 +- .../kbn_core_user_profile_server_internal.mdx | 2 +- .../kbn_core_user_profile_server_mocks.mdx | 2 +- api_docs/kbn_core_user_settings_server.mdx | 2 +- .../kbn_core_user_settings_server_mocks.mdx | 2 +- api_docs/kbn_crypto.mdx | 2 +- api_docs/kbn_crypto_browser.mdx | 2 +- api_docs/kbn_custom_icons.mdx | 2 +- api_docs/kbn_custom_integrations.mdx | 2 +- api_docs/kbn_cypress_config.mdx | 2 +- api_docs/kbn_data_forge.mdx | 2 +- api_docs/kbn_data_service.mdx | 2 +- api_docs/kbn_data_stream_adapter.devdocs.json | 6 +- api_docs/kbn_data_stream_adapter.mdx | 2 +- api_docs/kbn_data_view_utils.mdx | 2 +- api_docs/kbn_datemath.mdx | 2 +- api_docs/kbn_deeplinks_analytics.mdx | 2 +- api_docs/kbn_deeplinks_devtools.mdx | 2 +- api_docs/kbn_deeplinks_fleet.mdx | 2 +- api_docs/kbn_deeplinks_management.mdx | 2 +- api_docs/kbn_deeplinks_ml.devdocs.json | 6 +- api_docs/kbn_deeplinks_ml.mdx | 2 +- api_docs/kbn_deeplinks_observability.mdx | 2 +- api_docs/kbn_deeplinks_search.devdocs.json | 17 +- api_docs/kbn_deeplinks_search.mdx | 4 +- api_docs/kbn_deeplinks_security.mdx | 2 +- api_docs/kbn_deeplinks_shared.mdx | 2 +- api_docs/kbn_default_nav_analytics.mdx | 2 +- api_docs/kbn_default_nav_devtools.mdx | 2 +- api_docs/kbn_default_nav_management.mdx | 2 +- api_docs/kbn_default_nav_ml.devdocs.json | 14 +- api_docs/kbn_default_nav_ml.mdx | 2 +- api_docs/kbn_dev_cli_errors.mdx | 2 +- api_docs/kbn_dev_cli_runner.mdx | 2 +- api_docs/kbn_dev_proc_runner.mdx | 2 +- api_docs/kbn_dev_utils.mdx | 2 +- .../kbn_discover_contextual_components.mdx | 2 +- api_docs/kbn_discover_utils.mdx | 2 +- api_docs/kbn_doc_links.mdx | 2 +- api_docs/kbn_docs_utils.mdx | 2 +- api_docs/kbn_dom_drag_drop.mdx | 2 +- api_docs/kbn_ebt_tools.mdx | 2 +- api_docs/kbn_ecs_data_quality_dashboard.mdx | 2 +- api_docs/kbn_elastic_agent_utils.mdx | 2 +- api_docs/kbn_elastic_assistant.mdx | 2 +- api_docs/kbn_elastic_assistant_common.mdx | 2 +- api_docs/kbn_entities_schema.mdx | 2 +- api_docs/kbn_es.mdx | 2 +- api_docs/kbn_es_archiver.mdx | 2 +- api_docs/kbn_es_errors.mdx | 2 +- api_docs/kbn_es_query.mdx | 2 +- api_docs/kbn_es_types.mdx | 2 +- api_docs/kbn_eslint_plugin_imports.mdx | 2 +- api_docs/kbn_esql_ast.devdocs.json | 588 ++++----- api_docs/kbn_esql_ast.mdx | 2 +- api_docs/kbn_esql_editor.devdocs.json | 56 +- api_docs/kbn_esql_editor.mdx | 2 +- api_docs/kbn_esql_utils.devdocs.json | 154 +-- api_docs/kbn_esql_utils.mdx | 2 +- ..._esql_validation_autocomplete.devdocs.json | 410 +++--- api_docs/kbn_esql_validation_autocomplete.mdx | 2 +- api_docs/kbn_event_annotation_common.mdx | 2 +- api_docs/kbn_event_annotation_components.mdx | 2 +- api_docs/kbn_expandable_flyout.mdx | 2 +- api_docs/kbn_field_types.mdx | 2 +- api_docs/kbn_field_utils.mdx | 2 +- api_docs/kbn_find_used_node_modules.mdx | 2 +- api_docs/kbn_formatters.mdx | 2 +- .../kbn_ftr_common_functional_services.mdx | 2 +- .../kbn_ftr_common_functional_ui_services.mdx | 2 +- api_docs/kbn_gen_ai_functional_testing.mdx | 2 +- api_docs/kbn_generate.mdx | 2 +- api_docs/kbn_generate_console_definitions.mdx | 2 +- api_docs/kbn_generate_csv.mdx | 2 +- api_docs/kbn_grid_layout.mdx | 2 +- api_docs/kbn_grouping.mdx | 2 +- api_docs/kbn_guided_onboarding.mdx | 2 +- api_docs/kbn_handlebars.mdx | 2 +- api_docs/kbn_hapi_mocks.mdx | 2 +- api_docs/kbn_health_gateway_server.mdx | 2 +- api_docs/kbn_home_sample_data_card.mdx | 2 +- api_docs/kbn_home_sample_data_tab.mdx | 2 +- api_docs/kbn_i18n.mdx | 2 +- api_docs/kbn_i18n_react.mdx | 2 +- api_docs/kbn_import_resolver.mdx | 2 +- api_docs/kbn_index_adapter.devdocs.json | 6 +- api_docs/kbn_index_adapter.mdx | 2 +- ...dex_lifecycle_management_common_shared.mdx | 2 +- .../kbn_index_management_shared_types.mdx | 2 +- api_docs/kbn_inference_common.mdx | 2 +- ..._inference_integration_flyout.devdocs.json | 14 +- api_docs/kbn_inference_integration_flyout.mdx | 2 +- api_docs/kbn_infra_forge.mdx | 2 +- api_docs/kbn_interpreter.mdx | 2 +- api_docs/kbn_investigation_shared.mdx | 2 +- api_docs/kbn_io_ts_utils.mdx | 2 +- api_docs/kbn_ipynb.mdx | 2 +- api_docs/kbn_item_buffer.mdx | 2 +- api_docs/kbn_jest_serializers.mdx | 2 +- api_docs/kbn_journeys.mdx | 2 +- api_docs/kbn_json_ast.mdx | 2 +- api_docs/kbn_json_schemas.devdocs.json | 18 +- api_docs/kbn_json_schemas.mdx | 2 +- api_docs/kbn_kibana_manifest_schema.mdx | 2 +- .../kbn_language_documentation.devdocs.json | 14 +- api_docs/kbn_language_documentation.mdx | 2 +- api_docs/kbn_lens_embeddable_utils.mdx | 2 +- api_docs/kbn_lens_formula_docs.mdx | 2 +- api_docs/kbn_logging.mdx | 2 +- api_docs/kbn_logging_mocks.mdx | 2 +- api_docs/kbn_managed_content_badge.mdx | 2 +- api_docs/kbn_managed_vscode_config.mdx | 2 +- api_docs/kbn_management_cards_navigation.mdx | 2 +- .../kbn_management_settings_application.mdx | 2 +- ...ent_settings_components_field_category.mdx | 2 +- ...gement_settings_components_field_input.mdx | 2 +- ...nagement_settings_components_field_row.mdx | 2 +- ...bn_management_settings_components_form.mdx | 2 +- ...n_management_settings_field_definition.mdx | 2 +- api_docs/kbn_management_settings_ids.mdx | 2 +- ...n_management_settings_section_registry.mdx | 2 +- api_docs/kbn_management_settings_types.mdx | 2 +- .../kbn_management_settings_utilities.mdx | 2 +- api_docs/kbn_management_storybook_config.mdx | 2 +- api_docs/kbn_manifest.mdx | 2 +- api_docs/kbn_mapbox_gl.mdx | 2 +- api_docs/kbn_maps_vector_tile_utils.mdx | 2 +- api_docs/kbn_ml_agg_utils.devdocs.json | 190 +-- api_docs/kbn_ml_agg_utils.mdx | 2 +- api_docs/kbn_ml_anomaly_utils.devdocs.json | 418 +++--- api_docs/kbn_ml_anomaly_utils.mdx | 2 +- .../kbn_ml_cancellable_search.devdocs.json | 16 +- api_docs/kbn_ml_cancellable_search.mdx | 2 +- .../kbn_ml_category_validator.devdocs.json | 74 +- api_docs/kbn_ml_category_validator.mdx | 2 +- api_docs/kbn_ml_chi2test.devdocs.json | 24 +- api_docs/kbn_ml_chi2test.mdx | 2 +- ...ml_data_frame_analytics_utils.devdocs.json | 304 ++--- .../kbn_ml_data_frame_analytics_utils.mdx | 2 +- api_docs/kbn_ml_data_grid.devdocs.json | 260 ++-- api_docs/kbn_ml_data_grid.mdx | 2 +- api_docs/kbn_ml_date_picker.devdocs.json | 100 +- api_docs/kbn_ml_date_picker.mdx | 2 +- api_docs/kbn_ml_date_utils.devdocs.json | 22 +- api_docs/kbn_ml_date_utils.mdx | 2 +- api_docs/kbn_ml_error_utils.devdocs.json | 72 +- api_docs/kbn_ml_error_utils.mdx | 2 +- .../kbn_ml_field_stats_flyout.devdocs.json | 58 +- api_docs/kbn_ml_field_stats_flyout.mdx | 2 +- api_docs/kbn_ml_in_memory_table.devdocs.json | 20 +- api_docs/kbn_ml_in_memory_table.mdx | 2 +- api_docs/kbn_ml_is_defined.devdocs.json | 4 +- api_docs/kbn_ml_is_defined.mdx | 2 +- .../kbn_ml_is_populated_object.devdocs.json | 6 +- api_docs/kbn_ml_is_populated_object.mdx | 2 +- api_docs/kbn_ml_kibana_theme.devdocs.json | 10 +- api_docs/kbn_ml_kibana_theme.mdx | 2 +- api_docs/kbn_ml_local_storage.devdocs.json | 10 +- api_docs/kbn_ml_local_storage.mdx | 2 +- api_docs/kbn_ml_nested_property.devdocs.json | 16 +- api_docs/kbn_ml_nested_property.mdx | 2 +- api_docs/kbn_ml_number_utils.devdocs.json | 6 +- api_docs/kbn_ml_number_utils.mdx | 2 +- api_docs/kbn_ml_parse_interval.devdocs.json | 6 +- api_docs/kbn_ml_parse_interval.mdx | 2 +- api_docs/kbn_ml_query_utils.devdocs.json | 58 +- api_docs/kbn_ml_query_utils.mdx | 2 +- .../kbn_ml_random_sampler_utils.devdocs.json | 60 +- api_docs/kbn_ml_random_sampler_utils.mdx | 2 +- api_docs/kbn_ml_route_utils.devdocs.json | 10 +- api_docs/kbn_ml_route_utils.mdx | 2 +- .../kbn_ml_runtime_field_utils.devdocs.json | 16 +- api_docs/kbn_ml_runtime_field_utils.mdx | 2 +- api_docs/kbn_ml_string_hash.devdocs.json | 4 +- api_docs/kbn_ml_string_hash.mdx | 2 +- api_docs/kbn_ml_time_buckets.devdocs.json | 68 +- api_docs/kbn_ml_time_buckets.mdx | 2 +- .../kbn_ml_trained_models_utils.devdocs.json | 94 +- api_docs/kbn_ml_trained_models_utils.mdx | 2 +- api_docs/kbn_ml_ui_actions.devdocs.json | 36 +- api_docs/kbn_ml_ui_actions.mdx | 2 +- api_docs/kbn_ml_url_state.devdocs.json | 82 +- api_docs/kbn_ml_url_state.mdx | 2 +- api_docs/kbn_ml_validators.devdocs.json | 64 +- api_docs/kbn_ml_validators.mdx | 2 +- api_docs/kbn_mock_idp_utils.mdx | 2 +- api_docs/kbn_monaco.devdocs.json | 12 +- api_docs/kbn_monaco.mdx | 2 +- api_docs/kbn_object_versioning.mdx | 2 +- api_docs/kbn_object_versioning_utils.mdx | 2 +- api_docs/kbn_observability_alert_details.mdx | 2 +- .../kbn_observability_alerting_rule_utils.mdx | 2 +- .../kbn_observability_alerting_test_data.mdx | 2 +- ...ility_get_padded_alert_time_range_util.mdx | 2 +- api_docs/kbn_observability_logs_overview.mdx | 2 +- ...kbn_observability_synthetics_test_data.mdx | 2 +- api_docs/kbn_openapi_bundler.mdx | 2 +- api_docs/kbn_openapi_generator.mdx | 2 +- api_docs/kbn_optimizer.devdocs.json | 15 + api_docs/kbn_optimizer.mdx | 4 +- api_docs/kbn_optimizer_webpack_helpers.mdx | 2 +- api_docs/kbn_osquery_io_ts_types.mdx | 2 +- api_docs/kbn_panel_loader.mdx | 2 +- ..._performance_testing_dataset_extractor.mdx | 2 +- api_docs/kbn_plugin_check.mdx | 2 +- api_docs/kbn_plugin_generator.mdx | 2 +- api_docs/kbn_plugin_helpers.mdx | 2 +- api_docs/kbn_presentation_containers.mdx | 2 +- .../kbn_presentation_publishing.devdocs.json | 2 +- api_docs/kbn_presentation_publishing.mdx | 2 +- api_docs/kbn_product_doc_artifact_builder.mdx | 2 +- api_docs/kbn_product_doc_common.mdx | 2 +- api_docs/kbn_profiling_utils.mdx | 2 +- api_docs/kbn_random_sampling.mdx | 2 +- api_docs/kbn_react_field.mdx | 2 +- api_docs/kbn_react_hooks.mdx | 2 +- api_docs/kbn_react_kibana_context_common.mdx | 2 +- api_docs/kbn_react_kibana_context_render.mdx | 2 +- api_docs/kbn_react_kibana_context_root.mdx | 2 +- api_docs/kbn_react_kibana_context_styled.mdx | 2 +- api_docs/kbn_react_kibana_context_theme.mdx | 2 +- api_docs/kbn_react_kibana_mount.mdx | 2 +- ...eact_mute_legacy_root_warning.devdocs.json | 47 + .../kbn_react_mute_legacy_root_warning.mdx | 30 + api_docs/kbn_recently_accessed.mdx | 2 +- api_docs/kbn_repo_file_maps.mdx | 2 +- api_docs/kbn_repo_linter.mdx | 2 +- api_docs/kbn_repo_path.mdx | 2 +- api_docs/kbn_repo_source_classifier.mdx | 2 +- api_docs/kbn_reporting_common.mdx | 2 +- api_docs/kbn_reporting_csv_share_panel.mdx | 2 +- api_docs/kbn_reporting_export_types_csv.mdx | 2 +- .../kbn_reporting_export_types_csv_common.mdx | 2 +- api_docs/kbn_reporting_export_types_pdf.mdx | 2 +- .../kbn_reporting_export_types_pdf_common.mdx | 2 +- api_docs/kbn_reporting_export_types_png.mdx | 2 +- .../kbn_reporting_export_types_png_common.mdx | 2 +- api_docs/kbn_reporting_mocks_server.mdx | 2 +- api_docs/kbn_reporting_public.mdx | 2 +- api_docs/kbn_reporting_server.mdx | 2 +- api_docs/kbn_resizable_layout.mdx | 2 +- .../kbn_response_ops_feature_flag_service.mdx | 2 +- api_docs/kbn_response_ops_rule_form.mdx | 2 +- api_docs/kbn_response_ops_rule_params.mdx | 2 +- api_docs/kbn_rison.mdx | 2 +- api_docs/kbn_rollup.mdx | 2 +- api_docs/kbn_router_to_openapispec.mdx | 2 +- api_docs/kbn_router_utils.mdx | 2 +- api_docs/kbn_rrule.mdx | 2 +- api_docs/kbn_rule_data_utils.mdx | 2 +- api_docs/kbn_saved_objects_settings.mdx | 2 +- api_docs/kbn_saved_search_component.mdx | 2 +- api_docs/kbn_scout.devdocs.json | 38 - api_docs/kbn_scout.mdx | 4 +- api_docs/kbn_scout_info.devdocs.json | 103 ++ api_docs/kbn_scout_info.mdx | 30 + api_docs/kbn_scout_reporting.devdocs.json | 1137 +++++++++++++++++ api_docs/kbn_scout_reporting.mdx | 39 + api_docs/kbn_screenshotting_server.mdx | 2 +- api_docs/kbn_search_api_keys_components.mdx | 2 +- api_docs/kbn_search_api_keys_server.mdx | 2 +- api_docs/kbn_search_api_panels.mdx | 2 +- api_docs/kbn_search_connectors.mdx | 2 +- api_docs/kbn_search_errors.mdx | 2 +- api_docs/kbn_search_index_documents.mdx | 2 +- api_docs/kbn_search_response_warnings.mdx | 2 +- api_docs/kbn_search_shared_ui.mdx | 2 +- api_docs/kbn_search_types.mdx | 2 +- api_docs/kbn_security_api_key_management.mdx | 2 +- api_docs/kbn_security_authorization_core.mdx | 2 +- ...kbn_security_authorization_core_common.mdx | 2 +- api_docs/kbn_security_form_components.mdx | 2 +- api_docs/kbn_security_hardening.mdx | 2 +- api_docs/kbn_security_plugin_types_common.mdx | 2 +- api_docs/kbn_security_plugin_types_public.mdx | 2 +- ..._security_plugin_types_server.devdocs.json | 8 +- api_docs/kbn_security_plugin_types_server.mdx | 2 +- .../kbn_security_role_management_model.mdx | 2 +- ...kbn_security_solution_distribution_bar.mdx | 2 +- api_docs/kbn_security_solution_features.mdx | 2 +- api_docs/kbn_security_solution_navigation.mdx | 2 +- api_docs/kbn_security_solution_side_nav.mdx | 2 +- ...kbn_security_solution_storybook_config.mdx | 2 +- api_docs/kbn_security_ui_components.mdx | 2 +- .../kbn_securitysolution_autocomplete.mdx | 2 +- api_docs/kbn_securitysolution_data_table.mdx | 2 +- api_docs/kbn_securitysolution_ecs.mdx | 2 +- api_docs/kbn_securitysolution_es_utils.mdx | 2 +- ...ritysolution_exception_list_components.mdx | 2 +- api_docs/kbn_securitysolution_hook_utils.mdx | 2 +- ..._securitysolution_io_ts_alerting_types.mdx | 2 +- .../kbn_securitysolution_io_ts_list_types.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_types.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_utils.mdx | 2 +- api_docs/kbn_securitysolution_list_api.mdx | 2 +- .../kbn_securitysolution_list_constants.mdx | 2 +- api_docs/kbn_securitysolution_list_hooks.mdx | 2 +- api_docs/kbn_securitysolution_list_utils.mdx | 2 +- api_docs/kbn_securitysolution_rules.mdx | 2 +- api_docs/kbn_securitysolution_t_grid.mdx | 2 +- api_docs/kbn_securitysolution_utils.mdx | 2 +- api_docs/kbn_server_http_tools.mdx | 2 +- api_docs/kbn_server_route_repository.mdx | 2 +- .../kbn_server_route_repository_client.mdx | 2 +- .../kbn_server_route_repository_utils.mdx | 2 +- api_docs/kbn_serverless_common_settings.mdx | 2 +- .../kbn_serverless_observability_settings.mdx | 2 +- api_docs/kbn_serverless_project_switcher.mdx | 2 +- api_docs/kbn_serverless_search_settings.mdx | 2 +- api_docs/kbn_serverless_security_settings.mdx | 2 +- api_docs/kbn_serverless_storybook_config.mdx | 2 +- api_docs/kbn_shared_svg.mdx | 2 +- api_docs/kbn_shared_ux_avatar_solution.mdx | 2 +- .../kbn_shared_ux_button_exit_full_screen.mdx | 2 +- api_docs/kbn_shared_ux_button_toolbar.mdx | 2 +- api_docs/kbn_shared_ux_card_no_data.mdx | 2 +- api_docs/kbn_shared_ux_card_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_chrome_navigation.mdx | 2 +- api_docs/kbn_shared_ux_error_boundary.mdx | 2 +- api_docs/kbn_shared_ux_file_context.mdx | 2 +- api_docs/kbn_shared_ux_file_image.mdx | 2 +- api_docs/kbn_shared_ux_file_image_mocks.mdx | 2 +- api_docs/kbn_shared_ux_file_mocks.mdx | 2 +- api_docs/kbn_shared_ux_file_picker.mdx | 2 +- api_docs/kbn_shared_ux_file_types.mdx | 2 +- api_docs/kbn_shared_ux_file_upload.mdx | 2 +- api_docs/kbn_shared_ux_file_util.mdx | 2 +- api_docs/kbn_shared_ux_link_redirect_app.mdx | 2 +- .../kbn_shared_ux_link_redirect_app_mocks.mdx | 2 +- api_docs/kbn_shared_ux_markdown.mdx | 2 +- api_docs/kbn_shared_ux_markdown_mocks.mdx | 2 +- .../kbn_shared_ux_page_analytics_no_data.mdx | 2 +- ...shared_ux_page_analytics_no_data_mocks.mdx | 2 +- .../kbn_shared_ux_page_kibana_no_data.mdx | 2 +- ...bn_shared_ux_page_kibana_no_data_mocks.mdx | 2 +- .../kbn_shared_ux_page_kibana_template.mdx | 2 +- ...n_shared_ux_page_kibana_template_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_no_data.mdx | 2 +- .../kbn_shared_ux_page_no_data_config.mdx | 2 +- ...bn_shared_ux_page_no_data_config_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_solution_nav.mdx | 2 +- .../kbn_shared_ux_prompt_no_data_views.mdx | 2 +- ...n_shared_ux_prompt_no_data_views_mocks.mdx | 2 +- api_docs/kbn_shared_ux_prompt_not_found.mdx | 2 +- api_docs/kbn_shared_ux_router.mdx | 2 +- api_docs/kbn_shared_ux_router_mocks.mdx | 2 +- api_docs/kbn_shared_ux_storybook_config.mdx | 2 +- api_docs/kbn_shared_ux_storybook_mock.mdx | 2 +- api_docs/kbn_shared_ux_tabbed_modal.mdx | 2 +- api_docs/kbn_shared_ux_table_persist.mdx | 2 +- api_docs/kbn_shared_ux_utility.mdx | 2 +- api_docs/kbn_slo_schema.mdx | 2 +- api_docs/kbn_some_dev_log.mdx | 2 +- api_docs/kbn_sort_predicates.mdx | 2 +- api_docs/kbn_sse_utils.mdx | 2 +- api_docs/kbn_sse_utils_client.mdx | 2 +- api_docs/kbn_sse_utils_server.mdx | 2 +- api_docs/kbn_std.mdx | 2 +- api_docs/kbn_stdio_dev_helpers.mdx | 2 +- api_docs/kbn_storybook.mdx | 2 +- api_docs/kbn_synthetics_e2e.mdx | 2 +- api_docs/kbn_synthetics_private_location.mdx | 2 +- api_docs/kbn_telemetry_tools.mdx | 2 +- api_docs/kbn_test.devdocs.json | 30 + api_docs/kbn_test.mdx | 4 +- api_docs/kbn_test_eui_helpers.mdx | 2 +- api_docs/kbn_test_jest_helpers.mdx | 2 +- api_docs/kbn_test_subj_selector.mdx | 2 +- api_docs/kbn_timerange.mdx | 2 +- api_docs/kbn_tooling_log.mdx | 2 +- api_docs/kbn_transpose_utils.mdx | 2 +- api_docs/kbn_triggers_actions_ui_types.mdx | 2 +- api_docs/kbn_try_in_console.mdx | 2 +- api_docs/kbn_ts_projects.mdx | 2 +- api_docs/kbn_typed_react_router_config.mdx | 2 +- api_docs/kbn_ui_actions_browser.mdx | 2 +- api_docs/kbn_ui_shared_deps_src.mdx | 2 +- api_docs/kbn_ui_theme.mdx | 2 +- api_docs/kbn_unified_data_table.mdx | 2 +- api_docs/kbn_unified_doc_viewer.mdx | 2 +- api_docs/kbn_unified_field_list.mdx | 2 +- api_docs/kbn_unsaved_changes_badge.mdx | 2 +- api_docs/kbn_unsaved_changes_prompt.mdx | 2 +- api_docs/kbn_use_tracked_promise.mdx | 2 +- .../kbn_user_profile_components.devdocs.json | 8 + api_docs/kbn_user_profile_components.mdx | 2 +- api_docs/kbn_utility_types.mdx | 2 +- api_docs/kbn_utility_types_jest.mdx | 2 +- api_docs/kbn_utils.mdx | 2 +- api_docs/kbn_visualization_ui_components.mdx | 2 +- api_docs/kbn_visualization_utils.mdx | 2 +- api_docs/kbn_xstate_utils.mdx | 2 +- api_docs/kbn_yarn_lock_validator.mdx | 2 +- api_docs/kbn_zod.mdx | 2 +- api_docs/kbn_zod_helpers.mdx | 2 +- api_docs/kibana_overview.mdx | 2 +- api_docs/kibana_react.mdx | 2 +- api_docs/kibana_utils.mdx | 2 +- api_docs/kubernetes_security.mdx | 2 +- api_docs/lens.devdocs.json | 6 +- api_docs/lens.mdx | 2 +- api_docs/license_api_guard.mdx | 2 +- api_docs/license_management.mdx | 2 +- api_docs/licensing.devdocs.json | 22 +- api_docs/licensing.mdx | 2 +- api_docs/links.mdx | 2 +- api_docs/lists.mdx | 2 +- api_docs/llm_tasks.mdx | 2 +- api_docs/logs_data_access.mdx | 2 +- api_docs/logs_explorer.mdx | 2 +- api_docs/logs_shared.mdx | 2 +- api_docs/management.mdx | 2 +- api_docs/maps.mdx | 2 +- api_docs/maps_ems.mdx | 2 +- api_docs/metrics_data_access.mdx | 2 +- api_docs/ml.devdocs.json | 298 ++--- api_docs/ml.mdx | 2 +- api_docs/mock_idp_plugin.mdx | 2 +- api_docs/monitoring.mdx | 2 +- api_docs/monitoring_collection.mdx | 2 +- api_docs/navigation.mdx | 2 +- api_docs/newsfeed.mdx | 2 +- api_docs/no_data_page.mdx | 2 +- api_docs/notifications.mdx | 2 +- api_docs/observability.mdx | 2 +- .../observability_a_i_assistant.devdocs.json | 184 ++- api_docs/observability_a_i_assistant.mdx | 4 +- api_docs/observability_a_i_assistant_app.mdx | 2 +- .../observability_ai_assistant_management.mdx | 2 +- api_docs/observability_logs_explorer.mdx | 2 +- api_docs/observability_onboarding.mdx | 2 +- api_docs/observability_shared.mdx | 2 +- api_docs/osquery.mdx | 2 +- api_docs/painless_lab.mdx | 2 +- api_docs/plugin_directory.mdx | 21 +- api_docs/presentation_panel.mdx | 2 +- api_docs/presentation_util.mdx | 2 +- api_docs/product_doc_base.mdx | 2 +- api_docs/profiling.mdx | 2 +- api_docs/profiling_data_access.mdx | 2 +- api_docs/remote_clusters.mdx | 2 +- api_docs/reporting.mdx | 2 +- api_docs/rollup.mdx | 2 +- api_docs/rule_registry.mdx | 2 +- api_docs/runtime_fields.mdx | 2 +- api_docs/saved_objects.mdx | 2 +- api_docs/saved_objects_finder.mdx | 2 +- api_docs/saved_objects_management.mdx | 2 +- api_docs/saved_objects_tagging.mdx | 2 +- api_docs/saved_objects_tagging_oss.mdx | 2 +- api_docs/saved_search.mdx | 2 +- api_docs/screenshot_mode.mdx | 2 +- api_docs/screenshotting.mdx | 2 +- api_docs/search_assistant.mdx | 2 +- api_docs/search_connectors.mdx | 2 +- api_docs/search_homepage.mdx | 2 +- api_docs/search_indices.devdocs.json | 2 +- api_docs/search_indices.mdx | 2 +- .../search_inference_endpoints.devdocs.json | 113 +- api_docs/search_inference_endpoints.mdx | 7 +- api_docs/search_navigation.devdocs.json | 2 +- api_docs/search_navigation.mdx | 2 +- api_docs/search_notebooks.mdx | 2 +- api_docs/search_playground.mdx | 2 +- api_docs/security.devdocs.json | 26 +- api_docs/security.mdx | 2 +- api_docs/security_solution.devdocs.json | 12 +- api_docs/security_solution.mdx | 2 +- api_docs/security_solution_ess.mdx | 2 +- api_docs/security_solution_serverless.mdx | 2 +- api_docs/serverless.mdx | 2 +- api_docs/serverless_observability.mdx | 2 +- api_docs/serverless_search.mdx | 2 +- api_docs/session_view.mdx | 2 +- api_docs/share.mdx | 2 +- api_docs/slo.mdx | 2 +- api_docs/snapshot_restore.mdx | 2 +- api_docs/spaces.mdx | 2 +- api_docs/stack_alerts.mdx | 2 +- api_docs/stack_connectors.mdx | 2 +- api_docs/streams.mdx | 2 +- api_docs/streams_app.mdx | 2 +- api_docs/task_manager.mdx | 2 +- api_docs/telemetry.mdx | 2 +- api_docs/telemetry_collection_manager.mdx | 2 +- api_docs/telemetry_management_section.mdx | 2 +- api_docs/threat_intelligence.mdx | 2 +- api_docs/timelines.mdx | 2 +- api_docs/transform.devdocs.json | 8 +- api_docs/transform.mdx | 2 +- api_docs/triggers_actions_ui.mdx | 2 +- api_docs/ui_actions.mdx | 2 +- api_docs/ui_actions_enhanced.mdx | 2 +- api_docs/unified_doc_viewer.mdx | 2 +- api_docs/unified_histogram.mdx | 2 +- api_docs/unified_search.mdx | 2 +- api_docs/unified_search_autocomplete.mdx | 2 +- api_docs/uptime.mdx | 2 +- api_docs/url_forwarding.mdx | 2 +- api_docs/usage_collection.mdx | 2 +- api_docs/ux.mdx | 2 +- api_docs/vis_default_editor.mdx | 2 +- api_docs/vis_type_gauge.mdx | 2 +- api_docs/vis_type_heatmap.mdx | 2 +- api_docs/vis_type_pie.mdx | 2 +- api_docs/vis_type_table.mdx | 2 +- api_docs/vis_type_timelion.mdx | 2 +- api_docs/vis_type_timeseries.mdx | 2 +- api_docs/vis_type_vega.mdx | 2 +- api_docs/vis_type_vislib.mdx | 2 +- api_docs/vis_type_xy.mdx | 2 +- api_docs/visualizations.mdx | 2 +- 853 files changed, 4880 insertions(+), 3453 deletions(-) create mode 100644 api_docs/kbn_react_mute_legacy_root_warning.devdocs.json create mode 100644 api_docs/kbn_react_mute_legacy_root_warning.mdx create mode 100644 api_docs/kbn_scout_info.devdocs.json create mode 100644 api_docs/kbn_scout_info.mdx create mode 100644 api_docs/kbn_scout_reporting.devdocs.json create mode 100644 api_docs/kbn_scout_reporting.mdx 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'; From 6bc8c27858045a1dd7a2e04d00b9f7fc948cfa26 Mon Sep 17 00:00:00 2001 From: Miriam <31922082+MiriamAparicio@users.noreply.github.com> Date: Tue, 10 Dec 2024 08:00:22 +0000 Subject: [PATCH 046/103] [POC] Migrate infra from styled-components to @emotion (#202405) Closes https://github.com/elastic/kibana/issues/202255 ### Summary While working on the visual refresh for the new EUI theme Borealis we figured that was a good time to do the recommended migration from styled-components to @emotion ### What has been done - Migrate infra plugin from styled-components to @emotion - Eui Visual Refresh for Borealis new theme - All usage of color palette tokens and functions now pull from the theme, and correctly update to use new colors when the theme changes from Borealis to Amsterdam and vice versa - All references to renamed tokens have been updated to use the new token name - Remove usage of deprecated `useEuiBackgroundColor` - All usages of "success" colors have been updated to `accentSecondary` and `textAccentSecondary` as needed ### How to test #### Running Kibana with the Borealis theme In order to run Kibana with Borealis, you'll need to do the following: - Set the following in kibana.dev.yml: `uiSettings.experimental.themeSwitcherEnabled: true` - Run Kibana with the following environment variable set: `KBN_OPTIMIZER_THEMES="borealislight,borealisdark,v8light,v8dark" yarn start` - This will expose a toggle under Stack Management > Advanced Settings > Theme version, which you can use to toggle between Amsterdam and Borealis. --- .../new_index/new_search_index_template.tsx | 32 +- .../observability_solution/infra/emotion.d.ts | 14 + .../alerting/common/components/threshold.tsx | 9 +- .../components/alert_annotation.tsx | 7 +- .../alert_details_app_section/index.tsx | 8 +- .../components/expression_row.tsx | 10 +- .../tabs/processes/process_row.tsx | 35 +- .../tabs/processes/processes_table.tsx | 6 +- .../autocomplete_field/autocomplete_field.tsx | 13 +- .../autocomplete_field/suggestion_item.tsx | 49 +-- .../components/empty_states/no_data.tsx | 5 +- .../public/components/eui/toolbar/toolbar.tsx | 18 +- .../public/components/fixed_datepicker.tsx | 10 +- .../infra/public/components/loading/index.tsx | 7 +- .../components/loading_overlay_wrapper.tsx | 10 +- .../log_stream_react_embeddable.tsx | 8 +- .../quality_warning_notices.tsx | 6 +- .../category_expression.tsx | 13 +- .../missing_results_privileges_prompt.tsx | 4 +- .../missing_setup_privileges_prompt.tsx | 4 +- .../ml_unavailable_prompt.tsx | 5 +- .../setup_status_unknown_prompt.tsx | 4 +- .../logging/log_customization_menu.tsx | 5 +- .../log_entry_examples/log_entry_examples.tsx | 4 +- .../logging/log_highlights_menu.tsx | 23 +- .../logging/log_minimap/density_chart.tsx | 19 +- .../log_minimap/highlighted_interval.tsx | 13 +- .../logging/log_minimap/log_minimap.tsx | 18 +- .../logging/log_minimap/search_marker.tsx | 17 +- .../logging/log_minimap/time_ruler.tsx | 18 +- .../log_search_controls/log_search_input.tsx | 8 +- .../components/logging/log_statusbar.tsx | 36 +- .../components/logs_deprecation_callout.tsx | 13 +- .../infra/public/components/page.tsx | 13 +- .../infra/public/pages/error.tsx | 7 +- .../page_results_content.tsx | 6 +- .../sections/top_categories/datasets_list.tsx | 5 +- .../single_metric_comparison.tsx | 5 +- .../top_categories/top_categories_table.tsx | 5 +- .../sections/anomalies/expanded_row.tsx | 4 +- .../sections/anomalies/log_entry_example.tsx | 4 +- .../logs/settings/add_log_column_popover.tsx | 4 +- .../pages/logs/stream/page_logs_content.tsx | 4 +- .../logs/stream/page_view_log_in_context.tsx | 4 +- .../hosts/components/kpis/host_count_kpi.tsx | 6 +- .../search_bar/controls_content.tsx | 6 +- .../components/bottom_drawer.tsx | 18 +- .../components/dropdown_button.tsx | 28 +- .../inventory_view/components/layout.tsx | 6 +- .../components/nodes_overview.tsx | 8 +- .../components/timeline/timeline.tsx | 22 +- .../components/waffle/gradient_legend.tsx | 13 +- .../components/waffle/group_name.tsx | 21 +- .../components/waffle/group_of_groups.tsx | 9 +- .../components/waffle/group_of_nodes.tsx | 8 +- .../components/waffle/legend.tsx | 5 +- .../components/waffle/legend_controls.tsx | 4 +- .../inventory_view/components/waffle/map.tsx | 7 +- .../metric_control/custom_metric_form.tsx | 393 +++++++++--------- .../metric_control/metrics_edit_mode.tsx | 19 +- .../components/waffle/node_context_menu.tsx | 8 +- .../components/waffle/node_square.tsx | 65 +-- .../components/waffle/palette_preview.tsx | 14 +- .../waffle/stepped_gradient_legend.tsx | 16 +- .../components/waffle/steps_legend.tsx | 13 +- .../waffle/waffle_sort_controls.tsx | 19 +- .../waffle/waffle_time_controls.tsx | 16 +- .../components/gauges_section_vis.tsx | 5 +- .../metric_detail/components/invalid_node.tsx | 4 +- .../components/layouts/aws_ec2_layout.tsx | 15 +- .../components/layouts/aws_rds_layout.tsx | 25 +- .../components/layouts/aws_s3_layout.tsx | 15 +- .../components/layouts/aws_sqs_layout.tsx | 15 +- .../components/layouts/container_layout.tsx | 37 +- .../layouts/nginx_layout_sections.tsx | 18 +- .../components/layouts/pod_layout.tsx | 21 +- .../components/metadata_details.tsx | 26 +- .../components/time_controls.tsx | 4 +- .../pages/metrics/metric_detail/types.ts | 4 +- .../metrics_explorer/components/chart.tsx | 4 +- .../public/utils/theme_utils/with_attrs.tsx | 19 + .../infra/tsconfig.json | 4 +- .../topn_functions/function_row.tsx | 9 +- 83 files changed, 762 insertions(+), 699 deletions(-) create mode 100644 x-pack/plugins/observability_solution/infra/emotion.d.ts create mode 100644 x-pack/plugins/observability_solution/infra/public/utils/theme_utils/with_attrs.tsx 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/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 ( - + 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/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/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', })} From b9addc2f23d676ae2bcb8c979dece80fb0a88554 Mon Sep 17 00:00:00 2001 From: Maxim Palenov Date: Tue, 10 Dec 2024 09:09:31 +0100 Subject: [PATCH 047/103] [Security Solution] Fix Threat Match rules inability to upgrade (#203366) **Resolves:** https://github.com/elastic/kibana/issues/203365 ## Summary This PR fixes a bug preventing Threat Match rules from being upgraded. ## Details It's expected that users can upgrade Elastic prebuilt rules without any customizations in any possible way (in flyout, rules upgrade table, bulk actions). This operation was blocked due to wrong Threat Match fields conversions to Diffable rule. This PR fixes rule type specific fiels conversions and merged `threat_query` field with `threat_query`. ## Screen recording (with the fix) https://github.com/user-attachments/assets/9f0375fb-d39d-4b4b-a084-96ea265f306f --- .../model/diff/diffable_rule/diffable_rule.ts | 2 - .../diff/convert_rule_to_diffable.ts | 1 - .../threat_language.stories.tsx | 39 ------------------- .../threat_language/threat_language.tsx | 33 ---------------- .../threat_match_rule_field_readonly.tsx | 3 -- .../diffable_rule_fields_mappings.ts | 3 ++ .../calculation/calculate_rule_fields_diff.ts | 1 - 7 files changed, 3 insertions(+), 79 deletions(-) delete mode 100644 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 delete mode 100644 x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_readonly/fields/threat_language/threat_language.tsx 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/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/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/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 d7e359b0daa25..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 @@ -133,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', 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 Date: Tue, 10 Dec 2024 10:38:43 +0100 Subject: [PATCH 048/103] [ Security Solution ] One discover security context functional tests (#199818) ## Summary Fixes https://github.com/elastic/security-team/issues/11112 Follow up to - https://github.com/elastic/kibana/pull/199279 Adds functional test for Security Profiles in One Discover. ### Checklist Delete any items that are not applicable to this PR. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../ftr_security_serverless_configs.yml | 1 + .github/CODEOWNERS | 6 +- .../security/config.context_awareness.ts | 14 ++- .../config.examples.context_awareness.ts | 28 ++++++ .../test_suites/security/constants.ts | 8 ++ .../context_awareness/cell_renderer.ts | 86 +++++++++++++++++++ .../ftr/discover/context_awareness/index.ts | 40 +++++++++ 7 files changed, 172 insertions(+), 11 deletions(-) create mode 100644 x-pack/test_serverless/functional/test_suites/security/config.examples.context_awareness.ts create mode 100644 x-pack/test_serverless/functional/test_suites/security/constants.ts create mode 100644 x-pack/test_serverless/functional/test_suites/security/ftr/discover/context_awareness/cell_renderer.ts create mode 100644 x-pack/test_serverless/functional/test_suites/security/ftr/discover/context_awareness/index.ts 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/.github/CODEOWNERS b/.github/CODEOWNERS index 032c8f17a98c6..bc782055dfc58 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1093,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 @@ -2112,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 @@ -2245,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/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/test_serverless/functional/test_suites/security/constants.ts b/x-pack/test_serverless/functional/test_suites/security/constants.ts new file mode 100644 index 0000000000000..53aea092cf8f6 --- /dev/null +++ b/x-pack/test_serverless/functional/test_suites/security/constants.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export 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')); + }); +} From 11b27f3016b6a43731c32a1f750b8a8810f0df7e Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Tue, 10 Dec 2024 11:06:05 +0100 Subject: [PATCH 049/103] Sustainable Kibana Architecture: Move modules owned by `@elastic/security-asset-management` (#202839) ## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > This PR has been auto-generated. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 1 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/osquery-io-ts-types` | `src/platform/packages/shared/kbn-osquery-io-ts-types` |
Updated references ``` ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/shared/kbn-osquery-io-ts-types/jest.config.js ./tsconfig.base.json ./yarn.lock ```
Updated relative paths ``` src/platform/packages/shared/kbn-osquery-io-ts-types/jest.config.js:12 src/platform/packages/shared/kbn-osquery-io-ts-types/tsconfig.json:2 ```
Script errors ``` ```
--- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/shared}/kbn-osquery-io-ts-types/README.md | 0 .../packages/shared}/kbn-osquery-io-ts-types/index.ts | 0 .../packages/shared}/kbn-osquery-io-ts-types/jest.config.js | 4 ++-- .../packages/shared}/kbn-osquery-io-ts-types/kibana.jsonc | 0 .../packages/shared}/kbn-osquery-io-ts-types/package.json | 0 .../shared}/kbn-osquery-io-ts-types/src/live_query/index.ts | 0 .../packages/shared}/kbn-osquery-io-ts-types/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) rename {packages => src/platform/packages/shared}/kbn-osquery-io-ts-types/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-osquery-io-ts-types/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-osquery-io-ts-types/jest.config.js (83%) rename {packages => src/platform/packages/shared}/kbn-osquery-io-ts-types/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-osquery-io-ts-types/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-osquery-io-ts-types/src/live_query/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-osquery-io-ts-types/tsconfig.json (82%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index bc782055dfc58..93ea7fdabc690 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -421,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 @@ -626,6 +625,7 @@ 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 diff --git a/package.json b/package.json index facb7ae498c28..b9573348e3252 100644 --- a/package.json +++ b/package.json @@ -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", 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/packages/kbn-osquery-io-ts-types/jest.config.js b/src/platform/packages/shared/kbn-osquery-io-ts-types/jest.config.js similarity index 83% rename from packages/kbn-osquery-io-ts-types/jest.config.js rename to src/platform/packages/shared/kbn-osquery-io-ts-types/jest.config.js index ec4b87bbab8b7..c7af15d3dfcf4 100644 --- a/packages/kbn-osquery-io-ts-types/jest.config.js +++ b/src/platform/packages/shared/kbn-osquery-io-ts-types/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-osquery-io-ts-types'], + 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/packages/kbn-osquery-io-ts-types/tsconfig.json b/src/platform/packages/shared/kbn-osquery-io-ts-types/tsconfig.json similarity index 82% rename from packages/kbn-osquery-io-ts-types/tsconfig.json rename to src/platform/packages/shared/kbn-osquery-io-ts-types/tsconfig.json index 780216a67a247..98950df02fde7 100644 --- a/packages/kbn-osquery-io-ts-types/tsconfig.json +++ b/src/platform/packages/shared/kbn-osquery-io-ts-types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 9a44fec9d5498..aae90e447f0bf 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -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"], diff --git a/yarn.lock b/yarn.lock index 99f0c72dc1105..6b7bd8e56b189 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 "" From 8f53424ddb1c827e729d9a6c8276de59238ef310 Mon Sep 17 00:00:00 2001 From: Sonia Sanz Vivas Date: Tue, 10 Dec 2024 11:18:48 +0100 Subject: [PATCH 050/103] Fix console deep link (#202726) Closes [#194439](https://github.com/elastic/kibana/issues/194439) ## Summary The Console deeplink is missing from the deeplinks definition, causing the side nav item to be removed. Also searching Console in Kibana doesn't return results. This error started to happen with this [PR](https://github.com/elastic/kibana/pull/190698), where the [enableRouting](url) value for the `ConsoleUIPlugin` was set to true. The problem is that we were filtering out the plugins with this value set to true when building the deeplink list. This PR removes this condition in the filter and also reverts the change done by the searchteam as a workaround [here](https://github.com/elastic/kibana/pull/194060). Screenshot 2024-12-03 at 14 38 30 Screenshot 2024-12-03 at 14 33 50 ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: Elastic Machine --- src/plugins/dev_tools/public/plugin.ts | 2 +- x-pack/plugins/serverless_search/public/navigation_tree.ts | 2 +- .../functional/test_suites/search/navigation.ts | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) 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/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/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({ From 60becced5130834b59a7b47e804b3ada86079f6c Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 10 Dec 2024 21:22:33 +1100 Subject: [PATCH 051/103] skip failing test suite (#203407) --- .../observability/ai_assistant/tests/complete/complete.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 d411d097a0d7f..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 @@ -67,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; From 62c1333303624b6ddd9bacef04a78eab0c51aa09 Mon Sep 17 00:00:00 2001 From: Joe Reuter Date: Tue, 10 Dec 2024 11:24:01 +0100 Subject: [PATCH 052/103] =?UTF-8?q?=F0=9F=8C=8A=20Streams:=20Fix=20creatin?= =?UTF-8?q?g=20wired=20streams=20implicitly=20by=20listing=20them=20as=20c?= =?UTF-8?q?hildren=20(#203099)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I noticed that a previous PR broke the functionality of creating wired streams implicitly by mentioning them as children of the parent stream in the `PUT /api/streams/` API call because the check for classic streams would throw when trying to retrieve a non-existing data stream in ``` await scopedClusterClient.asInternalUser.indices.getDataStream({ name: id }); ``` This PR fixes the problem and introduces a new integration test for the use case of "flushing" a list of streams one after the other, as this will probably be a common thing for users automating the API. --- .../streams/server/lib/streams/stream_crud.ts | 106 ++++++------ .../apis/streams/flush_config.ts | 161 ++++++++++++++++++ .../api_integration/apis/streams/index.ts | 1 + 3 files changed, 219 insertions(+), 49 deletions(-) create mode 100644 x-pack/test/api_integration/apis/streams/flush_config.ts 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/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')); }); } From 4feed672e3c890214213c95033729334310fedf6 Mon Sep 17 00:00:00 2001 From: Elena Shostak <165678770+elena-shostak@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:24:41 +0100 Subject: [PATCH 053/103] Deprecated authRequired in favor of security.authc.enabled (#202414) ## Summary Deprecated `authRequired` in favor of `security.authc.enabled`. ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) __Closes: https://github.com/elastic/kibana/issues/191711__ --------- Co-authored-by: Elastic Machine --- dev_docs/tutorials/endpoints.mdx | 18 ++++++++++++------ legacy_rfcs/text/0005_route_handler.md | 1 - .../http/core-http-server/src/router/route.ts | 2 ++ 3 files changed, 14 insertions(+), 7 deletions(-) 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/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/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'; From 2479e0abf32a76311ca0c09b032041ff7c6dd84f Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 10 Dec 2024 21:29:23 +1100 Subject: [PATCH 054/103] [Console] Update console definitions (#203364) This PR updates the console definitions to match the latest ones from the @elastic/elasticsearch-specification repo. --- .../json/generated/async_search.submit.json | 8 -------- .../json/generated/indices.exists_alias.json | 7 ++++++- .../json/generated/indices.get_alias.json | 7 ++++++- 3 files changed, 12 insertions(+), 10 deletions(-) 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" From 3f71872e25a2ad4d64b763f31aa2d5a71fa1782a Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 10 Dec 2024 21:29:45 +1100 Subject: [PATCH 055/103] skip failing test suite (#203408) --- .../ai_assistant/tests/public_complete/public_complete.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 a3134ab2e3014..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 @@ -49,7 +49,8 @@ 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']); From 2e733f20a3e2f1c7938d4dac4ab0f3d026c6c535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20=C3=81brah=C3=A1m?= Date: Tue, 10 Dec 2024 11:33:18 +0100 Subject: [PATCH 056/103] [Defend Workflows] Add advanced option to opt out from staged artifact rollout (#202674) ## Summary Adds advanced option called `[os].advanced.artifacts.global.channel`, targeting `8.18`. Text to review: > The release channel to use for receiving global artifacts. By default, staged roll-out is applied. Set to rapid to receive candidate artifacts as soon as available. Set to stable to only receive stable artifacts. Default: default image image ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) --- .../policy/models/advanced_policy_schema.ts | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) 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', From a0f5a7f3fc23d4ba241bc511ddd2987a679ec00d Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Tue, 10 Dec 2024 11:36:23 +0100 Subject: [PATCH 057/103] Sustainable Kibana Architecture: Move modules owned by `@elastic/appex-ai-infra` (#202410) ## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > This PR has been auto-generated. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 3 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/inference-plugin` | `x-pack/platform/plugins/shared/inference` | | `@kbn/llm-tasks-plugin` | `x-pack/platform/plugins/shared/ai_infra/llm_tasks` | | `@kbn/product-doc-base-plugin` | `x-pack/platform/plugins/shared/ai_infra/product_doc_base` | #### 2 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/inference-common` | `x-pack/platform/packages/shared/ai-infra/inference-common` | | `@kbn/product-doc-common` | `x-pack/platform/packages/shared/ai-infra/product-doc-common` |
Updated references ``` ./docs/developer/plugin-list.asciidoc ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-ts-projects/config-paths.json ./tsconfig.base.json ./x-pack/.i18nrc.json ./x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js ./x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js ./x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js ./x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js ./x-pack/platform/plugins/shared/inference/jest.config.js ./x-pack/platform/plugins/shared/inference/scripts/evaluation/README.md ./yarn.lock ```
Updated relative paths ``` x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js:10 x-pack/platform/packages/shared/ai-infra/inference-common/tsconfig.json:2 x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js:10 x-pack/platform/packages/shared/ai-infra/product-doc-common/tsconfig.json:2 x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js:10 x-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:2 x-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:7 x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js:10 x-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:2 x-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:7 x-pack/platform/plugins/shared/inference/jest.config.js:10 x-pack/platform/plugins/shared/inference/scripts/util/read_kibana_config.ts:16 x-pack/platform/plugins/shared/inference/tsconfig.json:2 x-pack/platform/plugins/shared/inference/tsconfig.json:7 ```
Script errors ``` ```
--------- Co-authored-by: pgayvallet --- .../pipelines/pull_request/pipeline.ts | 6 +++--- .github/CODEOWNERS | 10 ++++----- docs/developer/plugin-list.asciidoc | 6 +++--- package.json | 10 ++++----- tsconfig.base.json | 20 +++++++++--------- x-pack/.i18nrc.json | 2 +- .../ai-infra/inference-common/README.md | 0 .../ai-infra/inference-common/index.ts | 0 .../ai-infra/inference-common/jest.config.js | 4 ++-- .../ai-infra/inference-common/kibana.jsonc | 0 .../ai-infra/inference-common/package.json | 0 .../inference-common/src/chat_complete/api.ts | 0 .../src/chat_complete/bound_api.ts | 0 .../src/chat_complete/errors.ts | 0 .../src/chat_complete/event_utils.ts | 0 .../src/chat_complete/events.ts | 0 .../src/chat_complete/index.ts | 0 .../src/chat_complete/messages.ts | 0 .../src/chat_complete/tool_schema.ts | 0 .../src/chat_complete/tools.ts | 0 .../ai-infra/inference-common/src/errors.ts | 0 .../inference-common/src/inference_task.ts | 0 .../inference-common/src/output/api.ts | 0 .../inference-common/src/output/bound_api.ts | 0 .../src/output/event_utils.ts | 0 .../inference-common/src/output/events.ts | 0 .../inference-common/src/output/index.ts | 0 .../inference-common/src/truncate_list.ts | 0 .../ai-infra/inference-common/tsconfig.json | 2 +- .../ai-infra/product-doc-common/README.md | 0 .../ai-infra/product-doc-common/index.ts | 0 .../product-doc-common/jest.config.js | 4 ++-- .../ai-infra/product-doc-common/kibana.jsonc | 0 .../ai-infra/product-doc-common/package.json | 0 .../product-doc-common/src/artifact.test.ts | 0 .../product-doc-common/src/artifact.ts | 0 .../src/artifact_content.test.ts | 0 .../src/artifact_content.ts | 0 .../product-doc-common/src/documents.ts | 0 .../product-doc-common/src/indices.ts | 0 .../product-doc-common/src/manifest.ts | 0 .../product-doc-common/src/product.ts | 0 .../ai-infra/product-doc-common/tsconfig.json | 2 +- .../shared}/ai_infra/llm_tasks/README.md | 0 .../shared}/ai_infra/llm_tasks/jest.config.js | 6 +++--- .../shared}/ai_infra/llm_tasks/kibana.jsonc | 0 .../ai_infra/llm_tasks/server/config.ts | 0 .../ai_infra/llm_tasks/server/index.ts | 0 .../ai_infra/llm_tasks/server/plugin.ts | 0 .../ai_infra/llm_tasks/server/tasks/index.ts | 0 .../tasks/retrieve_documentation/index.ts | 0 .../retrieve_documentation.test.ts | 0 .../retrieve_documentation.ts | 0 .../summarize_document.ts | 0 .../tasks/retrieve_documentation/types.ts | 0 .../ai_infra/llm_tasks/server/types.ts | 0 .../llm_tasks/server/utils/tokens.test.ts | 0 .../ai_infra/llm_tasks/server/utils/tokens.ts | 0 .../shared}/ai_infra/llm_tasks/tsconfig.json | 4 ++-- .../ai_infra/product_doc_base/README.md | 0 .../product_doc_base/common/consts.ts | 0 .../common/http_api/installation.ts | 0 .../product_doc_base/common/install_status.ts | 0 .../ai_infra/product_doc_base}/jest.config.js | 10 ++++----- .../ai_infra/product_doc_base/kibana.jsonc | 0 .../ai_infra/product_doc_base/public/index.ts | 0 .../product_doc_base/public/plugin.tsx | 0 .../public/services/installation/index.ts | 0 .../installation/installation_service.test.ts | 0 .../installation/installation_service.ts | 0 .../public/services/installation/types.ts | 0 .../ai_infra/product_doc_base/public/types.ts | 0 .../product_doc_base/server/config.ts | 0 .../ai_infra/product_doc_base/server/index.ts | 0 .../product_doc_base/server/plugin.test.ts | 0 .../product_doc_base/server/plugin.ts | 0 .../product_doc_base/server/routes/index.ts | 0 .../server/routes/installation.ts | 0 .../server/saved_objects/index.ts | 0 .../saved_objects/product_doc_install.ts | 0 .../services/doc_install_status/index.ts | 0 .../model_conversion.test.ts | 0 .../doc_install_status/model_conversion.ts | 0 .../product_doc_install_service.test.ts | 0 .../product_doc_install_service.ts | 0 .../doc_install_status/service.mock.ts | 0 .../services/doc_manager/check_license.ts | 0 .../services/doc_manager/doc_manager.test.ts | 0 .../services/doc_manager/doc_manager.ts | 0 .../server/services/doc_manager/index.ts | 0 .../server/services/doc_manager/types.ts | 0 .../endpoint_manager.test.ts | 0 .../inference_endpoint/endpoint_manager.ts | 0 .../services/inference_endpoint/index.ts | 0 .../inference_endpoint/service.mock.ts | 0 .../utils/get_model_install_status.ts | 0 .../inference_endpoint/utils/index.ts | 0 .../inference_endpoint/utils/install_elser.ts | 0 .../utils/wait_until_model_deployed.ts | 0 .../services/package_installer/index.ts | 0 .../package_installer.test.mocks.ts | 0 .../package_installer.test.ts | 0 .../package_installer/package_installer.ts | 0 .../steps/create_index.test.ts | 0 .../package_installer/steps/create_index.ts | 0 .../steps/fetch_artifact_versions.test.ts | 0 .../steps/fetch_artifact_versions.ts | 0 .../services/package_installer/steps/index.ts | 0 .../steps/populate_index.test.ts | 0 .../package_installer/steps/populate_index.ts | 0 .../steps/validate_artifact_archive.test.ts | 0 .../steps/validate_artifact_archive.ts | 0 .../utils/archive_accessors.test.ts | 0 .../utils/archive_accessors.ts | 0 .../package_installer/utils/download.ts | 0 .../services/package_installer/utils/index.ts | 0 .../package_installer/utils/semver.test.ts | 0 .../package_installer/utils/semver.ts | 0 .../utils/test_data/test_archive_1.zip | Bin .../utils/zip_archive.test.ts | 0 .../package_installer/utils/zip_archive.ts | 0 .../server/services/search/index.ts | 0 .../server/services/search/perform_search.ts | 0 .../services/search/search_service.test.ts | 0 .../server/services/search/search_service.ts | 0 .../server/services/search/types.ts | 0 .../get_indices_for_product_names.test.ts | 0 .../utils/get_indices_for_product_names.ts | 0 .../server/services/search/utils/index.ts | 0 .../services/search/utils/map_result.test.ts | 0 .../services/search/utils/map_result.ts | 0 .../server/tasks/ensure_up_to_date.ts | 0 .../product_doc_base/server/tasks/index.ts | 0 .../server/tasks/install_all.ts | 0 .../server/tasks/uninstall_all.ts | 0 .../product_doc_base/server/tasks/utils.ts | 0 .../ai_infra/product_doc_base/server/types.ts | 0 .../ai_infra/product_doc_base/tsconfig.json | 4 ++-- .../plugins/shared}/inference/README.md | 0 .../chat_complete/bind_chat_complete.test.ts | 0 .../chat_complete/bind_chat_complete.ts | 0 .../inference/common/chat_complete/index.ts | 0 .../shared}/inference/common/connectors.ts | 0 .../shared}/inference/common/http_apis.ts | 0 .../plugins/shared}/inference/common/index.ts | 0 .../common/output/bind_output.test.ts | 0 .../inference/common/output/bind_output.ts | 0 .../common/output/create_output_api.test.ts | 0 .../common/output/create_output_api.ts | 0 .../shared}/inference/common/output/index.ts | 0 .../nl_to_esql/ast/ast_tools/timespan.ts | 0 .../tasks/nl_to_esql/ast/correct_with_ast.ts | 0 .../tasks/nl_to_esql/ast/corrections/index.ts | 0 .../nl_to_esql/ast/corrections/like.test.ts | 0 .../tasks/nl_to_esql/ast/corrections/like.ts | 0 .../ast/corrections/timespan_literals.test.ts | 0 .../ast/corrections/timespan_literals.ts | 0 .../tasks/nl_to_esql/ast/corrections/types.ts | 0 .../common/tasks/nl_to_esql/ast/index.ts | 0 .../common/tasks/nl_to_esql/ast/typeguards.ts | 0 .../common/tasks/nl_to_esql/ast/types.ts | 0 .../common/tasks/nl_to_esql/constants.ts | 0 .../nl_to_esql/correct_esql_query.test.ts | 0 .../tasks/nl_to_esql/correct_esql_query.ts | 0 .../common/tasks/nl_to_esql/index.ts | 0 .../correct_common_esql_mistakes.test.ts | 0 .../non_ast/correct_common_esql_mistakes.ts | 0 .../common/tasks/nl_to_esql/non_ast/index.ts | 0 .../common/utils/ensure_multi_turn.ts | 0 .../utils/generate_fake_tool_call_id.ts | 0 .../plugins/shared/inference}/jest.config.js | 10 ++++----- .../plugins/shared}/inference/kibana.jsonc | 0 .../inference/public/chat_complete.test.ts | 0 .../shared}/inference/public/chat_complete.ts | 0 .../plugins/shared}/inference/public/index.ts | 0 .../shared}/inference/public/plugin.tsx | 0 .../plugins/shared}/inference/public/types.ts | 0 .../create_observable_from_http_response.ts | 0 .../http_response_into_observable.test.ts | 0 .../util/http_response_into_observable.ts | 0 .../scripts/evaluation/.eslintrc.json | 0 .../inference/scripts/evaluation/README.md | 2 +- .../inference/scripts/evaluation/cli.ts | 0 .../scripts/evaluation/evaluation.ts | 0 .../scripts/evaluation/evaluation_client.ts | 0 .../inference/scripts/evaluation/index.js | 0 .../evaluation/scenarios/esql/index.spec.ts | 0 .../scripts/evaluation/services/index.ts | 0 .../scripts/evaluation/table_renderer.ts | 0 .../inference/scripts/evaluation/types.ts | 0 .../scripts/load_esql_docs/README.md | 0 .../load_esql_docs/extract_doc_entries.ts | 0 .../scripts/load_esql_docs/generate_doc.ts | 0 .../inference/scripts/load_esql_docs/index.js | 0 .../scripts/load_esql_docs/load_esql_docs.ts | 0 .../prompts/convert_to_markdown.ts | 0 .../prompts/create_documentation_page.ts | 0 .../scripts/load_esql_docs/prompts/index.ts | 0 .../prompts/rewrite_function_page.ts | 0 .../load_esql_docs/sync_built_docs_repo.ts | 0 .../load_esql_docs/utils/output_executor.ts | 0 .../inference/scripts/util/cli_options.ts | 0 .../scripts/util/get_service_urls.ts | 0 .../inference/scripts/util/kibana_client.ts | 0 .../scripts/util/read_kibana_config.ts | 2 +- .../scripts/util/select_connector.ts | 0 .../bedrock/bedrock_claude_adapter.test.ts | 0 .../bedrock/bedrock_claude_adapter.ts | 0 .../chat_complete/adapters/bedrock/index.ts | 0 .../bedrock/process_completion_chunks.test.ts | 0 .../bedrock/process_completion_chunks.ts | 0 .../chat_complete/adapters/bedrock/prompts.ts | 0 .../serde_eventstream_into_observable.test.ts | 0 .../serde_eventstream_into_observable.ts | 0 .../adapters/bedrock/serde_utils.test.ts | 0 .../adapters/bedrock/serde_utils.ts | 0 .../chat_complete/adapters/bedrock/types.ts | 0 .../gemini/gemini_adapter.test.mocks.ts | 0 .../adapters/gemini/gemini_adapter.test.ts | 0 .../adapters/gemini/gemini_adapter.ts | 0 .../chat_complete/adapters/gemini/index.ts | 0 .../gemini/process_vertex_stream.test.ts | 0 .../adapters/gemini/process_vertex_stream.ts | 0 .../chat_complete/adapters/gemini/types.ts | 0 .../adapters/get_inference_adapter.test.ts | 0 .../adapters/get_inference_adapter.ts | 0 .../server/chat_complete/adapters/index.ts | 0 .../chat_complete/adapters/openai/index.ts | 0 .../adapters/openai/openai_adapter.test.ts | 0 .../adapters/openai/openai_adapter.ts | 0 .../inference/server/chat_complete/api.ts | 0 .../inference/server/chat_complete/errors.ts | 0 .../inference/server/chat_complete/index.ts | 0 .../simulated_function_calling/constants.ts | 0 .../get_system_instructions.ts | 0 .../simulated_function_calling/index.ts | 0 .../parse_inline_function_calls.ts | 0 .../wrap_with_simulated_function_calling.ts | 0 .../inference/server/chat_complete/types.ts | 0 .../utils/chunks_into_message.test.ts | 0 .../utils/chunks_into_message.ts | 0 .../server/chat_complete/utils/index.ts | 0 .../utils/inference_executor.test.ts | 0 .../chat_complete/utils/inference_executor.ts | 0 .../utils/stream_to_response.test.ts | 0 .../chat_complete/utils/stream_to_response.ts | 0 .../shared}/inference/server/config.ts | 0 .../plugins/shared}/inference/server/index.ts | 0 .../server/inference_client/bind_client.ts | 0 .../inference_client/create_client.test.ts | 0 .../server/inference_client/create_client.ts | 0 .../server/inference_client/index.ts | 0 .../inference_client/inference_client.ts | 0 .../server/inference_client/types.ts | 0 .../shared}/inference/server/plugin.ts | 0 .../inference/server/routes/chat_complete.ts | 0 .../inference/server/routes/connectors.ts | 0 .../shared}/inference/server/routes/index.ts | 0 .../tasks/nl_to_esql/actions/generate_esql.ts | 0 .../server/tasks/nl_to_esql/actions/index.ts | 0 .../actions/request_documentation.ts | 0 .../server/tasks/nl_to_esql/actions/shared.ts | 0 .../tasks/nl_to_esql/doc_base/aliases.ts | 0 .../nl_to_esql/doc_base/esql_doc_base.ts | 0 .../server/tasks/nl_to_esql/doc_base/index.ts | 0 .../tasks/nl_to_esql/doc_base/load_data.ts | 0 .../tasks/nl_to_esql/doc_base/suggestions.ts | 0 .../server/tasks/nl_to_esql/doc_base/types.ts | 0 .../tasks/nl_to_esql/esql_docs/esql-abs.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-acos.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-asin.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-atan.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-atan2.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-avg.txt | 0 .../nl_to_esql/esql_docs/esql-bucket.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-case.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-cbrt.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-ceil.txt | 0 .../nl_to_esql/esql_docs/esql-cidr_match.txt | 0 .../nl_to_esql/esql_docs/esql-coalesce.txt | 0 .../nl_to_esql/esql_docs/esql-concat.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-cos.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-cosh.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-count.txt | 0 .../esql_docs/esql-count_distinct.txt | 0 .../nl_to_esql/esql_docs/esql-date_diff.txt | 0 .../esql_docs/esql-date_extract.txt | 0 .../nl_to_esql/esql_docs/esql-date_format.txt | 0 .../nl_to_esql/esql_docs/esql-date_parse.txt | 0 .../nl_to_esql/esql_docs/esql-date_trunc.txt | 0 .../nl_to_esql/esql_docs/esql-dissect.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-drop.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-e.txt | 0 .../nl_to_esql/esql_docs/esql-ends_with.txt | 0 .../nl_to_esql/esql_docs/esql-enrich.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-eval.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-exp.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-floor.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-from.txt | 0 .../nl_to_esql/esql_docs/esql-from_base64.txt | 0 .../nl_to_esql/esql_docs/esql-greatest.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-grok.txt | 0 .../nl_to_esql/esql_docs/esql-ip_prefix.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-keep.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-least.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-left.txt | 0 .../nl_to_esql/esql_docs/esql-length.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-limit.txt | 0 .../nl_to_esql/esql_docs/esql-locate.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-log.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-log10.txt | 0 .../nl_to_esql/esql_docs/esql-lookup.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-ltrim.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-max.txt | 0 .../nl_to_esql/esql_docs/esql-median.txt | 0 .../esql-median_absolute_deviation.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-min.txt | 0 .../nl_to_esql/esql_docs/esql-mv_append.txt | 0 .../nl_to_esql/esql_docs/esql-mv_avg.txt | 0 .../nl_to_esql/esql_docs/esql-mv_concat.txt | 0 .../nl_to_esql/esql_docs/esql-mv_count.txt | 0 .../nl_to_esql/esql_docs/esql-mv_dedupe.txt | 0 .../nl_to_esql/esql_docs/esql-mv_expand.txt | 0 .../nl_to_esql/esql_docs/esql-mv_first.txt | 0 .../nl_to_esql/esql_docs/esql-mv_last.txt | 0 .../nl_to_esql/esql_docs/esql-mv_max.txt | 0 .../nl_to_esql/esql_docs/esql-mv_median.txt | 0 .../nl_to_esql/esql_docs/esql-mv_min.txt | 0 .../esql-mv_pseries_weighted_sum.txt | 0 .../nl_to_esql/esql_docs/esql-mv_slice.txt | 0 .../nl_to_esql/esql_docs/esql-mv_sort.txt | 0 .../nl_to_esql/esql_docs/esql-mv_sum.txt | 0 .../nl_to_esql/esql_docs/esql-mv_zip.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-now.txt | 0 .../nl_to_esql/esql_docs/esql-operators.txt | 0 .../nl_to_esql/esql_docs/esql-overview.txt | 0 .../nl_to_esql/esql_docs/esql-percentile.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-pi.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-pow.txt | 0 .../nl_to_esql/esql_docs/esql-rename.txt | 0 .../nl_to_esql/esql_docs/esql-repeat.txt | 0 .../nl_to_esql/esql_docs/esql-replace.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-right.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-round.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-row.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-rtrim.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-show.txt | 0 .../nl_to_esql/esql_docs/esql-signum.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-sin.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-sinh.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-sort.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-split.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-sqrt.txt | 0 .../esql_docs/esql-st_centroid_agg.txt | 0 .../nl_to_esql/esql_docs/esql-st_contains.txt | 0 .../nl_to_esql/esql_docs/esql-st_disjoint.txt | 0 .../nl_to_esql/esql_docs/esql-st_distance.txt | 0 .../esql_docs/esql-st_intersects.txt | 0 .../nl_to_esql/esql_docs/esql-st_within.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-st_x.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-st_y.txt | 0 .../nl_to_esql/esql_docs/esql-starts_with.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-stats.txt | 0 .../nl_to_esql/esql_docs/esql-substring.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-sum.txt | 0 .../nl_to_esql/esql_docs/esql-syntax.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-tan.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-tanh.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-tau.txt | 0 .../nl_to_esql/esql_docs/esql-to_base64.txt | 0 .../nl_to_esql/esql_docs/esql-to_boolean.txt | 0 .../esql_docs/esql-to_cartesianpoint.txt | 0 .../esql_docs/esql-to_cartesianshape.txt | 0 .../nl_to_esql/esql_docs/esql-to_datetime.txt | 0 .../nl_to_esql/esql_docs/esql-to_degrees.txt | 0 .../nl_to_esql/esql_docs/esql-to_double.txt | 0 .../nl_to_esql/esql_docs/esql-to_geopoint.txt | 0 .../nl_to_esql/esql_docs/esql-to_geoshape.txt | 0 .../nl_to_esql/esql_docs/esql-to_integer.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-to_ip.txt | 0 .../nl_to_esql/esql_docs/esql-to_long.txt | 0 .../nl_to_esql/esql_docs/esql-to_lower.txt | 0 .../nl_to_esql/esql_docs/esql-to_radians.txt | 0 .../nl_to_esql/esql_docs/esql-to_string.txt | 0 .../esql_docs/esql-to_unsigned_long.txt | 0 .../nl_to_esql/esql_docs/esql-to_upper.txt | 0 .../nl_to_esql/esql_docs/esql-to_version.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-top.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-trim.txt | 0 .../nl_to_esql/esql_docs/esql-values.txt | 0 .../esql_docs/esql-weighted_avg.txt | 0 .../tasks/nl_to_esql/esql_docs/esql-where.txt | 0 .../server/tasks/nl_to_esql/index.ts | 0 .../tasks/nl_to_esql/system_message.txt | 0 .../inference/server/tasks/nl_to_esql/task.ts | 0 .../server/tasks/nl_to_esql/types.ts | 0 .../tasks/nl_to_esql/validate_esql_query.ts | 0 .../server/test_utils/chat_complete_events.ts | 0 .../plugins/shared}/inference/server/types.ts | 0 ...vent_source_stream_into_observable.test.ts | 0 .../event_source_stream_into_observable.ts | 0 .../server/util/get_connector_by_id.test.ts | 0 .../server/util/get_connector_by_id.ts | 0 ...bservable_into_event_source_stream.test.ts | 0 .../observable_into_event_source_stream.ts | 0 .../server/util/validate_tool_calls.test.ts | 0 .../server/util/validate_tool_calls.ts | 0 .../plugins/shared}/inference/tsconfig.json | 4 ++-- yarn.lock | 10 ++++----- 409 files changed, 59 insertions(+), 59 deletions(-) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/jest.config.js (72%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/chat_complete/api.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/chat_complete/bound_api.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/chat_complete/errors.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/chat_complete/event_utils.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/chat_complete/events.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/chat_complete/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/chat_complete/messages.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/chat_complete/tool_schema.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/chat_complete/tools.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/errors.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/inference_task.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/output/api.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/output/bound_api.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/output/event_utils.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/output/events.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/output/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/src/truncate_list.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/inference-common/tsconfig.json (81%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/jest.config.js (72%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/src/artifact.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/src/artifact.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/src/artifact_content.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/src/artifact_content.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/src/documents.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/src/indices.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/src/manifest.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/src/product.ts (100%) rename x-pack/{packages => platform/packages/shared}/ai-infra/product-doc-common/tsconfig.json (79%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/jest.config.js (64%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/server/tasks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/server/tasks/retrieve_documentation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/server/tasks/retrieve_documentation/retrieve_documentation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/server/tasks/retrieve_documentation/retrieve_documentation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/server/tasks/retrieve_documentation/summarize_document.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/server/tasks/retrieve_documentation/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/server/utils/tokens.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/server/utils/tokens.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/llm_tasks/tsconfig.json (85%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/common/consts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/common/http_api/installation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/common/install_status.ts (100%) rename x-pack/{plugins/inference => platform/plugins/shared/ai_infra/product_doc_base}/jest.config.js (51%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/public/services/installation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/public/services/installation/installation_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/public/services/installation/installation_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/public/services/installation/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/routes/installation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/saved_objects/product_doc_install.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/doc_install_status/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/doc_install_status/model_conversion.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/doc_install_status/model_conversion.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/doc_install_status/product_doc_install_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/doc_install_status/product_doc_install_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/doc_install_status/service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/doc_manager/check_license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/doc_manager/doc_manager.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/doc_manager/doc_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/doc_manager/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/doc_manager/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/inference_endpoint/endpoint_manager.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/inference_endpoint/endpoint_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/inference_endpoint/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/inference_endpoint/service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/inference_endpoint/utils/get_model_install_status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/inference_endpoint/utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/inference_endpoint/utils/install_elser.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/inference_endpoint/utils/wait_until_model_deployed.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/package_installer.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/package_installer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/package_installer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/steps/create_index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/steps/create_index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/steps/fetch_artifact_versions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/steps/fetch_artifact_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/steps/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/steps/populate_index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/steps/populate_index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/steps/validate_artifact_archive.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/steps/validate_artifact_archive.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/utils/archive_accessors.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/utils/archive_accessors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/utils/download.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/utils/semver.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/utils/semver.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/utils/test_data/test_archive_1.zip (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/utils/zip_archive.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/package_installer/utils/zip_archive.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/search/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/search/perform_search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/search/search_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/search/search_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/search/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/search/utils/get_indices_for_product_names.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/search/utils/get_indices_for_product_names.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/search/utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/search/utils/map_result.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/services/search/utils/map_result.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/tasks/ensure_up_to_date.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/tasks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/tasks/install_all.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/tasks/uninstall_all.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/tasks/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ai_infra/product_doc_base/tsconfig.json (86%) rename x-pack/{plugins => platform/plugins/shared}/inference/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/chat_complete/bind_chat_complete.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/chat_complete/bind_chat_complete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/chat_complete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/http_apis.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/output/bind_output.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/output/bind_output.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/output/create_output_api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/output/create_output_api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/output/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/ast/ast_tools/timespan.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/ast/correct_with_ast.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/ast/corrections/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/ast/corrections/like.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/ast/corrections/like.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/ast/corrections/timespan_literals.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/ast/corrections/timespan_literals.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/ast/corrections/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/ast/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/ast/typeguards.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/ast/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/correct_esql_query.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/correct_esql_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/non_ast/correct_common_esql_mistakes.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/non_ast/correct_common_esql_mistakes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/tasks/nl_to_esql/non_ast/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/utils/ensure_multi_turn.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/common/utils/generate_fake_tool_call_id.ts (100%) rename x-pack/{plugins/ai_infra/product_doc_base => platform/plugins/shared/inference}/jest.config.js (61%) rename x-pack/{plugins => platform/plugins/shared}/inference/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/public/chat_complete.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/public/chat_complete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/public/util/create_observable_from_http_response.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/public/util/http_response_into_observable.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/public/util/http_response_into_observable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/evaluation/.eslintrc.json (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/evaluation/README.md (94%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/evaluation/cli.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/evaluation/evaluation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/evaluation/evaluation_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/evaluation/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/evaluation/scenarios/esql/index.spec.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/evaluation/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/evaluation/table_renderer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/evaluation/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/load_esql_docs/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/load_esql_docs/extract_doc_entries.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/load_esql_docs/generate_doc.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/load_esql_docs/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/load_esql_docs/load_esql_docs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/load_esql_docs/prompts/convert_to_markdown.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/load_esql_docs/prompts/create_documentation_page.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/load_esql_docs/prompts/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/load_esql_docs/prompts/rewrite_function_page.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/load_esql_docs/sync_built_docs_repo.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/load_esql_docs/utils/output_executor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/util/cli_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/util/get_service_urls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/util/kibana_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/util/read_kibana_config.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/inference/scripts/util/select_connector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/bedrock/bedrock_claude_adapter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/bedrock/bedrock_claude_adapter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/bedrock/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/bedrock/process_completion_chunks.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/bedrock/process_completion_chunks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/bedrock/prompts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/bedrock/serde_eventstream_into_observable.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/bedrock/serde_eventstream_into_observable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/bedrock/serde_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/bedrock/serde_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/bedrock/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/gemini/gemini_adapter.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/gemini/gemini_adapter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/gemini/gemini_adapter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/gemini/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/gemini/process_vertex_stream.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/gemini/process_vertex_stream.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/gemini/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/get_inference_adapter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/get_inference_adapter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/openai/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/adapters/openai/openai_adapter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/simulated_function_calling/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/simulated_function_calling/get_system_instructions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/simulated_function_calling/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/simulated_function_calling/parse_inline_function_calls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/simulated_function_calling/wrap_with_simulated_function_calling.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/utils/chunks_into_message.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/utils/chunks_into_message.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/utils/inference_executor.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/utils/inference_executor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/utils/stream_to_response.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/chat_complete/utils/stream_to_response.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/inference_client/bind_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/inference_client/create_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/inference_client/create_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/inference_client/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/inference_client/inference_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/inference_client/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/routes/chat_complete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/routes/connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/actions/generate_esql.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/actions/request_documentation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/actions/shared.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/doc_base/aliases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/doc_base/esql_doc_base.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/doc_base/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/doc_base/load_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/doc_base/suggestions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/doc_base/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-abs.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-acos.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-asin.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-atan.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-atan2.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-avg.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-bucket.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-case.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-cbrt.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-ceil.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-cidr_match.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-coalesce.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-concat.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-cos.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-cosh.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-count.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-count_distinct.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-date_diff.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-date_extract.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-date_format.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-date_parse.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-date_trunc.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-dissect.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-drop.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-e.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-ends_with.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-enrich.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-eval.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-exp.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-floor.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-from.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-from_base64.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-greatest.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-grok.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-ip_prefix.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-keep.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-least.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-left.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-length.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-limit.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-locate.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-log.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-log10.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-lookup.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-ltrim.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-max.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-median.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-median_absolute_deviation.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-min.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_append.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_avg.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_concat.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_count.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_dedupe.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_expand.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_first.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_last.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_max.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_median.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_min.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_pseries_weighted_sum.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_slice.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_sort.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_sum.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_zip.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-now.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-operators.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-overview.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-percentile.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-pi.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-pow.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-rename.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-repeat.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-replace.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-right.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-round.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-row.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-rtrim.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-show.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-signum.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-sin.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-sinh.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-sort.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-split.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-sqrt.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-st_centroid_agg.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-st_contains.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-st_disjoint.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-st_distance.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-st_intersects.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-st_within.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-st_x.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-st_y.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-starts_with.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-stats.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-substring.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-sum.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-syntax.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-tan.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-tanh.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-tau.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_base64.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_boolean.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_cartesianpoint.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_cartesianshape.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_datetime.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_degrees.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_double.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_geopoint.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_geoshape.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_integer.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_ip.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_long.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_lower.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_radians.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_string.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_unsigned_long.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_upper.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-to_version.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-top.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-trim.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-values.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-weighted_avg.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/esql_docs/esql-where.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/system_message.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/tasks/nl_to_esql/validate_esql_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/test_utils/chat_complete_events.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/util/event_source_stream_into_observable.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/util/event_source_stream_into_observable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/util/get_connector_by_id.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/util/get_connector_by_id.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/util/observable_into_event_source_stream.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/util/observable_into_event_source_stream.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/util/validate_tool_calls.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/server/util/validate_tool_calls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/inference/tsconfig.json (89%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index e4a0617579cf5..3c404083174b1 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -154,9 +154,9 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ - /^x-pack\/packages\/ai-infra/, - /^x-pack\/plugins\/ai_infra/, - /^x-pack\/plugins\/inference/, + /^x-pack\/platform\/packages\/shared\/ai-infra/, + /^x-pack\/platform\/plugins\/shared\/ai_infra/, + /^x-pack\/platform\/plugins\/shared\/inference/, /^x-pack\/plugins\/stack_connectors\/server\/connector_types\/bedrock/, /^x-pack\/plugins\/stack_connectors\/server\/connector_types\/gemini/, /^x-pack\/plugins\/stack_connectors\/server\/connector_types\/openai/, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 93ea7fdabc690..11035e0eb7dbd 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -776,9 +776,7 @@ x-pack/examples/third_party_maps_source_example @elastic/kibana-presentation x-pack/examples/third_party_vis_lens_example @elastic/kibana-visualizations x-pack/examples/triggers_actions_ui_example @elastic/response-ops x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux -x-pack/packages/ai-infra/inference-common @elastic/appex-ai-infra x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra -x-pack/packages/ai-infra/product-doc-common @elastic/appex-ai-infra x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management x-pack/packages/index-management/index_management_shared_types @elastic/kibana-management x-pack/packages/kbn-ai-assistant @elastic/search-kibana @@ -856,6 +854,8 @@ 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/ai-infra/inference-common @elastic/appex-ai-infra +x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra 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 @@ -869,12 +869,13 @@ 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/ai_infra/llm_tasks @elastic/appex-ai-infra +x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra x-pack/platform/plugins/shared/aiops @elastic/ml-ui x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities +x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra 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/alerting @elastic/response-ops x-pack/plugins/asset_inventory @elastic/kibana-cloud-security-posture x-pack/plugins/banners @elastic/appex-sharedux @@ -912,7 +913,6 @@ x-pack/plugins/graph @elastic/kibana-visualizations x-pack/plugins/grokdebugger @elastic/kibana-management x-pack/plugins/index_lifecycle_management @elastic/kibana-management x-pack/plugins/index_management @elastic/kibana-management -x-pack/plugins/inference @elastic/appex-ai-infra x-pack/plugins/ingest_pipelines @elastic/kibana-management x-pack/plugins/integration_assistant @elastic/security-scalability x-pack/plugins/kubernetes_security @elastic/kibana-cloud-security-posture diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 2fe0c672af734..982c9c969122c 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -643,7 +643,7 @@ Index Management by running this series of requests in Console: |This service is exposed from the Index Management setup contract and can be used to add content to the indices list and the index details page. -|{kib-repo}blob/{branch}/x-pack/plugins/inference/README.md[inference] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/inference/README.md[inference] |The inference plugin is a central place to handle all interactions with the Elasticsearch Inference API and external LLM APIs. Its goals are: @@ -698,7 +698,7 @@ the infrastructure monitoring use-case within Kibana. using the CURL scripts in the scripts folder. -|{kib-repo}blob/{branch}/x-pack/plugins/ai_infra/llm_tasks/README.md[llmTasks] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/ai_infra/llm_tasks/README.md[llmTasks] |This plugin contains various LLM tasks. @@ -779,7 +779,7 @@ Elastic. |This plugin helps users learn how to use the Painless scripting language. -|{kib-repo}blob/{branch}/x-pack/plugins/ai_infra/product_doc_base/README.md[productDocBase] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/ai_infra/product_doc_base/README.md[productDocBase] |This plugin contains the product documentation base service. diff --git a/package.json b/package.json index b9573348e3252..9e2bd09e7a0d1 100644 --- a/package.json +++ b/package.json @@ -577,8 +577,8 @@ "@kbn/index-management-plugin": "link:x-pack/plugins/index_management", "@kbn/index-management-shared-types": "link:x-pack/packages/index-management/index_management_shared_types", "@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-common": "link:x-pack/platform/packages/shared/ai-infra/inference-common", + "@kbn/inference-plugin": "link:x-pack/platform/plugins/shared/inference", "@kbn/inference_integration_flyout": "link:x-pack/platform/packages/private/ml/inference_integration_flyout", "@kbn/infra-forge": "link:x-pack/packages/kbn-infra-forge", "@kbn/infra-plugin": "link:x-pack/plugins/observability_solution/infra", @@ -620,7 +620,7 @@ "@kbn/licensing-plugin": "link:x-pack/plugins/licensing", "@kbn/links-plugin": "link:src/plugins/links", "@kbn/lists-plugin": "link:x-pack/plugins/lists", - "@kbn/llm-tasks-plugin": "link:x-pack/plugins/ai_infra/llm_tasks", + "@kbn/llm-tasks-plugin": "link:x-pack/platform/plugins/shared/ai_infra/llm_tasks", "@kbn/locator-examples-plugin": "link:examples/locator_examples", "@kbn/locator-explorer-plugin": "link:examples/locator_explorer", "@kbn/logging": "link:packages/kbn-logging", @@ -724,8 +724,8 @@ "@kbn/presentation-panel-plugin": "link:src/plugins/presentation_panel", "@kbn/presentation-publishing": "link:packages/presentation/presentation_publishing", "@kbn/presentation-util-plugin": "link:src/plugins/presentation_util", - "@kbn/product-doc-base-plugin": "link:x-pack/plugins/ai_infra/product_doc_base", - "@kbn/product-doc-common": "link:x-pack/packages/ai-infra/product-doc-common", + "@kbn/product-doc-base-plugin": "link:x-pack/platform/plugins/shared/ai_infra/product_doc_base", + "@kbn/product-doc-common": "link:x-pack/platform/packages/shared/ai-infra/product-doc-common", "@kbn/profiling-data-access-plugin": "link:x-pack/plugins/observability_solution/profiling_data_access", "@kbn/profiling-plugin": "link:x-pack/plugins/observability_solution/profiling", "@kbn/profiling-utils": "link:packages/kbn-profiling-utils", diff --git a/tsconfig.base.json b/tsconfig.base.json index aae90e447f0bf..9fd96ede22e5c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1062,10 +1062,10 @@ "@kbn/index-patterns-test-plugin/*": ["test/plugin_functional/plugins/index_patterns/*"], "@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"], - "@kbn/inference-plugin/*": ["x-pack/plugins/inference/*"], + "@kbn/inference-common": ["x-pack/platform/packages/shared/ai-infra/inference-common"], + "@kbn/inference-common/*": ["x-pack/platform/packages/shared/ai-infra/inference-common/*"], + "@kbn/inference-plugin": ["x-pack/platform/plugins/shared/inference"], + "@kbn/inference-plugin/*": ["x-pack/platform/plugins/shared/inference/*"], "@kbn/infra-forge": ["x-pack/packages/kbn-infra-forge"], "@kbn/infra-forge/*": ["x-pack/packages/kbn-infra-forge/*"], "@kbn/infra-plugin": ["x-pack/plugins/observability_solution/infra"], @@ -1160,8 +1160,8 @@ "@kbn/lint-ts-projects-cli/*": ["packages/kbn-lint-ts-projects-cli/*"], "@kbn/lists-plugin": ["x-pack/plugins/lists"], "@kbn/lists-plugin/*": ["x-pack/plugins/lists/*"], - "@kbn/llm-tasks-plugin": ["x-pack/plugins/ai_infra/llm_tasks"], - "@kbn/llm-tasks-plugin/*": ["x-pack/plugins/ai_infra/llm_tasks/*"], + "@kbn/llm-tasks-plugin": ["x-pack/platform/plugins/shared/ai_infra/llm_tasks"], + "@kbn/llm-tasks-plugin/*": ["x-pack/platform/plugins/shared/ai_infra/llm_tasks/*"], "@kbn/locator-examples-plugin": ["examples/locator_examples"], "@kbn/locator-examples-plugin/*": ["examples/locator_examples/*"], "@kbn/locator-explorer-plugin": ["examples/locator_explorer"], @@ -1404,10 +1404,10 @@ "@kbn/presentation-util-plugin/*": ["src/plugins/presentation_util/*"], "@kbn/product-doc-artifact-builder": ["x-pack/packages/ai-infra/product-doc-artifact-builder"], "@kbn/product-doc-artifact-builder/*": ["x-pack/packages/ai-infra/product-doc-artifact-builder/*"], - "@kbn/product-doc-base-plugin": ["x-pack/plugins/ai_infra/product_doc_base"], - "@kbn/product-doc-base-plugin/*": ["x-pack/plugins/ai_infra/product_doc_base/*"], - "@kbn/product-doc-common": ["x-pack/packages/ai-infra/product-doc-common"], - "@kbn/product-doc-common/*": ["x-pack/packages/ai-infra/product-doc-common/*"], + "@kbn/product-doc-base-plugin": ["x-pack/platform/plugins/shared/ai_infra/product_doc_base"], + "@kbn/product-doc-base-plugin/*": ["x-pack/platform/plugins/shared/ai_infra/product_doc_base/*"], + "@kbn/product-doc-common": ["x-pack/platform/packages/shared/ai-infra/product-doc-common"], + "@kbn/product-doc-common/*": ["x-pack/platform/packages/shared/ai-infra/product-doc-common/*"], "@kbn/profiling-data-access-plugin": ["x-pack/plugins/observability_solution/profiling_data_access"], "@kbn/profiling-data-access-plugin/*": ["x-pack/plugins/observability_solution/profiling_data_access/*"], "@kbn/profiling-plugin": ["x-pack/plugins/observability_solution/profiling"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 29cd97f61b970..d16cbe9a627dc 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -66,7 +66,7 @@ "xpack.fleet": "plugins/fleet", "xpack.ingestPipelines": "plugins/ingest_pipelines", "xpack.integrationAssistant": "plugins/integration_assistant", - "xpack.inference": "plugins/inference", + "xpack.inference": "platform/plugins/shared/inference", "xpack.inventory": "plugins/observability_solution/inventory", "xpack.investigate": "plugins/observability_solution/investigate", "xpack.investigateApp": "plugins/observability_solution/investigate_app", diff --git a/x-pack/packages/ai-infra/inference-common/README.md b/x-pack/platform/packages/shared/ai-infra/inference-common/README.md similarity index 100% rename from x-pack/packages/ai-infra/inference-common/README.md rename to x-pack/platform/packages/shared/ai-infra/inference-common/README.md diff --git a/x-pack/packages/ai-infra/inference-common/index.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/index.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/index.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/index.ts diff --git a/x-pack/packages/ai-infra/inference-common/jest.config.js b/x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js similarity index 72% rename from x-pack/packages/ai-infra/inference-common/jest.config.js rename to x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js index faa0d30b40233..7880fd4d31082 100644 --- a/x-pack/packages/ai-infra/inference-common/jest.config.js +++ b/x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ai-infra/inference-common'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ai-infra/inference-common'], }; diff --git a/x-pack/packages/ai-infra/inference-common/kibana.jsonc b/x-pack/platform/packages/shared/ai-infra/inference-common/kibana.jsonc similarity index 100% rename from x-pack/packages/ai-infra/inference-common/kibana.jsonc rename to x-pack/platform/packages/shared/ai-infra/inference-common/kibana.jsonc diff --git a/x-pack/packages/ai-infra/inference-common/package.json b/x-pack/platform/packages/shared/ai-infra/inference-common/package.json similarity index 100% rename from x-pack/packages/ai-infra/inference-common/package.json rename to x-pack/platform/packages/shared/ai-infra/inference-common/package.json diff --git a/x-pack/packages/ai-infra/inference-common/src/chat_complete/api.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/api.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/chat_complete/api.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/api.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/chat_complete/bound_api.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/bound_api.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/chat_complete/bound_api.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/bound_api.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/chat_complete/errors.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/errors.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/chat_complete/errors.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/errors.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/chat_complete/event_utils.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/event_utils.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/chat_complete/event_utils.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/event_utils.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/chat_complete/events.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/events.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/chat_complete/events.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/events.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/chat_complete/index.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/index.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/chat_complete/index.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/index.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/chat_complete/messages.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/messages.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/chat_complete/messages.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/messages.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/chat_complete/tool_schema.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/tool_schema.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/chat_complete/tool_schema.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/tool_schema.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/chat_complete/tools.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/tools.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/chat_complete/tools.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/chat_complete/tools.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/errors.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/errors.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/errors.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/errors.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/inference_task.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/inference_task.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/inference_task.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/inference_task.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/output/api.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/output/api.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/output/api.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/output/api.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/output/bound_api.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/output/bound_api.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/output/bound_api.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/output/bound_api.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/output/event_utils.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/output/event_utils.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/output/event_utils.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/output/event_utils.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/output/events.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/output/events.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/output/events.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/output/events.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/output/index.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/output/index.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/output/index.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/output/index.ts diff --git a/x-pack/packages/ai-infra/inference-common/src/truncate_list.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/truncate_list.ts similarity index 100% rename from x-pack/packages/ai-infra/inference-common/src/truncate_list.ts rename to x-pack/platform/packages/shared/ai-infra/inference-common/src/truncate_list.ts diff --git a/x-pack/packages/ai-infra/inference-common/tsconfig.json b/x-pack/platform/packages/shared/ai-infra/inference-common/tsconfig.json similarity index 81% rename from x-pack/packages/ai-infra/inference-common/tsconfig.json rename to x-pack/platform/packages/shared/ai-infra/inference-common/tsconfig.json index 86d57b8d692f7..af23c916b5d13 100644 --- a/x-pack/packages/ai-infra/inference-common/tsconfig.json +++ b/x-pack/platform/packages/shared/ai-infra/inference-common/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/ai-infra/product-doc-common/README.md b/x-pack/platform/packages/shared/ai-infra/product-doc-common/README.md similarity index 100% rename from x-pack/packages/ai-infra/product-doc-common/README.md rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/README.md diff --git a/x-pack/packages/ai-infra/product-doc-common/index.ts b/x-pack/platform/packages/shared/ai-infra/product-doc-common/index.ts similarity index 100% rename from x-pack/packages/ai-infra/product-doc-common/index.ts rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/index.ts diff --git a/x-pack/packages/ai-infra/product-doc-common/jest.config.js b/x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js similarity index 72% rename from x-pack/packages/ai-infra/product-doc-common/jest.config.js rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js index e6cae43806c8d..16ca401a20431 100644 --- a/x-pack/packages/ai-infra/product-doc-common/jest.config.js +++ b/x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ai-infra/product-doc-common'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ai-infra/product-doc-common'], }; diff --git a/x-pack/packages/ai-infra/product-doc-common/kibana.jsonc b/x-pack/platform/packages/shared/ai-infra/product-doc-common/kibana.jsonc similarity index 100% rename from x-pack/packages/ai-infra/product-doc-common/kibana.jsonc rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/kibana.jsonc diff --git a/x-pack/packages/ai-infra/product-doc-common/package.json b/x-pack/platform/packages/shared/ai-infra/product-doc-common/package.json similarity index 100% rename from x-pack/packages/ai-infra/product-doc-common/package.json rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/package.json diff --git a/x-pack/packages/ai-infra/product-doc-common/src/artifact.test.ts b/x-pack/platform/packages/shared/ai-infra/product-doc-common/src/artifact.test.ts similarity index 100% rename from x-pack/packages/ai-infra/product-doc-common/src/artifact.test.ts rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/src/artifact.test.ts diff --git a/x-pack/packages/ai-infra/product-doc-common/src/artifact.ts b/x-pack/platform/packages/shared/ai-infra/product-doc-common/src/artifact.ts similarity index 100% rename from x-pack/packages/ai-infra/product-doc-common/src/artifact.ts rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/src/artifact.ts diff --git a/x-pack/packages/ai-infra/product-doc-common/src/artifact_content.test.ts b/x-pack/platform/packages/shared/ai-infra/product-doc-common/src/artifact_content.test.ts similarity index 100% rename from x-pack/packages/ai-infra/product-doc-common/src/artifact_content.test.ts rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/src/artifact_content.test.ts diff --git a/x-pack/packages/ai-infra/product-doc-common/src/artifact_content.ts b/x-pack/platform/packages/shared/ai-infra/product-doc-common/src/artifact_content.ts similarity index 100% rename from x-pack/packages/ai-infra/product-doc-common/src/artifact_content.ts rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/src/artifact_content.ts diff --git a/x-pack/packages/ai-infra/product-doc-common/src/documents.ts b/x-pack/platform/packages/shared/ai-infra/product-doc-common/src/documents.ts similarity index 100% rename from x-pack/packages/ai-infra/product-doc-common/src/documents.ts rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/src/documents.ts diff --git a/x-pack/packages/ai-infra/product-doc-common/src/indices.ts b/x-pack/platform/packages/shared/ai-infra/product-doc-common/src/indices.ts similarity index 100% rename from x-pack/packages/ai-infra/product-doc-common/src/indices.ts rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/src/indices.ts diff --git a/x-pack/packages/ai-infra/product-doc-common/src/manifest.ts b/x-pack/platform/packages/shared/ai-infra/product-doc-common/src/manifest.ts similarity index 100% rename from x-pack/packages/ai-infra/product-doc-common/src/manifest.ts rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/src/manifest.ts diff --git a/x-pack/packages/ai-infra/product-doc-common/src/product.ts b/x-pack/platform/packages/shared/ai-infra/product-doc-common/src/product.ts similarity index 100% rename from x-pack/packages/ai-infra/product-doc-common/src/product.ts rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/src/product.ts diff --git a/x-pack/packages/ai-infra/product-doc-common/tsconfig.json b/x-pack/platform/packages/shared/ai-infra/product-doc-common/tsconfig.json similarity index 79% rename from x-pack/packages/ai-infra/product-doc-common/tsconfig.json rename to x-pack/platform/packages/shared/ai-infra/product-doc-common/tsconfig.json index 0d78dace105e1..63f0b5ff33faa 100644 --- a/x-pack/packages/ai-infra/product-doc-common/tsconfig.json +++ b/x-pack/platform/packages/shared/ai-infra/product-doc-common/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/ai_infra/llm_tasks/README.md b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/README.md similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/README.md rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/README.md diff --git a/x-pack/plugins/ai_infra/llm_tasks/jest.config.js b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js similarity index 64% rename from x-pack/plugins/ai_infra/llm_tasks/jest.config.js rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js index 2a6206d4304b9..dd8bc96de620a 100644 --- a/x-pack/plugins/ai_infra/llm_tasks/jest.config.js +++ b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/plugins/ai_infra/llm_tasks/server'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server'], setupFiles: [], collectCoverage: true, collectCoverageFrom: [ - '/x-pack/plugins/ai_infra/llm_tasks/{public,server,common}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/shared/ai_infra/llm_tasks/{public,server,common}/**/*.{js,ts,tsx}', ], coverageReporters: ['html'], diff --git a/x-pack/plugins/ai_infra/llm_tasks/kibana.jsonc b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/kibana.jsonc similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/kibana.jsonc rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/kibana.jsonc diff --git a/x-pack/plugins/ai_infra/llm_tasks/server/config.ts b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/config.ts similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/server/config.ts rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/config.ts diff --git a/x-pack/plugins/ai_infra/llm_tasks/server/index.ts b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/server/index.ts rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/index.ts diff --git a/x-pack/plugins/ai_infra/llm_tasks/server/plugin.ts b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/plugin.ts similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/server/plugin.ts rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/plugin.ts diff --git a/x-pack/plugins/ai_infra/llm_tasks/server/tasks/index.ts b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/tasks/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/server/tasks/index.ts rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/tasks/index.ts diff --git a/x-pack/plugins/ai_infra/llm_tasks/server/tasks/retrieve_documentation/index.ts b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/tasks/retrieve_documentation/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/server/tasks/retrieve_documentation/index.ts rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/tasks/retrieve_documentation/index.ts diff --git a/x-pack/plugins/ai_infra/llm_tasks/server/tasks/retrieve_documentation/retrieve_documentation.test.ts b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/tasks/retrieve_documentation/retrieve_documentation.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/server/tasks/retrieve_documentation/retrieve_documentation.test.ts rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/tasks/retrieve_documentation/retrieve_documentation.test.ts diff --git a/x-pack/plugins/ai_infra/llm_tasks/server/tasks/retrieve_documentation/retrieve_documentation.ts b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/tasks/retrieve_documentation/retrieve_documentation.ts similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/server/tasks/retrieve_documentation/retrieve_documentation.ts rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/tasks/retrieve_documentation/retrieve_documentation.ts diff --git a/x-pack/plugins/ai_infra/llm_tasks/server/tasks/retrieve_documentation/summarize_document.ts b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/tasks/retrieve_documentation/summarize_document.ts similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/server/tasks/retrieve_documentation/summarize_document.ts rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/tasks/retrieve_documentation/summarize_document.ts diff --git a/x-pack/plugins/ai_infra/llm_tasks/server/tasks/retrieve_documentation/types.ts b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/tasks/retrieve_documentation/types.ts similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/server/tasks/retrieve_documentation/types.ts rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/tasks/retrieve_documentation/types.ts diff --git a/x-pack/plugins/ai_infra/llm_tasks/server/types.ts b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/types.ts similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/server/types.ts rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/types.ts diff --git a/x-pack/plugins/ai_infra/llm_tasks/server/utils/tokens.test.ts b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/utils/tokens.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/server/utils/tokens.test.ts rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/utils/tokens.test.ts diff --git a/x-pack/plugins/ai_infra/llm_tasks/server/utils/tokens.ts b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/utils/tokens.ts similarity index 100% rename from x-pack/plugins/ai_infra/llm_tasks/server/utils/tokens.ts rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/server/utils/tokens.ts diff --git a/x-pack/plugins/ai_infra/llm_tasks/tsconfig.json b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json similarity index 85% rename from x-pack/plugins/ai_infra/llm_tasks/tsconfig.json rename to x-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json index 03b87827d941a..ade5aa0cbb480 100644 --- a/x-pack/plugins/ai_infra/llm_tasks/tsconfig.json +++ b/x-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../../typings/**/*", + "../../../../../../typings/**/*", "common/**/*", "public/**/*", "typings/**/*", diff --git a/x-pack/plugins/ai_infra/product_doc_base/README.md b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/README.md similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/README.md rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/README.md diff --git a/x-pack/plugins/ai_infra/product_doc_base/common/consts.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/common/consts.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/common/consts.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/common/consts.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/common/http_api/installation.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/common/http_api/installation.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/common/http_api/installation.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/common/http_api/installation.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/common/install_status.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/common/install_status.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/common/install_status.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/common/install_status.ts diff --git a/x-pack/plugins/inference/jest.config.js b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js similarity index 51% rename from x-pack/plugins/inference/jest.config.js rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js index 8b20bd72f17b2..9bb3ea87c253e 100644 --- a/x-pack/plugins/inference/jest.config.js +++ b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js @@ -7,16 +7,16 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', + rootDir: '../../../../../..', roots: [ - '/x-pack/plugins/inference/public', - '/x-pack/plugins/inference/server', - '/x-pack/plugins/inference/common', + '/x-pack/platform/plugins/shared/ai_infra/product_doc_base/public', + '/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server', + '/x-pack/platform/plugins/shared/ai_infra/product_doc_base/common', ], setupFiles: [], collectCoverage: true, collectCoverageFrom: [ - '/x-pack/plugins/inference/{public,server,common}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/shared/ai_infra/product_doc_base/{public,server,common}/**/*.{js,ts,tsx}', ], coverageReporters: ['html'], diff --git a/x-pack/plugins/ai_infra/product_doc_base/kibana.jsonc b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/kibana.jsonc similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/kibana.jsonc rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/kibana.jsonc diff --git a/x-pack/plugins/ai_infra/product_doc_base/public/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/public/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/public/plugin.tsx b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/plugin.tsx similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/public/plugin.tsx rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/plugin.tsx diff --git a/x-pack/plugins/ai_infra/product_doc_base/public/services/installation/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/services/installation/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/public/services/installation/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/services/installation/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/public/services/installation/installation_service.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/services/installation/installation_service.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/public/services/installation/installation_service.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/services/installation/installation_service.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/public/services/installation/installation_service.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/services/installation/installation_service.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/public/services/installation/installation_service.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/services/installation/installation_service.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/public/services/installation/types.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/services/installation/types.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/public/services/installation/types.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/services/installation/types.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/public/types.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/types.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/public/types.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/public/types.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/config.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/config.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/config.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/config.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/plugin.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/plugin.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/plugin.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/plugin.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/plugin.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/plugin.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/plugin.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/routes/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/routes/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/routes/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/routes/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/routes/installation.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/routes/installation.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/routes/installation.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/routes/installation.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/saved_objects/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/saved_objects/product_doc_install.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/saved_objects/product_doc_install.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/saved_objects/product_doc_install.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/saved_objects/product_doc_install.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/doc_install_status/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_install_status/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/doc_install_status/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_install_status/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/doc_install_status/model_conversion.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_install_status/model_conversion.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/doc_install_status/model_conversion.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_install_status/model_conversion.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/doc_install_status/model_conversion.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_install_status/model_conversion.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/doc_install_status/model_conversion.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_install_status/model_conversion.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/doc_install_status/product_doc_install_service.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_install_status/product_doc_install_service.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/doc_install_status/product_doc_install_service.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_install_status/product_doc_install_service.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/doc_install_status/product_doc_install_service.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_install_status/product_doc_install_service.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/doc_install_status/product_doc_install_service.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_install_status/product_doc_install_service.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/doc_install_status/service.mock.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_install_status/service.mock.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/doc_install_status/service.mock.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_install_status/service.mock.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/doc_manager/check_license.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_manager/check_license.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/doc_manager/check_license.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_manager/check_license.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/doc_manager/doc_manager.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_manager/doc_manager.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/doc_manager/doc_manager.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_manager/doc_manager.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/doc_manager/doc_manager.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_manager/doc_manager.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/doc_manager/doc_manager.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_manager/doc_manager.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/doc_manager/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_manager/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/doc_manager/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_manager/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/doc_manager/types.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_manager/types.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/doc_manager/types.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/doc_manager/types.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/endpoint_manager.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/endpoint_manager.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/endpoint_manager.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/endpoint_manager.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/endpoint_manager.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/endpoint_manager.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/endpoint_manager.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/endpoint_manager.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/service.mock.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/service.mock.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/service.mock.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/service.mock.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/utils/get_model_install_status.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/utils/get_model_install_status.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/utils/get_model_install_status.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/utils/get_model_install_status.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/utils/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/utils/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/utils/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/utils/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/utils/install_elser.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/utils/install_elser.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/utils/install_elser.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/utils/install_elser.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/utils/wait_until_model_deployed.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/utils/wait_until_model_deployed.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/inference_endpoint/utils/wait_until_model_deployed.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/inference_endpoint/utils/wait_until_model_deployed.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/package_installer.test.mocks.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/package_installer.test.mocks.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/package_installer.test.mocks.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/package_installer.test.mocks.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/package_installer.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/package_installer.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/package_installer.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/package_installer.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/package_installer.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/package_installer.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/package_installer.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/package_installer.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/create_index.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/create_index.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/create_index.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/create_index.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/create_index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/create_index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/create_index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/create_index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/fetch_artifact_versions.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/fetch_artifact_versions.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/fetch_artifact_versions.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/fetch_artifact_versions.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/fetch_artifact_versions.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/fetch_artifact_versions.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/fetch_artifact_versions.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/fetch_artifact_versions.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/populate_index.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/populate_index.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/populate_index.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/populate_index.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/populate_index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/populate_index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/populate_index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/populate_index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/validate_artifact_archive.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/validate_artifact_archive.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/validate_artifact_archive.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/validate_artifact_archive.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/validate_artifact_archive.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/validate_artifact_archive.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/steps/validate_artifact_archive.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/steps/validate_artifact_archive.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/archive_accessors.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/archive_accessors.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/archive_accessors.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/archive_accessors.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/archive_accessors.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/archive_accessors.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/archive_accessors.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/archive_accessors.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/download.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/download.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/download.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/download.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/semver.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/semver.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/semver.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/semver.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/semver.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/semver.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/semver.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/semver.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/test_data/test_archive_1.zip b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/test_data/test_archive_1.zip similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/test_data/test_archive_1.zip rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/test_data/test_archive_1.zip diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/zip_archive.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/zip_archive.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/zip_archive.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/zip_archive.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/zip_archive.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/zip_archive.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/package_installer/utils/zip_archive.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/package_installer/utils/zip_archive.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/search/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/search/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/search/perform_search.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/perform_search.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/search/perform_search.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/perform_search.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/search/search_service.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/search_service.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/search/search_service.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/search_service.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/search/search_service.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/search_service.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/search/search_service.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/search_service.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/search/types.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/types.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/search/types.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/types.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/search/utils/get_indices_for_product_names.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/utils/get_indices_for_product_names.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/search/utils/get_indices_for_product_names.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/utils/get_indices_for_product_names.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/search/utils/get_indices_for_product_names.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/utils/get_indices_for_product_names.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/search/utils/get_indices_for_product_names.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/utils/get_indices_for_product_names.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/search/utils/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/utils/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/search/utils/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/utils/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/search/utils/map_result.test.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/utils/map_result.test.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/search/utils/map_result.test.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/utils/map_result.test.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/services/search/utils/map_result.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/utils/map_result.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/services/search/utils/map_result.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/services/search/utils/map_result.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/tasks/ensure_up_to_date.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/tasks/ensure_up_to_date.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/tasks/ensure_up_to_date.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/tasks/ensure_up_to_date.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/tasks/index.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/tasks/index.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/tasks/index.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/tasks/index.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/tasks/install_all.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/tasks/install_all.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/tasks/install_all.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/tasks/install_all.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/tasks/uninstall_all.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/tasks/uninstall_all.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/tasks/uninstall_all.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/tasks/uninstall_all.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/tasks/utils.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/tasks/utils.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/tasks/utils.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/tasks/utils.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/server/types.ts b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/types.ts similarity index 100% rename from x-pack/plugins/ai_infra/product_doc_base/server/types.ts rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/types.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/tsconfig.json b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json similarity index 86% rename from x-pack/plugins/ai_infra/product_doc_base/tsconfig.json rename to x-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json index 9a2d1969556bf..c8c29b41722dc 100644 --- a/x-pack/plugins/ai_infra/product_doc_base/tsconfig.json +++ b/x-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../../typings/**/*", + "../../../../../../typings/**/*", "common/**/*", "public/**/*", "typings/**/*", diff --git a/x-pack/plugins/inference/README.md b/x-pack/platform/plugins/shared/inference/README.md similarity index 100% rename from x-pack/plugins/inference/README.md rename to x-pack/platform/plugins/shared/inference/README.md diff --git a/x-pack/plugins/inference/common/chat_complete/bind_chat_complete.test.ts b/x-pack/platform/plugins/shared/inference/common/chat_complete/bind_chat_complete.test.ts similarity index 100% rename from x-pack/plugins/inference/common/chat_complete/bind_chat_complete.test.ts rename to x-pack/platform/plugins/shared/inference/common/chat_complete/bind_chat_complete.test.ts diff --git a/x-pack/plugins/inference/common/chat_complete/bind_chat_complete.ts b/x-pack/platform/plugins/shared/inference/common/chat_complete/bind_chat_complete.ts similarity index 100% rename from x-pack/plugins/inference/common/chat_complete/bind_chat_complete.ts rename to x-pack/platform/plugins/shared/inference/common/chat_complete/bind_chat_complete.ts diff --git a/x-pack/plugins/inference/common/chat_complete/index.ts b/x-pack/platform/plugins/shared/inference/common/chat_complete/index.ts similarity index 100% rename from x-pack/plugins/inference/common/chat_complete/index.ts rename to x-pack/platform/plugins/shared/inference/common/chat_complete/index.ts diff --git a/x-pack/plugins/inference/common/connectors.ts b/x-pack/platform/plugins/shared/inference/common/connectors.ts similarity index 100% rename from x-pack/plugins/inference/common/connectors.ts rename to x-pack/platform/plugins/shared/inference/common/connectors.ts diff --git a/x-pack/plugins/inference/common/http_apis.ts b/x-pack/platform/plugins/shared/inference/common/http_apis.ts similarity index 100% rename from x-pack/plugins/inference/common/http_apis.ts rename to x-pack/platform/plugins/shared/inference/common/http_apis.ts diff --git a/x-pack/plugins/inference/common/index.ts b/x-pack/platform/plugins/shared/inference/common/index.ts similarity index 100% rename from x-pack/plugins/inference/common/index.ts rename to x-pack/platform/plugins/shared/inference/common/index.ts diff --git a/x-pack/plugins/inference/common/output/bind_output.test.ts b/x-pack/platform/plugins/shared/inference/common/output/bind_output.test.ts similarity index 100% rename from x-pack/plugins/inference/common/output/bind_output.test.ts rename to x-pack/platform/plugins/shared/inference/common/output/bind_output.test.ts diff --git a/x-pack/plugins/inference/common/output/bind_output.ts b/x-pack/platform/plugins/shared/inference/common/output/bind_output.ts similarity index 100% rename from x-pack/plugins/inference/common/output/bind_output.ts rename to x-pack/platform/plugins/shared/inference/common/output/bind_output.ts diff --git a/x-pack/plugins/inference/common/output/create_output_api.test.ts b/x-pack/platform/plugins/shared/inference/common/output/create_output_api.test.ts similarity index 100% rename from x-pack/plugins/inference/common/output/create_output_api.test.ts rename to x-pack/platform/plugins/shared/inference/common/output/create_output_api.test.ts diff --git a/x-pack/plugins/inference/common/output/create_output_api.ts b/x-pack/platform/plugins/shared/inference/common/output/create_output_api.ts similarity index 100% rename from x-pack/plugins/inference/common/output/create_output_api.ts rename to x-pack/platform/plugins/shared/inference/common/output/create_output_api.ts diff --git a/x-pack/plugins/inference/common/output/index.ts b/x-pack/platform/plugins/shared/inference/common/output/index.ts similarity index 100% rename from x-pack/plugins/inference/common/output/index.ts rename to x-pack/platform/plugins/shared/inference/common/output/index.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/ast/ast_tools/timespan.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/ast_tools/timespan.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/ast/ast_tools/timespan.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/ast_tools/timespan.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/ast/correct_with_ast.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/correct_with_ast.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/ast/correct_with_ast.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/correct_with_ast.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/ast/corrections/index.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/corrections/index.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/ast/corrections/index.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/corrections/index.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/ast/corrections/like.test.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/corrections/like.test.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/ast/corrections/like.test.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/corrections/like.test.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/ast/corrections/like.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/corrections/like.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/ast/corrections/like.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/corrections/like.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/ast/corrections/timespan_literals.test.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/corrections/timespan_literals.test.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/ast/corrections/timespan_literals.test.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/corrections/timespan_literals.test.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/ast/corrections/timespan_literals.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/corrections/timespan_literals.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/ast/corrections/timespan_literals.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/corrections/timespan_literals.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/ast/corrections/types.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/corrections/types.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/ast/corrections/types.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/corrections/types.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/ast/index.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/index.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/ast/index.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/index.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/ast/typeguards.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/typeguards.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/ast/typeguards.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/typeguards.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/ast/types.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/types.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/ast/types.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/ast/types.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/constants.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/constants.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/constants.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/constants.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/correct_esql_query.test.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/correct_esql_query.test.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/correct_esql_query.test.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/correct_esql_query.test.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/correct_esql_query.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/correct_esql_query.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/correct_esql_query.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/correct_esql_query.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/index.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/index.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/index.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/index.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/non_ast/correct_common_esql_mistakes.test.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/non_ast/correct_common_esql_mistakes.test.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/non_ast/correct_common_esql_mistakes.test.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/non_ast/correct_common_esql_mistakes.test.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/non_ast/correct_common_esql_mistakes.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/non_ast/correct_common_esql_mistakes.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/non_ast/correct_common_esql_mistakes.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/non_ast/correct_common_esql_mistakes.ts diff --git a/x-pack/plugins/inference/common/tasks/nl_to_esql/non_ast/index.ts b/x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/non_ast/index.ts similarity index 100% rename from x-pack/plugins/inference/common/tasks/nl_to_esql/non_ast/index.ts rename to x-pack/platform/plugins/shared/inference/common/tasks/nl_to_esql/non_ast/index.ts diff --git a/x-pack/plugins/inference/common/utils/ensure_multi_turn.ts b/x-pack/platform/plugins/shared/inference/common/utils/ensure_multi_turn.ts similarity index 100% rename from x-pack/plugins/inference/common/utils/ensure_multi_turn.ts rename to x-pack/platform/plugins/shared/inference/common/utils/ensure_multi_turn.ts diff --git a/x-pack/plugins/inference/common/utils/generate_fake_tool_call_id.ts b/x-pack/platform/plugins/shared/inference/common/utils/generate_fake_tool_call_id.ts similarity index 100% rename from x-pack/plugins/inference/common/utils/generate_fake_tool_call_id.ts rename to x-pack/platform/plugins/shared/inference/common/utils/generate_fake_tool_call_id.ts diff --git a/x-pack/plugins/ai_infra/product_doc_base/jest.config.js b/x-pack/platform/plugins/shared/inference/jest.config.js similarity index 61% rename from x-pack/plugins/ai_infra/product_doc_base/jest.config.js rename to x-pack/platform/plugins/shared/inference/jest.config.js index fc06be251a6f7..f10ad8ca93822 100644 --- a/x-pack/plugins/ai_infra/product_doc_base/jest.config.js +++ b/x-pack/platform/plugins/shared/inference/jest.config.js @@ -7,16 +7,16 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', + rootDir: '../../../../..', roots: [ - '/x-pack/plugins/ai_infra/product_doc_base/public', - '/x-pack/plugins/ai_infra/product_doc_base/server', - '/x-pack/plugins/ai_infra/product_doc_base/common', + '/x-pack/platform/plugins/shared/inference/public', + '/x-pack/platform/plugins/shared/inference/server', + '/x-pack/platform/plugins/shared/inference/common', ], setupFiles: [], collectCoverage: true, collectCoverageFrom: [ - '/x-pack/plugins/ai_infra/product_doc_base/{public,server,common}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/shared/inference/{public,server,common}/**/*.{js,ts,tsx}', ], coverageReporters: ['html'], diff --git a/x-pack/plugins/inference/kibana.jsonc b/x-pack/platform/plugins/shared/inference/kibana.jsonc similarity index 100% rename from x-pack/plugins/inference/kibana.jsonc rename to x-pack/platform/plugins/shared/inference/kibana.jsonc diff --git a/x-pack/plugins/inference/public/chat_complete.test.ts b/x-pack/platform/plugins/shared/inference/public/chat_complete.test.ts similarity index 100% rename from x-pack/plugins/inference/public/chat_complete.test.ts rename to x-pack/platform/plugins/shared/inference/public/chat_complete.test.ts diff --git a/x-pack/plugins/inference/public/chat_complete.ts b/x-pack/platform/plugins/shared/inference/public/chat_complete.ts similarity index 100% rename from x-pack/plugins/inference/public/chat_complete.ts rename to x-pack/platform/plugins/shared/inference/public/chat_complete.ts diff --git a/x-pack/plugins/inference/public/index.ts b/x-pack/platform/plugins/shared/inference/public/index.ts similarity index 100% rename from x-pack/plugins/inference/public/index.ts rename to x-pack/platform/plugins/shared/inference/public/index.ts diff --git a/x-pack/plugins/inference/public/plugin.tsx b/x-pack/platform/plugins/shared/inference/public/plugin.tsx similarity index 100% rename from x-pack/plugins/inference/public/plugin.tsx rename to x-pack/platform/plugins/shared/inference/public/plugin.tsx diff --git a/x-pack/plugins/inference/public/types.ts b/x-pack/platform/plugins/shared/inference/public/types.ts similarity index 100% rename from x-pack/plugins/inference/public/types.ts rename to x-pack/platform/plugins/shared/inference/public/types.ts diff --git a/x-pack/plugins/inference/public/util/create_observable_from_http_response.ts b/x-pack/platform/plugins/shared/inference/public/util/create_observable_from_http_response.ts similarity index 100% rename from x-pack/plugins/inference/public/util/create_observable_from_http_response.ts rename to x-pack/platform/plugins/shared/inference/public/util/create_observable_from_http_response.ts diff --git a/x-pack/plugins/inference/public/util/http_response_into_observable.test.ts b/x-pack/platform/plugins/shared/inference/public/util/http_response_into_observable.test.ts similarity index 100% rename from x-pack/plugins/inference/public/util/http_response_into_observable.test.ts rename to x-pack/platform/plugins/shared/inference/public/util/http_response_into_observable.test.ts diff --git a/x-pack/plugins/inference/public/util/http_response_into_observable.ts b/x-pack/platform/plugins/shared/inference/public/util/http_response_into_observable.ts similarity index 100% rename from x-pack/plugins/inference/public/util/http_response_into_observable.ts rename to x-pack/platform/plugins/shared/inference/public/util/http_response_into_observable.ts diff --git a/x-pack/plugins/inference/scripts/evaluation/.eslintrc.json b/x-pack/platform/plugins/shared/inference/scripts/evaluation/.eslintrc.json similarity index 100% rename from x-pack/plugins/inference/scripts/evaluation/.eslintrc.json rename to x-pack/platform/plugins/shared/inference/scripts/evaluation/.eslintrc.json diff --git a/x-pack/plugins/inference/scripts/evaluation/README.md b/x-pack/platform/plugins/shared/inference/scripts/evaluation/README.md similarity index 94% rename from x-pack/plugins/inference/scripts/evaluation/README.md rename to x-pack/platform/plugins/shared/inference/scripts/evaluation/README.md index 39ba3426ba0d4..cdcb87513f14f 100644 --- a/x-pack/plugins/inference/scripts/evaluation/README.md +++ b/x-pack/platform/plugins/shared/inference/scripts/evaluation/README.md @@ -14,7 +14,7 @@ This tool is developed for the teams working on anything related to inference. I Run the tool using: -`$ node x-pack/plugins/inference/scripts/evaluation/index.js` +`$ node x-pack/platform/plugins/shared/inference/scripts/evaluation/index.js` This will evaluate all existing scenarios, and write the evaluation results to the terminal. diff --git a/x-pack/plugins/inference/scripts/evaluation/cli.ts b/x-pack/platform/plugins/shared/inference/scripts/evaluation/cli.ts similarity index 100% rename from x-pack/plugins/inference/scripts/evaluation/cli.ts rename to x-pack/platform/plugins/shared/inference/scripts/evaluation/cli.ts diff --git a/x-pack/plugins/inference/scripts/evaluation/evaluation.ts b/x-pack/platform/plugins/shared/inference/scripts/evaluation/evaluation.ts similarity index 100% rename from x-pack/plugins/inference/scripts/evaluation/evaluation.ts rename to x-pack/platform/plugins/shared/inference/scripts/evaluation/evaluation.ts diff --git a/x-pack/plugins/inference/scripts/evaluation/evaluation_client.ts b/x-pack/platform/plugins/shared/inference/scripts/evaluation/evaluation_client.ts similarity index 100% rename from x-pack/plugins/inference/scripts/evaluation/evaluation_client.ts rename to x-pack/platform/plugins/shared/inference/scripts/evaluation/evaluation_client.ts diff --git a/x-pack/plugins/inference/scripts/evaluation/index.js b/x-pack/platform/plugins/shared/inference/scripts/evaluation/index.js similarity index 100% rename from x-pack/plugins/inference/scripts/evaluation/index.js rename to x-pack/platform/plugins/shared/inference/scripts/evaluation/index.js diff --git a/x-pack/plugins/inference/scripts/evaluation/scenarios/esql/index.spec.ts b/x-pack/platform/plugins/shared/inference/scripts/evaluation/scenarios/esql/index.spec.ts similarity index 100% rename from x-pack/plugins/inference/scripts/evaluation/scenarios/esql/index.spec.ts rename to x-pack/platform/plugins/shared/inference/scripts/evaluation/scenarios/esql/index.spec.ts diff --git a/x-pack/plugins/inference/scripts/evaluation/services/index.ts b/x-pack/platform/plugins/shared/inference/scripts/evaluation/services/index.ts similarity index 100% rename from x-pack/plugins/inference/scripts/evaluation/services/index.ts rename to x-pack/platform/plugins/shared/inference/scripts/evaluation/services/index.ts diff --git a/x-pack/plugins/inference/scripts/evaluation/table_renderer.ts b/x-pack/platform/plugins/shared/inference/scripts/evaluation/table_renderer.ts similarity index 100% rename from x-pack/plugins/inference/scripts/evaluation/table_renderer.ts rename to x-pack/platform/plugins/shared/inference/scripts/evaluation/table_renderer.ts diff --git a/x-pack/plugins/inference/scripts/evaluation/types.ts b/x-pack/platform/plugins/shared/inference/scripts/evaluation/types.ts similarity index 100% rename from x-pack/plugins/inference/scripts/evaluation/types.ts rename to x-pack/platform/plugins/shared/inference/scripts/evaluation/types.ts diff --git a/x-pack/plugins/inference/scripts/load_esql_docs/README.md b/x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/README.md similarity index 100% rename from x-pack/plugins/inference/scripts/load_esql_docs/README.md rename to x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/README.md diff --git a/x-pack/plugins/inference/scripts/load_esql_docs/extract_doc_entries.ts b/x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/extract_doc_entries.ts similarity index 100% rename from x-pack/plugins/inference/scripts/load_esql_docs/extract_doc_entries.ts rename to x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/extract_doc_entries.ts diff --git a/x-pack/plugins/inference/scripts/load_esql_docs/generate_doc.ts b/x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/generate_doc.ts similarity index 100% rename from x-pack/plugins/inference/scripts/load_esql_docs/generate_doc.ts rename to x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/generate_doc.ts diff --git a/x-pack/plugins/inference/scripts/load_esql_docs/index.js b/x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/index.js similarity index 100% rename from x-pack/plugins/inference/scripts/load_esql_docs/index.js rename to x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/index.js diff --git a/x-pack/plugins/inference/scripts/load_esql_docs/load_esql_docs.ts b/x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/load_esql_docs.ts similarity index 100% rename from x-pack/plugins/inference/scripts/load_esql_docs/load_esql_docs.ts rename to x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/load_esql_docs.ts diff --git a/x-pack/plugins/inference/scripts/load_esql_docs/prompts/convert_to_markdown.ts b/x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/prompts/convert_to_markdown.ts similarity index 100% rename from x-pack/plugins/inference/scripts/load_esql_docs/prompts/convert_to_markdown.ts rename to x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/prompts/convert_to_markdown.ts diff --git a/x-pack/plugins/inference/scripts/load_esql_docs/prompts/create_documentation_page.ts b/x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/prompts/create_documentation_page.ts similarity index 100% rename from x-pack/plugins/inference/scripts/load_esql_docs/prompts/create_documentation_page.ts rename to x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/prompts/create_documentation_page.ts diff --git a/x-pack/plugins/inference/scripts/load_esql_docs/prompts/index.ts b/x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/prompts/index.ts similarity index 100% rename from x-pack/plugins/inference/scripts/load_esql_docs/prompts/index.ts rename to x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/prompts/index.ts diff --git a/x-pack/plugins/inference/scripts/load_esql_docs/prompts/rewrite_function_page.ts b/x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/prompts/rewrite_function_page.ts similarity index 100% rename from x-pack/plugins/inference/scripts/load_esql_docs/prompts/rewrite_function_page.ts rename to x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/prompts/rewrite_function_page.ts diff --git a/x-pack/plugins/inference/scripts/load_esql_docs/sync_built_docs_repo.ts b/x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/sync_built_docs_repo.ts similarity index 100% rename from x-pack/plugins/inference/scripts/load_esql_docs/sync_built_docs_repo.ts rename to x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/sync_built_docs_repo.ts diff --git a/x-pack/plugins/inference/scripts/load_esql_docs/utils/output_executor.ts b/x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/utils/output_executor.ts similarity index 100% rename from x-pack/plugins/inference/scripts/load_esql_docs/utils/output_executor.ts rename to x-pack/platform/plugins/shared/inference/scripts/load_esql_docs/utils/output_executor.ts diff --git a/x-pack/plugins/inference/scripts/util/cli_options.ts b/x-pack/platform/plugins/shared/inference/scripts/util/cli_options.ts similarity index 100% rename from x-pack/plugins/inference/scripts/util/cli_options.ts rename to x-pack/platform/plugins/shared/inference/scripts/util/cli_options.ts diff --git a/x-pack/plugins/inference/scripts/util/get_service_urls.ts b/x-pack/platform/plugins/shared/inference/scripts/util/get_service_urls.ts similarity index 100% rename from x-pack/plugins/inference/scripts/util/get_service_urls.ts rename to x-pack/platform/plugins/shared/inference/scripts/util/get_service_urls.ts diff --git a/x-pack/plugins/inference/scripts/util/kibana_client.ts b/x-pack/platform/plugins/shared/inference/scripts/util/kibana_client.ts similarity index 100% rename from x-pack/plugins/inference/scripts/util/kibana_client.ts rename to x-pack/platform/plugins/shared/inference/scripts/util/kibana_client.ts diff --git a/x-pack/plugins/inference/scripts/util/read_kibana_config.ts b/x-pack/platform/plugins/shared/inference/scripts/util/read_kibana_config.ts similarity index 98% rename from x-pack/plugins/inference/scripts/util/read_kibana_config.ts rename to x-pack/platform/plugins/shared/inference/scripts/util/read_kibana_config.ts index 7d539e881bee8..e6a44cbb4a549 100644 --- a/x-pack/plugins/inference/scripts/util/read_kibana_config.ts +++ b/x-pack/platform/plugins/shared/inference/scripts/util/read_kibana_config.ts @@ -13,7 +13,7 @@ import { identity, pickBy } from 'lodash'; export type KibanaConfig = ReturnType; export const readKibanaConfig = () => { - const kibanaConfigDir = path.join(__filename, '../../../../../../config'); + const kibanaConfigDir = path.join(__filename, '../../../../../../../../config'); const kibanaDevConfig = path.join(kibanaConfigDir, 'kibana.dev.yml'); const kibanaConfig = path.join(kibanaConfigDir, 'kibana.yml'); diff --git a/x-pack/plugins/inference/scripts/util/select_connector.ts b/x-pack/platform/plugins/shared/inference/scripts/util/select_connector.ts similarity index 100% rename from x-pack/plugins/inference/scripts/util/select_connector.ts rename to x-pack/platform/plugins/shared/inference/scripts/util/select_connector.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/bedrock/bedrock_claude_adapter.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/bedrock_claude_adapter.test.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/bedrock/bedrock_claude_adapter.test.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/bedrock_claude_adapter.test.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/bedrock/bedrock_claude_adapter.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/bedrock_claude_adapter.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/bedrock/bedrock_claude_adapter.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/bedrock_claude_adapter.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/bedrock/index.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/index.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/bedrock/index.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/index.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/bedrock/process_completion_chunks.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/process_completion_chunks.test.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/bedrock/process_completion_chunks.test.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/process_completion_chunks.test.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/bedrock/process_completion_chunks.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/process_completion_chunks.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/bedrock/process_completion_chunks.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/process_completion_chunks.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/bedrock/prompts.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/prompts.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/bedrock/prompts.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/prompts.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/bedrock/serde_eventstream_into_observable.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/serde_eventstream_into_observable.test.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/bedrock/serde_eventstream_into_observable.test.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/serde_eventstream_into_observable.test.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/bedrock/serde_eventstream_into_observable.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/serde_eventstream_into_observable.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/bedrock/serde_eventstream_into_observable.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/serde_eventstream_into_observable.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/bedrock/serde_utils.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/serde_utils.test.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/bedrock/serde_utils.test.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/serde_utils.test.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/bedrock/serde_utils.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/serde_utils.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/bedrock/serde_utils.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/serde_utils.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/bedrock/types.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/types.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/bedrock/types.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/bedrock/types.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/gemini/gemini_adapter.test.mocks.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/gemini_adapter.test.mocks.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/gemini/gemini_adapter.test.mocks.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/gemini_adapter.test.mocks.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/gemini/gemini_adapter.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/gemini_adapter.test.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/gemini/gemini_adapter.test.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/gemini_adapter.test.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/gemini/gemini_adapter.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/gemini_adapter.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/gemini/gemini_adapter.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/gemini_adapter.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/gemini/index.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/index.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/gemini/index.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/index.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/gemini/process_vertex_stream.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/process_vertex_stream.test.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/gemini/process_vertex_stream.test.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/process_vertex_stream.test.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/gemini/process_vertex_stream.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/process_vertex_stream.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/gemini/process_vertex_stream.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/process_vertex_stream.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/gemini/types.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/gemini/types.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/get_inference_adapter.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.test.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/get_inference_adapter.test.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.test.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/get_inference_adapter.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/get_inference_adapter.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/index.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/index.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/index.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/index.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/openai/index.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/index.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/openai/index.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/index.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/openai/openai_adapter.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/adapters/openai/openai_adapter.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.ts diff --git a/x-pack/plugins/inference/server/chat_complete/api.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/api.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/api.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/api.ts diff --git a/x-pack/plugins/inference/server/chat_complete/errors.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/errors.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/errors.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/errors.ts diff --git a/x-pack/plugins/inference/server/chat_complete/index.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/index.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/index.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/index.ts diff --git a/x-pack/plugins/inference/server/chat_complete/simulated_function_calling/constants.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/simulated_function_calling/constants.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/simulated_function_calling/constants.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/simulated_function_calling/constants.ts diff --git a/x-pack/plugins/inference/server/chat_complete/simulated_function_calling/get_system_instructions.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/simulated_function_calling/get_system_instructions.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/simulated_function_calling/get_system_instructions.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/simulated_function_calling/get_system_instructions.ts diff --git a/x-pack/plugins/inference/server/chat_complete/simulated_function_calling/index.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/simulated_function_calling/index.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/simulated_function_calling/index.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/simulated_function_calling/index.ts diff --git a/x-pack/plugins/inference/server/chat_complete/simulated_function_calling/parse_inline_function_calls.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/simulated_function_calling/parse_inline_function_calls.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/simulated_function_calling/parse_inline_function_calls.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/simulated_function_calling/parse_inline_function_calls.ts diff --git a/x-pack/plugins/inference/server/chat_complete/simulated_function_calling/wrap_with_simulated_function_calling.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/simulated_function_calling/wrap_with_simulated_function_calling.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/simulated_function_calling/wrap_with_simulated_function_calling.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/simulated_function_calling/wrap_with_simulated_function_calling.ts diff --git a/x-pack/plugins/inference/server/chat_complete/types.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/types.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/types.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/types.ts diff --git a/x-pack/plugins/inference/server/chat_complete/utils/chunks_into_message.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/chunks_into_message.test.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/utils/chunks_into_message.test.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/utils/chunks_into_message.test.ts diff --git a/x-pack/plugins/inference/server/chat_complete/utils/chunks_into_message.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/chunks_into_message.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/utils/chunks_into_message.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/utils/chunks_into_message.ts diff --git a/x-pack/plugins/inference/server/chat_complete/utils/index.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/index.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/utils/index.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/utils/index.ts diff --git a/x-pack/plugins/inference/server/chat_complete/utils/inference_executor.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.test.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/utils/inference_executor.test.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.test.ts diff --git a/x-pack/plugins/inference/server/chat_complete/utils/inference_executor.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/utils/inference_executor.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.ts diff --git a/x-pack/plugins/inference/server/chat_complete/utils/stream_to_response.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/stream_to_response.test.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/utils/stream_to_response.test.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/utils/stream_to_response.test.ts diff --git a/x-pack/plugins/inference/server/chat_complete/utils/stream_to_response.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/stream_to_response.ts similarity index 100% rename from x-pack/plugins/inference/server/chat_complete/utils/stream_to_response.ts rename to x-pack/platform/plugins/shared/inference/server/chat_complete/utils/stream_to_response.ts diff --git a/x-pack/plugins/inference/server/config.ts b/x-pack/platform/plugins/shared/inference/server/config.ts similarity index 100% rename from x-pack/plugins/inference/server/config.ts rename to x-pack/platform/plugins/shared/inference/server/config.ts diff --git a/x-pack/plugins/inference/server/index.ts b/x-pack/platform/plugins/shared/inference/server/index.ts similarity index 100% rename from x-pack/plugins/inference/server/index.ts rename to x-pack/platform/plugins/shared/inference/server/index.ts diff --git a/x-pack/plugins/inference/server/inference_client/bind_client.ts b/x-pack/platform/plugins/shared/inference/server/inference_client/bind_client.ts similarity index 100% rename from x-pack/plugins/inference/server/inference_client/bind_client.ts rename to x-pack/platform/plugins/shared/inference/server/inference_client/bind_client.ts diff --git a/x-pack/plugins/inference/server/inference_client/create_client.test.ts b/x-pack/platform/plugins/shared/inference/server/inference_client/create_client.test.ts similarity index 100% rename from x-pack/plugins/inference/server/inference_client/create_client.test.ts rename to x-pack/platform/plugins/shared/inference/server/inference_client/create_client.test.ts diff --git a/x-pack/plugins/inference/server/inference_client/create_client.ts b/x-pack/platform/plugins/shared/inference/server/inference_client/create_client.ts similarity index 100% rename from x-pack/plugins/inference/server/inference_client/create_client.ts rename to x-pack/platform/plugins/shared/inference/server/inference_client/create_client.ts diff --git a/x-pack/plugins/inference/server/inference_client/index.ts b/x-pack/platform/plugins/shared/inference/server/inference_client/index.ts similarity index 100% rename from x-pack/plugins/inference/server/inference_client/index.ts rename to x-pack/platform/plugins/shared/inference/server/inference_client/index.ts diff --git a/x-pack/plugins/inference/server/inference_client/inference_client.ts b/x-pack/platform/plugins/shared/inference/server/inference_client/inference_client.ts similarity index 100% rename from x-pack/plugins/inference/server/inference_client/inference_client.ts rename to x-pack/platform/plugins/shared/inference/server/inference_client/inference_client.ts diff --git a/x-pack/plugins/inference/server/inference_client/types.ts b/x-pack/platform/plugins/shared/inference/server/inference_client/types.ts similarity index 100% rename from x-pack/plugins/inference/server/inference_client/types.ts rename to x-pack/platform/plugins/shared/inference/server/inference_client/types.ts diff --git a/x-pack/plugins/inference/server/plugin.ts b/x-pack/platform/plugins/shared/inference/server/plugin.ts similarity index 100% rename from x-pack/plugins/inference/server/plugin.ts rename to x-pack/platform/plugins/shared/inference/server/plugin.ts diff --git a/x-pack/plugins/inference/server/routes/chat_complete.ts b/x-pack/platform/plugins/shared/inference/server/routes/chat_complete.ts similarity index 100% rename from x-pack/plugins/inference/server/routes/chat_complete.ts rename to x-pack/platform/plugins/shared/inference/server/routes/chat_complete.ts diff --git a/x-pack/plugins/inference/server/routes/connectors.ts b/x-pack/platform/plugins/shared/inference/server/routes/connectors.ts similarity index 100% rename from x-pack/plugins/inference/server/routes/connectors.ts rename to x-pack/platform/plugins/shared/inference/server/routes/connectors.ts diff --git a/x-pack/plugins/inference/server/routes/index.ts b/x-pack/platform/plugins/shared/inference/server/routes/index.ts similarity index 100% rename from x-pack/plugins/inference/server/routes/index.ts rename to x-pack/platform/plugins/shared/inference/server/routes/index.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/actions/generate_esql.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/actions/generate_esql.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/actions/generate_esql.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/actions/generate_esql.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/actions/index.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/actions/index.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/actions/index.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/actions/index.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/actions/request_documentation.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/actions/request_documentation.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/actions/request_documentation.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/actions/request_documentation.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/actions/shared.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/actions/shared.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/actions/shared.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/actions/shared.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/doc_base/aliases.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/doc_base/aliases.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/doc_base/aliases.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/doc_base/aliases.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/doc_base/esql_doc_base.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/doc_base/esql_doc_base.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/doc_base/esql_doc_base.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/doc_base/esql_doc_base.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/doc_base/index.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/doc_base/index.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/doc_base/index.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/doc_base/index.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/doc_base/load_data.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/doc_base/load_data.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/doc_base/load_data.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/doc_base/load_data.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/doc_base/suggestions.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/doc_base/suggestions.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/doc_base/suggestions.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/doc_base/suggestions.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/doc_base/types.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/doc_base/types.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/doc_base/types.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/doc_base/types.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-abs.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-abs.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-abs.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-abs.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-acos.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-acos.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-acos.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-acos.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-asin.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-asin.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-asin.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-asin.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-atan.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-atan.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-atan.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-atan.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-atan2.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-atan2.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-atan2.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-atan2.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-avg.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-avg.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-avg.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-avg.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-bucket.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-bucket.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-bucket.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-bucket.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-case.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-case.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-case.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-case.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-cbrt.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-cbrt.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-cbrt.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-cbrt.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-ceil.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-ceil.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-ceil.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-ceil.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-cidr_match.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-cidr_match.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-cidr_match.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-cidr_match.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-coalesce.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-coalesce.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-coalesce.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-coalesce.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-concat.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-concat.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-concat.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-concat.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-cos.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-cos.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-cos.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-cos.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-cosh.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-cosh.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-cosh.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-cosh.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-count.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-count.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-count.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-count.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-count_distinct.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-count_distinct.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-count_distinct.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-count_distinct.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-date_diff.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-date_diff.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-date_diff.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-date_diff.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-date_extract.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-date_extract.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-date_extract.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-date_extract.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-date_format.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-date_format.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-date_format.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-date_format.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-date_parse.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-date_parse.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-date_parse.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-date_parse.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-date_trunc.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-date_trunc.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-date_trunc.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-date_trunc.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-dissect.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-dissect.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-dissect.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-dissect.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-drop.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-drop.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-drop.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-drop.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-e.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-e.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-e.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-e.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-ends_with.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-ends_with.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-ends_with.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-ends_with.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-enrich.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-enrich.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-enrich.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-enrich.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-eval.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-eval.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-eval.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-eval.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-exp.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-exp.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-exp.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-exp.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-floor.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-floor.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-floor.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-floor.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-from.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-from.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-from.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-from.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-from_base64.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-from_base64.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-from_base64.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-from_base64.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-greatest.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-greatest.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-greatest.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-greatest.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-grok.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-grok.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-grok.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-grok.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-ip_prefix.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-ip_prefix.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-ip_prefix.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-ip_prefix.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-keep.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-keep.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-keep.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-keep.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-least.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-least.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-least.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-least.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-left.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-left.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-left.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-left.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-length.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-length.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-length.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-length.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-limit.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-limit.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-limit.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-limit.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-locate.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-locate.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-locate.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-locate.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-log.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-log.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-log.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-log.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-log10.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-log10.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-log10.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-log10.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-lookup.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-lookup.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-lookup.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-lookup.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-ltrim.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-ltrim.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-ltrim.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-ltrim.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-max.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-max.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-max.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-max.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-median.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-median.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-median.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-median.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-median_absolute_deviation.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-median_absolute_deviation.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-median_absolute_deviation.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-median_absolute_deviation.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-min.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-min.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-min.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-min.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_append.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_append.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_append.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_append.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_avg.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_avg.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_avg.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_avg.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_concat.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_concat.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_concat.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_concat.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_count.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_count.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_count.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_count.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_dedupe.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_dedupe.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_dedupe.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_dedupe.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_expand.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_expand.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_expand.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_expand.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_first.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_first.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_first.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_first.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_last.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_last.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_last.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_last.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_max.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_max.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_max.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_max.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_median.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_median.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_median.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_median.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_min.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_min.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_min.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_min.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_pseries_weighted_sum.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_pseries_weighted_sum.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_pseries_weighted_sum.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_pseries_weighted_sum.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_slice.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_slice.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_slice.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_slice.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_sort.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_sort.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_sort.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_sort.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_sum.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_sum.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_sum.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_sum.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_zip.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_zip.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_zip.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-mv_zip.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-now.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-now.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-now.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-now.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-operators.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-operators.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-operators.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-operators.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-overview.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-overview.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-overview.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-overview.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-percentile.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-percentile.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-percentile.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-percentile.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-pi.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-pi.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-pi.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-pi.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-pow.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-pow.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-pow.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-pow.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-rename.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-rename.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-rename.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-rename.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-repeat.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-repeat.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-repeat.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-repeat.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-replace.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-replace.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-replace.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-replace.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-right.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-right.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-right.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-right.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-round.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-round.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-round.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-round.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-row.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-row.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-row.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-row.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-rtrim.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-rtrim.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-rtrim.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-rtrim.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-show.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-show.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-show.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-show.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-signum.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-signum.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-signum.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-signum.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-sin.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-sin.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-sin.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-sin.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-sinh.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-sinh.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-sinh.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-sinh.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-sort.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-sort.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-sort.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-sort.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-split.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-split.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-split.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-split.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-sqrt.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-sqrt.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-sqrt.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-sqrt.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_centroid_agg.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_centroid_agg.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_centroid_agg.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_centroid_agg.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_contains.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_contains.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_contains.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_contains.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_disjoint.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_disjoint.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_disjoint.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_disjoint.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_distance.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_distance.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_distance.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_distance.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_intersects.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_intersects.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_intersects.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_intersects.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_within.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_within.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_within.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_within.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_x.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_x.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_x.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_x.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_y.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_y.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-st_y.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-st_y.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-starts_with.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-starts_with.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-starts_with.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-starts_with.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-stats.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-stats.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-stats.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-stats.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-substring.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-substring.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-substring.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-substring.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-sum.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-sum.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-sum.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-sum.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-syntax.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-syntax.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-syntax.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-syntax.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-tan.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-tan.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-tan.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-tan.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-tanh.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-tanh.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-tanh.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-tanh.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-tau.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-tau.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-tau.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-tau.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_base64.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_base64.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_base64.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_base64.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_boolean.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_boolean.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_boolean.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_boolean.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_cartesianpoint.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_cartesianpoint.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_cartesianpoint.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_cartesianpoint.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_cartesianshape.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_cartesianshape.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_cartesianshape.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_cartesianshape.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_datetime.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_datetime.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_datetime.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_datetime.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_degrees.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_degrees.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_degrees.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_degrees.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_double.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_double.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_double.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_double.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_geopoint.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_geopoint.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_geopoint.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_geopoint.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_geoshape.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_geoshape.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_geoshape.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_geoshape.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_integer.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_integer.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_integer.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_integer.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_ip.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_ip.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_ip.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_ip.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_long.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_long.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_long.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_long.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_lower.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_lower.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_lower.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_lower.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_radians.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_radians.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_radians.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_radians.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_string.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_string.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_string.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_string.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_unsigned_long.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_unsigned_long.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_unsigned_long.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_unsigned_long.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_upper.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_upper.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_upper.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_upper.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_version.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_version.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-to_version.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-to_version.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-top.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-top.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-top.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-top.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-trim.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-trim.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-trim.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-trim.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-values.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-values.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-values.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-values.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-weighted_avg.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-weighted_avg.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-weighted_avg.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-weighted_avg.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-where.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-where.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/esql_docs/esql-where.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/esql_docs/esql-where.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/index.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/index.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/index.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/index.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/system_message.txt b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/system_message.txt similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/system_message.txt rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/system_message.txt diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/task.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/task.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/task.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/task.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/types.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/types.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/types.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/types.ts diff --git a/x-pack/plugins/inference/server/tasks/nl_to_esql/validate_esql_query.ts b/x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/validate_esql_query.ts similarity index 100% rename from x-pack/plugins/inference/server/tasks/nl_to_esql/validate_esql_query.ts rename to x-pack/platform/plugins/shared/inference/server/tasks/nl_to_esql/validate_esql_query.ts diff --git a/x-pack/plugins/inference/server/test_utils/chat_complete_events.ts b/x-pack/platform/plugins/shared/inference/server/test_utils/chat_complete_events.ts similarity index 100% rename from x-pack/plugins/inference/server/test_utils/chat_complete_events.ts rename to x-pack/platform/plugins/shared/inference/server/test_utils/chat_complete_events.ts diff --git a/x-pack/plugins/inference/server/types.ts b/x-pack/platform/plugins/shared/inference/server/types.ts similarity index 100% rename from x-pack/plugins/inference/server/types.ts rename to x-pack/platform/plugins/shared/inference/server/types.ts diff --git a/x-pack/plugins/inference/server/util/event_source_stream_into_observable.test.ts b/x-pack/platform/plugins/shared/inference/server/util/event_source_stream_into_observable.test.ts similarity index 100% rename from x-pack/plugins/inference/server/util/event_source_stream_into_observable.test.ts rename to x-pack/platform/plugins/shared/inference/server/util/event_source_stream_into_observable.test.ts diff --git a/x-pack/plugins/inference/server/util/event_source_stream_into_observable.ts b/x-pack/platform/plugins/shared/inference/server/util/event_source_stream_into_observable.ts similarity index 100% rename from x-pack/plugins/inference/server/util/event_source_stream_into_observable.ts rename to x-pack/platform/plugins/shared/inference/server/util/event_source_stream_into_observable.ts diff --git a/x-pack/plugins/inference/server/util/get_connector_by_id.test.ts b/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.test.ts similarity index 100% rename from x-pack/plugins/inference/server/util/get_connector_by_id.test.ts rename to x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.test.ts diff --git a/x-pack/plugins/inference/server/util/get_connector_by_id.ts b/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.ts similarity index 100% rename from x-pack/plugins/inference/server/util/get_connector_by_id.ts rename to x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.ts diff --git a/x-pack/plugins/inference/server/util/observable_into_event_source_stream.test.ts b/x-pack/platform/plugins/shared/inference/server/util/observable_into_event_source_stream.test.ts similarity index 100% rename from x-pack/plugins/inference/server/util/observable_into_event_source_stream.test.ts rename to x-pack/platform/plugins/shared/inference/server/util/observable_into_event_source_stream.test.ts diff --git a/x-pack/plugins/inference/server/util/observable_into_event_source_stream.ts b/x-pack/platform/plugins/shared/inference/server/util/observable_into_event_source_stream.ts similarity index 100% rename from x-pack/plugins/inference/server/util/observable_into_event_source_stream.ts rename to x-pack/platform/plugins/shared/inference/server/util/observable_into_event_source_stream.ts diff --git a/x-pack/plugins/inference/server/util/validate_tool_calls.test.ts b/x-pack/platform/plugins/shared/inference/server/util/validate_tool_calls.test.ts similarity index 100% rename from x-pack/plugins/inference/server/util/validate_tool_calls.test.ts rename to x-pack/platform/plugins/shared/inference/server/util/validate_tool_calls.test.ts diff --git a/x-pack/plugins/inference/server/util/validate_tool_calls.ts b/x-pack/platform/plugins/shared/inference/server/util/validate_tool_calls.ts similarity index 100% rename from x-pack/plugins/inference/server/util/validate_tool_calls.ts rename to x-pack/platform/plugins/shared/inference/server/util/validate_tool_calls.ts diff --git a/x-pack/plugins/inference/tsconfig.json b/x-pack/platform/plugins/shared/inference/tsconfig.json similarity index 89% rename from x-pack/plugins/inference/tsconfig.json rename to x-pack/platform/plugins/shared/inference/tsconfig.json index 92327007829a9..1e012239f06cf 100644 --- a/x-pack/plugins/inference/tsconfig.json +++ b/x-pack/platform/plugins/shared/inference/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../typings/**/*", + "../../../../../typings/**/*", "common/**/*", "public/**/*", "typings/**/*", diff --git a/yarn.lock b/yarn.lock index 6b7bd8e56b189..67571d31600ab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5936,11 +5936,11 @@ version "0.0.0" uid "" -"@kbn/inference-common@link:x-pack/packages/ai-infra/inference-common": +"@kbn/inference-common@link:x-pack/platform/packages/shared/ai-infra/inference-common": version "0.0.0" uid "" -"@kbn/inference-plugin@link:x-pack/plugins/inference": +"@kbn/inference-plugin@link:x-pack/platform/plugins/shared/inference": version "0.0.0" uid "" @@ -6136,7 +6136,7 @@ version "0.0.0" uid "" -"@kbn/llm-tasks-plugin@link:x-pack/plugins/ai_infra/llm_tasks": +"@kbn/llm-tasks-plugin@link:x-pack/platform/plugins/shared/ai_infra/llm_tasks": version "0.0.0" uid "" @@ -6624,11 +6624,11 @@ version "0.0.0" uid "" -"@kbn/product-doc-base-plugin@link:x-pack/plugins/ai_infra/product_doc_base": +"@kbn/product-doc-base-plugin@link:x-pack/platform/plugins/shared/ai_infra/product_doc_base": version "0.0.0" uid "" -"@kbn/product-doc-common@link:x-pack/packages/ai-infra/product-doc-common": +"@kbn/product-doc-common@link:x-pack/platform/packages/shared/ai-infra/product-doc-common": version "0.0.0" uid "" From 2fa8f47064c9aeac378f9c547dc13482de7cb566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20=C3=81brah=C3=A1m?= Date: Tue, 10 Dec 2024 11:46:03 +0100 Subject: [PATCH 058/103] [EDR Workflows] Fix Endpoint list RBAC problems (#199803) ## Summary This PR fixes multiple Endpoint list privilege issues. It can be reviewed commit-by-commit so the fixes are mostly separated (although some solutions and tests are reused, hence the reason to have them in one pr): - a3311ad2d05f139a91f0d39816e63c41edc26d80 fixes issue when during onboarding (no hosts, policies are indiferent) calls are made to `GET api/fleet/package_policies` without correct privilege (needs policy management READ or fleet:READ+integration:READ), and causes `Forbidden` page. ([issue](https://github.com/elastic/security-team/issues/10581)) _UI_: we display the usual 'onboarding without correct privileges' UI for users image - 63ca0113e9177521c23088a23eb252f78336f49b fixes issue when during onboarding (no hosts, no policies) the `Add Elastic Defend` button was shown when user had `Fleet:ALL` and `Integrations:READ` privilege, while both should be `ALL` in order to be able to create an integration policy ([issue](https://github.com/elastic/security-team/issues/10765)) _UI_: the 'Add Elastic Defend' button is hidden, so the result is the same as above https://github.com/user-attachments/assets/87fe3a95-131d-484b-8ca0-d06c4caafee1 - ffafa14f7d42ec909f7207cc7b0ef9b060fed720 fixes issue when after having hosts in Endpoint list and we're calling `POST api/fleet/package_policies/_bulk_get` without privilege (needs policy management READ or fleet:READ+integration:READ), which does not cause any visible issue, but is logged to dev console ([issue](https://github.com/elastic/security-team/issues/10580)) some additions: - c7021b38b9d94184797f762d51c6a81959e2abd6 adds an acceptance test for all 3 issues above, with failing test run [here](https://buildkite.com/elastic/kibana-pull-request/builds/250428#019320cf-c433-4979-a998-d0f8b8f7be16). - 8e108477bd12112aff56d24278904ac53379381f enables policy list integration test, this closes #169133 ### Checklist Delete any items that are not applicable to this PR. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: Elastic Machine --- .../endpoint/service/authz/authz.test.ts | 135 +++++++++--- .../common/endpoint/service/authz/authz.ts | 32 +++ .../common/endpoint/types/authz.ts | 2 + .../components/management_empty_state.tsx | 12 +- .../endpoints_rbac_mocked_data.cy.ts | 201 ++++++++++++++++++ .../endpoint_hosts/store/middleware.test.ts | 134 ++++++++++-- .../pages/endpoint_hosts/store/middleware.ts | 51 +++-- .../pages/endpoint_hosts/view/index.test.tsx | 5 + .../integration_tests/policy_list.test.tsx | 95 ++++++--- 9 files changed, 568 insertions(+), 99 deletions(-) create mode 100644 x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint_list/endpoints_rbac_mocked_data.cy.ts diff --git a/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.test.ts b/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.test.ts index 3772635ef2d33..fc616d9a073ea 100644 --- a/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.test.ts +++ b/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.test.ts @@ -5,7 +5,11 @@ * 2.0. */ -import { calculateEndpointAuthz, getEndpointAuthzInitialState } from './authz'; +import { + calculateEndpointAuthz, + canFetchPackageAndAgentPolicies, + getEndpointAuthzInitialState, +} from './authz'; import type { FleetAuthz } from '@kbn/fleet-plugin/common'; import { createFleetAuthzMock } from '@kbn/fleet-plugin/common/mocks'; import { createLicenseServiceMock } from '../../../license/mocks'; @@ -15,6 +19,7 @@ import { RESPONSE_CONSOLE_ACTION_COMMANDS_TO_RBAC_FEATURE_CONTROL, type ResponseConsoleRbacControls, } from '../response_actions/constants'; +import type { Capabilities } from '@kbn/core-capabilities-common'; describe('Endpoint Authz service', () => { let licenseService: ReturnType; @@ -91,48 +96,53 @@ describe('Endpoint Authz service', () => { ); }); - it('should not give canAccessFleet if `fleet.all` is false', () => { - fleetAuthz.fleet.all = false; - expect(calculateEndpointAuthz(licenseService, fleetAuthz, userRoles).canAccessFleet).toBe( - false - ); - }); + describe('Fleet', () => { + [true, false].forEach((value) => { + it(`should set canAccessFleet to ${value} if \`fleet.all\` is ${value}`, () => { + fleetAuthz.fleet.all = value; + expect(calculateEndpointAuthz(licenseService, fleetAuthz, userRoles).canAccessFleet).toBe( + value + ); + }); - it('should not give canReadFleetAgents if `fleet.readAgents` is false', () => { - fleetAuthz.fleet.readAgents = false; - expect(calculateEndpointAuthz(licenseService, fleetAuthz, userRoles).canReadFleetAgents).toBe( - false - ); - }); + it(`should set canReadFleetAgents to ${value} if \`fleet.readAgents\` is ${value}`, () => { + fleetAuthz.fleet.readAgents = value; + expect( + calculateEndpointAuthz(licenseService, fleetAuthz, userRoles).canReadFleetAgents + ).toBe(value); + }); - it('should not give canWriteFleetAgents if `fleet.allAgents` is false', () => { - fleetAuthz.fleet.allAgents = false; - expect( - calculateEndpointAuthz(licenseService, fleetAuthz, userRoles).canWriteFleetAgents - ).toBe(false); - }); + it(`should set canWriteFleetAgents to ${value} if \`fleet.allAgents\` is ${value}`, () => { + fleetAuthz.fleet.allAgents = value; + expect( + calculateEndpointAuthz(licenseService, fleetAuthz, userRoles).canWriteFleetAgents + ).toBe(value); + }); - it('should not give canReadFleetAgentPolicies if `fleet.readAgentPolicies` is false', () => { - fleetAuthz.fleet.readAgentPolicies = false; - expect( - calculateEndpointAuthz(licenseService, fleetAuthz, userRoles).canReadFleetAgentPolicies - ).toBe(false); + it(`should set canReadFleetAgentPolicies to ${value} if \`fleet.readAgentPolicies\` is ${value}`, () => { + fleetAuthz.fleet.readAgentPolicies = value; + expect( + calculateEndpointAuthz(licenseService, fleetAuthz, userRoles).canReadFleetAgentPolicies + ).toBe(value); + }); + + it(`should set canWriteIntegrationPolicies to ${value} if \`integrations.writeIntegrationPolicies\` is ${value}`, () => { + fleetAuthz.integrations.writeIntegrationPolicies = value; + expect( + calculateEndpointAuthz(licenseService, fleetAuthz, userRoles) + .canWriteIntegrationPolicies + ).toBe(value); + }); + }); }); - it('should not give canAccessEndpointManagement if not superuser', () => { + it('should set canAccessEndpointManagement if not superuser', () => { userRoles = []; expect( calculateEndpointAuthz(licenseService, fleetAuthz, userRoles).canAccessEndpointManagement ).toBe(false); }); - it('should give canAccessFleet if `fleet.all` is true', () => { - fleetAuthz.fleet.all = true; - expect(calculateEndpointAuthz(licenseService, fleetAuthz, userRoles).canAccessFleet).toBe( - true - ); - }); - it('should give canAccessEndpointManagement if superuser', () => { userRoles = ['superuser']; expect( @@ -303,6 +313,7 @@ describe('Endpoint Authz service', () => { canReadFleetAgentPolicies: false, canReadFleetAgents: false, canWriteFleetAgents: false, + canWriteIntegrationPolicies: false, canAccessEndpointActionsLogManagement: false, canAccessEndpointManagement: false, canCreateArtifactsByPolicy: false, @@ -336,4 +347,64 @@ describe('Endpoint Authz service', () => { }); }); }); + + describe('canFetchPackageAndAgentPolicies()', () => { + describe('without granular Fleet permissions', () => { + it.each` + readFleet | readIntegrations | readPolicyManagement | result + ${false} | ${false} | ${false} | ${false} + ${true} | ${false} | ${false} | ${false} + ${false} | ${true} | ${false} | ${false} + ${true} | ${true} | ${false} | ${true} + ${false} | ${false} | ${true} | ${true} + ${true} | ${false} | ${true} | ${true} + ${false} | ${true} | ${true} | ${true} + ${true} | ${true} | ${true} | ${true} + `( + 'should return $result when readFleet is $readFleet, readIntegrations is $readIntegrations and readPolicyManagement is $readPolicyManagement', + ({ readFleet, readIntegrations, readPolicyManagement, result }) => { + const capabilities: Partial = { + siem: { readPolicyManagement }, + fleetv2: { read: readFleet }, + fleet: { read: readIntegrations }, + }; + + expect(canFetchPackageAndAgentPolicies(capabilities as Capabilities)).toBe(result); + } + ); + }); + + describe('with granular Fleet permissions', () => { + it.each` + readFleet | readAgentPolicies | readIntegrations | readPolicyManagement | result + ${false} | ${false} | ${false} | ${false} | ${false} + ${false} | ${false} | ${true} | ${false} | ${false} + ${false} | ${false} | ${false} | ${true} | ${true} + ${false} | ${false} | ${true} | ${true} | ${true} + ${false} | ${true} | ${false} | ${false} | ${false} + ${false} | ${true} | ${true} | ${false} | ${false} + ${false} | ${true} | ${false} | ${true} | ${true} + ${false} | ${true} | ${true} | ${true} | ${true} + ${true} | ${false} | ${false} | ${false} | ${false} + ${true} | ${false} | ${true} | ${false} | ${false} + ${true} | ${false} | ${false} | ${true} | ${true} + ${true} | ${false} | ${true} | ${true} | ${true} + ${true} | ${true} | ${false} | ${false} | ${false} + ${true} | ${true} | ${true} | ${false} | ${true} + ${true} | ${true} | ${false} | ${true} | ${true} + ${true} | ${true} | ${true} | ${true} | ${true} + `( + 'should return $result when readAgentPolicies is $readAgentPolicies, readFleet is $readFleet, readIntegrations is $readIntegrations and readPolicyManagement is $readPolicyManagement', + ({ readAgentPolicies, readFleet, readIntegrations, readPolicyManagement, result }) => { + const capabilities: Partial = { + siem: { readPolicyManagement }, + fleetv2: { read: readFleet, agent_policies_read: readAgentPolicies }, + fleet: { read: readIntegrations }, + }; + + expect(canFetchPackageAndAgentPolicies(capabilities as Capabilities)).toBe(result); + } + ); + }); + }); }); diff --git a/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.ts b/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.ts index 7b058e543e28f..f5af3f6c1ef24 100644 --- a/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.ts +++ b/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.ts @@ -8,6 +8,7 @@ import type { ENDPOINT_PRIVILEGES, FleetAuthz } from '@kbn/fleet-plugin/common'; import { omit } from 'lodash'; +import type { Capabilities } from '@kbn/core-capabilities-common'; import type { ProductFeaturesService } from '../../../../server/lib/product_features_service'; import { RESPONSE_CONSOLE_ACTION_COMMANDS_TO_REQUIRED_AUTHZ } from '../response_actions/constants'; import type { LicenseService } from '../../../license'; @@ -99,10 +100,19 @@ export const calculateEndpointAuthz = ( const authz: EndpointAuthz = { canWriteSecuritySolution, canReadSecuritySolution, + + // --------------------------------------------------------- + // Coming from Fleet authz + // --------------------------------------------------------- canAccessFleet: fleetAuthz?.fleet.all ?? false, canReadFleetAgentPolicies: fleetAuthz?.fleet.readAgentPolicies ?? false, canWriteFleetAgents: fleetAuthz?.fleet.allAgents ?? false, canReadFleetAgents: fleetAuthz?.fleet.readAgents ?? false, + canWriteIntegrationPolicies: fleetAuthz?.integrations.writeIntegrationPolicies ?? false, + + // --------------------------------------------------------- + // Endpoint & policy management + // --------------------------------------------------------- canAccessEndpointManagement: hasEndpointManagementAccess, // TODO: is this one deprecated? it is the only place we need to check for superuser. canCreateArtifactsByPolicy: isPlatinumPlusLicense, canWriteEndpointList, @@ -166,6 +176,7 @@ export const getEndpointAuthzInitialState = (): EndpointAuthz => { canReadFleetAgentPolicies: false, canReadFleetAgents: false, canWriteFleetAgents: false, + canWriteIntegrationPolicies: false, canAccessEndpointActionsLogManagement: false, canAccessEndpointManagement: false, canCreateArtifactsByPolicy: false, @@ -198,3 +209,24 @@ export const getEndpointAuthzInitialState = (): EndpointAuthz => { canWriteEndpointExceptions: false, }; }; + +/** + * Duplicate logic to calculate if user has privilege to fetch Agent Policies, + * working only with Capabilities, in order to be able to use it e.g. in middleware. + * + * The logic works with Fleet granular privileges (`subfeaturePrivileges`) both enabled and disabled. + * + * @param capabilities Capabilities from coreStart.application + */ +export const canFetchPackageAndAgentPolicies = (capabilities: Capabilities): boolean => { + const canReadPolicyManagement = Boolean(capabilities.siem?.readPolicyManagement); + + const fleetv2 = capabilities.fleetv2; + const canReadFleetAgentPolicies = Boolean( + fleetv2?.read && (fleetv2?.agent_policies_read ?? true) + ); + + const canReadIntegrations = Boolean(capabilities.fleet?.read); + + return canReadPolicyManagement || (canReadFleetAgentPolicies && canReadIntegrations); +}; diff --git a/x-pack/plugins/security_solution/common/endpoint/types/authz.ts b/x-pack/plugins/security_solution/common/endpoint/types/authz.ts index 6a326479ce8ae..45fc9595405b7 100644 --- a/x-pack/plugins/security_solution/common/endpoint/types/authz.ts +++ b/x-pack/plugins/security_solution/common/endpoint/types/authz.ts @@ -22,6 +22,8 @@ export interface EndpointAuthz { canReadFleetAgents: boolean; /** If the user has permissions to write Fleet Agents */ canWriteFleetAgents: boolean; + /** If the user has permissions to write Integration policies in the Fleet app */ + canWriteIntegrationPolicies: boolean; /** If the user has permissions to access Endpoint management (includes check to ensure they also have access to fleet) */ canAccessEndpointManagement: boolean; /** If the user has permissions to access Actions Log management and also has a platinum license (used for endpoint details flyout) */ diff --git a/x-pack/plugins/security_solution/public/management/components/management_empty_state.tsx b/x-pack/plugins/security_solution/public/management/components/management_empty_state.tsx index 2408dad4f39f3..7a1bdfa864c34 100644 --- a/x-pack/plugins/security_solution/public/management/components/management_empty_state.tsx +++ b/x-pack/plugins/security_solution/public/management/components/management_empty_state.tsx @@ -74,7 +74,11 @@ const PolicyEmptyState = React.memo<{ policyEntryPoint?: boolean; }>(({ loading, onActionClick, actionDisabled, policyEntryPoint = false }) => { const docLinks = useKibana().services.docLinks; - const { canAccessFleet, loading: authzLoading } = useUserPrivileges().endpointPrivileges; + const { + canAccessFleet, + canWriteIntegrationPolicies, + loading: authzLoading, + } = useUserPrivileges().endpointPrivileges; return (
@@ -134,7 +138,7 @@ const PolicyEmptyState = React.memo<{ {authzLoading && } - {!authzLoading && canAccessFleet && ( + {!authzLoading && canAccessFleet && canWriteIntegrationPolicies && ( <> @@ -156,7 +160,9 @@ const PolicyEmptyState = React.memo<{ )} - {!authzLoading && !canAccessFleet && } + {!authzLoading && !(canAccessFleet && canWriteIntegrationPolicies) && ( + + )} diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint_list/endpoints_rbac_mocked_data.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint_list/endpoints_rbac_mocked_data.cy.ts new file mode 100644 index 0000000000000..62786effd8303 --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint_list/endpoints_rbac_mocked_data.cy.ts @@ -0,0 +1,201 @@ +/* + * Copyright 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 { PACKAGE_POLICY_API_ROUTES } from '@kbn/fleet-plugin/common/constants/routes'; +import type { IndexedFleetEndpointPolicyResponse } from '../../../../../common/endpoint/data_loaders/index_fleet_endpoint_policy'; +import { getT1Analyst } from '../../../../../scripts/endpoint/common/roles_users'; +import { APP_ENDPOINTS_PATH } from '../../../../../common/constants'; +import type { ReturnTypeFromChainable } from '../../types'; +import { indexEndpointHosts } from '../../tasks/index_endpoint_hosts'; +import { login } from '../../tasks/login'; +import { loadPage } from '../../tasks/common'; + +describe('Endpoints RBAC', { tags: ['@ess'] }, () => { + type Privilege = 'all' | 'read' | 'none'; + const PRIVILEGES: Privilege[] = ['none', 'read', 'all']; + + const loginWithCustomRole: (privileges: { + integrationsPrivilege?: Privilege; + fleetPrivilege?: Privilege; + endpointPolicyManagementPrivilege?: Privilege; + }) => void = ({ + integrationsPrivilege = 'none', + fleetPrivilege = 'none', + endpointPolicyManagementPrivilege = 'none', + }) => { + const base = getT1Analyst(); + + const customRole: typeof base = { + ...base, + kibana: [ + { + ...base.kibana[0], + feature: { + ...base.kibana[0].feature, + siem: [ + ...base.kibana[0].feature.siem, + `endpoint_list_all`, + `policy_management_${endpointPolicyManagementPrivilege}`, + ], + fleet: [integrationsPrivilege], + fleetv2: [fleetPrivilege], + }, + }, + ], + }; + + login.withCustomRole({ name: 'customRole', ...customRole }); + }; + + beforeEach(() => { + login(); + }); + + describe('neither Defend policy nor hosts are present', () => { + for (const endpointPolicyManagementPrivilege of PRIVILEGES) { + describe(`endpoint policy management privilege is ${endpointPolicyManagementPrivilege}`, () => { + for (const fleetPrivilege of PRIVILEGES) { + for (const integrationsPrivilege of PRIVILEGES) { + const shouldAllowOnboarding = + fleetPrivilege === 'all' && integrationsPrivilege === 'all'; + + it(`should show onboarding screen ${ + shouldAllowOnboarding ? 'with' : 'without' + } 'Add Elastic Defend' button with fleet:${fleetPrivilege} and integrations:${integrationsPrivilege}`, () => { + loginWithCustomRole({ + endpointPolicyManagementPrivilege, + fleetPrivilege, + integrationsPrivilege, + }); + + loadPage(APP_ENDPOINTS_PATH); + + cy.getByTestSubj('policyOnboardingInstructions').should('exist'); + if (shouldAllowOnboarding) { + cy.getByTestSubj('onboardingStartButton').should('exist'); + } else { + cy.getByTestSubj('onboardingStartButton').should('not.exist'); + } + }); + } + } + }); + } + }); + + describe('Defend policy is present, but no hosts', () => { + let loadedPolicyData: IndexedFleetEndpointPolicyResponse; + + before(() => { + cy.task( + 'indexFleetEndpointPolicy', + { policyName: 'tests-serverless' }, + { timeout: 5 * 60 * 1000 } + ).then((res) => { + const response = res as IndexedFleetEndpointPolicyResponse; + loadedPolicyData = response; + }); + }); + + after(() => { + if (loadedPolicyData) { + cy.task('deleteIndexedFleetEndpointPolicies', loadedPolicyData); + } + }); + + for (const endpointPolicyManagementPrivilege of PRIVILEGES) { + describe(`endpoint policy management privilege is ${endpointPolicyManagementPrivilege}`, () => { + for (const fleetPrivilege of PRIVILEGES) { + for (const integrationsPrivilege of PRIVILEGES) { + const shouldShowOnboardingSteps = + (fleetPrivilege === 'all' && integrationsPrivilege === 'read') || + (fleetPrivilege === 'all' && integrationsPrivilege === 'all'); + + it(`should ${ + shouldShowOnboardingSteps ? '' : ' NOT ' + } show onboarding steps with fleet:${fleetPrivilege} and integrations:${integrationsPrivilege}`, () => { + loginWithCustomRole({ + endpointPolicyManagementPrivilege, + fleetPrivilege, + integrationsPrivilege, + }); + + loadPage(APP_ENDPOINTS_PATH); + + if (shouldShowOnboardingSteps) { + cy.getByTestSubj('emptyHostsTable').should('exist'); + cy.getByTestSubj('onboardingSteps').should('exist'); + } else { + // without correct privileges, fall back to empty policy table note showing that Fleet privilege is required + cy.getByTestSubj('emptyPolicyTable').should('exist'); + cy.getByTestSubj('onboardingStartButton').should('not.exist'); + } + }); + } + } + }); + } + }); + + describe('some hosts are enrolled', () => { + let endpointData: ReturnTypeFromChainable; + + before(() => { + indexEndpointHosts({ count: 1 }).then((indexEndpoints) => { + endpointData = indexEndpoints; + }); + }); + + after(() => { + if (endpointData) { + endpointData.cleanup(); + // @ts-expect-error ignore setting to undefined + endpointData = undefined; + } + }); + + beforeEach(() => { + // if there is a request towards this API, it should return 200 + cy.intercept(PACKAGE_POLICY_API_ROUTES.BULK_GET_PATTERN, (req) => { + req.on('response', (res) => { + expect(res.statusCode).to.equal(200); + }); + }); + }); + + for (const endpointPolicyManagementPrivilege of PRIVILEGES) { + describe(`endpoint policy management privilege is ${endpointPolicyManagementPrivilege}`, () => { + for (const fleetPrivilege of PRIVILEGES) { + for (const integrationsPrivilege of PRIVILEGES) { + const shouldProvidePolicyLink = endpointPolicyManagementPrivilege !== 'none'; + + it(`should show Endpoint list ${ + shouldProvidePolicyLink ? 'with' : 'without' + } link to Endpoint Policy with fleet:${fleetPrivilege} and integrations:${integrationsPrivilege}`, () => { + loginWithCustomRole({ + endpointPolicyManagementPrivilege, + fleetPrivilege, + integrationsPrivilege, + }); + + loadPage(APP_ENDPOINTS_PATH); + + cy.getByTestSubj('policyNameCellLink').should('exist'); + cy.getByTestSubj('policyNameCellLink').within(() => { + if (shouldProvidePolicyLink) { + cy.get('a').should('have.attr', 'href'); + } else { + cy.get('a').should('not.exist'); + } + }); + }); + } + } + }); + } + }); +}); diff --git a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.test.ts b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.test.ts index a737ccd77884c..a6efa0f95c6d5 100644 --- a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.test.ts +++ b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.test.ts @@ -42,11 +42,14 @@ import { } from '../../../../common/lib/endpoint/endpoint_isolation/mocks'; import { endpointPageHttpMock, failedTransformStateMock } from '../mocks'; import { HOST_METADATA_LIST_ROUTE } from '../../../../../common/endpoint/constants'; +import { INGEST_API_PACKAGE_POLICIES } from '../../../services/policies/ingest'; +import { canFetchPackageAndAgentPolicies } from '../../../../../common/endpoint/service/authz/authz'; +const mockSendBulkGetPackagePolicies = jest.fn(); jest.mock('../../../services/policies/ingest', () => ({ sendGetAgentConfigList: () => Promise.resolve({ items: [] }), sendGetAgentPolicyList: () => Promise.resolve({ items: [] }), - sendBulkGetPackagePolicies: () => Promise.resolve({ items: [] }), + sendBulkGetPackagePolicies: () => mockSendBulkGetPackagePolicies(), sendGetEndpointSecurityPackage: () => Promise.resolve({ version: '1.1.1' }), })); @@ -57,6 +60,12 @@ jest.mock('rxjs', () => ({ firstValueFrom: () => mockFirstValueFrom(), })); +jest.mock('../../../../../common/endpoint/service/authz/authz', () => ({ + ...jest.requireActual('../../../../../common/endpoint/service/authz/authz'), + canFetchPackageAndAgentPolicies: jest.fn(), +})); +const canFetchAgentPoliciesMock = canFetchPackageAndAgentPolicies as jest.Mock; + type EndpointListStore = Store, Immutable>; describe('endpoint list middleware', () => { @@ -71,8 +80,10 @@ describe('endpoint list middleware', () => { let actionSpyMiddleware; let history: History; - const getEndpointListApiResponse = (): MetadataListResponse => { - return mockEndpointResultList({ pageSize: 1, page: 0, total: 10 }); + const getEndpointListApiResponse = ( + options: Partial[0]> = {} + ): MetadataListResponse => { + return mockEndpointResultList({ pageSize: 1, page: 0, total: 10, ...options }); }; const dispatchUserChangedUrlToEndpointList = (locationOverrides: Partial = {}) => { @@ -99,25 +110,112 @@ describe('endpoint list middleware', () => { dispatch = store.dispatch; history = createBrowserHistory(); getKibanaServicesMock.mockReturnValue(fakeCoreStart); + canFetchAgentPoliciesMock.mockReturnValue(false); + mockSendBulkGetPackagePolicies.mockResolvedValue({ items: [] }); }); - it('handles `userChangedUrl`', async () => { - endpointPageHttpMock(fakeHttpServices); - const apiResponse = getEndpointListApiResponse(); - fakeHttpServices.get.mockResolvedValue(apiResponse); - expect(fakeHttpServices.get).not.toHaveBeenCalled(); + describe('handles `userChangedUrl`', () => { + describe('when there are hosts', () => { + let apiResponse: MetadataListResponse; - dispatchUserChangedUrlToEndpointList(); - await waitForAction('serverReturnedEndpointList'); - expect(fakeHttpServices.get).toHaveBeenNthCalledWith(1, HOST_METADATA_LIST_ROUTE, { - query: { - page: '0', - pageSize: '10', - kuery: '', - }, - version: '2023-10-31', + beforeEach(() => { + endpointPageHttpMock(fakeHttpServices); + apiResponse = getEndpointListApiResponse(); + fakeHttpServices.get.mockResolvedValue(apiResponse); + }); + + it('should not fetch agent policies if there are hosts', async () => { + dispatchUserChangedUrlToEndpointList(); + + await Promise.all([ + waitForAction('serverReturnedEndpointList'), + waitForAction('serverReturnedEndpointExistValue', { + validate: ({ payload }) => payload === true, + }), + waitForAction('serverCancelledPolicyItemsLoading'), + ]); + expect(fakeHttpServices.get).toHaveBeenNthCalledWith(1, HOST_METADATA_LIST_ROUTE, { + query: { + page: '0', + pageSize: '10', + kuery: '', + }, + version: '2023-10-31', + }); + expect(listData(getState())).toEqual(apiResponse.data); + expect(fakeHttpServices.get).not.toHaveBeenCalledWith( + INGEST_API_PACKAGE_POLICIES, + expect.objectContaining({}) + ); + }); + + describe('fetching non-existing policies', () => { + it('should not fetch package policies without required privileges', async () => { + canFetchAgentPoliciesMock.mockReturnValue(false); + + dispatchUserChangedUrlToEndpointList(); + + await waitForAction('serverFinishedInitialization'); + expect(mockSendBulkGetPackagePolicies).not.toBeCalled(); + }); + + it('should fetch package policies with required privileges', async () => { + canFetchAgentPoliciesMock.mockReturnValue(true); + + dispatchUserChangedUrlToEndpointList(); + + await Promise.all([ + waitForAction('serverFinishedInitialization'), + waitForAction('serverReturnedEndpointNonExistingPolicies'), + ]); + expect(mockSendBulkGetPackagePolicies).toBeCalled(); + }); + }); + }); + + describe('when there are no hosts', () => { + beforeEach(() => { + endpointPageHttpMock(fakeHttpServices); + const apiResponse = getEndpointListApiResponse({ total: 0 }); + fakeHttpServices.get.mockResolvedValue(apiResponse); + }); + + it('should NOT fetch agent policies without required privileges', async () => { + canFetchAgentPoliciesMock.mockReturnValue(false); + + dispatchUserChangedUrlToEndpointList(); + + await Promise.all([ + waitForAction('serverReturnedEndpointList'), + waitForAction('serverReturnedEndpointExistValue', { + validate: ({ payload }) => payload === false, + }), + waitForAction('serverCancelledPolicyItemsLoading'), + ]); + expect(fakeHttpServices.get).not.toHaveBeenCalledWith( + INGEST_API_PACKAGE_POLICIES, + expect.objectContaining({}) + ); + }); + + it('should fetch agent policies with required privileges', async () => { + canFetchAgentPoliciesMock.mockReturnValue(true); + + dispatchUserChangedUrlToEndpointList(); + + await Promise.all([ + waitForAction('serverReturnedEndpointList'), + waitForAction('serverReturnedEndpointExistValue', { + validate: ({ payload }) => payload === false, + }), + waitForAction('serverReturnedPoliciesForOnboarding'), + ]); + expect(fakeHttpServices.get).toHaveBeenCalledWith( + INGEST_API_PACKAGE_POLICIES, + expect.objectContaining({}) + ); + }); }); - expect(listData(getState())).toEqual(apiResponse.data); }); it('handles `appRequestedEndpointList`', async () => { diff --git a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts index f91e74983e5a2..3d4d1baad459e 100644 --- a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts +++ b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts @@ -14,6 +14,7 @@ import type { IndexFieldsStrategyRequest, IndexFieldsStrategyResponse, } from '@kbn/timelines-plugin/common'; +import { canFetchPackageAndAgentPolicies } from '../../../../../common/endpoint/service/authz/authz'; import type { IsolationRouteRequestBody, UnisolationRouteRequestBody, @@ -320,7 +321,7 @@ async function endpointListMiddleware({ payload: endpointResponse, }); - fetchNonExistingPolicies({ http: coreStart.http, hosts: endpointResponse.data, store }); + fetchNonExistingPolicies({ coreStart, hosts: endpointResponse.data, store }); } catch (error) { dispatch({ type: 'serverFailedToReturnEndpointList', @@ -366,25 +367,31 @@ async function endpointListMiddleware({ payload: false, }); - try { - const policyDataResponse: GetPolicyListResponse = - await sendGetEndpointSpecificPackagePolicies(http, { - query: { - perPage: 50, // Since this is an onboarding flow, we'll cap at 50 policies. - page: 1, + if (canFetchPackageAndAgentPolicies(coreStart.application.capabilities)) { + try { + const policyDataResponse: GetPolicyListResponse = + await sendGetEndpointSpecificPackagePolicies(http, { + query: { + perPage: 50, // Since this is an onboarding flow, we'll cap at 50 policies. + page: 1, + }, + }); + + dispatch({ + type: 'serverReturnedPoliciesForOnboarding', + payload: { + policyItems: policyDataResponse.items, }, }); - - dispatch({ - type: 'serverReturnedPoliciesForOnboarding', - payload: { - policyItems: policyDataResponse.items, - }, - }); - } catch (error) { + } catch (error) { + dispatch({ + type: 'serverFailedToReturnPoliciesForOnboarding', + payload: error.body ?? error, + }); + } + } else { dispatch({ - type: 'serverFailedToReturnPoliciesForOnboarding', - payload: error.body ?? error, + type: 'serverCancelledPolicyItemsLoading', }); } } else { @@ -440,16 +447,20 @@ export async function handleLoadMetadataTransformStats(http: HttpStart, store: E async function fetchNonExistingPolicies({ store, hosts, - http, + coreStart, }: { store: EndpointPageStore; hosts: HostResultList['hosts']; - http: HttpStart; + coreStart: CoreStart; }) { + if (!canFetchPackageAndAgentPolicies(coreStart.application.capabilities)) { + return; + } + const { getState, dispatch } = store; try { const missingPolicies = await getNonExistingPoliciesForEndpointList( - http, + coreStart.http, hosts, nonExistingPolicies(getState()) ); diff --git a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/index.test.tsx b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/index.test.tsx index 57b0dde41177d..c3a5c13512133 100644 --- a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/index.test.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/index.test.tsx @@ -192,6 +192,11 @@ describe('when on the endpoint list page', () => { // to use services that we have in our test `mockedContext` (useToasts as jest.Mock).mockReturnValue(coreStart.notifications.toasts); (useKibana as jest.Mock).mockReturnValue({ services: mockedContext.startServices }); + + coreStart.application.capabilities = { + ...coreStart.application.capabilities, + siem: { readPolicyManagement: true }, + }; }); it('should NOT display timeline', async () => { diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/integration_tests/policy_list.test.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/integration_tests/policy_list.test.tsx index b140134a0e6ac..5a1e84f67cec8 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/integration_tests/policy_list.test.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/integration_tests/policy_list.test.tsx @@ -18,6 +18,10 @@ import { APP_UI_ID } from '../../../../../../common/constants'; import { useUserPrivileges } from '../../../../../common/components/user_privileges'; import userEvent from '@testing-library/user-event'; import { waitForEuiPopoverOpen } from '@elastic/eui/lib/test/rtl'; +import { + mockEndpointResultList, + setEndpointListApiMockImplementation, +} from '../../../endpoint_hosts/store/mock_endpoint_result_list'; jest.mock('../../../../services/policies/policies'); jest.mock('../../../../../common/components/user_privileges'); @@ -25,20 +29,25 @@ jest.mock('../../../../../common/components/user_privileges'); const getPackagePolicies = sendGetEndpointSpecificPackagePolicies as jest.Mock; const useUserPrivilegesMock = useUserPrivileges as jest.Mock; -// Failing: See https://github.com/elastic/kibana/issues/169133 -describe.skip('When on the policy list page', () => { +describe('When on the policy list page', () => { let render: () => ReturnType; let renderResult: ReturnType; let history: AppContextTestRender['history']; + let coreStart: AppContextTestRender['coreStart']; let mockedContext: AppContextTestRender; beforeEach(() => { useUserPrivilegesMock.mockReturnValue({ - endpointPrivileges: { canReadEndpointList: true, canAccessFleet: true, loading: false }, + endpointPrivileges: { + canReadEndpointList: true, + canAccessFleet: true, + canWriteIntegrationPolicies: true, + loading: false, + }, }); mockedContext = createAppRootMockRenderer(); - ({ history } = mockedContext); + ({ history, coreStart } = mockedContext); render = () => (renderResult = mockedContext.render()); }); @@ -56,9 +65,9 @@ describe.skip('When on the policy list page', () => { }); it('should show table with error state', async () => { - expect(renderResult.getByTestId('policyListTable')).toBeTruthy(); + expect(renderResult.getByTestId('policyListTable')).toBeInTheDocument(); await waitFor(() => { - expect(renderResult.getByText(policyListErrorMessage)).toBeTruthy(); + expect(renderResult.getByText(policyListErrorMessage)).toBeInTheDocument(); }); }); }); @@ -71,28 +80,61 @@ describe.skip('When on the policy list page', () => { count: 0, }) ); - render(); - await waitFor(() => { - expect(getPackagePolicies).toHaveBeenCalled(); - }); }); + afterEach(() => { getPackagePolicies.mockReset(); }); - it('should show the empty page', async () => { - await waitFor(() => { - expect(renderResult.getByTestId('emptyPolicyTable')).toBeTruthy(); - }); - }); - it('should show instruction text and a button to add the Endpoint Security integration', async () => { + + it('should show the empty page with onboarding instructions', async () => { + render(); + await waitFor(() => { + expect(renderResult.getByTestId('emptyPolicyTable')).toBeInTheDocument(); + expect(renderResult.getByTestId('policyOnboardingInstructions')).toBeInTheDocument(); expect( renderResult.getByText( - 'From this page, you’ll be able to view and manage the Elastic Defend Integration policies in your environment running Elastic Defend.' + 'From this page, you can view and manage the Elastic Defend integration policies in your environment running Elastic Defend.' ) - ).toBeTruthy(); + ).toBeInTheDocument(); + }); + }); - expect(renderResult.getByTestId('onboardingStartButton')).toBeTruthy(); + it('should show onboarding button with fleet access and integrations write privilege', async () => { + useUserPrivilegesMock.mockReturnValue({ + endpointPrivileges: { canAccessFleet: true, canWriteIntegrationPolicies: true }, + }); + render(); + + await waitFor(() => { + expect(renderResult.getByTestId('policyOnboardingInstructions')).toBeInTheDocument(); + expect(renderResult.getByTestId('onboardingStartButton')).toBeInTheDocument(); + }); + }); + + it('should not show onboarding button with integrations write privilege but without fleet access', async () => { + useUserPrivilegesMock.mockReturnValue({ + endpointPrivileges: { canAccessFleet: false, canWriteIntegrationPolicies: true }, + }); + + render(); + + await waitFor(() => { + expect(renderResult.getByTestId('policyOnboardingInstructions')).toBeInTheDocument(); + expect(renderResult.queryByTestId('onboardingStartButton')).not.toBeInTheDocument(); + }); + }); + + it('should not show onboarding button with fleet access but without integrations write privilege', async () => { + useUserPrivilegesMock.mockReturnValue({ + endpointPrivileges: { canAccessFleet: true, canWriteIntegrationPolicies: false }, + }); + + render(); + + await waitFor(() => { + expect(renderResult.getByTestId('policyOnboardingInstructions')).toBeInTheDocument(); + expect(renderResult.queryByTestId('onboardingStartButton')).not.toBeInTheDocument(); }); }); }); @@ -108,22 +150,20 @@ describe.skip('When on the policy list page', () => { await waitFor(() => { expect(sendGetEndpointSpecificPackagePolicies).toHaveBeenCalled(); expect(getPackagePolicies).toHaveBeenCalled(); - expect(renderResult.getByTestId('policyListTable')).toBeTruthy(); + expect(renderResult.getByTestId('policyListTable')).toBeInTheDocument(); }); }); it('should display the policy list table', () => { - expect(renderResult.getByTestId('policyListTable')).toBeTruthy(); + expect(renderResult.getByTestId('policyListTable')).toBeInTheDocument(); }); it('should show a link for the policy name', () => { const policyNameCells = renderResult.getAllByTestId('policyNameCellLink'); - expect(policyNameCells).toBeTruthy(); expect(policyNameCells.length).toBe(5); }); it('should show an avatar and name for the Created by column', () => { const expectedAvatarName = policies.items[0].created_by; const createdByCells = renderResult.getAllByTestId('created-by-avatar'); const firstCreatedByName = renderResult.getAllByTestId('created-by-name')[0]; - expect(createdByCells).toBeTruthy(); expect(createdByCells.length).toBe(5); expect(createdByCells[0].textContent).toEqual(expectedAvatarName.charAt(0)); expect(firstCreatedByName.textContent).toEqual(expectedAvatarName); @@ -132,7 +172,6 @@ describe.skip('When on the policy list page', () => { const expectedAvatarName = policies.items[0].updated_by; const updatedByCells = renderResult.getAllByTestId('updated-by-avatar'); const firstUpdatedByName = renderResult.getAllByTestId('updated-by-name')[0]; - expect(updatedByCells).toBeTruthy(); expect(updatedByCells.length).toBe(5); expect(updatedByCells[0].textContent).toEqual(expectedAvatarName.charAt(0)); expect(firstUpdatedByName.textContent).toEqual(expectedAvatarName); @@ -158,6 +197,10 @@ describe.skip('When on the policy list page', () => { href: '/app/security/administration/policy', }, }; + setEndpointListApiMockImplementation(coreStart.http, { + endpointsResults: mockEndpointResultList().data, + }); + const endpointCount = renderResult.getAllByTestId('policyEndpointCountLink')[0]; await userEvent.click(endpointCount); @@ -192,7 +235,7 @@ describe.skip('When on the policy list page', () => { }); it('should pass the correct page value to the api', async () => { await waitFor(() => { - expect(renderResult.getByTestId('pagination-button-next')).toBeTruthy(); + expect(renderResult.getByTestId('pagination-button-next')).toBeInTheDocument(); }); await userEvent.click(renderResult.getByTestId('pagination-button-next')); await waitFor(() => { @@ -207,7 +250,7 @@ describe.skip('When on the policy list page', () => { it('should pass the correct pageSize value to the api', async () => { await waitFor(() => { - expect(renderResult.getByTestId('tablePaginationPopoverButton')).toBeTruthy(); + expect(renderResult.getByTestId('tablePaginationPopoverButton')).toBeInTheDocument(); }); await userEvent.click(renderResult.getByTestId('tablePaginationPopoverButton')); await waitForEuiPopoverOpen(); From 91fec7a69b4db5c1d5835add148b86c3732b02a7 Mon Sep 17 00:00:00 2001 From: Sid Date: Tue, 10 Dec 2024 12:01:57 +0100 Subject: [PATCH 059/103] [Session management] update cleanup query to allow partial search results for PIT query (#203413) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes https://github.com/elastic/kibana/issues/203440 ### Summary Update session cleanup task by adding the partial search results flag to the PIT query as well and not just the search query. #### Notes In the previous “fix”, the partial search results flag was incorrectly added to the search query that depended on the PIT query. However, the correct way is to set the flag when we openPointInTimeQuery which is then used in the subsequent search query ### Release notes Fixes error with opening point in time query for session deletion by now accounting for partial results. Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_node:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --- .../server/session_management/session_index.test.ts | 7 ++----- .../security/server/session_management/session_index.ts | 9 ++++++++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/x-pack/plugins/security/server/session_management/session_index.test.ts b/x-pack/plugins/security/server/session_management/session_index.test.ts index 04991f4aeefd6..d0fb5a5d70f5e 100644 --- a/x-pack/plugins/security/server/session_management/session_index.test.ts +++ b/x-pack/plugins/security/server/session_management/session_index.test.ts @@ -446,6 +446,7 @@ describe('Session index', () => { { index: aliasName, keep_alive: '5m', + allow_partial_search_results: true, }, { ignore: [404], meta: true } ); @@ -454,6 +455,7 @@ describe('Session index', () => { { index: aliasName, keep_alive: '5m', + allow_partial_search_results: true, }, { meta: true } ); @@ -473,7 +475,6 @@ describe('Session index', () => { expect(mockElasticsearchClient.search).toHaveBeenCalledTimes(1); expect(mockElasticsearchClient.search).toHaveBeenCalledWith({ _source_includes: 'usernameHash,provider', - allow_partial_search_results: true, sort: '_shard_doc', track_total_hits: false, search_after: undefined, @@ -556,7 +557,6 @@ describe('Session index', () => { expect(mockElasticsearchClient.search).toHaveBeenCalledTimes(1); expect(mockElasticsearchClient.search).toHaveBeenCalledWith({ _source_includes: 'usernameHash,provider', - allow_partial_search_results: true, sort: '_shard_doc', track_total_hits: false, search_after: undefined, @@ -651,7 +651,6 @@ describe('Session index', () => { expect(mockElasticsearchClient.search).toHaveBeenCalledTimes(1); expect(mockElasticsearchClient.search).toHaveBeenCalledWith({ _source_includes: 'usernameHash,provider', - allow_partial_search_results: true, sort: '_shard_doc', track_total_hits: false, search_after: undefined, @@ -740,7 +739,6 @@ describe('Session index', () => { expect(mockElasticsearchClient.search).toHaveBeenCalledTimes(1); expect(mockElasticsearchClient.search).toHaveBeenCalledWith({ _source_includes: 'usernameHash,provider', - allow_partial_search_results: true, sort: '_shard_doc', track_total_hits: false, search_after: undefined, @@ -854,7 +852,6 @@ describe('Session index', () => { expect(mockElasticsearchClient.search).toHaveBeenCalledTimes(1); expect(mockElasticsearchClient.search).toHaveBeenCalledWith({ _source_includes: 'usernameHash,provider', - allow_partial_search_results: true, sort: '_shard_doc', track_total_hits: false, search_after: undefined, diff --git a/x-pack/plugins/security/server/session_management/session_index.ts b/x-pack/plugins/security/server/session_management/session_index.ts index 9166ec9deb91f..b4bea1900c577 100644 --- a/x-pack/plugins/security/server/session_management/session_index.ts +++ b/x-pack/plugins/security/server/session_management/session_index.ts @@ -830,6 +830,10 @@ export class SessionIndex { { index: this.aliasName, keep_alive: SESSION_INDEX_CLEANUP_KEEP_ALIVE, + // @ts-expect-error client support this option, but it is not documented and typed yet. + // once support added we should remove this expected type error + // https://github.com/elastic/elasticsearch-specification/issues/3144 + allow_partial_search_results: true, }, { ignore: [404], meta: true } ); @@ -841,6 +845,10 @@ export class SessionIndex { { index: this.aliasName, keep_alive: SESSION_INDEX_CLEANUP_KEEP_ALIVE, + // @ts-expect-error client support this option, but it is not documented and typed yet. + // once support added we should remove this expected type error + // https://github.com/elastic/elasticsearch-specification/issues/3144 + allow_partial_search_results: true, }, { meta: true } )); @@ -857,7 +865,6 @@ export class SessionIndex { size: SESSION_INDEX_CLEANUP_BATCH_SIZE, sort: '_shard_doc', track_total_hits: false, // for performance - allow_partial_search_results: true, }); const { hits } = searchResponse.hits; if (hits.length > 0) { From 7f3c642c0a3717a0f71275051fd35a48f88a1e0a Mon Sep 17 00:00:00 2001 From: Joe Reuter Date: Tue, 10 Dec 2024 12:28:13 +0100 Subject: [PATCH 060/103] =?UTF-8?q?=F0=9F=8C=8A=20Streams:=20Set=20subobje?= =?UTF-8?q?cts:=20false=20(#203002)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With https://github.com/elastic/elasticsearch/issues/117544 fixed, `subobjects: false` can be set on wired streams. This allows to map fields as scalars even if they share the same prefix, e.g. * `deeply.nested.path` as `keyword` * `deeply.nested.path.and.more` as `keyword` --- .../server/lib/streams/component_templates/generate_layer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/streams/server/lib/streams/component_templates/generate_layer.ts b/x-pack/plugins/streams/server/lib/streams/component_templates/generate_layer.ts index 69da4c5d8287d..a99b9be261911 100644 --- a/x-pack/plugins/streams/server/lib/streams/component_templates/generate_layer.ts +++ b/x-pack/plugins/streams/server/lib/streams/component_templates/generate_layer.ts @@ -36,7 +36,7 @@ export function generateLayer( template: { settings: isRoot(definition.id) ? logsSettings : {}, mappings: { - subobjects: true, // TODO set to false once this works on Elasticsearch side - right now fields are not properly indexed. + subobjects: false, dynamic: false, properties, }, From 6e145f9d4ebb17b8eefd01ce688f7c2b9b461172 Mon Sep 17 00:00:00 2001 From: Julia Bardi <90178898+juliaElastic@users.noreply.github.com> Date: Tue, 10 Dec 2024 12:54:51 +0100 Subject: [PATCH 061/103] [Fleet] Feature to support columns when exporting agents to CSV (#203103) ## Summary Closes https://github.com/elastic/ingest-dev/issues/4325 Added modal window with column selector table when agents are exported. There are some differences compared to the design due to technical limitations: - `Filters applied` badge not included, it's not really possible to accurately calculate the count of filters, since they are stored in a single string. We could potentially count by splitting AND/OR conditions, but it may not be accurate. Do we still want to include it? - We don't have display names for these mappings coming from the agent index, and currently I don't have a way to show display names on the exported file. For this reason showing the original field names on the modal too. - Added a Description column that transforms the field name to a more readable name, we can also hardcode the descriptions if this is not good enough. - After some consideration, I decided to hardcode the allowed field list to export other than querying dynamically from the agent index mappings, otherwise new sensitive field mappings would show up on the UI. - Caveat: searching on columns in the modal removes the already selected columns that do not match. This seems to be a default behaviour of the EuiTable, I find it a little strange, didn't see a straightforward way to change it. I can spend more time on it if needed. To verify: - Select a few agents, click on Export CSV action - Verify that the modal window opens with the agent mappings visible, by default the columns on the UI selected - Select a few columns to export - Submit the modal - Wait for the report to be ready and download it - Verify that the exported csv includes the columns selected image Figma design: ![image](https://github.com/user-attachments/assets/bcf347a7-a68e-4f83-8f6b-37bdf43c6b54) image ### Checklist - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --- .../fleet/common/experimental_features.ts | 2 +- .../components/bulk_actions.tsx | 25 +- .../agent_list_page/hooks/export_csv.test.tsx | 10 +- .../agent_list_page/hooks/export_csv.tsx | 19 +- .../agent_export_csv_modal/columns.ts | 234 ++++++++++++++++++ .../agent_export_csv_modal/index.tsx | 139 +++++++++++ 6 files changed, 408 insertions(+), 21 deletions(-) create mode 100644 x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/columns.ts create mode 100644 x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/index.tsx diff --git a/x-pack/plugins/fleet/common/experimental_features.ts b/x-pack/plugins/fleet/common/experimental_features.ts index bc31bfc965505..1c42bf3ab2afe 100644 --- a/x-pack/plugins/fleet/common/experimental_features.ts +++ b/x-pack/plugins/fleet/common/experimental_features.ts @@ -27,7 +27,7 @@ const _allowedExperimentalValues = { useSpaceAwareness: false, enableReusableIntegrationPolicies: true, asyncDeployPolicies: true, - enableExportCSV: false, + enableExportCSV: true, }; /** diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx index ea020417a2a2b..4c207da0ee541 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx @@ -33,6 +33,8 @@ import { AgentRequestDiagnosticsModal } from '../../components/agent_request_dia import { useExportCSV } from '../hooks/export_csv'; +import { AgentExportCSVModal } from '../../components/agent_export_csv_modal'; + import type { SelectionMode } from './types'; import { TagsAddRemove } from './tags_add_remove'; @@ -82,6 +84,7 @@ export const AgentBulkActions: React.FunctionComponent = ({ const [isTagAddVisible, setIsTagAddVisible] = useState(false); const [isRequestDiagnosticsModalOpen, setIsRequestDiagnosticsModalOpen] = useState(false); + const [isExportCSVModalOpen, setIsExportCSVModalOpen] = useState(false); // update the query removing the "managed" agents in any state (unenrolled, offline, etc) const selectionQuery = useMemo(() => { @@ -241,10 +244,7 @@ export const AgentBulkActions: React.FunctionComponent = ({ icon: , onClick: () => { closeMenu(); - generateReportingJobCSV(agents, { - field: sortField, - direction: sortOrder, - }); + setIsExportCSVModalOpen(true); }, }, ] @@ -288,6 +288,23 @@ export const AgentBulkActions: React.FunctionComponent = ({ /> )} + {isExportCSVModalOpen && ( + + ) => { + generateReportingJobCSV(agents, columns, { + field: sortField, + direction: sortOrder, + }); + setIsExportCSVModalOpen(false); + }} + onClose={() => { + setIsExportCSVModalOpen(false); + }} + agentCount={agentCount} + /> + + )} {upgradeModalState.isOpen && ( { field: 'agent.id', direction: 'asc', }; + const columns = [{ field: 'agent.id' }]; act(() => { - result.result.current.generateReportingJobCSV(agents, sortOptions); + result.result.current.generateReportingJobCSV(agents, columns, sortOptions); }); - expect(mockGetDecoratedJobParams.mock.calls[0][0].columns.length).toEqual(6); + expect(mockGetDecoratedJobParams.mock.calls[0][0].columns.length).toEqual(1); expect(mockGetDecoratedJobParams.mock.calls[0][0].searchSource).toEqual( expect.objectContaining({ filter: expect.objectContaining({ @@ -127,12 +128,13 @@ describe('export_csv', () => { it('should generate reporting job for export csv with agents query', () => { const agents = 'policy_id:1 AND status:online'; + const columns = [{ field: 'agent.id' }]; act(() => { - result.result.current.generateReportingJobCSV(agents, undefined); + result.result.current.generateReportingJobCSV(agents, columns, undefined); }); - expect(mockGetDecoratedJobParams.mock.calls[0][0].columns.length).toEqual(6); + expect(mockGetDecoratedJobParams.mock.calls[0][0].columns.length).toEqual(1); expect(mockGetDecoratedJobParams.mock.calls[0][0].searchSource).toEqual( expect.objectContaining({ filter: expect.objectContaining({ diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.tsx index e7a806ff11f02..7fb19367b7d47 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.tsx @@ -23,6 +23,8 @@ import { import type { Agent } from '../../../../../../../common'; import { getSortConfig, removeSOAttributes } from '../../../../../../../common'; +import type { ExportField } from '../../components/agent_export_csv_modal'; + import { getSortFieldForAPI } from './use_fetch_agents_data'; export function useExportCSV(enableExportCSV?: boolean) { @@ -36,19 +38,9 @@ export function useExportCSV(enableExportCSV?: boolean) { const getJobParams = ( agents: Agent[] | string, + columns: Array<{ field: string }>, sortOptions?: { field?: string; direction?: string } ) => { - // TODO pass columns from Agent list UI - // TODO set readable column names - const columns = [ - { field: 'agent.id' }, - { field: 'status' }, - { field: 'local_metadata.host.hostname' }, - { field: 'policy_id' }, // policy name would need to be enriched - { field: 'last_checkin' }, - { field: 'local_metadata.elastic.agent.version' }, - ]; - const index = new DataView({ spec: { title: '.fleet-agents', @@ -108,9 +100,12 @@ export function useExportCSV(enableExportCSV?: boolean) { // copied and adapted logic from here: https://github.com/elastic/kibana/blob/2846a162de7e56d2107eeb2e33e006a3310a4ae1/packages/kbn-reporting/public/share/share_context_menu/register_csv_modal_reporting.tsx#L86 const generateReportingJobCSV = ( agents: Agent[] | string, + columns: ExportField[], sortOptions?: { field?: string; direction?: string } ) => { - const decoratedJobParams = apiClient.getDecoratedJobParams(getJobParams(agents, sortOptions)); + const decoratedJobParams = apiClient.getDecoratedJobParams( + getJobParams(agents, columns, sortOptions) + ); return apiClient .createReportingShareJob('csv_searchsource', decoratedJobParams) .then(() => { diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/columns.ts b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/columns.ts new file mode 100644 index 0000000000000..cc39dc594d5ff --- /dev/null +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/columns.ts @@ -0,0 +1,234 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const INITIAL_AGENT_FIELDS_TO_EXPORT = [ + { + field: 'agent.id', + description: i18n.translate('xpack.fleet.exportCSV.agentIdField', { + defaultMessage: 'Agent ID', + }), + }, + { + field: 'status', + description: i18n.translate('xpack.fleet.exportCSV.statusField', { defaultMessage: 'Status' }), + }, + { + field: 'local_metadata.host.hostname', + description: i18n.translate('xpack.fleet.exportCSV.hostnameField', { + defaultMessage: 'Host Name', + }), + }, + { + field: 'policy_id', + description: i18n.translate('xpack.fleet.exportCSV.policyIdField', { + defaultMessage: 'Policy ID', + }), + }, // policy name would need to be enriched + { + field: 'last_checkin', + description: i18n.translate('xpack.fleet.exportCSV.lastCheckinField', { + defaultMessage: 'Last Checkin Time', + }), + }, + { + field: 'local_metadata.elastic.agent.version', + description: i18n.translate('xpack.fleet.exportCSV.agentVersionField', { + defaultMessage: 'Agent Version', + }), + }, +]; + +export const AGENT_FIELDS_TO_EXPORT = [ + { + field: 'active', + description: i18n.translate('xpack.fleet.exportCSV.activeField', { defaultMessage: 'Active' }), + }, + { + field: 'audit_unenrolled_reason', + description: i18n.translate('xpack.fleet.exportCSV.auditUnenrolledReasonField', { + defaultMessage: 'Audit Unenrolled Reason', + }), + }, + { + field: 'audit_unenrolled_time', + description: i18n.translate('xpack.fleet.exportCSV.auditUnenrolledTimeField', { + defaultMessage: 'Audit Unenrolled Time', + }), + }, + { + field: 'enrolled_at', + description: i18n.translate('xpack.fleet.exportCSV.enrolledAtField', { + defaultMessage: 'Enrolled At', + }), + }, + { + field: 'last_checkin_message', + description: i18n.translate('xpack.fleet.exportCSV.lastCheckinMessageField', { + defaultMessage: 'Last Checkin Message', + }), + }, + { + field: 'last_checkin_status', + description: i18n.translate('xpack.fleet.exportCSV.lastCheckinStatusField', { + defaultMessage: 'Last Checkin Status', + }), + }, + { + field: 'last_updated', + description: i18n.translate('xpack.fleet.exportCSV.lastUpdatedField', { + defaultMessage: 'Last Updated Time', + }), + }, + { + field: 'local_metadata.elastic.agent.build.original', + description: i18n.translate('xpack.fleet.exportCSV.agentBuildOriginalField', { + defaultMessage: 'Agent Build Original', + }), + }, + { + field: 'local_metadata.elastic.agent.log_level', + description: i18n.translate('xpack.fleet.exportCSV.logLevelField', { + defaultMessage: 'Agent Log Level', + }), + }, + { + field: 'local_metadata.elastic.agent.snapshot', + description: i18n.translate('xpack.fleet.exportCSV.agentSnapshotField', { + defaultMessage: 'Agent Snapshot', + }), + }, + { + field: 'local_metadata.elastic.agent.unprivileged', + description: i18n.translate('xpack.fleet.exportCSV.agentUnprivilegedField', { + defaultMessage: 'Agent Unprivileged', + }), + }, + { + field: 'local_metadata.elastic.agent.upgradeable', + description: i18n.translate('xpack.fleet.exportCSV.agentUpgradeableField', { + defaultMessage: 'Agent Upgradeable', + }), + }, + { + field: 'local_metadata.host.architecture', + description: i18n.translate('xpack.fleet.exportCSV.hostArchitectureField', { + defaultMessage: 'Host Architecture', + }), + }, + { + field: 'local_metadata.host.id', + description: i18n.translate('xpack.fleet.exportCSV.hostIdField', { defaultMessage: 'Host ID' }), + }, + { + field: 'local_metadata.host.ip', + description: i18n.translate('xpack.fleet.exportCSV.hostIpField', { defaultMessage: 'Host IP' }), + }, + { + field: 'local_metadata.host.mac', + description: i18n.translate('xpack.fleet.exportCSV.hostMacField', { + defaultMessage: 'Host Mac', + }), + }, + { + field: 'local_metadata.host.name', + description: i18n.translate('xpack.fleet.exportCSV.hostNameField', { + defaultMessage: 'Host Name', + }), + }, + { + field: 'local_metadata.os.family', + description: i18n.translate('xpack.fleet.exportCSV.osFamilyField', { + defaultMessage: 'OS Family', + }), + }, + { + field: 'local_metadata.os.full', + description: i18n.translate('xpack.fleet.exportCSV.osFullField', { defaultMessage: 'OS Full' }), + }, + { + field: 'local_metadata.os.kernel', + description: i18n.translate('xpack.fleet.exportCSV.osKernelField', { + defaultMessage: 'OS Kernel', + }), + }, + { + field: 'local_metadata.os.name', + description: i18n.translate('xpack.fleet.exportCSV.osNameField', { defaultMessage: 'OS Name' }), + }, + { + field: 'local_metadata.os.platform', + description: i18n.translate('xpack.fleet.exportCSV.osPlatformField', { + defaultMessage: 'OS Platform', + }), + }, + { + field: 'local_metadata.os.version', + description: i18n.translate('xpack.fleet.exportCSV.osVersionField', { + defaultMessage: 'OS Version', + }), + }, + { + field: 'tags', + description: i18n.translate('xpack.fleet.exportCSV.tagsField', { defaultMessage: 'Tags' }), + }, + { + field: 'unenrolled_at', + description: i18n.translate('xpack.fleet.exportCSV.unenrolledAtField', { + defaultMessage: 'Unenrolled At', + }), + }, + { + field: 'unenrolled_reason', + description: i18n.translate('xpack.fleet.exportCSV.unenrolledReasonField', { + defaultMessage: 'Unenrolled Reason', + }), + }, + { + field: 'unenrollment_started_at', + description: i18n.translate('xpack.fleet.exportCSV.unenrolledStartedAtField', { + defaultMessage: 'Unenrolled Started At', + }), + }, + { + field: 'unhealthy_reason', + description: i18n.translate('xpack.fleet.exportCSV.unhealthyReasonField', { + defaultMessage: 'Unhealthy Reason', + }), + }, + { + field: 'updated_at', + description: i18n.translate('xpack.fleet.exportCSV.updatedAtField', { + defaultMessage: 'Updated At', + }), + }, + { + field: 'upgrade_started_at', + description: i18n.translate('xpack.fleet.exportCSV.upgradeStartedAtField', { + defaultMessage: 'Upgrade Started At', + }), + }, + { + field: 'upgrade_status', + description: i18n.translate('xpack.fleet.exportCSV.upgradeStatusField', { + defaultMessage: 'Upgrade Status', + }), + }, + { + field: 'upgraded_at', + description: i18n.translate('xpack.fleet.exportCSV.upgradedAtField', { + defaultMessage: 'Upgraded At', + }), + }, + { + field: 'user_provided_metadata', + description: i18n.translate('xpack.fleet.exportCSV.userProvidedMetadataField', { + defaultMessage: 'User Provided Metadata', + }), + }, +]; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/index.tsx new file mode 100644 index 0000000000000..901a90d5dea68 --- /dev/null +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/index.tsx @@ -0,0 +1,139 @@ +/* + * Copyright 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, { useState } from 'react'; +import type { EuiBasicTableColumn, EuiSearchBarProps, EuiTableSelectionType } from '@elastic/eui'; +import { + EuiConfirmModal, + EuiFlexGroup, + EuiFlexItem, + EuiInMemoryTable, + EuiNotificationBadge, + EuiSpacer, + EuiText, +} from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { uniqBy } from 'lodash'; + +import { AGENT_FIELDS_TO_EXPORT, INITIAL_AGENT_FIELDS_TO_EXPORT } from './columns'; + +export interface ExportField { + field: string; +} + +export interface ExportFieldWithDescription extends ExportField { + description: string; +} + +interface Props { + onClose: () => void; + onSubmit: (columns: ExportField[]) => void; + agentCount: number; +} + +export const AgentExportCSVModal: React.FunctionComponent = ({ + onClose, + onSubmit, + agentCount, +}) => { + const [selection, setSelection] = useState( + INITIAL_AGENT_FIELDS_TO_EXPORT + ); + + const items = uniqBy([...INITIAL_AGENT_FIELDS_TO_EXPORT, ...AGENT_FIELDS_TO_EXPORT], 'field'); + + const columns: Array> = [ + { + field: 'field', + name: 'Field', + truncateText: true, + }, + { + field: 'description', + name: 'Description', + truncateText: true, + }, + ]; + + const selectionValue: EuiTableSelectionType = { + selectable: () => true, + onSelectionChange: (newSelection) => { + setSelection(newSelection); + }, + initialSelected: INITIAL_AGENT_FIELDS_TO_EXPORT, + }; + + const search: EuiSearchBarProps = { + box: { + incremental: true, + }, + }; + + return ( + + } + onCancel={onClose} + onConfirm={() => onSubmit(selection.map((s) => ({ field: s.field })))} + cancelButtonText={ + + } + confirmButtonText={ + + } + > + + + + + + + + + + + {agentCount} + + + + + + + + + + + + + + + + + + ); +}; From 3d46eadace572cbcfb95611224b819e2e67ed006 Mon Sep 17 00:00:00 2001 From: Vitalii Dmyterko <92328789+vitaliidm@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:58:08 +0000 Subject: [PATCH 062/103] [Security Solution][Detection Engine] deprecates siem signals migration APIs (#202662) ## Summary - addresses part of https://github.com/elastic/kibana/issues/195523 - deprecates https://www.elastic.co/guide/en/security/current/signals-migration-api.html APIs according to internal 9.x readiness [guideline](https://docs.google.com/document/d/1W7csjn6QYjrBjmbXMzSz_JUD4KcmWz8jTTtAWFwgUJM/edit?tab=t.0#heading=h.tui2zvb9gca6) #### How to test deprecated APIs? 1. Run API https://www.elastic.co/guide/en/security/current/signals-migration-api.html 2. Observe warning deprecation on Kibana Upgrade page Screenshot 2024-12-03 at 10 43 59 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- oas_docs/output/kibana.yaml | 4 ++++ .../shared/kbn-doc-links/src/get_doc_links.ts | 1 + .../packages/shared/kbn-doc-links/src/types.ts | 1 + .../create_signals_migration.schema.yaml | 1 + .../delete_signals_migration.schema.yaml | 1 + .../finalize_signals_migration.schema.yaml | 1 + .../read_signals_migration_status.schema.yaml | 1 + ...on_detections_api_2023_10_31.bundled.schema.yaml | 4 ++++ .../signals/create_signals_migration_route.test.ts | 4 +++- .../signals/create_signals_migration_route.ts | 13 ++++++++++++- .../signals/delete_signals_migration_route.ts | 13 ++++++++++++- .../finalize_signals_migration_route.test.ts | 4 +++- .../signals/finalize_signals_migration_route.ts | 11 ++++++++++- .../get_signals_migration_status_route.test.ts | 4 +++- .../signals/get_signals_migration_status_route.ts | 13 ++++++++++++- x-pack/plugins/security_solution/server/plugin.ts | 1 + .../security_solution/server/routes/index.ts | 11 ++++++----- 17 files changed, 76 insertions(+), 12 deletions(-) diff --git a/oas_docs/output/kibana.yaml b/oas_docs/output/kibana.yaml index b83907699ec76..d9dbce0c460ec 100644 --- a/oas_docs/output/kibana.yaml +++ b/oas_docs/output/kibana.yaml @@ -11087,6 +11087,7 @@ paths: - Security Detections API /api/detection_engine/signals/finalize_migration: post: + deprecated: true description: | Finalize successful migrations of detection alerts. This replaces the original index's alias with the successfully migrated index's alias. The endpoint is idempotent; therefore, it can safely be used to poll a given migration and, upon completion, @@ -11141,6 +11142,7 @@ paths: - Security Detections API /api/detection_engine/signals/migration: delete: + deprecated: true description: | Migrations favor data integrity over shard size. Consequently, unused or orphaned indices are artifacts of the migration process. A successful migration will result in both the old and new indices being present. @@ -11198,6 +11200,7 @@ paths: tags: - Security Detections API post: + deprecated: true description: | Initiate a migration of detection alerts. Migrations are initiated per index. While the process is neither destructive nor interferes with existing data, it may be resource-intensive. As such, it is recommended that you plan your migrations accordingly. @@ -11261,6 +11264,7 @@ paths: - Security Detections API /api/detection_engine/signals/migration_status: post: + deprecated: true description: Retrieve indices that contain detection alerts of a particular age, along with migration information for each of those indices. operationId: ReadAlertsMigrationStatus parameters: diff --git a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts index 271d34d800471..b79fab50089f4 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts @@ -504,6 +504,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D }, detectionEngineOverview: `${SECURITY_SOLUTION_DOCS}detection-engine-overview.html`, aiAssistant: `${SECURITY_SOLUTION_DOCS}security-assistant.html`, + signalsMigrationApi: `${SECURITY_SOLUTION_DOCS}signals-migration-api.html`, }, query: { eql: `${ELASTICSEARCH_DOCS}eql.html`, diff --git a/src/platform/packages/shared/kbn-doc-links/src/types.ts b/src/platform/packages/shared/kbn-doc-links/src/types.ts index 749e7a40708ca..fd1c2cf8fe3ca 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/types.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/types.ts @@ -372,6 +372,7 @@ export interface DocLinks { readonly assetCriticality: string; }; readonly detectionEngineOverview: string; + readonly signalsMigrationApi: string; }; readonly query: { readonly eql: string; diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/create_signals_migration/create_signals_migration.schema.yaml b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/create_signals_migration/create_signals_migration.schema.yaml index 52178537d6363..d77bb820ec59e 100644 --- a/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/create_signals_migration/create_signals_migration.schema.yaml +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/create_signals_migration/create_signals_migration.schema.yaml @@ -9,6 +9,7 @@ paths: operationId: CreateAlertsMigration x-codegen-enabled: true summary: Initiate a detection alert migration + deprecated: true description: | Initiate a migration of detection alerts. Migrations are initiated per index. While the process is neither destructive nor interferes with existing data, it may be resource-intensive. As such, it is recommended that you plan your migrations accordingly. diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/delete_signals_migration/delete_signals_migration.schema.yaml b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/delete_signals_migration/delete_signals_migration.schema.yaml index 8aa36d8496d09..a03d7c476d65f 100644 --- a/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/delete_signals_migration/delete_signals_migration.schema.yaml +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/delete_signals_migration/delete_signals_migration.schema.yaml @@ -9,6 +9,7 @@ paths: operationId: AlertsMigrationCleanup x-codegen-enabled: true summary: Clean up detection alert migrations + deprecated: true description: | Migrations favor data integrity over shard size. Consequently, unused or orphaned indices are artifacts of the migration process. A successful migration will result in both the old and new indices being present. diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/finalize_signals_migration/finalize_signals_migration.schema.yaml b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/finalize_signals_migration/finalize_signals_migration.schema.yaml index d36df73832530..1160467494090 100644 --- a/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/finalize_signals_migration/finalize_signals_migration.schema.yaml +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/finalize_signals_migration/finalize_signals_migration.schema.yaml @@ -9,6 +9,7 @@ paths: operationId: FinalizeAlertsMigration x-codegen-enabled: true summary: Finalize detection alert migrations + deprecated: true description: | Finalize successful migrations of detection alerts. This replaces the original index's alias with the successfully migrated index's alias. The endpoint is idempotent; therefore, it can safely be used to poll a given migration and, upon completion, diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/read_signals_migration_status/read_signals_migration_status.schema.yaml b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/read_signals_migration_status/read_signals_migration_status.schema.yaml index 6cf11191f5d70..0baa8e2281506 100644 --- a/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/read_signals_migration_status/read_signals_migration_status.schema.yaml +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/read_signals_migration_status/read_signals_migration_status.schema.yaml @@ -9,6 +9,7 @@ paths: operationId: ReadAlertsMigrationStatus x-codegen-enabled: true summary: Retrieve the status of detection alert migrations + deprecated: true description: Retrieve indices that contain detection alerts of a particular age, along with migration information for each of those indices. tags: - Alerts migration API diff --git a/x-pack/plugins/security_solution/docs/openapi/ess/security_solution_detections_api_2023_10_31.bundled.schema.yaml b/x-pack/plugins/security_solution/docs/openapi/ess/security_solution_detections_api_2023_10_31.bundled.schema.yaml index 7e8d7a61bff2c..55514516f43da 100644 --- a/x-pack/plugins/security_solution/docs/openapi/ess/security_solution_detections_api_2023_10_31.bundled.schema.yaml +++ b/x-pack/plugins/security_solution/docs/openapi/ess/security_solution_detections_api_2023_10_31.bundled.schema.yaml @@ -1010,6 +1010,7 @@ paths: - Security Detections API /api/detection_engine/signals/finalize_migration: post: + deprecated: true description: > Finalize successful migrations of detection alerts. This replaces the original index's alias with the successfully migrated index's alias. @@ -1069,6 +1070,7 @@ paths: - Alerts migration API /api/detection_engine/signals/migration: delete: + deprecated: true description: > Migrations favor data integrity over shard size. Consequently, unused or orphaned indices are artifacts of @@ -1136,6 +1138,7 @@ paths: - Security Detections API - Alerts migration API post: + deprecated: true description: > Initiate a migration of detection alerts. @@ -1204,6 +1207,7 @@ paths: - Alerts migration API /api/detection_engine/signals/migration_status: post: + deprecated: true description: >- Retrieve indices that contain detection alerts of a particular age, along with migration information for each of those indices. diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.test.ts index 094f3e560ec3e..8f5498b88362b 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.test.ts @@ -16,6 +16,7 @@ import { getTemplateVersion } from '../index/check_template_version'; import { createSignalsMigrationRoute } from './create_signals_migration_route'; import { SIGNALS_TEMPLATE_VERSION } from '../index/get_signals_template'; import type { AlertsReindexOptions } from '../../../../../common/api/detection_engine/signals_migration'; +import { docLinksServiceMock } from '@kbn/core/server/mocks'; jest.mock('../index/check_template_version'); jest.mock('@kbn/securitysolution-es-utils', () => { @@ -31,6 +32,7 @@ jest.mock('../../migrations/get_signal_versions_by_index'); describe('creating signals migrations route', () => { let server: ReturnType; + const docLinks = docLinksServiceMock.createSetupContract(); beforeEach(() => { server = serverMock.create(); @@ -42,7 +44,7 @@ describe('creating signals migrations route', () => { (getIndexVersionsByIndex as jest.Mock).mockResolvedValue({ 'my-signals-index': -1 }); (getSignalVersionsByIndex as jest.Mock).mockResolvedValue({ 'my-signals-index': [] }); - createSignalsMigrationRoute(server.router); + createSignalsMigrationRoute(server.router, docLinks); }); it('passes options to the createMigration', async () => { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.ts index b4947b939b336..56be3f32fe808 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.ts @@ -5,6 +5,7 @@ * 2.0. */ +import type { DocLinksServiceSetup } from '@kbn/core/server'; import { transformError, BadRequestError, getIndexAliases } from '@kbn/securitysolution-es-utils'; import { buildRouteValidationWithZod } from '@kbn/zod-helpers'; import { CreateAlertsMigrationRequestBody } from '../../../../../common/api/detection_engine/signals_migration'; @@ -19,7 +20,10 @@ import { isOutdated, signalsAreOutdated } from '../../migrations/helpers'; import { getIndexVersionsByIndex } from '../../migrations/get_index_versions_by_index'; import { getSignalVersionsByIndex } from '../../migrations/get_signal_versions_by_index'; -export const createSignalsMigrationRoute = (router: SecuritySolutionPluginRouter) => { +export const createSignalsMigrationRoute = ( + router: SecuritySolutionPluginRouter, + docLinks: DocLinksServiceSetup +) => { router.versioned .post({ path: DETECTION_ENGINE_SIGNALS_MIGRATION_URL, @@ -36,6 +40,13 @@ export const createSignalsMigrationRoute = (router: SecuritySolutionPluginRouter validate: { request: { body: buildRouteValidationWithZod(CreateAlertsMigrationRequestBody) }, }, + options: { + deprecated: { + documentationUrl: docLinks.links.securitySolution.signalsMigrationApi, + severity: 'warning', + reason: { type: 'remove' }, + }, + }, }, async (context, request, response) => { const siemResponse = buildSiemResponse(response); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/delete_signals_migration_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/delete_signals_migration_route.ts index 14a490d34d4fc..8d03bc75e9fc9 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/delete_signals_migration_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/delete_signals_migration_route.ts @@ -5,6 +5,7 @@ * 2.0. */ +import type { DocLinksServiceSetup } from '@kbn/core/server'; import { transformError } from '@kbn/securitysolution-es-utils'; import { buildRouteValidationWithZod } from '@kbn/zod-helpers'; import { AlertsMigrationCleanupRequestBody } from '../../../../../common/api/detection_engine/signals_migration'; @@ -15,7 +16,10 @@ import { buildSiemResponse } from '../utils'; import { signalsMigrationService } from '../../migrations/migration_service'; import { getMigrationSavedObjectsById } from '../../migrations/get_migration_saved_objects_by_id'; -export const deleteSignalsMigrationRoute = (router: SecuritySolutionPluginRouter) => { +export const deleteSignalsMigrationRoute = ( + router: SecuritySolutionPluginRouter, + docLinks: DocLinksServiceSetup +) => { router.versioned .delete({ path: DETECTION_ENGINE_SIGNALS_MIGRATION_URL, @@ -32,6 +36,13 @@ export const deleteSignalsMigrationRoute = (router: SecuritySolutionPluginRouter validate: { request: { body: buildRouteValidationWithZod(AlertsMigrationCleanupRequestBody) }, }, + options: { + deprecated: { + documentationUrl: docLinks.links.securitySolution.signalsMigrationApi, + severity: 'warning', + reason: { type: 'remove' }, + }, + }, }, async (context, request, response) => { const siemResponse = buildSiemResponse(response); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.test.ts index 8183c0bbac7bd..8c892279acc62 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.test.ts @@ -12,18 +12,20 @@ import { getSignalsMigrationSavedObjectMock } from '../../migrations/saved_objec import { finalizeSignalsMigrationRoute } from './finalize_signals_migration_route'; import type { RuleDataPluginService } from '@kbn/rule-registry-plugin/server'; import { ruleDataServiceMock } from '@kbn/rule-registry-plugin/server/rule_data_plugin_service/rule_data_plugin_service.mock'; +import { docLinksServiceMock } from '@kbn/core/server/mocks'; jest.mock('../../migrations/get_migration_saved_objects_by_id'); describe('finalizing signals migrations', () => { let server: ReturnType; + const docLinks = docLinksServiceMock.createSetupContract(); beforeEach(() => { server = serverMock.create(); const ruleDataPluginServiceMock = ruleDataServiceMock.create() as unknown as RuleDataPluginService; - finalizeSignalsMigrationRoute(server.router, ruleDataPluginServiceMock); + finalizeSignalsMigrationRoute(server.router, ruleDataPluginServiceMock, docLinks); }); it('returns an empty array error if no migrations exists', async () => { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.ts index 6ea0584c0b0c4..0ff0220056e73 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.ts @@ -5,6 +5,7 @@ * 2.0. */ +import type { DocLinksServiceSetup } from '@kbn/core/server'; import { transformError, BadRequestError } from '@kbn/securitysolution-es-utils'; import type { RuleDataPluginService } from '@kbn/rule-registry-plugin/server'; import { buildRouteValidationWithZod } from '@kbn/zod-helpers'; @@ -19,7 +20,8 @@ import { getMigrationSavedObjectsById } from '../../migrations/get_migration_sav export const finalizeSignalsMigrationRoute = ( router: SecuritySolutionPluginRouter, - ruleDataService: RuleDataPluginService + ruleDataService: RuleDataPluginService, + docLinks: DocLinksServiceSetup ) => { router.versioned .post({ @@ -37,6 +39,13 @@ export const finalizeSignalsMigrationRoute = ( validate: { request: { body: buildRouteValidationWithZod(FinalizeAlertsMigrationRequestBody) }, }, + options: { + deprecated: { + documentationUrl: docLinks.links.securitySolution.signalsMigrationApi, + severity: 'warning', + reason: { type: 'remove' }, + }, + }, }, async (context, request, response) => { const siemResponse = buildSiemResponse(response); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/get_signals_migration_status_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/get_signals_migration_status_route.test.ts index 598e6bfa3e154..9586bc6daebdd 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/get_signals_migration_status_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/get_signals_migration_status_route.test.ts @@ -12,6 +12,7 @@ import { getMigrationSavedObjectsByIndex } from '../../migrations/get_migration_ import { getSignalVersionsByIndex } from '../../migrations/get_signal_versions_by_index'; import { getSignalsMigrationStatusRoute } from './get_signals_migration_status_route'; import { getSignalsIndicesInRange } from '../../migrations/get_signals_indices_in_range'; +import { docLinksServiceMock } from '@kbn/core/server/mocks'; jest.mock('../../migrations/get_signals_indices_in_range'); jest.mock('../../migrations/get_signal_versions_by_index'); @@ -19,10 +20,11 @@ jest.mock('../../migrations/get_migration_saved_objects_by_index'); describe('get signals migration status', () => { let server: ReturnType; + const docLinks = docLinksServiceMock.createSetupContract(); beforeEach(() => { server = serverMock.create(); - getSignalsMigrationStatusRoute(server.router); + getSignalsMigrationStatusRoute(server.router, docLinks); (getSignalsIndicesInRange as jest.Mock).mockResolvedValueOnce(['my-signals-index']); (getSignalVersionsByIndex as jest.Mock).mockResolvedValueOnce({ diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/get_signals_migration_status_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/get_signals_migration_status_route.ts index fc7cfe6fc2eae..15f64c7f96c41 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/get_signals_migration_status_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/get_signals_migration_status_route.ts @@ -5,6 +5,7 @@ * 2.0. */ +import type { DocLinksServiceSetup } from '@kbn/core/server'; import { transformError, getIndexAliases } from '@kbn/securitysolution-es-utils'; import { buildRouteValidationWithZod } from '@kbn/zod-helpers'; import { ReadAlertsMigrationStatusRequestQuery } from '../../../../../common/api/detection_engine/signals_migration'; @@ -18,7 +19,10 @@ import { isOutdated, signalsAreOutdated } from '../../migrations/helpers'; import { getTemplateVersion } from '../index/check_template_version'; import { buildSiemResponse } from '../utils'; -export const getSignalsMigrationStatusRoute = (router: SecuritySolutionPluginRouter) => { +export const getSignalsMigrationStatusRoute = ( + router: SecuritySolutionPluginRouter, + docLinks: DocLinksServiceSetup +) => { router.versioned .get({ path: DETECTION_ENGINE_SIGNALS_MIGRATION_STATUS_URL, @@ -35,6 +39,13 @@ export const getSignalsMigrationStatusRoute = (router: SecuritySolutionPluginRou validate: { request: { query: buildRouteValidationWithZod(ReadAlertsMigrationStatusRequestQuery) }, }, + options: { + deprecated: { + documentationUrl: docLinks.links.securitySolution.signalsMigrationApi, + severity: 'warning', + reason: { type: 'remove' }, + }, + }, }, async (context, request, response) => { const siemResponse = buildSiemResponse(response); diff --git a/x-pack/plugins/security_solution/server/plugin.ts b/x-pack/plugins/security_solution/server/plugin.ts index e371e0fc3b7b5..28666df8c42bf 100644 --- a/x-pack/plugins/security_solution/server/plugin.ts +++ b/x-pack/plugins/security_solution/server/plugin.ts @@ -397,6 +397,7 @@ export class Plugin implements ISecuritySolutionPlugin { previewRuleDataClient, this.telemetryReceiver, this.pluginContext.env.packageInfo.buildFlavor === 'serverless', + core.docLinks, this.endpointContext ); diff --git a/x-pack/plugins/security_solution/server/routes/index.ts b/x-pack/plugins/security_solution/server/routes/index.ts index 140ef1c670f61..ca1cbb493311f 100644 --- a/x-pack/plugins/security_solution/server/routes/index.ts +++ b/x-pack/plugins/security_solution/server/routes/index.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { StartServicesAccessor, Logger } from '@kbn/core/server'; +import type { StartServicesAccessor, Logger, DocLinksServiceSetup } from '@kbn/core/server'; import type { IRuleDataClient, RuleDataPluginService } from '@kbn/rule-registry-plugin/server'; import type { EndpointAppContext } from '../endpoint/types'; @@ -81,6 +81,7 @@ export const initRoutes = ( previewRuleDataClient: IRuleDataClient, previewTelemetryReceiver: ITelemetryReceiver, isServerless: boolean, + docLinks: DocLinksServiceSetup, endpointContext: EndpointAppContext ) => { registerFleetIntegrationsRoutes(router); @@ -114,10 +115,10 @@ export const initRoutes = ( setAlertTagsRoute(router); setAlertAssigneesRoute(router); querySignalsRoute(router, ruleDataClient); - getSignalsMigrationStatusRoute(router); - createSignalsMigrationRoute(router); - finalizeSignalsMigrationRoute(router, ruleDataService); - deleteSignalsMigrationRoute(router); + getSignalsMigrationStatusRoute(router, docLinks); + createSignalsMigrationRoute(router, docLinks); + finalizeSignalsMigrationRoute(router, ruleDataService, docLinks); + deleteSignalsMigrationRoute(router, docLinks); suggestUserProfilesRoute(router, getStartServices); // Detection Engine index routes that have the REST endpoints of /api/detection_engine/index From c609daa97c2b0aa94aebc3fce76c9439e8a4d95c Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Tue, 10 Dec 2024 13:56:15 +0100 Subject: [PATCH 063/103] Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-localization` (#202725) ## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > This PR has been auto-generated. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 1 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/translations-plugin` | `x-pack/platform/plugins/private/translations` |
Updated references ``` ./docs/developer/plugin-list.asciidoc ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-synthetic-package-map/synthetic-packages.json ./packages/kbn-ts-projects/config-paths.json ./src/dev/i18n_tools/README.md ./tsconfig.base.json ./tsconfig.refs.json ./yarn.lock ```
Updated relative paths ``` x-pack/platform/plugins/private/translations/tsconfig.json:2 ```
Script errors ``` ```
--- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/dev/i18n_tools/README.md | 2 +- tsconfig.base.json | 4 ++-- .../plugins/private}/translations/README.asciidoc | 0 .../plugins/private}/translations/kibana.jsonc | 0 .../plugins/private}/translations/server/index.ts | 0 .../plugins/private}/translations/translations/en.json | 0 .../plugins/private}/translations/translations/fr-FR.json | 0 .../plugins/private}/translations/translations/ja-JP.json | 0 .../plugins/private}/translations/translations/zh-CN.json | 0 .../plugins/private}/translations/tsconfig.json | 2 +- yarn.lock | 2 +- 14 files changed, 8 insertions(+), 8 deletions(-) rename x-pack/{plugins => platform/plugins/private}/translations/README.asciidoc (100%) rename x-pack/{plugins => platform/plugins/private}/translations/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/translations/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/translations/translations/en.json (100%) rename x-pack/{plugins => platform/plugins/private}/translations/translations/fr-FR.json (100%) rename x-pack/{plugins => platform/plugins/private}/translations/translations/ja-JP.json (100%) rename x-pack/{plugins => platform/plugins/private}/translations/translations/zh-CN.json (100%) rename x-pack/{plugins => platform/plugins/private}/translations/tsconfig.json (80%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 11035e0eb7dbd..4e1cb694a66cf 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -869,6 +869,7 @@ 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/private/translations @elastic/kibana-localization x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra x-pack/platform/plugins/shared/aiops @elastic/ml-ui @@ -991,7 +992,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/translations @elastic/kibana-localization x-pack/plugins/triggers_actions_ui @elastic/response-ops x-pack/plugins/upgrade_assistant @elastic/kibana-management x-pack/plugins/watcher @elastic/kibana-management diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 982c9c969122c..7de266985c6d6 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -988,4 +988,4 @@ include::{kibana-root}/src/plugins/expressions/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/plugins/ui_actions/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/plugins/dashboard_enhanced/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/plugins/embeddable_enhanced/README.asciidoc[leveloffset=+1] -include::{kibana-root}/x-pack/plugins/translations/README.asciidoc[leveloffset=+1] +include::{kibana-root}/x-pack/platform/plugins/private/translations/README.asciidoc[leveloffset=+1] diff --git a/package.json b/package.json index 9e2bd09e7a0d1..47f098d33f40d 100644 --- a/package.json +++ b/package.json @@ -963,7 +963,7 @@ "@kbn/timerange": "link:packages/kbn-timerange", "@kbn/tinymath": "link:packages/kbn-tinymath", "@kbn/transform-plugin": "link:x-pack/platform/plugins/private/transform", - "@kbn/translations-plugin": "link:x-pack/plugins/translations", + "@kbn/translations-plugin": "link:x-pack/platform/plugins/private/translations", "@kbn/transpose-utils": "link:packages/kbn-transpose-utils", "@kbn/triggers-actions-ui-example-plugin": "link:x-pack/examples/triggers_actions_ui_example", "@kbn/triggers-actions-ui-plugin": "link:x-pack/plugins/triggers_actions_ui", diff --git a/src/dev/i18n_tools/README.md b/src/dev/i18n_tools/README.md index 6fc50a3a59b47..041d7215f00ef 100644 --- a/src/dev/i18n_tools/README.md +++ b/src/dev/i18n_tools/README.md @@ -134,7 +134,7 @@ The tool throws an exception if `formats` object is missing in locale file. ### Usage ```bash -node scripts/i18n_integrate --source path/to/locale.json --target x-pack/plugins/translations/translations/locale.json +node scripts/i18n_integrate --source path/to/locale.json --target x-pack/platform/plugins/private/translations/translations/locale.json ``` * `--source` path to the JSON file with translations that should be integrated. diff --git a/tsconfig.base.json b/tsconfig.base.json index 9fd96ede22e5c..bc77936f8d3b9 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1932,8 +1932,8 @@ "@kbn/tooling-log/*": ["packages/kbn-tooling-log/*"], "@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/translations-plugin": ["x-pack/platform/plugins/private/translations"], + "@kbn/translations-plugin/*": ["x-pack/platform/plugins/private/translations/*"], "@kbn/transpose-utils": ["packages/kbn-transpose-utils"], "@kbn/transpose-utils/*": ["packages/kbn-transpose-utils/*"], "@kbn/triggers-actions-ui-example-plugin": ["x-pack/examples/triggers_actions_ui_example"], diff --git a/x-pack/plugins/translations/README.asciidoc b/x-pack/platform/plugins/private/translations/README.asciidoc similarity index 100% rename from x-pack/plugins/translations/README.asciidoc rename to x-pack/platform/plugins/private/translations/README.asciidoc diff --git a/x-pack/plugins/translations/kibana.jsonc b/x-pack/platform/plugins/private/translations/kibana.jsonc similarity index 100% rename from x-pack/plugins/translations/kibana.jsonc rename to x-pack/platform/plugins/private/translations/kibana.jsonc diff --git a/x-pack/plugins/translations/server/index.ts b/x-pack/platform/plugins/private/translations/server/index.ts similarity index 100% rename from x-pack/plugins/translations/server/index.ts rename to x-pack/platform/plugins/private/translations/server/index.ts diff --git a/x-pack/plugins/translations/translations/en.json b/x-pack/platform/plugins/private/translations/translations/en.json similarity index 100% rename from x-pack/plugins/translations/translations/en.json rename to x-pack/platform/plugins/private/translations/translations/en.json diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json similarity index 100% rename from x-pack/plugins/translations/translations/fr-FR.json rename to x-pack/platform/plugins/private/translations/translations/fr-FR.json diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json similarity index 100% rename from x-pack/plugins/translations/translations/ja-JP.json rename to x-pack/platform/plugins/private/translations/translations/ja-JP.json diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json similarity index 100% rename from x-pack/plugins/translations/translations/zh-CN.json rename to x-pack/platform/plugins/private/translations/translations/zh-CN.json diff --git a/x-pack/plugins/translations/tsconfig.json b/x-pack/platform/plugins/private/translations/tsconfig.json similarity index 80% rename from x-pack/plugins/translations/tsconfig.json rename to x-pack/platform/plugins/private/translations/tsconfig.json index e48f8b0627a1b..a9784e9415491 100644 --- a/x-pack/plugins/translations/tsconfig.json +++ b/x-pack/platform/plugins/private/translations/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/yarn.lock b/yarn.lock index 67571d31600ab..860efbbc2c5c2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7680,7 +7680,7 @@ version "0.0.0" uid "" -"@kbn/translations-plugin@link:x-pack/plugins/translations": +"@kbn/translations-plugin@link:x-pack/platform/plugins/private/translations": version "0.0.0" uid "" From 6cb14302a1a3fd157d1e1947493a0d0d5f4980f6 Mon Sep 17 00:00:00 2001 From: Mykola Harmash Date: Tue, 10 Dec 2024 14:07:11 +0100 Subject: [PATCH 064/103] [Observability Onboarding] Show existing data callout in Firehose flow (#203072) Closes https://github.com/elastic/kibana/issues/190795 Adds the logic to display a message to the user in case there is already an existing Firehose data in their cluster and to show the identified AWS services in the "Visualize Data" step right away without waiting for the window to loose focus first. ![CleanShot 2024-12-05 at 11 50 59@2x](https://github.com/user-attachments/assets/00653bf0-f711-4029-9011-a34a160b4b9b) ## How to test 1. Open the Firehose flow 2. Make sure there is no callout and the third step is not active 3. Go to Kibana dev console and ingest some dummy data (see examples bellow) 4. Refresh the page with the Firehose flow 5. make sure there is a callout and the third steps shows the identified AWS service ``` POST logs-aws.apigateway_logs-default/_doc { "@timestamp": "2024-11-25T13:32:01.000Z", "some": 111, "aws.kinesis.name": "Elastic-CloudwatchLogs" } POST metrics-aws.apigateway_metrics-default/_doc { "@timestamp": "2024-11-25T13:31:01.000Z", "agent": { "type": "firehose" }, "aws": { "cloudwatch": { "namespace": "AWS/ApiGateway" }, "exporter": { "arn": "arn:aws:cloudwatch:us-west-2:975050175126:metric-stream/Elastic-CloudwatchLogsAndMetricsToFirehose-CloudWatchMetricStream-Nhb4NhzPdL4J" } }, "cloud": { "account": { "id": "975050175126" }, "provider": "aws", "region": "us-west-2" } } ``` --- .../firehose/existing_data_callout.tsx | 36 +++++++++++++++++++ .../quickstart_flows/firehose/index.tsx | 25 +++++++++---- .../firehose/use_populated_aws_index_list.ts | 25 +++++++++++++ .../firehose/visualize_data.tsx | 29 +++++---------- .../observability/onboarding/firehose.ts | 34 ++++++++++++++++++ 5 files changed, 122 insertions(+), 27 deletions(-) create mode 100644 x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx create mode 100644 x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx new file mode 100644 index 0000000000000..2be3a663d8020 --- /dev/null +++ b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/existing_data_callout.tsx @@ -0,0 +1,36 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { EuiCallOut, useIsWithinMaxBreakpoint } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; + +export function ExistingDataCallout() { + const isMobile = useIsWithinMaxBreakpoint('s'); + + return ( +
+ +

+ {i18n.translate( + 'xpack.observability_onboarding.firehose.existingDataCallout.description', + { + defaultMessage: `If the Amazon Firehose Data stream(s) associated with this workflow are still active, you will encounter errors during onboarding. Navigate to Step 3 below in order to explore your services.`, + } + )} +

+
+
+ ); +} diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx index 381630702d737..01e2dd02c3c47 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx +++ b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/index.tsx @@ -31,6 +31,8 @@ import { useFirehoseFlow } from './use_firehose_flow'; import { VisualizeData } from './visualize_data'; import { ObservabilityOnboardingAppServices } from '../../..'; import { useWindowBlurDataMonitoringTrigger } from '../shared/use_window_blur_data_monitoring_trigger'; +import { ExistingDataCallout } from './existing_data_callout'; +import { usePopulatedAWSIndexList } from './use_populated_aws_index_list'; const OPTIONS = [ { @@ -61,6 +63,9 @@ export function FirehosePanel() { }, } = useKibana(); const { data, status, error, refetch } = useFirehoseFlow(); + const { data: populatedAWSIndexList } = usePopulatedAWSIndexList(); + + const hasExistingData = Array.isArray(populatedAWSIndexList) && populatedAWSIndexList.length > 0; const telemetryEventContext: OnboardingFlowEventContext = useMemo( () => ({ @@ -72,12 +77,13 @@ export function FirehosePanel() { [cloudServiceProvider, selectedOptionId] ); - const isMonitoringData = useWindowBlurDataMonitoringTrigger({ - isActive: status === FETCH_STATUS.SUCCESS, - onboardingFlowType: 'firehose', - onboardingId: data?.onboardingId, - telemetryEventContext, - }); + const isMonitoringData = + useWindowBlurDataMonitoringTrigger({ + isActive: status === FETCH_STATUS.SUCCESS, + onboardingFlowType: 'firehose', + onboardingId: data?.onboardingId, + telemetryEventContext, + }) || hasExistingData; const onOptionChange = useCallback((id: string) => { setSelectedOptionId(id as CreateStackOption); @@ -193,6 +199,7 @@ export function FirehosePanel() { ), }, @@ -200,6 +207,12 @@ export function FirehosePanel() { return ( + {hasExistingData && ( + <> + + + + )} diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts new file mode 100644 index 0000000000000..070a5aed4e2db --- /dev/null +++ b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/use_populated_aws_index_list.ts @@ -0,0 +1,25 @@ +/* + * Copyright 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 { useFetcher } from '../../../hooks/use_fetcher'; +import { + FIREHOSE_CLOUDFORMATION_STACK_NAME, + FIREHOSE_LOGS_STREAM_NAME, +} from '../../../../common/aws_firehose'; + +export function usePopulatedAWSIndexList() { + return useFetcher((callApi) => { + return callApi('GET /internal/observability_onboarding/firehose/has-data', { + params: { + query: { + logsStreamName: FIREHOSE_LOGS_STREAM_NAME, + stackName: FIREHOSE_CLOUDFORMATION_STACK_NAME, + }, + }, + }); + }, []); +} diff --git a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx index 45a2089c2d1c4..30023f20bf6cc 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx +++ b/x-pack/plugins/observability_solution/observability_onboarding/public/application/quickstart_flows/firehose/visualize_data.tsx @@ -13,11 +13,7 @@ import { unionBy } from 'lodash'; import { useKibana } from '@kbn/kibana-react-plugin/public'; import { FormattedMessage } from '@kbn/i18n-react'; import { ObservabilityOnboardingAppServices } from '../../..'; -import { - FIREHOSE_CLOUDFORMATION_STACK_NAME, - FIREHOSE_LOGS_STREAM_NAME, -} from '../../../../common/aws_firehose'; -import { FETCH_STATUS, useFetcher } from '../../../hooks/use_fetcher'; +import { FETCH_STATUS } from '../../../hooks/use_fetcher'; import { AccordionWithIcon } from '../shared/accordion_with_icon'; import { GetStartedPanel } from '../shared/get_started_panel'; import { @@ -28,34 +24,25 @@ import { AutoRefreshCallout } from './auto_refresh_callout'; import { ProgressCallout } from './progress_callout'; import { HAS_DATA_FETCH_INTERVAL } from './utils'; import { CreateStackOption } from './types'; +import { usePopulatedAWSIndexList } from './use_populated_aws_index_list'; const REQUEST_PENDING_STATUS_LIST = [FETCH_STATUS.LOADING, FETCH_STATUS.NOT_INITIATED]; interface Props { onboardingId: string; selectedCreateStackOption: CreateStackOption; + hasExistingData: boolean; } -export function VisualizeData({ onboardingId, selectedCreateStackOption }: Props) { +export function VisualizeData({ onboardingId, selectedCreateStackOption, hasExistingData }: Props) { const accordionId = useGeneratedHtmlId({ prefix: 'accordion' }); const [orderedVisibleAWSServiceList, setOrderedVisibleAWSServiceList] = useState< AWSServiceGetStartedConfig[] >([]); - const [shouldShowDataReceivedToast, setShouldShowDataReceivedToast] = useState(true); - const { - data: populatedAWSIndexList, - status, - refetch, - } = useFetcher((callApi) => { - return callApi('GET /internal/observability_onboarding/firehose/has-data', { - params: { - query: { - logsStreamName: FIREHOSE_LOGS_STREAM_NAME, - stackName: FIREHOSE_CLOUDFORMATION_STACK_NAME, - }, - }, - }); - }, []); + const [shouldShowDataReceivedToast, setShouldShowDataReceivedToast] = useState( + !hasExistingData + ); + const { data: populatedAWSIndexList, status, refetch } = usePopulatedAWSIndexList(); const { services: { notifications, diff --git a/x-pack/test_serverless/functional/test_suites/observability/onboarding/firehose.ts b/x-pack/test_serverless/functional/test_suites/observability/onboarding/firehose.ts index 22c700d16be2d..163ff88c8ee5d 100644 --- a/x-pack/test_serverless/functional/test_suites/observability/onboarding/firehose.ts +++ b/x-pack/test_serverless/functional/test_suites/observability/onboarding/firehose.ts @@ -83,5 +83,39 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { // Checking that an AWS service item is visible after data is detected await testSubjects.isDisplayed(`observabilityOnboardingAWSService-${AWS_SERVICE_ID}`); }); + + it('shows the existing data callout and detected AWS services when data was ingested previously', async () => { + const DATASET = 'aws.vpcflow'; + const AWS_SERVICE_ID = 'vpc-flow'; + await testSubjects.clickWhenNotDisabled('observabilityOnboardingCopyToClipboardButton'); + const copiedCommand = await browser.getClipboardValue(); + const [, _stackName, logsStreamName] = copiedCommand.match(CF_COMMAND_REGEXP) ?? []; + + await testSubjects.missingOrFail('observabilityOnboardingFirehosePanelExistingDataCallout'); + + expect(logsStreamName).toBeDefined(); + + // Simulate Firehose stream ingesting log files + const to = new Date().toISOString(); + const count = 1; + await synthtrace.index( + timerange(moment(to).subtract(count, 'minute'), moment(to)) + .interval('1m') + .rate(1) + .generator((timestamp) => { + return log.create().dataset(DATASET).timestamp(timestamp).defaults({ + 'aws.kinesis.name': logsStreamName, + }); + }) + ); + + await browser.refresh(); + + // Checking that the existing data callout is visible after data is detected + await testSubjects.isDisplayed('observabilityOnboardingFirehosePanelExistingDataCallout'); + + // Checking that an AWS service item is visible after data is detected + await testSubjects.isDisplayed(`observabilityOnboardingAWSService-${AWS_SERVICE_ID}`); + }); }); } From 13c5722daeb0e1a08e110b84b565abb02666e700 Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Tue, 10 Dec 2024 14:30:14 +0100 Subject: [PATCH 065/103] [ML] Rename "Logs AIOps" panel section "Log analysis" (#203375) ## Summary Renames the "Logs AIOps" embeddable panel section to "Log analysis". ![image](https://github.com/user-attachments/assets/ea946962-a9bf-4a7f-817d-9a6fbc6e5349) ### Checklist - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials --- packages/kbn-optimizer/limits.yml | 2 +- x-pack/platform/packages/shared/ml/aiops_common/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/kbn-optimizer/limits.yml b/packages/kbn-optimizer/limits.yml index b1b4cb38d3f19..3152a02cd730f 100644 --- a/packages/kbn-optimizer/limits.yml +++ b/packages/kbn-optimizer/limits.yml @@ -2,7 +2,7 @@ pageLoadAssetSize: actions: 20000 advancedSettings: 27596 aiAssistantManagementSelection: 19146 - aiops: 17680 + aiops: 18000 alerting: 106936 apm: 64385 assetInventory: 18478 diff --git a/x-pack/platform/packages/shared/ml/aiops_common/constants.ts b/x-pack/platform/packages/shared/ml/aiops_common/constants.ts index 1a75e929c147a..0875664120ee5 100644 --- a/x-pack/platform/packages/shared/ml/aiops_common/constants.ts +++ b/x-pack/platform/packages/shared/ml/aiops_common/constants.ts @@ -36,7 +36,7 @@ export const AIOPS_EMBEDDABLE_GROUPING = [ id: 'logs-aiops', getDisplayName: () => i18n.translate('xpack.aiops.embedabble.groupingDisplayName', { - defaultMessage: 'Logs AIOps', + defaultMessage: 'Log analysis', }), getIconType: () => 'machineLearningApp', }, From 1a20fda7021fa49d054c19d4757592dda385f5de Mon Sep 17 00:00:00 2001 From: Carlos Crespo Date: Tue, 10 Dec 2024 14:33:32 +0100 Subject: [PATCH 066/103] [Infra] Fix call to service api (#203451) fixes [203389](https://github.com/elastic/kibana/issues/203389) ## Summary Fix the call to `/api/infra/services` when using a relative date range ![service_api_relative_date_range](https://github.com/user-attachments/assets/772bba2c-07c8-4031-8d8a-61bdc7ab6d70) ### How to test - Navigate to host detail view, and change the data picker to use relative dates - Click on Submit --- .../asset_details/tabs/overview/services.tsx | 12 +++- .../infra/public/hooks/use_time_range.test.ts | 59 +++++++++++++++++++ .../infra/public/hooks/use_time_range.ts | 39 ++++++++++++ .../metrics/hosts/hooks/use_unified_search.ts | 28 +++------ 4 files changed, 114 insertions(+), 24 deletions(-) create mode 100644 x-pack/plugins/observability_solution/infra/public/hooks/use_time_range.test.ts create mode 100644 x-pack/plugins/observability_solution/infra/public/hooks/use_time_range.ts diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/services.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/services.tsx index 0e504413abbcf..01e1e4889922f 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/services.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/services.tsx @@ -11,6 +11,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; import type { TimeRange } from '@kbn/es-query'; import { useLinkProps } from '@kbn/observability-shared-plugin/public'; import { decodeOrThrow } from '@kbn/io-ts-utils'; +import { useTimeRange } from '../../../../hooks/use_time_range'; import { ServicesAPIResponseRT } from '../../../../../common/http_api'; import { isPending, useFetcher } from '../../../../hooks/use_fetcher'; import { Section } from '../../components/section'; @@ -44,13 +45,18 @@ export const ServicesContent = ({ app: 'apm', pathname: '/onboarding', }); + + const parsedDateRange = useTimeRange({ + rangeFrom: dateRange.from, + rangeTo: dateRange.to, + }); + const params = useMemo( () => ({ filters: { [HOST_NAME_FIELD]: hostName }, - from: dateRange.from, - to: dateRange.to, + ...parsedDateRange, }), - [hostName, dateRange.from, dateRange.to] + [hostName, parsedDateRange] ); const query = useMemo(() => ({ ...params, filters: JSON.stringify(params.filters) }), [params]); diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_time_range.test.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_time_range.test.ts new file mode 100644 index 0000000000000..03227d4bbf65e --- /dev/null +++ b/x-pack/plugins/observability_solution/infra/public/hooks/use_time_range.test.ts @@ -0,0 +1,59 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { renderHook } from '@testing-library/react-hooks'; +import { useTimeRange } from './use_time_range'; +import * as datemath from '../utils/datemath'; + +jest.mock('../utils/datemath'); + +describe('useTimeRange', () => { + const mockParseDateRange = datemath.parseDateRange as jest.Mock; + + beforeEach(() => { + Date.now = jest.fn(() => new Date(Date.UTC(2021, 0, 1, 12)).valueOf()); + }); + + afterEach(() => { + jest.clearAllMocks(); + }); + + it('returns default timestamps when rangeFrom and rangeTo are not provided', () => { + const { result } = renderHook(() => useTimeRange({})); + + const now = Date.now(); + const expectedFrom = new Date(now - 15 * 60000).toISOString(); + const expectedTo = new Date(now).toISOString(); + + expect(result.current.from).toBe(expectedFrom); + expect(result.current.to).toBe(expectedTo); + }); + + it('returns parsed date range when rangeFrom and rangeTo are provided', () => { + const mockFrom = '2021-01-01T00:00:00.000Z'; + const mockTo = '2021-01-01T01:00:00.000Z'; + mockParseDateRange.mockReturnValue({ from: mockFrom, to: mockTo }); + + const { result } = renderHook(() => useTimeRange({ rangeFrom: 'now-15m', rangeTo: 'now' })); + + expect(result.current.from).toBe(mockFrom); + expect(result.current.to).toBe(mockTo); + }); + + it('returns default timestamps when parseDateRange returns undefined values', () => { + mockParseDateRange.mockReturnValue({ from: undefined, to: undefined }); + + const { result } = renderHook(() => useTimeRange({ rangeFrom: 'now-15m', rangeTo: 'now' })); + + const now = Date.now(); + const expectedFrom = new Date(now - 15 * 60000).toISOString(); + const expectedTo = new Date(now).toISOString(); + + expect(result.current.from).toBe(expectedFrom); + expect(result.current.to).toBe(expectedTo); + }); +}); diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_time_range.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_time_range.ts new file mode 100644 index 0000000000000..5fd833a180f3d --- /dev/null +++ b/x-pack/plugins/observability_solution/infra/public/hooks/use_time_range.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 { useMemo } from 'react'; +import { parseDateRange } from '../utils/datemath'; + +const DEFAULT_FROM_IN_MILLISECONDS = 15 * 60000; + +const getDefaultTimestamps = () => { + const now = Date.now(); + + return { + from: new Date(now - DEFAULT_FROM_IN_MILLISECONDS).toISOString(), + to: new Date(now).toISOString(), + }; +}; + +export const useTimeRange = ({ rangeFrom, rangeTo }: { rangeFrom?: string; rangeTo?: string }) => { + const parsedDateRange = useMemo(() => { + const defaults = getDefaultTimestamps(); + + if (!rangeFrom || !rangeTo) { + return defaults; + } + + const { from = defaults.from, to = defaults.to } = parseDateRange({ + from: rangeFrom, + to: rangeTo, + }); + + return { from, to }; + }, [rangeFrom, rangeTo]); + + return parsedDateRange; +}; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts index 8a7302da1a223..6feefd399a829 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts @@ -5,14 +5,14 @@ * 2.0. */ import createContainer from 'constate'; -import { useCallback, useEffect, useMemo, useState } from 'react'; +import { useCallback, useEffect, useState } from 'react'; import { buildEsQuery, Filter, fromKueryExpression, TimeRange, type Query } from '@kbn/es-query'; import { Subscription, map, tap } from 'rxjs'; import deepEqual from 'fast-deep-equal'; import useEffectOnce from 'react-use/lib/useEffectOnce'; import { useKibanaQuerySettings } from '@kbn/observability-shared-plugin/public'; +import { useTimeRange } from '../../../../hooks/use_time_range'; import { useSearchSessionContext } from '../../../../hooks/use_search_session'; -import { parseDateRange } from '../../../../utils/datemath'; import { useKibanaContextForPlugin } from '../../../../hooks/use_kibana'; import { telemetryTimeRangeFormatter } from '../../../../../common/formatters/telemetry_time_range'; import { useMetricsDataViewContext } from '../../../../containers/metrics_source'; @@ -38,17 +38,6 @@ const buildQuerySubmittedPayload = ( }; }; -const DEFAULT_FROM_IN_MILLISECONDS = 15 * 60000; - -const getDefaultTimestamps = () => { - const now = Date.now(); - - return { - from: new Date(now - DEFAULT_FROM_IN_MILLISECONDS).toISOString(), - to: new Date(now).toISOString(), - }; -}; - export const useUnifiedSearch = () => { const [error, setError] = useState(null); const [searchCriteria, setSearch] = useHostsUrlState(); @@ -57,6 +46,11 @@ export const useUnifiedSearch = () => { const { services } = useKibanaContextForPlugin(); const kibanaQuerySettings = useKibanaQuerySettings(); + const parsedDateRange = useTimeRange({ + rangeFrom: searchCriteria.dateRange.from, + rangeTo: searchCriteria.dateRange.to, + }); + const { data: { query: { filterManager: filterManagerService, queryString: queryStringService }, @@ -120,14 +114,6 @@ export const useUnifiedSearch = () => { [onDateRangeChange, updateSearchSessionId] ); - const parsedDateRange = useMemo(() => { - const defaults = getDefaultTimestamps(); - - const { from = defaults.from, to = defaults.to } = parseDateRange(searchCriteria.dateRange); - - return { from, to }; - }, [searchCriteria.dateRange]); - const getDateRangeAsTimestamp = useCallback(() => { const from = new Date(parsedDateRange.from).getTime(); const to = new Date(parsedDateRange.to).getTime(); From 2818a7cc5a94880964017e9ff80dcd546f5357f7 Mon Sep 17 00:00:00 2001 From: Kenneth Kreindler <42113355+KDKHD@users.noreply.github.com> Date: Tue, 10 Dec 2024 13:43:13 +0000 Subject: [PATCH 067/103] [Security Assistant] Fix animation border color of security AI assistant (#202319) ## Summary **Resolves: https://github.com/elastic/kibana/issues/186135** Changes: - Update border color of animated border of the security AI assistance icon from `euiColorPrimary` to `euiBorderColor`. Old border color: image New border color: image image New animated: ![Nov-29-2024 13-58-11](https://github.com/user-attachments/assets/2eaaf5a0-9bc2-4d84-9625-11ed7902c2c8) ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss. No Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging. - [X] [See some risk examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine --- .../impl/assistant/assistant_animated_icon.tsx | 7 +++---- .../impl/data_anonymization_editor/stats/index.tsx | 6 +++--- .../impl/mock/test_providers/test_providers.tsx | 7 +++---- x-pack/packages/kbn-elastic-assistant/tsconfig.json | 1 + 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/x-pack/packages/kbn-elastic-assistant/impl/assistant/assistant_animated_icon.tsx b/x-pack/packages/kbn-elastic-assistant/impl/assistant/assistant_animated_icon.tsx index eeb6e83368acd..f569ca1450caf 100644 --- a/x-pack/packages/kbn-elastic-assistant/impl/assistant/assistant_animated_icon.tsx +++ b/x-pack/packages/kbn-elastic-assistant/impl/assistant/assistant_animated_icon.tsx @@ -7,7 +7,6 @@ import React from 'react'; import styled from '@emotion/styled'; -import { euiThemeVars } from '@kbn/ui-theme'; import { AssistantAvatar } from './assistant_avatar/assistant_avatar'; const Container = styled.div` @@ -18,8 +17,8 @@ const Container = styled.div` display: flex; justify-content: center; align-items: center; - margin-top: ${euiThemeVars.euiSizeXXL}; - margin-bottom: ${euiThemeVars.euiSizeL}; + margin-top: ${({ theme }) => theme.euiTheme.size.xxl}; + margin-bottom: ${({ theme }) => theme.euiTheme.size.l}; :before, :after { @@ -45,7 +44,7 @@ const Animation = styled.div` top: 0; left: 0; z-index: 0; - border: 1px solid ${euiThemeVars.euiColorPrimary}; + border: 1px solid ${(props) => props.theme.euiTheme.colors.borderBasePlain}; border-radius: inherit; animation: 4s cubic-bezier(0.42, 0, 0.37, 1) 0.5s infinite normal none running pulsing; } diff --git a/x-pack/packages/kbn-elastic-assistant/impl/data_anonymization_editor/stats/index.tsx b/x-pack/packages/kbn-elastic-assistant/impl/data_anonymization_editor/stats/index.tsx index b628119032d1a..180933409aafd 100644 --- a/x-pack/packages/kbn-elastic-assistant/impl/data_anonymization_editor/stats/index.tsx +++ b/x-pack/packages/kbn-elastic-assistant/impl/data_anonymization_editor/stats/index.tsx @@ -9,8 +9,8 @@ import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; import { AnonymizationFieldResponse } from '@kbn/elastic-assistant-common/impl/schemas/anonymization_fields/bulk_crud_anonymization_fields_route.gen'; import { Replacements } from '@kbn/elastic-assistant-common'; import React, { useMemo } from 'react'; -// eslint-disable-next-line @kbn/eslint/module_migration -import styled from 'styled-components'; + +import styled from '@emotion/styled'; import { AllowedStat } from './allowed_stat'; import { AnonymizedStat } from './anonymized_stat'; @@ -18,7 +18,7 @@ import { getStats } from '../get_stats'; import { AvailableStat } from './available_stat'; const StatFlexItem = styled(EuiFlexItem)` - margin-right: ${({ theme }) => theme.eui.euiSizeL}; + margin-right: ${({ theme }) => theme.euiTheme.size.l}; `; interface Props { diff --git a/x-pack/packages/kbn-elastic-assistant/impl/mock/test_providers/test_providers.tsx b/x-pack/packages/kbn-elastic-assistant/impl/mock/test_providers/test_providers.tsx index 763085cca2688..d19dd7ff70890 100644 --- a/x-pack/packages/kbn-elastic-assistant/impl/mock/test_providers/test_providers.tsx +++ b/x-pack/packages/kbn-elastic-assistant/impl/mock/test_providers/test_providers.tsx @@ -8,10 +8,9 @@ import { httpServiceMock } from '@kbn/core-http-browser-mocks'; import { I18nProvider } from '@kbn/i18n-react'; import { actionTypeRegistryMock } from '@kbn/triggers-actions-ui-plugin/public/application/action_type_registry.mock'; -import { euiDarkVars } from '@kbn/ui-theme'; import React from 'react'; -// eslint-disable-next-line @kbn/eslint/module_migration -import { ThemeProvider } from 'styled-components'; + +import { EuiThemeProvider as ThemeProvider } from '@elastic/eui'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { UserProfileService } from '@kbn/core/public'; @@ -67,7 +66,7 @@ export const TestProvidersComponent: React.FC = ({ return ( - ({ eui: euiDarkVars, darkMode: true })}> + Date: Tue, 10 Dec 2024 15:02:12 +0100 Subject: [PATCH 068/103] [EDR Workflows] Add RunScript CS Command - UI (#202012) --- .../common/endpoint/constants.ts | 1 + .../endpoint_action_generator.ts | 11 +++ .../service/response_actions/constants.ts | 8 ++ .../is_response_action_supported.ts | 12 +++ .../common/experimental_features.ts | 6 ++ .../public/management/common/translations.ts | 82 +++++++++++++++++++ .../console/components/command_usage.tsx | 11 ++- .../management/components/console/types.ts | 14 +++- .../lib/console_commands_definition.ts | 68 ++++++++++++++- .../console_commands_definition.test.tsx | 8 +- .../components/actions_log_filter.tsx | 3 + .../components/actions_log_filters.tsx | 4 + .../components/hooks.tsx | 4 + .../response_actions_log.test.tsx | 7 +- .../response_actions_log.tsx | 3 + .../serverless/feature_access/complete.cy.ts | 4 +- .../feature_access/essentials.cy.ts | 4 +- .../essentials_with_endpoint.cy.ts | 4 +- .../roles/complete_with_endpoint_roles.cy.ts | 6 +- .../management/cypress/screens/responder.ts | 3 +- .../cypress/tasks/response_actions.ts | 6 ++ .../server/endpoint/routes/actions/utils.ts | 5 ++ .../services/actions/action_list.test.ts | 2 +- .../services/feature_usage/feature_keys.ts | 2 + 24 files changed, 259 insertions(+), 19 deletions(-) diff --git a/x-pack/plugins/security_solution/common/endpoint/constants.ts b/x-pack/plugins/security_solution/common/endpoint/constants.ts index 6aae156e9ac11..c08dc5b811f84 100644 --- a/x-pack/plugins/security_solution/common/endpoint/constants.ts +++ b/x-pack/plugins/security_solution/common/endpoint/constants.ts @@ -96,6 +96,7 @@ export const GET_FILE_ROUTE = `${BASE_ENDPOINT_ACTION_ROUTE}/get_file`; export const EXECUTE_ROUTE = `${BASE_ENDPOINT_ACTION_ROUTE}/execute`; export const UPLOAD_ROUTE = `${BASE_ENDPOINT_ACTION_ROUTE}/upload`; export const SCAN_ROUTE = `${BASE_ENDPOINT_ACTION_ROUTE}/scan`; +export const RUN_SCRIPT_ROUTE = `${BASE_ENDPOINT_ACTION_ROUTE}/run_script`; /** Endpoint Actions Routes */ export const ENDPOINT_ACTION_LOG_ROUTE = `${BASE_ENDPOINT_ROUTE}/action_log/{agent_id}`; diff --git a/x-pack/plugins/security_solution/common/endpoint/data_generators/endpoint_action_generator.ts b/x-pack/plugins/security_solution/common/endpoint/data_generators/endpoint_action_generator.ts index 91de8579426ea..e221bad5fcb28 100644 --- a/x-pack/plugins/security_solution/common/endpoint/data_generators/endpoint_action_generator.ts +++ b/x-pack/plugins/security_solution/common/endpoint/data_generators/endpoint_action_generator.ts @@ -147,6 +147,17 @@ export class EndpointActionGenerator extends BaseDataGenerator { } } + if (command === 'runscript') { + if (!output) { + output = { + type: 'json', + content: { + code: '200', + }, + }; + } + } + if (command === 'execute') { if (!output) { output = this.generateExecuteActionResponseOutput(); diff --git a/x-pack/plugins/security_solution/common/endpoint/service/response_actions/constants.ts b/x-pack/plugins/security_solution/common/endpoint/service/response_actions/constants.ts index 3f06fbd4e4ffc..d60002d5a060c 100644 --- a/x-pack/plugins/security_solution/common/endpoint/service/response_actions/constants.ts +++ b/x-pack/plugins/security_solution/common/endpoint/service/response_actions/constants.ts @@ -28,6 +28,7 @@ export const RESPONSE_ACTION_API_COMMANDS_NAMES = [ 'execute', 'upload', 'scan', + 'runscript', ] as const; export type ResponseActionsApiCommandNames = (typeof RESPONSE_ACTION_API_COMMANDS_NAMES)[number]; @@ -54,6 +55,7 @@ export const ENDPOINT_CAPABILITIES = [ 'execute', 'upload_file', 'scan', + 'runscript', ] as const; export type EndpointCapabilities = (typeof ENDPOINT_CAPABILITIES)[number]; @@ -72,6 +74,7 @@ export const CONSOLE_RESPONSE_ACTION_COMMANDS = [ 'execute', 'upload', 'scan', + 'runscript', ] as const; export type ConsoleResponseActionCommands = (typeof CONSOLE_RESPONSE_ACTION_COMMANDS)[number]; @@ -100,6 +103,7 @@ export const RESPONSE_CONSOLE_ACTION_COMMANDS_TO_RBAC_FEATURE_CONTROL: Record< execute: 'writeExecuteOperations', upload: 'writeFileOperations', scan: 'writeScanOperations', + runscript: 'writeExecuteOperations', }); export const RESPONSE_ACTION_API_COMMAND_TO_CONSOLE_COMMAND_MAP = Object.freeze< @@ -114,6 +118,7 @@ export const RESPONSE_ACTION_API_COMMAND_TO_CONSOLE_COMMAND_MAP = Object.freeze< 'suspend-process': 'suspend-process', upload: 'upload', scan: 'scan', + runscript: 'runscript', }); export const RESPONSE_CONSOLE_COMMAND_TO_API_COMMAND_MAP = Object.freeze< @@ -128,6 +133,7 @@ export const RESPONSE_CONSOLE_COMMAND_TO_API_COMMAND_MAP = Object.freeze< 'suspend-process': 'suspend-process', upload: 'upload', scan: 'scan', + runscript: 'runscript', }); export const RESPONSE_CONSOLE_ACTION_COMMANDS_TO_ENDPOINT_CAPABILITY = Object.freeze< @@ -142,6 +148,7 @@ export const RESPONSE_CONSOLE_ACTION_COMMANDS_TO_ENDPOINT_CAPABILITY = Object.fr 'suspend-process': 'suspend_process', upload: 'upload_file', scan: 'scan', + runscript: 'runscript', }); /** @@ -159,6 +166,7 @@ export const RESPONSE_CONSOLE_ACTION_COMMANDS_TO_REQUIRED_AUTHZ = Object.freeze< 'kill-process': 'canKillProcess', 'suspend-process': 'canSuspendProcess', scan: 'canWriteScanOperations', + runscript: 'canWriteExecuteOperations', }); // 4 hrs in seconds diff --git a/x-pack/plugins/security_solution/common/endpoint/service/response_actions/is_response_action_supported.ts b/x-pack/plugins/security_solution/common/endpoint/service/response_actions/is_response_action_supported.ts index 928327fc0e28d..0e1fc072b2604 100644 --- a/x-pack/plugins/security_solution/common/endpoint/service/response_actions/is_response_action_supported.ts +++ b/x-pack/plugins/security_solution/common/endpoint/service/response_actions/is_response_action_supported.ts @@ -126,6 +126,18 @@ const RESPONSE_ACTIONS_SUPPORT_MAP: SupportMap = { crowdstrike: false, }, }, + runscript: { + automated: { + endpoint: false, + sentinel_one: false, + crowdstrike: false, + }, + manual: { + endpoint: false, + sentinel_one: false, + crowdstrike: true, + }, + }, }; /** diff --git a/x-pack/plugins/security_solution/common/experimental_features.ts b/x-pack/plugins/security_solution/common/experimental_features.ts index def958c07bd2d..03412c7ff4b26 100644 --- a/x-pack/plugins/security_solution/common/experimental_features.ts +++ b/x-pack/plugins/security_solution/common/experimental_features.ts @@ -257,6 +257,12 @@ export const allowedExperimentalValues = Object.freeze({ * Enables the Defend Insights feature */ defendInsights: false, + + /** + * Enables CrowdStrike's RunScript RTR command + */ + + crowdstrikeRunScriptEnabled: false, }); type ExperimentalConfigKeys = Array; diff --git a/x-pack/plugins/security_solution/public/management/common/translations.ts b/x-pack/plugins/security_solution/public/management/common/translations.ts index c07c78deb4c70..6929452e5d9e9 100644 --- a/x-pack/plugins/security_solution/public/management/common/translations.ts +++ b/x-pack/plugins/security_solution/public/management/common/translations.ts @@ -215,6 +215,88 @@ export const CONSOLE_COMMANDS = { }, }; +export const CROWDSTRIKE_CONSOLE_COMMANDS = { + runscript: { + args: { + raw: { + about: i18n.translate( + 'xpack.securitySolution.crowdStrikeConsoleCommands.runscript.args.raw.about', + { + defaultMessage: 'Raw script content', + } + ), + }, + cloudFile: { + about: i18n.translate( + 'xpack.securitySolution.crowdStrikeConsoleCommands.runscript.args.cloudFile.about', + { + defaultMessage: 'Script name in cloud storage', + } + ), + }, + commandLine: { + about: i18n.translate( + 'xpack.securitySolution.crowdStrikeConsoleCommands.runscript.args.commandLine.about', + { + defaultMessage: 'Command line arguments', + } + ), + }, + hostPath: { + about: i18n.translate( + 'xpack.securitySolution.crowdStrikeConsoleCommands.runscript.args.hostPath.about', + { + defaultMessage: 'Absolute or relative path of script on host machine', + } + ), + }, + timeout: { + about: i18n.translate( + 'xpack.securitySolution.crowdStrikeConsoleCommands.runscript.args.timeout.about', + { + defaultMessage: 'Timeout in seconds', + } + ), + }, + }, + title: i18n.translate('xpack.securitySolution.crowdStrikeConsoleCommands.runscript.title', { + defaultMessage: 'Isolate', + }), + about: i18n.translate('xpack.securitySolution.crowdStrikeConsoleCommands.runscript.about', { + defaultMessage: 'Run a script on the host', + }), + helpUsage: i18n.translate('xpack.securitySolution.crowdStrikeConsoleCommands.runscript.about', { + defaultMessage: ` +Command Examples for Running Scripts: + +1. Executes a script saved in the CrowdStrike cloud with the specified command-line arguments. + + runscript --CloudFile="CloudScript1.ps1" --CommandLine="-Verbose true" + +2. Executes a script saved in the CrowdStrike cloud with the specified command-line arguments and a 180-second timeout. + + runscript --CloudFile="CloudScript1.ps1" --CommandLine="-Verbose true" -Timeout=180 + +3. Executes a raw script provided entirely within the "--Raw" flag. + + runscript --Raw="Get-ChildItem." + +4. Executes a script located on the remote host at the specified path with the provided command-line arguments. + + runscript --HostPath="C:\\temp\\LocalScript.ps1" --CommandLine="-Verbose true" + +`, + }), + privileges: i18n.translate( + 'xpack.securitySolution.crowdStrikeConsoleCommands.runscript.privileges', + { + defaultMessage: + 'Insufficient privileges to run script. Contact your Kibana administrator if you think you should have this permission.', + } + ), + }, +}; + export const CONFIRM_WARNING_MODAL_LABELS = (entryType: string) => { return { title: i18n.translate('xpack.securitySolution.artifacts.confirmWarningModal.title', { diff --git a/x-pack/plugins/security_solution/public/management/components/console/components/command_usage.tsx b/x-pack/plugins/security_solution/public/management/components/console/components/command_usage.tsx index 7d1895ba7d1b7..ef88832c9d2e5 100644 --- a/x-pack/plugins/security_solution/public/management/components/console/components/command_usage.tsx +++ b/x-pack/plugins/security_solution/public/management/components/console/components/command_usage.tsx @@ -33,6 +33,13 @@ export const CommandInputUsage = memo>(({ }); }, [commandDef]); + const helpExample = useMemo(() => { + if (commandDef.helpUsage) { + return commandDef.helpUsage; + } + return commandDef.exampleUsage; + }, [commandDef]); + return ( <> >(({ titleProps={additionalProps} /> - {commandDef.exampleUsage && ( + {helpExample && ( >(({ })} ), - description: {commandDef.exampleUsage}, + description: {helpExample}, }, ]} descriptionProps={additionalProps} diff --git a/x-pack/plugins/security_solution/public/management/components/console/types.ts b/x-pack/plugins/security_solution/public/management/components/console/types.ts index fb4e836f26c42..68cf5c62ab929 100644 --- a/x-pack/plugins/security_solution/public/management/components/console/types.ts +++ b/x-pack/plugins/security_solution/public/management/components/console/types.ts @@ -49,7 +49,12 @@ export interface CommandArgDefinition { * - `truthy`: The argument must have a value and the values must be "truthy" (evaluate to `Boolean` true) */ mustHaveValue?: boolean | 'non-empty-string' | 'number' | 'number-greater-than-zero' | 'truthy'; + + /** + * Specifies that one or more arguments might be required, but only one of them can be used at a time. + */ exclusiveOr?: boolean; + /** * Validate the individual values given to this argument. * Should return `true` if valid or a string with the error message @@ -124,10 +129,17 @@ export interface CommandDefinition { /** * Displayed in the input hint area when the user types the command as well as in the output of * this command's `--help`. This value will override the command usage generated by the console - * from the Command Definition. + * from the Command Definition. It's value displayed in `--help` would overriden by `helpUsage` if defined. */ exampleUsage?: string; + /** + * Displayed in the output of this command's `--help`. + * This value will override the command usage generated by the console + * from the Command Definition. + */ + helpUsage?: string; + /** * Validate the command entered by the user. This is called only after the Console has ran * through all of its builtin validations (based on `CommandDefinition`). diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/console_commands_definition.ts b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/console_commands_definition.ts index efc52fd59c326..6851111f99dd6 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/console_commands_definition.ts +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/console_commands_definition.ts @@ -42,7 +42,7 @@ import { import { getCommandAboutInfo } from './get_command_about_info'; import { validateUnitOfTime } from './utils'; -import { CONSOLE_COMMANDS } from '../../../common/translations'; +import { CONSOLE_COMMANDS, CROWDSTRIKE_CONSOLE_COMMANDS } from '../../../common/translations'; import { ScanActionResult } from '../command_render_components/scan_action'; const emptyArgumentValidator = (argData: ParsedArgData): true | string => { @@ -167,6 +167,7 @@ export const getEndpointConsoleCommands = ({ const featureFlags = ExperimentalFeaturesService.get(); const isUploadEnabled = featureFlags.responseActionUploadEnabled; + const crowdstrikeRunScriptEnabled = featureFlags.crowdstrikeRunScriptEnabled; const doesEndpointSupportCommand = (commandName: ConsoleResponseActionCommands) => { // Agent capabilities is only validated for Endpoint agent types @@ -523,6 +524,71 @@ export const getEndpointConsoleCommands = ({ privileges: endpointPrivileges, }), }); + if (crowdstrikeRunScriptEnabled) { + consoleCommands.push({ + name: 'runscript', + about: getCommandAboutInfo({ + aboutInfo: CROWDSTRIKE_CONSOLE_COMMANDS.runscript.about, + isSupported: doesEndpointSupportCommand('runscript'), + }), + RenderComponent: () => null, + meta: { + agentType, + endpointId: endpointAgentId, + capabilities: endpointCapabilities, + privileges: endpointPrivileges, + }, + exampleUsage: `runscript --Raw=\`\`\`Get-ChildItem .\`\`\` -CommandLine=""`, + helpUsage: CROWDSTRIKE_CONSOLE_COMMANDS.runscript.helpUsage, + exampleInstruction: CROWDSTRIKE_CONSOLE_COMMANDS.runscript.about, + validate: capabilitiesAndPrivilegesValidator(agentType), + mustHaveArgs: true, + args: { + Raw: { + required: false, + allowMultiples: false, + about: CROWDSTRIKE_CONSOLE_COMMANDS.runscript.args.raw.about, + mustHaveValue: 'non-empty-string', + exclusiveOr: true, + }, + CloudFile: { + required: false, + allowMultiples: false, + about: CROWDSTRIKE_CONSOLE_COMMANDS.runscript.args.cloudFile.about, + mustHaveValue: 'non-empty-string', + exclusiveOr: true, + }, + CommandLine: { + required: false, + allowMultiples: false, + about: CROWDSTRIKE_CONSOLE_COMMANDS.runscript.args.commandLine.about, + mustHaveValue: 'non-empty-string', + }, + HostPath: { + required: false, + allowMultiples: false, + about: CROWDSTRIKE_CONSOLE_COMMANDS.runscript.args.hostPath.about, + mustHaveValue: 'non-empty-string', + exclusiveOr: true, + }, + Timeout: { + required: false, + allowMultiples: false, + about: CROWDSTRIKE_CONSOLE_COMMANDS.runscript.args.timeout.about, + mustHaveValue: 'number-greater-than-zero', + }, + ...commandCommentArgument(), + }, + helpGroupLabel: HELP_GROUPS.responseActions.label, + helpGroupPosition: HELP_GROUPS.responseActions.position, + helpCommandPosition: 9, + helpDisabled: !doesEndpointSupportCommand('runscript'), + helpHidden: !getRbacControl({ + commandName: 'runscript', + privileges: endpointPrivileges, + }), + }); + } switch (agentType) { case 'sentinel_one': diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/integration_tests/console_commands_definition.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/integration_tests/console_commands_definition.test.tsx index caf33de458f83..863215f4c427c 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/integration_tests/console_commands_definition.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/integration_tests/console_commands_definition.test.tsx @@ -73,7 +73,10 @@ describe('When displaying Endpoint Response Actions', () => { HELP_GROUPS.responseActions.label ); - const expectedCommands: string[] = [...CONSOLE_RESPONSE_ACTION_COMMANDS]; + const endpointCommands = CONSOLE_RESPONSE_ACTION_COMMANDS.filter( + (command) => command !== 'runscript' + ); + const expectedCommands: string[] = [...endpointCommands]; // add status to the list of expected commands in that order expectedCommands.splice(2, 0, 'status'); @@ -149,6 +152,7 @@ describe('When displaying Endpoint Response Actions', () => { beforeEach(() => { (ExperimentalFeaturesService.get as jest.Mock).mockReturnValue({ responseActionsCrowdstrikeManualHostIsolationEnabled: true, + crowdstrikeRunScriptEnabled: true, }); commands = getEndpointConsoleCommands({ agentType: 'crowdstrike', @@ -176,7 +180,7 @@ describe('When displaying Endpoint Response Actions', () => { HELP_GROUPS.responseActions.label ); - expect(commandsInPanel).toEqual(['isolate', 'release']); + expect(commandsInPanel).toEqual(['isolate', 'release', 'runscript --Raw']); }); }); }); diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/actions_log_filter.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/actions_log_filter.tsx index a7bf44db48f3b..f54062a8bf5b2 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/actions_log_filter.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/actions_log_filter.tsx @@ -35,12 +35,14 @@ export const ActionsLogFilter = memo( isFlyout, onChangeFilterOptions, 'data-test-subj': dataTestSubj, + 'data-test-height': dataTestHeight, }: { filterName: ActionsLogPopupFilters; typesFilters?: TypesFilters; isFlyout: boolean; onChangeFilterOptions?: (selectedOptions: string[]) => void; 'data-test-subj'?: string; + 'data-test-height'?: number; }) => { const getTestId = useTestIdGenerator(dataTestSubj); @@ -263,6 +265,7 @@ export const ActionsLogFilter = memo( data-test-subj={dataTestSubj} > ['refetch']; showHostsFilter: boolean; 'data-test-subj'?: string; + 'data-test-height'?: number; }) => { const getTestId = useTestIdGenerator(dataTestSubj); @@ -76,6 +78,7 @@ export const ActionsLogFilters = memo( isFlyout={isFlyout} onChangeFilterOptions={onChangeCommandsFilter} data-test-subj={dataTestSubj} + data-test-height={dataTestHeight} /> ({ key: commandName, diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/integration_tests/response_actions_log.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/integration_tests/response_actions_log.test.tsx index 98cfe87336adc..8a967da55c732 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/integration_tests/response_actions_log.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/integration_tests/response_actions_log.test.tsx @@ -1518,6 +1518,7 @@ describe('Response actions history', () => { beforeEach(() => { featureFlags = { responseActionUploadEnabled: true, + crowdstrikeRunScriptEnabled: true, }; mockedContext.setExperimentalFlag(featureFlags); @@ -1537,8 +1538,9 @@ describe('Response actions history', () => { ); }); - it('should show a list of actions (with `scan`) when opened', async () => { - render(); + it('should show a list of actions (with `runscript`) when opened', async () => { + // Note: when we enable new commands, it might be needed to increase the height + render({ 'data-test-height': 350 }); const { getByTestId, getAllByTestId } = renderResult; await user.click(getByTestId(`${testPrefix}-${filterPrefix}-popoverButton`)); @@ -1557,6 +1559,7 @@ describe('Response actions history', () => { 'execute. To check this option, press Enter.', 'upload. To check this option, press Enter.', 'scan. To check this option, press Enter.', + 'runscript. To check this option, press Enter.', ]); }); diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.tsx index 66efadb3c212b..a8725a68c89e3 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.tsx @@ -38,6 +38,7 @@ export const ResponseActionsLog = memo< isFlyout?: boolean; setIsDataInResponse?: (isData: boolean) => void; 'data-test-subj'?: string; + 'data-test-height'?: number; } >( ({ @@ -46,6 +47,7 @@ export const ResponseActionsLog = memo< isFlyout = true, setIsDataInResponse, 'data-test-subj': dataTestSubj = 'response-actions-list', + 'data-test-height': dataTestHeight, }) => { const { pagination: paginationFromUrlParams, setPagination: setPaginationOnUrlParams } = useUrlPagination(); @@ -295,6 +297,7 @@ export const ResponseActionsLog = memo< onTimeChange={onTimeChange} showHostsFilter={showHostNames} data-test-subj={dataTestSubj} + data-test-height={dataTestHeight} /> {isFetched && !totalItemCount ? ( diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/feature_access/complete.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/feature_access/complete.cy.ts index 3ff347b320fe7..db3daf1bf466e 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/feature_access/complete.cy.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/feature_access/complete.cy.ts @@ -63,7 +63,7 @@ describe( // No access to response actions (except `unisolate`) for (const actionName of RESPONSE_ACTION_API_COMMANDS_NAMES.filter( - (apiName) => apiName !== 'unisolate' + (apiName) => apiName !== 'unisolate' && apiName !== 'runscript' )) { it(`should not allow access to Response Action: ${actionName}`, () => { ensureResponseActionAuthzAccess('none', actionName, username, password); @@ -88,7 +88,7 @@ describe( // No access to response actions (except `unisolate`) for (const actionName of RESPONSE_ACTION_API_COMMANDS_NAMES.filter( - (apiName) => apiName !== 'unisolate' + (apiName) => apiName !== 'unisolate' && apiName !== 'runscript' )) { it(`should not allow access to Response Action: ${actionName}`, () => { ensureResponseActionAuthzAccess('none', actionName, username, password); diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/feature_access/essentials.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/feature_access/essentials.cy.ts index ad3c2a3a1bb61..f1089f3ded978 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/feature_access/essentials.cy.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/feature_access/essentials.cy.ts @@ -63,7 +63,7 @@ describe( // No access to response actions (except `unisolate`) for (const actionName of RESPONSE_ACTION_API_COMMANDS_NAMES.filter( - (apiName) => apiName !== 'unisolate' + (apiName) => apiName !== 'unisolate' && apiName !== 'runscript' )) { it(`should not allow access to Response Action: ${actionName}`, () => { ensureResponseActionAuthzAccess('none', actionName, username, password); @@ -88,7 +88,7 @@ describe( // No access to response actions (except `unisolate`) for (const actionName of RESPONSE_ACTION_API_COMMANDS_NAMES.filter( - (apiName) => apiName !== 'unisolate' + (apiName) => apiName !== 'unisolate' && apiName !== 'runscript' )) { it(`should not allow access to Response Action: ${actionName}`, () => { ensureResponseActionAuthzAccess('none', actionName, username, password); diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/feature_access/essentials_with_endpoint.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/feature_access/essentials_with_endpoint.cy.ts index c43acf317bf21..b700df4880a7d 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/feature_access/essentials_with_endpoint.cy.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/feature_access/essentials_with_endpoint.cy.ts @@ -70,7 +70,7 @@ describe( } for (const actionName of RESPONSE_ACTION_API_COMMANDS_NAMES.filter( - (apiName) => apiName !== 'unisolate' + (apiName) => apiName !== 'unisolate' && apiName !== 'runscript' )) { it(`should not allow access to Response Action: ${actionName}`, () => { ensureResponseActionAuthzAccess('none', actionName, username, password); @@ -99,7 +99,7 @@ describe( }); for (const actionName of RESPONSE_ACTION_API_COMMANDS_NAMES.filter( - (apiName) => apiName !== 'unisolate' + (apiName) => apiName !== 'unisolate' && apiName !== 'runscript' )) { it(`should not allow access to Response Action: ${actionName}`, () => { ensureResponseActionAuthzAccess('none', actionName, username, password); diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/roles/complete_with_endpoint_roles.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/roles/complete_with_endpoint_roles.cy.ts index 17a378cb95fa8..ca3d0b9f6c1a1 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/roles/complete_with_endpoint_roles.cy.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/roles/complete_with_endpoint_roles.cy.ts @@ -43,9 +43,7 @@ describe( // This is not needed for this test, but it's a good example of // how to enable experimental features in the Cypress tests. // kbnServerArgs: [ - // `--xpack.securitySolution.enableExperimental=${JSON.stringify([ - // 'featureFlagName', - // ])}`, + // `--xpack.securitySolution.enableExperimental=${JSON.stringify(['featureFlagName'])}`, // ], }, }, @@ -127,6 +125,8 @@ describe( 'get-file', 'upload', 'scan' + // TODO: currently not implemented for Endpoint + // 'runscript' ); const deniedResponseActions = pick(consoleHelpPanelResponseActionsTestSubj, 'execute'); diff --git a/x-pack/plugins/security_solution/public/management/cypress/screens/responder.ts b/x-pack/plugins/security_solution/public/management/cypress/screens/responder.ts index 19a86eb153bc2..d3cec917610fe 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/screens/responder.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/screens/responder.ts @@ -15,7 +15,8 @@ const TEST_SUBJ = Object.freeze({ }); export const getConsoleHelpPanelResponseActionTestSubj = (): Record< - ConsoleResponseActionCommands, + // TODO: currently runscript is not supported in Endpoint + Exclude, string > => { return { diff --git a/x-pack/plugins/security_solution/public/management/cypress/tasks/response_actions.ts b/x-pack/plugins/security_solution/public/management/cypress/tasks/response_actions.ts index 51530fd0d7a7a..3fd44e988b4ad 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/tasks/response_actions.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/tasks/response_actions.ts @@ -16,6 +16,7 @@ import { GET_PROCESSES_ROUTE, ISOLATE_HOST_ROUTE_V2, KILL_PROCESS_ROUTE, + RUN_SCRIPT_ROUTE, SCAN_ROUTE, SUSPEND_PROCESS_ROUTE, UNISOLATE_HOST_ROUTE_V2, @@ -274,6 +275,11 @@ export const ensureResponseActionAuthzAccess = ( Object.assign(apiPayload, { parameters: { path: 'scan/two' } }); break; + case 'runscript': + url = RUN_SCRIPT_ROUTE; + Object.assign(apiPayload, { parameters: { Raw: 'ls' } }); + break; + default: throw new Error(`Response action [${responseAction}] has no API payload defined`); } diff --git a/x-pack/plugins/security_solution/server/endpoint/routes/actions/utils.ts b/x-pack/plugins/security_solution/server/endpoint/routes/actions/utils.ts index 92033801e71b6..a8261727d32f4 100644 --- a/x-pack/plugins/security_solution/server/endpoint/routes/actions/utils.ts +++ b/x-pack/plugins/security_solution/server/endpoint/routes/actions/utils.ts @@ -70,6 +70,11 @@ const COMMANDS_WITH_ACCESS_TO_FILES: CommandsWithFileAccess = deepFreeze { outputs: { 'agent-a': { content: { - code: 'ra_scan_success_done', + code: '200', }, type: 'json', }, diff --git a/x-pack/plugins/security_solution/server/endpoint/services/feature_usage/feature_keys.ts b/x-pack/plugins/security_solution/server/endpoint/services/feature_usage/feature_keys.ts index 52f6cd3671123..d29e9b70606e0 100644 --- a/x-pack/plugins/security_solution/server/endpoint/services/feature_usage/feature_keys.ts +++ b/x-pack/plugins/security_solution/server/endpoint/services/feature_usage/feature_keys.ts @@ -26,6 +26,7 @@ export const FEATURE_KEYS = { SCAN: 'Scan files', ALERTS_BY_PROCESS_ANCESTRY: 'Get related alerts by process ancestry', ENDPOINT_EXCEPTIONS: 'Endpoint exceptions', + RUN_SCRIPT: 'Run script', } as const; export type FeatureKeys = keyof typeof FEATURE_KEYS; @@ -41,6 +42,7 @@ const RESPONSE_ACTIONS_FEATURE_KEY: Readonly Date: Tue, 10 Dec 2024 09:27:32 -0500 Subject: [PATCH 069/103] Dependency ownership for Kibana Security team, part 1 (#203456) ## Summary This updates our `renovate.json` configuration to mark the Kibana Security team as owners of their set of dependencies. --- renovate.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/renovate.json b/renovate.json index d36be57301abb..7903b41f290d3 100644 --- a/renovate.json +++ b/renovate.json @@ -2093,15 +2093,22 @@ "groupName": "platform security modules", "matchDepNames": [ "css.escape", + "dependency-check", "node-forge", "formik", - "@types/node-forge", + "handlebars", + "js-sha256", "require-in-the-middle", + "tape", "tough-cookie", - "@types/tough-cookie", "xml-crypto", - "@types/xml-crypto", - "@kayahr/text-encoding" + "@elastic/node-crypto", + "@kayahr/text-encoding", + "@types/lodash", + "@types/minimist", + "@types/node-forge", + "@types/tough-cookie", + "@types/xml-crypto" ], "reviewers": [ "team:kibana-security" From 9089dbebca2fe6da6d19cb2afa8b0b4e55c68298 Mon Sep 17 00:00:00 2001 From: Shahzad Date: Tue, 10 Dec 2024 15:28:00 +0100 Subject: [PATCH 070/103] [Synthetics] Update e2e flaky test !! (#203397) ## Summary Update e2e flaky test !! --- .../journeys/add_monitor.journey.ts | 2 +- .../journeys/overview_sorting.journey.ts | 141 ++++++++++-------- .../page_objects/synthetics_app.tsx | 41 +++-- 3 files changed, 97 insertions(+), 87 deletions(-) diff --git a/x-pack/plugins/observability_solution/synthetics/e2e/synthetics/journeys/add_monitor.journey.ts b/x-pack/plugins/observability_solution/synthetics/e2e/synthetics/journeys/add_monitor.journey.ts index ca4806ebdd5ae..c7dcc6742d7d6 100644 --- a/x-pack/plugins/observability_solution/synthetics/e2e/synthetics/journeys/add_monitor.journey.ts +++ b/x-pack/plugins/observability_solution/synthetics/e2e/synthetics/journeys/add_monitor.journey.ts @@ -201,7 +201,7 @@ const createMonitorJourney = ({ await syntheticsApp.createMonitor({ monitorConfig, monitorType }); await page.waitForSelector('text=Monitor name already exists'); await syntheticsApp.clickByTestSubj('syntheticsMonitorConfigSubmitButton'); - await page.waitForSelector('text=Cancel'); + await page.click('text=Cancel'); }); step('delete monitor', async () => { diff --git a/x-pack/plugins/observability_solution/synthetics/e2e/synthetics/journeys/overview_sorting.journey.ts b/x-pack/plugins/observability_solution/synthetics/e2e/synthetics/journeys/overview_sorting.journey.ts index 67ce82624f518..16a0f2bf5453f 100644 --- a/x-pack/plugins/observability_solution/synthetics/e2e/synthetics/journeys/overview_sorting.journey.ts +++ b/x-pack/plugins/observability_solution/synthetics/e2e/synthetics/journeys/overview_sorting.journey.ts @@ -6,6 +6,7 @@ */ import { before, expect, journey, step } from '@elastic/synthetics'; +import { RetryService } from '@kbn/ftr-common-functional-services'; import { addTestMonitor, cleanTestMonitors, @@ -19,6 +20,8 @@ journey('OverviewSorting', async ({ page, params }) => { const testMonitor2 = 'aCd'; // third alpha, second created const testMonitor3 = 'Abc'; // first alpha, last created + const retry: RetryService = params.getService('retry'); + before(async () => { await enableMonitorManagedViaApi(params.kibanaUrl); await cleanTestMonitors(params); @@ -42,83 +45,91 @@ journey('OverviewSorting', async ({ page, params }) => { }); step('sort alphabetical asc', async () => { - await page.waitForSelector(`[data-test-subj="syntheticsOverviewGridItem"]`); - await page.click('[data-test-subj="syntheticsOverviewSortButton"]'); - await page.click('button:has-text("Alphabetical")'); - await page.waitForSelector(`text=${testMonitor1}`); - await page.waitForSelector(`text=${testMonitor2}`); - await page.waitForSelector(`text=${testMonitor3}`); - const gridItems = await page.locator(`[data-test-subj="syntheticsOverviewGridItem"]`); - const first = await gridItems.nth(0); - const second = await gridItems.nth(1); - const third = await gridItems.nth(2); - const correctFirstMonitor = await first.locator(`button:has-text('${testMonitor3}')`); - const correctSecondMonitor = await second.locator(`button:has-text('${testMonitor1}')`); - const correctThirdMonitor = await third.locator(`button:has-text('${testMonitor2}')`); - expect(await correctFirstMonitor.count()).toBe(1); - expect(await correctSecondMonitor.count()).toBe(1); - expect(await correctThirdMonitor.count()).toBe(1); + await retry.try(async () => { + await page.waitForSelector(`[data-test-subj="syntheticsOverviewGridItem"]`); + await page.click('[data-test-subj="syntheticsOverviewSortButton"]'); + await page.click('button:has-text("Alphabetical")'); + await page.waitForSelector(`text=${testMonitor1}`); + await page.waitForSelector(`text=${testMonitor2}`); + await page.waitForSelector(`text=${testMonitor3}`); + const gridItems = await page.locator(`[data-test-subj="syntheticsOverviewGridItem"]`); + const first = await gridItems.nth(0); + const second = await gridItems.nth(1); + const third = await gridItems.nth(2); + const correctFirstMonitor = await first.locator(`button:has-text('${testMonitor3}')`); + const correctSecondMonitor = await second.locator(`button:has-text('${testMonitor1}')`); + const correctThirdMonitor = await third.locator(`button:has-text('${testMonitor2}')`); + expect(await correctFirstMonitor.count()).toBe(1); + expect(await correctSecondMonitor.count()).toBe(1); + expect(await correctThirdMonitor.count()).toBe(1); + }); }); step('sort alphabetical desc', async () => { - await page.waitForSelector(`[data-test-subj="syntheticsOverviewGridItem"]`); - await page.click('[data-test-subj="syntheticsOverviewSortButton"]'); - await page.click('button:has-text("Z -> A")'); - await page.waitForSelector(`text=${testMonitor1}`); - await page.waitForSelector(`text=${testMonitor2}`); - await page.waitForSelector(`text=${testMonitor3}`); - const gridItems = await page.locator(`[data-test-subj="syntheticsOverviewGridItem"]`); - const first = await gridItems.nth(0); - const second = await gridItems.nth(1); - const third = await gridItems.nth(2); - const correctFirstMonitor = await first.locator(`button:has-text('${testMonitor2}')`); - const correctSecondMonitor = await second.locator(`button:has-text('${testMonitor1}')`); - const correctThirdMonitor = await third.locator(`button:has-text('${testMonitor3}')`); - expect(await correctFirstMonitor.count()).toBe(1); - expect(await correctSecondMonitor.count()).toBe(1); - expect(await correctThirdMonitor.count()).toBe(1); + await retry.try(async () => { + await page.waitForSelector(`[data-test-subj="syntheticsOverviewGridItem"]`); + await page.click('[data-test-subj="syntheticsOverviewSortButton"]'); + await page.click('button:has-text("Z -> A")'); + await page.waitForSelector(`text=${testMonitor1}`); + await page.waitForSelector(`text=${testMonitor2}`); + await page.waitForSelector(`text=${testMonitor3}`); + const gridItems = await page.locator(`[data-test-subj="syntheticsOverviewGridItem"]`); + const first = await gridItems.nth(0); + const second = await gridItems.nth(1); + const third = await gridItems.nth(2); + const correctFirstMonitor = await first.locator(`button:has-text('${testMonitor2}')`); + const correctSecondMonitor = await second.locator(`button:has-text('${testMonitor1}')`); + const correctThirdMonitor = await third.locator(`button:has-text('${testMonitor3}')`); + expect(await correctFirstMonitor.count()).toBe(1); + expect(await correctSecondMonitor.count()).toBe(1); + expect(await correctThirdMonitor.count()).toBe(1); + }); }); step('sort last updated asc', async () => { - await page.waitForSelector(`[data-test-subj="syntheticsOverviewGridItem"]`); - await page.click('[data-test-subj="syntheticsOverviewSortButton"]'); - await page.click('button:has-text("Last modified")'); - await page.waitForSelector(`text=${testMonitor1}`); - await page.waitForSelector(`text=${testMonitor2}`); - await page.waitForSelector(`text=${testMonitor3}`); - const gridItems = await page.locator(`[data-test-subj="syntheticsOverviewGridItem"]`); - const first = await gridItems.nth(0); - const second = await gridItems.nth(1); - const third = await gridItems.nth(2); - const correctFirstMonitor = await first.locator(`button:has-text('${testMonitor3}')`); - const correctSecondMonitor = await second.locator(`button:has-text('${testMonitor2}')`); - const correctThirdMonitor = await third.locator(`button:has-text('${testMonitor1}')`); - expect(await correctFirstMonitor.count()).toBe(1); - expect(await correctSecondMonitor.count()).toBe(1); - expect(await correctThirdMonitor.count()).toBe(1); + await retry.try(async () => { + await page.waitForSelector(`[data-test-subj="syntheticsOverviewGridItem"]`); + await page.click('[data-test-subj="syntheticsOverviewSortButton"]'); + await page.click('button:has-text("Last modified")'); + await page.waitForSelector(`text=${testMonitor1}`); + await page.waitForSelector(`text=${testMonitor2}`); + await page.waitForSelector(`text=${testMonitor3}`); + const gridItems = await page.locator(`[data-test-subj="syntheticsOverviewGridItem"]`); + const first = await gridItems.nth(0); + const second = await gridItems.nth(1); + const third = await gridItems.nth(2); + const correctFirstMonitor = await first.locator(`button:has-text('${testMonitor3}')`); + const correctSecondMonitor = await second.locator(`button:has-text('${testMonitor2}')`); + const correctThirdMonitor = await third.locator(`button:has-text('${testMonitor1}')`); + expect(await correctFirstMonitor.count()).toBe(1); + expect(await correctSecondMonitor.count()).toBe(1); + expect(await correctThirdMonitor.count()).toBe(1); + }); }); step('sort last updated desc', async () => { - await page.waitForSelector(`[data-test-subj="syntheticsOverviewGridItem"]`); - await page.click('[data-test-subj="syntheticsOverviewSortButton"]'); - await page.click('button:has-text("Oldest first")'); - await page.waitForSelector(`text=${testMonitor1}`); - await page.waitForSelector(`text=${testMonitor2}`); - await page.waitForSelector(`text=${testMonitor3}`); - const gridItems = await page.locator(`[data-test-subj="syntheticsOverviewGridItem"]`); - const first = await gridItems.nth(0); - const second = await gridItems.nth(1); - const third = await gridItems.nth(2); - const correctFirstMonitor = await first.locator(`button:has-text('${testMonitor1}')`); - const correctSecondMonitor = await second.locator(`button:has-text('${testMonitor2}')`); - const correctThirdMonitor = await third.locator(`button:has-text('${testMonitor3}')`); - expect(await correctFirstMonitor.count()).toBe(1); - expect(await correctSecondMonitor.count()).toBe(1); - expect(await correctThirdMonitor.count()).toBe(1); + await retry.try(async () => { + await page.waitForSelector(`[data-test-subj="syntheticsOverviewGridItem"]`); + await page.click('[data-test-subj="syntheticsOverviewSortButton"]'); + await page.click('button:has-text("Oldest first")'); + await page.waitForSelector(`text=${testMonitor1}`); + await page.waitForSelector(`text=${testMonitor2}`); + await page.waitForSelector(`text=${testMonitor3}`); + const gridItems = await page.locator(`[data-test-subj="syntheticsOverviewGridItem"]`); + const first = await gridItems.nth(0); + const second = await gridItems.nth(1); + const third = await gridItems.nth(2); + const correctFirstMonitor = await first.locator(`button:has-text('${testMonitor1}')`); + const correctSecondMonitor = await second.locator(`button:has-text('${testMonitor2}')`); + const correctThirdMonitor = await third.locator(`button:has-text('${testMonitor3}')`); + expect(await correctFirstMonitor.count()).toBe(1); + expect(await correctSecondMonitor.count()).toBe(1); + expect(await correctThirdMonitor.count()).toBe(1); + }); }); step('delete monitors', async () => { - await syntheticsApp.navigateToMonitorManagement(); + await page.getByTestId('syntheticsMonitorManagementTab').click(); expect(await syntheticsApp.deleteMonitors()).toBeTruthy(); }); }); diff --git a/x-pack/plugins/observability_solution/synthetics/e2e/synthetics/page_objects/synthetics_app.tsx b/x-pack/plugins/observability_solution/synthetics/e2e/synthetics/page_objects/synthetics_app.tsx index 931694da554ca..f9eb448615de8 100644 --- a/x-pack/plugins/observability_solution/synthetics/e2e/synthetics/page_objects/synthetics_app.tsx +++ b/x-pack/plugins/observability_solution/synthetics/e2e/synthetics/page_objects/synthetics_app.tsx @@ -128,28 +128,26 @@ export function syntheticsAppPageProvider({ }, async deleteMonitors() { - let isSuccessful: boolean = false; - while (true) { - if ( - !(await page.isVisible(this.byTestId('euiCollapsedItemActionsButton'), { timeout: 0 })) - ) { - isSuccessful = true; - break; - } - await page.click(this.byTestId('euiCollapsedItemActionsButton'), { - delay: 800, - force: true, - }); - await page.click(`.euiContextMenuPanel ${this.byTestId('syntheticsMonitorDeleteAction')}`, { - delay: 800, - }); - await page.waitForSelector('[data-test-subj="confirmModalTitleText"]'); - await this.clickByTestSubj('confirmModalConfirmButton'); - isSuccessful = Boolean(await this.findByTestSubj('uptimeDeleteMonitorSuccess')); - await this.navigateToMonitorManagement(); - await page.waitForTimeout(5 * 1000); + if (!page.url().includes('monitors/management')) { + return true; } - return isSuccessful; + await page.getByTestId('euiCollapsedItemActionsButton').first().click(); + await page.click(`.euiContextMenuPanel ${this.byTestId('syntheticsMonitorDeleteAction')}`, { + delay: 800, + }); + await page.waitForSelector('[data-test-subj="confirmModalTitleText"]'); + await page.getByTestId('confirmModalConfirmButton').click(); + await page.getByTestId('uptimeDeleteMonitorSuccess').click(); + await page.getByTestId('syntheticsRefreshButtonButton').click(); + + await page.getByTestId('checkboxSelectAll').click(); + await page + .getByTestId('syntheticsBulkOperationPopoverClickMeToLoadAContextMenuButton') + .click(); + + await page.getByTestId('confirmModalConfirmButton').click(); + + return true; }, async navigateToEditMonitor(monitorName: string) { @@ -387,6 +385,7 @@ export function syntheticsAppPageProvider({ await button?.click(); } }, + async checkIsEnabled() { await page.waitForTimeout(5 * 1000); const addMonitorBtn = await this.getAddMonitorButton(); From ebcbb0b26e2a9bc947af3aac7d972c7537635ca0 Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Tue, 10 Dec 2024 10:00:50 -0500 Subject: [PATCH 071/103] [Fleet] Allow readonly user to access /agent_policies_spaces API (#203434) --- .../plugins/fleet/server/routes/app/index.ts | 2 +- .../apis/space_awareness/agent_policies.ts | 18 ++++++++++++++++++ .../apis/space_awareness/api_helper.ts | 12 ++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/fleet/server/routes/app/index.ts b/x-pack/plugins/fleet/server/routes/app/index.ts index cb2eb0af1d154..e5198ea84a78c 100644 --- a/x-pack/plugins/fleet/server/routes/app/index.ts +++ b/x-pack/plugins/fleet/server/routes/app/index.ts @@ -237,7 +237,7 @@ export const registerRoutes = (router: FleetAuthzRouter, config: FleetConfigType path: APP_API_ROUTES.AGENT_POLICIES_SPACES, access: 'internal', fleetAuthz: { - fleet: { allAgentPolicies: true }, + fleet: { readAgentPolicies: true }, }, }) .addVersion( diff --git a/x-pack/test/fleet_api_integration/apis/space_awareness/agent_policies.ts b/x-pack/test/fleet_api_integration/apis/space_awareness/agent_policies.ts index 3f6a26de52bb6..acf4ce7c71e3d 100644 --- a/x-pack/test/fleet_api_integration/apis/space_awareness/agent_policies.ts +++ b/x-pack/test/fleet_api_integration/apis/space_awareness/agent_policies.ts @@ -27,6 +27,10 @@ export default function (providerContext: FtrProviderContext) { username: testUsers.fleet_all_int_all.username, password: testUsers.fleet_all_int_all.password, }); + const apiClientReadOnly = new SpaceTestApiClient(supertestWithoutAuth, { + username: testUsers.fleet_read_only.username, + password: testUsers.fleet_read_only.password, + }); let defaultSpacePolicy1: CreateAgentPolicyResponse; let spaceTest1Policy1: CreateAgentPolicyResponse; @@ -113,5 +117,19 @@ export default function (providerContext: FtrProviderContext) { expect(res.item.id).to.eql(`${TEST_SPACE_1}-fleet-server-policy`); }); }); + + describe('GET /agent_policies_spaces', () => { + it('should return all spaces user can write agent policies to', async () => { + const res = await apiClient.getAgentPoliciesSpaces(); + + expect(res.items.map(({ id }: { id: string }) => id)).to.eql(['default', 'test1']); + }); + + it('should return no spaces for user with readonly access', async () => { + const res = await apiClientReadOnly.getAgentPoliciesSpaces(); + + expect(res.items.map(({ id }: { id: string }) => id)).to.eql([]); + }); + }); }); } diff --git a/x-pack/test/fleet_api_integration/apis/space_awareness/api_helper.ts b/x-pack/test/fleet_api_integration/apis/space_awareness/api_helper.ts index c8af244ba11b9..c26fa0a515f01 100644 --- a/x-pack/test/fleet_api_integration/apis/space_awareness/api_helper.ts +++ b/x-pack/test/fleet_api_integration/apis/space_awareness/api_helper.ts @@ -179,6 +179,18 @@ export class SpaceTestApiClient { return res; } + + async getAgentPoliciesSpaces(spaceId?: string) { + const { body: res } = await this.supertest + .get(`${this.getBaseUrl(spaceId)}/internal/fleet/agent_policies_spaces`) + .auth(this.auth.username, this.auth.password) + .set('kbn-xsrf', 'xxxx') + .set('elastic-api-version', '1') + .expect(200); + + return res; + } + // Enrollment API Keys async getEnrollmentApiKey( keyId: string, From 36a36b44e03f3023ddc51459c8d5ed67ffb4dab9 Mon Sep 17 00:00:00 2001 From: Khristinin Nikita Date: Tue, 10 Dec 2024 16:02:19 +0100 Subject: [PATCH 072/103] Fix list item refresh issue (#202194) ## Fix refresh issue for serverless If use only have `write` and `read` privileges `refresh=true` don't work, because it require at least `maintenance` For creation it's easy to change to `wait_for` and it will work. For delete endpoint I implement the same technique as is used in deleting lists. --------- Co-authored-by: Elastic Machine Co-authored-by: Ryland Herrick --- .../src/use_create_list_item/index.ts | 2 +- .../src/use_delete_list_item/index.ts | 2 +- .../services/items/delete_list_item.test.ts | 14 ++++++++++++-- .../server/services/items/delete_list_item.ts | 19 ++++++++++++++++++- 4 files changed, 32 insertions(+), 5 deletions(-) diff --git a/packages/kbn-securitysolution-list-hooks/src/use_create_list_item/index.ts b/packages/kbn-securitysolution-list-hooks/src/use_create_list_item/index.ts index 289da386d8690..98939d93185d6 100644 --- a/packages/kbn-securitysolution-list-hooks/src/use_create_list_item/index.ts +++ b/packages/kbn-securitysolution-list-hooks/src/use_create_list_item/index.ts @@ -28,7 +28,7 @@ export const useCreateListItemMutation = ( const invalidateListItemQuery = useInvalidateListItemQuery(); return useMutation, CreateListMutationParams>( ({ listId, value, http }) => - createListItemWithOptionalSignal({ listId, value, http, refresh: 'true' }), + createListItemWithOptionalSignal({ listId, value, http, refresh: 'wait_for' }), { ...options, mutationKey: CREATE_LIST_ITEM_MUTATION_KEY, diff --git a/packages/kbn-securitysolution-list-hooks/src/use_delete_list_item/index.ts b/packages/kbn-securitysolution-list-hooks/src/use_delete_list_item/index.ts index 11cb95dfddd47..63107edda73a9 100644 --- a/packages/kbn-securitysolution-list-hooks/src/use_delete_list_item/index.ts +++ b/packages/kbn-securitysolution-list-hooks/src/use_delete_list_item/index.ts @@ -26,7 +26,7 @@ export const useDeleteListItemMutation = ( ) => { const invalidateListItemQuery = useInvalidateListItemQuery(); return useMutation, DeleteListMutationParams>( - ({ id, http }) => deleteListItemWithOptionalSignal({ id, http, refresh: 'true' }), + ({ id, http }) => deleteListItemWithOptionalSignal({ id, http }), { ...options, mutationKey: DELETE_LIST_ITEM_MUTATION_KEY, diff --git a/x-pack/plugins/lists/server/services/items/delete_list_item.test.ts b/x-pack/plugins/lists/server/services/items/delete_list_item.test.ts index a468eae0b8811..08ac751b8abd8 100644 --- a/x-pack/plugins/lists/server/services/items/delete_list_item.test.ts +++ b/x-pack/plugins/lists/server/services/items/delete_list_item.test.ts @@ -34,16 +34,26 @@ describe('delete_list_item', () => { test('Delete returns the same list item if a list item is returned from "getListItem"', async () => { const listItem = getListItemResponseMock(); - (getListItem as unknown as jest.Mock).mockResolvedValueOnce(listItem); + (getListItem as unknown as jest.Mock) + .mockResolvedValueOnce(listItem) + .mockResolvedValueOnce(null); const options = getDeleteListItemOptionsMock(); + (options.esClient.deleteByQuery as unknown as jest.Mock).mockResolvedValueOnce({ + deleted: true, + }); const deletedListItem = await deleteListItem(options); expect(deletedListItem).toEqual(listItem); }); test('Delete calls "deleteByQuery" if a list item is returned from "getListItem"', async () => { const listItem = getListItemResponseMock(); - (getListItem as unknown as jest.Mock).mockResolvedValueOnce(listItem); + (getListItem as unknown as jest.Mock) + .mockResolvedValueOnce(listItem) + .mockResolvedValueOnce(null); const options = getDeleteListItemOptionsMock(); + (options.esClient.deleteByQuery as unknown as jest.Mock).mockResolvedValueOnce({ + deleted: true, + }); await deleteListItem(options); const deleteByQuery = { index: LIST_ITEM_INDEX, diff --git a/x-pack/plugins/lists/server/services/items/delete_list_item.ts b/x-pack/plugins/lists/server/services/items/delete_list_item.ts index 751a56a543352..8314f24059c0b 100644 --- a/x-pack/plugins/lists/server/services/items/delete_list_item.ts +++ b/x-pack/plugins/lists/server/services/items/delete_list_item.ts @@ -8,6 +8,8 @@ import { ElasticsearchClient } from '@kbn/core/server'; import type { Id, ListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; +import { waitUntilDocumentIndexed } from '../utils'; + import { getListItem } from '.'; export interface DeleteListItemOptions { @@ -27,7 +29,7 @@ export const deleteListItem = async ({ if (listItem == null) { return null; } else { - await esClient.deleteByQuery({ + const response = await esClient.deleteByQuery({ index: listItemIndex, query: { ids: { @@ -36,6 +38,21 @@ export const deleteListItem = async ({ }, refresh, }); + + if (response.deleted) { + const checkIfListItemDeleted = async (): Promise => { + const deletedListItem = await getListItem({ esClient, id, listItemIndex }); + if (deletedListItem !== null) { + throw Error( + 'List item was deleted, but the change was not propagated in the expected time interval.' + ); + } + }; + + await waitUntilDocumentIndexed(checkIfListItemDeleted); + } else { + throw Error('Deletion of List Item [item_id] from [item_index] was not successful'); + } } return listItem; }; From bd70664bd15f0cb9ad4ea251c81b82fdc07e9f40 Mon Sep 17 00:00:00 2001 From: Pablo Machado Date: Tue, 10 Dec 2024 16:15:19 +0100 Subject: [PATCH 073/103] [SecuritySolution] Fix serviceEntityStoreEnabled experimental flag initial value (#203573) ## Summary Fix serviceEntityStoreEnabled experimental flag initial value. --- .../plugins/security_solution/common/experimental_features.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/security_solution/common/experimental_features.ts b/x-pack/plugins/security_solution/common/experimental_features.ts index 03412c7ff4b26..05b3c2ac9af51 100644 --- a/x-pack/plugins/security_solution/common/experimental_features.ts +++ b/x-pack/plugins/security_solution/common/experimental_features.ts @@ -246,7 +246,7 @@ export const allowedExperimentalValues = Object.freeze({ /** * Enables the Service Entity Store. The Entity Store feature will install the service engine by default. */ - serviceEntityStoreEnabled: true, + serviceEntityStoreEnabled: false, /** * Enables the siem migrations feature From 7aa80ce53027df7ac0e5fc01d206ef38ac3f9575 Mon Sep 17 00:00:00 2001 From: Ersin Erdal <92688503+ersin-erdal@users.noreply.github.com> Date: Tue, 10 Dec 2024 16:17:27 +0100 Subject: [PATCH 074/103] Handle cluster_block_exception during reindexing the TM index (#201297) Resolves: https://github.com/elastic/response-ops-team/issues/249 This PR increases task claiming interval in case of `cluster_block_exception` to avoid generating too many error during TM index reindexing. ## To verify: - Run your local Kibana, - Create a user with `kibana_system` and `kibana_admin` roles - Logout and login with your new user - Use below request to put a write block on TM index. `PUT /.kibana_task_manager_9.0.0_001/_block/write` - Observe the error messages and their occurring interval on your terminal. - Use below request on the Kibana console to halt write block. ``` PUT /.kibana_task_manager_9.0.0_001/_settings { "index": { "blocks.write": false } } ``` --- x-pack/plugins/task_manager/server/config.ts | 1 + .../managed_configuration.test.ts | 36 ++- .../kibana_discovery_service.test.ts | 49 ++++- .../kibana_discovery_service.ts | 11 +- .../server/lib/bulk_update_error.ts | 7 + .../lib/create_managed_configuration.test.ts | 20 +- .../lib/create_managed_configuration.ts | 208 +++++++++++------- 7 files changed, 241 insertions(+), 91 deletions(-) diff --git a/x-pack/plugins/task_manager/server/config.ts b/x-pack/plugins/task_manager/server/config.ts index 002f18380a747..92d7429501cd9 100644 --- a/x-pack/plugins/task_manager/server/config.ts +++ b/x-pack/plugins/task_manager/server/config.ts @@ -36,6 +36,7 @@ export const CLAIM_STRATEGY_MGET = 'mget'; export const DEFAULT_DISCOVERY_INTERVAL_MS = 1000 * 10; // 10 seconds const MIN_DISCOVERY_INTERVAL_MS = 1000; // 1 second const MAX_DISCOVERY_INTERVAL_MS = 1000 * 60 * 5; // 5 minutes +export const DISCOVERY_INTERVAL_AFTER_BLOCK_EXCEPTION_MS = 6 * 1000 * 10; // 60 seconds export const DEFAULT_ACTIVE_NODES_LOOK_BACK_DURATION = '30s'; const FIVE_MIN_IN_MS = 5 * 60 * 1000; diff --git a/x-pack/plugins/task_manager/server/integration_tests/managed_configuration.test.ts b/x-pack/plugins/task_manager/server/integration_tests/managed_configuration.test.ts index ab1d1bc0498fd..d048cc4063fa2 100644 --- a/x-pack/plugins/task_manager/server/integration_tests/managed_configuration.test.ts +++ b/x-pack/plugins/task_manager/server/integration_tests/managed_configuration.test.ts @@ -13,6 +13,7 @@ import { ADJUST_THROUGHPUT_INTERVAL } from '../lib/create_managed_configuration' import { TaskManagerPlugin, TaskManagerStartContract } from '../plugin'; import { coreMock } from '@kbn/core/server/mocks'; import { TaskManagerConfig } from '../config'; +import { BulkUpdateError } from '../lib/bulk_update_error'; describe('managed configuration', () => { let taskManagerStart: TaskManagerStartContract; @@ -130,14 +131,41 @@ describe('managed configuration', () => { clock.tick(ADJUST_THROUGHPUT_INTERVAL); expect(logger.warn).toHaveBeenCalledWith( - 'Poll interval configuration is temporarily increased after Elasticsearch returned 1 "too many request" and/or "execute [inline] script" error(s).' + 'Poll interval configuration is temporarily increased after Elasticsearch returned 1 "too many request" and/or "execute [inline] script" and/or "cluster_block_exception" error(s).' ); expect(logger.debug).toHaveBeenCalledWith( - 'Poll interval configuration changing from 3000 to 3600 after seeing 1 "too many request" and/or "execute [inline] script" error(s)' + 'Poll interval configuration changing from 3000 to 3600 after seeing 1 "too many request" and/or "execute [inline] script" and/or "cluster_block_exception" error(s).' ); expect(logger.debug).toHaveBeenCalledWith('Task poller now using interval of 3600ms'); }); + test('should increase poll interval when Elasticsearch returns a cluster_block_exception error', async () => { + savedObjectsClient.create.mockRejectedValueOnce( + new BulkUpdateError({ + statusCode: 403, + message: 'index is blocked', + type: 'cluster_block_exception', + }) + ); + + await expect( + taskManagerStart.schedule({ + taskType: 'foo', + state: {}, + params: {}, + }) + ).rejects.toThrowErrorMatchingInlineSnapshot(`"index is blocked"`); + clock.tick(100000); + + expect(logger.warn).toHaveBeenCalledWith( + 'Poll interval configuration is temporarily increased after Elasticsearch returned 1 "too many request" and/or "execute [inline] script" and/or "cluster_block_exception" error(s).' + ); + expect(logger.debug).toHaveBeenCalledWith( + 'Poll interval configuration changing from 3000 to 61000 after seeing 1 "too many request" and/or "execute [inline] script" and/or "cluster_block_exception" error(s).' + ); + expect(logger.debug).toHaveBeenCalledWith('Task poller now using interval of 61000ms'); + }); + test('should increase poll interval when Elasticsearch returns "cannot execute [inline] scripts" error', async () => { const childEsClient = esStart.client.asInternalUser.child({}) as jest.Mocked; childEsClient.search.mockImplementationOnce(async () => { @@ -151,10 +179,10 @@ describe('managed configuration', () => { clock.tick(ADJUST_THROUGHPUT_INTERVAL); expect(logger.warn).toHaveBeenCalledWith( - 'Poll interval configuration is temporarily increased after Elasticsearch returned 1 "too many request" and/or "execute [inline] script" error(s).' + 'Poll interval configuration is temporarily increased after Elasticsearch returned 1 "too many request" and/or "execute [inline] script" and/or "cluster_block_exception" error(s).' ); expect(logger.debug).toHaveBeenCalledWith( - 'Poll interval configuration changing from 3000 to 3600 after seeing 1 "too many request" and/or "execute [inline] script" error(s)' + 'Poll interval configuration changing from 3000 to 3600 after seeing 1 "too many request" and/or "execute [inline] script" and/or "cluster_block_exception" error(s).' ); expect(logger.debug).toHaveBeenCalledWith('Task poller now using interval of 3600ms'); }); diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts b/x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts index 3a4870b6a4763..beb686c8ea4ba 100644 --- a/x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts +++ b/x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts @@ -10,7 +10,11 @@ import { BACKGROUND_TASK_NODE_SO_NAME } from '../saved_objects'; import { SavedObjectsBulkDeleteResponse, SavedObjectsUpdateResponse } from '@kbn/core/server'; import { createFindResponse, createFindSO } from './mock_kibana_discovery_service'; -import { DEFAULT_ACTIVE_NODES_LOOK_BACK_DURATION, DEFAULT_DISCOVERY_INTERVAL_MS } from '../config'; +import { + DEFAULT_ACTIVE_NODES_LOOK_BACK_DURATION, + DEFAULT_DISCOVERY_INTERVAL_MS, + DISCOVERY_INTERVAL_AFTER_BLOCK_EXCEPTION_MS, +} from '../config'; const currentNode = 'current-node-id'; const now = '2024-08-10T10:00:00.000Z'; @@ -199,6 +203,49 @@ describe('KibanaDiscoveryService', () => { ); }); + it('reschedules discovery job in case of cluster_block_exception', async () => { + savedObjectsRepository.update.mockResolvedValueOnce( + {} as SavedObjectsUpdateResponse + ); + + const kibanaDiscoveryService = new KibanaDiscoveryService({ + savedObjectsRepository, + logger, + currentNode, + config: { + active_nodes_lookback: DEFAULT_ACTIVE_NODES_LOOK_BACK_DURATION, + interval: DEFAULT_DISCOVERY_INTERVAL_MS, + }, + }); + await kibanaDiscoveryService.start(); + + expect(kibanaDiscoveryService.isStarted()).toBe(true); + expect(setTimeout).toHaveBeenCalledTimes(1); + expect(setTimeout).toHaveBeenNthCalledWith( + 1, + expect.any(Function), + DEFAULT_DISCOVERY_INTERVAL_MS + ); + + savedObjectsRepository.update.mockRejectedValueOnce( + new Error('failed due to cluster_block_exception, task_manager index') + ); + + await jest.advanceTimersByTimeAsync(15000); + + expect(savedObjectsRepository.update).toHaveBeenCalledTimes(2); + expect(setTimeout).toHaveBeenCalledTimes(2); + expect(setTimeout).toHaveBeenNthCalledWith( + 2, + expect.any(Function), + DISCOVERY_INTERVAL_AFTER_BLOCK_EXCEPTION_MS + ); + expect(logger.error).toHaveBeenCalledTimes(1); + expect(logger.error).toHaveBeenCalledWith( + "Kibana Discovery Service couldn't update this node's last_seen timestamp. id: current-node-id, last_seen: 2024-08-10T10:00:10.000Z, error:failed due to cluster_block_exception, task_manager index" + ); + }); + it('does not schedule when Kibana is shutting down', async () => { savedObjectsRepository.update.mockResolvedValueOnce( {} as SavedObjectsUpdateResponse diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts b/x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts index 1c4fcb00981a0..fbd797355d1e8 100644 --- a/x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts +++ b/x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts @@ -9,7 +9,8 @@ import type { ISavedObjectsRepository } from '@kbn/core/server'; import { Logger } from '@kbn/core/server'; import { BACKGROUND_TASK_NODE_SO_NAME } from '../saved_objects'; import { BackgroundTaskNode } from '../saved_objects/schemas/background_task_node'; -import { TaskManagerConfig } from '../config'; +import { DISCOVERY_INTERVAL_AFTER_BLOCK_EXCEPTION_MS, TaskManagerConfig } from '../config'; +import { isClusterBlockException } from '../lib/bulk_update_error'; interface DiscoveryServiceParams { config: TaskManagerConfig['discovery']; @@ -59,6 +60,7 @@ export class KibanaDiscoveryService { } private async scheduleUpsertCurrentNode() { + let retryInterval = this.discoveryInterval; if (!this.stopped) { const lastSeenDate = new Date(); const lastSeen = lastSeenDate.toISOString(); @@ -69,9 +71,12 @@ export class KibanaDiscoveryService { this.started = true; } } catch (e) { + if (isClusterBlockException(e)) { + retryInterval = DISCOVERY_INTERVAL_AFTER_BLOCK_EXCEPTION_MS; + } if (!this.started) { this.logger.error( - `Kibana Discovery Service couldn't be started and will be retried in ${this.discoveryInterval}ms, error:${e.message}` + `Kibana Discovery Service couldn't be started and will be retried in ${retryInterval}ms, error:${e.message}` ); } else { this.logger.error( @@ -82,7 +87,7 @@ export class KibanaDiscoveryService { this.timer = setTimeout( async () => await this.scheduleUpsertCurrentNode(), // The timeout should not be less than the default timeout of two seconds - Math.max(this.discoveryInterval - (Date.now() - lastSeenDate.getTime()), DEFAULT_TIMEOUT) + Math.max(retryInterval - (Date.now() - lastSeenDate.getTime()), DEFAULT_TIMEOUT) ); } } diff --git a/x-pack/plugins/task_manager/server/lib/bulk_update_error.ts b/x-pack/plugins/task_manager/server/lib/bulk_update_error.ts index f7e0552e5a738..822980f4f9466 100644 --- a/x-pack/plugins/task_manager/server/lib/bulk_update_error.ts +++ b/x-pack/plugins/task_manager/server/lib/bulk_update_error.ts @@ -43,3 +43,10 @@ export function getBulkUpdateErrorType(error: Error | BulkUpdateError): string | return (error as BulkUpdateError).type; } } + +export function isClusterBlockException(error: Error | BulkUpdateError): boolean { + return ( + getBulkUpdateErrorType(error) === 'cluster_block_exception' || + error.message.includes('cluster_block_exception') + ); +} diff --git a/x-pack/plugins/task_manager/server/lib/create_managed_configuration.test.ts b/x-pack/plugins/task_manager/server/lib/create_managed_configuration.test.ts index d453edc8e7003..cd13ac20026ed 100644 --- a/x-pack/plugins/task_manager/server/lib/create_managed_configuration.test.ts +++ b/x-pack/plugins/task_manager/server/lib/create_managed_configuration.test.ts @@ -11,6 +11,7 @@ import { SavedObjectsErrorHelpers } from '@kbn/core/server'; import { createManagedConfiguration, ADJUST_THROUGHPUT_INTERVAL, + INTERVAL_AFTER_BLOCK_EXCEPTION, } from './create_managed_configuration'; import { mockLogger } from '../test_utils'; import { CLAIM_STRATEGY_UPDATE_BY_QUERY, CLAIM_STRATEGY_MGET, TaskManagerConfig } from '../config'; @@ -420,12 +421,29 @@ describe('createManagedConfiguration()', () => { expect(subscription).toHaveBeenNthCalledWith(2, 120); }); + test('should increase configuration at the next interval when an error with cluster_block_exception type is emitted, then decreases back to normal', async () => { + const { subscription, errors$ } = setupScenario(100); + errors$.next( + new BulkUpdateError({ + statusCode: 403, + message: 'index is blocked', + type: 'cluster_block_exception', + }) + ); + expect(subscription).toHaveBeenNthCalledWith(1, 100); + // It emits the error with cluster_block_exception type immediately + expect(subscription).toHaveBeenNthCalledWith(2, INTERVAL_AFTER_BLOCK_EXCEPTION); + clock.tick(INTERVAL_AFTER_BLOCK_EXCEPTION); + expect(subscription).toHaveBeenCalledTimes(3); + expect(subscription).toHaveBeenNthCalledWith(3, 100); + }); + test('should log a warning when the configuration changes from the starting value', async () => { const { errors$ } = setupScenario(100); errors$.next(SavedObjectsErrorHelpers.createTooManyRequestsError('a', 'b')); clock.tick(ADJUST_THROUGHPUT_INTERVAL); expect(logger.warn).toHaveBeenCalledWith( - 'Poll interval configuration is temporarily increased after Elasticsearch returned 1 "too many request" and/or "execute [inline] script" error(s).' + 'Poll interval configuration is temporarily increased after Elasticsearch returned 1 "too many request" and/or "execute [inline] script" and/or "cluster_block_exception" error(s).' ); }); diff --git a/x-pack/plugins/task_manager/server/lib/create_managed_configuration.ts b/x-pack/plugins/task_manager/server/lib/create_managed_configuration.ts index 00736f2c36cdb..2105f29e9c617 100644 --- a/x-pack/plugins/task_manager/server/lib/create_managed_configuration.ts +++ b/x-pack/plugins/task_manager/server/lib/create_managed_configuration.ts @@ -13,11 +13,12 @@ import { isEsCannotExecuteScriptError } from './identify_es_error'; import { CLAIM_STRATEGY_MGET, DEFAULT_CAPACITY, MAX_CAPACITY, TaskManagerConfig } from '../config'; import { TaskCost } from '../task'; import { getMsearchStatusCode } from './msearch_error'; -import { getBulkUpdateStatusCode } from './bulk_update_error'; +import { getBulkUpdateStatusCode, isClusterBlockException } from './bulk_update_error'; const FLUSH_MARKER = Symbol('flush'); export const ADJUST_THROUGHPUT_INTERVAL = 10 * 1000; export const PREFERRED_MAX_POLL_INTERVAL = 60 * 1000; +export const INTERVAL_AFTER_BLOCK_EXCEPTION = 61 * 1000; // Capacity is measured in number of normal cost tasks that can be run // At a minimum, we need to be able to run a single task with the greatest cost @@ -46,6 +47,11 @@ interface ManagedConfigurationOpts { logger: Logger; } +interface ErrorScanResult { + count: number; + isBlockException: boolean; +} + export interface ManagedConfiguration { startingCapacity: number; capacityConfiguration$: Observable; @@ -77,87 +83,112 @@ export function createManagedConfiguration({ } function createCapacityScan(config: TaskManagerConfig, logger: Logger, startingCapacity: number) { - return scan((previousCapacity: number, errorCount: number) => { - let newCapacity: number; - if (errorCount > 0) { - const minCapacity = getMinCapacity(config); - // Decrease capacity by CAPACITY_DECREASE_PERCENTAGE while making sure it doesn't go lower than minCapacity. - // Using Math.floor to make sure the number is different than previous while not being a decimal value. - newCapacity = Math.max( - Math.floor(previousCapacity * CAPACITY_DECREASE_PERCENTAGE), - minCapacity - ); - } else { - // Increase capacity by CAPACITY_INCREASE_PERCENTAGE while making sure it doesn't go - // higher than the starting value. Using Math.ceil to make sure the number is different than - // previous while not being a decimal value - newCapacity = Math.min( - startingCapacity, - Math.ceil(previousCapacity * CAPACITY_INCREASE_PERCENTAGE) - ); - } - - if (newCapacity !== previousCapacity) { - logger.debug( - `Capacity configuration changing from ${previousCapacity} to ${newCapacity} after seeing ${errorCount} "too many request" and/or "execute [inline] script" error(s)` - ); - if (previousCapacity === startingCapacity) { - logger.warn( - `Capacity configuration is temporarily reduced after Elasticsearch returned ${errorCount} "too many request" and/or "execute [inline] script" error(s).` + return scan( + (previousCapacity: number, { count: errorCount, isBlockException }: ErrorScanResult) => { + let newCapacity: number; + if (isBlockException) { + newCapacity = previousCapacity; + } else { + if (errorCount > 0) { + const minCapacity = getMinCapacity(config); + // Decrease capacity by CAPACITY_DECREASE_PERCENTAGE while making sure it doesn't go lower than minCapacity. + // Using Math.floor to make sure the number is different than previous while not being a decimal value. + newCapacity = Math.max( + Math.floor(previousCapacity * CAPACITY_DECREASE_PERCENTAGE), + minCapacity + ); + } else { + // Increase capacity by CAPACITY_INCREASE_PERCENTAGE while making sure it doesn't go + // higher than the starting value. Using Math.ceil to make sure the number is different than + // previous while not being a decimal value + newCapacity = Math.min( + startingCapacity, + Math.ceil(previousCapacity * CAPACITY_INCREASE_PERCENTAGE) + ); + } + } + + if (newCapacity !== previousCapacity) { + logger.debug( + `Capacity configuration changing from ${previousCapacity} to ${newCapacity} after seeing ${errorCount} "too many request" and/or "execute [inline] script" error(s)` ); + if (previousCapacity === startingCapacity) { + logger.warn( + `Capacity configuration is temporarily reduced after Elasticsearch returned ${errorCount} "too many request" and/or "execute [inline] script" error(s).` + ); + } } - } - return newCapacity; - }, startingCapacity); + return newCapacity; + }, + startingCapacity + ); } function createPollIntervalScan(logger: Logger, startingPollInterval: number) { - return scan((previousPollInterval: number, errorCount: number) => { - let newPollInterval: number; - if (errorCount > 0) { - // Increase poll interval by POLL_INTERVAL_INCREASE_PERCENTAGE and use Math.ceil to - // make sure the number is different than previous while not being a decimal value. - // Also ensure we don't go over PREFERRED_MAX_POLL_INTERVAL or startingPollInterval, - // whichever is greater. - newPollInterval = Math.min( - Math.ceil(previousPollInterval * POLL_INTERVAL_INCREASE_PERCENTAGE), - Math.ceil(Math.max(PREFERRED_MAX_POLL_INTERVAL, startingPollInterval)) - ); - if (!Number.isSafeInteger(newPollInterval) || newPollInterval < 0) { - logger.error( - `Poll interval configuration had an issue calculating the new poll interval: Math.min(Math.ceil(${previousPollInterval} * ${POLL_INTERVAL_INCREASE_PERCENTAGE}), Math.max(${PREFERRED_MAX_POLL_INTERVAL}, ${startingPollInterval})) = ${newPollInterval}, will keep the poll interval unchanged (${previousPollInterval})` - ); - newPollInterval = previousPollInterval; - } - } else { - // Decrease poll interval by POLL_INTERVAL_DECREASE_PERCENTAGE and use Math.floor to - // make sure the number is different than previous while not being a decimal value. - newPollInterval = Math.max( - startingPollInterval, - Math.floor(previousPollInterval * POLL_INTERVAL_DECREASE_PERCENTAGE) - ); - if (!Number.isSafeInteger(newPollInterval) || newPollInterval < 0) { - logger.error( - `Poll interval configuration had an issue calculating the new poll interval: Math.max(${startingPollInterval}, Math.floor(${previousPollInterval} * ${POLL_INTERVAL_DECREASE_PERCENTAGE})) = ${newPollInterval}, will keep the poll interval unchanged (${previousPollInterval})` - ); - newPollInterval = previousPollInterval; + return scan( + (previousPollInterval: number, { count: errorCount, isBlockException }: ErrorScanResult) => { + let newPollInterval: number; + if (isBlockException) { + newPollInterval = INTERVAL_AFTER_BLOCK_EXCEPTION; + } else { + if (errorCount > 0) { + // Increase poll interval by POLL_INTERVAL_INCREASE_PERCENTAGE and use Math.ceil to + // make sure the number is different than previous while not being a decimal value. + // Also ensure we don't go over PREFERRED_MAX_POLL_INTERVAL or startingPollInterval, + // whichever is greater. + newPollInterval = Math.min( + Math.ceil(previousPollInterval * POLL_INTERVAL_INCREASE_PERCENTAGE), + Math.ceil(Math.max(PREFERRED_MAX_POLL_INTERVAL, startingPollInterval)) + ); + if (!Number.isSafeInteger(newPollInterval) || newPollInterval < 0) { + logger.error( + `Poll interval configuration had an issue calculating the new poll interval: Math.min(Math.ceil(${previousPollInterval} * ${POLL_INTERVAL_INCREASE_PERCENTAGE}), Math.max(${PREFERRED_MAX_POLL_INTERVAL}, ${startingPollInterval})) = ${newPollInterval}, will keep the poll interval unchanged (${previousPollInterval})` + ); + newPollInterval = previousPollInterval; + } + } else { + if (previousPollInterval === INTERVAL_AFTER_BLOCK_EXCEPTION) { + newPollInterval = startingPollInterval; + } else { + // Decrease poll interval by POLL_INTERVAL_DECREASE_PERCENTAGE and use Math.floor to + // make sure the number is different than previous while not being a decimal value. + newPollInterval = Math.max( + startingPollInterval, + Math.floor(previousPollInterval * POLL_INTERVAL_DECREASE_PERCENTAGE) + ); + } + + if (!Number.isSafeInteger(newPollInterval) || newPollInterval < 0) { + logger.error( + `Poll interval configuration had an issue calculating the new poll interval: Math.max(${startingPollInterval}, Math.floor(${previousPollInterval} * ${POLL_INTERVAL_DECREASE_PERCENTAGE})) = ${newPollInterval}, will keep the poll interval unchanged (${previousPollInterval})` + ); + newPollInterval = previousPollInterval; + } + } } - } - if (newPollInterval !== previousPollInterval) { - logger.debug( - `Poll interval configuration changing from ${previousPollInterval} to ${newPollInterval} after seeing ${errorCount} "too many request" and/or "execute [inline] script" error(s)` - ); - if (previousPollInterval === startingPollInterval) { - logger.warn( - `Poll interval configuration is temporarily increased after Elasticsearch returned ${errorCount} "too many request" and/or "execute [inline] script" error(s).` - ); + + if (newPollInterval !== previousPollInterval) { + if (previousPollInterval !== INTERVAL_AFTER_BLOCK_EXCEPTION) { + logger.debug( + `Poll interval configuration changing from ${previousPollInterval} to ${newPollInterval} after seeing ${errorCount} "too many request" and/or "execute [inline] script" and/or "cluster_block_exception" error(s).` + ); + } + if (previousPollInterval === startingPollInterval) { + logger.warn( + `Poll interval configuration is temporarily increased after Elasticsearch returned ${errorCount} "too many request" and/or "execute [inline] script" and/or "cluster_block_exception" error(s).` + ); + } } - } - return newPollInterval; - }, startingPollInterval); + return newPollInterval; + }, + startingPollInterval + ); } -function countErrors(errors$: Observable, countInterval: number): Observable { +function countErrors( + errors$: Observable, + countInterval: number +): Observable { return merge( // Flush error count at fixed interval interval(countInterval).pipe(map(() => FLUSH_MARKER)), @@ -173,36 +204,48 @@ function countErrors(errors$: Observable, countInterval: number): Observa getMsearchStatusCode(e) === 503 || getBulkUpdateStatusCode(e) === 429 || getBulkUpdateStatusCode(e) === 500 || - getBulkUpdateStatusCode(e) === 503 + getBulkUpdateStatusCode(e) === 503 || + isClusterBlockException(e) ) ) ).pipe( // When tag is "flush", reset the error counter // Otherwise increment the error counter - mergeScan(({ count }, next) => { + mergeScan(({ count, isBlockException }, next) => { return next === FLUSH_MARKER - ? of(emitErrorCount(count), resetErrorCount()) - : of(incementErrorCount(count)); - }, emitErrorCount(0)), + ? of(emitErrorCount(count, isBlockException), resetErrorCount()) + : of(incrementOrEmitErrorCount(count, isClusterBlockException(next as Error))); + }, emitErrorCount(0, false)), filter(isEmitEvent), - map(({ count }) => count) + map(({ count, isBlockException }) => { + return { count, isBlockException }; + }) ); } -function emitErrorCount(count: number) { +function emitErrorCount(count: number, isBlockException: boolean) { return { tag: 'emit', + isBlockException, count, }; } -function isEmitEvent(event: { tag: string; count: number }) { +function isEmitEvent(event: { tag: string; count: number; isBlockException: boolean }) { return event.tag === 'emit'; } -function incementErrorCount(count: number) { +function incrementOrEmitErrorCount(count: number, isBlockException: boolean) { + if (isBlockException) { + return { + tag: 'emit', + isBlockException, + count: count + 1, + }; + } return { tag: 'inc', + isBlockException, count: count + 1, }; } @@ -210,6 +253,7 @@ function incementErrorCount(count: number) { function resetErrorCount() { return { tag: 'initial', + isBlockException: false, count: 0, }; } From 8477dc7af4f0c03a677510659a602cdbf5229f2f Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Wed, 11 Dec 2024 02:30:42 +1100 Subject: [PATCH 075/103] Authorized route migration for routes owned by @elastic/security-generative-ai (#198192) ### Authz API migration for authorized routes This PR migrates `access:` tags used in route definitions to new security configuration. Please refer to the documentation for more information: [Authorization API](https://docs.elastic.dev/kibana-dev-docs/key-concepts/security-api-authorization) ### **Before migration:** Access control tags were defined in the `options` object of the route: ```ts router.get({ path: '/api/path', options: { tags: ['access:', 'access:'], }, ... }, handler); ``` ### **After migration:** Tags have been replaced with the more robust `security.authz.requiredPrivileges` field under `security`: ```ts router.get({ path: '/api/path', security: { authz: { requiredPrivileges: ['', ''], }, }, ... }, handler); ``` ### What to do next? 1. Review the changes in this PR. 2. You might need to update your tests to reflect the new security configuration: - If you have tests that rely on checking `access` tags. - If you have snapshot tests that include the route definition. - If you have FTR tests that rely on checking unauthorized error message. The error message changed to also include missing privileges. ## Any questions? If you have any questions or need help with API authorization, please reach out to the `@elastic/kibana-security` team. --------- Co-authored-by: Andrew Macri --- .../routes/anonymization_fields/bulk_actions_route.ts | 6 +++++- .../server/routes/anonymization_fields/find_route.ts | 6 ++++-- .../routes/attack_discovery/get/get_attack_discovery.ts | 6 ++++-- .../attack_discovery/post/cancel/cancel_attack_discovery.ts | 6 ++++-- .../routes/attack_discovery/post/post_attack_discovery.ts | 6 +++++- .../server/routes/capabilities/get_capabilities_route.ts | 6 ++++-- .../server/routes/chat/chat_complete_route.ts | 6 ++++-- .../server/routes/defend_insights/get_defend_insight.ts | 6 ++++-- .../server/routes/defend_insights/get_defend_insights.ts | 6 ++++-- .../server/routes/defend_insights/post_defend_insights.ts | 6 +++++- .../server/routes/evaluate/get_evaluate.ts | 6 ++++-- .../server/routes/evaluate/post_evaluate.ts | 6 +++++- .../routes/knowledge_base/entries/bulk_actions_route.ts | 6 +++++- .../server/routes/knowledge_base/entries/create_route.ts | 6 ++++-- .../server/routes/knowledge_base/entries/find_route.ts | 6 ++++-- .../routes/knowledge_base/get_knowledge_base_indices.ts | 6 ++++-- .../routes/knowledge_base/get_knowledge_base_status.ts | 6 ++++-- .../server/routes/knowledge_base/post_knowledge_base.ts | 6 +++++- .../server/routes/post_actions_connector_execute.ts | 6 ++++-- .../server/routes/prompts/bulk_actions_route.ts | 6 +++++- .../elastic_assistant/server/routes/prompts/find_route.ts | 6 ++++-- .../append_conversation_messages_route.ts | 6 ++++-- .../server/routes/user_conversations/bulk_actions_route.ts | 6 +++++- .../server/routes/user_conversations/create_route.ts | 6 ++++-- .../server/routes/user_conversations/delete_route.ts | 6 ++++-- .../server/routes/user_conversations/find_route.ts | 6 ++++-- .../server/routes/user_conversations/read_route.ts | 6 ++++-- .../server/routes/user_conversations/update_route.ts | 6 ++++-- 28 files changed, 120 insertions(+), 48 deletions(-) diff --git a/x-pack/plugins/elastic_assistant/server/routes/anonymization_fields/bulk_actions_route.ts b/x-pack/plugins/elastic_assistant/server/routes/anonymization_fields/bulk_actions_route.ts index 170d0599de171..5804f195fb855 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/anonymization_fields/bulk_actions_route.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/anonymization_fields/bulk_actions_route.ts @@ -118,8 +118,12 @@ export const bulkActionAnonymizationFieldsRoute = ( .post({ access: 'public', path: ELASTIC_AI_ASSISTANT_ANONYMIZATION_FIELDS_URL_BULK_ACTION, + security: { + authz: { + requiredPrivileges: ['securitySolution-updateAIAssistantAnonymization'], + }, + }, options: { - tags: ['access:securitySolution-updateAIAssistantAnonymization'], timeout: { idleSocket: moment.duration(15, 'minutes').asMilliseconds(), }, diff --git a/x-pack/plugins/elastic_assistant/server/routes/anonymization_fields/find_route.ts b/x-pack/plugins/elastic_assistant/server/routes/anonymization_fields/find_route.ts index 061dd9ff3eac6..e23c06dbb6428 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/anonymization_fields/find_route.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/anonymization_fields/find_route.ts @@ -32,8 +32,10 @@ export const findAnonymizationFieldsRoute = ( .get({ access: 'public', path: ELASTIC_AI_ASSISTANT_ANONYMIZATION_FIELDS_URL_FIND, - options: { - tags: ['access:elasticAssistant'], + security: { + authz: { + requiredPrivileges: ['elasticAssistant'], + }, }, }) .addVersion( diff --git a/x-pack/plugins/elastic_assistant/server/routes/attack_discovery/get/get_attack_discovery.ts b/x-pack/plugins/elastic_assistant/server/routes/attack_discovery/get/get_attack_discovery.ts index e3756b10a3fb3..9049c152183b0 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/attack_discovery/get/get_attack_discovery.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/attack_discovery/get/get_attack_discovery.ts @@ -24,8 +24,10 @@ export const getAttackDiscoveryRoute = (router: IRouter .post({ access: 'internal', path: ELASTIC_AI_ASSISTANT_KNOWLEDGE_BASE_URL, + security: { + authz: { + requiredPrivileges: ['elasticAssistant'], + }, + }, options: { - tags: ['access:elasticAssistant'], timeout: { idleSocket: ROUTE_HANDLER_TIMEOUT, }, diff --git a/x-pack/plugins/elastic_assistant/server/routes/post_actions_connector_execute.ts b/x-pack/plugins/elastic_assistant/server/routes/post_actions_connector_execute.ts index 55c23629c5de1..59dd35bc0f61f 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/post_actions_connector_execute.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/post_actions_connector_execute.ts @@ -38,8 +38,10 @@ export const postActionsConnectorExecuteRoute = ( .post({ access: 'internal', path: POST_ACTIONS_CONNECTOR_EXECUTE, - options: { - tags: ['access:elasticAssistant'], + security: { + authz: { + requiredPrivileges: ['elasticAssistant'], + }, }, }) .addVersion( diff --git a/x-pack/plugins/elastic_assistant/server/routes/prompts/bulk_actions_route.ts b/x-pack/plugins/elastic_assistant/server/routes/prompts/bulk_actions_route.ts index 79fd23c0cc843..d5898c6eb2450 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/prompts/bulk_actions_route.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/prompts/bulk_actions_route.ts @@ -112,8 +112,12 @@ export const bulkPromptsRoute = (router: ElasticAssistantPluginRouter, logger: L .post({ access: 'public', path: ELASTIC_AI_ASSISTANT_PROMPTS_URL_BULK_ACTION, + security: { + authz: { + requiredPrivileges: ['elasticAssistant'], + }, + }, options: { - tags: ['access:elasticAssistant'], timeout: { idleSocket: moment.duration(15, 'minutes').asMilliseconds(), }, diff --git a/x-pack/plugins/elastic_assistant/server/routes/prompts/find_route.ts b/x-pack/plugins/elastic_assistant/server/routes/prompts/find_route.ts index a2980b173d76a..c4b3e5720f74b 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/prompts/find_route.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/prompts/find_route.ts @@ -25,8 +25,10 @@ export const findPromptsRoute = (router: ElasticAssistantPluginRouter, logger: L .get({ access: 'public', path: ELASTIC_AI_ASSISTANT_PROMPTS_URL_FIND, - options: { - tags: ['access:elasticAssistant'], + security: { + authz: { + requiredPrivileges: ['elasticAssistant'], + }, }, }) .addVersion( diff --git a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/append_conversation_messages_route.ts b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/append_conversation_messages_route.ts index 06bfa023136d9..4d10105173548 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/append_conversation_messages_route.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/append_conversation_messages_route.ts @@ -24,8 +24,10 @@ export const appendConversationMessageRoute = (router: ElasticAssistantPluginRou .post({ access: 'internal', path: ELASTIC_AI_ASSISTANT_CONVERSATIONS_URL_BY_ID_MESSAGES, - options: { - tags: ['access:elasticAssistant'], + security: { + authz: { + requiredPrivileges: ['elasticAssistant'], + }, }, }) .addVersion( diff --git a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/bulk_actions_route.ts b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/bulk_actions_route.ts index 29fe59cc3d4c6..436b77fc26245 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/bulk_actions_route.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/bulk_actions_route.ts @@ -116,8 +116,12 @@ export const bulkActionConversationsRoute = ( .post({ access: 'internal', path: ELASTIC_AI_ASSISTANT_CONVERSATIONS_URL_BULK_ACTION, + security: { + authz: { + requiredPrivileges: ['elasticAssistant'], + }, + }, options: { - tags: ['access:elasticAssistant'], timeout: { idleSocket: moment.duration(15, 'minutes').asMilliseconds(), }, diff --git a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/create_route.ts b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/create_route.ts index 9955494b5f294..39971dca7480f 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/create_route.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/create_route.ts @@ -25,8 +25,10 @@ export const createConversationRoute = (router: ElasticAssistantPluginRouter): v access: 'public', path: ELASTIC_AI_ASSISTANT_CONVERSATIONS_URL, - options: { - tags: ['access:elasticAssistant'], + security: { + authz: { + requiredPrivileges: ['elasticAssistant'], + }, }, }) .addVersion( diff --git a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/delete_route.ts b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/delete_route.ts index 9c974fdb78de8..5679d8cb35c61 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/delete_route.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/delete_route.ts @@ -21,8 +21,10 @@ export const deleteConversationRoute = (router: ElasticAssistantPluginRouter) => .delete({ access: 'public', path: ELASTIC_AI_ASSISTANT_CONVERSATIONS_URL_BY_ID, - options: { - tags: ['access:elasticAssistant'], + security: { + authz: { + requiredPrivileges: ['elasticAssistant'], + }, }, }) .addVersion( diff --git a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/find_route.ts b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/find_route.ts index 07ba23710b12c..5d75860c7e66f 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/find_route.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/find_route.ts @@ -28,8 +28,10 @@ export const findUserConversationsRoute = (router: ElasticAssistantPluginRouter) .get({ access: 'public', path: ELASTIC_AI_ASSISTANT_CONVERSATIONS_URL_FIND, - options: { - tags: ['access:elasticAssistant'], + security: { + authz: { + requiredPrivileges: ['elasticAssistant'], + }, }, }) .addVersion( diff --git a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/read_route.ts b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/read_route.ts index ab69dc20999a2..3ccc2c93d8bd5 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/read_route.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/read_route.ts @@ -23,8 +23,10 @@ export const readConversationRoute = (router: ElasticAssistantPluginRouter) => { .get({ access: 'public', path: ELASTIC_AI_ASSISTANT_CONVERSATIONS_URL_BY_ID, - options: { - tags: ['access:elasticAssistant'], + security: { + authz: { + requiredPrivileges: ['elasticAssistant'], + }, }, }) .addVersion( diff --git a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/update_route.ts b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/update_route.ts index 41956b9bc80f7..f7068e0f37429 100644 --- a/x-pack/plugins/elastic_assistant/server/routes/user_conversations/update_route.ts +++ b/x-pack/plugins/elastic_assistant/server/routes/user_conversations/update_route.ts @@ -26,8 +26,10 @@ export const updateConversationRoute = (router: ElasticAssistantPluginRouter) => .put({ access: 'public', path: ELASTIC_AI_ASSISTANT_CONVERSATIONS_URL_BY_ID, - options: { - tags: ['access:elasticAssistant'], + security: { + authz: { + requiredPrivileges: ['elasticAssistant'], + }, }, }) .addVersion( From 101e797e9dc0f2d0c08f89f9dbe36cd30812ee01 Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Tue, 10 Dec 2024 08:34:04 -0700 Subject: [PATCH 076/103] Remove dashboard embeddable (#194892) Closes https://github.com/elastic/kibana/issues/197281 PR replaces `DashboardContainer`, which implements legacy Container and Embeddable interfaces, with plain old javascript object implementation returned from `getDashboardApi`. The following are out of scope for this PR and will be accomplished at a later time: 1) re-factoring dashboard folder structure 2) removing all uses of Embeddable and EmbeddableInput types 3) removing legacy types like DashboardContainerInput --------- Co-authored-by: Elastic Machine Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Hannah Mudge Co-authored-by: Devon Thomson --- .../presentation_containers/index.ts | 1 - .../interfaces/performance_trackers.ts | 7 - .../interfaces/tracks_overlays.ts | 2 +- .../presentation_publishing/index.ts | 1 + .../interfaces/fetch/publishes_reload.ts | 4 +- .../interfaces/titles/titles_api.ts | 12 +- .../are_panel_layouts_equal.ts} | 27 +- .../dashboard_api/data_loading_manager.ts | 61 ++ .../dashboard_api/data_views_manager.ts | 72 ++ .../public/dashboard_api/get_dashboard_api.ts | 283 ++++- .../dashboard_api/load_dashboard_api.ts | 140 +++ .../public/dashboard_api/open_save_modal.tsx | 171 +++ .../public/dashboard_api/panels_manager.ts | 475 +++++++++ .../dashboard_api/search_session_manager.ts | 60 ++ .../public/dashboard_api/settings_manager.ts | 140 +++ .../dashboard_api/track_contentful_render.ts | 25 + .../public/dashboard_api/track_panel.ts | 5 +- .../dashboard/public/dashboard_api/types.ts | 104 +- .../dashboard_api/unified_search_manager.ts | 371 +++++++ .../public/dashboard_api/unsaved_changes.ts | 35 - .../dashboard_api/unsaved_changes_manager.ts | 137 +++ .../use_dashboard_internal_api.ts | 21 + .../public/dashboard_api/view_mode_manager.ts | 63 ++ .../dashboard_app/dashboard_app.test.tsx | 23 +- .../public/dashboard_app/dashboard_app.tsx | 42 +- .../public/dashboard_app/dashboard_router.tsx | 1 + .../no_data/dashboard_app_no_data.tsx | 8 - .../top_nav/dashboard_editing_toolbar.tsx | 3 +- .../top_nav/editor_menu.test.tsx | 10 +- .../top_nav/use_dashboard_menu_items.tsx | 54 +- .../url/search_sessions_integration.ts | 2 +- .../dashboard_empty_screen.test.tsx | 20 +- .../empty_screen/dashboard_empty_screen.tsx | 3 +- .../component/grid/dashboard_grid.test.tsx | 21 +- .../component/grid/dashboard_grid.tsx | 10 +- .../grid/dashboard_grid_item.test.tsx | 35 +- .../component/grid/dashboard_grid_item.tsx | 39 +- .../component/viewport/dashboard_viewport.tsx | 15 +- .../embeddable/api/add_panel_from_library.ts | 13 +- .../api/duplicate_dashboard_panel.test.tsx | 330 ------ .../api/duplicate_dashboard_panel.ts | 165 --- .../embeddable/api/index.ts | 2 - .../embeddable/api/panel_management.ts | 40 - .../embeddable/api/run_save_functions.tsx | 334 ------ ...ashboard_control_group_integration.test.ts | 88 -- .../dashboard_control_group_integration.ts | 101 -- .../create/create_dashboard.test.ts | 521 ---------- .../embeddable/create/create_dashboard.ts | 522 ---------- .../data_views/sync_dashboard_data_views.ts | 53 - .../query_performance_tracking.test.ts | 49 +- .../performance/query_performance_tracking.ts | 26 +- .../create/search_sessions/new_session.ts | 11 +- ...rt_dashboard_search_session_integration.ts | 41 +- .../sync_dashboard_unified_search_state.ts | 155 --- .../embeddable/dashboard_container.test.tsx | 274 ----- .../embeddable/dashboard_container.tsx | 979 ------------------ .../dashboard_container_factory.tsx | 88 -- .../external_api/dashboard_renderer.test.tsx | 305 ------ .../external_api/dashboard_renderer.tsx | 156 ++- .../public/dashboard_container/index.ts | 3 - .../panel_placement/index.ts | 2 - .../panel_placement/place_panel.test.ts | 168 --- .../panel_placement/place_panel.ts | 65 -- .../state/dashboard_container_reducers.ts | 173 ---- .../diffing/dashboard_diffing_functions.ts | 135 --- .../diffing/dashboard_diffing_integration.ts | 198 ---- .../public/dashboard_container/types.ts | 2 +- .../internal_dashboard_top_nav.test.tsx | 19 +- .../internal_dashboard_top_nav.tsx | 18 +- src/plugins/dashboard/public/mocks.tsx | 66 +- .../services/dashboard_backup_service.ts | 18 +- .../lib/load_dashboard_state.test.ts | 7 +- .../lib/migrate_dashboard_input.test.ts | 10 +- .../lib/save_dashboard_state.test.ts | 12 +- .../lib/save_dashboard_state.ts | 2 +- .../types.ts | 3 +- src/plugins/dashboard/tsconfig.json | 3 +- .../group6/dashboard_esql_no_data.ts | 4 +- .../apps/dashboard/group6/view_edit.ts | 12 +- .../translations/translations/fr-FR.json | 2 - .../translations/translations/ja-JP.json | 2 - .../translations/translations/zh-CN.json | 2 - 82 files changed, 2470 insertions(+), 5212 deletions(-) rename src/plugins/dashboard/public/{dashboard_container/state/diffing/dashboard_diffing_utils.ts => dashboard_api/are_panel_layouts_equal.ts} (69%) create mode 100644 src/plugins/dashboard/public/dashboard_api/data_loading_manager.ts create mode 100644 src/plugins/dashboard/public/dashboard_api/data_views_manager.ts create mode 100644 src/plugins/dashboard/public/dashboard_api/load_dashboard_api.ts create mode 100644 src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx create mode 100644 src/plugins/dashboard/public/dashboard_api/panels_manager.ts create mode 100644 src/plugins/dashboard/public/dashboard_api/search_session_manager.ts create mode 100644 src/plugins/dashboard/public/dashboard_api/settings_manager.ts create mode 100644 src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts create mode 100644 src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts delete mode 100644 src/plugins/dashboard/public/dashboard_api/unsaved_changes.ts create mode 100644 src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts create mode 100644 src/plugins/dashboard/public/dashboard_api/use_dashboard_internal_api.ts create mode 100644 src/plugins/dashboard/public/dashboard_api/view_mode_manager.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/api/duplicate_dashboard_panel.test.tsx delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/api/duplicate_dashboard_panel.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/api/panel_management.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/api/run_save_functions.tsx delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/create/controls/dashboard_control_group_integration.test.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/create/controls/dashboard_control_group_integration.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.test.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/create/data_views/sync_dashboard_data_views.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/create/unified_search/sync_dashboard_unified_search_state.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.test.tsx delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.tsx delete mode 100644 src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container_factory.tsx delete mode 100644 src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.test.tsx delete mode 100644 src/plugins/dashboard/public/dashboard_container/panel_placement/place_panel.test.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/panel_placement/place_panel.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/state/dashboard_container_reducers.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/state/diffing/dashboard_diffing_functions.ts delete mode 100644 src/plugins/dashboard/public/dashboard_container/state/diffing/dashboard_diffing_integration.ts diff --git a/packages/presentation/presentation_containers/index.ts b/packages/presentation/presentation_containers/index.ts index e339b0ace3890..833e8f5b4a0c2 100644 --- a/packages/presentation/presentation_containers/index.ts +++ b/packages/presentation/presentation_containers/index.ts @@ -29,7 +29,6 @@ export { export { canTrackContentfulRender, type TrackContentfulRender, - type TracksQueryPerformance, } from './interfaces/performance_trackers'; export { apiIsPresentationContainer, diff --git a/packages/presentation/presentation_containers/interfaces/performance_trackers.ts b/packages/presentation/presentation_containers/interfaces/performance_trackers.ts index ef8cfeb9caf98..ec2b2e363d309 100644 --- a/packages/presentation/presentation_containers/interfaces/performance_trackers.ts +++ b/packages/presentation/presentation_containers/interfaces/performance_trackers.ts @@ -17,10 +17,3 @@ export interface TrackContentfulRender { export const canTrackContentfulRender = (root: unknown): root is TrackContentfulRender => { return root !== null && typeof root === 'object' && 'trackContentfulRender' in root; }; - -export interface TracksQueryPerformance { - firstLoad: boolean; - creationStartTime?: number; - creationEndTime?: number; - lastLoadStartTime?: number; -} diff --git a/packages/presentation/presentation_containers/interfaces/tracks_overlays.ts b/packages/presentation/presentation_containers/interfaces/tracks_overlays.ts index 76e18a17436e9..b46d5ad312c27 100644 --- a/packages/presentation/presentation_containers/interfaces/tracks_overlays.ts +++ b/packages/presentation/presentation_containers/interfaces/tracks_overlays.ts @@ -9,7 +9,7 @@ import { OverlayRef } from '@kbn/core-mount-utils-browser'; -interface TracksOverlaysOptions { +export interface TracksOverlaysOptions { /** * If present, the panel with this ID will be focused when the overlay is opened. This can be used in tandem with a push * flyout to edit a panel's settings in context diff --git a/packages/presentation/presentation_publishing/index.ts b/packages/presentation/presentation_publishing/index.ts index b290d49a8434f..09e6453586665 100644 --- a/packages/presentation/presentation_publishing/index.ts +++ b/packages/presentation/presentation_publishing/index.ts @@ -39,6 +39,7 @@ export { initializeTimeRange, type SerializedTimeRange, } from './interfaces/fetch/initialize_time_range'; +export { apiPublishesReload, type PublishesReload } from './interfaces/fetch/publishes_reload'; export { apiPublishesFilters, apiPublishesPartialUnifiedSearch, diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts b/packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts index 3e5459e5d8aec..5fa99938fdc88 100644 --- a/packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts +++ b/packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts @@ -7,10 +7,10 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { PublishingSubject } from '../../publishing_subject'; +import { Observable } from 'rxjs'; export interface PublishesReload { - reload$: PublishingSubject; + reload$: Omit, 'next'>; } export const apiPublishesReload = (unknownApi: null | unknown): unknownApi is PublishesReload => { diff --git a/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts b/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts index 68c3e1c854410..34723605e4813 100644 --- a/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts +++ b/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts @@ -39,9 +39,15 @@ export const initializeTitles = ( const panelDescription = new BehaviorSubject(rawState.description); const hidePanelTitle = new BehaviorSubject(rawState.hidePanelTitles); - const setPanelTitle = (value: string | undefined) => panelTitle.next(value); - const setHidePanelTitle = (value: boolean | undefined) => hidePanelTitle.next(value); - const setPanelDescription = (value: string | undefined) => panelDescription.next(value); + const setPanelTitle = (value: string | undefined) => { + if (value !== panelTitle.value) panelTitle.next(value); + }; + const setHidePanelTitle = (value: boolean | undefined) => { + if (value !== hidePanelTitle.value) hidePanelTitle.next(value); + }; + const setPanelDescription = (value: string | undefined) => { + if (value !== panelDescription.value) panelDescription.next(value); + }; const titleComparators: StateComparators = { title: [panelTitle, setPanelTitle], diff --git a/src/plugins/dashboard/public/dashboard_container/state/diffing/dashboard_diffing_utils.ts b/src/plugins/dashboard/public/dashboard_api/are_panel_layouts_equal.ts similarity index 69% rename from src/plugins/dashboard/public/dashboard_container/state/diffing/dashboard_diffing_utils.ts rename to src/plugins/dashboard/public/dashboard_api/are_panel_layouts_equal.ts index 5b13239da174c..3af80356bc734 100644 --- a/src/plugins/dashboard/public/dashboard_container/state/diffing/dashboard_diffing_utils.ts +++ b/src/plugins/dashboard/public/dashboard_api/are_panel_layouts_equal.ts @@ -8,35 +8,14 @@ */ import { isEmpty, xor } from 'lodash'; -import moment, { Moment } from 'moment'; import fastIsEqual from 'fast-deep-equal'; - -import { DashboardPanelMap } from '../../../../common'; - -const convertTimeToUTCString = (time?: string | Moment): undefined | string => { - if (moment(time).isValid()) { - return moment(time).utc().format('YYYY-MM-DDTHH:mm:ss.SSS[Z]'); - } else { - // If it's not a valid moment date, then it should be a string representing a relative time - // like 'now' or 'now-15m'. - return time as string; - } -}; - -export const areTimesEqual = ( - timeA?: string | Moment | undefined, - timeB?: string | Moment | undefined -) => { - return convertTimeToUTCString(timeA) === convertTimeToUTCString(timeB); -}; - -export const defaultDiffFunction = (a: unknown, b: unknown) => fastIsEqual(a, b); +import { DashboardPanelMap } from '../../common'; /** * Checks whether the panel maps have the same keys, and if they do, whether all of the other keys inside each panel * are equal. Skips explicit input as that needs to be handled asynchronously. */ -export const getPanelLayoutsAreEqual = ( +export const arePanelLayoutsEqual = ( originalPanels: DashboardPanelMap, newPanels: DashboardPanelMap ) => { @@ -57,7 +36,7 @@ export const getPanelLayoutsAreEqual = ( ]; for (const key of keys) { if (key === undefined) continue; - if (!defaultDiffFunction(originalObj[key], newObj[key])) differences[key] = newObj[key]; + if (!fastIsEqual(originalObj[key], newObj[key])) differences[key] = newObj[key]; } return differences; }; diff --git a/src/plugins/dashboard/public/dashboard_api/data_loading_manager.ts b/src/plugins/dashboard/public/dashboard_api/data_loading_manager.ts new file mode 100644 index 0000000000000..064ea20672d63 --- /dev/null +++ b/src/plugins/dashboard/public/dashboard_api/data_loading_manager.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 { BehaviorSubject, debounceTime, first, map } from 'rxjs'; +import { + PublishesDataLoading, + PublishingSubject, + apiPublishesDataLoading, +} from '@kbn/presentation-publishing'; +import { combineCompatibleChildrenApis } from '@kbn/presentation-containers'; + +export function initializeDataLoadingManager( + children$: PublishingSubject<{ [key: string]: unknown }> +) { + const dataLoading$ = new BehaviorSubject(undefined); + + const dataLoadingSubscription = combineCompatibleChildrenApis< + PublishesDataLoading, + boolean | undefined + >( + { children$ }, + 'dataLoading', + apiPublishesDataLoading, + undefined, + // flatten method + (values) => { + return values.some((isLoading) => isLoading); + } + ).subscribe((isAtLeastOneChildLoading) => { + dataLoading$.next(isAtLeastOneChildLoading); + }); + + return { + api: { + dataLoading: dataLoading$, + }, + internalApi: { + waitForPanelsToLoad$: dataLoading$.pipe( + // debounce to give time for panels to start loading if they are going to load + debounceTime(300), + first((isLoading: boolean | undefined) => { + return !isLoading; + }), + map(() => { + // Observable notifies subscriber when loading is finished + // Return void to not expose internal implementation details of observable + return; + }) + ), + }, + cleanup: () => { + dataLoadingSubscription.unsubscribe(); + }, + }; +} diff --git a/src/plugins/dashboard/public/dashboard_api/data_views_manager.ts b/src/plugins/dashboard/public/dashboard_api/data_views_manager.ts new file mode 100644 index 0000000000000..000c1e815b2b1 --- /dev/null +++ b/src/plugins/dashboard/public/dashboard_api/data_views_manager.ts @@ -0,0 +1,72 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", 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 { uniqBy } from 'lodash'; +import { BehaviorSubject, combineLatest, Observable, of, switchMap } from 'rxjs'; + +import { DataView } from '@kbn/data-views-plugin/common'; +import { combineCompatibleChildrenApis } from '@kbn/presentation-containers'; +import { + apiPublishesDataViews, + PublishesDataViews, + PublishingSubject, +} from '@kbn/presentation-publishing'; + +import { ControlGroupApi } from '@kbn/controls-plugin/public'; +import { dataService } from '../services/kibana_services'; + +export function initializeDataViewsManager( + controlGroupApi$: PublishingSubject, + children$: PublishingSubject<{ [key: string]: unknown }> +) { + const dataViews = new BehaviorSubject([]); + + const controlGroupDataViewsPipe: Observable = controlGroupApi$.pipe( + switchMap((controlGroupApi) => { + return controlGroupApi ? controlGroupApi.dataViews : of([]); + }) + ); + + const childDataViewsPipe = combineCompatibleChildrenApis( + { children$ }, + 'dataViews', + apiPublishesDataViews, + [] + ); + + const dataViewsSubscription = combineLatest([controlGroupDataViewsPipe, childDataViewsPipe]) + .pipe( + switchMap(async ([controlGroupDataViews, childDataViews]) => { + const allDataViews = [...(controlGroupDataViews ?? []), ...childDataViews]; + if (allDataViews.length === 0) { + try { + const defaultDataView = await dataService.dataViews.getDefaultDataView(); + if (defaultDataView) { + allDataViews.push(defaultDataView); + } + } catch (error) { + // ignore error getting default data view + } + } + return uniqBy(allDataViews, 'id'); + }) + ) + .subscribe((newDataViews) => { + dataViews.next(newDataViews); + }); + + return { + api: { + dataViews, + }, + cleanup: () => { + dataViewsSubscription.unsubscribe(); + }, + }; +} diff --git a/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts b/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts index 2af37846eecdb..02c29968e526d 100644 --- a/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts +++ b/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts @@ -7,47 +7,268 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { BehaviorSubject } from 'rxjs'; -import type { DashboardContainerInput } from '../../common'; +import { BehaviorSubject, debounceTime, merge } from 'rxjs'; +import { omit } from 'lodash'; +import { v4 } from 'uuid'; +import type { Reference } from '@kbn/content-management-utils'; +import { ControlGroupApi, ControlGroupSerializedState } from '@kbn/controls-plugin/public'; +import { EmbeddablePackageState } from '@kbn/embeddable-plugin/public'; +import { + getReferencesForControls, + getReferencesForPanelId, +} from '../../common/dashboard_container/persistable_state/dashboard_container_references'; import { initializeTrackPanel } from './track_panel'; import { initializeTrackOverlay } from './track_overlay'; -import { initializeUnsavedChanges } from './unsaved_changes'; - -export interface InitialComponentState { - anyMigrationRun: boolean; - isEmbeddedExternally: boolean; - lastSavedInput: DashboardContainerInput; - lastSavedId: string | undefined; - managed: boolean; - fullScreenMode: boolean; -} +import { initializeUnsavedChangesManager } from './unsaved_changes_manager'; +import { DASHBOARD_APP_ID, DEFAULT_DASHBOARD_INPUT } from '../dashboard_constants'; +import { LoadDashboardReturn } from '../services/dashboard_content_management_service/types'; +import { initializePanelsManager } from './panels_manager'; +import { + DASHBOARD_API_TYPE, + DashboardApi, + DashboardCreationOptions, + DashboardInternalApi, + DashboardState, +} from './types'; +import { initializeDataViewsManager } from './data_views_manager'; +import { initializeSettingsManager } from './settings_manager'; +import { initializeUnifiedSearchManager } from './unified_search_manager'; +import { initializeDataLoadingManager } from './data_loading_manager'; +import { PANELS_CONTROL_GROUP_KEY } from '../services/dashboard_backup_service'; +import { getDashboardContentManagementService } from '../services/dashboard_content_management_service'; +import { openSaveModal } from './open_save_modal'; +import { initializeSearchSessionManager } from './search_session_manager'; +import { initializeViewModeManager } from './view_mode_manager'; +import { UnsavedPanelState } from '../dashboard_container/types'; +import { initializeTrackContentfulRender } from './track_contentful_render'; -export function getDashboardApi( - initialComponentState: InitialComponentState, - untilEmbeddableLoaded: (id: string) => Promise -) { +export function getDashboardApi({ + creationOptions, + incomingEmbeddable, + initialState, + initialPanelsRuntimeState, + savedObjectResult, + savedObjectId, +}: { + creationOptions?: DashboardCreationOptions; + incomingEmbeddable?: EmbeddablePackageState | undefined; + initialState: DashboardState; + initialPanelsRuntimeState?: UnsavedPanelState; + savedObjectResult?: LoadDashboardReturn; + savedObjectId?: string; +}) { const animatePanelTransforms$ = new BehaviorSubject(false); // set panel transforms to false initially to avoid panels animating on initial render. - const fullScreenMode$ = new BehaviorSubject(initialComponentState.fullScreenMode); - const managed$ = new BehaviorSubject(initialComponentState.managed); - const savedObjectId$ = new BehaviorSubject(initialComponentState.lastSavedId); + const controlGroupApi$ = new BehaviorSubject(undefined); + const fullScreenMode$ = new BehaviorSubject(creationOptions?.fullScreenMode ?? false); + const isManaged = savedObjectResult?.managed ?? false; + let references: Reference[] = savedObjectResult?.references ?? []; + const savedObjectId$ = new BehaviorSubject(savedObjectId); - const trackPanel = initializeTrackPanel(untilEmbeddableLoaded); + const viewModeManager = initializeViewModeManager(incomingEmbeddable, savedObjectResult); + const trackPanel = initializeTrackPanel( + async (id: string) => await panelsManager.api.untilEmbeddableLoaded(id) + ); + function getPanelReferences(id: string) { + const panelReferences = getReferencesForPanelId(id, references); + // references from old installations may not be prefixed with panel id + // fall back to passing all references in these cases to preserve backwards compatability + return panelReferences.length > 0 ? panelReferences : references; + } + const panelsManager = initializePanelsManager( + incomingEmbeddable, + initialState.panels, + initialPanelsRuntimeState ?? {}, + trackPanel, + getPanelReferences, + (refs: Reference[]) => references.push(...refs) + ); + const dataLoadingManager = initializeDataLoadingManager(panelsManager.api.children$); + const dataViewsManager = initializeDataViewsManager( + controlGroupApi$, + panelsManager.api.children$ + ); + const unifiedSearchManager = initializeUnifiedSearchManager( + initialState, + controlGroupApi$, + dataLoadingManager.internalApi.waitForPanelsToLoad$, + () => unsavedChangesManager.internalApi.getLastSavedState(), + creationOptions + ); + const settingsManager = initializeSettingsManager({ + initialState, + setTimeRestore: unifiedSearchManager.internalApi.setTimeRestore, + timeRestore$: unifiedSearchManager.internalApi.timeRestore$, + }); + const unsavedChangesManager = initializeUnsavedChangesManager({ + anyMigrationRun: savedObjectResult?.anyMigrationRun ?? false, + creationOptions, + controlGroupApi$, + lastSavedState: omit(savedObjectResult?.dashboardInput, 'controlGroupInput') ?? { + ...DEFAULT_DASHBOARD_INPUT, + }, + panelsManager, + savedObjectId$, + settingsManager, + viewModeManager, + unifiedSearchManager, + }); + async function getState() { + const { panels, references: panelReferences } = await panelsManager.internalApi.getState(); + const dashboardState: DashboardState = { + ...settingsManager.internalApi.getState(), + ...unifiedSearchManager.internalApi.getState(), + panels, + viewMode: viewModeManager.api.viewMode.value, + }; - return { + const controlGroupApi = controlGroupApi$.value; + let controlGroupReferences: Reference[] | undefined; + if (controlGroupApi) { + const { rawState: controlGroupSerializedState, references: extractedReferences } = + await controlGroupApi.serializeState(); + controlGroupReferences = extractedReferences; + dashboardState.controlGroupInput = controlGroupSerializedState; + } + + return { + dashboardState, + controlGroupReferences, + panelReferences, + }; + } + + const trackOverlayApi = initializeTrackOverlay(trackPanel.setFocusedPanelId); + + // Start animating panel transforms 500 ms after dashboard is created. + setTimeout(() => animatePanelTransforms$.next(true), 500); + + const dashboardApi = { + ...viewModeManager.api, + ...dataLoadingManager.api, + ...dataViewsManager.api, + ...panelsManager.api, + ...settingsManager.api, ...trackPanel, - ...initializeTrackOverlay(trackPanel.setFocusedPanelId), - ...initializeUnsavedChanges( - initialComponentState.anyMigrationRun, - initialComponentState.lastSavedInput - ), - animatePanelTransforms$, + ...unifiedSearchManager.api, + ...unsavedChangesManager.api, + ...trackOverlayApi, + ...initializeTrackContentfulRender(), + controlGroupApi$, + executionContext: { + type: 'dashboard', + description: settingsManager.api.panelTitle.value, + }, fullScreenMode$, - isEmbeddedExternally: initialComponentState.isEmbeddedExternally, - managed$, + getAppContext: () => { + const embeddableAppContext = creationOptions?.getEmbeddableAppContext?.(savedObjectId$.value); + return { + ...embeddableAppContext, + currentAppId: embeddableAppContext?.currentAppId ?? DASHBOARD_APP_ID, + }; + }, + isEmbeddedExternally: Boolean(creationOptions?.isEmbeddedExternally), + isManaged, + reload$: merge( + unifiedSearchManager.internalApi.controlGroupReload$, + unifiedSearchManager.internalApi.panelsReload$ + ).pipe(debounceTime(0)), + runInteractiveSave: async () => { + trackOverlayApi.clearOverlays(); + const saveResult = await openSaveModal({ + isManaged, + lastSavedId: savedObjectId$.value, + viewMode: viewModeManager.api.viewMode.value, + ...(await getState()), + }); + + if (saveResult) { + unsavedChangesManager.internalApi.onSave(saveResult.savedState); + const settings = settingsManager.api.getSettings(); + settingsManager.api.setSettings({ + ...settings, + hidePanelTitles: settings.hidePanelTitles ?? false, + description: saveResult.savedState.description, + tags: saveResult.savedState.tags, + timeRestore: saveResult.savedState.timeRestore, + title: saveResult.savedState.title, + }); + savedObjectId$.next(saveResult.id); + + references = saveResult.references ?? []; + } + + return saveResult; + }, + runQuickSave: async () => { + if (isManaged) return; + const { controlGroupReferences, dashboardState, panelReferences } = await getState(); + const saveResult = await getDashboardContentManagementService().saveDashboardState({ + controlGroupReferences, + currentState: dashboardState, + panelReferences, + saveOptions: {}, + lastSavedId: savedObjectId$.value, + }); + + unsavedChangesManager.internalApi.onSave(dashboardState); + references = saveResult.references ?? []; + + return; + }, savedObjectId: savedObjectId$, - setAnimatePanelTransforms: (animate: boolean) => animatePanelTransforms$.next(animate), setFullScreenMode: (fullScreenMode: boolean) => fullScreenMode$.next(fullScreenMode), - setManaged: (managed: boolean) => managed$.next(managed), setSavedObjectId: (id: string | undefined) => savedObjectId$.next(id), + type: DASHBOARD_API_TYPE as 'dashboard', + uuid: v4(), + } as Omit; + + const searchSessionManager = initializeSearchSessionManager( + creationOptions?.searchSessionSettings, + incomingEmbeddable, + dashboardApi + ); + + return { + api: { + ...dashboardApi, + ...searchSessionManager.api, + }, + internalApi: { + ...panelsManager.internalApi, + ...unifiedSearchManager.internalApi, + animatePanelTransforms$, + getSerializedStateForControlGroup: () => { + return { + rawState: savedObjectResult?.dashboardInput?.controlGroupInput + ? savedObjectResult.dashboardInput.controlGroupInput + : ({ + autoApplySelections: true, + chainingSystem: 'HIERARCHICAL', + controls: [], + ignoreParentSettings: { + ignoreFilters: false, + ignoreQuery: false, + ignoreTimerange: false, + ignoreValidations: false, + }, + labelPosition: 'oneLine', + showApplySelections: false, + } as ControlGroupSerializedState), + references: getReferencesForControls(references), + }; + }, + getRuntimeStateForControlGroup: () => { + return panelsManager!.api.getRuntimeStateForChild(PANELS_CONTROL_GROUP_KEY); + }, + setControlGroupApi: (controlGroupApi: ControlGroupApi) => + controlGroupApi$.next(controlGroupApi), + } as DashboardInternalApi, + cleanup: () => { + dataLoadingManager.cleanup(); + dataViewsManager.cleanup(); + searchSessionManager.cleanup(); + unifiedSearchManager.cleanup(); + unsavedChangesManager.cleanup(); + }, }; } diff --git a/src/plugins/dashboard/public/dashboard_api/load_dashboard_api.ts b/src/plugins/dashboard/public/dashboard_api/load_dashboard_api.ts new file mode 100644 index 0000000000000..00fd32fd56ac1 --- /dev/null +++ b/src/plugins/dashboard/public/dashboard_api/load_dashboard_api.ts @@ -0,0 +1,140 @@ +/* + * Copyright 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 { ContentInsightsClient } from '@kbn/content-management-content-insights-public'; +import { DashboardPanelMap } from '../../common'; +import { getDashboardContentManagementService } from '../services/dashboard_content_management_service'; +import { DashboardCreationOptions, DashboardState } from './types'; +import { getDashboardApi } from './get_dashboard_api'; +import { startQueryPerformanceTracking } from '../dashboard_container/embeddable/create/performance/query_performance_tracking'; +import { coreServices } from '../services/kibana_services'; +import { + PANELS_CONTROL_GROUP_KEY, + getDashboardBackupService, +} from '../services/dashboard_backup_service'; +import { UnsavedPanelState } from '../dashboard_container/types'; +import { DEFAULT_DASHBOARD_INPUT } from '../dashboard_constants'; + +export async function loadDashboardApi({ + getCreationOptions, + savedObjectId, +}: { + getCreationOptions?: () => Promise; + savedObjectId?: string; +}) { + const creationStartTime = performance.now(); + const creationOptions = await getCreationOptions?.(); + const incomingEmbeddable = creationOptions?.getIncomingEmbeddable?.(); + const savedObjectResult = await getDashboardContentManagementService().loadDashboardState({ + id: savedObjectId, + }); + + // -------------------------------------------------------------------------------------- + // Run validation. + // -------------------------------------------------------------------------------------- + const validationResult = + savedObjectResult && creationOptions?.validateLoadedSavedObject?.(savedObjectResult); + if (validationResult === 'invalid') { + // throw error to stop the rest of Dashboard loading and make the factory throw an Error + throw new Error('Dashboard failed saved object result validation'); + } else if (validationResult === 'redirected') { + return; + } + + // -------------------------------------------------------------------------------------- + // Combine saved object state and session storage state + // -------------------------------------------------------------------------------------- + const dashboardBackupState = getDashboardBackupService().getState(savedObjectResult.dashboardId); + const initialPanelsRuntimeState: UnsavedPanelState = creationOptions?.useSessionStorageIntegration + ? dashboardBackupState?.panels ?? {} + : {}; + + const sessionStorageInput = ((): Partial | undefined => { + if (!creationOptions?.useSessionStorageIntegration) return; + return dashboardBackupState?.dashboardState; + })(); + + const combinedSessionState: DashboardState = { + ...DEFAULT_DASHBOARD_INPUT, + ...(savedObjectResult?.dashboardInput ?? {}), + ...sessionStorageInput, + }; + + // -------------------------------------------------------------------------------------- + // Combine state with overrides. + // -------------------------------------------------------------------------------------- + const overrideState = creationOptions?.getInitialInput?.(); + if (overrideState?.panels) { + const overridePanels: DashboardPanelMap = {}; + for (const panel of Object.values(overrideState?.panels)) { + overridePanels[panel.explicitInput.id] = { + ...panel, + + /** + * here we need to keep the state of the panel that was already in the Dashboard if one exists. + * This is because this state will become the "last saved state" for this panel. + */ + ...(combinedSessionState.panels[panel.explicitInput.id] ?? []), + }; + /** + * We also need to add the state of this react embeddable into the runtime state to be restored. + */ + initialPanelsRuntimeState[panel.explicitInput.id] = panel.explicitInput; + } + overrideState.panels = overridePanels; + } + // Back up any view mode passed in explicitly. + if (overrideState?.viewMode) { + getDashboardBackupService().storeViewMode(overrideState?.viewMode); + } + if (overrideState?.controlGroupState) { + initialPanelsRuntimeState[PANELS_CONTROL_GROUP_KEY] = overrideState.controlGroupState; + } + + // -------------------------------------------------------------------------------------- + // get dashboard Api + // -------------------------------------------------------------------------------------- + const { api, cleanup, internalApi } = getDashboardApi({ + creationOptions, + incomingEmbeddable, + initialState: { + ...combinedSessionState, + ...overrideState, + }, + initialPanelsRuntimeState, + savedObjectResult, + savedObjectId, + }); + + const performanceSubscription = startQueryPerformanceTracking(api, { + firstLoad: true, + creationStartTime, + }); + + if (savedObjectId && !incomingEmbeddable) { + // We count a new view every time a user opens a dashboard, both in view or edit mode + // We don't count views when a user is editing a dashboard and is returning from an editor after saving + // however, there is an edge case that we now count a new view when a user is editing a dashboard and is returning from an editor by canceling + // TODO: this should be revisited by making embeddable transfer support canceling logic https://github.com/elastic/kibana/issues/190485 + const contentInsightsClient = new ContentInsightsClient( + { http: coreServices.http }, + { domainId: 'dashboard' } + ); + contentInsightsClient.track(savedObjectId, 'viewed'); + } + + return { + api, + cleanup: () => { + cleanup(); + performanceSubscription.unsubscribe(); + }, + internalApi, + }; +} diff --git a/src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx b/src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx new file mode 100644 index 0000000000000..e5b2676d7198f --- /dev/null +++ b/src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx @@ -0,0 +1,171 @@ +/* + * Copyright 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 React from 'react'; +import { ViewMode } from '@kbn/presentation-publishing'; +import type { Reference } from '@kbn/content-management-utils'; +import { reportPerformanceMetricEvent } from '@kbn/ebt-tools'; +import { showSaveModal } from '@kbn/saved-objects-plugin/public'; +import { i18n } from '@kbn/i18n'; +import { SaveDashboardReturn } from '../services/dashboard_content_management_service/types'; +import { DashboardSaveOptions } from '../dashboard_container/types'; +import { coreServices, dataService, savedObjectsTaggingService } from '../services/kibana_services'; +import { getDashboardContentManagementService } from '../services/dashboard_content_management_service'; +import { DashboardState } from './types'; +import { DASHBOARD_CONTENT_ID, SAVED_OBJECT_POST_TIME } from '../dashboard_constants'; +import { extractTitleAndCount } from '../dashboard_container/embeddable/api/lib/extract_title_and_count'; +import { DashboardSaveModal } from '../dashboard_container/embeddable/api/overlays/save_modal'; + +/** + * @description exclusively for user directed dashboard save actions, also + * accounts for scenarios of cloning elastic managed dashboard into user managed dashboards + */ +export async function openSaveModal({ + controlGroupReferences, + dashboardState, + isManaged, + lastSavedId, + panelReferences, + viewMode, +}: { + controlGroupReferences?: Reference[]; + dashboardState: DashboardState; + isManaged: boolean; + lastSavedId: string | undefined; + panelReferences: Reference[]; + viewMode: ViewMode; +}) { + if (viewMode === 'edit' && isManaged) { + return undefined; + } + const dashboardContentManagementService = getDashboardContentManagementService(); + const saveAsTitle = lastSavedId + ? await getSaveAsTitle(dashboardState.title) + : dashboardState.title; + return new Promise<(SaveDashboardReturn & { savedState: DashboardState }) | undefined>( + (resolve, reject) => { + const onSaveAttempt = async ({ + newTags, + newTitle, + newDescription, + newCopyOnSave, + newTimeRestore, + onTitleDuplicate, + isTitleDuplicateConfirmed, + }: DashboardSaveOptions): Promise => { + const saveOptions = { + confirmOverwrite: false, + isTitleDuplicateConfirmed, + onTitleDuplicate, + saveAsCopy: lastSavedId ? true : newCopyOnSave, + }; + + try { + if ( + !(await dashboardContentManagementService.checkForDuplicateDashboardTitle({ + title: newTitle, + onTitleDuplicate, + lastSavedTitle: dashboardState.title, + copyOnSave: saveOptions.saveAsCopy, + isTitleDuplicateConfirmed, + })) + ) { + return {}; + } + + const dashboardStateToSave: DashboardState = { + ...dashboardState, + title: newTitle, + tags: savedObjectsTaggingService && newTags ? newTags : ([] as string[]), + description: newDescription, + timeRestore: newTimeRestore, + timeRange: newTimeRestore + ? dataService.query.timefilter.timefilter.getTime() + : undefined, + refreshInterval: newTimeRestore + ? dataService.query.timefilter.timefilter.getRefreshInterval() + : undefined, + }; + + // TODO If this is a managed dashboard - unlink all by reference embeddables on clone + // https://github.com/elastic/kibana/issues/190138 + + const beforeAddTime = window.performance.now(); + + const saveResult = await dashboardContentManagementService.saveDashboardState({ + controlGroupReferences, + panelReferences, + saveOptions, + currentState: dashboardStateToSave, + lastSavedId, + }); + + const addDuration = window.performance.now() - beforeAddTime; + + reportPerformanceMetricEvent(coreServices.analytics, { + eventName: SAVED_OBJECT_POST_TIME, + duration: addDuration, + meta: { + saved_object_type: DASHBOARD_CONTENT_ID, + }, + }); + + resolve({ ...saveResult, savedState: dashboardStateToSave }); + return saveResult; + } catch (error) { + reject(error); + return error; + } + }; + + showSaveModal( + resolve(undefined)} + timeRestore={dashboardState.timeRestore} + showStoreTimeOnSave={!lastSavedId} + description={dashboardState.description ?? ''} + showCopyOnSave={false} + onSave={onSaveAttempt} + customModalTitle={getCustomModalTitle(viewMode)} + /> + ); + } + ); +} + +function getCustomModalTitle(viewMode: ViewMode) { + if (viewMode === 'edit') + return i18n.translate('dashboard.topNav.editModeInteractiveSave.modalTitle', { + defaultMessage: 'Save as new dashboard', + }); + + if (viewMode === 'view') + return i18n.translate('dashboard.topNav.viewModeInteractiveSave.modalTitle', { + defaultMessage: 'Duplicate dashboard', + }); + return undefined; +} + +async function getSaveAsTitle(title: string) { + const [baseTitle, baseCount] = extractTitleAndCount(title); + let saveAsTitle = `${baseTitle} (${baseCount + 1})`; + await getDashboardContentManagementService().checkForDuplicateDashboardTitle({ + title: saveAsTitle, + lastSavedTitle: title, + copyOnSave: true, + isTitleDuplicateConfirmed: false, + onTitleDuplicate(speculativeSuggestion) { + saveAsTitle = speculativeSuggestion; + }, + }); + + return saveAsTitle; +} diff --git a/src/plugins/dashboard/public/dashboard_api/panels_manager.ts b/src/plugins/dashboard/public/dashboard_api/panels_manager.ts new file mode 100644 index 0000000000000..4f082d1c0484f --- /dev/null +++ b/src/plugins/dashboard/public/dashboard_api/panels_manager.ts @@ -0,0 +1,475 @@ +/* + * Copyright 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 { BehaviorSubject, merge } from 'rxjs'; +import { filter, map, max } from 'lodash'; +import { v4 } from 'uuid'; +import { asyncForEach } from '@kbn/std'; +import type { Reference } from '@kbn/content-management-utils'; +import { METRIC_TYPE } from '@kbn/analytics'; +import { + PanelPackage, + SerializedPanelState, + apiHasSerializableState, +} from '@kbn/presentation-containers'; +import { + DefaultEmbeddableApi, + EmbeddablePackageState, + PanelNotFoundError, +} from '@kbn/embeddable-plugin/public'; +import { + StateComparators, + apiHasInPlaceLibraryTransforms, + apiHasLibraryTransforms, + apiPublishesPanelTitle, + apiPublishesUnsavedChanges, + getPanelTitle, + stateHasTitles, +} from '@kbn/presentation-publishing'; +import { cloneDeep } from 'lodash'; +import { apiHasSnapshottableState } from '@kbn/presentation-containers/interfaces/serialized_state'; +import { i18n } from '@kbn/i18n'; +import { coreServices, usageCollectionService } from '../services/kibana_services'; +import { DashboardPanelMap, DashboardPanelState, prefixReferencesFromPanel } from '../../common'; +import type { initializeTrackPanel } from './track_panel'; +import { getPanelAddedSuccessString } from '../dashboard_app/_dashboard_app_strings'; +import { runPanelPlacementStrategy } from '../dashboard_container/panel_placement/place_new_panel_strategies'; +import { + DASHBOARD_UI_METRIC_ID, + DEFAULT_PANEL_HEIGHT, + DEFAULT_PANEL_WIDTH, + PanelPlacementStrategy, +} from '../dashboard_constants'; +import { getDashboardPanelPlacementSetting } from '../dashboard_container/panel_placement/panel_placement_registry'; +import { UnsavedPanelState } from '../dashboard_container/types'; +import { DashboardState } from './types'; +import { arePanelLayoutsEqual } from './are_panel_layouts_equal'; +import { dashboardClonePanelActionStrings } from '../dashboard_actions/_dashboard_actions_strings'; +import { placeClonePanel } from '../dashboard_container/panel_placement'; + +export function initializePanelsManager( + incomingEmbeddable: EmbeddablePackageState | undefined, + initialPanels: DashboardPanelMap, + initialPanelsRuntimeState: UnsavedPanelState, + trackPanel: ReturnType, + getReferencesForPanelId: (id: string) => Reference[], + pushReferences: (references: Reference[]) => void +) { + const children$ = new BehaviorSubject<{ + [key: string]: unknown; + }>({}); + const panels$ = new BehaviorSubject(initialPanels); + function setPanels(panels: DashboardPanelMap) { + if (panels !== panels$.value) panels$.next(panels); + } + let restoredRuntimeState: UnsavedPanelState = initialPanelsRuntimeState; + + function setRuntimeStateForChild(childId: string, state: object) { + restoredRuntimeState[childId] = state; + } + + // -------------------------------------------------------------------------------------- + // Place the incoming embeddable if there is one + // -------------------------------------------------------------------------------------- + if (incomingEmbeddable) { + let incomingEmbeddablePanelState: DashboardPanelState; + if ( + incomingEmbeddable.embeddableId && + Boolean(panels$.value[incomingEmbeddable.embeddableId]) + ) { + // this embeddable already exists, just update the explicit input. + incomingEmbeddablePanelState = panels$.value[incomingEmbeddable.embeddableId]; + const sameType = incomingEmbeddablePanelState.type === incomingEmbeddable.type; + + incomingEmbeddablePanelState.type = incomingEmbeddable.type; + setRuntimeStateForChild(incomingEmbeddable.embeddableId, { + // if the incoming panel is the same type as what was there before we can safely spread the old panel's explicit input + ...(sameType ? incomingEmbeddablePanelState.explicitInput : {}), + + ...incomingEmbeddable.input, + id: incomingEmbeddable.embeddableId, + + // maintain hide panel titles setting. + hidePanelTitles: incomingEmbeddablePanelState.explicitInput.hidePanelTitles, + }); + incomingEmbeddablePanelState.explicitInput = { + id: incomingEmbeddablePanelState.explicitInput.id, + }; + } else { + // otherwise this incoming embeddable is brand new. + const embeddableId = incomingEmbeddable.embeddableId ?? v4(); + setRuntimeStateForChild(embeddableId, incomingEmbeddable.input); + const { newPanelPlacement } = runPanelPlacementStrategy( + PanelPlacementStrategy.findTopLeftMostOpenSpace, + { + width: incomingEmbeddable.size?.width ?? DEFAULT_PANEL_WIDTH, + height: incomingEmbeddable.size?.height ?? DEFAULT_PANEL_HEIGHT, + currentPanels: panels$.value, + } + ); + incomingEmbeddablePanelState = { + explicitInput: { id: embeddableId }, + type: incomingEmbeddable.type, + gridData: { + ...newPanelPlacement, + i: embeddableId, + }, + }; + } + + setPanels({ + ...panels$.value, + [incomingEmbeddablePanelState.explicitInput.id]: incomingEmbeddablePanelState, + }); + trackPanel.setScrollToPanelId(incomingEmbeddablePanelState.explicitInput.id); + trackPanel.setHighlightPanelId(incomingEmbeddablePanelState.explicitInput.id); + } + + async function untilEmbeddableLoaded(id: string): Promise { + if (!panels$.value[id]) { + throw new PanelNotFoundError(); + } + + if (children$.value[id]) { + return children$.value[id] as ApiType; + } + + return new Promise((resolve, reject) => { + const subscription = merge(children$, panels$).subscribe(() => { + if (children$.value[id]) { + subscription.unsubscribe(); + resolve(children$.value[id] as ApiType); + } + + // If we hit this, the panel was removed before the embeddable finished loading. + if (panels$.value[id] === undefined) { + subscription.unsubscribe(); + resolve(undefined); + } + }); + }); + } + + async function getDashboardPanelFromId(panelId: string) { + const panel = panels$.value[panelId]; + const child = children$.value[panelId]; + if (!child || !panel) throw new PanelNotFoundError(); + const serialized = apiHasSerializableState(child) + ? await child.serializeState() + : { rawState: {} }; + return { + type: panel.type, + explicitInput: { ...panel.explicitInput, ...serialized.rawState }, + gridData: panel.gridData, + references: serialized.references, + }; + } + + async function getPanelTitles(): Promise { + const titles: string[] = []; + await asyncForEach(Object.keys(panels$.value), async (id) => { + const childApi = await untilEmbeddableLoaded(id); + const title = apiPublishesPanelTitle(childApi) ? getPanelTitle(childApi) : ''; + if (title) titles.push(title); + }); + return titles; + } + + async function duplicateReactEmbeddableInput( + childApi: unknown, + panelToClone: DashboardPanelState, + panelTitles: string[] + ) { + const id = v4(); + const lastTitle = apiPublishesPanelTitle(childApi) ? getPanelTitle(childApi) ?? '' : ''; + const newTitle = getClonedPanelTitle(panelTitles, lastTitle); + + /** + * For react embeddables that have library transforms, we need to ensure + * to clone them with serialized state and references. + * + * TODO: remove this section once all by reference capable react embeddables + * use in-place library transforms + */ + if (apiHasLibraryTransforms(childApi)) { + const byValueSerializedState = await childApi.getByValueState(); + if (panelToClone.references) { + pushReferences(prefixReferencesFromPanel(id, panelToClone.references)); + } + return { + type: panelToClone.type, + explicitInput: { + ...byValueSerializedState, + title: newTitle, + id, + }, + }; + } + + const runtimeSnapshot = (() => { + if (apiHasInPlaceLibraryTransforms(childApi)) return childApi.getByValueRuntimeSnapshot(); + return apiHasSnapshottableState(childApi) ? childApi.snapshotRuntimeState() : {}; + })(); + if (stateHasTitles(runtimeSnapshot)) runtimeSnapshot.title = newTitle; + + setRuntimeStateForChild(id, runtimeSnapshot); + return { + type: panelToClone.type, + explicitInput: { + id, + }, + }; + } + + return { + api: { + addNewPanel: async ( + panelPackage: PanelPackage, + displaySuccessMessage?: boolean + ) => { + usageCollectionService?.reportUiCounter( + DASHBOARD_UI_METRIC_ID, + METRIC_TYPE.CLICK, + panelPackage.panelType + ); + + const newId = v4(); + + const getCustomPlacementSettingFunc = getDashboardPanelPlacementSetting( + panelPackage.panelType + ); + + const customPlacementSettings = getCustomPlacementSettingFunc + ? await getCustomPlacementSettingFunc(panelPackage.initialState) + : undefined; + + const { newPanelPlacement, otherPanels } = runPanelPlacementStrategy( + customPlacementSettings?.strategy ?? PanelPlacementStrategy.findTopLeftMostOpenSpace, + { + currentPanels: panels$.value, + height: customPlacementSettings?.height ?? DEFAULT_PANEL_HEIGHT, + width: customPlacementSettings?.width ?? DEFAULT_PANEL_WIDTH, + } + ); + const newPanel: DashboardPanelState = { + type: panelPackage.panelType, + gridData: { + ...newPanelPlacement, + i: newId, + }, + explicitInput: { + id: newId, + }, + }; + if (panelPackage.initialState) { + setRuntimeStateForChild(newId, panelPackage.initialState); + } + setPanels({ ...otherPanels, [newId]: newPanel }); + if (displaySuccessMessage) { + coreServices.notifications.toasts.addSuccess({ + title: getPanelAddedSuccessString(newPanel.explicitInput.title), + 'data-test-subj': 'addEmbeddableToDashboardSuccess', + }); + trackPanel.setScrollToPanelId(newId); + trackPanel.setHighlightPanelId(newId); + } + return await untilEmbeddableLoaded(newId); + }, + canRemovePanels: () => trackPanel.expandedPanelId.value === undefined, + children$, + duplicatePanel: async (idToDuplicate: string) => { + const panelToClone = await getDashboardPanelFromId(idToDuplicate); + + const duplicatedPanelState = await duplicateReactEmbeddableInput( + children$.value[idToDuplicate], + panelToClone, + await getPanelTitles() + ); + + coreServices.notifications.toasts.addSuccess({ + title: dashboardClonePanelActionStrings.getSuccessMessage(), + 'data-test-subj': 'addObjectToContainerSuccess', + }); + + const { newPanelPlacement, otherPanels } = placeClonePanel({ + width: panelToClone.gridData.w, + height: panelToClone.gridData.h, + currentPanels: panels$.value, + placeBesideId: panelToClone.explicitInput.id, + }); + + const newPanel = { + ...duplicatedPanelState, + gridData: { + ...newPanelPlacement, + i: duplicatedPanelState.explicitInput.id, + }, + }; + + setPanels({ + ...otherPanels, + [newPanel.explicitInput.id]: newPanel, + }); + }, + getDashboardPanelFromId, + getPanelCount: () => { + return Object.keys(panels$.value).length; + }, + getSerializedStateForChild: (childId: string) => { + const rawState = panels$.value[childId]?.explicitInput ?? { id: childId }; + const { id, ...serializedState } = rawState; + return Object.keys(serializedState).length === 0 + ? undefined + : { + rawState, + references: getReferencesForPanelId(childId), + }; + }, + getRuntimeStateForChild: (childId: string) => { + return restoredRuntimeState?.[childId]; + }, + panels$, + removePanel: (id: string) => { + const panels = { ...panels$.value }; + if (panels[id]) { + delete panels[id]; + setPanels(panels); + } + const children = { ...children$.value }; + if (children[id]) { + delete children[id]; + children$.next(children); + } + }, + replacePanel: async (idToRemove: string, { panelType, initialState }: PanelPackage) => { + const panels = { ...panels$.value }; + if (!panels[idToRemove]) { + throw new PanelNotFoundError(); + } + + const id = v4(); + const oldPanel = panels[idToRemove]; + delete panels[idToRemove]; + setPanels({ + ...panels, + [id]: { + ...oldPanel, + explicitInput: { ...initialState, id }, + type: panelType, + }, + }); + + const children = { ...children$.value }; + if (children[idToRemove]) { + delete children[idToRemove]; + children$.next(children); + } + + await untilEmbeddableLoaded(id); + return id; + }, + setPanels, + setRuntimeStateForChild, + untilEmbeddableLoaded, + }, + comparators: { + panels: [panels$, setPanels, arePanelLayoutsEqual], + } as StateComparators>, + internalApi: { + registerChildApi: (api: DefaultEmbeddableApi) => { + children$.next({ + ...children$.value, + [api.uuid]: api, + }); + }, + reset: (lastSavedState: DashboardState) => { + setPanels(lastSavedState.panels); + restoredRuntimeState = {}; + let resetChangedPanelCount = false; + const currentChildren = children$.value; + for (const panelId of Object.keys(currentChildren)) { + if (panels$.value[panelId]) { + const child = currentChildren[panelId]; + 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]; + resetChangedPanelCount = true; + } + } + if (resetChangedPanelCount) children$.next(currentChildren); + }, + getState: async (): Promise<{ + panels: DashboardState['panels']; + references: Reference[]; + }> => { + const references: Reference[] = []; + const panels = cloneDeep(panels$.value); + + const serializePromises: Array< + Promise<{ uuid: string; serialized: SerializedPanelState }> + > = []; + for (const uuid of Object.keys(panels)) { + const api = children$.value[uuid]; + + if (apiHasSerializableState(api)) { + serializePromises.push( + (async () => { + const serialized = await api.serializeState(); + return { uuid, serialized }; + })() + ); + } + } + + const serializeResults = await Promise.all(serializePromises); + for (const result of serializeResults) { + panels[result.uuid].explicitInput = { ...result.serialized.rawState, id: result.uuid }; + references.push( + ...prefixReferencesFromPanel(result.uuid, result.serialized.references ?? []) + ); + } + + return { panels, references }; + }, + }, + }; +} + +function getClonedPanelTitle(panelTitles: string[], rawTitle: string) { + if (rawTitle === '') return ''; + + const clonedTag = dashboardClonePanelActionStrings.getClonedTag(); + const cloneRegex = new RegExp(`\\(${clonedTag}\\)`, 'g'); + const cloneNumberRegex = new RegExp(`\\(${clonedTag} [0-9]+\\)`, 'g'); + const baseTitle = rawTitle.replace(cloneNumberRegex, '').replace(cloneRegex, '').trim(); + const similarTitles = filter(panelTitles, (title: string) => { + return title.startsWith(baseTitle); + }); + + const cloneNumbers = map(similarTitles, (title: string) => { + if (title.match(cloneRegex)) return 0; + const cloneTag = title.match(cloneNumberRegex); + return cloneTag ? parseInt(cloneTag[0].replace(/[^0-9.]/g, ''), 10) : -1; + }); + const similarBaseTitlesCount = max(cloneNumbers) || 0; + + return similarBaseTitlesCount < 0 + ? baseTitle + ` (${clonedTag})` + : baseTitle + ` (${clonedTag} ${similarBaseTitlesCount + 1})`; +} diff --git a/src/plugins/dashboard/public/dashboard_api/search_session_manager.ts b/src/plugins/dashboard/public/dashboard_api/search_session_manager.ts new file mode 100644 index 0000000000000..dbca51f03ac19 --- /dev/null +++ b/src/plugins/dashboard/public/dashboard_api/search_session_manager.ts @@ -0,0 +1,60 @@ +/* + * Copyright 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 { BehaviorSubject } from 'rxjs'; +import { EmbeddablePackageState } from '@kbn/embeddable-plugin/public'; +import { DashboardApi, DashboardCreationOptions } from './types'; +import { dataService } from '../services/kibana_services'; +import { startDashboardSearchSessionIntegration } from '../dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration'; + +export function initializeSearchSessionManager( + searchSessionSettings: DashboardCreationOptions['searchSessionSettings'], + incomingEmbeddable: EmbeddablePackageState | undefined, + dashboardApi: Omit +) { + const searchSessionId$ = new BehaviorSubject(undefined); + + let stopSearchSessionIntegration: (() => void) | undefined; + if (searchSessionSettings) { + const { sessionIdToRestore } = searchSessionSettings; + + // if this incoming embeddable has a session, continue it. + if (incomingEmbeddable?.searchSessionId) { + dataService.search.session.continue(incomingEmbeddable.searchSessionId); + } + if (sessionIdToRestore) { + dataService.search.session.restore(sessionIdToRestore); + } + const existingSession = dataService.search.session.getSessionId(); + + const initialSearchSessionId = + sessionIdToRestore ?? + (existingSession && incomingEmbeddable + ? existingSession + : dataService.search.session.start()); + searchSessionId$.next(initialSearchSessionId); + + stopSearchSessionIntegration = startDashboardSearchSessionIntegration( + { + ...dashboardApi, + searchSessionId$, + }, + searchSessionSettings, + (searchSessionId: string) => searchSessionId$.next(searchSessionId) + ); + } + return { + api: { + searchSessionId$, + }, + cleanup: () => { + stopSearchSessionIntegration?.(); + }, + }; +} diff --git a/src/plugins/dashboard/public/dashboard_api/settings_manager.ts b/src/plugins/dashboard/public/dashboard_api/settings_manager.ts new file mode 100644 index 0000000000000..0b4903a506a90 --- /dev/null +++ b/src/plugins/dashboard/public/dashboard_api/settings_manager.ts @@ -0,0 +1,140 @@ +/* + * Copyright 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 fastIsEqual from 'fast-deep-equal'; +import { + PublishingSubject, + StateComparators, + initializeTitles, +} from '@kbn/presentation-publishing'; +import { BehaviorSubject } from 'rxjs'; +import { DashboardState } from './types'; +import { DEFAULT_DASHBOARD_INPUT } from '../dashboard_constants'; +import { DashboardStateFromSettingsFlyout } from '../dashboard_container/types'; + +export function initializeSettingsManager({ + initialState, + setTimeRestore, + timeRestore$, +}: { + initialState?: DashboardState; + setTimeRestore: (timeRestore: boolean) => void; + timeRestore$: PublishingSubject; +}) { + const syncColors$ = new BehaviorSubject( + initialState?.syncColors ?? DEFAULT_DASHBOARD_INPUT.syncColors + ); + function setSyncColors(syncColors: boolean) { + if (syncColors !== syncColors$.value) syncColors$.next(syncColors); + } + const syncCursor$ = new BehaviorSubject( + initialState?.syncCursor ?? DEFAULT_DASHBOARD_INPUT.syncCursor + ); + function setSyncCursor(syncCursor: boolean) { + if (syncCursor !== syncCursor$.value) syncCursor$.next(syncCursor); + } + const syncTooltips$ = new BehaviorSubject( + initialState?.syncTooltips ?? DEFAULT_DASHBOARD_INPUT.syncTooltips + ); + function setSyncTooltips(syncTooltips: boolean) { + if (syncTooltips !== syncTooltips$.value) syncTooltips$.next(syncTooltips); + } + const tags$ = new BehaviorSubject(initialState?.tags ?? DEFAULT_DASHBOARD_INPUT.tags); + function setTags(tags: string[]) { + if (!fastIsEqual(tags, tags$.value)) tags$.next(tags); + } + const titleManager = initializeTitles(initialState ?? {}); + const useMargins$ = new BehaviorSubject( + initialState?.useMargins ?? DEFAULT_DASHBOARD_INPUT.useMargins + ); + function setUseMargins(useMargins: boolean) { + if (useMargins !== useMargins$.value) useMargins$.next(useMargins); + } + + function getSettings() { + return { + ...titleManager.serializeTitles(), + syncColors: syncColors$.value, + syncCursor: syncCursor$.value, + syncTooltips: syncTooltips$.value, + tags: tags$.value, + timeRestore: timeRestore$.value, + useMargins: useMargins$.value, + }; + } + + function setSettings(settings: DashboardStateFromSettingsFlyout) { + setSyncColors(settings.syncColors); + setSyncCursor(settings.syncCursor); + setSyncTooltips(settings.syncTooltips); + setTags(settings.tags); + setTimeRestore(settings.timeRestore); + setUseMargins(settings.useMargins); + titleManager.titlesApi.setHidePanelTitle(settings.hidePanelTitles); + titleManager.titlesApi.setPanelDescription(settings.description); + titleManager.titlesApi.setPanelTitle(settings.title); + } + + return { + api: { + ...titleManager.titlesApi, + getSettings, + settings: { + syncColors$, + syncCursor$, + syncTooltips$, + useMargins$, + }, + setSettings, + setTags, + timeRestore$, + }, + comparators: { + ...titleManager.titleComparators, + syncColors: [syncColors$, setSyncColors], + syncCursor: [syncCursor$, setSyncCursor], + syncTooltips: [syncTooltips$, setSyncTooltips], + useMargins: [useMargins$, setUseMargins], + } as StateComparators< + Pick< + DashboardState, + | 'description' + | 'hidePanelTitles' + | 'syncColors' + | 'syncCursor' + | 'syncTooltips' + | 'title' + | 'useMargins' + > + >, + internalApi: { + getState: (): Pick< + DashboardState, + | 'description' + | 'hidePanelTitles' + | 'syncColors' + | 'syncCursor' + | 'syncTooltips' + | 'tags' + | 'title' + | 'useMargins' + > => { + const settings = getSettings(); + return { + ...settings, + title: settings.title ?? '', + hidePanelTitles: settings.hidePanelTitles ?? DEFAULT_DASHBOARD_INPUT.hidePanelTitles, + }; + }, + reset: (lastSavedState: DashboardState) => { + setSettings(lastSavedState); + }, + }, + }; +} diff --git a/src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts b/src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts new file mode 100644 index 0000000000000..359dadaa4261a --- /dev/null +++ b/src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts @@ -0,0 +1,25 @@ +/* + * Copyright 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 { coreServices } from '../services/kibana_services'; + +// seperate from performance metrics +// reports when a dashboard renders with data +export function initializeTrackContentfulRender() { + let hadContentfulRender = false; + + return { + trackContentfulRender: () => { + if (!hadContentfulRender) { + coreServices.analytics.reportEvent('dashboard_loaded_with_data', {}); + } + hadContentfulRender = true; + }, + }; +} diff --git a/src/plugins/dashboard/public/dashboard_api/track_panel.ts b/src/plugins/dashboard/public/dashboard_api/track_panel.ts index b9f9b3218488b..07fe1134d4dcb 100644 --- a/src/plugins/dashboard/public/dashboard_api/track_panel.ts +++ b/src/plugins/dashboard/public/dashboard_api/track_panel.ts @@ -9,7 +9,7 @@ import { BehaviorSubject } from 'rxjs'; -export function initializeTrackPanel(untilEmbeddableLoaded: (id: string) => Promise) { +export function initializeTrackPanel(untilEmbeddableLoaded: (id: string) => Promise) { const expandedPanelId$ = new BehaviorSubject(undefined); const focusedPanelId$ = new BehaviorSubject(undefined); const highlightPanelId$ = new BehaviorSubject(undefined); @@ -27,7 +27,7 @@ export function initializeTrackPanel(untilEmbeddableLoaded: (id: string) => Prom return { expandedPanelId: expandedPanelId$, expandPanel: (panelId: string) => { - const isPanelExpanded = Boolean(expandedPanelId$.value); + const isPanelExpanded = panelId === expandedPanelId$.value; if (isPanelExpanded) { setExpandedPanelId(undefined); @@ -79,7 +79,6 @@ export function initializeTrackPanel(untilEmbeddableLoaded: (id: string) => Prom scrollToTop: () => { window.scroll(0, 0); }, - setExpandedPanelId, setFocusedPanelId: (id: string | undefined) => { if (focusedPanelId$.value !== id) focusedPanelId$.next(id); setScrollToPanelId(id); diff --git a/src/plugins/dashboard/public/dashboard_api/types.ts b/src/plugins/dashboard/public/dashboard_api/types.ts index ec89a93dcd66e..2cfe5aa615f3b 100644 --- a/src/plugins/dashboard/public/dashboard_api/types.ts +++ b/src/plugins/dashboard/public/dashboard_api/types.ts @@ -10,25 +10,36 @@ import { CanExpandPanels, HasRuntimeChildState, + HasSaveNotification, HasSerializedChildState, PresentationContainer, + PublishesSettings, SerializedPanelState, + TrackContentfulRender, TracksOverlays, } from '@kbn/presentation-containers'; import { EmbeddableAppContext, HasAppContext, + HasExecutionContext, HasType, + HasUniqueId, + PublishesDataLoading, PublishesDataViews, PublishesPanelDescription, PublishesPanelTitle, PublishesSavedObjectId, PublishesUnifiedSearch, PublishesViewMode, + PublishesWritableViewMode, PublishingSubject, ViewMode, } from '@kbn/presentation-publishing'; -import { ControlGroupApi, ControlGroupSerializedState } from '@kbn/controls-plugin/public'; +import { + ControlGroupApi, + ControlGroupRuntimeState, + ControlGroupSerializedState, +} from '@kbn/controls-plugin/public'; import { Filter, Query, TimeRange } from '@kbn/es-query'; import { DefaultEmbeddableApi, @@ -36,19 +47,27 @@ import { ErrorEmbeddable, IEmbeddable, } from '@kbn/embeddable-plugin/public'; -import { Observable } from 'rxjs'; -import { SearchSessionInfoProvider } from '@kbn/data-plugin/public'; +import { Observable, Subject } from 'rxjs'; +import { RefreshInterval, SearchSessionInfoProvider } from '@kbn/data-plugin/public'; import { IKbnUrlStateStorage } from '@kbn/kibana-utils-plugin/public'; +import { PublishesReload } from '@kbn/presentation-publishing/interfaces/fetch/publishes_reload'; +import { PublishesSearchSession } from '@kbn/presentation-publishing/interfaces/fetch/publishes_search_session'; +import { LocatorPublic } from '@kbn/share-plugin/common'; import { DashboardPanelMap, DashboardPanelState } from '../../common'; +import type { DashboardOptions } from '../../server/content_management'; import { LoadDashboardReturn, SaveDashboardReturn, - SavedDashboardInput, } from '../services/dashboard_content_management_service/types'; -import { DashboardStateFromSettingsFlyout, UnsavedPanelState } from '../dashboard_container/types'; +import { + DashboardLocatorParams, + DashboardStateFromSettingsFlyout, +} from '../dashboard_container/types'; + +export const DASHBOARD_API_TYPE = 'dashboard'; export interface DashboardCreationOptions { - getInitialInput?: () => Partial; + getInitialInput?: () => Partial; getIncomingEmbeddable?: () => EmbeddablePackageState | undefined; @@ -74,28 +93,65 @@ export interface DashboardCreationOptions { getEmbeddableAppContext?: (dashboardId?: string) => EmbeddableAppContext; } +export interface DashboardState extends DashboardOptions { + // filter context to be passed to children + query: Query; + filters: Filter[]; + timeRestore: boolean; + timeRange?: TimeRange; + refreshInterval?: RefreshInterval; + + // dashboard meta info + title: string; + tags: string[]; + viewMode: ViewMode; + description?: string; + + // settings from DashboardOptions + + // dashboard contents + panels: DashboardPanelMap; + + /** + * Serialized control group state. + * Contains state loaded from dashboard saved object + */ + controlGroupInput?: ControlGroupSerializedState | undefined; + /** + * Runtime control group state. + * Contains state passed from dashboard locator + * Use runtime state when building input for portable dashboards + */ + controlGroupState?: Partial; +} + export type DashboardApi = CanExpandPanels & HasAppContext & + HasExecutionContext & HasRuntimeChildState & + HasSaveNotification & HasSerializedChildState & - HasType<'dashboard'> & + HasType & + HasUniqueId & PresentationContainer & + PublishesDataLoading & PublishesDataViews & PublishesPanelDescription & Pick & + PublishesReload & PublishesSavedObjectId & + PublishesSearchSession & + PublishesSettings & PublishesUnifiedSearch & PublishesViewMode & + PublishesWritableViewMode & + TrackContentfulRender & TracksOverlays & { - addFromLibrary: () => void; - animatePanelTransforms$: PublishingSubject; asyncResetToLastSavedState: () => Promise; controlGroupApi$: PublishingSubject; fullScreenMode$: PublishingSubject; focusedPanelId$: PublishingSubject; forceRefresh: () => void; - getRuntimeStateForControlGroup: () => UnsavedPanelState | undefined; - getSerializedStateForControlGroup: () => SerializedPanelState; getSettings: () => DashboardStateFromSettingsFlyout; getDashboardPanelFromId: (id: string) => Promise; hasOverlays$: PublishingSubject; @@ -104,27 +160,35 @@ export type DashboardApi = CanExpandPanels & highlightPanel: (panelRef: HTMLDivElement) => void; highlightPanelId$: PublishingSubject; isEmbeddedExternally: boolean; - managed$: PublishingSubject; + isManaged: boolean; + locator?: Pick, 'navigate' | 'getRedirectUrl'>; panels$: PublishingSubject; - registerChildApi: (api: DefaultEmbeddableApi) => void; - runInteractiveSave: (interactionMode: ViewMode) => Promise; + runInteractiveSave: () => Promise; runQuickSave: () => Promise; scrollToPanel: (panelRef: HTMLDivElement) => void; scrollToPanelId$: PublishingSubject; scrollToTop: () => void; - setControlGroupApi: (controlGroupApi: ControlGroupApi) => void; - setSettings: (settings: DashboardStateFromSettingsFlyout) => void; setFilters: (filters?: Filter[] | undefined) => void; setFullScreenMode: (fullScreenMode: boolean) => void; + setHighlightPanelId: (id: string | undefined) => void; setPanels: (panels: DashboardPanelMap) => void; setQuery: (query?: Query | undefined) => void; + setScrollToPanelId: (id: string | undefined) => void; + setSettings: (settings: DashboardStateFromSettingsFlyout) => void; setTags: (tags: string[]) => void; setTimeRange: (timeRange?: TimeRange | undefined) => void; - setViewMode: (viewMode: ViewMode) => void; - useMargins$: PublishingSubject; - // TODO replace with HasUniqueId once dashboard is refactored and navigateToDashboard is removed - uuid$: PublishingSubject; + unifiedSearchFilters$: PublishesUnifiedSearch['filters$']; // TODO remove types below this line - from legacy embeddable system untilEmbeddableLoaded: (id: string) => Promise; }; + +export interface DashboardInternalApi { + animatePanelTransforms$: PublishingSubject; + controlGroupReload$: Subject; + panelsReload$: Subject; + getRuntimeStateForControlGroup: () => object | undefined; + getSerializedStateForControlGroup: () => SerializedPanelState; + registerChildApi: (api: DefaultEmbeddableApi) => void; + setControlGroupApi: (controlGroupApi: ControlGroupApi) => void; +} diff --git a/src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts b/src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts new file mode 100644 index 0000000000000..e1f1d0a4e71d3 --- /dev/null +++ b/src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts @@ -0,0 +1,371 @@ +/* + * Copyright 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 { + COMPARE_ALL_OPTIONS, + Filter, + Query, + TimeRange, + compareFilters, + isFilterPinned, +} from '@kbn/es-query'; +import { + BehaviorSubject, + Observable, + Subject, + Subscription, + combineLatest, + debounceTime, + distinctUntilChanged, + finalize, + map, + of, + switchMap, + tap, +} from 'rxjs'; +import fastIsEqual from 'fast-deep-equal'; +import { PublishingSubject, StateComparators } from '@kbn/presentation-publishing'; +import { ControlGroupApi } from '@kbn/controls-plugin/public'; +import { cloneDeep } from 'lodash'; +import { + GlobalQueryStateFromUrl, + RefreshInterval, + connectToQueryState, + syncGlobalQueryStateWithUrl, +} from '@kbn/data-plugin/public'; +import { cleanFiltersForSerialize } from '@kbn/presentation-util-plugin/public'; +import moment, { Moment } from 'moment'; +import { dataService } from '../services/kibana_services'; +import { DashboardCreationOptions, DashboardState } from './types'; +import { DEFAULT_DASHBOARD_INPUT, GLOBAL_STATE_STORAGE_KEY } from '../dashboard_constants'; + +export function initializeUnifiedSearchManager( + initialState: DashboardState, + controlGroupApi$: PublishingSubject, + waitForPanelsToLoad$: Observable, + getLastSavedState: () => DashboardState | undefined, + creationOptions?: DashboardCreationOptions +) { + const { + queryString, + filterManager, + timefilter: { timefilter: timefilterService }, + } = dataService.query; + + const controlGroupReload$ = new Subject(); + const filters$ = new BehaviorSubject(undefined); + const panelsReload$ = new Subject(); + const query$ = new BehaviorSubject(initialState.query); + // setAndSyncQuery method not needed since query synced with 2-way data binding + function setQuery(query: Query) { + if (!fastIsEqual(query, query$.value)) { + query$.next(query); + } + } + const refreshInterval$ = new BehaviorSubject( + initialState.refreshInterval + ); + function setRefreshInterval(refreshInterval: RefreshInterval) { + if (!fastIsEqual(refreshInterval, refreshInterval$.value)) { + refreshInterval$.next(refreshInterval); + } + } + function setAndSyncRefreshInterval(refreshInterval: RefreshInterval | undefined) { + const refreshIntervalOrDefault = + refreshInterval ?? timefilterService.getRefreshIntervalDefaults(); + setRefreshInterval(refreshIntervalOrDefault); + if (creationOptions?.useUnifiedSearchIntegration) { + timefilterService.setRefreshInterval(refreshIntervalOrDefault); + } + } + const timeRange$ = new BehaviorSubject(initialState.timeRange); + function setTimeRange(timeRange: TimeRange) { + if (!fastIsEqual(timeRange, timeRange$.value)) { + timeRange$.next(timeRange); + } + } + function setAndSyncTimeRange(timeRange: TimeRange | undefined) { + const timeRangeOrDefault = timeRange ?? timefilterService.getTimeDefaults(); + setTimeRange(timeRangeOrDefault); + if (creationOptions?.useUnifiedSearchIntegration) { + timefilterService.setTime(timeRangeOrDefault); + } + } + const timeRestore$ = new BehaviorSubject( + initialState?.timeRestore ?? DEFAULT_DASHBOARD_INPUT.timeRestore + ); + function setTimeRestore(timeRestore: boolean) { + if (timeRestore !== timeRestore$.value) timeRestore$.next(timeRestore); + } + const timeslice$ = new BehaviorSubject<[number, number] | undefined>(undefined); + const unifiedSearchFilters$ = new BehaviorSubject(initialState.filters); + // setAndSyncUnifiedSearchFilters method not needed since filters synced with 2-way data binding + function setUnifiedSearchFilters(unifiedSearchFilters: Filter[]) { + if (!fastIsEqual(unifiedSearchFilters, unifiedSearchFilters$.value)) { + unifiedSearchFilters$.next(unifiedSearchFilters); + } + } + + // -------------------------------------------------------------------------------------- + // Set up control group integration + // -------------------------------------------------------------------------------------- + const controlGroupSubscriptions: Subscription = new Subscription(); + const controlGroupFilters$ = controlGroupApi$.pipe( + switchMap((controlGroupApi) => (controlGroupApi ? controlGroupApi.filters$ : of(undefined))) + ); + const controlGroupTimeslice$ = controlGroupApi$.pipe( + switchMap((controlGroupApi) => (controlGroupApi ? controlGroupApi.timeslice$ : of(undefined))) + ); + controlGroupSubscriptions.add( + combineLatest([unifiedSearchFilters$, controlGroupFilters$]).subscribe( + ([unifiedSearchFilters, controlGroupFilters]) => { + filters$.next([...(unifiedSearchFilters ?? []), ...(controlGroupFilters ?? [])]); + } + ) + ); + controlGroupSubscriptions.add(controlGroupFilters$.subscribe(() => panelsReload$.next())); + controlGroupSubscriptions.add( + controlGroupTimeslice$.subscribe((timeslice) => { + if (timeslice !== timeslice$.value) timeslice$.next(timeslice); + }) + ); + + // -------------------------------------------------------------------------------------- + // Set up unified search integration. + // -------------------------------------------------------------------------------------- + const unifiedSearchSubscriptions: Subscription = new Subscription(); + let stopSyncingWithUrl: (() => void) | undefined; + let stopSyncingAppFilters: (() => void) | undefined; + if ( + creationOptions?.useUnifiedSearchIntegration && + creationOptions?.unifiedSearchSettings?.kbnUrlStateStorage + ) { + // apply filters and query to the query service + filterManager.setAppFilters(cloneDeep(unifiedSearchFilters$.value ?? [])); + queryString.setQuery(query$.value ?? queryString.getDefaultQuery()); + + /** + * Get initial time range, and set up dashboard time restore if applicable + */ + const initialTimeRange: TimeRange = (() => { + // if there is an explicit time range in the URL it always takes precedence. + const urlOverrideTimeRange = + creationOptions.unifiedSearchSettings.kbnUrlStateStorage.get( + GLOBAL_STATE_STORAGE_KEY + )?.time; + if (urlOverrideTimeRange) return urlOverrideTimeRange; + + // if this Dashboard has timeRestore return the time range that was saved with the dashboard. + if (timeRestore$.value && timeRange$.value) return timeRange$.value; + + // otherwise fall back to the time range from the timefilterService. + return timefilterService.getTime(); + })(); + setTimeRange(initialTimeRange); + if (timeRestore$.value) { + if (timeRange$.value) timefilterService.setTime(timeRange$.value); + if (refreshInterval$.value) timefilterService.setRefreshInterval(refreshInterval$.value); + } + + // start syncing global query state with the URL. + const { stop } = syncGlobalQueryStateWithUrl( + dataService.query, + creationOptions?.unifiedSearchSettings.kbnUrlStateStorage + ); + stopSyncingWithUrl = stop; + + stopSyncingAppFilters = connectToQueryState( + dataService.query, + { + get: () => ({ + filters: unifiedSearchFilters$.value ?? [], + query: query$.value ?? dataService.query.queryString.getDefaultQuery(), + }), + set: ({ filters: newFilters, query: newQuery }) => { + setUnifiedSearchFilters(cleanFiltersForSerialize(newFilters)); + setQuery(newQuery); + }, + state$: combineLatest([query$, unifiedSearchFilters$]).pipe( + debounceTime(0), + map(([query, unifiedSearchFilters]) => { + return { + query: query ?? dataService.query.queryString.getDefaultQuery(), + filters: unifiedSearchFilters ?? [], + }; + }), + distinctUntilChanged() + ), + }, + { + query: true, + filters: true, + } + ); + + unifiedSearchSubscriptions.add( + timefilterService.getTimeUpdate$().subscribe(() => { + const urlOverrideTimeRange = + creationOptions?.unifiedSearchSettings?.kbnUrlStateStorage.get( + GLOBAL_STATE_STORAGE_KEY + )?.time; + if (urlOverrideTimeRange) { + setTimeRange(urlOverrideTimeRange); + return; + } + + const lastSavedTimeRange = getLastSavedState()?.timeRange; + if (timeRestore$.value && lastSavedTimeRange) { + setAndSyncTimeRange(lastSavedTimeRange); + return; + } + + setTimeRange(timefilterService.getTime()); + }) + ); + unifiedSearchSubscriptions.add( + timefilterService.getRefreshIntervalUpdate$().subscribe(() => { + const urlOverrideRefreshInterval = + creationOptions?.unifiedSearchSettings?.kbnUrlStateStorage.get( + GLOBAL_STATE_STORAGE_KEY + )?.refreshInterval; + if (urlOverrideRefreshInterval) { + setRefreshInterval(urlOverrideRefreshInterval); + return; + } + + const lastSavedRefreshInterval = getLastSavedState()?.refreshInterval; + if (timeRestore$.value && lastSavedRefreshInterval) { + setAndSyncRefreshInterval(lastSavedRefreshInterval); + return; + } + + setRefreshInterval(timefilterService.getRefreshInterval()); + }) + ); + unifiedSearchSubscriptions.add( + timefilterService + .getAutoRefreshFetch$() + .pipe( + tap(() => { + controlGroupReload$.next(); + panelsReload$.next(); + }), + switchMap((done) => waitForPanelsToLoad$.pipe(finalize(done))) + ) + .subscribe() + ); + } + + return { + api: { + filters$, + forceRefresh: () => { + controlGroupReload$.next(); + panelsReload$.next(); + }, + query$, + refreshInterval$, + setFilters: setUnifiedSearchFilters, + setQuery, + setTimeRange: setAndSyncTimeRange, + timeRange$, + timeslice$, + unifiedSearchFilters$, + }, + comparators: { + filters: [ + unifiedSearchFilters$, + setUnifiedSearchFilters, + // exclude pinned filters from comparision because pinned filters are not part of application state + (a, b) => + compareFilters( + (a ?? []).filter((f) => !isFilterPinned(f)), + (b ?? []).filter((f) => !isFilterPinned(f)), + COMPARE_ALL_OPTIONS + ), + ], + query: [query$, setQuery, fastIsEqual], + refreshInterval: [ + refreshInterval$, + (refreshInterval: RefreshInterval | undefined) => { + if (timeRestore$.value) setAndSyncRefreshInterval(refreshInterval); + }, + (a: RefreshInterval | undefined, b: RefreshInterval | undefined) => + timeRestore$.value ? fastIsEqual(a, b) : true, + ], + timeRange: [ + timeRange$, + (timeRange: TimeRange | undefined) => { + if (timeRestore$.value) setAndSyncTimeRange(timeRange); + }, + (a: TimeRange | undefined, b: TimeRange | undefined) => { + if (!timeRestore$.value) return true; // if time restore is set to false, time range doesn't count as a change. + if (!areTimesEqual(a?.from, b?.from) || !areTimesEqual(a?.to, b?.to)) { + return false; + } + return true; + }, + ], + timeRestore: [timeRestore$, setTimeRestore], + } as StateComparators< + Pick + >, + internalApi: { + controlGroupReload$, + panelsReload$, + reset: (lastSavedState: DashboardState) => { + setUnifiedSearchFilters([ + ...(unifiedSearchFilters$.value ?? []).filter(isFilterPinned), + ...lastSavedState.filters, + ]); + setQuery(lastSavedState.query); + setTimeRestore(lastSavedState.timeRestore); + if (lastSavedState.timeRestore) { + setAndSyncRefreshInterval(lastSavedState.refreshInterval); + setAndSyncTimeRange(lastSavedState.timeRange); + } + }, + getState: (): Pick< + DashboardState, + 'filters' | 'query' | 'refreshInterval' | 'timeRange' | 'timeRestore' + > => ({ + filters: unifiedSearchFilters$.value ?? DEFAULT_DASHBOARD_INPUT.filters, + query: query$.value ?? DEFAULT_DASHBOARD_INPUT.query, + refreshInterval: refreshInterval$.value, + timeRange: timeRange$.value, + timeRestore: timeRestore$.value ?? DEFAULT_DASHBOARD_INPUT.timeRestore, + }), + setTimeRestore, + timeRestore$, + }, + cleanup: () => { + controlGroupSubscriptions.unsubscribe(); + unifiedSearchSubscriptions.unsubscribe(); + stopSyncingWithUrl?.(); + stopSyncingAppFilters?.(); + }, + }; +} + +const convertTimeToUTCString = (time?: string | Moment): undefined | string => { + if (moment(time).isValid()) { + return moment(time).utc().format('YYYY-MM-DDTHH:mm:ss.SSS[Z]'); + } else { + // If it's not a valid moment date, then it should be a string representing a relative time + // like 'now' or 'now-15m'. + return time as string; + } +}; + +export const areTimesEqual = ( + timeA?: string | Moment | undefined, + timeB?: string | Moment | undefined +) => { + return convertTimeToUTCString(timeA) === convertTimeToUTCString(timeB); +}; diff --git a/src/plugins/dashboard/public/dashboard_api/unsaved_changes.ts b/src/plugins/dashboard/public/dashboard_api/unsaved_changes.ts deleted file mode 100644 index af588081ecc87..0000000000000 --- a/src/plugins/dashboard/public/dashboard_api/unsaved_changes.ts +++ /dev/null @@ -1,35 +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 { BehaviorSubject } from 'rxjs'; -import type { DashboardContainerInput } from '../../common'; - -export function initializeUnsavedChanges( - anyMigrationRun: boolean, - lastSavedInput: DashboardContainerInput -) { - const hasRunMigrations$ = new BehaviorSubject(anyMigrationRun); - const hasUnsavedChanges$ = new BehaviorSubject(false); - const lastSavedInput$ = new BehaviorSubject(lastSavedInput); - - return { - hasRunMigrations$, - hasUnsavedChanges$, - lastSavedInput$, - setHasUnsavedChanges: (hasUnsavedChanges: boolean) => - hasUnsavedChanges$.next(hasUnsavedChanges), - setLastSavedInput: (input: DashboardContainerInput) => { - lastSavedInput$.next(input); - - // if we set the last saved input, it means we have saved this Dashboard - therefore clientside migrations have - // been serialized into the SO. - hasRunMigrations$.next(false); - }, - }; -} diff --git a/src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts b/src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts new file mode 100644 index 0000000000000..b5d2117fde98e --- /dev/null +++ b/src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.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", 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 { BehaviorSubject, Subject, combineLatest, debounceTime, skipWhile, switchMap } from 'rxjs'; +import { PublishesSavedObjectId, PublishingSubject } from '@kbn/presentation-publishing'; +import { ControlGroupApi } from '@kbn/controls-plugin/public'; +import { childrenUnsavedChanges$, initializeUnsavedChanges } from '@kbn/presentation-containers'; +import { omit } from 'lodash'; +import { DashboardCreationOptions, DashboardState } from './types'; +import { initializePanelsManager } from './panels_manager'; +import { initializeSettingsManager } from './settings_manager'; +import { initializeUnifiedSearchManager } from './unified_search_manager'; +import { + PANELS_CONTROL_GROUP_KEY, + getDashboardBackupService, +} from '../services/dashboard_backup_service'; +import { initializeViewModeManager } from './view_mode_manager'; + +export function initializeUnsavedChangesManager({ + anyMigrationRun, + creationOptions, + controlGroupApi$, + lastSavedState, + panelsManager, + savedObjectId$, + settingsManager, + viewModeManager, + unifiedSearchManager, +}: { + anyMigrationRun: boolean; + creationOptions?: DashboardCreationOptions; + controlGroupApi$: PublishingSubject; + lastSavedState: DashboardState; + panelsManager: ReturnType; + savedObjectId$: PublishesSavedObjectId['savedObjectId']; + settingsManager: ReturnType; + viewModeManager: ReturnType; + unifiedSearchManager: ReturnType; +}) { + const hasRunMigrations$ = new BehaviorSubject(anyMigrationRun); + const hasUnsavedChanges$ = new BehaviorSubject(false); + const lastSavedState$ = new BehaviorSubject(lastSavedState); + const saveNotification$ = new Subject(); + + const dashboardUnsavedChanges = initializeUnsavedChanges< + Omit + >( + lastSavedState, + { saveNotification$ }, + { + ...panelsManager.comparators, + ...settingsManager.comparators, + ...viewModeManager.comparators, + ...unifiedSearchManager.comparators, + } + ); + + const unsavedChangesSubscription = combineLatest([ + dashboardUnsavedChanges.api.unsavedChanges, + childrenUnsavedChanges$(panelsManager.api.children$), + controlGroupApi$.pipe( + skipWhile((controlGroupApi) => !controlGroupApi), + switchMap((controlGroupApi) => { + return controlGroupApi!.unsavedChanges; + }) + ), + ]) + .pipe(debounceTime(0)) + .subscribe(([dashboardChanges, unsavedPanelState, controlGroupChanges]) => { + // viewMode needs to be stored in session state because + // its used to exclude 'view' dashboards on the listing page + // However, viewMode should not trigger unsaved changes notification + // otherwise, opening a dashboard in edit mode will always show unsaved changes + const hasDashboardChanges = + Object.keys(omit(dashboardChanges ?? {}, ['viewMode'])).length > 0; + const hasUnsavedChanges = + hasDashboardChanges || unsavedPanelState !== undefined || controlGroupChanges !== undefined; + if (hasUnsavedChanges !== hasUnsavedChanges$.value) { + hasUnsavedChanges$.next(hasUnsavedChanges); + } + + // backup unsaved changes if configured to do so + if (creationOptions?.useSessionStorageIntegration) { + // Current behaviour expects time range not to be backed up. Revisit this? + const dashboardStateToBackup = omit(dashboardChanges ?? {}, [ + 'timeRange', + 'refreshInterval', + ]); + const reactEmbeddableChanges = unsavedPanelState ? { ...unsavedPanelState } : {}; + if (controlGroupChanges) { + reactEmbeddableChanges[PANELS_CONTROL_GROUP_KEY] = controlGroupChanges; + } + + getDashboardBackupService().setState( + savedObjectId$.value, + dashboardStateToBackup, + reactEmbeddableChanges + ); + } + }); + + return { + api: { + asyncResetToLastSavedState: async () => { + panelsManager.internalApi.reset(lastSavedState$.value); + settingsManager.internalApi.reset(lastSavedState$.value); + unifiedSearchManager.internalApi.reset(lastSavedState$.value); + await controlGroupApi$.value?.asyncResetUnsavedChanges(); + }, + hasRunMigrations$, + hasUnsavedChanges$, + saveNotification$, + }, + cleanup: () => { + dashboardUnsavedChanges.cleanup(); + unsavedChangesSubscription.unsubscribe(); + }, + internalApi: { + getLastSavedState: () => lastSavedState$.value, + onSave: (savedState: DashboardState) => { + lastSavedState$.next(savedState); + + // if we set the last saved input, it means we have saved this Dashboard - therefore clientside migrations have + // been serialized into the SO. + hasRunMigrations$.next(false); + + saveNotification$.next(); + }, + }, + }; +} diff --git a/src/plugins/dashboard/public/dashboard_api/use_dashboard_internal_api.ts b/src/plugins/dashboard/public/dashboard_api/use_dashboard_internal_api.ts new file mode 100644 index 0000000000000..bb9e25bd00650 --- /dev/null +++ b/src/plugins/dashboard/public/dashboard_api/use_dashboard_internal_api.ts @@ -0,0 +1,21 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +import { createContext, useContext } from 'react'; +import { DashboardInternalApi } from './types'; + +export const DashboardInternalContext = createContext(undefined); + +export const useDashboardInternalApi = (): DashboardInternalApi => { + const internalApi = useContext(DashboardInternalContext); + if (!internalApi) { + throw new Error('useDashboardInternalApi must be used inside DashboardContext'); + } + return internalApi; +}; diff --git a/src/plugins/dashboard/public/dashboard_api/view_mode_manager.ts b/src/plugins/dashboard/public/dashboard_api/view_mode_manager.ts new file mode 100644 index 0000000000000..1ef1a19c9563e --- /dev/null +++ b/src/plugins/dashboard/public/dashboard_api/view_mode_manager.ts @@ -0,0 +1,63 @@ +/* + * Copyright 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 { EmbeddablePackageState } from '@kbn/embeddable-plugin/public'; +import { StateComparators, ViewMode } from '@kbn/presentation-publishing'; +import { BehaviorSubject } from 'rxjs'; +import { LoadDashboardReturn } from '../services/dashboard_content_management_service/types'; +import { getDashboardBackupService } from '../services/dashboard_backup_service'; +import { getDashboardCapabilities } from '../utils/get_dashboard_capabilities'; +import { DashboardState } from './types'; + +export function initializeViewModeManager( + incomingEmbeddable?: EmbeddablePackageState, + savedObjectResult?: LoadDashboardReturn +) { + const dashboardBackupService = getDashboardBackupService(); + function getInitialViewMode() { + if (savedObjectResult?.managed || !getDashboardCapabilities().showWriteControls) { + return 'view'; + } + + if ( + incomingEmbeddable || + savedObjectResult?.newDashboardCreated || + dashboardBackupService.dashboardHasUnsavedEdits(savedObjectResult?.dashboardId) + ) + return 'edit'; + + return dashboardBackupService.getViewMode(); + } + + const viewMode$ = new BehaviorSubject(getInitialViewMode()); + + function setViewMode(viewMode: ViewMode) { + // block the Dashboard from entering edit mode if this Dashboard is managed. + if (savedObjectResult?.managed && viewMode?.toLowerCase() === 'edit') { + return; + } + viewMode$.next(viewMode); + } + + return { + api: { + viewMode: viewMode$, + setViewMode, + }, + comparators: { + viewMode: [ + viewMode$, + setViewMode, + // When compared view mode is always considered unequal so that it gets backed up. + // view mode unsaved changes do not show unsaved badge + () => false, + ], + } as StateComparators>, + }; +} diff --git a/src/plugins/dashboard/public/dashboard_app/dashboard_app.test.tsx b/src/plugins/dashboard/public/dashboard_app/dashboard_app.test.tsx index 2bed3ce44ea61..ba6ec626f2348 100644 --- a/src/plugins/dashboard/public/dashboard_app/dashboard_app.test.tsx +++ b/src/plugins/dashboard/public/dashboard_app/dashboard_app.test.tsx @@ -12,11 +12,10 @@ import React, { useEffect } from 'react'; import { render, waitFor } from '@testing-library/react'; -import { DashboardApi } from '..'; import type { DashboardRendererProps } from '../dashboard_container/external_api/dashboard_renderer'; import { LazyDashboardRenderer } from '../dashboard_container/external_api/lazy_dashboard_renderer'; import { DashboardTopNav } from '../dashboard_top_nav'; -import { buildMockDashboard } from '../mocks'; +import { buildMockDashboardApi } from '../mocks'; import { dataService } from '../services/kibana_services'; import { DashboardApp } from './dashboard_app'; @@ -26,12 +25,12 @@ jest.mock('../dashboard_top_nav'); describe('Dashboard App', () => { dataService.query.filterManager.getFilters = jest.fn().mockImplementation(() => []); - const mockDashboard = buildMockDashboard(); + const { api: dashboardApi, cleanup } = buildMockDashboardApi(); let mockHistory: MemoryHistory; // this is in url_utils dashboardApi expandedPanel subscription let historySpy: jest.SpyInstance; // this is in the dashboard app for the renderer when provided an expanded panel id - const expandPanelSpy = jest.spyOn(mockDashboard, 'expandPanel'); + const expandPanelSpy = jest.spyOn(dashboardApi, 'expandPanel'); beforeAll(() => { mockHistory = createMemoryHistory(); @@ -46,7 +45,7 @@ describe('Dashboard App', () => { ({ onApiAvailable }: DashboardRendererProps) => { // we need overwrite the onApiAvailable prop to get access to the dashboard API in this test useEffect(() => { - onApiAvailable?.(mockDashboard as DashboardApi); + onApiAvailable?.(dashboardApi); }, [onApiAvailable]); return
Test renderer
; @@ -60,23 +59,27 @@ describe('Dashboard App', () => { historySpy.mockClear(); }); + afterAll(() => { + cleanup(); + }); + it('test the default behavior without an expandedPanel id passed as a prop to the DashboardApp', async () => { render(); await waitFor(() => { expect(expandPanelSpy).not.toHaveBeenCalled(); // this value should be undefined by default - expect(mockDashboard.expandedPanelId.getValue()).toBe(undefined); + expect(dashboardApi.expandedPanelId.getValue()).toBe(undefined); // history should not be called expect(historySpy).toHaveBeenCalledTimes(0); expect(mockHistory.location.pathname).toBe('/'); }); // simulate expanding a panel - mockDashboard.expandPanel('123'); + dashboardApi.expandPanel('123'); await waitFor(() => { - expect(mockDashboard.expandedPanelId.getValue()).toBe('123'); + expect(dashboardApi.expandedPanelId.getValue()).toBe('123'); expect(historySpy).toHaveBeenCalledTimes(1); expect(mockHistory.location.pathname).toBe('/create/123'); }); @@ -91,10 +94,10 @@ describe('Dashboard App', () => { }); // simulate minimizing a panel - mockDashboard.expandedPanelId.next(undefined); + dashboardApi.expandPanel('456'); await waitFor(() => { - expect(mockDashboard.expandedPanelId.getValue()).toBe(undefined); + expect(dashboardApi.expandedPanelId.getValue()).toBe(undefined); expect(historySpy).toHaveBeenCalledTimes(1); expect(mockHistory.location.pathname).toBe('/create'); }); diff --git a/src/plugins/dashboard/public/dashboard_app/dashboard_app.tsx b/src/plugins/dashboard/public/dashboard_app/dashboard_app.tsx index 400d56e97df09..06f56669630eb 100644 --- a/src/plugins/dashboard/public/dashboard_app/dashboard_app.tsx +++ b/src/plugins/dashboard/public/dashboard_app/dashboard_app.tsx @@ -9,7 +9,6 @@ import { History } from 'history'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; -import useMount from 'react-use/lib/useMount'; import useObservable from 'react-use/lib/useObservable'; import { debounceTime } from 'rxjs'; import { v4 as uuidv4 } from 'uuid'; @@ -70,10 +69,33 @@ export function DashboardApp({ }: DashboardAppProps) { const [showNoDataPage, setShowNoDataPage] = useState(false); const [regenerateId, setRegenerateId] = useState(uuidv4()); + const incomingEmbeddable = useMemo(() => { + return embeddableService + .getStateTransfer() + .getIncomingEmbeddablePackage(DASHBOARD_APP_ID, true); + }, []); - useMount(() => { - (async () => setShowNoDataPage(await isDashboardAppInNoDataState()))(); - }); + useEffect(() => { + let canceled = false; + // show dashboard when there is an incoming embeddable + if (incomingEmbeddable) { + return; + } + + isDashboardAppInNoDataState() + .then((isInNotDataState) => { + if (!canceled && isInNotDataState) { + setShowNoDataPage(true); + } + }) + .catch((error) => { + // show dashboard application if inNoDataState can not be determined + }); + + return () => { + canceled = true; + }; + }, [incomingEmbeddable]); const [dashboardApi, setDashboardApi] = useState(undefined); const showPlainSpinner = useObservable(coreServices.customBranding.hasCustomBranding$, false); @@ -138,8 +160,7 @@ export function DashboardApp({ }; return Promise.resolve({ - getIncomingEmbeddable: () => - embeddableService.getStateTransfer().getIncomingEmbeddablePackage(DASHBOARD_APP_ID, true), + getIncomingEmbeddable: () => incomingEmbeddable, // integrations useSessionStorageIntegration: true, @@ -166,7 +187,14 @@ export function DashboardApp({ getCurrentPath: () => `#${createDashboardEditUrl(dashboardId)}`, }), }); - }, [history, embedSettings, validateOutcome, getScopedHistory, kbnUrlStateStorage]); + }, [ + history, + embedSettings, + validateOutcome, + getScopedHistory, + kbnUrlStateStorage, + incomingEmbeddable, + ]); useEffect(() => { if (!dashboardApi) return; diff --git a/src/plugins/dashboard/public/dashboard_app/dashboard_router.tsx b/src/plugins/dashboard/public/dashboard_app/dashboard_router.tsx index 6ceaede806fed..f994d9aa20c8e 100644 --- a/src/plugins/dashboard/public/dashboard_app/dashboard_router.tsx +++ b/src/plugins/dashboard/public/dashboard_app/dashboard_router.tsx @@ -104,6 +104,7 @@ export async function mountApp({ } return ( { const hasUserDataView = await dataService.dataViews.hasData.hasUserDataView().catch(() => false); - if (hasUserDataView) return false; - // consider has data if there is an incoming embeddable - const hasIncomingEmbeddable = embeddableService - .getStateTransfer() - .getIncomingEmbeddablePackage(DASHBOARD_APP_ID, false); - if (hasIncomingEmbeddable) return false; - // consider has data if there is unsaved dashboard with edits if (getDashboardBackupService().dashboardHasUnsavedEdits()) return false; diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx b/src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx index ddc629854affe..6f9e0b5892a89 100644 --- a/src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx +++ b/src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx @@ -27,6 +27,7 @@ import { import { getCreateVisualizationButtonTitle } from '../_dashboard_app_strings'; import { ControlsToolbarButton } from './controls_toolbar_button'; import { EditorMenu } from './editor_menu'; +import { addFromLibrary } from '../../dashboard_container/embeddable/api'; export function DashboardEditingToolbar({ isDisabled }: { isDisabled?: boolean }) { const { euiTheme } = useEuiTheme(); @@ -89,7 +90,7 @@ export function DashboardEditingToolbar({ isDisabled }: { isDisabled?: boolean } const extraButtons = [ , dashboardApi.addFromLibrary()} + onClick={() => addFromLibrary(dashboardApi)} size="s" data-test-subj="dashboardAddFromLibraryButton" isDisabled={isDisabled} diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx b/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx index 7850c1e9ed745..e1bbef897d538 100644 --- a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx +++ b/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx @@ -9,10 +9,9 @@ import { render } from '@testing-library/react'; import React from 'react'; -import { buildMockDashboard } from '../../mocks'; +import { buildMockDashboardApi } from '../../mocks'; import { EditorMenu } from './editor_menu'; -import { DashboardApi } from '../../dashboard_api/types'; import { DashboardContext } from '../../dashboard_api/use_dashboard_api'; import { embeddableService, @@ -27,13 +26,10 @@ jest.spyOn(visualizationsService, 'getAliases').mockReturnValue([]); describe('editor menu', () => { it('renders without crashing', async () => { + const { api } = buildMockDashboardApi(); render(, { wrapper: ({ children }) => { - return ( - - {children} - - ); + return {children}; }, }); }); diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx b/src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx index ca58d3c74bd3f..0a96d3d978968 100644 --- a/src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx +++ b/src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx @@ -8,7 +8,6 @@ */ import { Dispatch, SetStateAction, useCallback, useMemo, useState } from 'react'; -import { batch } from 'react-redux'; import { ViewMode } from '@kbn/embeddable-plugin/public'; import type { TopNavMenuData } from '@kbn/navigation-plugin/public'; @@ -42,28 +41,17 @@ export const useDashboardMenuItems = ({ const [isSaveInProgress, setIsSaveInProgress] = useState(false); - /** - * Unpack dashboard state from redux - */ const dashboardApi = useDashboardApi(); - const [ - dashboardTitle, - hasOverlays, - hasRunMigrations, - hasUnsavedChanges, - lastSavedId, - managed, - viewMode, - ] = useBatchedPublishingSubjects( - dashboardApi.panelTitle, - dashboardApi.hasOverlays$, - dashboardApi.hasRunMigrations$, - dashboardApi.hasUnsavedChanges$, - dashboardApi.savedObjectId, - dashboardApi.managed$, - dashboardApi.viewMode - ); + const [dashboardTitle, hasOverlays, hasRunMigrations, hasUnsavedChanges, lastSavedId, viewMode] = + useBatchedPublishingSubjects( + dashboardApi.panelTitle, + dashboardApi.hasOverlays$, + dashboardApi.hasRunMigrations$, + dashboardApi.hasUnsavedChanges$, + dashboardApi.savedObjectId, + dashboardApi.viewMode + ); const disableTopNav = isSaveInProgress || hasOverlays; /** @@ -96,8 +84,8 @@ export const useDashboardMenuItems = ({ * initiate interactive dashboard copy action */ const dashboardInteractiveSave = useCallback(() => { - dashboardApi.runInteractiveSave(viewMode).then((result) => maybeRedirect(result)); - }, [maybeRedirect, dashboardApi, viewMode]); + dashboardApi.runInteractiveSave().then((result) => maybeRedirect(result)); + }, [maybeRedirect, dashboardApi]); /** * Show the dashboard's "Confirm reset changes" modal. If confirmed: @@ -118,15 +106,13 @@ export const useDashboardMenuItems = ({ switchModes?.(); return; } - confirmDiscardUnsavedChanges(() => { - batch(async () => { - setIsResetting(true); - await dashboardApi.asyncResetToLastSavedState(); - if (isMounted()) { - setIsResetting(false); - switchModes?.(); - } - }); + confirmDiscardUnsavedChanges(async () => { + setIsResetting(true); + await dashboardApi.asyncResetToLastSavedState(); + if (isMounted()) { + setIsResetting(false); + switchModes?.(); + } }, viewMode as ViewMode); }, [dashboardApi, hasUnsavedChanges, viewMode, isMounted] @@ -273,7 +259,7 @@ export const useDashboardMenuItems = ({ const labsMenuItem = isLabsEnabled ? [menuItems.labs] : []; const shareMenuItem = shareService ? [menuItems.share] : []; const duplicateMenuItem = showWriteControls ? [menuItems.interactiveSave] : []; - const editMenuItem = showWriteControls && !managed ? [menuItems.edit] : []; + const editMenuItem = showWriteControls && !dashboardApi.isManaged ? [menuItems.edit] : []; const mayberesetChangesMenuItem = showResetChange ? [resetChangesMenuItem] : []; return [ @@ -284,7 +270,7 @@ export const useDashboardMenuItems = ({ ...mayberesetChangesMenuItem, ...editMenuItem, ]; - }, [isLabsEnabled, menuItems, managed, showResetChange, resetChangesMenuItem]); + }, [isLabsEnabled, menuItems, dashboardApi.isManaged, showResetChange, resetChangesMenuItem]); const editModeTopNavConfig = useMemo(() => { const labsMenuItem = isLabsEnabled ? [menuItems.labs] : []; diff --git a/src/plugins/dashboard/public/dashboard_app/url/search_sessions_integration.ts b/src/plugins/dashboard/public/dashboard_app/url/search_sessions_integration.ts index 0fc8ce7173e6f..37c9af6944f7a 100644 --- a/src/plugins/dashboard/public/dashboard_app/url/search_sessions_integration.ts +++ b/src/plugins/dashboard/public/dashboard_app/url/search_sessions_integration.ts @@ -51,7 +51,7 @@ export function createSessionRestorationDataProvider( ): SearchSessionInfoProvider { return { getName: async () => - dashboardApi.panelTitle.value ?? dashboardApi.savedObjectId.value ?? dashboardApi.uuid$.value, + dashboardApi.panelTitle.value ?? dashboardApi.savedObjectId.value ?? dashboardApi.uuid, getLocatorData: async () => ({ id: DASHBOARD_APP_LOCATOR, initialState: getLocatorParams({ dashboardApi, shouldRestoreSearchSession: false }), diff --git a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx b/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx index b167f68e1595b..6a8da6aa9f218 100644 --- a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx +++ b/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx @@ -11,27 +11,29 @@ import { findTestSubject } from '@elastic/eui/lib/test'; import { mountWithIntl } from '@kbn/test-jest-helpers'; import React from 'react'; -import { ViewMode } from '@kbn/embeddable-plugin/public'; -import { DashboardApi } from '../../../dashboard_api/types'; import { DashboardContext } from '../../../dashboard_api/use_dashboard_api'; -import { buildMockDashboard } from '../../../mocks'; +import { DashboardApi } from '../../../dashboard_api/types'; import { coreServices, visualizationsService } from '../../../services/kibana_services'; import { DashboardEmptyScreen } from './dashboard_empty_screen'; +import { ViewMode } from '@kbn/presentation-publishing'; +import { BehaviorSubject } from 'rxjs'; visualizationsService.getAliases = jest.fn().mockReturnValue([{ name: 'lens' }]); describe('DashboardEmptyScreen', () => { function mountComponent(viewMode: ViewMode) { - const dashboardApi = buildMockDashboard({ overrides: { viewMode } }) as DashboardApi; + const mockDashboardApi = { + viewMode: new BehaviorSubject(viewMode), + } as unknown as DashboardApi; return mountWithIntl( - + ); } test('renders correctly with view mode', () => { - const component = mountComponent(ViewMode.VIEW); + const component = mountComponent('view'); expect(component.render()).toMatchSnapshot(); const emptyReadWrite = findTestSubject(component, 'dashboardEmptyReadWrite'); @@ -43,7 +45,7 @@ describe('DashboardEmptyScreen', () => { }); test('renders correctly with edit mode', () => { - const component = mountComponent(ViewMode.EDIT); + const component = mountComponent('edit'); expect(component.render()).toMatchSnapshot(); const emptyReadWrite = findTestSubject(component, 'dashboardEmptyReadWrite'); @@ -57,7 +59,7 @@ describe('DashboardEmptyScreen', () => { test('renders correctly with readonly mode', () => { (coreServices.application.capabilities as any).dashboard.showWriteControls = false; - const component = mountComponent(ViewMode.VIEW); + const component = mountComponent('view'); expect(component.render()).toMatchSnapshot(); const emptyReadWrite = findTestSubject(component, 'dashboardEmptyReadWrite'); @@ -72,7 +74,7 @@ describe('DashboardEmptyScreen', () => { test('renders correctly with readonly and edit mode', () => { (coreServices.application.capabilities as any).dashboard.showWriteControls = false; - const component = mountComponent(ViewMode.EDIT); + const component = mountComponent('edit'); expect(component.render()).toMatchSnapshot(); const emptyReadWrite = findTestSubject(component, 'dashboardEmptyReadWrite'); diff --git a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx b/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx index e4e82339e7c22..b7a4facde1c1e 100644 --- a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx +++ b/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx @@ -34,6 +34,7 @@ import { } from '../../../services/kibana_services'; import { getDashboardCapabilities } from '../../../utils/get_dashboard_capabilities'; import { emptyScreenStrings } from '../../_dashboard_container_strings'; +import { addFromLibrary } from '../../embeddable/api'; export function DashboardEmptyScreen() { const lensAlias = useMemo( @@ -120,7 +121,7 @@ export function DashboardEmptyScreen() { dashboardApi.addFromLibrary()} + onClick={() => addFromLibrary(dashboardApi)} > {emptyScreenStrings.getAddFromLibraryButtonTitle()} diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx b/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx index 7f51a91379203..8700161711e17 100644 --- a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx +++ b/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx @@ -13,10 +13,10 @@ import { mountWithIntl } from '@kbn/test-jest-helpers'; import { CONTACT_CARD_EMBEDDABLE } from '@kbn/embeddable-plugin/public/lib/test_samples/embeddables'; import { DashboardGrid } from './dashboard_grid'; -import { buildMockDashboard } from '../../../mocks'; +import { buildMockDashboardApi } from '../../../mocks'; import type { Props as DashboardGridItemProps } from './dashboard_grid_item'; import { DashboardContext } from '../../../dashboard_api/use_dashboard_api'; -import { DashboardApi } from '../../../dashboard_api/types'; +import { DashboardInternalContext } from '../../../dashboard_api/use_dashboard_internal_api'; import { DashboardPanelMap } from '../../../../common'; jest.mock('./dashboard_grid_item', () => { @@ -61,18 +61,19 @@ const PANELS = { }; const createAndMountDashboardGrid = async (panels: DashboardPanelMap = PANELS) => { - const dashboardContainer = buildMockDashboard({ + const { api, internalApi } = buildMockDashboardApi({ overrides: { panels, }, }); - await dashboardContainer.untilContainerInitialized(); const component = mountWithIntl( - - + + + + ); - return { dashboardApi: dashboardContainer, component }; + return { dashboardApi: api, component }; }; test('renders DashboardGrid', async () => { @@ -101,7 +102,8 @@ test('DashboardGrid removes panel when removed from container', async () => { test('DashboardGrid renders expanded panel', async () => { const { dashboardApi, component } = await createAndMountDashboardGrid(); - dashboardApi.setExpandedPanelId('1'); + // maximize panel + dashboardApi.expandPanel('1'); await new Promise((resolve) => setTimeout(resolve, 1)); component.update(); // Both panels should still exist in the dom, so nothing needs to be re-fetched once minimized. @@ -110,7 +112,8 @@ test('DashboardGrid renders expanded panel', async () => { expect(component.find('#mockDashboardGridItem_1').hasClass('expandedPanel')).toBe(true); expect(component.find('#mockDashboardGridItem_2').hasClass('hiddenPanel')).toBe(true); - dashboardApi.setExpandedPanelId(); + // minimize panel + dashboardApi.expandPanel('1'); await new Promise((resolve) => setTimeout(resolve, 1)); component.update(); expect(component.find('GridItem').length).toBe(2); diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx b/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx index 76a545d1ea9fc..1f5e48dd7a5df 100644 --- a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx +++ b/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx @@ -23,7 +23,8 @@ import { DashboardPanelState } from '../../../../common'; import { DashboardGridItem } from './dashboard_grid_item'; import { useDashboardGridSettings } from './use_dashboard_grid_settings'; import { useDashboardApi } from '../../../dashboard_api/use_dashboard_api'; -import { getPanelLayoutsAreEqual } from '../../state/diffing/dashboard_diffing_utils'; +import { arePanelLayoutsEqual } from '../../../dashboard_api/are_panel_layouts_equal'; +import { useDashboardInternalApi } from '../../../dashboard_api/use_dashboard_internal_api'; import { DASHBOARD_GRID_HEIGHT, DASHBOARD_MARGIN_SIZE } from '../../../dashboard_constants'; export const DashboardGrid = ({ @@ -34,14 +35,15 @@ export const DashboardGrid = ({ viewportWidth: number; }) => { const dashboardApi = useDashboardApi(); + const dashboardInternalApi = useDashboardInternalApi(); const [animatePanelTransforms, expandedPanelId, focusedPanelId, panels, useMargins, viewMode] = useBatchedPublishingSubjects( - dashboardApi.animatePanelTransforms$, + dashboardInternalApi.animatePanelTransforms$, dashboardApi.expandedPanelId, dashboardApi.focusedPanelId$, dashboardApi.panels$, - dashboardApi.useMargins$, + dashboardApi.settings.useMargins$, dashboardApi.viewMode ); @@ -116,7 +118,7 @@ export const DashboardGrid = ({ }, {} as { [key: string]: DashboardPanelState } ); - if (!getPanelLayoutsAreEqual(panels, updatedPanels)) { + if (!arePanelLayoutsEqual(panels, updatedPanels)) { dashboardApi.setPanels(updatedPanels); } }, diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx b/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx index 416448f6d8132..268c352e91ad7 100644 --- a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx +++ b/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx @@ -10,19 +10,18 @@ import React from 'react'; import { mountWithIntl } from '@kbn/test-jest-helpers'; -import { CONTACT_CARD_EMBEDDABLE } from '@kbn/embeddable-plugin/public/lib/test_samples/embeddables'; -import { buildMockDashboard } from '../../../mocks'; +import { buildMockDashboardApi } from '../../../mocks'; import { Item, Props as DashboardGridItemProps } from './dashboard_grid_item'; import { DashboardContext } from '../../../dashboard_api/use_dashboard_api'; -import { DashboardApi } from '../../../dashboard_api/types'; +import { DashboardInternalContext } from '../../../dashboard_api/use_dashboard_internal_api'; jest.mock('@kbn/embeddable-plugin/public', () => { const original = jest.requireActual('@kbn/embeddable-plugin/public'); return { ...original, - EmbeddablePanel: (props: DashboardGridItemProps) => { + ReactEmbeddableRenderer: (props: DashboardGridItemProps) => { return (
mockEmbeddablePanel @@ -32,34 +31,40 @@ jest.mock('@kbn/embeddable-plugin/public', () => { }; }); +// Value of panel type does not effect test output +// since test mocks ReactEmbeddableRenderer to render static content regardless of embeddable type +const TEST_EMBEDDABLE = 'TEST_EMBEDDABLE'; + const createAndMountDashboardGridItem = (props: DashboardGridItemProps) => { const panels = { '1': { gridData: { x: 0, y: 0, w: 6, h: 6, i: '1' }, - type: CONTACT_CARD_EMBEDDABLE, + type: TEST_EMBEDDABLE, explicitInput: { id: '1' }, }, '2': { gridData: { x: 6, y: 6, w: 6, h: 6, i: '2' }, - type: CONTACT_CARD_EMBEDDABLE, + type: TEST_EMBEDDABLE, explicitInput: { id: '2' }, }, }; - const dashboardApi = buildMockDashboard({ overrides: { panels } }) as DashboardApi; + const { api, internalApi } = buildMockDashboardApi({ overrides: { panels } }); const component = mountWithIntl( - - + + + + ); - return { dashboardApi, component }; + return { dashboardApi: api, component }; }; test('renders Item', async () => { const { component } = createAndMountDashboardGridItem({ id: '1', key: '1', - type: CONTACT_CARD_EMBEDDABLE, + type: TEST_EMBEDDABLE, }); const panelElements = component.find('.embedPanel'); expect(panelElements.length).toBe(1); @@ -75,7 +80,7 @@ test('renders expanded panel', async () => { const { component } = createAndMountDashboardGridItem({ id: '1', key: '1', - type: CONTACT_CARD_EMBEDDABLE, + type: TEST_EMBEDDABLE, expandedPanelId: '1', }); expect(component.find('#panel-1').hasClass('dshDashboardGrid__item--expanded')).toBe(true); @@ -86,7 +91,7 @@ test('renders hidden panel', async () => { const { component } = createAndMountDashboardGridItem({ id: '1', key: '1', - type: CONTACT_CARD_EMBEDDABLE, + type: TEST_EMBEDDABLE, expandedPanelId: '2', }); expect(component.find('#panel-1').hasClass('dshDashboardGrid__item--expanded')).toBe(false); @@ -97,7 +102,7 @@ test('renders focused panel', async () => { const { component } = createAndMountDashboardGridItem({ id: '1', key: '1', - type: CONTACT_CARD_EMBEDDABLE, + type: TEST_EMBEDDABLE, focusedPanelId: '1', }); @@ -109,7 +114,7 @@ test('renders blurred panel', async () => { const { component } = createAndMountDashboardGridItem({ id: '1', key: '1', - type: CONTACT_CARD_EMBEDDABLE, + type: TEST_EMBEDDABLE, focusedPanelId: '2', }); diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx b/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx index 5ad1363e6f8af..ded3cc7095407 100644 --- a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx +++ b/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx @@ -12,13 +12,14 @@ import React, { useEffect, useLayoutEffect, useMemo, useRef, useState } from 're import { EuiLoadingChart } from '@elastic/eui'; import { css } from '@emotion/react'; -import { EmbeddablePanel, ReactEmbeddableRenderer } from '@kbn/embeddable-plugin/public'; +import { ReactEmbeddableRenderer } from '@kbn/embeddable-plugin/public'; import { useBatchedPublishingSubjects } from '@kbn/presentation-publishing'; import { DASHBOARD_MARGIN_SIZE } from '../../../dashboard_constants'; +import { useDashboardInternalApi } from '../../../dashboard_api/use_dashboard_internal_api'; import { DashboardPanelState } from '../../../../common'; import { useDashboardApi } from '../../../dashboard_api/use_dashboard_api'; -import { embeddableService, presentationUtilService } from '../../../services/kibana_services'; +import { presentationUtilService } from '../../../services/kibana_services'; type DivProps = Pick, 'className' | 'style' | 'children'>; @@ -54,10 +55,11 @@ export const Item = React.forwardRef( ref ) => { const dashboardApi = useDashboardApi(); + const dashboardInternalApi = useDashboardInternalApi(); const [highlightPanelId, scrollToPanelId, useMargins, viewMode] = useBatchedPublishingSubjects( dashboardApi.highlightPanelId$, dashboardApi.scrollToPanelId$, - dashboardApi.useMargins$, + dashboardApi.settings.useMargins$, dashboardApi.viewMode ); @@ -118,29 +120,20 @@ export const Item = React.forwardRef( showShadow: false, }; - // render React embeddable - if (embeddableService.reactEmbeddableRegistryHasKey(type)) { - return ( - dashboardApi} - key={`${type}_${id}`} - panelProps={panelProps} - onApiAvailable={(api) => dashboardApi.registerChildApi(api)} - /> - ); - } - // render legacy embeddable return ( - dashboardApi.untilEmbeddableLoaded(id)} - {...panelProps} + ({ + ...dashboardApi, + reload$: dashboardInternalApi.panelsReload$, + })} + key={`${type}_${id}`} + panelProps={panelProps} + onApiAvailable={(api) => dashboardInternalApi.registerChildApi(api)} /> ); - }, [id, dashboardApi, type, index, useMargins]); + }, [id, dashboardApi, dashboardInternalApi, type, useMargins]); return (
{ @@ -43,6 +44,7 @@ export const useDebouncedWidthObserver = (skipDebounce = false, wait = 100) => { export const DashboardViewport = ({ dashboardContainer }: { dashboardContainer?: HTMLElement }) => { const dashboardApi = useDashboardApi(); + const dashboardInternalApi = useDashboardInternalApi(); const [hasControls, setHasControls] = useState(false); const [ controlGroupApi, @@ -53,7 +55,6 @@ export const DashboardViewport = ({ dashboardContainer }: { dashboardContainer?: panels, viewMode, useMargins, - uuid, fullScreenMode, ] = useBatchedPublishingSubjects( dashboardApi.controlGroupApi$, @@ -63,8 +64,7 @@ export const DashboardViewport = ({ dashboardContainer }: { dashboardContainer?: dashboardApi.focusedPanelId$, dashboardApi.panels$, dashboardApi.viewMode, - dashboardApi.useMargins$, - dashboardApi.uuid$, + dashboardApi.settings.useMargins$, dashboardApi.fullScreenMode$ ); const onExit = useCallback(() => { @@ -126,7 +126,7 @@ export const DashboardViewport = ({ dashboardContainer }: { dashboardContainer?: ControlGroupRuntimeState, ControlGroupApi > - key={uuid} + key={dashboardApi.uuid} hidePanelChrome={true} panelProps={{ hideLoader: true }} type={CONTROL_GROUP_TYPE} @@ -134,11 +134,12 @@ export const DashboardViewport = ({ dashboardContainer }: { dashboardContainer?: getParentApi={() => { return { ...dashboardApi, - getSerializedStateForChild: dashboardApi.getSerializedStateForControlGroup, - getRuntimeStateForChild: dashboardApi.getRuntimeStateForControlGroup, + reload$: dashboardInternalApi.controlGroupReload$, + getSerializedStateForChild: dashboardInternalApi.getSerializedStateForControlGroup, + getRuntimeStateForChild: dashboardInternalApi.getRuntimeStateForControlGroup, }; }} - onApiAvailable={(api) => dashboardApi.setControlGroupApi(api)} + onApiAvailable={(api) => dashboardInternalApi.setControlGroupApi(api)} />
) : null} diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts index f5e76cff53b08..70122182305ca 100644 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts +++ b/src/plugins/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts @@ -7,16 +7,15 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { isErrorEmbeddable, openAddFromLibraryFlyout } from '@kbn/embeddable-plugin/public'; -import { DashboardContainer } from '../dashboard_container'; +import { openAddFromLibraryFlyout } from '@kbn/embeddable-plugin/public'; +import { DashboardApi } from '../../../dashboard_api/types'; -export function addFromLibrary(this: DashboardContainer) { - if (isErrorEmbeddable(this)) return; - this.openOverlay( +export function addFromLibrary(dashboardApi: DashboardApi) { + dashboardApi.openOverlay( openAddFromLibraryFlyout({ - container: this, + container: dashboardApi, onClose: () => { - this.clearOverlays(); + dashboardApi.clearOverlays(); }, }) ); diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/duplicate_dashboard_panel.test.tsx b/src/plugins/dashboard/public/dashboard_container/embeddable/api/duplicate_dashboard_panel.test.tsx deleted file mode 100644 index 47732d52ad40c..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/api/duplicate_dashboard_panel.test.tsx +++ /dev/null @@ -1,330 +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 { CoreStart } from '@kbn/core/public'; -import { coreMock } from '@kbn/core/public/mocks'; -import { - isErrorEmbeddable, - ReactEmbeddableFactory, - ReferenceOrValueEmbeddable, -} from '@kbn/embeddable-plugin/public'; -import { - CONTACT_CARD_EMBEDDABLE, - ContactCardEmbeddable, - ContactCardEmbeddableFactory, - ContactCardEmbeddableInput, - ContactCardEmbeddableOutput, -} from '@kbn/embeddable-plugin/public/lib/test_samples/embeddables'; -import { embeddablePluginMock } from '@kbn/embeddable-plugin/public/mocks'; -import { - DefaultEmbeddableApi, - ReactEmbeddableRenderer, - registerReactEmbeddableFactory, -} from '@kbn/embeddable-plugin/public/react_embeddable_system'; -import { BuildReactEmbeddableApiRegistration } from '@kbn/embeddable-plugin/public/react_embeddable_system/types'; -import { HasSnapshottableState, SerializedPanelState } from '@kbn/presentation-containers'; -import { HasInPlaceLibraryTransforms, HasLibraryTransforms } from '@kbn/presentation-publishing'; -import { render } from '@testing-library/react'; -import React from 'react'; -import { BehaviorSubject, lastValueFrom, Subject } from 'rxjs'; -import { buildMockDashboard, getSampleDashboardPanel } from '../../../mocks'; -import { embeddableService } from '../../../services/kibana_services'; -import { DashboardContainer } from '../dashboard_container'; -import { duplicateDashboardPanel, incrementPanelTitle } from './duplicate_dashboard_panel'; - -describe('Legacy embeddables', () => { - let container: DashboardContainer; - let genericEmbeddable: ContactCardEmbeddable; - let byRefOrValEmbeddable: ContactCardEmbeddable & ReferenceOrValueEmbeddable; - let coreStart: CoreStart; - beforeEach(async () => { - coreStart = coreMock.createStart(); - coreStart.savedObjects.client = { - ...coreStart.savedObjects.client, - get: jest.fn().mockImplementation(() => ({ attributes: { title: 'Holy moly' } })), - find: jest.fn().mockImplementation(() => ({ total: 15 })), - create: jest.fn().mockImplementation(() => ({ id: 'brandNewSavedObject' })), - }; - - const mockEmbeddableFactory = new ContactCardEmbeddableFactory((() => null) as any, {} as any); - - embeddableService.getEmbeddableFactory = jest.fn().mockReturnValue(mockEmbeddableFactory); - container = buildMockDashboard({ - overrides: { - panels: { - '123': getSampleDashboardPanel({ - explicitInput: { firstName: 'Kibanana', id: '123' }, - type: CONTACT_CARD_EMBEDDABLE, - }), - }, - }, - }); - - const refOrValContactCardEmbeddable = await container.addNewEmbeddable< - ContactCardEmbeddableInput, - ContactCardEmbeddableOutput, - ContactCardEmbeddable - >(CONTACT_CARD_EMBEDDABLE, { - firstName: 'RefOrValEmbeddable', - }); - - const nonRefOrValueContactCard = await container.addNewEmbeddable< - ContactCardEmbeddableInput, - ContactCardEmbeddableOutput, - ContactCardEmbeddable - >(CONTACT_CARD_EMBEDDABLE, { - firstName: 'Not a refOrValEmbeddable', - }); - - if ( - isErrorEmbeddable(refOrValContactCardEmbeddable) || - isErrorEmbeddable(nonRefOrValueContactCard) - ) { - throw new Error('Failed to create embeddables'); - } else { - genericEmbeddable = nonRefOrValueContactCard; - byRefOrValEmbeddable = embeddablePluginMock.mockRefOrValEmbeddable< - ContactCardEmbeddable, - ContactCardEmbeddableInput - >(refOrValContactCardEmbeddable, { - mockedByReferenceInput: { - savedObjectId: 'testSavedObjectId', - id: refOrValContactCardEmbeddable.id, - }, - mockedByValueInput: { - firstName: 'RefOrValEmbeddable', - id: refOrValContactCardEmbeddable.id, - }, - }); - jest.spyOn(byRefOrValEmbeddable, 'getInputAsValueType'); - } - }); - test('Duplication adds a new embeddable', async () => { - const originalPanelCount = Object.keys(container.getInput().panels).length; - const originalPanelKeySet = new Set(Object.keys(container.getInput().panels)); - await duplicateDashboardPanel.bind(container)(byRefOrValEmbeddable.id); - - expect(Object.keys(container.getInput().panels).length).toEqual(originalPanelCount + 1); - const newPanelId = Object.keys(container.getInput().panels).find( - (key) => !originalPanelKeySet.has(key) - ); - expect(newPanelId).toBeDefined(); - const newPanel = container.getInput().panels[newPanelId!]; - expect(newPanel.type).toEqual(byRefOrValEmbeddable.type); - }); - - test('Duplicates a RefOrVal embeddable by value', async () => { - const originalPanelKeySet = new Set(Object.keys(container.getInput().panels)); - await duplicateDashboardPanel.bind(container)(byRefOrValEmbeddable.id); - const newPanelId = Object.keys(container.getInput().panels).find( - (key) => !originalPanelKeySet.has(key) - ); - - const originalFirstName = ( - container.getInput().panels[byRefOrValEmbeddable.id] - .explicitInput as ContactCardEmbeddableInput - ).firstName; - - const newFirstName = ( - container.getInput().panels[newPanelId!].explicitInput as ContactCardEmbeddableInput - ).firstName; - - expect(byRefOrValEmbeddable.getInputAsValueType).toHaveBeenCalled(); - - expect(originalFirstName).toEqual(newFirstName); - expect(container.getInput().panels[newPanelId!].type).toEqual(byRefOrValEmbeddable.type); - }); - - test('Duplicates a non RefOrVal embeddable by value', async () => { - const originalPanelKeySet = new Set(Object.keys(container.getInput().panels)); - await duplicateDashboardPanel.bind(container)(genericEmbeddable.id); - const newPanelId = Object.keys(container.getInput().panels).find( - (key) => !originalPanelKeySet.has(key) - ); - - const originalFirstName = ( - container.getInput().panels[genericEmbeddable.id].explicitInput as ContactCardEmbeddableInput - ).firstName; - - const newFirstName = ( - container.getInput().panels[newPanelId!].explicitInput as ContactCardEmbeddableInput - ).firstName; - - expect(originalFirstName).toEqual(newFirstName); - expect(container.getInput().panels[newPanelId!].type).toEqual(genericEmbeddable.type); - }); - - test('Gets a unique title from the dashboard', async () => { - expect(await incrementPanelTitle(container, '')).toEqual(''); - - container.getPanelTitles = jest.fn().mockImplementation(() => { - return ['testDuplicateTitle', 'testDuplicateTitle (copy)', 'testUniqueTitle']; - }); - expect(await incrementPanelTitle(container, 'testUniqueTitle')).toEqual( - 'testUniqueTitle (copy)' - ); - expect(await incrementPanelTitle(container, 'testDuplicateTitle')).toEqual( - 'testDuplicateTitle (copy 1)' - ); - - container.getPanelTitles = jest.fn().mockImplementation(() => { - return ['testDuplicateTitle', 'testDuplicateTitle (copy)'].concat( - Array.from([...Array(39)], (_, index) => `testDuplicateTitle (copy ${index + 1})`) - ); - }); - expect(await incrementPanelTitle(container, 'testDuplicateTitle')).toEqual( - 'testDuplicateTitle (copy 40)' - ); - expect(await incrementPanelTitle(container, 'testDuplicateTitle (copy 100)')).toEqual( - 'testDuplicateTitle (copy 40)' - ); - - container.getPanelTitles = jest.fn().mockImplementation(() => { - return ['testDuplicateTitle (copy 100)']; - }); - expect(await incrementPanelTitle(container, 'testDuplicateTitle')).toEqual( - 'testDuplicateTitle (copy 101)' - ); - expect(await incrementPanelTitle(container, 'testDuplicateTitle (copy 100)')).toEqual( - 'testDuplicateTitle (copy 101)' - ); - }); -}); - -describe('React embeddables', () => { - const testId = '1234'; - const buildDashboardWithReactEmbeddable = async ( - testType: string, - mockApi: BuildReactEmbeddableApiRegistration<{}, {}, Api> - ) => { - const fullApi$ = new Subject>(); - const reactEmbeddableFactory: ReactEmbeddableFactory<{}, {}, Api> = { - type: testType, - deserializeState: jest.fn().mockImplementation((state) => state.rawState), - buildEmbeddable: async (state, registerApi) => { - const fullApi = registerApi( - { - ...mockApi, - }, - {} - ); - return { - Component: () =>
TEST DUPLICATE
, - api: fullApi, - }; - }, - }; - registerReactEmbeddableFactory(testType, async () => reactEmbeddableFactory); - const dashboard = buildMockDashboard({ - overrides: { - panels: { - [testId]: getSampleDashboardPanel({ - explicitInput: { id: testId }, - type: testType, - }), - }, - }, - }); - - // render a fake Dashboard to initialize react embeddables - const FakeDashboard = () => { - return ( -
- {Object.keys(dashboard.getInput().panels).map((panelId) => { - const panel = dashboard.getInput().panels[panelId]; - return ( -
- { - fullApi$.next(api as Api & HasSnapshottableState<{}>); - fullApi$.complete(); - dashboard.children$.next({ [panelId]: api }); - }} - getParentApi={() => ({ - getSerializedStateForChild: () => - panel.explicitInput as unknown as SerializedPanelState | undefined, - })} - /> - - ); - })} - - ); - }; - render(); - - return { dashboard, apiPromise: lastValueFrom(fullApi$) }; - }; - - it('Duplicates child without library transforms', async () => { - const mockApi = { - serializeState: jest.fn().mockImplementation(() => ({ rawState: {} })), - }; - const { dashboard, apiPromise } = await buildDashboardWithReactEmbeddable( - 'byValueOnly', - mockApi - ); - const api = await apiPromise; - - const snapshotSpy = jest.spyOn(api, 'snapshotRuntimeState'); - - await duplicateDashboardPanel.bind(dashboard)(testId); - - expect(snapshotSpy).toHaveBeenCalled(); - expect(Object.keys(dashboard.getInput().panels).length).toBe(2); - }); - - it('Duplicates child with library transforms', async () => { - const libraryTransformsMockApi: BuildReactEmbeddableApiRegistration< - {}, - {}, - DefaultEmbeddableApi & HasLibraryTransforms - > = { - serializeState: jest.fn().mockImplementation(() => ({ rawState: {} })), - saveToLibrary: jest.fn(), - getByReferenceState: jest.fn(), - getByValueState: jest.fn(), - canLinkToLibrary: jest.fn(), - canUnlinkFromLibrary: jest.fn(), - checkForDuplicateTitle: jest.fn(), - }; - const { dashboard, apiPromise } = await buildDashboardWithReactEmbeddable( - 'libraryTransforms', - libraryTransformsMockApi - ); - await apiPromise; - - await duplicateDashboardPanel.bind(dashboard)(testId); - expect(libraryTransformsMockApi.getByValueState).toHaveBeenCalled(); - }); - - it('Duplicates a child with in place library transforms', async () => { - const inPlaceLibraryTransformsMockApi: BuildReactEmbeddableApiRegistration< - {}, - {}, - DefaultEmbeddableApi & HasInPlaceLibraryTransforms - > = { - unlinkFromLibrary: jest.fn(), - saveToLibrary: jest.fn(), - checkForDuplicateTitle: jest.fn(), - libraryId$: new BehaviorSubject(''), - getByValueRuntimeSnapshot: jest.fn(), - serializeState: jest.fn().mockImplementation(() => ({ rawState: {} })), - }; - const { dashboard, apiPromise } = await buildDashboardWithReactEmbeddable( - 'inPlaceLibraryTransforms', - inPlaceLibraryTransformsMockApi - ); - await apiPromise; - - await duplicateDashboardPanel.bind(dashboard)(testId); - expect(inPlaceLibraryTransformsMockApi.getByValueRuntimeSnapshot).toHaveBeenCalled(); - }); -}); diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/duplicate_dashboard_panel.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/api/duplicate_dashboard_panel.ts deleted file mode 100644 index d62bb78b3b645..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/api/duplicate_dashboard_panel.ts +++ /dev/null @@ -1,165 +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 { filter, map, max } from 'lodash'; -import { v4 as uuidv4 } from 'uuid'; - -import { isReferenceOrValueEmbeddable, PanelNotFoundError } from '@kbn/embeddable-plugin/public'; -import { apiHasSnapshottableState } from '@kbn/presentation-containers/interfaces/serialized_state'; -import { - apiHasInPlaceLibraryTransforms, - apiHasLibraryTransforms, - apiPublishesPanelTitle, - getPanelTitle, - stateHasTitles, -} from '@kbn/presentation-publishing'; - -import { DashboardPanelState, prefixReferencesFromPanel } from '../../../../common'; -import { dashboardClonePanelActionStrings } from '../../../dashboard_actions/_dashboard_actions_strings'; -import { coreServices, embeddableService } from '../../../services/kibana_services'; -import { placeClonePanel } from '../../panel_placement'; -import { DashboardContainer } from '../dashboard_container'; - -const duplicateLegacyInput = async ( - dashboard: DashboardContainer, - panelToClone: DashboardPanelState, - idToDuplicate: string -) => { - const embeddable = dashboard.getChild(idToDuplicate); - if (!panelToClone || !embeddable) throw new PanelNotFoundError(); - - const newTitle = await incrementPanelTitle(dashboard, embeddable.getTitle() || ''); - const id = uuidv4(); - if (isReferenceOrValueEmbeddable(embeddable)) { - return { - type: embeddable.type, - explicitInput: { - ...(await embeddable.getInputAsValueType()), - hidePanelTitles: panelToClone.explicitInput.hidePanelTitles, - ...(newTitle ? { title: newTitle } : {}), - id, - }, - }; - } - return { - type: embeddable.type, - explicitInput: { - ...panelToClone.explicitInput, - title: newTitle, - id, - }, - }; -}; - -const duplicateReactEmbeddableInput = async ( - dashboard: DashboardContainer, - panelToClone: DashboardPanelState, - idToDuplicate: string -) => { - const id = uuidv4(); - const child = dashboard.children$.value[idToDuplicate]; - const lastTitle = apiPublishesPanelTitle(child) ? getPanelTitle(child) ?? '' : ''; - const newTitle = await incrementPanelTitle(dashboard, lastTitle); - - /** - * For react embeddables that have library transforms, we need to ensure - * to clone them with serialized state and references. - * - * TODO: remove this section once all by reference capable react embeddables - * use in-place library transforms - */ - if (apiHasLibraryTransforms(child)) { - const byValueSerializedState = await child.getByValueState(); - if (panelToClone.references) { - dashboard.savedObjectReferences.push( - ...prefixReferencesFromPanel(id, panelToClone.references) - ); - } - return { - type: panelToClone.type, - explicitInput: { - ...byValueSerializedState, - title: newTitle, - id, - }, - }; - } - - const runtimeSnapshot = (() => { - if (apiHasInPlaceLibraryTransforms(child)) return child.getByValueRuntimeSnapshot(); - return apiHasSnapshottableState(child) ? child.snapshotRuntimeState() : {}; - })(); - if (stateHasTitles(runtimeSnapshot)) runtimeSnapshot.title = newTitle; - - dashboard.setRuntimeStateForChild(id, runtimeSnapshot); - return { - type: panelToClone.type, - explicitInput: { - id, - }, - }; -}; - -export async function duplicateDashboardPanel(this: DashboardContainer, idToDuplicate: string) { - const panelToClone = await this.getDashboardPanelFromId(idToDuplicate); - - const duplicatedPanelState = embeddableService.reactEmbeddableRegistryHasKey(panelToClone.type) - ? await duplicateReactEmbeddableInput(this, panelToClone, idToDuplicate) - : await duplicateLegacyInput(this, panelToClone, idToDuplicate); - - coreServices.notifications.toasts.addSuccess({ - title: dashboardClonePanelActionStrings.getSuccessMessage(), - 'data-test-subj': 'addObjectToContainerSuccess', - }); - - const { newPanelPlacement, otherPanels } = placeClonePanel({ - width: panelToClone.gridData.w, - height: panelToClone.gridData.h, - currentPanels: this.getInput().panels, - placeBesideId: panelToClone.explicitInput.id, - }); - - const newPanel = { - ...duplicatedPanelState, - gridData: { - ...newPanelPlacement, - i: duplicatedPanelState.explicitInput.id, - }, - }; - - this.updateInput({ - panels: { - ...otherPanels, - [newPanel.explicitInput.id]: newPanel, - }, - }); -} - -export const incrementPanelTitle = async (dashboard: DashboardContainer, rawTitle: string) => { - if (rawTitle === '') return ''; - - const clonedTag = dashboardClonePanelActionStrings.getClonedTag(); - const cloneRegex = new RegExp(`\\(${clonedTag}\\)`, 'g'); - const cloneNumberRegex = new RegExp(`\\(${clonedTag} [0-9]+\\)`, 'g'); - const baseTitle = rawTitle.replace(cloneNumberRegex, '').replace(cloneRegex, '').trim(); - const similarTitles = filter(await dashboard.getPanelTitles(), (title: string) => { - return title.startsWith(baseTitle); - }); - - const cloneNumbers = map(similarTitles, (title: string) => { - if (title.match(cloneRegex)) return 0; - const cloneTag = title.match(cloneNumberRegex); - return cloneTag ? parseInt(cloneTag[0].replace(/[^0-9.]/g, ''), 10) : -1; - }); - const similarBaseTitlesCount = max(cloneNumbers) || 0; - - return similarBaseTitlesCount < 0 - ? baseTitle + ` (${clonedTag})` - : baseTitle + ` (${clonedTag} ${similarBaseTitlesCount + 1})`; -}; diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/index.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/api/index.ts index 4829a7b61318e..e8f10192a0e8b 100644 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/api/index.ts +++ b/src/plugins/dashboard/public/dashboard_container/embeddable/api/index.ts @@ -9,5 +9,3 @@ export { openSettingsFlyout } from './open_settings_flyout'; export { addFromLibrary } from './add_panel_from_library'; -export { addOrUpdateEmbeddable } from './panel_management'; -export { runQuickSave, runInteractiveSave } from './run_save_functions'; diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/panel_management.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/api/panel_management.ts deleted file mode 100644 index c8a909b682215..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/api/panel_management.ts +++ /dev/null @@ -1,40 +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 { EmbeddableInput, EmbeddableOutput, IEmbeddable } from '@kbn/embeddable-plugin/public'; -import { DashboardContainer } from '../dashboard_container'; - -export async function addOrUpdateEmbeddable< - EEI extends EmbeddableInput = EmbeddableInput, - EEO extends EmbeddableOutput = EmbeddableOutput, - E extends IEmbeddable = IEmbeddable ->(this: DashboardContainer, type: string, explicitInput: Partial, embeddableId?: string) { - const idToReplace = embeddableId || explicitInput.id; - if (idToReplace && this.input.panels[idToReplace]) { - const previousPanelState = this.input.panels[idToReplace]; - const newPanelState = { - type, - explicitInput: { - ...explicitInput, - id: idToReplace, - }, - }; - const panelId = await this.replaceEmbeddable( - previousPanelState.explicitInput.id, - { - ...newPanelState.explicitInput, - id: previousPanelState.explicitInput.id, - }, - newPanelState.type, - true - ); - return panelId; - } - return this.addNewEmbeddable(type, explicitInput); -} diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/run_save_functions.tsx b/src/plugins/dashboard/public/dashboard_container/embeddable/api/run_save_functions.tsx deleted file mode 100644 index e5355bdb2988c..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/api/run_save_functions.tsx +++ /dev/null @@ -1,334 +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 { cloneDeep } from 'lodash'; -import React from 'react'; -import { batch } from 'react-redux'; - -import type { Reference } from '@kbn/content-management-utils'; -import { reportPerformanceMetricEvent } from '@kbn/ebt-tools'; -import { - EmbeddableInput, - isReferenceOrValueEmbeddable, - ViewMode, -} from '@kbn/embeddable-plugin/public'; -import { i18n } from '@kbn/i18n'; -import { apiHasSerializableState, SerializedPanelState } from '@kbn/presentation-containers'; -import { showSaveModal } from '@kbn/saved-objects-plugin/public'; - -import { - DashboardContainerInput, - DashboardPanelMap, - prefixReferencesFromPanel, -} from '../../../../common'; -import type { DashboardAttributes } from '../../../../server/content_management'; -import { DASHBOARD_CONTENT_ID, SAVED_OBJECT_POST_TIME } from '../../../dashboard_constants'; -import { - SaveDashboardReturn, - SavedDashboardInput, -} from '../../../services/dashboard_content_management_service/types'; -import { getDashboardContentManagementService } from '../../../services/dashboard_content_management_service'; -import { - coreServices, - dataService, - embeddableService, - savedObjectsTaggingService, -} from '../../../services/kibana_services'; -import { DashboardSaveOptions, DashboardStateFromSaveModal } from '../../types'; -import { DashboardContainer } from '../dashboard_container'; -import { extractTitleAndCount } from './lib/extract_title_and_count'; -import { DashboardSaveModal } from './overlays/save_modal'; - -const serializeAllPanelState = async ( - dashboard: DashboardContainer -): Promise<{ panels: DashboardContainerInput['panels']; references: Reference[] }> => { - const references: Reference[] = []; - const panels = cloneDeep(dashboard.getInput().panels); - - const serializePromises: Array< - Promise<{ uuid: string; serialized: SerializedPanelState }> - > = []; - for (const [uuid, panel] of Object.entries(panels)) { - if (!embeddableService.reactEmbeddableRegistryHasKey(panel.type)) continue; - const api = dashboard.children$.value[uuid]; - - if (api && apiHasSerializableState(api)) { - serializePromises.push( - (async () => { - const serialized = await api.serializeState(); - return { uuid, serialized }; - })() - ); - } - } - - const serializeResults = await Promise.all(serializePromises); - for (const result of serializeResults) { - panels[result.uuid].explicitInput = { ...result.serialized.rawState, id: result.uuid }; - references.push(...prefixReferencesFromPanel(result.uuid, result.serialized.references ?? [])); - } - - return { panels, references }; -}; - -/** - * Save the current state of this dashboard to a saved object without showing any save modal. - */ -export async function runQuickSave(this: DashboardContainer) { - const { explicitInput: currentState } = this.getState(); - - const lastSavedId = this.savedObjectId.value; - - if (this.managed$.value) return; - - const { panels: nextPanels, references } = await serializeAllPanelState(this); - const dashboardStateToSave: DashboardContainerInput = { ...currentState, panels: nextPanels }; - let stateToSave: SavedDashboardInput = dashboardStateToSave; - const controlGroupApi = this.controlGroupApi$.value; - let controlGroupReferences: Reference[] | undefined; - if (controlGroupApi) { - const { rawState: controlGroupSerializedState, references: extractedReferences } = - await controlGroupApi.serializeState(); - controlGroupReferences = extractedReferences; - stateToSave = { - ...stateToSave, - controlGroupInput: - controlGroupSerializedState as unknown as DashboardAttributes['controlGroupInput'], - }; - } - - const saveResult = await getDashboardContentManagementService().saveDashboardState({ - controlGroupReferences, - panelReferences: references, - currentState: stateToSave, - saveOptions: {}, - lastSavedId, - }); - - this.savedObjectReferences = saveResult.references ?? []; - this.setLastSavedInput(dashboardStateToSave); - this.saveNotification$.next(); - - return saveResult; -} - -/** - * @description exclusively for user directed dashboard save actions, also - * accounts for scenarios of cloning elastic managed dashboard into user managed dashboards - */ -export async function runInteractiveSave(this: DashboardContainer, interactionMode: ViewMode) { - const { explicitInput: currentState } = this.getState(); - const dashboardContentManagementService = getDashboardContentManagementService(); - const lastSavedId = this.savedObjectId.value; - const managed = this.managed$.value; - - return new Promise((resolve, reject) => { - if (interactionMode === ViewMode.EDIT && managed) { - resolve(undefined); - } - - const onSaveAttempt = async ({ - newTags, - newTitle, - newDescription, - newCopyOnSave, - newTimeRestore, - onTitleDuplicate, - isTitleDuplicateConfirmed, - }: DashboardSaveOptions): Promise => { - const saveOptions = { - confirmOverwrite: false, - isTitleDuplicateConfirmed, - onTitleDuplicate, - saveAsCopy: lastSavedId ? true : newCopyOnSave, - }; - - try { - if ( - !(await dashboardContentManagementService.checkForDuplicateDashboardTitle({ - title: newTitle, - onTitleDuplicate, - lastSavedTitle: currentState.title, - copyOnSave: saveOptions.saveAsCopy, - isTitleDuplicateConfirmed, - })) - ) { - return {}; - } - - const stateFromSaveModal: DashboardStateFromSaveModal = { - title: newTitle, - tags: [] as string[], - description: newDescription, - timeRestore: newTimeRestore, - timeRange: newTimeRestore ? dataService.query.timefilter.timefilter.getTime() : undefined, - refreshInterval: newTimeRestore - ? dataService.query.timefilter.timefilter.getRefreshInterval() - : undefined, - }; - - if (savedObjectsTaggingService && newTags) { - // remove `hasSavedObjectsTagging` once the savedObjectsTagging service is optional - stateFromSaveModal.tags = newTags; - } - - let dashboardStateToSave: SavedDashboardInput = { - ...currentState, - ...stateFromSaveModal, - }; - - const controlGroupApi = this.controlGroupApi$.value; - let controlGroupReferences: Reference[] | undefined; - if (controlGroupApi) { - const { rawState: controlGroupSerializedState, references } = - await controlGroupApi.serializeState(); - controlGroupReferences = references; - dashboardStateToSave = { - ...dashboardStateToSave, - controlGroupInput: - controlGroupSerializedState as unknown as DashboardAttributes['controlGroupInput'], - }; - } - - const { panels: nextPanels, references } = await serializeAllPanelState(this); - - const newPanels = await (async () => { - if (!managed) return nextPanels; - - // this is a managed dashboard - unlink all by reference embeddables on clone - const unlinkedPanels: DashboardPanelMap = {}; - for (const [panelId, panel] of Object.entries(nextPanels)) { - const child = this.getChild(panelId); - if ( - child && - isReferenceOrValueEmbeddable(child) && - child.inputIsRefType(child.getInput() as EmbeddableInput) - ) { - const valueTypeInput = await child.getInputAsValueType(); - unlinkedPanels[panelId] = { - ...panel, - explicitInput: valueTypeInput, - }; - continue; - } - unlinkedPanels[panelId] = panel; - } - return unlinkedPanels; - })(); - - const beforeAddTime = window.performance.now(); - - const saveResult = await dashboardContentManagementService.saveDashboardState({ - controlGroupReferences, - panelReferences: references, - saveOptions, - currentState: { - ...dashboardStateToSave, - panels: newPanels, - title: newTitle, - }, - lastSavedId, - }); - - const addDuration = window.performance.now() - beforeAddTime; - - reportPerformanceMetricEvent(coreServices.analytics, { - eventName: SAVED_OBJECT_POST_TIME, - duration: addDuration, - meta: { - saved_object_type: DASHBOARD_CONTENT_ID, - }, - }); - - if (saveResult.id) { - batch(() => { - this.dispatch.setStateFromSaveModal(stateFromSaveModal); - this.setSavedObjectId(saveResult.id); - this.setLastSavedInput(dashboardStateToSave); - }); - } - - this.savedObjectReferences = saveResult.references ?? []; - this.saveNotification$.next(); - - resolve(saveResult); - - return saveResult; - } catch (error) { - reject(error); - return error; - } - }; - - (async () => { - try { - let customModalTitle; - let newTitle = currentState.title; - - if (lastSavedId) { - const [baseTitle, baseCount] = extractTitleAndCount(newTitle); - - newTitle = `${baseTitle} (${baseCount + 1})`; - - await dashboardContentManagementService.checkForDuplicateDashboardTitle({ - title: newTitle, - lastSavedTitle: currentState.title, - copyOnSave: true, - isTitleDuplicateConfirmed: false, - onTitleDuplicate(speculativeSuggestion) { - newTitle = speculativeSuggestion; - }, - }); - - switch (interactionMode) { - case ViewMode.EDIT: { - customModalTitle = i18n.translate( - 'dashboard.topNav.editModeInteractiveSave.modalTitle', - { - defaultMessage: 'Save as new dashboard', - } - ); - break; - } - case ViewMode.VIEW: { - customModalTitle = i18n.translate( - 'dashboard.topNav.viewModeInteractiveSave.modalTitle', - { - defaultMessage: 'Duplicate dashboard', - } - ); - break; - } - default: { - customModalTitle = undefined; - } - } - } - - const dashboardDuplicateModal = ( - resolve(undefined)} - timeRestore={currentState.timeRestore} - showStoreTimeOnSave={!lastSavedId} - description={currentState.description ?? ''} - showCopyOnSave={false} - onSave={onSaveAttempt} - customModalTitle={customModalTitle} - /> - ); - this.clearOverlays(); - showSaveModal(dashboardDuplicateModal); - } catch (error) { - reject(error); - } - })(); - }); -} diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/controls/dashboard_control_group_integration.test.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/create/controls/dashboard_control_group_integration.test.ts deleted file mode 100644 index 3a18acd242e4f..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/create/controls/dashboard_control_group_integration.test.ts +++ /dev/null @@ -1,88 +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 { Filter } from '@kbn/es-query'; -import { combineDashboardFiltersWithControlGroupFilters } from './dashboard_control_group_integration'; -import { BehaviorSubject } from 'rxjs'; - -const testFilter1: Filter = { - meta: { - key: 'testfield', - alias: null, - disabled: false, - negate: false, - }, - query: { match_phrase: { testfield: 'hello' } }, -}; - -const testFilter2: Filter = { - meta: { - key: 'testfield', - alias: null, - disabled: false, - negate: false, - }, - query: { match_phrase: { testfield: 'guten tag' } }, -}; - -const testFilter3: Filter = { - meta: { - key: 'testfield', - alias: null, - disabled: false, - negate: false, - }, - query: { - bool: { - should: { - 0: { match_phrase: { testfield: 'hola' } }, - 1: { match_phrase: { testfield: 'bonjour' } }, - }, - }, - }, -}; - -describe('combineDashboardFiltersWithControlGroupFilters', () => { - it('Combined filter pills do not get overwritten', async () => { - const dashboardFilterPills = [testFilter1, testFilter2]; - const mockControlGroupApi = { - filters$: new BehaviorSubject([]), - }; - const combinedFilters = combineDashboardFiltersWithControlGroupFilters( - dashboardFilterPills, - mockControlGroupApi - ); - expect(combinedFilters).toEqual(dashboardFilterPills); - }); - - it('Combined control filters do not get overwritten', async () => { - const controlGroupFilters = [testFilter1, testFilter2]; - const mockControlGroupApi = { - filters$: new BehaviorSubject(controlGroupFilters), - }; - const combinedFilters = combineDashboardFiltersWithControlGroupFilters( - [] as Filter[], - mockControlGroupApi - ); - expect(combinedFilters).toEqual(controlGroupFilters); - }); - - it('Combined dashboard filter pills and control filters do not get overwritten', async () => { - const dashboardFilterPills = [testFilter1, testFilter2]; - const controlGroupFilters = [testFilter3]; - const mockControlGroupApi = { - filters$: new BehaviorSubject(controlGroupFilters), - }; - const combinedFilters = combineDashboardFiltersWithControlGroupFilters( - dashboardFilterPills, - mockControlGroupApi - ); - expect(combinedFilters).toEqual(dashboardFilterPills.concat(controlGroupFilters)); - }); -}); diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/controls/dashboard_control_group_integration.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/create/controls/dashboard_control_group_integration.ts deleted file mode 100644 index 299b8111e37e5..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/create/controls/dashboard_control_group_integration.ts +++ /dev/null @@ -1,101 +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 { COMPARE_ALL_OPTIONS, compareFilters, type Filter } from '@kbn/es-query'; -import { - BehaviorSubject, - combineLatest, - distinctUntilChanged, - map, - of, - skip, - startWith, - switchMap, -} from 'rxjs'; -import { PublishesFilters, PublishingSubject } from '@kbn/presentation-publishing'; -import { DashboardContainer } from '../../dashboard_container'; - -export function startSyncingDashboardControlGroup(dashboard: DashboardContainer) { - const controlGroupFilters$ = dashboard.controlGroupApi$.pipe( - switchMap((controlGroupApi) => (controlGroupApi ? controlGroupApi.filters$ : of(undefined))) - ); - const controlGroupTimeslice$ = dashboard.controlGroupApi$.pipe( - switchMap((controlGroupApi) => (controlGroupApi ? controlGroupApi.timeslice$ : of(undefined))) - ); - - // -------------------------------------------------------------------------------------- - // dashboard.unifiedSearchFilters$ - // -------------------------------------------------------------------------------------- - const unifiedSearchFilters$ = new BehaviorSubject( - dashboard.getInput().filters - ); - dashboard.unifiedSearchFilters$ = unifiedSearchFilters$ as PublishingSubject< - Filter[] | undefined - >; - dashboard.publishingSubscription.add( - dashboard - .getInput$() - .pipe( - startWith(dashboard.getInput()), - map((input) => input.filters), - distinctUntilChanged((previous, current) => { - return compareFilters(previous ?? [], current ?? [], COMPARE_ALL_OPTIONS); - }) - ) - .subscribe((unifiedSearchFilters) => { - unifiedSearchFilters$.next(unifiedSearchFilters); - }) - ); - - // -------------------------------------------------------------------------------------- - // Set dashboard.filters$ to include unified search filters and control group filters - // -------------------------------------------------------------------------------------- - function getCombinedFilters() { - return combineDashboardFiltersWithControlGroupFilters( - dashboard.getInput().filters ?? [], - dashboard.controlGroupApi$.value - ); - } - - const filters$ = new BehaviorSubject(getCombinedFilters()); - dashboard.filters$ = filters$; - - dashboard.publishingSubscription.add( - combineLatest([dashboard.unifiedSearchFilters$, controlGroupFilters$]).subscribe(() => { - filters$.next(getCombinedFilters()); - }) - ); - - // -------------------------------------------------------------------------------------- - // when control group outputs filters, force a refresh! - // -------------------------------------------------------------------------------------- - dashboard.publishingSubscription.add( - controlGroupFilters$ - .pipe( - skip(1) // skip first filter output because it will have been applied in initialize - ) - .subscribe(() => dashboard.forceRefresh(false)) // we should not reload the control group when the control group output changes - otherwise, performance is severely impacted - ); - - // -------------------------------------------------------------------------------------- - // when control group outputs timeslice, dispatch timeslice - // -------------------------------------------------------------------------------------- - dashboard.publishingSubscription.add( - controlGroupTimeslice$.subscribe((timeslice) => { - dashboard.dispatch.setTimeslice(timeslice); - }) - ); -} - -export const combineDashboardFiltersWithControlGroupFilters = ( - dashboardFilters: Filter[], - controlGroupApi?: PublishesFilters -): Filter[] => { - return [...dashboardFilters, ...(controlGroupApi?.filters$.value ?? [])]; -}; diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.test.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.test.ts deleted file mode 100644 index ddcdeff25ea4e..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.test.ts +++ /dev/null @@ -1,521 +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 { EmbeddablePackageState, ViewMode } from '@kbn/embeddable-plugin/public'; -import { - CONTACT_CARD_EMBEDDABLE, - ContactCardEmbeddable, - ContactCardEmbeddableFactory, - ContactCardEmbeddableInput, - ContactCardEmbeddableOutput, -} from '@kbn/embeddable-plugin/public/lib/test_samples'; -import { Filter } from '@kbn/es-query'; -import { createKbnUrlStateStorage } from '@kbn/kibana-utils-plugin/public'; - -import { DEFAULT_DASHBOARD_INPUT } from '../../../dashboard_constants'; -import { getSampleDashboardPanel, mockControlGroupApi } from '../../../mocks'; -import { dataService, embeddableService } from '../../../services/kibana_services'; -import { DashboardCreationOptions } from '../../..'; -import { createDashboard } from './create_dashboard'; -import { getDashboardContentManagementService } from '../../../services/dashboard_content_management_service'; -import { getDashboardBackupService } from '../../../services/dashboard_backup_service'; - -const dashboardBackupService = getDashboardBackupService(); -const dashboardContentManagementService = getDashboardContentManagementService(); - -test("doesn't throw error when no data views are available", async () => { - dataService.dataViews.defaultDataViewExists = jest.fn().mockReturnValue(false); - expect(await createDashboard()).toBeDefined(); - - // reset get default data view - dataService.dataViews.defaultDataViewExists = jest.fn().mockResolvedValue(true); -}); - -test('throws error when provided validation function returns invalid', async () => { - const creationOptions: DashboardCreationOptions = { - validateLoadedSavedObject: jest.fn().mockImplementation(() => 'invalid'), - }; - await expect(async () => { - await createDashboard(creationOptions, 0, 'test-id'); - }).rejects.toThrow('Dashboard failed saved object result validation'); -}); - -test('returns undefined when provided validation function returns redirected', async () => { - const creationOptions: DashboardCreationOptions = { - validateLoadedSavedObject: jest.fn().mockImplementation(() => 'redirected'), - }; - const dashboard = await createDashboard(creationOptions, 0, 'test-id'); - expect(dashboard).toBeUndefined(); -}); - -/** - * Because the getInitialInput function may have side effects, we only want to call it once we are certain that the - * the loaded saved object passes validation. - * - * This is especially relevant in the Dashboard App case where calling the getInitialInput function removes the _a - * param from the URL. In alais match situations this caused a bug where the state from the URL wasn't properly applied - * after the redirect. - */ -test('does not get initial input when provided validation function returns redirected', async () => { - const creationOptions: DashboardCreationOptions = { - validateLoadedSavedObject: jest.fn().mockImplementation(() => 'redirected'), - getInitialInput: jest.fn(), - }; - const dashboard = await createDashboard(creationOptions, 0, 'test-id'); - expect(dashboard).toBeUndefined(); - expect(creationOptions.getInitialInput).not.toHaveBeenCalled(); -}); - -test('pulls state from dashboard saved object when given a saved object id', async () => { - dashboardContentManagementService.loadDashboardState = jest.fn().mockResolvedValue({ - dashboardInput: { - ...DEFAULT_DASHBOARD_INPUT, - description: `wow would you look at that? Wow.`, - }, - }); - const dashboard = await createDashboard({}, 0, 'wow-such-id'); - expect(dashboardContentManagementService.loadDashboardState).toHaveBeenCalledWith({ - id: 'wow-such-id', - }); - expect(dashboard).toBeDefined(); - expect(dashboard!.getState().explicitInput.description).toBe(`wow would you look at that? Wow.`); -}); - -test('passes managed state from the saved object into the Dashboard component state', async () => { - dashboardContentManagementService.loadDashboardState = jest.fn().mockResolvedValue({ - dashboardInput: { - ...DEFAULT_DASHBOARD_INPUT, - description: 'wow this description is okay', - }, - managed: true, - }); - const dashboard = await createDashboard({}, 0, 'what-an-id'); - expect(dashboard).toBeDefined(); - expect(dashboard!.managed$.value).toBe(true); -}); - -test('pulls view mode from dashboard backup', async () => { - dashboardContentManagementService.loadDashboardState = jest.fn().mockResolvedValue({ - dashboardInput: DEFAULT_DASHBOARD_INPUT, - }); - dashboardBackupService.getViewMode = jest.fn().mockReturnValue(ViewMode.EDIT); - const dashboard = await createDashboard({ useSessionStorageIntegration: true }, 0, 'what-an-id'); - expect(dashboard).toBeDefined(); - expect(dashboard!.getState().explicitInput.viewMode).toBe(ViewMode.EDIT); -}); - -test('new dashboards start in edit mode', async () => { - dashboardBackupService.getViewMode = jest.fn().mockReturnValue(ViewMode.VIEW); - dashboardContentManagementService.loadDashboardState = jest.fn().mockResolvedValue({ - newDashboardCreated: true, - dashboardInput: { - ...DEFAULT_DASHBOARD_INPUT, - description: 'wow this description is okay', - }, - }); - const dashboard = await createDashboard({ useSessionStorageIntegration: true }, 0, 'wow-such-id'); - expect(dashboard).toBeDefined(); - expect(dashboard!.getState().explicitInput.viewMode).toBe(ViewMode.EDIT); -}); - -test('managed dashboards start in view mode', async () => { - dashboardBackupService.getViewMode = jest.fn().mockReturnValue(ViewMode.EDIT); - dashboardContentManagementService.loadDashboardState = jest.fn().mockResolvedValue({ - dashboardInput: DEFAULT_DASHBOARD_INPUT, - managed: true, - }); - const dashboard = await createDashboard({}, 0, 'what-an-id'); - expect(dashboard).toBeDefined(); - expect(dashboard!.managed$.value).toBe(true); - expect(dashboard!.getState().explicitInput.viewMode).toBe(ViewMode.VIEW); -}); - -test('pulls state from backup which overrides state from saved object', async () => { - dashboardContentManagementService.loadDashboardState = jest.fn().mockResolvedValue({ - dashboardInput: { - ...DEFAULT_DASHBOARD_INPUT, - description: 'wow this description is okay', - }, - }); - dashboardBackupService.getState = jest - .fn() - .mockReturnValue({ dashboardState: { description: 'wow this description marginally better' } }); - const dashboard = await createDashboard({ useSessionStorageIntegration: true }, 0, 'wow-such-id'); - expect(dashboard).toBeDefined(); - expect(dashboard!.getState().explicitInput.description).toBe( - 'wow this description marginally better' - ); -}); - -test('pulls state from override input which overrides all other state sources', async () => { - dashboardContentManagementService.loadDashboardState = jest.fn().mockResolvedValue({ - dashboardInput: { - ...DEFAULT_DASHBOARD_INPUT, - description: 'wow this description is okay', - }, - }); - dashboardBackupService.getState = jest - .fn() - .mockReturnValue({ description: 'wow this description marginally better' }); - const dashboard = await createDashboard( - { - useSessionStorageIntegration: true, - getInitialInput: () => ({ description: 'wow this description is a masterpiece' }), - }, - 0, - 'wow-such-id' - ); - expect(dashboard).toBeDefined(); - expect(dashboard!.getState().explicitInput.description).toBe( - 'wow this description is a masterpiece' - ); -}); - -test('pulls panels from override input', async () => { - embeddableService.reactEmbeddableRegistryHasKey = jest - .fn() - .mockImplementation((type: string) => type === 'reactEmbeddable'); - dashboardContentManagementService.loadDashboardState = jest.fn().mockResolvedValue({ - dashboardInput: { - ...DEFAULT_DASHBOARD_INPUT, - panels: { - ...DEFAULT_DASHBOARD_INPUT.panels, - someLegacyPanel: { - type: 'legacy', - gridData: { x: 0, y: 0, w: 0, h: 0, i: 'someLegacyPanel' }, - explicitInput: { - id: 'someLegacyPanel', - title: 'stateFromSavedObject', - }, - }, - someReactEmbeddablePanel: { - type: 'reactEmbeddable', - gridData: { x: 0, y: 0, w: 0, h: 0, i: 'someReactEmbeddablePanel' }, - explicitInput: { - id: 'someReactEmbeddablePanel', - title: 'stateFromSavedObject', - }, - }, - }, - }, - }); - const dashboard = await createDashboard( - { - useSessionStorageIntegration: true, - getInitialInput: () => ({ - ...DEFAULT_DASHBOARD_INPUT, - panels: { - ...DEFAULT_DASHBOARD_INPUT.panels, - someLegacyPanel: { - type: 'legacy', - gridData: { x: 0, y: 0, w: 0, h: 0, i: 'someLegacyPanel' }, - explicitInput: { - id: 'someLegacyPanel', - title: 'Look at me, I am the override now', - }, - }, - someReactEmbeddablePanel: { - type: 'reactEmbeddable', - gridData: { x: 0, y: 0, w: 0, h: 0, i: 'someReactEmbeddablePanel' }, - explicitInput: { - id: 'someReactEmbeddablePanel', - title: 'an elegant override, from a more civilized age', - }, - }, - }, - }), - }, - 0, - 'wow-such-id' - ); - expect(dashboard).toBeDefined(); - - // legacy panels should be completely overwritten directly in the explicitInput - expect(dashboard!.getState().explicitInput.panels.someLegacyPanel.explicitInput.title).toBe( - 'Look at me, I am the override now' - ); - - // React embeddable should still have the old state in their explicit input - expect( - dashboard!.getState().explicitInput.panels.someReactEmbeddablePanel.explicitInput.title - ).toBe('stateFromSavedObject'); - - // instead, the unsaved changes for React embeddables should be applied to the "restored runtime state" property of the Dashboard. - expect( - (dashboard!.getRuntimeStateForChild('someReactEmbeddablePanel') as { title: string }).title - ).toEqual('an elegant override, from a more civilized age'); -}); - -test('applies filters and query from state to query service', async () => { - const filters: Filter[] = [ - { meta: { alias: 'test', disabled: false, negate: false, index: 'test' } }, - ]; - const query = { language: 'kql', query: 'query' }; - await createDashboard({ - useUnifiedSearchIntegration: true, - unifiedSearchSettings: { - kbnUrlStateStorage: createKbnUrlStateStorage(), - }, - getInitialInput: () => ({ filters, query }), - }); - expect(dataService.query.queryString.setQuery).toHaveBeenCalledWith(query); - expect(dataService.query.filterManager.setAppFilters).toHaveBeenCalledWith(filters); -}); - -test('applies time range and refresh interval from initial input to query service if time restore is on', async () => { - const timeRange = { from: new Date().toISOString(), to: new Date().toISOString() }; - const refreshInterval = { pause: false, value: 42 }; - await createDashboard({ - useUnifiedSearchIntegration: true, - unifiedSearchSettings: { - kbnUrlStateStorage: createKbnUrlStateStorage(), - }, - getInitialInput: () => ({ timeRange, refreshInterval, timeRestore: true }), - }); - expect(dataService.query.timefilter.timefilter.setTime).toHaveBeenCalledWith(timeRange); - expect(dataService.query.timefilter.timefilter.setRefreshInterval).toHaveBeenCalledWith( - refreshInterval - ); -}); - -test('applies time range from query service to initial input if time restore is on but there is an explicit time range in the URL', async () => { - const urlTimeRange = { from: new Date().toISOString(), to: new Date().toISOString() }; - const savedTimeRange = { from: 'now - 7 days', to: 'now' }; - dataService.query.timefilter.timefilter.getTime = jest.fn().mockReturnValue(urlTimeRange); - const kbnUrlStateStorage = createKbnUrlStateStorage(); - kbnUrlStateStorage.get = jest.fn().mockReturnValue({ time: urlTimeRange }); - - const dashboard = await createDashboard({ - useUnifiedSearchIntegration: true, - unifiedSearchSettings: { - kbnUrlStateStorage, - }, - getInitialInput: () => ({ - timeRestore: true, - timeRange: savedTimeRange, - }), - }); - expect(dashboard).toBeDefined(); - expect(dashboard!.getState().explicitInput.timeRange).toEqual(urlTimeRange); -}); - -test('applies time range from query service to initial input if time restore is off', async () => { - const timeRange = { from: new Date().toISOString(), to: new Date().toISOString() }; - dataService.query.timefilter.timefilter.getTime = jest.fn().mockReturnValue(timeRange); - const dashboard = await createDashboard({ - useUnifiedSearchIntegration: true, - unifiedSearchSettings: { - kbnUrlStateStorage: createKbnUrlStateStorage(), - }, - }); - expect(dashboard).toBeDefined(); - expect(dashboard!.getState().explicitInput.timeRange).toEqual(timeRange); -}); - -test('replaces panel with incoming embeddable if id matches existing panel', async () => { - const incomingEmbeddable: EmbeddablePackageState = { - type: CONTACT_CARD_EMBEDDABLE, - input: { - id: 'i_match', - firstName: 'wow look at this replacement wow', - } as ContactCardEmbeddableInput, - embeddableId: 'i_match', - }; - const dashboard = await createDashboard({ - getIncomingEmbeddable: () => incomingEmbeddable, - getInitialInput: () => ({ - panels: { - i_match: getSampleDashboardPanel({ - explicitInput: { - id: 'i_match', - firstName: 'oh no, I am about to get replaced', - }, - type: CONTACT_CARD_EMBEDDABLE, - }), - }, - }), - }); - expect(dashboard).toBeDefined(); - expect(dashboard!.getState().explicitInput.panels.i_match.explicitInput).toStrictEqual( - expect.objectContaining({ - id: 'i_match', - firstName: 'wow look at this replacement wow', - }) - ); -}); - -test('creates new embeddable with incoming embeddable if id does not match existing panel', async () => { - const incomingEmbeddable: EmbeddablePackageState = { - type: CONTACT_CARD_EMBEDDABLE, - input: { - id: 'i_match', - firstName: 'wow look at this new panel wow', - } as ContactCardEmbeddableInput, - embeddableId: 'i_match', - }; - const mockContactCardFactory = { - create: jest.fn().mockReturnValue({ destroy: jest.fn() }), - getDefaultInput: jest.fn().mockResolvedValue({}), - }; - embeddableService.getEmbeddableFactory = jest.fn().mockReturnValue(mockContactCardFactory); - - const dashboard = await createDashboard({ - getIncomingEmbeddable: () => incomingEmbeddable, - getInitialInput: () => ({ - panels: { - i_do_not_match: getSampleDashboardPanel({ - explicitInput: { - id: 'i_do_not_match', - firstName: 'phew... I will not be replaced', - }, - type: CONTACT_CARD_EMBEDDABLE, - }), - }, - }), - }); - dashboard?.setControlGroupApi(mockControlGroupApi); - - // flush promises - await new Promise((r) => setTimeout(r, 1)); - expect(mockContactCardFactory.create).toHaveBeenCalledWith( - expect.objectContaining({ - id: 'i_match', - firstName: 'wow look at this new panel wow', - }), - expect.any(Object) - ); - expect(dashboard!.getState().explicitInput.panels.i_match.explicitInput).toStrictEqual( - expect.objectContaining({ - id: 'i_match', - firstName: 'wow look at this new panel wow', - }) - ); - expect(dashboard!.getState().explicitInput.panels.i_do_not_match.explicitInput).toStrictEqual( - expect.objectContaining({ - id: 'i_do_not_match', - firstName: 'phew... I will not be replaced', - }) - ); - - // expect panel to be created with the default size. - expect(dashboard!.getState().explicitInput.panels.i_match.gridData.w).toBe(24); - expect(dashboard!.getState().explicitInput.panels.i_match.gridData.h).toBe(15); -}); - -test('creates new embeddable with specified size if size is provided', async () => { - const incomingEmbeddable: EmbeddablePackageState = { - type: CONTACT_CARD_EMBEDDABLE, - input: { - id: 'new_panel', - firstName: 'what a tiny lil panel', - } as ContactCardEmbeddableInput, - size: { width: 1, height: 1 }, - embeddableId: 'new_panel', - }; - const mockContactCardFactory = { - create: jest.fn().mockReturnValue({ destroy: jest.fn() }), - getDefaultInput: jest.fn().mockResolvedValue({}), - }; - embeddableService.getEmbeddableFactory = jest.fn().mockReturnValue(mockContactCardFactory); - - const dashboard = await createDashboard({ - getIncomingEmbeddable: () => incomingEmbeddable, - getInitialInput: () => ({ - panels: { - i_do_not_match: getSampleDashboardPanel({ - explicitInput: { - id: 'i_do_not_match', - firstName: 'phew... I will not be replaced', - }, - type: CONTACT_CARD_EMBEDDABLE, - }), - }, - }), - }); - dashboard?.setControlGroupApi(mockControlGroupApi); - - // flush promises - await new Promise((r) => setTimeout(r, 1)); - - expect(mockContactCardFactory.create).toHaveBeenCalledWith( - expect.objectContaining({ - id: 'new_panel', - firstName: 'what a tiny lil panel', - }), - expect.any(Object) - ); - expect(dashboard!.getState().explicitInput.panels.new_panel.explicitInput).toStrictEqual( - expect.objectContaining({ - id: 'new_panel', - firstName: 'what a tiny lil panel', - }) - ); - expect(dashboard!.getState().explicitInput.panels.new_panel.gridData.w).toBe(1); - expect(dashboard!.getState().explicitInput.panels.new_panel.gridData.h).toBe(1); -}); - -/* - * dashboard.getInput$() subscriptions are used to update: - * 1) dashboard instance searchSessionId state - * 2) child input on parent input changes - * - * Rxjs subscriptions are executed in the order that they are created. - * This test ensures that searchSessionId update subscription is created before child input subscription - * to ensure child input subscription includes updated searchSessionId. - */ -test('searchSessionId is updated prior to child embeddable parent subscription execution', async () => { - const embeddableFactory = { - create: new ContactCardEmbeddableFactory((() => null) as any, {} as any), - getDefaultInput: jest.fn().mockResolvedValue({ - timeRange: { - to: 'now', - from: 'now-15m', - }, - }), - }; - embeddableService.getEmbeddableFactory = jest.fn().mockReturnValue(embeddableFactory); - let sessionCount = 0; - dataService.search.session.start = () => { - sessionCount++; - return `searchSessionId${sessionCount}`; - }; - const dashboard = await createDashboard({ - searchSessionSettings: { - getSearchSessionIdFromURL: () => undefined, - removeSessionIdFromUrl: () => {}, - createSessionRestorationDataProvider: () => {}, - } as unknown as DashboardCreationOptions['searchSessionSettings'], - }); - dashboard?.setControlGroupApi(mockControlGroupApi); - expect(dashboard).toBeDefined(); - const embeddable = await dashboard!.addNewEmbeddable< - ContactCardEmbeddableInput, - ContactCardEmbeddableOutput, - ContactCardEmbeddable - >(CONTACT_CARD_EMBEDDABLE, { - firstName: 'Bob', - }); - - expect(embeddable.getInput().searchSessionId).toBe('searchSessionId1'); - - dashboard!.updateInput({ - timeRange: { - to: 'now', - from: 'now-7d', - }, - }); - - expect(sessionCount).toBeGreaterThan(1); - const embeddableInput = embeddable.getInput(); - expect((embeddableInput as any).timeRange).toEqual({ - to: 'now', - from: 'now-7d', - }); - expect(embeddableInput.searchSessionId).toBe(`searchSessionId${sessionCount}`); -}); diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.ts deleted file mode 100644 index 2510f2e015dfb..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.ts +++ /dev/null @@ -1,522 +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 { cloneDeep, omit } from 'lodash'; -import { Subject } from 'rxjs'; -import { v4 } from 'uuid'; - -import { ContentInsightsClient } from '@kbn/content-management-content-insights-public'; -import { GlobalQueryStateFromUrl, syncGlobalQueryStateWithUrl } from '@kbn/data-plugin/public'; -import { ViewMode } from '@kbn/embeddable-plugin/public'; -import { TimeRange } from '@kbn/es-query'; -import { lazyLoadReduxToolsPackage } from '@kbn/presentation-util-plugin/public'; - -import { - DashboardContainerInput, - DashboardPanelMap, - DashboardPanelState, -} from '../../../../common'; -import { - DEFAULT_DASHBOARD_INPUT, - DEFAULT_PANEL_HEIGHT, - DEFAULT_PANEL_WIDTH, - GLOBAL_STATE_STORAGE_KEY, - PanelPlacementStrategy, -} from '../../../dashboard_constants'; -import { - PANELS_CONTROL_GROUP_KEY, - getDashboardBackupService, -} from '../../../services/dashboard_backup_service'; -import { getDashboardContentManagementService } from '../../../services/dashboard_content_management_service'; -import { - LoadDashboardReturn, - SavedDashboardInput, -} from '../../../services/dashboard_content_management_service/types'; -import { coreServices, dataService, embeddableService } from '../../../services/kibana_services'; -import { getDashboardCapabilities } from '../../../utils/get_dashboard_capabilities'; -import { runPanelPlacementStrategy } from '../../panel_placement/place_new_panel_strategies'; -import { startDiffingDashboardState } from '../../state/diffing/dashboard_diffing_integration'; -import { UnsavedPanelState } from '../../types'; -import { DashboardContainer } from '../dashboard_container'; -import type { DashboardCreationOptions } from '../../..'; -import { startSyncingDashboardDataViews } from './data_views/sync_dashboard_data_views'; -import { startQueryPerformanceTracking } from './performance/query_performance_tracking'; -import { startDashboardSearchSessionIntegration } from './search_sessions/start_dashboard_search_session_integration'; -import { syncUnifiedSearchState } from './unified_search/sync_dashboard_unified_search_state'; -import { InitialComponentState } from '../../../dashboard_api/get_dashboard_api'; - -/** - * Builds a new Dashboard from scratch. - */ -export const createDashboard = async ( - creationOptions?: DashboardCreationOptions, - dashboardCreationStartTime?: number, - savedObjectId?: string -): Promise => { - // -------------------------------------------------------------------------------------- - // Create method which allows work to be done on the dashboard container when it's ready. - // -------------------------------------------------------------------------------------- - const dashboardContainerReady$ = new Subject(); - const untilDashboardReady = () => - new Promise((resolve) => { - const subscription = dashboardContainerReady$.subscribe((container) => { - subscription.unsubscribe(); - resolve(container); - }); - }); - - // -------------------------------------------------------------------------------------- - // Lazy load required systems and Dashboard saved object. - // -------------------------------------------------------------------------------------- - const reduxEmbeddablePackagePromise = lazyLoadReduxToolsPackage(); - const defaultDataViewExistsPromise = dataService.dataViews.defaultDataViewExists(); - const dashboardContentManagementService = getDashboardContentManagementService(); - const dashboardSavedObjectPromise = dashboardContentManagementService.loadDashboardState({ - id: savedObjectId, - }); - - const [reduxEmbeddablePackage, savedObjectResult] = await Promise.all([ - reduxEmbeddablePackagePromise, - dashboardSavedObjectPromise, - defaultDataViewExistsPromise /* the result is not used, but the side effect of setting the default data view is needed. */, - ]); - - // -------------------------------------------------------------------------------------- - // Initialize Dashboard integrations - // -------------------------------------------------------------------------------------- - const initializeResult = await initializeDashboard({ - loadDashboardReturn: savedObjectResult, - untilDashboardReady, - creationOptions, - }); - if (!initializeResult) return; - const { input, searchSessionId } = initializeResult; - - // -------------------------------------------------------------------------------------- - // Build the dashboard container. - // -------------------------------------------------------------------------------------- - const initialComponentState: InitialComponentState = { - anyMigrationRun: savedObjectResult.anyMigrationRun ?? false, - isEmbeddedExternally: creationOptions?.isEmbeddedExternally ?? false, - lastSavedInput: omit(savedObjectResult?.dashboardInput, 'controlGroupInput') ?? { - ...DEFAULT_DASHBOARD_INPUT, - id: input.id, - }, - lastSavedId: savedObjectId, - managed: savedObjectResult.managed ?? false, - fullScreenMode: creationOptions?.fullScreenMode ?? false, - }; - - const dashboardContainer = new DashboardContainer( - input, - reduxEmbeddablePackage, - searchSessionId, - dashboardCreationStartTime, - undefined, - creationOptions, - initialComponentState - ); - - // -------------------------------------------------------------------------------------- - // Start the diffing integration after all other integrations are set up. - // -------------------------------------------------------------------------------------- - untilDashboardReady().then((container) => { - startDiffingDashboardState.bind(container)(creationOptions); - }); - - dashboardContainerReady$.next(dashboardContainer); - return dashboardContainer; -}; - -/** - * Initializes a Dashboard and starts all of its integrations - */ -export const initializeDashboard = async ({ - loadDashboardReturn, - untilDashboardReady, - creationOptions, -}: { - loadDashboardReturn: LoadDashboardReturn; - untilDashboardReady: () => Promise; - creationOptions?: DashboardCreationOptions; -}) => { - const { - queryString, - filterManager, - timefilter: { timefilter: timefilterService }, - } = dataService.query; - const dashboardBackupService = getDashboardBackupService(); - - const { - getInitialInput, - searchSessionSettings, - unifiedSearchSettings, - validateLoadedSavedObject, - useUnifiedSearchIntegration, - useSessionStorageIntegration, - } = creationOptions ?? {}; - - // -------------------------------------------------------------------------------------- - // Run validation. - // -------------------------------------------------------------------------------------- - const validationResult = loadDashboardReturn && validateLoadedSavedObject?.(loadDashboardReturn); - if (validationResult === 'invalid') { - // throw error to stop the rest of Dashboard loading and make the factory return an ErrorEmbeddable. - throw new Error('Dashboard failed saved object result validation'); - } else if (validationResult === 'redirected') { - return; - } - - // -------------------------------------------------------------------------------------- - // Combine input from saved object, and session storage - // -------------------------------------------------------------------------------------- - const dashboardBackupState = dashboardBackupService.getState(loadDashboardReturn.dashboardId); - const runtimePanelsToRestore: UnsavedPanelState = useSessionStorageIntegration - ? dashboardBackupState?.panels ?? {} - : {}; - - const sessionStorageInput = ((): Partial | undefined => { - if (!useSessionStorageIntegration) return; - return dashboardBackupState?.dashboardState; - })(); - const initialViewMode = (() => { - if (loadDashboardReturn.managed || !getDashboardCapabilities().showWriteControls) - return ViewMode.VIEW; - if ( - loadDashboardReturn.newDashboardCreated || - dashboardBackupService.dashboardHasUnsavedEdits(loadDashboardReturn.dashboardId) - ) { - return ViewMode.EDIT; - } - - return dashboardBackupService.getViewMode(); - })(); - - const combinedSessionInput: DashboardContainerInput = { - ...DEFAULT_DASHBOARD_INPUT, - ...(loadDashboardReturn?.dashboardInput ?? {}), - ...sessionStorageInput, - }; - - // -------------------------------------------------------------------------------------- - // Combine input with overrides. - // -------------------------------------------------------------------------------------- - const overrideInput = getInitialInput?.(); - if (overrideInput?.panels) { - /** - * react embeddables and legacy embeddables share state very differently, so we need different - * treatment here. TODO remove this distinction when we remove the legacy embeddable system. - */ - const overridePanels: DashboardPanelMap = {}; - - for (const panel of Object.values(overrideInput?.panels)) { - if (embeddableService.reactEmbeddableRegistryHasKey(panel.type)) { - overridePanels[panel.explicitInput.id] = { - ...panel, - - /** - * here we need to keep the state of the panel that was already in the Dashboard if one exists. - * This is because this state will become the "last saved state" for this panel. - */ - ...(combinedSessionInput.panels[panel.explicitInput.id] ?? []), - }; - /** - * We also need to add the state of this react embeddable into the runtime state to be restored. - */ - runtimePanelsToRestore[panel.explicitInput.id] = panel.explicitInput; - } else { - /** - * if this is a legacy embeddable, the override state needs to completely overwrite the existing - * state for this panel. - */ - overridePanels[panel.explicitInput.id] = panel; - } - } - - /** - * If this is a React embeddable, we leave the "panel" state as-is and add this state to the - * runtime state to be restored on dashboard load. - */ - overrideInput.panels = overridePanels; - } - const combinedOverrideInput: DashboardContainerInput = { - ...combinedSessionInput, - ...(initialViewMode ? { viewMode: initialViewMode } : {}), - ...overrideInput, - }; - - // -------------------------------------------------------------------------------------- - // Combine input from saved object, session storage, & passed input to create initial input. - // -------------------------------------------------------------------------------------- - const initialDashboardInput: DashboardContainerInput = omit( - cloneDeep(combinedOverrideInput), - 'controlGroupInput' - ); - - // Back up any view mode passed in explicitly. - if (overrideInput?.viewMode) { - dashboardBackupService.storeViewMode(overrideInput?.viewMode); - } - - initialDashboardInput.executionContext = { - type: 'dashboard', - description: initialDashboardInput.title, - }; - - // -------------------------------------------------------------------------------------- - // Track references - // -------------------------------------------------------------------------------------- - untilDashboardReady().then((dashboard) => { - dashboard.savedObjectReferences = loadDashboardReturn?.references; - dashboard.controlGroupInput = loadDashboardReturn?.dashboardInput?.controlGroupInput; - }); - - // -------------------------------------------------------------------------------------- - // Set up unified search integration. - // -------------------------------------------------------------------------------------- - if (useUnifiedSearchIntegration && unifiedSearchSettings?.kbnUrlStateStorage) { - const { - query, - filters, - timeRestore, - timeRange: savedTimeRange, - refreshInterval: savedRefreshInterval, - } = initialDashboardInput; - const { kbnUrlStateStorage } = unifiedSearchSettings; - - // apply filters and query to the query service - filterManager.setAppFilters(cloneDeep(filters ?? [])); - queryString.setQuery(query ?? queryString.getDefaultQuery()); - - /** - * Get initial time range, and set up dashboard time restore if applicable - */ - const initialTimeRange: TimeRange = (() => { - // if there is an explicit time range in the URL it always takes precedence. - const urlOverrideTimeRange = - kbnUrlStateStorage.get(GLOBAL_STATE_STORAGE_KEY)?.time; - if (urlOverrideTimeRange) return urlOverrideTimeRange; - - // if this Dashboard has timeRestore return the time range that was saved with the dashboard. - if (timeRestore && savedTimeRange) return savedTimeRange; - - // otherwise fall back to the time range from the timefilterService. - return timefilterService.getTime(); - })(); - initialDashboardInput.timeRange = initialTimeRange; - if (timeRestore) { - if (savedTimeRange) timefilterService.setTime(savedTimeRange); - if (savedRefreshInterval) timefilterService.setRefreshInterval(savedRefreshInterval); - } - - // start syncing global query state with the URL. - const { stop: stopSyncingQueryServiceStateWithUrl } = syncGlobalQueryStateWithUrl( - dataService.query, - kbnUrlStateStorage - ); - - untilDashboardReady().then((dashboardContainer) => { - const stopSyncingUnifiedSearchState = - syncUnifiedSearchState.bind(dashboardContainer)(kbnUrlStateStorage); - dashboardContainer.stopSyncingWithUnifiedSearch = () => { - stopSyncingUnifiedSearchState(); - stopSyncingQueryServiceStateWithUrl(); - }; - }); - } - - // -------------------------------------------------------------------------------------- - // Place the incoming embeddable if there is one - // -------------------------------------------------------------------------------------- - const incomingEmbeddable = creationOptions?.getIncomingEmbeddable?.(); - if (incomingEmbeddable) { - const scrolltoIncomingEmbeddable = (container: DashboardContainer, id: string) => { - container.setScrollToPanelId(id); - container.setHighlightPanelId(id); - }; - - initialDashboardInput.viewMode = ViewMode.EDIT; // view mode must always be edit to recieve an embeddable. - if ( - incomingEmbeddable.embeddableId && - Boolean(initialDashboardInput.panels[incomingEmbeddable.embeddableId]) - ) { - // this embeddable already exists, we will update the explicit input. - const panelToUpdate = initialDashboardInput.panels[incomingEmbeddable.embeddableId]; - const sameType = panelToUpdate.type === incomingEmbeddable.type; - - panelToUpdate.type = incomingEmbeddable.type; - const nextRuntimeState = { - // if the incoming panel is the same type as what was there before we can safely spread the old panel's explicit input - ...(sameType ? panelToUpdate.explicitInput : {}), - - ...incomingEmbeddable.input, - id: incomingEmbeddable.embeddableId, - - // maintain hide panel titles setting. - hidePanelTitles: panelToUpdate.explicitInput.hidePanelTitles, - }; - if (embeddableService.reactEmbeddableRegistryHasKey(incomingEmbeddable.type)) { - panelToUpdate.explicitInput = { id: panelToUpdate.explicitInput.id }; - runtimePanelsToRestore[incomingEmbeddable.embeddableId] = nextRuntimeState; - } else { - panelToUpdate.explicitInput = nextRuntimeState; - } - - untilDashboardReady().then((container) => - scrolltoIncomingEmbeddable(container, incomingEmbeddable.embeddableId as string) - ); - } else { - // otherwise this incoming embeddable is brand new and can be added after the dashboard container is created. - - untilDashboardReady().then(async (container) => { - const createdEmbeddable = await (async () => { - // if there is no width or height we can add the panel using the default behaviour. - if (!incomingEmbeddable.size) { - return await container.addNewPanel<{ uuid: string }>({ - panelType: incomingEmbeddable.type, - initialState: incomingEmbeddable.input, - }); - } - - // if the incoming embeddable has an explicit width or height we add the panel to the grid directly. - const { width, height } = incomingEmbeddable.size; - const currentPanels = container.getInput().panels; - const embeddableId = incomingEmbeddable.embeddableId ?? v4(); - const { newPanelPlacement } = runPanelPlacementStrategy( - PanelPlacementStrategy.findTopLeftMostOpenSpace, - { - width: width ?? DEFAULT_PANEL_WIDTH, - height: height ?? DEFAULT_PANEL_HEIGHT, - currentPanels, - } - ); - const newPanelState: DashboardPanelState = (() => { - if (embeddableService.reactEmbeddableRegistryHasKey(incomingEmbeddable.type)) { - runtimePanelsToRestore[embeddableId] = incomingEmbeddable.input; - return { - explicitInput: { id: embeddableId }, - type: incomingEmbeddable.type, - gridData: { - ...newPanelPlacement, - i: embeddableId, - }, - }; - } - return { - explicitInput: { ...incomingEmbeddable.input, id: embeddableId }, - type: incomingEmbeddable.type, - gridData: { - ...newPanelPlacement, - i: embeddableId, - }, - }; - })(); - container.updateInput({ - panels: { - ...container.getInput().panels, - [newPanelState.explicitInput.id]: newPanelState, - }, - }); - - return await container.untilEmbeddableLoaded(embeddableId); - })(); - if (createdEmbeddable) { - scrolltoIncomingEmbeddable(container, createdEmbeddable.uuid); - } - }); - } - } - - // -------------------------------------------------------------------------------------- - // Set restored runtime state for react embeddables. - // -------------------------------------------------------------------------------------- - untilDashboardReady().then((dashboardContainer) => { - if (overrideInput?.controlGroupState) { - dashboardContainer.setRuntimeStateForChild( - PANELS_CONTROL_GROUP_KEY, - overrideInput.controlGroupState - ); - } - - for (const idWithRuntimeState of Object.keys(runtimePanelsToRestore)) { - const restoredRuntimeStateForChild = runtimePanelsToRestore[idWithRuntimeState]; - if (!restoredRuntimeStateForChild) continue; - dashboardContainer.setRuntimeStateForChild(idWithRuntimeState, restoredRuntimeStateForChild); - } - }); - - // -------------------------------------------------------------------------------------- - // Start the data views integration. - // -------------------------------------------------------------------------------------- - untilDashboardReady().then((dashboardContainer) => { - dashboardContainer.integrationSubscriptions.add( - startSyncingDashboardDataViews.bind(dashboardContainer)() - ); - }); - - // -------------------------------------------------------------------------------------- - // Start performance tracker - // -------------------------------------------------------------------------------------- - untilDashboardReady().then((dashboardContainer) => - dashboardContainer.integrationSubscriptions.add( - startQueryPerformanceTracking(dashboardContainer) - ) - ); - - // -------------------------------------------------------------------------------------- - // Start animating panel transforms 500 ms after dashboard is created. - // -------------------------------------------------------------------------------------- - untilDashboardReady().then((dashboard) => - setTimeout(() => dashboard.setAnimatePanelTransforms(true), 500) - ); - - // -------------------------------------------------------------------------------------- - // Set up search sessions integration. - // -------------------------------------------------------------------------------------- - let initialSearchSessionId; - if (searchSessionSettings) { - const { sessionIdToRestore } = searchSessionSettings; - - // if this incoming embeddable has a session, continue it. - if (incomingEmbeddable?.searchSessionId) { - dataService.search.session.continue(incomingEmbeddable.searchSessionId); - } - if (sessionIdToRestore) { - dataService.search.session.restore(sessionIdToRestore); - } - const existingSession = dataService.search.session.getSessionId(); - - initialSearchSessionId = - sessionIdToRestore ?? - (existingSession && incomingEmbeddable - ? existingSession - : dataService.search.session.start()); - - untilDashboardReady().then(async (container) => { - await container.untilContainerInitialized(); - startDashboardSearchSessionIntegration.bind(container)( - creationOptions?.searchSessionSettings - ); - }); - } - - if (loadDashboardReturn.dashboardId && !incomingEmbeddable) { - // We count a new view every time a user opens a dashboard, both in view or edit mode - // We don't count views when a user is editing a dashboard and is returning from an editor after saving - // however, there is an edge case that we now count a new view when a user is editing a dashboard and is returning from an editor by canceling - // TODO: this should be revisited by making embeddable transfer support canceling logic https://github.com/elastic/kibana/issues/190485 - const contentInsightsClient = new ContentInsightsClient( - { http: coreServices.http }, - { domainId: 'dashboard' } - ); - contentInsightsClient.track(loadDashboardReturn.dashboardId, 'viewed'); - } - - return { input: initialDashboardInput, searchSessionId: initialSearchSessionId }; -}; diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/data_views/sync_dashboard_data_views.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/create/data_views/sync_dashboard_data_views.ts deleted file mode 100644 index 3060987e296c6..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/create/data_views/sync_dashboard_data_views.ts +++ /dev/null @@ -1,53 +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 { uniqBy } from 'lodash'; -import { combineLatest, Observable, of, switchMap } from 'rxjs'; - -import { DataView } from '@kbn/data-views-plugin/common'; -import { combineCompatibleChildrenApis } from '@kbn/presentation-containers'; -import { apiPublishesDataViews, PublishesDataViews } from '@kbn/presentation-publishing'; - -import { dataService } from '../../../../services/kibana_services'; -import { DashboardContainer } from '../../dashboard_container'; - -export function startSyncingDashboardDataViews(this: DashboardContainer) { - const controlGroupDataViewsPipe: Observable = this.controlGroupApi$.pipe( - switchMap((controlGroupApi) => { - return controlGroupApi ? controlGroupApi.dataViews : of([]); - }) - ); - - const childDataViewsPipe = combineCompatibleChildrenApis( - this, - 'dataViews', - apiPublishesDataViews, - [] - ); - - return combineLatest([controlGroupDataViewsPipe, childDataViewsPipe]) - .pipe( - switchMap(([controlGroupDataViews, childDataViews]) => { - const allDataViews = [ - ...(controlGroupDataViews ? controlGroupDataViews : []), - ...childDataViews, - ]; - if (allDataViews.length === 0) { - return (async () => { - const defaultDataViewId = await dataService.dataViews.getDefaultId(); - return [await dataService.dataViews.get(defaultDataViewId!)]; - })(); - } - return of(uniqBy(allDataViews, 'id')); - }) - ) - .subscribe((newDataViews) => { - this.setAllDataViews(newDataViews); - }); -} diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts index 963914bea1c33..09cb313d1f5a5 100644 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts +++ b/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts @@ -9,12 +9,12 @@ import type { CoreStart } from '@kbn/core/public'; import { PerformanceMetricEvent } from '@kbn/ebt-tools'; -import { PresentationContainer, TracksQueryPerformance } from '@kbn/presentation-containers'; +import { PresentationContainer } from '@kbn/presentation-containers'; import { getMockPresentationContainer } from '@kbn/presentation-containers/mocks'; import { PhaseEvent, PhaseEventType, apiPublishesPhaseEvents } from '@kbn/presentation-publishing'; import { waitFor } from '@testing-library/react'; import { BehaviorSubject } from 'rxjs'; -import { startQueryPerformanceTracking } from './query_performance_tracking'; +import { PerformanceState, startQueryPerformanceTracking } from './query_performance_tracking'; const mockMetricEvent = jest.fn(); jest.mock('@kbn/ebt-tools', () => ({ @@ -26,7 +26,8 @@ jest.mock('@kbn/ebt-tools', () => ({ const mockDashboard = ( children: {} = {} ): { - dashboard: PresentationContainer & TracksQueryPerformance; + dashboard: PresentationContainer; + performanceState: PerformanceState; children$: BehaviorSubject<{ [key: string]: unknown }>; } => { const children$ = new BehaviorSubject<{ [key: string]: unknown }>(children); @@ -35,6 +36,8 @@ const mockDashboard = ( ...getMockPresentationContainer(), children$, getPanelCount: () => Object.keys(children$.value).length, + }, + performanceState: { firstLoad: true, creationStartTime: Date.now(), }, @@ -68,16 +71,16 @@ describe('startQueryPerformanceTracking', () => { phase$: new BehaviorSubject({ status: 'loading', id: '', timeToEvent: 0 }), }, }; - const { dashboard } = mockDashboard(children); - startQueryPerformanceTracking(dashboard); + const { dashboard, performanceState } = mockDashboard(children); + startQueryPerformanceTracking(dashboard, performanceState); - expect(dashboard.lastLoadStartTime).toBeDefined(); + expect(performanceState.lastLoadStartTime).toBeDefined(); }); it('sets creation end time when no children are present', async () => { - const { dashboard } = mockDashboard(); - startQueryPerformanceTracking(dashboard); - expect(dashboard.creationEndTime).toBeDefined(); + const { dashboard, performanceState } = mockDashboard(); + startQueryPerformanceTracking(dashboard, performanceState); + expect(performanceState.creationEndTime).toBeDefined(); }); it('sets creation end time when all panels with phase event reporting have rendered', async () => { @@ -89,11 +92,11 @@ describe('startQueryPerformanceTracking', () => { phase$: new BehaviorSubject({ status: 'loading', id: '', timeToEvent: 0 }), }, }; - const { dashboard } = mockDashboard(children); - startQueryPerformanceTracking(dashboard); + const { dashboard, performanceState } = mockDashboard(children); + startQueryPerformanceTracking(dashboard, performanceState); setChildrenStatus(children, 'rendered'); await waitFor(() => { - expect(dashboard.creationEndTime).toBeDefined(); + expect(performanceState.creationEndTime).toBeDefined(); }); }); @@ -106,8 +109,8 @@ describe('startQueryPerformanceTracking', () => { phase$: new BehaviorSubject({ status: 'loading', id: '', timeToEvent: 0 }), }, }; - const { dashboard } = mockDashboard(children); - startQueryPerformanceTracking(dashboard); + const { dashboard, performanceState } = mockDashboard(children); + startQueryPerformanceTracking(dashboard, performanceState); expect(mockMetricEvent).not.toHaveBeenCalled(); setChildrenStatus(children, 'rendered'); @@ -136,8 +139,8 @@ describe('startQueryPerformanceTracking', () => { panel3: { wow: 'wow' }, panel4: { wow: 'wow' }, }; - const { dashboard } = mockDashboard(children); - startQueryPerformanceTracking(dashboard); + const { dashboard, performanceState } = mockDashboard(children); + startQueryPerformanceTracking(dashboard, performanceState); setChildrenStatus(children, 'rendered'); expect(mockMetricEvent).toHaveBeenCalledWith( @@ -164,8 +167,8 @@ describe('startQueryPerformanceTracking', () => { panel3: { wow: 'wow' }, panel4: { wow: 'wow' }, }; - const { dashboard } = mockDashboard(children); - startQueryPerformanceTracking(dashboard); + const { dashboard, performanceState } = mockDashboard(children); + startQueryPerformanceTracking(dashboard, performanceState); setChildrenStatus(children, 'rendered'); await waitFor(() => { @@ -193,8 +196,8 @@ describe('startQueryPerformanceTracking', () => { phase$: new BehaviorSubject({ status: 'loading', id: '', timeToEvent: 0 }), }, }; - const { dashboard, children$ } = mockDashboard(children); - startQueryPerformanceTracking(dashboard); + const { dashboard, performanceState, children$ } = mockDashboard(children); + startQueryPerformanceTracking(dashboard, performanceState); setChildrenStatus(children, 'rendered'); expect(mockMetricEvent).toHaveBeenCalledTimes(1); @@ -218,9 +221,9 @@ describe('startQueryPerformanceTracking', () => { it('ensures the duration is at least as long as the time to data', async () => { // start an empty Dashboard. This will set the creation end time to some short value - const { dashboard, children$ } = mockDashboard(); - startQueryPerformanceTracking(dashboard); - expect(dashboard.creationEndTime).toBeDefined(); + const { dashboard, children$, performanceState } = mockDashboard(); + startQueryPerformanceTracking(dashboard, performanceState); + expect(performanceState.creationEndTime).toBeDefined(); // add a panel that takes a long time to load const children = { diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts index 4b138f6ffa21d..edccfd7fb2804 100644 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts +++ b/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts @@ -10,13 +10,20 @@ import { combineLatest, map, pairwise, startWith, switchMap, skipWhile, of } from 'rxjs'; import { reportPerformanceMetricEvent } from '@kbn/ebt-tools'; -import { PresentationContainer, TracksQueryPerformance } from '@kbn/presentation-containers'; +import { PresentationContainer } from '@kbn/presentation-containers'; import { PublishesPhaseEvents, apiPublishesPhaseEvents } from '@kbn/presentation-publishing'; import { DASHBOARD_LOADED_EVENT } from '../../../../dashboard_constants'; import { coreServices } from '../../../../services/kibana_services'; import { DashboardLoadType } from '../../../types'; +export interface PerformanceState { + firstLoad: boolean; + creationStartTime?: number; + creationEndTime?: number; + lastLoadStartTime?: number; +} + let isFirstDashboardLoadOfSession = true; const loadTypesMapping: { [key in DashboardLoadType]: number } = { @@ -26,7 +33,8 @@ const loadTypesMapping: { [key in DashboardLoadType]: number } = { }; export function startQueryPerformanceTracking( - dashboard: PresentationContainer & TracksQueryPerformance + dashboard: PresentationContainer, + performanceState: PerformanceState ) { return dashboard.children$ .pipe( @@ -66,31 +74,31 @@ export function startQueryPerformanceTracking( const now = performance.now(); const loadType: DashboardLoadType = isFirstDashboardLoadOfSession ? 'sessionFirstLoad' - : dashboard.firstLoad + : performanceState.firstLoad ? 'dashboardFirstLoad' : 'dashboardSubsequentLoad'; const queryHasStarted = !wasDashboardStillLoading && isDashboardStillLoading; const queryHasFinished = wasDashboardStillLoading && !isDashboardStillLoading; - if (dashboard.firstLoad && (panelCount === 0 || queryHasFinished)) { + if (performanceState.firstLoad && (panelCount === 0 || queryHasFinished)) { /** * we consider the Dashboard creation to be finished when all the panels are loaded. */ - dashboard.creationEndTime = now; + performanceState.creationEndTime = now; isFirstDashboardLoadOfSession = false; - dashboard.firstLoad = false; + performanceState.firstLoad = false; } if (queryHasStarted) { - dashboard.lastLoadStartTime = now; + performanceState.lastLoadStartTime = now; return; } if (queryHasFinished) { - const timeToData = now - (dashboard.lastLoadStartTime ?? now); + const timeToData = now - (performanceState.lastLoadStartTime ?? now); const completeLoadDuration = - (dashboard.creationEndTime ?? now) - (dashboard.creationStartTime ?? now); + (performanceState.creationEndTime ?? now) - (performanceState.creationStartTime ?? now); reportPerformanceMetrics({ timeToData, panelCount, diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts index 949f425a9ba91..8c2b88d81b631 100644 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts +++ b/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts @@ -11,9 +11,8 @@ import { Filter, TimeRange, onlyDisabledFiltersChanged } from '@kbn/es-query'; import { combineLatest, distinctUntilChanged, Observable, skip } from 'rxjs'; import { shouldRefreshFilterCompareOptions } from '@kbn/embeddable-plugin/public'; import { apiPublishesSettings } from '@kbn/presentation-containers/interfaces/publishes_settings'; -import { apiPublishesUnifiedSearch } from '@kbn/presentation-publishing'; -import { areTimesEqual } from '../../../state/diffing/dashboard_diffing_utils'; -import { DashboardContainer } from '../../dashboard_container'; +import { apiPublishesReload, apiPublishesUnifiedSearch } from '@kbn/presentation-publishing'; +import { areTimesEqual } from '../../../../dashboard_api/unified_search_manager'; export function newSession$(api: unknown) { const observables: Array> = []; @@ -21,7 +20,6 @@ export function newSession$(api: unknown) { if (apiPublishesUnifiedSearch(api)) { observables.push( api.filters$.pipe( - // TODO move onlyDisabledFiltersChanged to appliedFilters$ interface distinctUntilChanged((previous: Filter[] | undefined, current: Filter[] | undefined) => { return onlyDisabledFiltersChanged(previous, current, shouldRefreshFilterCompareOptions); }) @@ -57,9 +55,8 @@ export function newSession$(api: unknown) { } } - // TODO replace lastReloadRequestTime$ with reload$ when removing legacy embeddable framework - if ((api as DashboardContainer).lastReloadRequestTime$) { - observables.push((api as DashboardContainer).lastReloadRequestTime$); + if (apiPublishesReload(api)) { + observables.push(api.reload$); } return combineLatest(observables).pipe(skip(1)); diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts index 70f841db869a5..7d229e31ddf0e 100644 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts +++ b/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts @@ -12,7 +12,6 @@ import { skip } from 'rxjs'; import { noSearchSessionStorageCapabilityMessage } from '@kbn/data-plugin/public'; import { dataService } from '../../../../services/kibana_services'; -import { DashboardContainer } from '../../dashboard_container'; import type { DashboardApi, DashboardCreationOptions } from '../../../..'; import { newSession$ } from './new_session'; import { getDashboardCapabilities } from '../../../../utils/get_dashboard_capabilities'; @@ -21,8 +20,9 @@ import { getDashboardCapabilities } from '../../../../utils/get_dashboard_capabi * Enables dashboard search sessions. */ export function startDashboardSearchSessionIntegration( - this: DashboardContainer, - searchSessionSettings: DashboardCreationOptions['searchSessionSettings'] + dashboardApi: DashboardApi, + searchSessionSettings: DashboardCreationOptions['searchSessionSettings'], + setSearchSessionId: (searchSessionId: string) => void ) { if (!searchSessionSettings) return; @@ -33,26 +33,23 @@ export function startDashboardSearchSessionIntegration( createSessionRestorationDataProvider, } = searchSessionSettings; - dataService.search.session.enableStorage( - createSessionRestorationDataProvider(this as DashboardApi), - { - isDisabled: () => - getDashboardCapabilities().storeSearchSession - ? { disabled: false } - : { - disabled: true, - reasonText: noSearchSessionStorageCapabilityMessage, - }, - } - ); + dataService.search.session.enableStorage(createSessionRestorationDataProvider(dashboardApi), { + isDisabled: () => + getDashboardCapabilities().storeSearchSession + ? { disabled: false } + : { + disabled: true, + reasonText: noSearchSessionStorageCapabilityMessage, + }, + }); // force refresh when the session id in the URL changes. This will also fire off the "handle search session change" below. const searchSessionIdChangeSubscription = sessionIdUrlChangeObservable ?.pipe(skip(1)) - .subscribe(() => this.forceRefresh()); + .subscribe(() => dashboardApi.forceRefresh()); - newSession$(this).subscribe(() => { - const currentSearchSessionId = this.getState().explicitInput.searchSessionId; + const newSessionSubscription = newSession$(dashboardApi).subscribe(() => { + const currentSearchSessionId = dashboardApi.searchSessionId$.value; const updatedSearchSessionId: string | undefined = (() => { let searchSessionIdFromURL = getSearchSessionIdFromURL(); @@ -72,10 +69,12 @@ export function startDashboardSearchSessionIntegration( })(); if (updatedSearchSessionId && updatedSearchSessionId !== currentSearchSessionId) { - this.searchSessionId = updatedSearchSessionId; - this.searchSessionId$.next(updatedSearchSessionId); + setSearchSessionId(updatedSearchSessionId); } }); - this.integrationSubscriptions.add(searchSessionIdChangeSubscription); + return () => { + searchSessionIdChangeSubscription?.unsubscribe(); + newSessionSubscription.unsubscribe(); + }; } diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/unified_search/sync_dashboard_unified_search_state.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/create/unified_search/sync_dashboard_unified_search_state.ts deleted file mode 100644 index b6043f03b26c0..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/create/unified_search/sync_dashboard_unified_search_state.ts +++ /dev/null @@ -1,155 +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 { Subject } from 'rxjs'; -import fastIsEqual from 'fast-deep-equal'; -import { distinctUntilChanged, finalize, switchMap, tap } from 'rxjs'; - -import type { Filter, Query } from '@kbn/es-query'; -import { IKbnUrlStateStorage } from '@kbn/kibana-utils-plugin/public'; -import { cleanFiltersForSerialize } from '@kbn/presentation-util-plugin/public'; -import { - connectToQueryState, - GlobalQueryStateFromUrl, - waitUntilNextSessionCompletes$, -} from '@kbn/data-plugin/public'; - -import { DashboardContainer } from '../../dashboard_container'; -import { GLOBAL_STATE_STORAGE_KEY } from '../../../../dashboard_constants'; -import { areTimesEqual } from '../../../state/diffing/dashboard_diffing_utils'; -import { dataService } from '../../../../services/kibana_services'; - -/** - * Sets up syncing and subscriptions between the filter state from the Data plugin - * and the dashboard Redux store. - */ -export function syncUnifiedSearchState( - this: DashboardContainer, - kbnUrlStateStorage: IKbnUrlStateStorage -) { - const timefilterService = dataService.query.timefilter.timefilter; - - // get Observable for when the dashboard's saved filters or query change. - const OnFiltersChange$ = new Subject<{ filters: Filter[]; query: Query }>(); - const unsubscribeFromSavedFilterChanges = this.onStateChange(() => { - const { - explicitInput: { filters, query }, - } = this.getState(); - OnFiltersChange$.next({ - filters: filters ?? [], - query: query ?? dataService.query.queryString.getDefaultQuery(), - }); - }); - - // starts syncing app filters between dashboard state and filterManager - const { - explicitInput: { filters, query }, - } = this.getState(); - const intermediateFilterState: { filters: Filter[]; query: Query } = { - query: query ?? dataService.query.queryString.getDefaultQuery(), - filters: filters ?? [], - }; - - const stopSyncingAppFilters = connectToQueryState( - dataService.query, - { - get: () => intermediateFilterState, - set: ({ filters: newFilters, query: newQuery }) => { - intermediateFilterState.filters = cleanFiltersForSerialize(newFilters); - intermediateFilterState.query = newQuery; - this.dispatch.setFiltersAndQuery(intermediateFilterState); - }, - state$: OnFiltersChange$.pipe(distinctUntilChanged()), - }, - { - query: true, - filters: true, - } - ); - - const timeUpdateSubscription = timefilterService.getTimeUpdate$().subscribe(() => { - const newTimeRange = (() => { - // if there is an override time range in the URL, use it. - const urlOverrideTimeRange = - kbnUrlStateStorage.get(GLOBAL_STATE_STORAGE_KEY)?.time; - if (urlOverrideTimeRange) return urlOverrideTimeRange; - - // if there is no url override time range, check if this dashboard uses time restore, and restore to that. - const timeRestoreTimeRange = - this.getState().explicitInput.timeRestore && this.lastSavedInput$.value.timeRange; - if (timeRestoreTimeRange) { - timefilterService.setTime(timeRestoreTimeRange); - return timeRestoreTimeRange; - } - - // otherwise fall back to the time range from the time filter service - return timefilterService.getTime(); - })(); - - const lastTimeRange = this.getState().explicitInput.timeRange; - if ( - !areTimesEqual(newTimeRange.from, lastTimeRange?.from) || - !areTimesEqual(newTimeRange.to, lastTimeRange?.to) - ) { - this.dispatch.setTimeRange(newTimeRange); - } - }); - - const refreshIntervalSubscription = timefilterService - .getRefreshIntervalUpdate$() - .subscribe(() => { - const newRefreshInterval = (() => { - // if there is an override refresh interval in the URL, dispatch that to the dashboard. - const urlOverrideRefreshInterval = - kbnUrlStateStorage.get( - GLOBAL_STATE_STORAGE_KEY - )?.refreshInterval; - if (urlOverrideRefreshInterval) return urlOverrideRefreshInterval; - - // if there is no url override refresh interval, check if this dashboard uses time restore, and restore to that. - const timeRestoreRefreshInterval = - this.getState().explicitInput.timeRestore && this.lastSavedInput$.value.refreshInterval; - if (timeRestoreRefreshInterval) { - timefilterService.setRefreshInterval(timeRestoreRefreshInterval); - return timeRestoreRefreshInterval; - } - - // otherwise fall back to the refresh interval from the time filter service - return timefilterService.getRefreshInterval(); - })(); - - const lastRefreshInterval = this.getState().explicitInput.refreshInterval; - if (!fastIsEqual(newRefreshInterval, lastRefreshInterval)) { - this.dispatch.setRefreshInterval(newRefreshInterval); - } - }); - - const autoRefreshSubscription = timefilterService - .getAutoRefreshFetch$() - .pipe( - tap(() => { - this.forceRefresh(); - }), - switchMap((done) => - // best way on a dashboard to estimate that panels are updated is to rely on search session service state - waitUntilNextSessionCompletes$(dataService.search.session).pipe(finalize(done)) - ) - ) - .subscribe(); - - const stopSyncingUnifiedSearchState = () => { - autoRefreshSubscription.unsubscribe(); - timeUpdateSubscription.unsubscribe(); - refreshIntervalSubscription.unsubscribe(); - unsubscribeFromSavedFilterChanges(); - stopSyncingAppFilters(); - }; - - return stopSyncingUnifiedSearchState; -} diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.test.tsx b/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.test.tsx deleted file mode 100644 index 167ee26055166..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.test.tsx +++ /dev/null @@ -1,274 +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 { isErrorEmbeddable, ViewMode } from '@kbn/embeddable-plugin/public'; -import { - CONTACT_CARD_EMBEDDABLE, - ContactCardEmbeddable, - ContactCardEmbeddableFactory, - ContactCardEmbeddableInput, - ContactCardEmbeddableOutput, - EMPTY_EMBEDDABLE, -} from '@kbn/embeddable-plugin/public/lib/test_samples/embeddables'; -import type { TimeRange } from '@kbn/es-query'; -import { mockedReduxEmbeddablePackage } from '@kbn/presentation-util-plugin/public/mocks'; - -import { - buildMockDashboard, - getSampleDashboardInput, - getSampleDashboardPanel, - mockControlGroupApi, -} from '../../mocks'; -import { embeddableService } from '../../services/kibana_services'; -import { DashboardContainer } from './dashboard_container'; - -const embeddableFactory = new ContactCardEmbeddableFactory((() => null) as any, {} as any); -embeddableService.getEmbeddableFactory = jest.fn().mockReturnValue(embeddableFactory); - -test('DashboardContainer initializes embeddables', (done) => { - const container = buildMockDashboard({ - overrides: { - panels: { - '123': getSampleDashboardPanel({ - explicitInput: { firstName: 'Sam', id: '123' }, - type: CONTACT_CARD_EMBEDDABLE, - }), - }, - }, - }); - - const subscription = container.getOutput$().subscribe((output) => { - if (container.getOutput().embeddableLoaded['123']) { - const embeddable = container.getChild('123'); - expect(embeddable).toBeDefined(); - expect(embeddable.id).toBe('123'); - done(); - } - }); - - if (container.getOutput().embeddableLoaded['123']) { - const embeddable = container.getChild('123'); - expect(embeddable).toBeDefined(); - expect(embeddable.id).toBe('123'); - subscription.unsubscribe(); - done(); - } -}); - -test('DashboardContainer.addNewEmbeddable', async () => { - const container = buildMockDashboard(); - const embeddable = await container.addNewEmbeddable( - CONTACT_CARD_EMBEDDABLE, - { - firstName: 'Kibana', - } - ); - expect(embeddable).toBeDefined(); - - if (!isErrorEmbeddable(embeddable)) { - expect(embeddable.getInput().firstName).toBe('Kibana'); - } else { - expect(false).toBe(true); - } - - const embeddableInContainer = container.getChild(embeddable.id); - expect(embeddableInContainer).toBeDefined(); - expect(embeddableInContainer.id).toBe(embeddable.id); -}); - -test('DashboardContainer.replacePanel', (done) => { - const ID = '123'; - - const container = buildMockDashboard({ - overrides: { - panels: { - [ID]: getSampleDashboardPanel({ - explicitInput: { firstName: 'Sam', id: ID }, - type: CONTACT_CARD_EMBEDDABLE, - }), - }, - }, - }); - let counter = 0; - - const subscription = container.getInput$().subscribe( - jest.fn(({ panels }) => { - counter++; - expect(panels[ID]).toBeDefined(); - // It should be called exactly 2 times and exit the second time - switch (counter) { - case 1: - return expect(panels[ID].type).toBe(CONTACT_CARD_EMBEDDABLE); - - case 2: { - expect(panels[ID].type).toBe(EMPTY_EMBEDDABLE); - subscription.unsubscribe(); - done(); - return; - } - - default: - throw Error('Called too many times!'); - } - }) - ); - - // replace the panel now - container.replaceEmbeddable( - container.getInput().panels[ID].explicitInput.id, - { id: ID }, - EMPTY_EMBEDDABLE - ); -}); - -test('Container view mode change propagates to existing children', async () => { - const container = buildMockDashboard({ - overrides: { - panels: { - '123': getSampleDashboardPanel({ - explicitInput: { firstName: 'Sam', id: '123' }, - type: CONTACT_CARD_EMBEDDABLE, - }), - }, - }, - }); - - const embeddable = await container.untilEmbeddableLoaded('123'); - expect(embeddable.getInput().viewMode).toBe(ViewMode.VIEW); - container.updateInput({ viewMode: ViewMode.EDIT }); - expect(embeddable.getInput().viewMode).toBe(ViewMode.EDIT); -}); - -test('Container view mode change propagates to new children', async () => { - const container = buildMockDashboard(); - const embeddable = await container.addNewEmbeddable< - ContactCardEmbeddableInput, - ContactCardEmbeddableOutput, - ContactCardEmbeddable - >(CONTACT_CARD_EMBEDDABLE, { - firstName: 'Bob', - }); - - expect(embeddable.getInput().viewMode).toBe(ViewMode.VIEW); - - container.updateInput({ viewMode: ViewMode.EDIT }); - - expect(embeddable.getInput().viewMode).toBe(ViewMode.EDIT); -}); - -test('searchSessionId propagates to children', async () => { - const searchSessionId1 = 'searchSessionId1'; - const sampleInput = getSampleDashboardInput(); - const container = new DashboardContainer( - sampleInput, - mockedReduxEmbeddablePackage, - searchSessionId1, - 0, - undefined, - undefined, - { - anyMigrationRun: false, - isEmbeddedExternally: false, - lastSavedInput: sampleInput, - lastSavedId: undefined, - managed: false, - fullScreenMode: false, - } - ); - container?.setControlGroupApi(mockControlGroupApi); - const embeddable = await container.addNewEmbeddable< - ContactCardEmbeddableInput, - ContactCardEmbeddableOutput, - ContactCardEmbeddable - >(CONTACT_CARD_EMBEDDABLE, { - firstName: 'Bob', - }); - - expect(embeddable.getInput().searchSessionId).toBe(searchSessionId1); -}); - -describe('getInheritedInput', () => { - const dashboardTimeRange = { - to: 'now', - from: 'now-15m', - }; - const dashboardTimeslice = [1688061910000, 1688062209000] as [number, number]; - - test('Should pass dashboard timeRange and timeslice to panel when panel does not have custom time range', async () => { - const container = buildMockDashboard(); - container.updateInput({ - timeRange: dashboardTimeRange, - timeslice: dashboardTimeslice, - }); - const embeddable = await container.addNewEmbeddable( - CONTACT_CARD_EMBEDDABLE, - { - firstName: 'Kibana', - } - ); - expect(embeddable).toBeDefined(); - - const embeddableInput = container - .getChild(embeddable.id) - .getInput() as ContactCardEmbeddableInput & { - timeRange: TimeRange; - timeslice: [number, number]; - }; - expect(embeddableInput.timeRange).toEqual(dashboardTimeRange); - expect(embeddableInput.timeslice).toEqual(dashboardTimeslice); - }); - - test('Should not pass dashboard timeRange and timeslice to panel when panel has custom time range', async () => { - const container = buildMockDashboard(); - container.updateInput({ - timeRange: dashboardTimeRange, - timeslice: dashboardTimeslice, - }); - const embeddableTimeRange = { - to: 'now', - from: 'now-24h', - }; - const embeddable = await container.addNewEmbeddable< - ContactCardEmbeddableInput & { timeRange: TimeRange } - >(CONTACT_CARD_EMBEDDABLE, { - firstName: 'Kibana', - timeRange: embeddableTimeRange, - }); - - const embeddableInput = container - .getChild(embeddable.id) - .getInput() as ContactCardEmbeddableInput & { - timeRange: TimeRange; - timeslice: [number, number]; - }; - expect(embeddableInput.timeRange).toEqual(embeddableTimeRange); - expect(embeddableInput.timeslice).toBeUndefined(); - }); - - test('Should pass dashboard settings to inherited input', async () => { - const container = buildMockDashboard({}); - const embeddable = await container.addNewEmbeddable( - CONTACT_CARD_EMBEDDABLE, - { - firstName: 'Kibana', - } - ); - expect(embeddable).toBeDefined(); - - const embeddableInput = container - .getChild(embeddable.id) - .getInput() as ContactCardEmbeddableInput & { - timeRange: TimeRange; - timeslice: [number, number]; - }; - expect(embeddableInput.syncTooltips).toBe(false); - expect(embeddableInput.syncColors).toBe(false); - expect(embeddableInput.syncCursor).toBe(true); - }); -}); diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.tsx b/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.tsx deleted file mode 100644 index 7063414ccca7c..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.tsx +++ /dev/null @@ -1,979 +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 deepEqual from 'fast-deep-equal'; -import { omit } from 'lodash'; -import React from 'react'; -import ReactDOM from 'react-dom'; -import { - BehaviorSubject, - Subject, - Subscription, - distinctUntilChanged, - first, - map, - skipWhile, - switchMap, -} from 'rxjs'; -import { v4 } from 'uuid'; - -import { METRIC_TYPE } from '@kbn/analytics'; -import type { Reference } from '@kbn/content-management-utils'; -import { ControlGroupApi } from '@kbn/controls-plugin/public'; -import type { KibanaExecutionContext, OverlayRef } from '@kbn/core/public'; -import { RefreshInterval } from '@kbn/data-plugin/public'; -import type { DataView } from '@kbn/data-views-plugin/public'; -import { - Container, - DefaultEmbeddableApi, - EmbeddableFactoryNotFoundError, - PanelNotFoundError, - ViewMode, - embeddableInputToSubject, - isExplicitInputWithAttributes, - type EmbeddableFactory, - type EmbeddableInput, - type EmbeddableOutput, - type IEmbeddable, -} from '@kbn/embeddable-plugin/public'; -import type { AggregateQuery, Filter, Query, TimeRange } from '@kbn/es-query'; -import { - HasRuntimeChildState, - HasSaveNotification, - HasSerializedChildState, - PanelPackage, - TrackContentfulRender, - TracksQueryPerformance, - combineCompatibleChildrenApis, -} from '@kbn/presentation-containers'; -import { PublishesSettings } from '@kbn/presentation-containers/interfaces/publishes_settings'; -import { apiHasSerializableState } from '@kbn/presentation-containers/interfaces/serialized_state'; -import { - PublishesDataLoading, - PublishesViewMode, - apiPublishesDataLoading, - apiPublishesPanelTitle, - apiPublishesUnsavedChanges, - getPanelTitle, - type PublishingSubject, -} from '@kbn/presentation-publishing'; -import { ReduxEmbeddableTools, ReduxToolsPackage } from '@kbn/presentation-util-plugin/public'; -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'; -import { - getReferencesForControls, - getReferencesForPanelId, -} from '../../../common/dashboard_container/persistable_state/dashboard_container_references'; -import { DashboardContext } from '../../dashboard_api/use_dashboard_api'; -import { getPanelAddedSuccessString } from '../../dashboard_app/_dashboard_app_strings'; -import { - DASHBOARD_APP_ID, - DASHBOARD_UI_METRIC_ID, - DEFAULT_PANEL_HEIGHT, - DEFAULT_PANEL_WIDTH, - PanelPlacementStrategy, -} from '../../dashboard_constants'; -import { PANELS_CONTROL_GROUP_KEY } from '../../services/dashboard_backup_service'; -import { getDashboardContentManagementService } from '../../services/dashboard_content_management_service'; -import { - coreServices, - dataService, - embeddableService, - usageCollectionService, -} from '../../services/kibana_services'; -import { getDashboardCapabilities } from '../../utils/get_dashboard_capabilities'; -import { DashboardViewport } from '../component/viewport/dashboard_viewport'; -import { placePanel } from '../panel_placement'; -import { getDashboardPanelPlacementSetting } from '../panel_placement/panel_placement_registry'; -import { runPanelPlacementStrategy } from '../panel_placement/place_new_panel_strategies'; -import { dashboardContainerReducers } from '../state/dashboard_container_reducers'; -import { getDiffingMiddleware } from '../state/diffing/dashboard_diffing_integration'; -import { DashboardReduxState, DashboardStateFromSettingsFlyout, UnsavedPanelState } from '../types'; -import { addFromLibrary, addOrUpdateEmbeddable, runInteractiveSave, runQuickSave } from './api'; -import { duplicateDashboardPanel } from './api/duplicate_dashboard_panel'; -import { - combineDashboardFiltersWithControlGroupFilters, - startSyncingDashboardControlGroup, -} from './create/controls/dashboard_control_group_integration'; -import { initializeDashboard } from './create/create_dashboard'; -import { - dashboardTypeDisplayLowercase, - dashboardTypeDisplayName, -} from './dashboard_container_factory'; -import { InitialComponentState, getDashboardApi } from '../../dashboard_api/get_dashboard_api'; -import type { DashboardCreationOptions } from '../..'; - -export interface InheritedChildInput { - filters: Filter[]; - query: Query; - timeRange?: TimeRange; - timeslice?: [number, number]; - refreshConfig?: RefreshInterval; - viewMode: ViewMode; - hidePanelTitles?: boolean; - id: string; - searchSessionId?: string; - syncColors?: boolean; - syncCursor?: boolean; - syncTooltips?: boolean; - executionContext?: KibanaExecutionContext; -} - -type DashboardReduxEmbeddableTools = ReduxEmbeddableTools< - DashboardReduxState, - typeof dashboardContainerReducers ->; - -export class DashboardContainer - extends Container - implements - TrackContentfulRender, - TracksQueryPerformance, - HasSaveNotification, - HasRuntimeChildState, - HasSerializedChildState, - PublishesSettings, - Partial -{ - public readonly type = DASHBOARD_CONTAINER_TYPE; - - // state management - public select: DashboardReduxEmbeddableTools['select']; - public getState: DashboardReduxEmbeddableTools['getState']; - public dispatch: DashboardReduxEmbeddableTools['dispatch']; - public onStateChange: DashboardReduxEmbeddableTools['onStateChange']; - public anyReducerRun: Subject = new Subject(); - public setAnimatePanelTransforms: (animate: boolean) => void; - public setManaged: (managed: boolean) => void; - public setHasUnsavedChanges: (hasUnsavedChanges: boolean) => void; - public openOverlay: (ref: OverlayRef, options?: { focusedPanelId?: string }) => void; - public clearOverlays: () => void; - public highlightPanel: (panelRef: HTMLDivElement) => void; - public setScrollToPanelId: (id: string | undefined) => void; - public setFullScreenMode: (fullScreenMode: boolean) => void; - public setExpandedPanelId: (newId?: string) => void; - public setHighlightPanelId: (highlightPanelId: string | undefined) => void; - public setLastSavedInput: (lastSavedInput: DashboardContainerInput) => void; - public lastSavedInput$: PublishingSubject; - public setSavedObjectId: (id: string | undefined) => void; - public expandPanel: (panelId: string) => void; - public scrollToPanel: (panelRef: HTMLDivElement) => Promise; - public scrollToTop: () => void; - - public integrationSubscriptions: Subscription = new Subscription(); - public publishingSubscription: Subscription = new Subscription(); - public diffingSubscription: Subscription = new Subscription(); - public controlGroupApi$: PublishingSubject; - public settings: Record>; - - public searchSessionId?: string; - public lastReloadRequestTime$ = new BehaviorSubject(undefined); - public searchSessionId$ = new BehaviorSubject(undefined); - public reload$ = new Subject(); - public timeRestore$: BehaviorSubject; - public timeslice$: BehaviorSubject<[number, number] | undefined>; - public unifiedSearchFilters$?: PublishingSubject; - public locator?: Pick, 'navigate' | 'getRedirectUrl'>; - - public readonly executionContext: KibanaExecutionContext; - - private domNode?: HTMLElement; - - // performance monitoring - public lastLoadStartTime?: number; - public creationStartTime?: number; - public creationEndTime?: number; - public firstLoad: boolean = true; - private hadContentfulRender = false; - - // setup - public untilContainerInitialized: () => Promise; - - // cleanup - public stopSyncingWithUnifiedSearch?: () => void; - private cleanupStateTools: () => void; - - // Services that are used in the Dashboard container code - private creationOptions?: DashboardCreationOptions; - private showWriteControls: boolean; - - public trackContentfulRender() { - if (!this.hadContentfulRender) { - coreServices.analytics.reportEvent('dashboard_loaded_with_data', {}); - } - this.hadContentfulRender = true; - } - - private trackPanelAddMetric: - | ((type: string, eventNames: string | string[], count?: number | undefined) => void) - | undefined; - // new embeddable framework - public savedObjectReferences: Reference[] = []; - public controlGroupInput: DashboardAttributes['controlGroupInput'] | undefined; - - constructor( - initialInput: DashboardContainerInput, - reduxToolsPackage: ReduxToolsPackage, - initialSessionId?: string, - dashboardCreationStartTime?: number, - parent?: Container, - creationOptions?: DashboardCreationOptions, - initialComponentState?: InitialComponentState - ) { - const controlGroupApi$ = new BehaviorSubject(undefined); - async function untilContainerInitialized(): Promise { - return new Promise((resolve) => { - controlGroupApi$ - .pipe( - skipWhile((controlGroupApi) => !controlGroupApi), - switchMap(async (controlGroupApi) => { - // Bug in main where panels are loaded before control filters are ready - // Want to migrate to react embeddable controls with same behavior - // TODO - do not load panels until control filters are ready - /* - await controlGroupApi?.untilInitialized(); - */ - }), - first() - ) - .subscribe(() => { - resolve(); - }); - }); - } - - super( - { - ...initialInput, - }, - { embeddableLoaded: {} }, - embeddableService.getEmbeddableFactory, - parent, - { untilContainerInitialized } - ); - - ({ showWriteControls: this.showWriteControls } = getDashboardCapabilities()); - - this.controlGroupApi$ = controlGroupApi$; - this.untilContainerInitialized = untilContainerInitialized; - - this.trackPanelAddMetric = usageCollectionService?.reportUiCounter.bind( - usageCollectionService, - DASHBOARD_UI_METRIC_ID - ); - - this.creationOptions = creationOptions; - this.searchSessionId = initialSessionId; - this.searchSessionId$.next(initialSessionId); - this.creationStartTime = dashboardCreationStartTime; - - // start diffing dashboard state - const diffingMiddleware = getDiffingMiddleware.bind(this)(); - - // build redux embeddable tools - const reduxTools = reduxToolsPackage.createReduxEmbeddableTools< - DashboardReduxState, - typeof dashboardContainerReducers - >({ - embeddable: this, - reducers: dashboardContainerReducers, - additionalMiddleware: [diffingMiddleware], - }); - this.onStateChange = reduxTools.onStateChange; - this.cleanupStateTools = reduxTools.cleanup; - this.getState = reduxTools.getState; - this.dispatch = reduxTools.dispatch; - this.select = reduxTools.select; - - this.uuid$ = embeddableInputToSubject( - this.publishingSubscription, - this, - 'id' - ) as BehaviorSubject; - - const dashboardApi = getDashboardApi( - initialComponentState - ? initialComponentState - : { - anyMigrationRun: false, - isEmbeddedExternally: false, - lastSavedInput: initialInput, - lastSavedId: undefined, - fullScreenMode: false, - managed: false, - }, - (id: string) => this.untilEmbeddableLoaded(id) - ); - this.animatePanelTransforms$ = dashboardApi.animatePanelTransforms$; - this.fullScreenMode$ = dashboardApi.fullScreenMode$; - this.hasUnsavedChanges$ = dashboardApi.hasUnsavedChanges$; - this.isEmbeddedExternally = dashboardApi.isEmbeddedExternally; - this.managed$ = dashboardApi.managed$; - this.setAnimatePanelTransforms = dashboardApi.setAnimatePanelTransforms; - this.setFullScreenMode = dashboardApi.setFullScreenMode; - this.setHasUnsavedChanges = dashboardApi.setHasUnsavedChanges; - this.setManaged = dashboardApi.setManaged; - this.expandedPanelId = dashboardApi.expandedPanelId; - this.focusedPanelId$ = dashboardApi.focusedPanelId$; - this.highlightPanelId$ = dashboardApi.highlightPanelId$; - this.highlightPanel = dashboardApi.highlightPanel; - this.setExpandedPanelId = dashboardApi.setExpandedPanelId; - this.setHighlightPanelId = dashboardApi.setHighlightPanelId; - this.scrollToPanelId$ = dashboardApi.scrollToPanelId$; - this.setScrollToPanelId = dashboardApi.setScrollToPanelId; - this.clearOverlays = dashboardApi.clearOverlays; - this.hasOverlays$ = dashboardApi.hasOverlays$; - this.openOverlay = dashboardApi.openOverlay; - this.hasRunMigrations$ = dashboardApi.hasRunMigrations$; - this.setLastSavedInput = dashboardApi.setLastSavedInput; - this.lastSavedInput$ = dashboardApi.lastSavedInput$; - this.savedObjectId = dashboardApi.savedObjectId; - this.setSavedObjectId = dashboardApi.setSavedObjectId; - this.expandPanel = dashboardApi.expandPanel; - this.scrollToPanel = dashboardApi.scrollToPanel; - this.scrollToTop = dashboardApi.scrollToTop; - - this.useMargins$ = new BehaviorSubject(this.getState().explicitInput.useMargins); - this.panels$ = new BehaviorSubject(this.getState().explicitInput.panels); - this.publishingSubscription.add( - this.onStateChange(() => { - const state = this.getState(); - if (this.useMargins$.value !== state.explicitInput.useMargins) { - this.useMargins$.next(state.explicitInput.useMargins); - } - if (this.panels$.value !== state.explicitInput.panels) { - this.panels$.next(state.explicitInput.panels); - } - }) - ); - - this.startAuditingReactEmbeddableChildren(); - - this.settings = { - syncColors$: embeddableInputToSubject( - this.publishingSubscription, - this, - 'syncColors' - ), - syncCursor$: embeddableInputToSubject( - this.publishingSubscription, - this, - 'syncCursor' - ), - syncTooltips$: embeddableInputToSubject( - this.publishingSubscription, - this, - 'syncTooltips' - ), - }; - this.timeRestore$ = embeddableInputToSubject( - this.publishingSubscription, - this, - 'timeRestore' - ); - this.timeslice$ = embeddableInputToSubject< - [number, number] | undefined, - DashboardContainerInput - >(this.publishingSubscription, this, 'timeslice'); - this.lastReloadRequestTime$ = embeddableInputToSubject< - string | undefined, - DashboardContainerInput - >(this.publishingSubscription, this, 'lastReloadRequestTime'); - - startSyncingDashboardControlGroup(this); - - this.executionContext = initialInput.executionContext; - - this.dataLoading = new BehaviorSubject(false); - this.publishingSubscription.add( - combineCompatibleChildrenApis( - this, - 'dataLoading', - apiPublishesDataLoading, - undefined, - // flatten method - (values) => { - return values.some((isLoading) => isLoading); - } - ).subscribe((isAtLeastOneChildLoading) => { - (this.dataLoading as BehaviorSubject).next(isAtLeastOneChildLoading); - }) - ); - - this.dataViews = new BehaviorSubject([]); - - const query$ = new BehaviorSubject(this.getInput().query); - this.query$ = query$; - this.publishingSubscription.add( - this.getInput$().subscribe((input) => { - if (!deepEqual(query$.getValue() ?? [], input.query)) { - query$.next(input.query); - } - }) - ); - } - - public setControlGroupApi(controlGroupApi: ControlGroupApi) { - (this.controlGroupApi$ as BehaviorSubject).next(controlGroupApi); - } - - public getAppContext() { - const embeddableAppContext = this.creationOptions?.getEmbeddableAppContext?.( - this.savedObjectId.value - ); - return { - ...embeddableAppContext, - currentAppId: embeddableAppContext?.currentAppId ?? DASHBOARD_APP_ID, - }; - } - - protected createNewPanelState< - TEmbeddableInput extends EmbeddableInput, - TEmbeddable extends IEmbeddable - >( - factory: EmbeddableFactory, - partial: Partial = {}, - attributes?: unknown - ): { - newPanel: DashboardPanelState; - otherPanels: DashboardContainerInput['panels']; - } { - const { newPanel } = super.createNewPanelState(factory, partial, attributes); - return placePanel(factory, newPanel, this.input.panels, attributes); - } - - public render(dom: HTMLElement) { - if (this.domNode) { - ReactDOM.unmountComponentAtNode(this.domNode); - } - this.domNode = dom; - this.domNode.className = 'dashboardContainer'; - - ReactDOM.render( - - - - - - - , - dom - ); - } - - public updateInput(changes: Partial): void { - // block the Dashboard from entering edit mode if this Dashboard is managed. - if ( - (this.managed$.value || !this.showWriteControls) && - changes.viewMode?.toLowerCase() === ViewMode.EDIT?.toLowerCase() - ) { - const { viewMode, ...rest } = changes; - super.updateInput(rest); - return; - } - super.updateInput(changes); - } - - protected getInheritedInput(id: string): InheritedChildInput { - const { - query, - filters, - viewMode, - timeRange, - timeslice, - syncColors, - syncTooltips, - syncCursor, - hidePanelTitles, - refreshInterval, - executionContext, - panels, - } = this.input; - - const combinedFilters = combineDashboardFiltersWithControlGroupFilters( - filters, - this.controlGroupApi$?.value - ); - const hasCustomTimeRange = Boolean( - (panels[id]?.explicitInput as Partial)?.timeRange - ); - return { - searchSessionId: this.searchSessionId, - refreshConfig: refreshInterval, - filters: combinedFilters, - hidePanelTitles, - executionContext, - syncTooltips, - syncColors, - syncCursor, - viewMode, - query, - id, - // do not pass any time information from dashboard to panel when panel has custom time range - // to avoid confusing panel which timeRange should be used - timeRange: hasCustomTimeRange ? undefined : timeRange, - timeslice: hasCustomTimeRange ? undefined : timeslice, - }; - } - - // ------------------------------------------------------------------------------------------------------ - // Cleanup - // ------------------------------------------------------------------------------------------------------ - public destroy() { - super.destroy(); - this.cleanupStateTools(); - this.diffingSubscription.unsubscribe(); - this.publishingSubscription.unsubscribe(); - this.integrationSubscriptions.unsubscribe(); - this.stopSyncingWithUnifiedSearch?.(); - if (this.domNode) ReactDOM.unmountComponentAtNode(this.domNode); - } - - // ------------------------------------------------------------------------------------------------------ - // Dashboard API - // ------------------------------------------------------------------------------------------------------ - public runInteractiveSave = runInteractiveSave; - public runQuickSave = runQuickSave; - - public addFromLibrary = addFromLibrary; - - public duplicatePanel(id: string) { - duplicateDashboardPanel.bind(this)(id); - } - - public canRemovePanels = () => this.expandedPanelId.value === undefined; - - public getTypeDisplayName = () => dashboardTypeDisplayName; - public getTypeDisplayNameLowerCase = () => dashboardTypeDisplayLowercase; - - public savedObjectId: BehaviorSubject; - public expandedPanelId: BehaviorSubject; - public focusedPanelId$: BehaviorSubject; - public managed$: BehaviorSubject; - public fullScreenMode$: BehaviorSubject; - public hasRunMigrations$: BehaviorSubject; - public hasUnsavedChanges$: BehaviorSubject; - public hasOverlays$: BehaviorSubject; - public useMargins$: BehaviorSubject; - public scrollToPanelId$: BehaviorSubject; - public highlightPanelId$: BehaviorSubject; - public animatePanelTransforms$: BehaviorSubject; - public panels$: BehaviorSubject; - public isEmbeddedExternally: boolean; - public uuid$: BehaviorSubject; - - public async replacePanel(idToRemove: string, { panelType, initialState }: PanelPackage) { - const newId = await this.replaceEmbeddable( - idToRemove, - initialState as Partial, - panelType, - true - ); - if (this.expandedPanelId.value !== undefined) { - this.setExpandedPanelId(newId); - } - this.setHighlightPanelId(newId); - return newId; - } - - public async addNewPanel( - panelPackage: PanelPackage, - displaySuccessMessage?: boolean - ) { - const onSuccess = (id?: string, title?: string) => { - if (!displaySuccessMessage) return; - coreServices.notifications.toasts.addSuccess({ - title: getPanelAddedSuccessString(title), - 'data-test-subj': 'addEmbeddableToDashboardSuccess', - }); - this.setScrollToPanelId(id); - this.setHighlightPanelId(id); - }; - - if (this.trackPanelAddMetric) { - this.trackPanelAddMetric(METRIC_TYPE.CLICK, panelPackage.panelType); - } - if (embeddableService.reactEmbeddableRegistryHasKey(panelPackage.panelType)) { - const newId = v4(); - - const getCustomPlacementSettingFunc = getDashboardPanelPlacementSetting( - panelPackage.panelType - ); - - const customPlacementSettings = getCustomPlacementSettingFunc - ? await getCustomPlacementSettingFunc(panelPackage.initialState) - : {}; - - const placementSettings = { - width: DEFAULT_PANEL_WIDTH, - height: DEFAULT_PANEL_HEIGHT, - strategy: PanelPlacementStrategy.findTopLeftMostOpenSpace, - ...customPlacementSettings, - }; - - const { width, height, strategy } = placementSettings; - - const { newPanelPlacement, otherPanels } = runPanelPlacementStrategy(strategy, { - currentPanels: this.getInput().panels, - height, - width, - }); - const newPanel: DashboardPanelState = { - type: panelPackage.panelType, - gridData: { - ...newPanelPlacement, - i: newId, - }, - explicitInput: { - id: newId, - }, - }; - if (panelPackage.initialState) { - this.setRuntimeStateForChild(newId, panelPackage.initialState); - } - this.updateInput({ panels: { ...otherPanels, [newId]: newPanel } }); - onSuccess(newId, newPanel.explicitInput.title); - return await this.untilReactEmbeddableLoaded(newId); - } - - const embeddableFactory = embeddableService.getEmbeddableFactory(panelPackage.panelType); - if (!embeddableFactory) { - throw new EmbeddableFactoryNotFoundError(panelPackage.panelType); - } - const initialInput = panelPackage.initialState as Partial; - - let explicitInput: Partial; - let attributes: unknown; - try { - if (initialInput) { - explicitInput = initialInput; - } else { - const explicitInputReturn = await embeddableFactory.getExplicitInput(undefined, this); - if (isExplicitInputWithAttributes(explicitInputReturn)) { - explicitInput = explicitInputReturn.newInput; - attributes = explicitInputReturn.attributes; - } else { - explicitInput = explicitInputReturn; - } - } - } catch (e) { - // error likely means user canceled embeddable creation - return; - } - - const newEmbeddable = await this.addNewEmbeddable( - embeddableFactory.type, - explicitInput, - attributes - ); - - if (newEmbeddable) { - onSuccess(newEmbeddable.id, newEmbeddable.getTitle()); - } - return newEmbeddable as ApiType; - } - - public getDashboardPanelFromId = async (panelId: string) => { - const panel = this.getInput().panels[panelId]; - if (embeddableService.reactEmbeddableRegistryHasKey(panel.type)) { - const child = this.children$.value[panelId]; - if (!child) throw new PanelNotFoundError(); - const serialized = apiHasSerializableState(child) - ? await child.serializeState() - : { rawState: {} }; - return { - type: panel.type, - explicitInput: { ...panel.explicitInput, ...serialized.rawState }, - gridData: panel.gridData, - references: serialized.references, - }; - } - return panel; - }; - - public addOrUpdateEmbeddable = addOrUpdateEmbeddable; - - public forceRefresh(refreshControlGroup: boolean = true) { - this.dispatch.setLastReloadRequestTimeToNow({}); - if (refreshControlGroup) { - // only reload all panels if this refresh does not come from the control group. - this.reload$.next(); - } - } - - public async asyncResetToLastSavedState() { - this.dispatch.resetToLastSavedInput(this.lastSavedInput$.value); - const { - explicitInput: { timeRange, refreshInterval }, - } = this.getState(); - - const { timeRestore: lastSavedTimeRestore } = this.lastSavedInput$.value; - - if (this.controlGroupApi$.value) { - await this.controlGroupApi$.value.asyncResetUnsavedChanges(); - } - - // if we are using the unified search integration, we need to force reset the time picker. - if (this.creationOptions?.useUnifiedSearchIntegration && lastSavedTimeRestore) { - const timeFilterService = dataService.query.timefilter.timefilter; - if (timeRange) timeFilterService.setTime(timeRange); - if (refreshInterval) timeFilterService.setRefreshInterval(refreshInterval); - } - this.resetAllReactEmbeddables(); - } - - public navigateToDashboard = async ( - newSavedObjectId?: string, - newCreationOptions?: Partial - ) => { - this.integrationSubscriptions.unsubscribe(); - this.integrationSubscriptions = new Subscription(); - this.stopSyncingWithUnifiedSearch?.(); - - if (newCreationOptions) { - this.creationOptions = { ...this.creationOptions, ...newCreationOptions }; - } - const loadDashboardReturn = await getDashboardContentManagementService().loadDashboardState({ - id: newSavedObjectId, - }); - - const dashboardContainerReady$ = new Subject(); - const untilDashboardReady = () => - new Promise((resolve) => { - const subscription = dashboardContainerReady$.subscribe((container) => { - subscription.unsubscribe(); - resolve(container); - }); - }); - - const initializeResult = await initializeDashboard({ - creationOptions: this.creationOptions, - untilDashboardReady, - loadDashboardReturn, - }); - if (!initializeResult) return; - const { input: newInput, searchSessionId } = initializeResult; - - this.searchSessionId = searchSessionId; - this.searchSessionId$.next(searchSessionId); - - this.setAnimatePanelTransforms(false); // prevents panels from animating on navigate. - this.setManaged(loadDashboardReturn?.managed ?? false); - this.setExpandedPanelId(undefined); - this.setLastSavedInput(omit(loadDashboardReturn?.dashboardInput, 'controlGroupInput')); - this.setSavedObjectId(newSavedObjectId); - this.firstLoad = true; - this.updateInput(newInput); - dashboardContainerReady$.next(this); - }; - - /** - * Use this to set the dataviews that are used in the dashboard when they change/update - * @param newDataViews The new array of dataviews that will overwrite the old dataviews array - */ - public setAllDataViews = (newDataViews: DataView[]) => { - (this.dataViews as BehaviorSubject).next(newDataViews); - }; - - public getPanelsState = () => { - return this.getState().explicitInput.panels; - }; - - public getSettings = (): DashboardStateFromSettingsFlyout => { - const state = this.getState(); - return { - description: state.explicitInput.description, - hidePanelTitles: state.explicitInput.hidePanelTitles, - syncColors: state.explicitInput.syncColors, - syncCursor: state.explicitInput.syncCursor, - syncTooltips: state.explicitInput.syncTooltips, - tags: state.explicitInput.tags, - timeRestore: state.explicitInput.timeRestore, - title: state.explicitInput.title, - useMargins: state.explicitInput.useMargins, - }; - }; - - public setSettings = (settings: DashboardStateFromSettingsFlyout) => { - this.dispatch.setStateFromSettingsFlyout(settings); - }; - - public setViewMode = (viewMode: ViewMode) => { - // block the Dashboard from entering edit mode if this Dashboard is managed. - if (this.managed$.value && viewMode?.toLowerCase() === ViewMode.EDIT) { - return; - } - this.dispatch.setViewMode(viewMode); - }; - - public setQuery = (query?: Query | undefined) => this.updateInput({ query }); - - public setFilters = (filters?: Filter[] | undefined) => this.updateInput({ filters }); - - public setTags = (tags: string[]) => { - this.updateInput({ tags }); - }; - - public getPanelCount = () => { - return Object.keys(this.getInput().panels).length; - }; - - public async getPanelTitles(): Promise { - const titles: string[] = []; - for (const [id, panel] of Object.entries(this.getInput().panels)) { - const title = await (async () => { - if (embeddableService.reactEmbeddableRegistryHasKey(panel.type)) { - const child = this.children$.value[id]; - return apiPublishesPanelTitle(child) ? getPanelTitle(child) : ''; - } - await this.untilEmbeddableLoaded(id); - const child: IEmbeddable = this.getChild(id); - if (!child) return undefined; - return child.getTitle(); - })(); - if (title) titles.push(title); - } - return titles; - } - - public setPanels = (panels: DashboardPanelMap) => { - this.dispatch.setPanels(panels); - }; - - // ------------------------------------------------------------------------------------------------------ - // React Embeddable system - // ------------------------------------------------------------------------------------------------------ - public registerChildApi = (api: DefaultEmbeddableApi) => { - this.children$.next({ - ...this.children$.value, - [api.uuid]: api as DefaultEmbeddableApi, - }); - }; - - public saveNotification$: Subject = new Subject(); - - public getSerializedStateForChild = (childId: string) => { - const rawState = this.getInput().panels[childId].explicitInput; - const { id, ...serializedState } = rawState; - if (!rawState || Object.keys(serializedState).length === 0) return; - const references = getReferencesForPanelId(childId, this.savedObjectReferences); - return { - rawState, - // references from old installations may not be prefixed with panel id - // fall back to passing all references in these cases to preserve backwards compatability - references: references.length > 0 ? references : this.savedObjectReferences, - }; - }; - - public getSerializedStateForControlGroup = () => { - return { - rawState: this.controlGroupInput - ? this.controlGroupInput - : { - labelPosition: 'oneLine', - chainingSystem: 'HIERARCHICAL', - autoApplySelections: true, - controls: [], - ignoreParentSettings: { - ignoreFilters: false, - ignoreQuery: false, - ignoreTimerange: false, - ignoreValidations: false, - }, - }, - references: getReferencesForControls(this.savedObjectReferences), - }; - }; - - private restoredRuntimeState: UnsavedPanelState | undefined = undefined; - public setRuntimeStateForChild = (childId: string, state: object) => { - const runtimeState = this.restoredRuntimeState ?? {}; - runtimeState[childId] = state; - this.restoredRuntimeState = runtimeState; - }; - public getRuntimeStateForChild = (childId: string) => { - return this.restoredRuntimeState?.[childId]; - }; - - public getRuntimeStateForControlGroup = () => { - return this.getRuntimeStateForChild(PANELS_CONTROL_GROUP_KEY); - }; - - public removePanel(id: string) { - const type = this.getInput().panels[id]?.type; - this.removeEmbeddable(id); - if (embeddableService.reactEmbeddableRegistryHasKey(type)) { - const { [id]: childToRemove, ...otherChildren } = this.children$.value; - this.children$.next(otherChildren); - } - } - - public startAuditingReactEmbeddableChildren = () => { - const auditChildren = () => { - const currentChildren = this.children$.value; - let panelsChanged = false; - for (const panelId of Object.keys(currentChildren)) { - if (!this.getInput().panels[panelId]) { - delete currentChildren[panelId]; - panelsChanged = true; - } - } - if (panelsChanged) this.children$.next(currentChildren); - }; - - // audit children when panels change - this.publishingSubscription.add( - this.getInput$() - .pipe( - map(() => Object.keys(this.getInput().panels)), - distinctUntilChanged(deepEqual) - ) - .subscribe(() => auditChildren()) - ); - auditChildren(); - }; - - public resetAllReactEmbeddables = () => { - this.restoredRuntimeState = undefined; - let resetChangedPanelCount = false; - const currentChildren = this.children$.value; - for (const panelId of Object.keys(currentChildren)) { - if (this.getInput().panels[panelId]) { - const child = currentChildren[panelId]; - 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]; - resetChangedPanelCount = true; - } - } - if (resetChangedPanelCount) this.children$.next(currentChildren); - }; -} diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container_factory.tsx b/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container_factory.tsx deleted file mode 100644 index 52d7d84f67490..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container_factory.tsx +++ /dev/null @@ -1,88 +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 { i18n } from '@kbn/i18n'; -import { EmbeddablePersistableStateService } from '@kbn/embeddable-plugin/common'; -import { - Container, - ContainerOutput, - EmbeddableFactory, - EmbeddableFactoryDefinition, - ErrorEmbeddable, -} from '@kbn/embeddable-plugin/public'; - -import { DASHBOARD_CONTAINER_TYPE } from '..'; -import { createExtract, createInject, DashboardContainerInput } from '../../../common'; -import { DEFAULT_DASHBOARD_INPUT } from '../../dashboard_constants'; -import type { DashboardContainer } from './dashboard_container'; -import type { DashboardCreationOptions } from '../..'; - -export type DashboardContainerFactory = EmbeddableFactory< - DashboardContainerInput, - ContainerOutput, - DashboardContainer ->; - -export const dashboardTypeDisplayName = i18n.translate('dashboard.factory.displayName', { - defaultMessage: 'Dashboard', -}); - -export const dashboardTypeDisplayLowercase = i18n.translate( - 'dashboard.factory.displayNameLowercase', - { - defaultMessage: 'dashboard', - } -); - -export class DashboardContainerFactoryDefinition - implements - EmbeddableFactoryDefinition -{ - public readonly isContainerType = true; - public readonly type = DASHBOARD_CONTAINER_TYPE; - - public inject: EmbeddablePersistableStateService['inject']; - public extract: EmbeddablePersistableStateService['extract']; - - constructor(private readonly persistableStateService: EmbeddablePersistableStateService) { - this.inject = createInject(this.persistableStateService); - this.extract = createExtract(this.persistableStateService); - } - - public isEditable = async () => { - // Currently unused for dashboards - return false; - }; - - public readonly getDisplayName = () => dashboardTypeDisplayName; - - public getDefaultInput(): Partial { - return DEFAULT_DASHBOARD_INPUT; - } - - public create = async ( - initialInput: DashboardContainerInput, - parent?: Container, - creationOptions?: DashboardCreationOptions, - savedObjectId?: string - ): Promise => { - const dashboardCreationStartTime = performance.now(); - const { createDashboard } = await import('./create/create_dashboard'); - try { - const dashboard = await createDashboard( - creationOptions, - dashboardCreationStartTime, - savedObjectId - ); - return dashboard; - } catch (e) { - return new ErrorEmbeddable(e, { id: e.id }); - } - }; -} diff --git a/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.test.tsx b/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.test.tsx deleted file mode 100644 index 6a81a8c4fd601..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.test.tsx +++ /dev/null @@ -1,305 +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 { setStubKibanaServices } from '@kbn/embeddable-plugin/public/mocks'; -import { NotFoundPrompt } from '@kbn/shared-ux-prompt-not-found'; -import { mountWithIntl } from '@kbn/test-jest-helpers'; -import { ReactWrapper } from 'enzyme'; -import React from 'react'; -import { act } from 'react-dom/test-utils'; - -import { SavedObjectNotFound } from '@kbn/kibana-utils-plugin/common'; -import { setStubKibanaServices as setPresentationPanelMocks } from '@kbn/presentation-panel-plugin/public/mocks'; -import { BehaviorSubject } from 'rxjs'; -import { DashboardContainerFactory } from '..'; -import { DashboardCreationOptions } from '../..'; -import { DashboardContainer } from '../embeddable/dashboard_container'; -import { DashboardRenderer } from './dashboard_renderer'; - -jest.mock('../embeddable/dashboard_container_factory', () => ({})); - -describe('dashboard renderer', () => { - let mockDashboardContainer: DashboardContainer; - let mockDashboardFactory: DashboardContainerFactory; - - beforeEach(() => { - mockDashboardContainer = { - destroy: jest.fn(), - render: jest.fn(), - select: jest.fn(), - navigateToDashboard: jest.fn().mockResolvedValue({}), - getInput: jest.fn().mockResolvedValue({}), - } as unknown as DashboardContainer; - mockDashboardFactory = { - create: jest.fn().mockReturnValue(mockDashboardContainer), - } as unknown as DashboardContainerFactory; - // eslint-disable-next-line @typescript-eslint/no-var-requires - require('../embeddable/dashboard_container_factory').DashboardContainerFactoryDefinition = jest - .fn() - .mockReturnValue(mockDashboardFactory); - setPresentationPanelMocks(); - }); - - test('calls create method on the Dashboard embeddable factory', async () => { - await act(async () => { - mountWithIntl(); - }); - expect(mockDashboardFactory.create).toHaveBeenCalled(); - }); - - test('saved object id & creation options are passed to dashboard factory', async () => { - const options: DashboardCreationOptions = { - useSessionStorageIntegration: true, - useUnifiedSearchIntegration: true, - }; - await act(async () => { - mountWithIntl( - Promise.resolve(options)} - /> - ); - }); - expect(mockDashboardFactory.create).toHaveBeenCalledWith( - expect.any(Object), - undefined, - options, - 'saved_object_kibanana' - ); - }); - - test('destroys dashboard container on unmount', async () => { - let wrapper: ReactWrapper; - await act(async () => { - wrapper = await mountWithIntl(); - }); - wrapper!.unmount(); - expect(mockDashboardContainer.destroy).toHaveBeenCalledTimes(1); - }); - - test('calls navigate and does not destroy dashboard container on ID change', async () => { - let wrapper: ReactWrapper; - await act(async () => { - wrapper = await mountWithIntl(); - }); - await act(async () => { - await wrapper.setProps({ savedObjectId: 'saved_object_kibanakiwi' }); - }); - expect(mockDashboardContainer.destroy).not.toHaveBeenCalled(); - expect(mockDashboardContainer.navigateToDashboard).toHaveBeenCalledWith( - 'saved_object_kibanakiwi' - ); - }); - - test('renders and destroys an error embeddable when the dashboard factory create method throws an error', async () => { - const mockErrorEmbeddable = { - error: 'oh my goodness an error', - destroy: jest.fn(), - render: jest.fn(), - } as unknown as DashboardContainer; - mockDashboardFactory = { - create: jest.fn().mockReturnValue(mockErrorEmbeddable), - } as unknown as DashboardContainerFactory; - // eslint-disable-next-line @typescript-eslint/no-var-requires - require('../embeddable/dashboard_container_factory').DashboardContainerFactoryDefinition = jest - .fn() - .mockReturnValue(mockDashboardFactory); - - let wrapper: ReactWrapper; - await act(async () => { - wrapper = await mountWithIntl(); - }); - - expect(mockErrorEmbeddable.render).toHaveBeenCalled(); - wrapper!.unmount(); - expect(mockErrorEmbeddable.destroy).toHaveBeenCalledTimes(1); - }); - - test('creates a new dashboard container when the ID changes, and the first created dashboard resulted in an error', async () => { - // ensure that the first attempt at creating a dashboard results in an error embeddable - const mockErrorEmbeddable = { - error: 'oh my goodness an error', - destroy: jest.fn(), - render: jest.fn(), - } as unknown as DashboardContainer; - const mockErrorFactory = { - create: jest.fn().mockReturnValue(mockErrorEmbeddable), - } as unknown as DashboardContainerFactory; - // eslint-disable-next-line @typescript-eslint/no-var-requires - require('../embeddable/dashboard_container_factory').DashboardContainerFactoryDefinition = jest - .fn() - .mockReturnValue(mockErrorFactory); - - // render the dashboard - it should run into an error and render the error embeddable. - let wrapper: ReactWrapper; - await act(async () => { - wrapper = await mountWithIntl(); - }); - expect(mockErrorEmbeddable.render).toHaveBeenCalled(); - expect(mockErrorFactory.create).toHaveBeenCalledTimes(1); - - // ensure that the next attempt at creating a dashboard is successfull. - const mockSuccessEmbeddable = { - destroy: jest.fn(), - render: jest.fn(), - navigateToDashboard: jest.fn(), - select: jest.fn(), - getInput: jest.fn().mockResolvedValue({}), - } as unknown as DashboardContainer; - const mockSuccessFactory = { - create: jest.fn().mockReturnValue(mockSuccessEmbeddable), - } as unknown as DashboardContainerFactory; - // eslint-disable-next-line @typescript-eslint/no-var-requires - require('../embeddable/dashboard_container_factory').DashboardContainerFactoryDefinition = jest - .fn() - .mockReturnValue(mockSuccessFactory); - - // update the saved object id to trigger another dashboard load. - await act(async () => { - await wrapper.setProps({ savedObjectId: 'saved_object_kibanakiwi' }); - }); - - expect(mockErrorEmbeddable.destroy).toHaveBeenCalled(); - - // because a new dashboard container has been created, we should not call navigate. - expect(mockSuccessEmbeddable.navigateToDashboard).not.toHaveBeenCalled(); - - // instead we should call create on the factory again. - expect(mockSuccessFactory.create).toHaveBeenCalledTimes(1); - }); - - test('renders a 404 page when initial dashboard creation returns a savedObjectNotFound error', async () => { - // mock embeddable dependencies so that the embeddable panel renders - setStubKibanaServices(); - - // ensure that the first attempt at creating a dashboard results in a 404 - const mockErrorEmbeddable = { - error: new SavedObjectNotFound('dashboard', 'gat em'), - destroy: jest.fn(), - render: jest.fn(), - } as unknown as DashboardContainer; - const mockErrorFactory = { - create: jest.fn().mockReturnValue(mockErrorEmbeddable), - } as unknown as DashboardContainerFactory; - // eslint-disable-next-line @typescript-eslint/no-var-requires - require('../embeddable/dashboard_container_factory').DashboardContainerFactoryDefinition = jest - .fn() - .mockReturnValue(mockErrorFactory); - - // render the dashboard - it should run into an error and render the error embeddable. - let wrapper: ReactWrapper; - await act(async () => { - wrapper = await mountWithIntl(); - }); - await wrapper!.update(); - - // The shared UX not found prompt should be rendered. - expect(wrapper!.find(NotFoundPrompt).exists()).toBeTruthy(); - }); - - test('renders a 404 page when dashboard navigation returns a savedObjectNotFound error', async () => { - mockDashboardContainer.navigateToDashboard = jest - .fn() - .mockRejectedValue(new SavedObjectNotFound('dashboard', 'gat em')); - - let wrapper: ReactWrapper; - await act(async () => { - wrapper = await mountWithIntl(); - }); - // The shared UX not found prompt should not be rendered. - expect(wrapper!.find(NotFoundPrompt).exists()).toBeFalsy(); - - expect(mockDashboardContainer.render).toHaveBeenCalled(); - await act(async () => { - await wrapper.setProps({ savedObjectId: 'saved_object_kibanakiwi' }); - }); - await wrapper!.update(); - - // The shared UX not found prompt should be rendered. - expect(wrapper!.find(NotFoundPrompt).exists()).toBeTruthy(); - }); - - test('does not add a class to the parent element when expandedPanelId is undefined', async () => { - let wrapper: ReactWrapper; - await act(async () => { - wrapper = await mountWithIntl( -
- -
- ); - }); - await wrapper!.update(); - - expect( - wrapper!.find('#superParent').getDOMNode().classList.contains('dshDashboardViewportWrapper') - ).toBe(false); - }); - - test('adds a class to the parent element when expandedPanelId is truthy', async () => { - const mockSuccessEmbeddable = { - destroy: jest.fn(), - render: jest.fn(), - navigateToDashboard: jest.fn(), - select: jest.fn().mockReturnValue('WhatAnExpandedPanel'), - getInput: jest.fn().mockResolvedValue({}), - expandedPanelId: new BehaviorSubject('panel1'), - } as unknown as DashboardContainer; - const mockSuccessFactory = { - create: jest.fn().mockReturnValue(mockSuccessEmbeddable), - } as unknown as DashboardContainerFactory; - // eslint-disable-next-line @typescript-eslint/no-var-requires - require('../embeddable/dashboard_container_factory').DashboardContainerFactoryDefinition = jest - .fn() - .mockReturnValue(mockSuccessFactory); - - let wrapper: ReactWrapper; - await act(async () => { - wrapper = await mountWithIntl( -
- -
- ); - }); - - expect( - wrapper!.find('#superParent').getDOMNode().classList.contains('dshDashboardViewportWrapper') - ).toBe(true); - }); - - test('adds a class to apply default background color when dashboard has use margin option set to false', async () => { - const mockUseMarginFalseEmbeddable = { - ...mockDashboardContainer, - getInput: jest.fn().mockResolvedValue({ useMargins: false }), - } as unknown as DashboardContainer; - - const mockUseMarginFalseFactory = { - create: jest.fn().mockReturnValue(mockUseMarginFalseEmbeddable), - } as unknown as DashboardContainerFactory; - // eslint-disable-next-line @typescript-eslint/no-var-requires - require('../embeddable/dashboard_container_factory').DashboardContainerFactoryDefinition = jest - .fn() - .mockReturnValue(mockUseMarginFalseFactory); - - let wrapper: ReactWrapper; - await act(async () => { - wrapper = await mountWithIntl( -
- -
- ); - }); - - expect( - wrapper! - .find('#superParent') - .getDOMNode() - .classList.contains('dshDashboardViewportWrapper--defaultBg') - ).not.toBe(null); - }); -}); diff --git a/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx b/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx index 40b54e42e6ffa..c6b5467e25be8 100644 --- a/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx +++ b/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx @@ -10,24 +10,23 @@ import '../_dashboard_container.scss'; import classNames from 'classnames'; -import React, { useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react'; -import useUnmount from 'react-use/lib/useUnmount'; -import { v4 as uuidv4 } from 'uuid'; +import React, { useEffect, useLayoutEffect, useRef, useState } from 'react'; import { EuiLoadingElastic, EuiLoadingSpinner } from '@elastic/eui'; -import { ErrorEmbeddable, isErrorEmbeddable } from '@kbn/embeddable-plugin/public'; import { SavedObjectNotFound } from '@kbn/kibana-utils-plugin/common'; import { useStateFromPublishingSubject } from '@kbn/presentation-publishing'; import { LocatorPublic } from '@kbn/share-plugin/common'; -import { DashboardContainerInput } from '../../../common'; -import { DashboardApi } from '../../dashboard_api/types'; -import { embeddableService, screenshotModeService } from '../../services/kibana_services'; -import type { DashboardContainer } from '../embeddable/dashboard_container'; -import { DashboardContainerFactoryDefinition } from '../embeddable/dashboard_container_factory'; +import { ExitFullScreenButtonKibanaProvider } from '@kbn/shared-ux-button-exit-full-screen'; +import { DashboardApi, DashboardInternalApi } from '../../dashboard_api/types'; +import { coreServices, screenshotModeService } from '../../services/kibana_services'; import type { DashboardCreationOptions } from '../..'; import { DashboardLocatorParams, DashboardRedirect } from '../types'; import { Dashboard404Page } from './dashboard_404'; +import { DashboardContext } from '../../dashboard_api/use_dashboard_api'; +import { DashboardViewport } from '../component/viewport/dashboard_viewport'; +import { loadDashboardApi } from '../../dashboard_api/load_dashboard_api'; +import { DashboardInternalContext } from '../../dashboard_api/use_dashboard_internal_api'; export interface DashboardRendererProps { onApiAvailable?: (api: DashboardApi) => void; @@ -46,93 +45,55 @@ export function DashboardRenderer({ locator, onApiAvailable, }: DashboardRendererProps) { - const dashboardRoot = useRef(null); const dashboardViewport = useRef(null); - const [loading, setLoading] = useState(true); - const [dashboardContainer, setDashboardContainer] = useState(); - const [fatalError, setFatalError] = useState(); - const [dashboardMissing, setDashboardMissing] = useState(false); - - const id = useMemo(() => uuidv4(), []); + const dashboardContainer = useRef(null); + const [dashboardApi, setDashboardApi] = useState(); + const [dashboardInternalApi, setDashboardInternalApi] = useState< + DashboardInternalApi | undefined + >(); + const [error, setError] = useState(); useEffect(() => { /* In case the locator prop changes, we need to reassign the value in the container */ - if (dashboardContainer) dashboardContainer.locator = locator; - }, [dashboardContainer, locator]); + if (dashboardApi) dashboardApi.locator = locator; + }, [dashboardApi, locator]); useEffect(() => { - /** - * Here we attempt to build a dashboard or navigate to a new dashboard. Clear all error states - * if they exist in case this dashboard loads correctly. - */ - fatalError?.destroy(); - setDashboardMissing(false); - setFatalError(undefined); - - if (dashboardContainer) { - // When a dashboard already exists, don't rebuild it, just set a new id. - dashboardContainer.navigateToDashboard(savedObjectId).catch((e) => { - dashboardContainer?.destroy(); - setDashboardContainer(undefined); - setFatalError(new ErrorEmbeddable(e, { id })); - if (e instanceof SavedObjectNotFound) { - setDashboardMissing(true); - } - }); - return; - } + if (error) setError(undefined); + if (dashboardApi) setDashboardApi(undefined); + if (dashboardInternalApi) setDashboardInternalApi(undefined); - setLoading(true); let canceled = false; - (async () => { - const creationOptions = await getCreationOptions?.(); - - const dashboardFactory = new DashboardContainerFactoryDefinition(embeddableService); - const container = await dashboardFactory.create( - { id } as unknown as DashboardContainerInput, // Input from creationOptions is used instead. - undefined, - creationOptions, - savedObjectId - ); - setLoading(false); - - if (canceled || !container) { - setDashboardContainer(undefined); - container?.destroy(); - return; - } - - if (isErrorEmbeddable(container)) { - setFatalError(container); - if (container.error instanceof SavedObjectNotFound) { - setDashboardMissing(true); + let cleanupDashboardApi: (() => void) | undefined; + loadDashboardApi({ getCreationOptions, savedObjectId }) + .then((results) => { + if (!results) return; + if (canceled) { + results.cleanup(); + return; } - return; - } - if (dashboardRoot.current) { - container.render(dashboardRoot.current); - } + cleanupDashboardApi = results.cleanup; + setDashboardApi(results.api); + setDashboardInternalApi(results.internalApi); + onApiAvailable?.(results.api); + }) + .catch((err) => { + if (!canceled) setError(err); + }); - setDashboardContainer(container); - onApiAvailable?.(container as DashboardApi); - })(); return () => { + cleanupDashboardApi?.(); canceled = true; }; // Disabling exhaustive deps because embeddable should only be created on first render. // eslint-disable-next-line react-hooks/exhaustive-deps }, [savedObjectId]); - useUnmount(() => { - fatalError?.destroy(); - dashboardContainer?.destroy(); - }); - const viewportClasses = classNames( 'dashboardViewport', { 'dashboardViewport--screenshotMode': screenshotModeService.isScreenshotMode() }, - { 'dashboardViewport--loading': loading } + { 'dashboardViewport--loading': !error && !dashboardApi } ); const loadingSpinner = showPlainSpinner ? ( @@ -142,22 +103,43 @@ export function DashboardRenderer({ ); const renderDashboardContents = () => { - if (dashboardMissing) return ; - if (fatalError) return fatalError.render(); - if (loading) return loadingSpinner; - return
; + if (error) { + return error instanceof SavedObjectNotFound ? ( + + ) : ( + error.message + ); + } + + return dashboardApi && dashboardInternalApi ? ( +
+ + + + + + + +
+ ) : ( + loadingSpinner + ); }; return (
- {dashboardViewport?.current && - dashboardContainer && - !isErrorEmbeddable(dashboardContainer) && ( - - )} + {dashboardViewport?.current && dashboardApi && ( + + )} {renderDashboardContents()}
); diff --git a/src/plugins/dashboard/public/dashboard_container/index.ts b/src/plugins/dashboard/public/dashboard_container/index.ts index b4ecb30f3c25d..c3f1989d66cd6 100644 --- a/src/plugins/dashboard/public/dashboard_container/index.ts +++ b/src/plugins/dashboard/public/dashboard_container/index.ts @@ -14,9 +14,6 @@ export const DASHBOARD_CONTAINER_TYPE = 'dashboard'; export const LATEST_DASHBOARD_CONTAINER_VERSION = convertNumberToDashboardVersion(LATEST_VERSION); -export type { DashboardContainer } from './embeddable/dashboard_container'; -export { type DashboardContainerFactory } from './embeddable/dashboard_container_factory'; - export { LazyDashboardRenderer } from './external_api/lazy_dashboard_renderer'; export type { DashboardLocatorParams } from './types'; export type { IProvidesLegacyPanelPlacementSettings } from './panel_placement'; diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/index.ts b/src/plugins/dashboard/public/dashboard_container/panel_placement/index.ts index 81b7c7d6b38ad..d903886695745 100644 --- a/src/plugins/dashboard/public/dashboard_container/panel_placement/index.ts +++ b/src/plugins/dashboard/public/dashboard_container/panel_placement/index.ts @@ -7,8 +7,6 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -export { placePanel } from './place_panel'; - export { placeClonePanel } from './place_clone_panel_strategy'; export { registerDashboardPanelPlacementSetting } from './panel_placement_registry'; diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/place_panel.test.ts b/src/plugins/dashboard/public/dashboard_container/panel_placement/place_panel.test.ts deleted file mode 100644 index 4dabd35a35670..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/panel_placement/place_panel.test.ts +++ /dev/null @@ -1,168 +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 { DashboardPanelState } from '../../../common'; -import { EmbeddableFactory, EmbeddableInput } from '@kbn/embeddable-plugin/public'; -import { CONTACT_CARD_EMBEDDABLE } from '@kbn/embeddable-plugin/public/lib/test_samples'; -import { DEFAULT_PANEL_HEIGHT, DEFAULT_PANEL_WIDTH } from '../../dashboard_constants'; - -import { placePanel } from './place_panel'; -import { IProvidesLegacyPanelPlacementSettings } from './types'; - -interface TestInput extends EmbeddableInput { - test: string; -} -const panels: { [key: string]: DashboardPanelState } = {}; - -test('adds a new panel state in 0,0 position', () => { - const { newPanel: panelState } = placePanel( - {} as unknown as EmbeddableFactory, - { - type: CONTACT_CARD_EMBEDDABLE, - explicitInput: { test: 'hi', id: '123' }, - }, - panels - ); - expect(panelState.explicitInput.test).toBe('hi'); - expect(panelState.type).toBe(CONTACT_CARD_EMBEDDABLE); - expect(panelState.explicitInput.id).toBeDefined(); - expect(panelState.gridData.x).toBe(0); - expect(panelState.gridData.y).toBe(0); - expect(panelState.gridData.h).toBe(DEFAULT_PANEL_HEIGHT); - expect(panelState.gridData.w).toBe(DEFAULT_PANEL_WIDTH); - - panels[panelState.explicitInput.id] = panelState; -}); - -test('adds a second new panel state', () => { - const { newPanel: panelState } = placePanel( - {} as unknown as EmbeddableFactory, - { type: CONTACT_CARD_EMBEDDABLE, explicitInput: { test: 'bye', id: '456' } }, - panels - ); - - expect(panelState.gridData.x).toBe(DEFAULT_PANEL_WIDTH); - expect(panelState.gridData.y).toBe(0); - expect(panelState.gridData.h).toBe(DEFAULT_PANEL_HEIGHT); - expect(panelState.gridData.w).toBe(DEFAULT_PANEL_WIDTH); - - panels[panelState.explicitInput.id] = panelState; -}); - -test('adds a third new panel state', () => { - const { newPanel: panelState } = placePanel( - {} as unknown as EmbeddableFactory, - { - type: CONTACT_CARD_EMBEDDABLE, - explicitInput: { test: 'bye', id: '789' }, - }, - panels - ); - expect(panelState.gridData.x).toBe(0); - expect(panelState.gridData.y).toBe(DEFAULT_PANEL_HEIGHT); - expect(panelState.gridData.h).toBe(DEFAULT_PANEL_HEIGHT); - expect(panelState.gridData.w).toBe(DEFAULT_PANEL_WIDTH); - - panels[panelState.explicitInput.id] = panelState; -}); - -test('adds a new panel state in the top most position when it is open', () => { - // deleting panel 456 means that the top leftmost open position will be at the top of the Dashboard. - delete panels['456']; - const { newPanel: panelState } = placePanel( - {} as unknown as EmbeddableFactory, - { - type: CONTACT_CARD_EMBEDDABLE, - explicitInput: { test: 'bye', id: '987' }, - }, - panels - ); - expect(panelState.gridData.x).toBe(DEFAULT_PANEL_WIDTH); - expect(panelState.gridData.y).toBe(0); - expect(panelState.gridData.h).toBe(DEFAULT_PANEL_HEIGHT); - expect(panelState.gridData.w).toBe(DEFAULT_PANEL_WIDTH); - - // replace the topmost panel. - panels[panelState.explicitInput.id] = panelState; -}); - -test('adds a new panel state at the very top of the Dashboard with default sizing', () => { - const embeddableFactoryStub: IProvidesLegacyPanelPlacementSettings = { - getLegacyPanelPlacementSettings: jest.fn().mockImplementation(() => { - return { strategy: 'placeAtTop' }; - }), - }; - - const { newPanel: panelState } = placePanel( - embeddableFactoryStub as unknown as EmbeddableFactory, - { - type: CONTACT_CARD_EMBEDDABLE, - explicitInput: { test: 'wowee', id: '9001' }, - }, - panels - ); - expect(panelState.gridData.x).toBe(0); - expect(panelState.gridData.y).toBe(0); - expect(panelState.gridData.h).toBe(DEFAULT_PANEL_HEIGHT); - expect(panelState.gridData.w).toBe(DEFAULT_PANEL_WIDTH); - - expect(embeddableFactoryStub.getLegacyPanelPlacementSettings).toHaveBeenCalledWith( - { id: '9001', test: 'wowee' }, - undefined - ); -}); - -test('adds a new panel state at the very top of the Dashboard with custom sizing', () => { - const embeddableFactoryStub: IProvidesLegacyPanelPlacementSettings = { - getLegacyPanelPlacementSettings: jest.fn().mockImplementation(() => { - return { strategy: 'placeAtTop', width: 10, height: 5 }; - }), - }; - - const { newPanel: panelState } = placePanel( - embeddableFactoryStub as unknown as EmbeddableFactory, - { - type: CONTACT_CARD_EMBEDDABLE, - explicitInput: { test: 'woweee', id: '9002' }, - }, - panels - ); - expect(panelState.gridData.x).toBe(0); - expect(panelState.gridData.y).toBe(0); - expect(panelState.gridData.h).toBe(5); - expect(panelState.gridData.w).toBe(10); - - expect(embeddableFactoryStub.getLegacyPanelPlacementSettings).toHaveBeenCalledWith( - { id: '9002', test: 'woweee' }, - undefined - ); -}); - -test('passes through given attributes', () => { - const embeddableFactoryStub: IProvidesLegacyPanelPlacementSettings = { - getLegacyPanelPlacementSettings: jest.fn().mockImplementation(() => { - return { strategy: 'placeAtTop', width: 10, height: 5 }; - }), - }; - - placePanel( - embeddableFactoryStub as unknown as EmbeddableFactory, - { - type: CONTACT_CARD_EMBEDDABLE, - explicitInput: { test: 'wow', id: '9004' }, - }, - panels, - { testAttr: 'hello' } - ); - - expect(embeddableFactoryStub.getLegacyPanelPlacementSettings).toHaveBeenCalledWith( - { id: '9004', test: 'wow' }, - { testAttr: 'hello' } - ); -}); diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/place_panel.ts b/src/plugins/dashboard/public/dashboard_container/panel_placement/place_panel.ts deleted file mode 100644 index 488cb6f1d463d..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/panel_placement/place_panel.ts +++ /dev/null @@ -1,65 +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 { PanelState, EmbeddableInput, EmbeddableFactory } from '@kbn/embeddable-plugin/public'; - -import { DashboardPanelState } from '../../../common'; -import { IProvidesLegacyPanelPlacementSettings } from './types'; -import { runPanelPlacementStrategy } from './place_new_panel_strategies'; -import { - DEFAULT_PANEL_HEIGHT, - DEFAULT_PANEL_WIDTH, - PanelPlacementStrategy, -} from '../../dashboard_constants'; - -export const providesLegacyPanelPlacementSettings = ( - value: unknown -): value is IProvidesLegacyPanelPlacementSettings => { - return Boolean((value as IProvidesLegacyPanelPlacementSettings).getLegacyPanelPlacementSettings); -}; - -export function placePanel( - factory: EmbeddableFactory, - newPanel: PanelState, - currentPanels: { [key: string]: DashboardPanelState }, - attributes?: unknown -): { - newPanel: DashboardPanelState; - otherPanels: { [key: string]: DashboardPanelState }; -} { - let placementSettings = { - width: DEFAULT_PANEL_WIDTH, - height: DEFAULT_PANEL_HEIGHT, - strategy: PanelPlacementStrategy.findTopLeftMostOpenSpace, - }; - if (providesLegacyPanelPlacementSettings(factory)) { - placementSettings = { - ...placementSettings, - ...factory.getLegacyPanelPlacementSettings(newPanel.explicitInput, attributes), - }; - } - const { width, height, strategy } = placementSettings; - - const { newPanelPlacement, otherPanels } = runPanelPlacementStrategy(strategy, { - currentPanels, - height, - width, - }); - - return { - newPanel: { - gridData: { - ...newPanelPlacement, - i: newPanel.explicitInput.id, - }, - ...newPanel, - }, - otherPanels, - }; -} diff --git a/src/plugins/dashboard/public/dashboard_container/state/dashboard_container_reducers.ts b/src/plugins/dashboard/public/dashboard_container/state/dashboard_container_reducers.ts deleted file mode 100644 index c0c39b0ffd284..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/state/dashboard_container_reducers.ts +++ /dev/null @@ -1,173 +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 { PayloadAction } from '@reduxjs/toolkit'; - -import { isFilterPinned } from '@kbn/es-query'; -import { - DashboardReduxState, - DashboardStateFromSaveModal, - DashboardStateFromSettingsFlyout, -} from '../types'; -import { DashboardContainerInput } from '../../../common'; - -export const dashboardContainerReducers = { - // ------------------------------------------------------------------------------ - // Content Reducers - // ------------------------------------------------------------------------------ - setPanels: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - state.explicitInput.panels = action.payload; - }, - - // ------------------------------------------------------------------------------ - // Meta info Reducers - // ------------------------------------------------------------------------------ - setStateFromSaveModal: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - state.explicitInput.tags = action.payload.tags; - state.explicitInput.title = action.payload.title; - state.explicitInput.description = action.payload.description; - state.explicitInput.timeRestore = action.payload.timeRestore; - - if (action.payload.refreshInterval) { - state.explicitInput.refreshInterval = action.payload.refreshInterval; - } - if (action.payload.timeRange) { - state.explicitInput.timeRange = action.payload.timeRange; - } - }, - - setStateFromSettingsFlyout: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - state.explicitInput.tags = action.payload.tags; - state.explicitInput.title = action.payload.title; - state.explicitInput.description = action.payload.description; - state.explicitInput.timeRestore = action.payload.timeRestore; - - state.explicitInput.useMargins = action.payload.useMargins; - state.explicitInput.syncColors = action.payload.syncColors; - state.explicitInput.syncCursor = action.payload.syncCursor; - state.explicitInput.syncTooltips = action.payload.syncTooltips; - state.explicitInput.hidePanelTitles = action.payload.hidePanelTitles; - }, - - setDescription: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - state.explicitInput.description = action.payload; - }, - - setViewMode: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - state.explicitInput.viewMode = action.payload; - }, - - setTags: (state: DashboardReduxState, action: PayloadAction) => { - state.explicitInput.tags = action.payload; - }, - - setTitle: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - state.explicitInput.title = action.payload; - }, - - /** - * Resets the dashboard to the last saved input, excluding: - * 1) The time range, unless `timeRestore` is `true` - if we include the time range on reset even when - * `timeRestore` is `false`, this causes unecessary data fetches for the control group. - * 2) The view mode, since resetting should never impact this - sometimes the Dashboard saved objects - * have this saved in and we don't want resetting to cause unexpected view mode changes. - * 3) Pinned filters. - */ - resetToLastSavedInput: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - const keepPinnedFilters = [ - ...state.explicitInput.filters.filter(isFilterPinned), - ...action.payload.filters, - ]; - - state.explicitInput = { - ...action.payload, - filters: keepPinnedFilters, - ...(!state.explicitInput.timeRestore && { timeRange: state.explicitInput.timeRange }), - viewMode: state.explicitInput.viewMode, - }; - }, - - // ------------------------------------------------------------------------------ - // Filtering Reducers - // ------------------------------------------------------------------------------ - setFiltersAndQuery: ( - state: DashboardReduxState, - action: PayloadAction> - ) => { - state.explicitInput.filters = action.payload.filters; - state.explicitInput.query = action.payload.query; - }, - - setLastReloadRequestTimeToNow: (state: DashboardReduxState) => { - state.explicitInput.lastReloadRequestTime = new Date().getTime(); - }, - - setFilters: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - state.explicitInput.filters = action.payload; - }, - - setQuery: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - state.explicitInput.query = action.payload; - }, - - setTimeRestore: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - state.explicitInput.timeRestore = action.payload; - }, - - setTimeRange: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - state.explicitInput.timeRange = action.payload; - }, - - setRefreshInterval: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - state.explicitInput.refreshInterval = action.payload; - }, - - setTimeslice: ( - state: DashboardReduxState, - action: PayloadAction - ) => { - state.explicitInput.timeslice = action.payload; - }, -}; diff --git a/src/plugins/dashboard/public/dashboard_container/state/diffing/dashboard_diffing_functions.ts b/src/plugins/dashboard/public/dashboard_container/state/diffing/dashboard_diffing_functions.ts deleted file mode 100644 index 2803d9be0e32d..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/state/diffing/dashboard_diffing_functions.ts +++ /dev/null @@ -1,135 +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 fastIsEqual from 'fast-deep-equal'; - -import { COMPARE_ALL_OPTIONS, compareFilters, isFilterPinned } from '@kbn/es-query'; - -import { DashboardContainerInput } from '../../../../common'; -import { embeddableService } from '../../../services/kibana_services'; -import { DashboardContainer } from '../../embeddable/dashboard_container'; -import { DashboardContainerInputWithoutId } from '../../types'; -import { areTimesEqual, getPanelLayoutsAreEqual } from './dashboard_diffing_utils'; - -export interface DiffFunctionProps { - currentValue: DashboardContainerInput[Key]; - lastValue: DashboardContainerInput[Key]; - - currentInput: DashboardContainerInputWithoutId; - lastInput: DashboardContainerInputWithoutId; - container: DashboardContainer; -} - -export type DashboardDiffFunctions = { - [key in keyof Partial]: ( - props: DiffFunctionProps - ) => boolean | Promise; -}; - -export const isKeyEqualAsync = async ( - key: keyof DashboardContainerInput, - diffFunctionProps: DiffFunctionProps, - diffingFunctions: DashboardDiffFunctions -) => { - const propsAsNever = diffFunctionProps as never; // todo figure out why props has conflicting types in some constituents. - const diffingFunction = diffingFunctions[key]; - if (diffingFunction) { - return diffingFunction?.prototype?.name === 'AsyncFunction' - ? await diffingFunction(propsAsNever) - : diffingFunction(propsAsNever); - } - return fastIsEqual(diffFunctionProps.currentValue, diffFunctionProps.lastValue); -}; - -export const isKeyEqual = ( - key: keyof Omit, // only Panels is async - diffFunctionProps: DiffFunctionProps, - diffingFunctions: DashboardDiffFunctions -) => { - const propsAsNever = diffFunctionProps as never; // todo figure out why props has conflicting types in some constituents. - const diffingFunction = diffingFunctions[key]; - if (!diffingFunction) { - return fastIsEqual(diffFunctionProps.currentValue, diffFunctionProps.lastValue); - } - - if (diffingFunction?.prototype?.name === 'AsyncFunction') { - throw new Error( - `The function for key "${key}" is async, must use isKeyEqualAsync for asynchronous functions` - ); - } - return diffingFunction(propsAsNever); -}; - -/** - * A collection of functions which diff individual keys of dashboard state. If a key is missing from this list it is - * diffed by the default diffing function, fastIsEqual. - */ -export const unsavedChangesDiffingFunctions: DashboardDiffFunctions = { - panels: async ({ currentValue, lastValue, container }) => { - if (!getPanelLayoutsAreEqual(currentValue ?? {}, lastValue ?? {})) return false; - - const explicitInputComparePromises = Object.values(currentValue ?? {}).map( - (panel) => - new Promise((resolve, reject) => { - const embeddableId = panel.explicitInput.id; - if (!embeddableId || embeddableService.reactEmbeddableRegistryHasKey(panel.type)) { - // if this is a new style embeddable, it will handle its own diffing. - reject(); - return; - } - try { - container.untilEmbeddableLoaded(embeddableId).then((embeddable) => - embeddable - .getExplicitInputIsEqual(lastValue[embeddableId].explicitInput) - .then((isEqual) => { - if (isEqual) { - // rejecting the promise if the input is equal. - reject(); - } else { - // resolving false here means that the panel is unequal. The first promise to resolve this way will return false from this function. - resolve(false); - } - }) - ); - } catch (e) { - reject(); - } - }) - ); - - // If any promise resolves, return false. The catch here is only called if all promises reject which means all panels are equal. - return await Promise.any(explicitInputComparePromises).catch(() => true); - }, - - // exclude pinned filters from comparision because pinned filters are not part of application state - filters: ({ currentValue, lastValue }) => - compareFilters( - (currentValue ?? []).filter((f) => !isFilterPinned(f)), - (lastValue ?? []).filter((f) => !isFilterPinned(f)), - COMPARE_ALL_OPTIONS - ), - - timeRange: ({ currentValue, lastValue, currentInput }) => { - if (!currentInput.timeRestore) return true; // if time restore is set to false, time range doesn't count as a change. - if ( - !areTimesEqual(currentValue?.from, lastValue?.from) || - !areTimesEqual(currentValue?.to, lastValue?.to) - ) { - return false; - } - return true; - }, - - refreshInterval: ({ currentValue, lastValue, currentInput }) => { - if (!currentInput.timeRestore) return true; // if time restore is set to false, refresh interval doesn't count as a change. - return fastIsEqual(currentValue, lastValue); - }, - - viewMode: () => false, // When compared view mode is always considered unequal so that it gets backed up. -}; diff --git a/src/plugins/dashboard/public/dashboard_container/state/diffing/dashboard_diffing_integration.ts b/src/plugins/dashboard/public/dashboard_container/state/diffing/dashboard_diffing_integration.ts deleted file mode 100644 index ad33b2e5fb117..0000000000000 --- a/src/plugins/dashboard/public/dashboard_container/state/diffing/dashboard_diffing_integration.ts +++ /dev/null @@ -1,198 +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 { childrenUnsavedChanges$ } from '@kbn/presentation-containers'; -import { omit } from 'lodash'; -import { AnyAction, Middleware } from 'redux'; -import { combineLatest, debounceTime, skipWhile, startWith, switchMap } from 'rxjs'; -import { DashboardContainer } from '../..'; -import { DashboardCreationOptions } from '../../..'; -import { DashboardContainerInput } from '../../../../common'; -import { CHANGE_CHECK_DEBOUNCE } from '../../../dashboard_constants'; -import { - PANELS_CONTROL_GROUP_KEY, - getDashboardBackupService, -} from '../../../services/dashboard_backup_service'; -import { UnsavedPanelState } from '../../types'; -import { dashboardContainerReducers } from '../dashboard_container_reducers'; -import { isKeyEqualAsync, unsavedChangesDiffingFunctions } from './dashboard_diffing_functions'; - -/** - * An array of reducers which cannot cause unsaved changes. Unsaved changes only compares the explicit input - * and the last saved input, so we can safely ignore any output reducers, and most componentState reducers. - * This is only for performance reasons, because the diffing function itself can be quite heavy. - */ -export const reducersToIgnore: Array = ['setTimeslice']; - -/** - * Some keys will often have deviated from their last saved state, but should not persist over reloads - */ -const keysToOmitFromSessionStorage: Array = [ - 'lastReloadRequestTime', - 'executionContext', - 'timeslice', - 'id', - - 'timeRange', // Current behaviour expects time range not to be backed up. Revisit this? - 'refreshInterval', -]; - -/** - * Some keys will often have deviated from their last saved state, but should be - * ignored when calculating whether or not this dashboard has unsaved changes. - */ -export const keysNotConsideredUnsavedChanges: Array = [ - 'lastReloadRequestTime', - 'executionContext', - 'timeslice', - 'viewMode', - 'id', -]; - -/** - * build middleware that fires an event any time a reducer that could cause unsaved changes is run - */ -export function getDiffingMiddleware(this: DashboardContainer) { - const diffingMiddleware: Middleware = (store) => (next) => (action) => { - const dispatchedActionName = action.type.split('/')?.[1]; - if ( - dispatchedActionName && - dispatchedActionName !== 'updateEmbeddableReduxOutput' && // ignore any generic output updates. - !reducersToIgnore.includes(dispatchedActionName) - ) { - this.anyReducerRun.next(null); - } - next(action); - }; - return diffingMiddleware; -} - -/** - * Does an initial diff between @param initialInput and @param initialLastSavedInput, and creates a middleware - * which listens to the redux store and pushes updates to the `hasUnsavedChanges` and `backupUnsavedChanges` behaviour - * subjects so that the corresponding subscriptions can dispatch updates as necessary - */ -export function startDiffingDashboardState( - this: DashboardContainer, - creationOptions?: DashboardCreationOptions -) { - /** - * Create an observable stream that checks for unsaved changes in the Dashboard state - * and the state of all of its legacy embeddable children. - */ - const dashboardUnsavedChanges = combineLatest([ - this.anyReducerRun.pipe(startWith(null)), - this.lastSavedInput$, - ]).pipe( - debounceTime(CHANGE_CHECK_DEBOUNCE), - switchMap(([, lastSavedInput]) => { - return (async () => { - const { explicitInput: currentInput } = this.getState(); - const unsavedChanges = await getDashboardUnsavedChanges.bind(this)( - lastSavedInput, - currentInput - ); - return unsavedChanges; - })(); - }) - ); - - /** - * Combine unsaved changes from all sources together. Set unsaved changes state and backup unsaved changes when any of the sources emit. - */ - this.diffingSubscription.add( - combineLatest([ - dashboardUnsavedChanges, - childrenUnsavedChanges$(this.children$), - this.controlGroupApi$.pipe( - skipWhile((controlGroupApi) => !controlGroupApi), - switchMap((controlGroupApi) => { - return controlGroupApi!.unsavedChanges; - }) - ), - ]).subscribe(([dashboardChanges, unsavedPanelState, controlGroupChanges]) => { - // calculate unsaved changes - const hasUnsavedChanges = - Object.keys(omit(dashboardChanges, keysNotConsideredUnsavedChanges)).length > 0 || - unsavedPanelState !== undefined || - controlGroupChanges !== undefined; - if (hasUnsavedChanges !== this.hasUnsavedChanges$.value) { - this.setHasUnsavedChanges(hasUnsavedChanges); - } - - // backup unsaved changes if configured to do so - if (creationOptions?.useSessionStorageIntegration) { - const reactEmbeddableChanges = unsavedPanelState ? { ...unsavedPanelState } : {}; - if (controlGroupChanges) { - reactEmbeddableChanges[PANELS_CONTROL_GROUP_KEY] = controlGroupChanges; - } - backupUnsavedChanges.bind(this)(dashboardChanges, reactEmbeddableChanges); - } - }) - ); -} - -/** - * Does a shallow diff between @param lastInput and @param input and - * @returns an object out of the keys which are different. - */ -export async function getDashboardUnsavedChanges( - this: DashboardContainer, - lastInput: DashboardContainerInput, - input: DashboardContainerInput -): Promise> { - const allKeys = [...new Set([...Object.keys(lastInput), ...Object.keys(input)])] as Array< - keyof DashboardContainerInput - >; - const keyComparePromises = allKeys.map( - (key) => - new Promise<{ key: keyof DashboardContainerInput; isEqual: boolean }>((resolve) => { - if (input[key] === undefined && lastInput[key] === undefined) { - resolve({ key, isEqual: true }); - } - isKeyEqualAsync( - key, - { - container: this, - - currentValue: input[key], - currentInput: input, - - lastValue: lastInput[key], - lastInput, - }, - unsavedChangesDiffingFunctions - ).then((isEqual) => resolve({ key, isEqual })); - }) - ); - const inputChanges = (await Promise.allSettled(keyComparePromises)).reduce((changes, current) => { - if (current.status === 'fulfilled') { - const { key, isEqual } = current.value; - if (!isEqual) (changes as { [key: string]: unknown })[key] = input[key]; - } - return changes; - }, {} as Partial); - return inputChanges; -} - -function backupUnsavedChanges( - this: DashboardContainer, - dashboardChanges: Partial, - reactEmbeddableChanges: UnsavedPanelState -) { - const dashboardStateToBackup = omit(dashboardChanges, keysToOmitFromSessionStorage); - - getDashboardBackupService().setState( - this.savedObjectId.value, - { - ...dashboardStateToBackup, - panels: dashboardChanges.panels, - }, - reactEmbeddableChanges - ); -} diff --git a/src/plugins/dashboard/public/dashboard_container/types.ts b/src/plugins/dashboard/public/dashboard_container/types.ts index cf307924e00fe..cf630902cbbd5 100644 --- a/src/plugins/dashboard/public/dashboard_container/types.ts +++ b/src/plugins/dashboard/public/dashboard_container/types.ts @@ -31,7 +31,7 @@ export type RedirectToProps = export type DashboardStateFromSaveModal = Pick< DashboardContainerInput, - 'title' | 'description' | 'tags' | 'timeRestore' | 'timeRange' | 'refreshInterval' + 'title' | 'description' | 'tags' | 'timeRestore' >; export type DashboardStateFromSettingsFlyout = DashboardStateFromSaveModal & DashboardOptions; diff --git a/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx b/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx index 0c3b4b583e8bf..75e46e0e23313 100644 --- a/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx +++ b/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx @@ -8,16 +8,19 @@ */ import React from 'react'; -import { BehaviorSubject } from 'rxjs'; import { render } from '@testing-library/react'; -import { buildMockDashboard } from '../mocks'; +import { buildMockDashboardApi } from '../mocks'; import { InternalDashboardTopNav } from './internal_dashboard_top_nav'; import { setMockedPresentationUtilServices } from '@kbn/presentation-util-plugin/public/mocks'; import { TopNavMenuProps } from '@kbn/navigation-plugin/public'; import { DashboardContext } from '../dashboard_api/use_dashboard_api'; -import { DashboardApi } from '../dashboard_api/types'; import { dataService, navigationService } from '../services/kibana_services'; +jest.mock('../dashboard_app/top_nav/dashboard_editing_toolbar', () => ({ + DashboardEditingToolbar: () => { + return
mockDashboardEditingToolbar
; + }, +})); describe('Internal dashboard top nav', () => { const mockTopNav = (badges: TopNavMenuProps['badges'] | undefined[]) => { if (badges) { @@ -41,7 +44,7 @@ describe('Internal dashboard top nav', () => { it('should not render the managed badge by default', async () => { const component = render( - + ); @@ -50,11 +53,11 @@ describe('Internal dashboard top nav', () => { }); it('should render the managed badge when the dashboard is managed', async () => { - const container = buildMockDashboard(); + const { api } = buildMockDashboardApi(); const dashboardApi = { - ...container, - managed$: new BehaviorSubject(true), - } as unknown as DashboardApi; + ...api, + isManaged: true, + }; const component = render( diff --git a/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx b/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx index 47a84b620ede3..c040a412c3c9e 100644 --- a/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx +++ b/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx @@ -90,7 +90,6 @@ export function InternalDashboardTopNav({ hasRunMigrations, hasUnsavedChanges, lastSavedId, - managed, query, title, viewMode, @@ -101,7 +100,6 @@ export function InternalDashboardTopNav({ dashboardApi.hasRunMigrations$, dashboardApi.hasUnsavedChanges$, dashboardApi.savedObjectId, - dashboardApi.managed$, dashboardApi.query$, dashboardApi.panelTitle, dashboardApi.viewMode @@ -284,7 +282,7 @@ export function InternalDashboardTopNav({ } const { showWriteControls } = getDashboardCapabilities(); - if (showWriteControls && managed) { + if (showWriteControls && dashboardApi.isManaged) { const badgeProps = { ...getManagedContentBadge(dashboardManagedBadge.getBadgeAriaLabel()), onClick: () => setIsPopoverOpen(!isPopoverOpen), @@ -311,9 +309,7 @@ export function InternalDashboardTopNav({ { - dashboardApi - .runInteractiveSave(viewMode) - .then((result) => maybeRedirect(result)); + dashboardApi.runInteractiveSave().then((result) => maybeRedirect(result)); }} aria-label={dashboardManagedBadge.getDuplicateButtonAriaLabel()} > @@ -332,15 +328,7 @@ export function InternalDashboardTopNav({ }); } return allBadges; - }, [ - hasUnsavedChanges, - viewMode, - hasRunMigrations, - managed, - isPopoverOpen, - dashboardApi, - maybeRedirect, - ]); + }, [hasUnsavedChanges, viewMode, hasRunMigrations, isPopoverOpen, dashboardApi, maybeRedirect]); return (
diff --git a/src/plugins/dashboard/public/mocks.tsx b/src/plugins/dashboard/public/mocks.tsx index 2374788e60ea8..2f47c52f9660f 100644 --- a/src/plugins/dashboard/public/mocks.tsx +++ b/src/plugins/dashboard/public/mocks.tsx @@ -7,14 +7,14 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { EmbeddableInput, ViewMode } from '@kbn/embeddable-plugin/public'; -import { mockedReduxEmbeddablePackage } from '@kbn/presentation-util-plugin/public/mocks'; - import { ControlGroupApi } from '@kbn/controls-plugin/public'; import { BehaviorSubject } from 'rxjs'; -import { DashboardContainerInput, DashboardPanelState } from '../common'; -import { DashboardContainer } from './dashboard_container/embeddable/dashboard_container'; +import { ViewMode } from '@kbn/embeddable-plugin/public'; import { DashboardStart } from './plugin'; +import { DashboardState } from './dashboard_api/types'; +import { getDashboardApi } from './dashboard_api/get_dashboard_api'; +import { DashboardPanelState } from '../common'; +import { SavedDashboardInput } from './services/dashboard_content_management_service/types'; export type Start = jest.Mocked; @@ -78,37 +78,37 @@ export const mockControlGroupApi = { unsavedChanges: new BehaviorSubject(undefined), } as unknown as ControlGroupApi; -export function buildMockDashboard({ +export function buildMockDashboardApi({ overrides, savedObjectId, }: { - overrides?: Partial; + overrides?: Partial; savedObjectId?: string; } = {}) { - const initialInput = getSampleDashboardInput(overrides); - const dashboardContainer = new DashboardContainer( - initialInput, - mockedReduxEmbeddablePackage, - undefined, - undefined, - undefined, - undefined, - { - anyMigrationRun: false, - isEmbeddedExternally: false, - lastSavedInput: initialInput, - lastSavedId: savedObjectId, + const initialState = getSampleDashboardState(overrides); + const results = getDashboardApi({ + initialState, + savedObjectId, + savedObjectResult: { + dashboardFound: true, + newDashboardCreated: savedObjectId === undefined, + dashboardId: savedObjectId, managed: false, - fullScreenMode: false, - } - ); - dashboardContainer?.setControlGroupApi(mockControlGroupApi); - return dashboardContainer; + dashboardInput: { + ...initialState, + executionContext: { type: 'dashboard' }, + viewMode: initialState.viewMode as ViewMode, + id: savedObjectId ?? '123', + } as SavedDashboardInput, + anyMigrationRun: false, + references: [], + }, + }); + results.internalApi.setControlGroupApi(mockControlGroupApi); + return results; } -export function getSampleDashboardInput( - overrides?: Partial -): DashboardContainerInput { +export function getSampleDashboardState(overrides?: Partial): DashboardState { return { // options useMargins: true, @@ -117,7 +117,6 @@ export function getSampleDashboardInput( syncTooltips: false, hidePanelTitles: false, - id: '123', tags: [], filters: [], title: 'My Dashboard', @@ -130,17 +129,14 @@ export function getSampleDashboardInput( from: 'now-15m', }, timeRestore: false, - viewMode: ViewMode.VIEW, + viewMode: 'view', panels: {}, - executionContext: { - type: 'dashboard', - }, ...overrides, }; } -export function getSampleDashboardPanel( - overrides: Partial> & { +export function getSampleDashboardPanel( + overrides: Partial & { explicitInput: { id: string }; type: string; } diff --git a/src/plugins/dashboard/public/services/dashboard_backup_service.ts b/src/plugins/dashboard/public/services/dashboard_backup_service.ts index 5ffff35ff3d77..eab90df27b6a7 100644 --- a/src/plugins/dashboard/public/services/dashboard_backup_service.ts +++ b/src/plugins/dashboard/public/services/dashboard_backup_service.ts @@ -10,15 +10,15 @@ import { isEqual } from 'lodash'; import { firstValueFrom } from 'rxjs'; -import { ViewMode } from '@kbn/embeddable-plugin/public'; import { Storage } from '@kbn/kibana-utils-plugin/public'; import { set } from '@kbn/safer-lodash-set'; -import type { DashboardContainerInput } from '../../common'; +import { ViewMode } from '@kbn/presentation-publishing'; import { backupServiceStrings } from '../dashboard_container/_dashboard_container_strings'; import { UnsavedPanelState } from '../dashboard_container/types'; import { coreServices, spacesService } from './kibana_services'; -import { SavedDashboardInput } from './dashboard_content_management_service/types'; +import { DashboardState } from '../dashboard_api/types'; +import { DEFAULT_DASHBOARD_INPUT } from '../dashboard_constants'; export const DASHBOARD_PANELS_UNSAVED_ID = 'unsavedDashboard'; export const PANELS_CONTROL_GROUP_KEY = 'controlGroup'; @@ -32,13 +32,13 @@ interface DashboardBackupServiceType { clearState: (id?: string) => void; getState: (id: string | undefined) => | { - dashboardState?: Partial; + dashboardState?: Partial; panels?: UnsavedPanelState; } | undefined; setState: ( id: string | undefined, - dashboardState: Partial, + dashboardState: Partial, panels: UnsavedPanelState ) => void; getViewMode: () => ViewMode; @@ -67,7 +67,7 @@ class DashboardBackupService implements DashboardBackupServiceType { } public getViewMode = (): ViewMode => { - return this.localStorage.get(DASHBOARD_VIEWMODE_LOCAL_KEY); + return this.localStorage.get(DASHBOARD_VIEWMODE_LOCAL_KEY) ?? DEFAULT_DASHBOARD_INPUT.viewMode; }; public storeViewMode = (viewMode: ViewMode) => { @@ -112,7 +112,7 @@ class DashboardBackupService implements DashboardBackupServiceType { try { const dashboardState = this.sessionStorage.get(DASHBOARD_STATE_SESSION_KEY)?.[ this.activeSpaceId - ]?.[id] as Partial | undefined; + ]?.[id] as Partial | undefined; const panels = this.sessionStorage.get(DASHBOARD_PANELS_SESSION_KEY)?.[this.activeSpaceId]?.[ id ] as UnsavedPanelState | undefined; @@ -128,7 +128,7 @@ class DashboardBackupService implements DashboardBackupServiceType { public setState( id = DASHBOARD_PANELS_UNSAVED_ID, - newState: Partial, + newState: Partial, unsavedPanels: UnsavedPanelState ) { try { @@ -159,7 +159,7 @@ class DashboardBackupService implements DashboardBackupServiceType { [...Object.keys(panelStatesInSpace), ...Object.keys(dashboardStatesInSpace)].map( (dashboardId) => { if ( - dashboardStatesInSpace[dashboardId].viewMode === ViewMode.EDIT && + dashboardStatesInSpace[dashboardId].viewMode === 'edit' && (Object.keys(dashboardStatesInSpace[dashboardId]).some( (stateKey) => stateKey !== 'viewMode' ) || diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts index e03a078e0df45..b0c470de8812d 100644 --- a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts +++ b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts @@ -8,7 +8,6 @@ */ import { getDashboardContentManagementCache } from '..'; -import { getSampleDashboardInput } from '../../../mocks'; import { contentManagementService } from '../../kibana_services'; import { loadDashboardState } from './load_dashboard_state'; @@ -33,8 +32,7 @@ describe('Load dashboard state', () => { }); contentManagementService.client.get = jest.fn(); dashboardContentManagementCache.addDashboard = jest.fn(); - - const { id } = getSampleDashboardInput(); + const id = '123'; const result = await loadDashboardState({ id, }); @@ -61,9 +59,8 @@ describe('Load dashboard state', () => { }, }); }); - const { id } = getSampleDashboardInput(); await loadDashboardState({ - id, + id: '123', }); expect(dashboardContentManagementCache.fetchDashboard).toBeCalled(); expect(dashboardContentManagementCache.addDashboard).not.toBeCalled(); diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/migrate_dashboard_input.test.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/migrate_dashboard_input.test.ts index ad0a5cc386b26..f0e715d624732 100644 --- a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/migrate_dashboard_input.test.ts +++ b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/migrate_dashboard_input.test.ts @@ -7,7 +7,8 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { getSampleDashboardInput, getSampleDashboardPanel } from '../../../mocks'; +import { ViewMode } from '@kbn/embeddable-plugin/public'; +import { getSampleDashboardState, getSampleDashboardPanel } from '../../../mocks'; import { embeddableService } from '../../kibana_services'; import { SavedDashboardInput } from '../types'; import { migrateDashboardInput } from './migrate_dashboard_input'; @@ -23,7 +24,12 @@ jest.mock('@kbn/embeddable-plugin/public', () => { describe('Migrate dashboard input', () => { it('should run factory migrations on all Dashboard content', () => { - const dashboardInput: SavedDashboardInput = getSampleDashboardInput(); + const dashboardInput = { + ...getSampleDashboardState(), + id: '1', + viewMode: ViewMode.VIEW, + executionContext: { type: 'dashboard' }, + } as SavedDashboardInput; dashboardInput.panels = { panel1: getSampleDashboardPanel({ type: 'superLens', explicitInput: { id: 'panel1' } }), panel2: getSampleDashboardPanel({ type: 'superLens', explicitInput: { id: 'panel2' } }), diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts index 7e35b0ec1c163..a1b18aca3aca0 100644 --- a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts +++ b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts @@ -8,7 +8,7 @@ */ import { DashboardContainerInput } from '../../../../common'; -import { getSampleDashboardInput } from '../../../mocks'; +import { getSampleDashboardState } from '../../../mocks'; import { contentManagementService, coreServices, @@ -48,7 +48,7 @@ describe('Save dashboard state', () => { it('should save the dashboard using the same ID', async () => { const result = await saveDashboardState({ currentState: { - ...getSampleDashboardInput(), + ...getSampleDashboardState(), title: 'BOO', } as unknown as DashboardContainerInput, lastSavedId: 'Boogaloo', @@ -69,7 +69,7 @@ describe('Save dashboard state', () => { it('should save the dashboard using a new id, and return redirect required', async () => { const result = await saveDashboardState({ currentState: { - ...getSampleDashboardInput(), + ...getSampleDashboardState(), title: 'BooToo', } as unknown as DashboardContainerInput, lastSavedId: 'Boogaloonie', @@ -93,7 +93,7 @@ describe('Save dashboard state', () => { it('should generate new panel IDs for dashboard panels when save as copy is true', async () => { const result = await saveDashboardState({ currentState: { - ...getSampleDashboardInput(), + ...getSampleDashboardState(), title: 'BooThree', panels: { aVerySpecialVeryUniqueId: { type: 'boop' } }, } as unknown as DashboardContainerInput, @@ -119,7 +119,7 @@ describe('Save dashboard state', () => { it('should update prefixes on references when save as copy is true', async () => { const result = await saveDashboardState({ currentState: { - ...getSampleDashboardInput(), + ...getSampleDashboardState(), title: 'BooFour', panels: { idOne: { type: 'boop' } }, } as unknown as DashboardContainerInput, @@ -147,7 +147,7 @@ describe('Save dashboard state', () => { contentManagementService.client.create = jest.fn().mockRejectedValue('Whoops'); const result = await saveDashboardState({ currentState: { - ...getSampleDashboardInput(), + ...getSampleDashboardState(), title: 'BooThree', panels: { idOne: { type: 'boop' } }, } as unknown as DashboardContainerInput, diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts index 27e6a53da1f9a..58492f51f4d36 100644 --- a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts +++ b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts @@ -137,7 +137,7 @@ export const saveDashboardState = async ({ const rawDashboardAttributes: DashboardAttributes = { version: convertDashboardVersionToNumber(LATEST_DASHBOARD_CONTAINER_VERSION), - controlGroupInput, + controlGroupInput: controlGroupInput as DashboardAttributes['controlGroupInput'], kibanaSavedObjectMeta: { searchSource }, description: description ?? '', refreshInterval, diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts index 0f4fe1c86a56d..e7dbcf1d230db 100644 --- a/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts +++ b/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts @@ -20,6 +20,7 @@ import { SearchDashboardsArgs, SearchDashboardsResponse, } from './lib/find_dashboards'; +import { DashboardState } from '../../dashboard_api/types'; export interface DashboardContentManagementService { findDashboards: FindDashboardsService; @@ -82,7 +83,7 @@ export type SavedDashboardSaveOpts = SavedObjectSaveOpts & { saveAsCopy?: boolea export interface SaveDashboardProps { controlGroupReferences?: Reference[]; - currentState: SavedDashboardInput; + currentState: DashboardState; saveOptions: SavedDashboardSaveOpts; panelReferences?: Reference[]; lastSavedId?: string; diff --git a/src/plugins/dashboard/tsconfig.json b/src/plugins/dashboard/tsconfig.json index 1bf6827433b66..3370a7fd85f83 100644 --- a/src/plugins/dashboard/tsconfig.json +++ b/src/plugins/dashboard/tsconfig.json @@ -81,7 +81,8 @@ "@kbn/core-custom-branding-browser-mocks", "@kbn/core-mount-utils-browser", "@kbn/visualization-utils", - "@kbn/core-rendering-browser", + "@kbn/std", + "@kbn/core-rendering-browser" ], "exclude": ["target/**/*"] } diff --git a/test/functional/apps/dashboard/group6/dashboard_esql_no_data.ts b/test/functional/apps/dashboard/group6/dashboard_esql_no_data.ts index 4298ccdfb5886..58fe8aa36d95f 100644 --- a/test/functional/apps/dashboard/group6/dashboard_esql_no_data.ts +++ b/test/functional/apps/dashboard/group6/dashboard_esql_no_data.ts @@ -15,7 +15,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const testSubjects = getService('testSubjects'); const panelActions = getService('dashboardPanelActions'); const monacoEditor = getService('monacoEditor'); - const PageObjects = getPageObjects(['dashboard']); + const PageObjects = getPageObjects(['common', 'dashboard']); describe('No Data Views: Try ES|QL', () => { before(async () => { @@ -26,7 +26,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.dashboard.navigateToApp(); await testSubjects.existOrFail('noDataViewsPrompt'); + await testSubjects.click('tryESQLLink'); + await PageObjects.dashboard.waitForRenderComplete(); await PageObjects.dashboard.expectOnDashboard('New Dashboard'); expect(await testSubjects.exists('lnsVisualizationContainer')).to.be(true); diff --git a/test/functional/apps/dashboard/group6/view_edit.ts b/test/functional/apps/dashboard/group6/view_edit.ts index 9304b51d302d5..220611742d51c 100644 --- a/test/functional/apps/dashboard/group6/view_edit.ts +++ b/test/functional/apps/dashboard/group6/view_edit.ts @@ -22,6 +22,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'timePicker', ]); const dashboardName = 'dashboard with filter'; + const copyOfDashboardName = `Copy of ${dashboardName}`; const filterBar = getService('filterBar'); const security = getService('security'); @@ -73,7 +74,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { describe('save as new', () => { it('keeps duplicated dashboard in edit mode', async () => { await dashboard.gotoDashboardEditMode(dashboardName); - await dashboard.duplicateDashboard('edit'); + await dashboard.duplicateDashboard(copyOfDashboardName); const isViewMode = await dashboard.getIsInViewMode(); expect(isViewMode).to.equal(false); }); @@ -81,8 +82,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { describe('save', function () { it('keeps dashboard in edit mode', async function () { - await dashboard.gotoDashboardEditMode(dashboardName); - await dashboard.saveDashboard(dashboardName, { + await dashboard.gotoDashboardEditMode(copyOfDashboardName); + // change dashboard time to cause unsaved change + await timePicker.setAbsoluteRange( + 'Sep 19, 2013 @ 00:00:00.000', + 'Sep 19, 2013 @ 07:00:00.000' + ); + await dashboard.saveDashboard(copyOfDashboardName, { storeTimeWithDashboard: true, saveAsNew: false, }); diff --git a/x-pack/platform/plugins/private/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json index 81298783701e2..79b8cc8c74439 100644 --- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json +++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json @@ -1463,8 +1463,6 @@ "dashboard.emptyScreen.noPermissionsTitle": "Ce tableau de bord est vide.", "dashboard.emptyScreen.viewModeSubtitle": "Accédez au mode de modification, puis commencez à ajouter vos visualisations.", "dashboard.emptyScreen.viewModeTitle": "Ajouter des visualisations à votre tableau de bord", - "dashboard.factory.displayName": "Dashboard", - "dashboard.factory.displayNameLowercase": "tableau de bord", "dashboard.featureCatalogue.dashboardDescription": "Affichez et partagez une collection de visualisations et de recherches enregistrées.", "dashboard.featureCatalogue.dashboardSubtitle": "Analysez des données à l’aide de tableaux de bord.", "dashboard.featureCatalogue.dashboardTitle": "Dashboard", diff --git a/x-pack/platform/plugins/private/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json index ca80aaa127e32..52c4a1bf5b8c9 100644 --- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json +++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json @@ -1463,8 +1463,6 @@ "dashboard.emptyScreen.noPermissionsTitle": "このダッシュボードは空です。", "dashboard.emptyScreen.viewModeSubtitle": "編集モードに切り替えて、ビジュアライゼーションの追加を開始します。", "dashboard.emptyScreen.viewModeTitle": "ダッシュボードにビジュアライゼーションを追加", - "dashboard.factory.displayName": "ダッシュボード", - "dashboard.factory.displayNameLowercase": "ダッシュボード", "dashboard.featureCatalogue.dashboardDescription": "ビジュアライゼーションと保存された検索のコレクションの表示と共有を行います。", "dashboard.featureCatalogue.dashboardSubtitle": "ダッシュボードでデータを分析します。", "dashboard.featureCatalogue.dashboardTitle": "ダッシュボード", diff --git a/x-pack/platform/plugins/private/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json index 31eb102ba6780..c7b9faa1dd4b9 100644 --- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json +++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json @@ -1476,8 +1476,6 @@ "dashboard.emptyScreen.noPermissionsTitle": "此仪表板是空的。", "dashboard.emptyScreen.viewModeSubtitle": "进入编辑模式,然后开始添加可视化。", "dashboard.emptyScreen.viewModeTitle": "将可视化添加到仪表板", - "dashboard.factory.displayName": "仪表板", - "dashboard.factory.displayNameLowercase": "仪表板", "dashboard.featureCatalogue.dashboardDescription": "显示和共享可视化和已保存搜索的集合。", "dashboard.featureCatalogue.dashboardSubtitle": "在仪表板中分析数据。", "dashboard.featureCatalogue.dashboardTitle": "仪表板", From 6e57a23d18d949e7ac3118c1f27550e2ba9eedf8 Mon Sep 17 00:00:00 2001 From: Marco Vettorello Date: Tue, 10 Dec 2024 16:39:15 +0100 Subject: [PATCH 077/103] [Lens] Fix missing embeddable panel titles (#203355) ## Summary When using the new Custom Lens embeddable component, the titles are hidden by default due to to a regression introduced in https://github.com/elastic/kibana/pull/186642. This PR should fix the correct title handling of the header visibility by hiding or showing the wrapping Panel title depending on the `hidePanelTitles` props of the `LensRenderer` component fix https://github.com/elastic/kibana/issues/203354 --- .../renderer/lens_custom_renderer_component.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx b/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx index 5bc55d43c3212..eab54a7fa9f9d 100644 --- a/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx +++ b/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx @@ -59,6 +59,7 @@ export function LensRenderer({ filters, timeRange, disabledActions, + hidePanelTitles, ...props }: LensRendererProps) { // Use the settings interface to store panel settings @@ -71,6 +72,7 @@ export function LensRenderer({ }, []); const disabledActionIds$ = useObservableVariable(disabledActions); const viewMode$ = useObservableVariable(viewMode); + const hidePanelTitles$ = useObservableVariable(hidePanelTitles); // Lens API will be set once, but when set trigger a reflow to adopt the latest attributes const [lensApi, setLensApi] = useState(undefined); @@ -112,7 +114,6 @@ export function LensRenderer({ const panelProps: PanelProps = useMemo(() => { return { hideInspector: !showInspector, - hideHeader: showPanelChrome, showNotifications: false, showShadow: false, showBadges: false, @@ -124,7 +125,7 @@ export function LensRenderer({ return (extraActions ?? []).concat(actions || []); }, }; - }, [showInspector, showPanelChrome, withDefaultActions, extraActions, lensApi]); + }, [showInspector, withDefaultActions, extraActions, lensApi]); return ( @@ -147,6 +148,7 @@ export function LensRenderer({ ...initialStateRef.current, attributes: props.attributes, }), + hidePanelTitle: hidePanelTitles$, })} onApiAvailable={setLensApi} hidePanelChrome={!showPanelChrome} From 4b0c0e92693ad759e3ce45b4b259c9908ddd0d51 Mon Sep 17 00:00:00 2001 From: Saarika Bhasi <55930906+saarikabhasi@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:46:20 -0500 Subject: [PATCH 078/103] [Index management] Fix a11y focus order in index mappings page (#203361) ## Summary Fix a11y focus order in index mappings page. When new field is in pending state and after closing edit pending field Flyout. https://github.com/user-attachments/assets/dbdf59e5-0ebd-47e0-9b5e-19ab1556e771 ### Test instructions #### Adding a field 1. Add new field in index mappings page by navigating via tab 2. Notice that type fields combo box is focused 3. Add field and click to Add field button again with in pending fields form 4. Notice focus is on new create field form #### Edit field in pending state 1. Add new fields via tab key 2. click on edit field 3. Try closing, updating and cancelling in the edit field flyout form 4. Notice after edit field flyout is closed, focus is on the pending fields form --- .../document_fields/document_fields.tsx | 6 +++++- .../field_parameters/type_parameter.tsx | 5 +++++ .../fields/create_field/create_field.tsx | 16 +++++++++++++++- .../document_fields/fields/fields_list.tsx | 3 +++ .../document_fields/fields/fields_list_item.tsx | 5 ++++- .../fields/fields_list_item_container.tsx | 3 +++ .../document_fields/fields_tree_editor.tsx | 14 +++++++++++--- .../details_page_mappings_content.tsx | 7 +++++-- 8 files changed, 51 insertions(+), 8 deletions(-) diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx index d81b1e3dc9e5b..54dd434458486 100644 --- a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx +++ b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/document_fields.tsx @@ -27,6 +27,7 @@ interface Props { onCancelAddingNewFields?: () => void; isAddingFields?: boolean; semanticTextInfo?: SemanticTextInfo; + pendingFieldsRef?: React.RefObject; } export const DocumentFields = React.memo( ({ @@ -35,6 +36,7 @@ export const DocumentFields = React.memo( onCancelAddingNewFields, isAddingFields, semanticTextInfo, + pendingFieldsRef, }: Props) => { const { fields, documentFields } = useMappingsState(); const dispatch = useDispatch(); @@ -58,6 +60,7 @@ export const DocumentFields = React.memo( onCancelAddingNewFields={onCancelAddingNewFields} isAddingFields={isAddingFields} semanticTextInfo={semanticTextInfo} + pendingFieldsRef={pendingFieldsRef} /> ); @@ -81,8 +84,9 @@ export const DocumentFields = React.memo( useEffect(() => { if (!isEditing) { removeContentFromGlobalFlyout('mappingsEditField'); + if (pendingFieldsRef?.current) pendingFieldsRef.current.focus(); } - }, [isEditing, removeContentFromGlobalFlyout]); + }, [isEditing, removeContentFromGlobalFlyout, pendingFieldsRef]); useEffect(() => { return () => { diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx index ec467f113c46d..528019416ad69 100644 --- a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx +++ b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.tsx @@ -24,6 +24,7 @@ interface Props { isMultiField?: boolean | null; showDocLink?: boolean; isSemanticTextEnabled?: boolean; + fieldTypeInputRef?: React.MutableRefObject; } export const TypeParameter = ({ @@ -31,6 +32,7 @@ export const TypeParameter = ({ isRootLevelField, showDocLink = false, isSemanticTextEnabled = true, + fieldTypeInputRef, }: Props) => { const fieldTypeOptions = useMemo(() => { let options = isMultiField @@ -97,6 +99,9 @@ export const TypeParameter = ({ onChange={typeField.setValue} isClearable={false} data-test-subj="fieldType" + inputRef={(input) => { + if (fieldTypeInputRef) fieldTypeInputRef.current = input; + }} /> ); diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx index 1daa437356546..0289f07534d35 100644 --- a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx +++ b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/create_field/create_field.tsx @@ -17,7 +17,7 @@ import { i18n } from '@kbn/i18n'; import { TrainedModelStat } from '@kbn/ml-plugin/common/types/trained_models'; import { MlPluginStart } from '@kbn/ml-plugin/public'; import classNames from 'classnames'; -import React, { useEffect } from 'react'; +import React, { useEffect, useRef } from 'react'; import { EUI_SIZE, TYPE_DEFINITION } from '../../../../constants'; import { fieldSerializer } from '../../../../lib'; import { isSemanticTextField } from '../../../../lib/utils'; @@ -62,6 +62,7 @@ interface Props { onCancelAddingNewFields?: () => void; isAddingFields?: boolean; semanticTextInfo?: SemanticTextInfo; + createFieldFormRef?: React.RefObject; } export const CreateField = React.memo(function CreateFieldComponent({ @@ -74,9 +75,11 @@ export const CreateField = React.memo(function CreateFieldComponent({ onCancelAddingNewFields, isAddingFields, semanticTextInfo, + createFieldFormRef, }: Props) { const { isSemanticTextEnabled, ml, setErrorsInTrainedModelDeployment } = semanticTextInfo ?? {}; const dispatch = useDispatch(); + const fieldTypeInputRef = useRef(null); const { form } = useForm({ serializer: fieldSerializer, @@ -111,6 +114,10 @@ export const CreateField = React.memo(function CreateFieldComponent({ const isSemanticText = form.getFormData().type === 'semantic_text'; + useEffect(() => { + if (createFieldFormRef?.current) createFieldFormRef?.current.focus(); + }, [createFieldFormRef]); + const submitForm = async ( e?: React.FormEvent, exitAfter: boolean = false, @@ -134,6 +141,10 @@ export const CreateField = React.memo(function CreateFieldComponent({ } form.reset(); } + + if (fieldTypeInputRef.current) { + fieldTypeInputRef.current.focus(); + } }; const onClickOutside = () => { @@ -157,6 +168,7 @@ export const CreateField = React.memo(function CreateFieldComponent({ isMultiField={isMultiField} showDocLink isSemanticTextEnabled={isSemanticTextEnabled} + fieldTypeInputRef={fieldTypeInputRef} /> @@ -266,6 +278,8 @@ export const CreateField = React.memo(function CreateFieldComponent({ : paddingLeft }px`, }} + ref={createFieldFormRef} + tabIndex={0} >
{renderFormFields()} diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx index 241fa132a28bf..9b2e8e0219908 100644 --- a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx +++ b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx @@ -16,6 +16,7 @@ interface Props { state: State; setPreviousState?: (state: State) => void; isAddingFields?: boolean; + pendingFieldsRef?: React.RefObject; } export const FieldsList = React.memo(function FieldsListComponent({ @@ -24,6 +25,7 @@ export const FieldsList = React.memo(function FieldsListComponent({ state, setPreviousState, isAddingFields, + pendingFieldsRef, }: Props) { if (fields === undefined) { return null; @@ -39,6 +41,7 @@ export const FieldsList = React.memo(function FieldsListComponent({ state={state} setPreviousState={setPreviousState} isAddingFields={isAddingFields} + pendingFieldsRef={pendingFieldsRef} /> ))} diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx index 33c51a3cb644b..505ca26ce7ca4 100644 --- a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx +++ b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx @@ -64,6 +64,8 @@ interface Props { treeDepth: number; state: State; isAddingFields?: boolean; + createFieldFormRef?: React.RefObject; + pendingFieldsRef?: React.RefObject; } function FieldListItemComponent( @@ -85,6 +87,7 @@ function FieldListItemComponent( state, isAddingFields, setPreviousState, + pendingFieldsRef, }: Props, ref: React.Ref ) { @@ -141,7 +144,6 @@ function FieldListItemComponent( const { addMultiFieldButtonLabel, addPropertyButtonLabel, editButtonLabel, deleteButtonLabel } = i18nTexts; - return ( {canHaveMultiFields && ( @@ -321,6 +323,7 @@ function FieldListItemComponent( state={state} isAddingFields={isAddingFields} setPreviousState={setPreviousState} + pendingFieldsRef={pendingFieldsRef} /> )} diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx index a5e85eb1aad17..bcadd859f179e 100644 --- a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx +++ b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item_container.tsx @@ -18,6 +18,7 @@ interface Props { state: State; setPreviousState?: (state: State) => void; isAddingFields?: boolean; + pendingFieldsRef?: React.RefObject; } export const FieldsListItemContainer = ({ @@ -27,6 +28,7 @@ export const FieldsListItemContainer = ({ state, setPreviousState, isAddingFields, + pendingFieldsRef, }: Props) => { const dispatch = useDispatch(); const listElement = useRef(null); @@ -110,6 +112,7 @@ export const FieldsListItemContainer = ({ toggleExpand={toggleExpand} state={state} isAddingFields={isAddingFields} + pendingFieldsRef={pendingFieldsRef} /> ); }; diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx index e7ae3c995a2f3..9274f10ab603e 100644 --- a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx +++ b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/fields_tree_editor.tsx @@ -7,7 +7,7 @@ import { EuiButtonEmpty, EuiSpacer } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import React, { useCallback, useMemo } from 'react'; +import React, { useCallback, useMemo, useRef } from 'react'; import { useDispatch, useMappingsState } from '../../mappings_state_context'; import { CreateField, FieldsList, SemanticTextInfo } from './fields'; @@ -16,19 +16,21 @@ interface Props { onCancelAddingNewFields?: () => void; isAddingFields?: boolean; semanticTextInfo?: SemanticTextInfo; + pendingFieldsRef?: React.RefObject; } export const DocumentFieldsTreeEditor = ({ onCancelAddingNewFields, isAddingFields, semanticTextInfo, + pendingFieldsRef, }: Props) => { const dispatch = useDispatch(); const { fields: { byId, rootLevelFields }, documentFields: { status, fieldToAddFieldTo }, } = useMappingsState(); - + const createFieldFormRef = useRef(null); const getField = useCallback((fieldId: string) => byId[fieldId], [byId]); const fields = useMemo(() => rootLevelFields.map(getField), [rootLevelFields, getField]); @@ -52,6 +54,7 @@ export const DocumentFieldsTreeEditor = ({ onCancelAddingNewFields={onCancelAddingNewFields} isAddingFields={isAddingFields} semanticTextInfo={semanticTextInfo} + createFieldFormRef={createFieldFormRef} /> ); }; @@ -77,7 +80,12 @@ export const DocumentFieldsTreeEditor = ({ return ( <> - + {renderCreateField()} {renderAddFieldButton()} diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx b/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx index ec5deabc5f1f3..063460f448ccc 100644 --- a/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx +++ b/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx @@ -27,7 +27,7 @@ import { import { css } from '@emotion/react'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import React, { FunctionComponent, useCallback, useEffect, useMemo, useState } from 'react'; +import React, { FunctionComponent, useCallback, useEffect, useMemo, useRef, useState } from 'react'; import { ILicense } from '@kbn/licensing-plugin/public'; import { useUnsavedChangesPrompt } from '@kbn/unsaved-changes-prompt'; import { @@ -85,6 +85,7 @@ export const DetailsPageMappingsContent: FunctionComponent<{ overlays, history, } = useAppContext(); + const pendingFieldsRef = useRef(null); const [isPlatinumLicense, setIsPlatinumLicense] = useState(false); useEffect(() => { @@ -559,7 +560,7 @@ export const DetailsPageMappingsContent: FunctionComponent<{ {errorSavingMappings} {isAddingFields && ( - + ) : ( )} From 9df6f37654559ab0648b1ce3aede30f3f0faeae4 Mon Sep 17 00:00:00 2001 From: Saikat Sarkar <132922331+saikatsarkar056@users.noreply.github.com> Date: Tue, 10 Dec 2024 08:54:43 -0700 Subject: [PATCH 079/103] [Ent Search Deprecation] Update enterprise_search URLs for elasticsearch -> getting_started (#203177) This PR resolves this https://github.com/elastic/search-team/issues/7961. In this PR, we changed the following Urls by replacing 'enterprise_search' with 'elasticsearch'. | Old URL | New URL | | :------------------------------------- | :------------------------------------- | | app/enterprise_search/elasticsearch | app/elasticsearch/elasticsearch | | app/enterprise_search/vector_search | app/elasticsearch/vector_search | | app/enterprise_search/semantic_search | app/elasticsearch/semantic_search | | app/enterprise_search/ai_search | app/elasticsearch/ai_search | Co-authored-by: Elastic Machine --- .../enterprise_search/common/constants.ts | 10 +++++----- .../applications/shared/layout/nav.test.tsx | 16 ++++++++-------- .../apps/group3/enterprise_search.ts | 6 +++--- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/x-pack/plugins/enterprise_search/common/constants.ts b/x-pack/plugins/enterprise_search/common/constants.ts index 13afad3f1a342..4b9ea32949518 100644 --- a/x-pack/plugins/enterprise_search/common/constants.ts +++ b/x-pack/plugins/enterprise_search/common/constants.ts @@ -72,7 +72,7 @@ export const AI_SEARCH_PLUGIN = { defaultMessage: 'Toolkit for enabling developers to build AI search-powered applications using the Elastic platform.', }), - URL: '/app/enterprise_search/ai_search', + URL: '/app/elasticsearch/ai_search', LOGO: 'logoEnterpriseSearch', }; @@ -101,7 +101,7 @@ export const ELASTICSEARCH_PLUGIN = { DESCRIPTION: i18n.translate('xpack.enterpriseSearch.elasticsearch.productDescription', { defaultMessage: 'Low-level tools for creating performant and relevant search experiences.', }), - URL: '/app/enterprise_search/elasticsearch', + URL: '/app/elasticsearch/elasticsearch', SUPPORT_URL: 'https://discuss.elastic.co/c/elastic-stack/elasticsearch/', }; @@ -179,7 +179,7 @@ export const VECTOR_SEARCH_PLUGIN = { defaultMessage: 'Vector Search', }), SUPPORT_URL: 'https://discuss.elastic.co/c/enterprise-search/', - URL: '/app/enterprise_search/vector_search', + URL: '/app/elasticsearch/vector_search', }; export const SEMANTIC_SEARCH_PLUGIN = { @@ -196,7 +196,7 @@ export const SEMANTIC_SEARCH_PLUGIN = { defaultMessage: 'Semantic Search', }), SUPPORT_URL: 'https://discuss.elastic.co/c/enterprise-search/', - URL: '/app/enterprise_search/semantic_search', + URL: '/app/elasticsearch/semantic_search', }; export const CREATE_CONNECTOR_PLUGIN = { @@ -224,7 +224,7 @@ export const ENTERPRISE_SEARCH_AUDIT_LOGS_SOURCE_ID = 'ent-search-audit-logs'; export const ENTERPRISE_SEARCH_ANALYTICS_LOGS_SOURCE_ID = 'ent-search-analytics-logs'; export const APP_SEARCH_URL = '/app/enterprise_search/app_search'; -export const ENTERPRISE_SEARCH_ELASTICSEARCH_URL = '/app/enterprise_search/elasticsearch'; +export const ENTERPRISE_SEARCH_ELASTICSEARCH_URL = '/app/elasticsearch/elasticsearch'; export const WORKPLACE_SEARCH_URL = '/app/enterprise_search/workplace_search'; export const CREATE_NEW_INDEX_URL = '/search_indices/new_index'; export const PLAYGROUND_URL = '/playground'; diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/nav.test.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/layout/nav.test.tsx index 08976a4dc68c1..db0340e99317e 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/layout/nav.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/layout/nav.test.tsx @@ -115,28 +115,28 @@ const baseNavItems = [ items: [ { 'data-test-subj': 'searchSideNav-Elasticsearch', - href: '/app/enterprise_search/elasticsearch', + href: '/app/elasticsearch/elasticsearch', id: 'elasticsearch', items: undefined, name: 'Elasticsearch', }, { 'data-test-subj': 'searchSideNav-VectorSearch', - href: '/app/enterprise_search/vector_search', + href: '/app/elasticsearch/vector_search', id: 'vectorSearch', items: undefined, name: 'Vector Search', }, { 'data-test-subj': 'searchSideNav-SemanticSearch', - href: '/app/enterprise_search/semantic_search', + href: '/app/elasticsearch/semantic_search', id: 'semanticSearch', items: undefined, name: 'Semantic Search', }, { 'data-test-subj': 'searchSideNav-AISearch', - href: '/app/enterprise_search/ai_search', + href: '/app/elasticsearch/ai_search', id: 'aiSearch', items: undefined, name: 'AI Search', @@ -220,22 +220,22 @@ const mockNavLinks = [ { id: 'enterpriseSearchElasticsearch', title: 'Elasticsearch', - url: '/app/enterprise_search/elasticsearch', + url: '/app/elasticsearch/elasticsearch', }, { id: 'enterpriseSearchVectorSearch', title: 'Vector Search', - url: '/app/enterprise_search/vector_search', + url: '/app/elasticsearch/vector_search', }, { id: 'enterpriseSearchSemanticSearch', title: 'Semantic Search', - url: '/app/enterprise_search/semantic_search', + url: '/app/elasticsearch/semantic_search', }, { id: 'enterpriseSearchAISearch', title: 'AI Search', - url: '/app/enterprise_search/ai_search', + url: '/app/elasticsearch/ai_search', }, ]; diff --git a/x-pack/test/accessibility/apps/group3/enterprise_search.ts b/x-pack/test/accessibility/apps/group3/enterprise_search.ts index 976f16a6c7151..e2652aef953a1 100644 --- a/x-pack/test/accessibility/apps/group3/enterprise_search.ts +++ b/x-pack/test/accessibility/apps/group3/enterprise_search.ts @@ -64,7 +64,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { describe('Elasticsearch', () => { before(async () => { - await common.navigateToApp('enterprise_search/elasticsearch'); + await common.navigateToApp('elasticsearch/elasticsearch'); }); it('loads a setup guide', async function () { @@ -146,7 +146,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); describe('Vector Search', () => { before(async () => { - await common.navigateToApp('enterprise_search/vector_search'); + await common.navigateToApp('elasticsearch/vector_search'); }); it('loads Vector Search page', async function () { @@ -159,7 +159,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); describe('AI Search', () => { before(async () => { - await common.navigateToApp('enterprise_search/ai_search'); + await common.navigateToApp('elasticsearch/ai_search'); }); it('loads AI Search page', async function () { From a3d9fe34b4faf679fa883279dfecae5710423bde Mon Sep 17 00:00:00 2001 From: Saikat Sarkar <132922331+saikatsarkar056@users.noreply.github.com> Date: Tue, 10 Dec 2024 08:55:15 -0700 Subject: [PATCH 080/103] [Ent Search Deprecation] Update enterprise_search URLs for Elasticsearch->Build (#202371) This change is related to this [issue](https://github.com/elastic/search-team/issues/7961). This PR replaces 'enterprise_search' with 'elasticsearch' in all urls for Elasticsearch->Build. In the PR, we replaced the following URLs. | Old URL | New URL | | :------------------------------------- | :------------------------------------- | | app/enterprise_search/applications/search_applications | app/elasticsearch/applications/search_applications | | app/enterprise_search/analytics | app/elasticsearch/analytics | https://github.com/user-attachments/assets/e7b6ba66-e47b-4d99-8edc-37a9d30edc69 --------- Co-authored-by: Elastic Machine --- x-pack/plugins/enterprise_search/SERVER.md | 2 +- .../enterprise_search/common/constants.ts | 4 +-- ...add_analytics_collection_api_logic.test.ts | 2 +- .../add_analytics_collection_api_logic.ts | 2 +- ...k_analytics_events_exist_api_logic.test.ts | 2 +- .../check_analytics_events_exist_api_logic.ts | 2 +- ...ete_analytics_collection_api_logic.test.ts | 2 +- .../delete_analytics_collection_api_logic.tsx | 2 +- ...tch_analytics_collection_api_logic.test.ts | 2 +- .../fetch_analytics_collection_api_logic.tsx | 2 +- .../generate_analytics_api_key_logic.test.ts | 2 +- .../generate_analytics_api_key_logic.ts | 2 +- ...ch_analytics_collections_api_logic.test.ts | 2 +- .../fetch_analytics_collections_api_logic.ts | 2 +- .../applications/shared/layout/nav.test.tsx | 28 +++++++++---------- .../public/navigation_tree.ts | 4 +-- .../enterprise_search/analytics.test.ts | 8 +++--- .../routes/enterprise_search/analytics.ts | 12 ++++---- .../apps/group3/enterprise_search.ts | 6 ++-- 19 files changed, 44 insertions(+), 44 deletions(-) diff --git a/x-pack/plugins/enterprise_search/SERVER.md b/x-pack/plugins/enterprise_search/SERVER.md index b4275f3bb545e..7b6865443e319 100644 --- a/x-pack/plugins/enterprise_search/SERVER.md +++ b/x-pack/plugins/enterprise_search/SERVER.md @@ -12,7 +12,7 @@ On startup, [the plugin](server/plugin.ts) registers all API routes with the mai API endpoints are organized according to loosely applied RESTful principles. GET for fetching data, POST for creating new data, PUT for updating data. The main routes you'll likely be working with: `enterprise_search` -- enterprise_search/analytics +- elasticsearch/analytics - enterprise_search/crawler - enterprise_search/connectors - enterprise_search/indices diff --git a/x-pack/plugins/enterprise_search/common/constants.ts b/x-pack/plugins/enterprise_search/common/constants.ts index 4b9ea32949518..e67d32087787a 100644 --- a/x-pack/plugins/enterprise_search/common/constants.ts +++ b/x-pack/plugins/enterprise_search/common/constants.ts @@ -89,7 +89,7 @@ export const ANALYTICS_PLUGIN = { defaultMessage: 'Dashboards and tools for visualizing end-user behavior and measuring the performance of your search applications.', }), - URL: '/app/enterprise_search/analytics', + URL: '/app/elasticsearch/analytics', SUPPORT_URL: 'https://discuss.elastic.co/c/enterprise-search/', }; @@ -162,7 +162,7 @@ export const APPLICATIONS_PLUGIN = { defaultMessage: 'Build', }), SUPPORT_URL: 'https://discuss.elastic.co/c/enterprise-search/', - URL: '/app/enterprise_search/applications', + URL: '/app/elasticsearch/applications', }; export const VECTOR_SEARCH_PLUGIN = { diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.test.ts index 2b1fb081f51c5..603936327de4b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.test.ts @@ -23,7 +23,7 @@ describe('AddAnalyticsCollectionsApiLogic', () => { http.post.mockReturnValue(promise); const result = createAnalyticsCollection({ name: 'test' }); await nextTick(); - expect(http.post).toHaveBeenCalledWith('/internal/enterprise_search/analytics/collections', { + expect(http.post).toHaveBeenCalledWith('/internal/elasticsearch/analytics/collections', { body: JSON.stringify({ name: 'test' }), }); await expect(result).resolves.toEqual({ name: 'test' }); diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.ts index 2aee9c0feb26b..d7d497891e921 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.ts @@ -20,7 +20,7 @@ export const createAnalyticsCollection = async ({ name, }: AddAnalyticsCollectionApiLogicArgs): Promise => { const { http } = HttpLogic.values; - const route = '/internal/enterprise_search/analytics/collections'; + const route = '/internal/elasticsearch/analytics/collections'; const response = await http.post(route, { body: JSON.stringify({ name }), }); diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.test.ts index 091b715744240..ead64d2eb1744 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.test.ts @@ -25,7 +25,7 @@ describe('AnalyticsEventsExistApiLogic', () => { const result = checkAnalyticsEventsExist({ indexName }); await nextTick(); expect(http.get).toHaveBeenCalledWith( - `/internal/enterprise_search/analytics/collection/${indexName}/events/exist` + `/internal/elasticsearch/analytics/collection/${indexName}/events/exist` ); await expect(result).resolves.toEqual({ exists: true }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.ts index 083297f571a9e..c1a3a0bcf1e52 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.ts @@ -19,7 +19,7 @@ export const checkAnalyticsEventsExist = async ({ indexName, }: AnalyticsEventsExistApiLogicArgs): Promise => { const { http } = HttpLogic.values; - const route = `/internal/enterprise_search/analytics/collection/${indexName}/events/exist`; + const route = `/internal/elasticsearch/analytics/collection/${indexName}/events/exist`; const response = await http.get(route); return response; diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.test.ts index 1ad6c18fea3bf..b3379b47a0fbe 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.test.ts @@ -25,7 +25,7 @@ describe('DeleteAnalyticsCollectionApiLogic', () => { const result = deleteAnalyticsCollection({ name }); await nextTick(); expect(http.delete).toHaveBeenCalledWith( - `/internal/enterprise_search/analytics/collections/${name}` + `/internal/elasticsearch/analytics/collections/${name}` ); await expect(result).resolves.toEqual(undefined); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.tsx b/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.tsx index 2cddffd49dd5d..08108bab744e7 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.tsx @@ -14,7 +14,7 @@ export type DeleteAnalyticsCollectionApiLogicResponse = void; export const deleteAnalyticsCollection = async ({ name }: { name: string }) => { const { http } = HttpLogic.values; - const route = `/internal/enterprise_search/analytics/collections/${name}`; + const route = `/internal/elasticsearch/analytics/collections/${name}`; await http.delete(route); return; diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.test.ts index ae21c61a8fad2..3a24a97a4ed30 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.test.ts @@ -25,7 +25,7 @@ describe('FetchAnalyticsCollectionApiLogic', () => { const result = fetchAnalyticsCollection({ name }); await nextTick(); expect(http.get).toHaveBeenCalledWith( - `/internal/enterprise_search/analytics/collections/${name}` + `/internal/elasticsearch/analytics/collections/${name}` ); await expect(result).resolves.toEqual({ name: 'result' }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.tsx b/x-pack/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.tsx index 5aafc82c29e0e..92938344a0bbe 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.tsx @@ -14,7 +14,7 @@ export type FetchAnalyticsCollectionApiLogicResponse = AnalyticsCollection; export const fetchAnalyticsCollection = async ({ name }: { name: string }) => { const { http } = HttpLogic.values; - const route = `/internal/enterprise_search/analytics/collections/${name}`; + const route = `/internal/elasticsearch/analytics/collections/${name}`; const response = await http.get(route); return response; diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.test.ts index c1a5950e03073..460badab4ddfc 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.test.ts @@ -34,7 +34,7 @@ describe('GenerateAnalyticsApiKeyLogic', () => { }); await nextTick(); expect(http.post).toHaveBeenCalledWith( - '/internal/enterprise_search/analytics/collections/puggles/api_key', + '/internal/elasticsearch/analytics/collections/puggles/api_key', { body: JSON.stringify({ keyName: 'puggles read only key', diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.ts index 2603ee977a6a0..c0f4e8ea71771 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.ts @@ -24,7 +24,7 @@ export const generateAnalyticsApiKey = async ({ collectionName: string; keyName: string; }) => { - const route = `/internal/enterprise_search/analytics/collections/${collectionName}/api_key`; + const route = `/internal/elasticsearch/analytics/collections/${collectionName}/api_key`; return await HttpLogic.values.http.post(route, { body: JSON.stringify({ diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.test.ts index 15d73d21ff890..c4fff16e6d194 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.test.ts @@ -23,7 +23,7 @@ describe('FetchAnalyticsCollectionsApiLogic', () => { http.get.mockReturnValue(promise); const result = fetchAnalyticsCollections({}); await nextTick(); - expect(http.get).toHaveBeenCalledWith('/internal/enterprise_search/analytics/collections', { + expect(http.get).toHaveBeenCalledWith('/internal/elasticsearch/analytics/collections', { query: { query: '' }, }); await expect(result).resolves.toEqual([{ name: 'result' }]); diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.ts index 45567d9202639..e1e8080973c2b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.ts @@ -20,7 +20,7 @@ export const fetchAnalyticsCollections = async ({ query = '', }: FetchAnalyticsCollectionsApiLogicArgs) => { const { http } = HttpLogic.values; - const route = '/internal/enterprise_search/analytics/collections'; + const route = '/internal/elasticsearch/analytics/collections'; const response = await http.get(route, { query: { query, diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/nav.test.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/layout/nav.test.tsx index db0340e99317e..16bafb8b8467b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/layout/nav.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/layout/nav.test.tsx @@ -80,14 +80,14 @@ const baseNavItems = [ }, { 'data-test-subj': 'searchSideNav-SearchApplications', - href: '/app/enterprise_search/applications/search_applications', + href: '/app/elasticsearch/applications/search_applications', id: 'searchApplications', items: undefined, name: 'Search Applications', }, { 'data-test-subj': 'searchSideNav-BehavioralAnalytics', - href: '/app/enterprise_search/analytics', + href: '/app/elasticsearch/analytics', id: 'analyticsCollections', items: undefined, name: 'Behavioral Analytics', @@ -195,12 +195,12 @@ const mockNavLinks = [ { id: 'enterpriseSearchApplications:searchApplications', title: 'Search Applications', - url: '/app/enterprise_search/applications/search_applications', + url: '/app/elasticsearch/applications/search_applications', }, { id: 'enterpriseSearchAnalytics', title: 'Behavioral Analytics', - url: '/app/enterprise_search/analytics', + url: '/app/elasticsearch/analytics', }, { id: 'searchInferenceEndpoints:inferenceEndpoints', @@ -387,17 +387,17 @@ describe('useEnterpriseSearchApplicationNav', () => { const engineItem: EuiSideNavItemType = enginesItem!.items[0]; expect(engineItem).toMatchInlineSnapshot(` Object { - "href": "/app/enterprise_search/applications/search_applications/my-test-engine", + "href": "/app/elasticsearch/applications/search_applications/my-test-engine", "id": "searchApplicationId", "items": Array [ Object { - "href": "/app/enterprise_search/applications/search_applications/my-test-engine/docs_explorer", + "href": "/app/elasticsearch/applications/search_applications/my-test-engine/docs_explorer", "id": "enterpriseSearchApplicationDocsExplorer", "items": undefined, "name": "Docs Explorer", }, Object { - "href": "/app/enterprise_search/applications/search_applications/my-test-engine/content", + "href": "/app/elasticsearch/applications/search_applications/my-test-engine/content", "iconToString": undefined, "id": "enterpriseSearchApplicationsContent", "items": undefined, @@ -410,7 +410,7 @@ describe('useEnterpriseSearchApplicationNav', () => { "nameToString": "Content", }, Object { - "href": "/app/enterprise_search/applications/search_applications/my-test-engine/connect", + "href": "/app/elasticsearch/applications/search_applications/my-test-engine/connect", "id": "enterpriseSearchApplicationConnect", "items": undefined, "name": "Connect", @@ -448,7 +448,7 @@ describe('useEnterpriseSearchApplicationNav', () => { // @ts-ignore const engineItem: EuiSideNavItemType = enginesItem!.items[0]; expect(engineItem).toEqual({ - href: `/app/enterprise_search/applications/search_applications/${engineName}`, + href: `/app/elasticsearch/applications/search_applications/${engineName}`, id: 'searchApplicationId', name: engineName, }); @@ -470,7 +470,7 @@ describe('useEnterpriseSearchApplicationNav', () => { expect(engineItem).toMatchInlineSnapshot(` Object { - "href": "/app/enterprise_search/applications/search_applications/my-test-engine/content", + "href": "/app/elasticsearch/applications/search_applications/my-test-engine/content", "iconToString": "warning", "id": "enterpriseSearchApplicationsContent", "items": undefined, @@ -535,24 +535,24 @@ describe('useEnterpriseSearchAnalyticsNav', () => { expect(analyticsNav).not.toBeUndefined(); expect(analyticsNav).toEqual({ 'data-test-subj': 'searchSideNav-BehavioralAnalytics', - href: '/app/enterprise_search/analytics', + href: '/app/elasticsearch/analytics', id: 'analyticsCollections', items: [ { id: 'analyticsCollection', items: [ { - href: '/app/enterprise_search/analytics/overview-path', + href: '/app/elasticsearch/analytics/overview-path', id: 'analyticsCollectionOverview', name: 'Overview', }, { - href: '/app/enterprise_search/analytics/explorer-path', + href: '/app/elasticsearch/analytics/explorer-path', id: 'analyticsCollectionExplorer', name: 'Explorer', }, { - href: '/app/enterprise_search/analytics/integration-path', + href: '/app/elasticsearch/analytics/integration-path', id: 'analyticsCollectionIntegration', name: 'Integration', }, diff --git a/x-pack/plugins/enterprise_search/public/navigation_tree.ts b/x-pack/plugins/enterprise_search/public/navigation_tree.ts index dfd639a075520..a098cf9c4883f 100644 --- a/x-pack/plugins/enterprise_search/public/navigation_tree.ts +++ b/x-pack/plugins/enterprise_search/public/navigation_tree.ts @@ -163,7 +163,7 @@ export const getNavigationTreeDefinition = ({ return ( pathNameSerialized === - prepend(`/app/enterprise_search/applications${SEARCH_APPLICATIONS_PATH}`) + prepend(`/app/elasticsearch/applications${SEARCH_APPLICATIONS_PATH}`) ); }, link: 'enterpriseSearchApplications:searchApplications', @@ -190,7 +190,7 @@ export const getNavigationTreeDefinition = ({ if (someSubItemSelected) return false; - return pathNameSerialized === prepend(`/app/enterprise_search/analytics`); + return pathNameSerialized === prepend(`/app/elasticsearch/analytics`); }, link: 'enterpriseSearchAnalytics', renderAs: 'item', diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.test.ts b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.test.ts index 96c6501200e56..74a161c1fd80f 100644 --- a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.test.ts @@ -25,7 +25,7 @@ describe('Enterprise Search Analytics API', () => { let mockRouter: MockRouter; const mockClient = {}; - describe('GET /internal/enterprise_search/analytics/collections', () => { + describe('GET /internal/elasticsearch/analytics/collections', () => { beforeEach(() => { const context = { core: Promise.resolve({ elasticsearch: { client: mockClient } }), @@ -34,7 +34,7 @@ describe('Enterprise Search Analytics API', () => { mockRouter = new MockRouter({ context, method: 'get', - path: '/internal/enterprise_search/analytics/collections', + path: '/internal/elasticsearch/analytics/collections', }); const mockDataPlugin = { @@ -99,7 +99,7 @@ describe('Enterprise Search Analytics API', () => { }); }); - describe('GET /internal/enterprise_search/analytics/collections/{id}', () => { + describe('GET /internal/elasticsearch/analytics/collections/{id}', () => { beforeEach(() => { const context = { core: Promise.resolve({ elasticsearch: { client: mockClient } }), @@ -108,7 +108,7 @@ describe('Enterprise Search Analytics API', () => { mockRouter = new MockRouter({ context, method: 'get', - path: '/internal/enterprise_search/analytics/collections/{name}', + path: '/internal/elasticsearch/analytics/collections/{name}', }); const mockDataPlugin = { diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts index abdf0673665c8..dcab09156f0b4 100644 --- a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts +++ b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts @@ -50,7 +50,7 @@ export function registerAnalyticsRoutes({ }: AnalyticsRouteDependencies) { router.get( { - path: '/internal/enterprise_search/analytics/collections', + path: '/internal/elasticsearch/analytics/collections', validate: { query: schema.object({ query: schema.maybe(schema.string()), @@ -75,7 +75,7 @@ export function registerAnalyticsRoutes({ router.get( { - path: '/internal/enterprise_search/analytics/collections/{name}', + path: '/internal/elasticsearch/analytics/collections/{name}', validate: { params: schema.object({ name: schema.string(), @@ -101,7 +101,7 @@ export function registerAnalyticsRoutes({ router.post( { - path: '/internal/enterprise_search/analytics/collections/{name}/api_key', + path: '/internal/elasticsearch/analytics/collections/{name}/api_key', validate: { body: schema.object({ keyName: schema.string(), @@ -127,7 +127,7 @@ export function registerAnalyticsRoutes({ router.post( { - path: '/internal/enterprise_search/analytics/collections', + path: '/internal/elasticsearch/analytics/collections', validate: { body: schema.object({ name: schema.string(), @@ -172,7 +172,7 @@ export function registerAnalyticsRoutes({ router.delete( { - path: '/internal/enterprise_search/analytics/collections/{name}', + path: '/internal/elasticsearch/analytics/collections/{name}', validate: { params: schema.object({ name: schema.string(), @@ -195,7 +195,7 @@ export function registerAnalyticsRoutes({ router.get( { - path: '/internal/enterprise_search/analytics/collection/{name}/events/exist', + path: '/internal/elasticsearch/analytics/collection/{name}/events/exist', validate: { params: schema.object({ name: schema.string(), diff --git a/x-pack/test/accessibility/apps/group3/enterprise_search.ts b/x-pack/test/accessibility/apps/group3/enterprise_search.ts index e2652aef953a1..f048b3804aa46 100644 --- a/x-pack/test/accessibility/apps/group3/enterprise_search.ts +++ b/x-pack/test/accessibility/apps/group3/enterprise_search.ts @@ -106,7 +106,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { describe('Playground', () => { before(async () => { - await common.navigateToApp('enterprise_search/applications'); + await common.navigateToApp('elasticsearch/applications'); }); it('loads playground', async function () { @@ -120,7 +120,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { describe('Search Applications', () => { before(async () => { - await common.navigateToApp('enterprise_search/applications/search_applications'); + await common.navigateToApp('elasticsearch/applications/search_applications'); }); it('loads search applications list', async function () { @@ -133,7 +133,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); describe('Behavioral Analytics', () => { before(async () => { - await common.navigateToApp('enterprise_search/analytics'); + await common.navigateToApp('elasticsearch/analytics'); }); it('loads Behavioral Analytics page', async function () { From 1c6b356fc526c6724df71c2402bfde3afa6d1462 Mon Sep 17 00:00:00 2001 From: Faisal Kanout Date: Tue, 10 Dec 2024 17:00:43 +0100 Subject: [PATCH 081/103] [OBS-UX-MGTM][Uptime] Change API access to new authz authorization paradigm (#203415) ## Summary It fixes #203319 And mostly covered by https://github.com/elastic/kibana/pull/198374 --- .../server/legacy_uptime/routes/monitors/monitor_list.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/observability_solution/uptime/server/legacy_uptime/routes/monitors/monitor_list.ts b/x-pack/plugins/observability_solution/uptime/server/legacy_uptime/routes/monitors/monitor_list.ts index f0d24a8316729..9e33ea01612af 100644 --- a/x-pack/plugins/observability_solution/uptime/server/legacy_uptime/routes/monitors/monitor_list.ts +++ b/x-pack/plugins/observability_solution/uptime/server/legacy_uptime/routes/monitors/monitor_list.ts @@ -23,8 +23,10 @@ export const createMonitorListRoute: UMRestApiRouteFactory = (libs) => ({ pageSize: schema.number(), }), }, - options: { - tags: ['access:uptime-read'], + security: { + authz: { + requiredPrivileges: ['uptime-read'], + }, }, handler: async ({ uptimeEsClient, request, response }): Promise => { const { dateRangeStart, dateRangeEnd, filters, pagination, statusFilter, pageSize, query } = From 5a67a033a3f29ea72028dc4e2f2b3c43b6d36551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georgiana-Andreea=20Onolea=C8=9B=C4=83?= Date: Tue, 10 Dec 2024 18:13:43 +0200 Subject: [PATCH 082/103] [ResponseOps][Serverless]Maintenance window page displays dead breadcrumb for management (#201147) Closes https://github.com/elastic/kibana/issues/189318 ## Summary - the issue was resolved by using useKibana.services.serverless.setBreadcrumbs instead of chrome.setBreadcrumbs, this ensures that breadcrumb functionality is correctly handled within serverless observability. https://github.com/user-attachments/assets/d805b54f-74b4-424f-8304-dced09718ebb --- x-pack/plugins/alerting/kibana.jsonc | 17 ++++--------- .../alerting/public/hooks/use_breadcrumbs.ts | 25 +++++++++++++------ x-pack/plugins/alerting/public/plugin.ts | 2 ++ .../test_suites/observability/navigation.ts | 10 ++++++++ .../test_suites/security/ftr/navigation.ts | 11 ++++++++ 5 files changed, 45 insertions(+), 20 deletions(-) diff --git a/x-pack/plugins/alerting/kibana.jsonc b/x-pack/plugins/alerting/kibana.jsonc index b99c0a26c901e..097ed2e5b464c 100644 --- a/x-pack/plugins/alerting/kibana.jsonc +++ b/x-pack/plugins/alerting/kibana.jsonc @@ -1,19 +1,14 @@ { "type": "plugin", "id": "@kbn/alerting-plugin", - "owner": [ - "@elastic/response-ops" - ], + "owner": ["@elastic/response-ops"], "group": "platform", "visibility": "shared", "plugin": { "id": "alerting", "browser": true, "server": true, - "configPath": [ - "xpack", - "alerting" - ], + "configPath": ["xpack", "alerting"], "requiredPlugins": [ "actions", "data", @@ -35,11 +30,9 @@ "usageCollection", "security", "monitoringCollection", - "spaces" + "spaces", + "serverless" ], - "extraPublicDirs": [ - "common", - "common/parse_duration" - ] + "extraPublicDirs": ["common", "common/parse_duration"] } } diff --git a/x-pack/plugins/alerting/public/hooks/use_breadcrumbs.ts b/x-pack/plugins/alerting/public/hooks/use_breadcrumbs.ts index 45d849be4d60f..d68e6f5816781 100644 --- a/x-pack/plugins/alerting/public/hooks/use_breadcrumbs.ts +++ b/x-pack/plugins/alerting/public/hooks/use_breadcrumbs.ts @@ -72,19 +72,25 @@ export const useBreadcrumbs = (pageDeepLink: MaintenanceWindowDeepLinkIds) => { services: { chrome: { docTitle, setBreadcrumbs }, application: { navigateToUrl }, + serverless, }, } = useKibana(); + const setTitle = docTitle.change; const { getAppUrl } = useNavigation(MANAGEMENT_APP_ID); useEffect(() => { const breadcrumbs = [ - { - text: i18n.translate('xpack.alerting.breadcrumbs.stackManagementLinkText', { - defaultMessage: 'Stack Management', - }), - href: getAppUrl(), - }, + ...(!serverless + ? [ + { + text: i18n.translate('xpack.alerting.breadcrumbs.stackManagementLinkText', { + defaultMessage: 'Stack Management', + }), + href: getAppUrl(), + }, + ] + : []), ...(topLevelBreadcrumb[pageDeepLink] ? [ { @@ -98,11 +104,14 @@ export const useBreadcrumbs = (pageDeepLink: MaintenanceWindowDeepLinkIds) => { }, ]; - if (setBreadcrumbs) { + if (serverless?.setBreadcrumbs) { + serverless.setBreadcrumbs(breadcrumbs); + } else { setBreadcrumbs(addClickHandlers(breadcrumbs, navigateToUrl)); } + if (setTitle) { setTitle(getTitleFromBreadCrumbs(breadcrumbs)); } - }, [pageDeepLink, getAppUrl, navigateToUrl, setBreadcrumbs, setTitle]); + }, [pageDeepLink, getAppUrl, navigateToUrl, setBreadcrumbs, setTitle, serverless]); }; diff --git a/x-pack/plugins/alerting/public/plugin.ts b/x-pack/plugins/alerting/public/plugin.ts index 71bae6b28c94c..66f93cfe124a8 100644 --- a/x-pack/plugins/alerting/public/plugin.ts +++ b/x-pack/plugins/alerting/public/plugin.ts @@ -12,6 +12,7 @@ import { SpacesPluginStart } from '@kbn/spaces-plugin/public'; import { LicensingPluginStart } from '@kbn/licensing-plugin/public'; import type { DataPublicPluginStart } from '@kbn/data-plugin/public'; import type { UnifiedSearchPublicPluginStart } from '@kbn/unified-search-plugin/public'; +import type { ServerlessPluginStart } from '@kbn/serverless/public'; import { AlertNavigationRegistry, AlertNavigationHandler } from './alert_navigation_registry'; import { loadRule, loadRuleType } from './services/rule_api'; @@ -68,6 +69,7 @@ export interface AlertingPluginStart { spaces: SpacesPluginStart; unifiedSearch: UnifiedSearchPublicPluginStart; data: DataPublicPluginStart; + serverless?: ServerlessPluginStart; } export interface AlertingUIConfig { diff --git a/x-pack/test_serverless/functional/test_suites/observability/navigation.ts b/x-pack/test_serverless/functional/test_suites/observability/navigation.ts index 0f8df9e7bc780..428d346386b98 100644 --- a/x-pack/test_serverless/functional/test_suites/observability/navigation.ts +++ b/x-pack/test_serverless/functional/test_suites/observability/navigation.ts @@ -132,5 +132,15 @@ export default function ({ getPageObject, getService }: FtrProviderContext) { await svlCommonNavigation.sidenav.clickLink({ deepLinkId: 'fleet' }); await svlCommonNavigation.breadcrumbs.expectBreadcrumbTexts(['Fleet', 'Agents']); }); + + it('navigates to maintenance windows', async () => { + await svlCommonNavigation.sidenav.openSection('project_settings_project_nav'); + await svlCommonNavigation.sidenav.clickLink({ deepLinkId: 'management' }); + await testSubjects.click('app-card-maintenanceWindows'); + await svlCommonNavigation.breadcrumbs.expectBreadcrumbTexts([ + 'Management', + 'Maintenance Windows', + ]); + }); }); } diff --git a/x-pack/test_serverless/functional/test_suites/security/ftr/navigation.ts b/x-pack/test_serverless/functional/test_suites/security/ftr/navigation.ts index 9f9580c226c61..b7d7ef5c6dbbb 100644 --- a/x-pack/test_serverless/functional/test_suites/security/ftr/navigation.ts +++ b/x-pack/test_serverless/functional/test_suites/security/ftr/navigation.ts @@ -74,5 +74,16 @@ export default function ({ getPageObject, getService }: FtrProviderContext) { await testSubjects.existOrFail('cases-all-title'); }); }); + it('navigates to maintenance windows', async () => { + await svlCommonPage.loginAsAdmin(); + await svlSecNavigation.navigateToLandingPage(); + await svlCommonNavigation.sidenav.openSection('category-management'); + await svlCommonNavigation.sidenav.clickLink({ deepLinkId: 'management' }); + await testSubjects.click('app-card-maintenanceWindows'); + await svlCommonNavigation.breadcrumbs.expectBreadcrumbTexts([ + 'Stack Management', + 'Maintenance Windows', + ]); + }); }); } From 65b00793d58775b04624a3465fbff9ed5b677b03 Mon Sep 17 00:00:00 2001 From: Rodney Norris Date: Tue, 10 Dec 2024 10:31:08 -0600 Subject: [PATCH 083/103] [Search] fix: ensure App Search is used for classic nav link name (#203490) ## Summary Ensure "App Search" is the name for the app search nav link in classic mode over "Engines" which is the label for the navLink (deepLink) Co-authored-by: Elastic Machine --- .../public/applications/shared/layout/base_nav.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/base_nav.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/layout/base_nav.tsx index 0c1e959f7b507..b2e3fdc01be03 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/layout/base_nav.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/layout/base_nav.tsx @@ -19,7 +19,7 @@ import { import { i18n } from '@kbn/i18n'; import type { ClassicNavItem } from '@kbn/search-navigation/public'; -import { GETTING_STARTED_TITLE } from '../../../../common/constants'; +import { GETTING_STARTED_TITLE, APP_SEARCH_PLUGIN } from '../../../../common/constants'; import { BuildClassicNavParameters } from '../types'; @@ -176,6 +176,7 @@ export const buildBaseClassicNavItems = ({ deepLink: { link: 'appSearch:engines', }, + name: APP_SEARCH_PLUGIN.NAME, id: 'app_search', }); } From 305bb1b8879dd41077afa79195ac920e7d8080e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Rica=20Pais=20da=20Silva?= Date: Tue, 10 Dec 2024 17:38:19 +0100 Subject: [PATCH 084/103] [Infra][ObsUX] Hosts & Container Logs only overview (#202992) ## Summary Enables a logs only overview for hosts & containers. Disables the metrics tab as there's no data incoming for metrics, and provides Logs charts on the overview page detailing the Log Rate (all logs generated) and Log Error Rate (all recorded errors). https://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8 Closes #201752 ## How to test This is tested using synthtrace data, loading the scenario below: ``` node scripts/synthtrace traces_logs_entities.ts --live ``` This loads a logs-only host, though if other scenarios contain logs only containers, feel free to use those as well. * Go to Inventory page. Click on a host or container. * If it is a logs only host/container, no metrics tab should be shown. Metrics KPI charts should be replaced with Logs KPI charts (Log Rate and Log Error Rate). * If the host/container contains metrics, the metrics tab should be visible and the normal Metrics KPI charts should be present. --------- Co-authored-by: Elastic Machine --- .../components/kpis/container_kpi_charts.tsx | 6 +- .../components/kpis/host_kpi_charts.tsx | 4 +- .../hooks/use_chart_series_color.test.ts | 43 +++++++++++ .../hooks/use_chart_series_color.ts | 21 +++++ .../hooks/use_container_metrics_charts.ts | 5 ++ .../hooks/use_host_metrics_charts.ts | 3 + .../asset_details/hooks/use_log_charts.ts | 77 +++++++++++++++++++ .../asset_details/hooks/use_page_header.tsx | 46 ++++++++--- .../asset_details/tabs/overview/logs.tsx | 59 ++++++++++++++ .../asset_details/tabs/overview/overview.tsx | 46 +++++++---- .../functional/apps/infra/node_details.ts | 10 --- 11 files changed, 278 insertions(+), 42 deletions(-) create mode 100644 x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_chart_series_color.test.ts create mode 100644 x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_chart_series_color.ts create mode 100644 x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_log_charts.ts create mode 100644 x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/logs.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/container_kpi_charts.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/container_kpi_charts.tsx index c2f61b97257fc..95291d157745e 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/container_kpi_charts.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/container_kpi_charts.tsx @@ -6,7 +6,7 @@ */ import React from 'react'; -import { EuiFlexItem, useEuiTheme } from '@elastic/eui'; +import { EuiFlexItem } from '@elastic/eui'; import type { DataView } from '@kbn/data-views-plugin/public'; import type { Filter, Query, TimeRange } from '@kbn/es-query'; import { Kpi } from './kpi'; @@ -79,10 +79,8 @@ const DockerKpiCharts = ({ searchSessionId, loading = false, }: ContainerKpiChartsProps) => { - const { euiTheme } = useEuiTheme(); const charts = useDockerContainerKpiCharts({ dataViewId: dataView?.id, - seriesColor: euiTheme.colors.lightestShade, }); return ( @@ -112,10 +110,8 @@ const KubernetesKpiCharts = ({ searchSessionId, loading = false, }: ContainerKpiChartsProps) => { - const { euiTheme } = useEuiTheme(); const charts = useK8sContainerKpiCharts({ dataViewId: dataView?.id, - seriesColor: euiTheme.colors.lightestShade, }); return ( diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/host_kpi_charts.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/host_kpi_charts.tsx index adccf59e519d5..64345efb1af8a 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/host_kpi_charts.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/kpis/host_kpi_charts.tsx @@ -6,7 +6,7 @@ */ import React from 'react'; -import { EuiFlexItem, useEuiTheme } from '@elastic/eui'; +import { EuiFlexItem } from '@elastic/eui'; import type { DataView } from '@kbn/data-views-plugin/public'; import type { Filter, Query, TimeRange } from '@kbn/es-query'; import { Kpi } from './kpi'; @@ -31,11 +31,9 @@ export const HostKpiCharts = ({ searchSessionId, loading = false, }: HostKpiChartsProps) => { - const { euiTheme } = useEuiTheme(); const charts = useHostKpiCharts({ dataViewId: dataView?.id, getSubtitle, - seriesColor: euiTheme.colors.lightestShade, }); return ( diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_chart_series_color.test.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_chart_series_color.test.ts new file mode 100644 index 0000000000000..7c58445a503db --- /dev/null +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_chart_series_color.test.ts @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useEuiTheme } from '@elastic/eui'; +import { renderHook } from '@testing-library/react'; +import { useChartSeriesColor } from './use_chart_series_color'; + +describe('useChartSeriesColor', () => { + let seriesDefaultColor: string; + + beforeEach(() => { + const { result } = renderHook(() => useEuiTheme()); + + // Don't try to test a hardcoded value, just use what is provided by EUI. + // If in the future this value changes, the tests won't break. + seriesDefaultColor = result.current.euiTheme.colors.backgroundLightText; + }); + + it('returns a default color value if given no input', () => { + const { result } = renderHook(() => useChartSeriesColor()); + + expect(result.current).not.toBe(''); + expect(result.current).toBe(seriesDefaultColor); + }); + + it('returns a default color value if given an empty string', () => { + const { result } = renderHook(() => useChartSeriesColor('')); + + expect(result.current).not.toBe(''); + expect(result.current).toBe(seriesDefaultColor); + }); + + it('returns the provided color input', () => { + const { result } = renderHook(() => useChartSeriesColor('#fff')); + + expect(result.current).not.toBe(seriesDefaultColor); + expect(result.current).toBe('#fff'); + }); +}); diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_chart_series_color.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_chart_series_color.ts new file mode 100644 index 0000000000000..d71408982226f --- /dev/null +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_chart_series_color.ts @@ -0,0 +1,21 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useEuiTheme } from '@elastic/eui'; + +/** + * Provides either the input color, or yields the default EUI theme + * color for use as the KPI chart series color. + * @param seriesColor A user-defined color value + * @returns Either the input `seriesColor` or the default color from EUI + */ +export const useChartSeriesColor = (seriesColor?: string): string => { + const { euiTheme } = useEuiTheme(); + + // Prevent empty string being used as a valid color + return seriesColor || euiTheme.colors.backgroundLightText; +}; diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_container_metrics_charts.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_container_metrics_charts.ts index cf1d5062a5c6c..c453725f3f527 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_container_metrics_charts.ts +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_container_metrics_charts.ts @@ -9,6 +9,7 @@ import { i18n } from '@kbn/i18n'; import { findInventoryModel } from '@kbn/metrics-data-access-plugin/common'; import useAsync from 'react-use/lib/useAsync'; import { ContainerMetricTypes } from '../charts/types'; +import { useChartSeriesColor } from './use_chart_series_color'; const getSubtitleFromFormula = (value: string) => value.startsWith('max') @@ -106,6 +107,8 @@ export const useDockerContainerKpiCharts = ({ dataViewId?: string; seriesColor?: string; }) => { + seriesColor = useChartSeriesColor(seriesColor); + const { value: charts = [] } = useAsync(async () => { const model = findInventoryModel('container'); const { cpu, memory } = await model.metrics.getCharts(); @@ -134,6 +137,8 @@ export const useK8sContainerKpiCharts = ({ dataViewId?: string; seriesColor?: string; }) => { + seriesColor = useChartSeriesColor(seriesColor); + const { value: charts = [] } = useAsync(async () => { const model = findInventoryModel('container'); const { cpu, memory } = await model.metrics.getCharts(); diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_host_metrics_charts.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_host_metrics_charts.ts index 57c9a5a0d7d42..ba3e3f973b35f 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_host_metrics_charts.ts +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_host_metrics_charts.ts @@ -10,6 +10,7 @@ import { findInventoryModel } from '@kbn/metrics-data-access-plugin/common'; import { useMemo } from 'react'; import useAsync from 'react-use/lib/useAsync'; import { HostMetricTypes } from '../charts/types'; +import { useChartSeriesColor } from './use_chart_series_color'; export const useHostCharts = ({ metric, @@ -87,6 +88,8 @@ export const useHostKpiCharts = ({ seriesColor?: string; getSubtitle?: (formulaValue: string) => string; }) => { + seriesColor = useChartSeriesColor(seriesColor); + const { value: charts = [] } = useAsync(async () => { const model = findInventoryModel('host'); const { cpu, memory, disk } = await model.metrics.getCharts(); diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_log_charts.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_log_charts.ts new file mode 100644 index 0000000000000..e373e214a63c2 --- /dev/null +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_log_charts.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 { i18n } from '@kbn/i18n'; +import { useMemo } from 'react'; +import { LensConfig } from '@kbn/lens-embeddable-utils/config_builder'; +import { useChartSeriesColor } from './use_chart_series_color'; + +const LOG_RATE = i18n.translate('xpack.infra.assetDetails.charts.logRate', { + defaultMessage: 'Log Rate', +}); + +const LOG_ERROR_RATE = i18n.translate('xpack.infra.assetDetails.charts.logErrorRate', { + defaultMessage: 'Log Error Rate', +}); + +const logRateMetric: LensConfig & { id: string } = { + id: 'logMetric', + chartType: 'metric', + title: LOG_RATE, + label: LOG_RATE, + trendLine: true, + value: 'count()', + format: 'number', + decimals: 1, + normalizeByUnit: 's', +}; + +const logErrorRateMetric: LensConfig & { id: string } = { + id: 'logErrorMetric', + chartType: 'metric', + title: LOG_ERROR_RATE, + label: LOG_ERROR_RATE, + trendLine: true, + value: + 'count(kql=\'log.level: "error" OR log.level: "ERROR" OR error.log.level: "error" OR error.log.level: "ERROR"\')', + format: 'number', + decimals: 1, + normalizeByUnit: 's', +}; + +export const useLogsCharts = ({ + dataViewId, + seriesColor, +}: { + dataViewId?: string; + seriesColor?: string; +}) => { + seriesColor = useChartSeriesColor(seriesColor); + + return useMemo(() => { + const dataset = dataViewId && { + dataset: { + index: dataViewId, + }, + }; + + return { + charts: [ + { + ...logRateMetric, + ...dataset, + seriesColor, + }, + { + ...logErrorRateMetric, + ...dataset, + seriesColor, + }, + ], + }; + }, [dataViewId, seriesColor]); +}; diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_page_header.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_page_header.tsx index efd8c6028b032..aeb85617015e9 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_page_header.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_page_header.tsx @@ -26,6 +26,8 @@ import { LinkToNodeDetails } from '../links'; import { ContentTabIds, type LinkOptions, type Tab, type TabIds } from '../types'; import { useAssetDetailsRenderPropsContext } from './use_asset_details_render_props'; import { useTabSwitcherContext } from './use_tab_switcher'; +import { useEntitySummary } from './use_entity_summary'; +import { isMetricsSignal } from '../utils/get_data_stream_types'; type TabItem = NonNullable['tabs']>[number]; @@ -140,9 +142,31 @@ const useFeatureFlagTabs = () => { }; }; +const useMetricsTabs = () => { + const { asset } = useAssetDetailsRenderPropsContext(); + const { dataStreams } = useEntitySummary({ + entityType: asset.type, + entityId: asset.id, + }); + + const isMetrics = isMetricsSignal(dataStreams); + + const hasMetricsTab = useCallback( + (tabItem: Tab) => { + return isMetrics || tabItem.id !== ContentTabIds.METRICS; + }, + [isMetrics] + ); + + return { + hasMetricsTab, + }; +}; + const useTabs = (tabs: Tab[]) => { const { showTab, activeTabId } = useTabSwitcherContext(); const { isTabEnabled } = useFeatureFlagTabs(); + const { hasMetricsTab } = useMetricsTabs(); const onTabClick = useCallback( (tabId: TabIds) => { @@ -153,16 +177,18 @@ const useTabs = (tabs: Tab[]) => { const tabEntries: TabItem[] = useMemo( () => - tabs.filter(isTabEnabled).map(({ name, ...tab }) => { - return { - ...tab, - 'data-test-subj': `infraAssetDetails${capitalize(tab.id)}Tab`, - onClick: () => onTabClick(tab.id), - isSelected: tab.id === activeTabId, - label: name, - }; - }), - [activeTabId, isTabEnabled, onTabClick, tabs] + tabs + .filter((tab) => isTabEnabled(tab) && hasMetricsTab(tab)) + .map(({ name, ...tab }) => { + return { + ...tab, + 'data-test-subj': `infraAssetDetails${capitalize(tab.id)}Tab`, + onClick: () => onTabClick(tab.id), + isSelected: tab.id === activeTabId, + label: name, + }; + }), + [activeTabId, isTabEnabled, hasMetricsTab, onTabClick, tabs] ); return { tabEntries }; diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/logs.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/logs.tsx new file mode 100644 index 0000000000000..5ca334acf20ec --- /dev/null +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/logs.tsx @@ -0,0 +1,59 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useMemo } from 'react'; +import type { DataView } from '@kbn/data-views-plugin/public'; +import type { TimeRange } from '@kbn/es-query'; +import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { + findInventoryFields, + type InventoryItemType, +} from '@kbn/metrics-data-access-plugin/common'; +import { buildCombinedAssetFilter } from '../../../../utils/filters/build'; +import { useSearchSessionContext } from '../../../../hooks/use_search_session'; +import { useLogsCharts } from '../../hooks/use_log_charts'; +import { Kpi } from '../../components/kpis/kpi'; + +interface Props { + dataView?: DataView; + assetId: string; + assetType: InventoryItemType; + dateRange: TimeRange; +} + +export const LogsContent = ({ assetId, assetType, dataView, dateRange }: Props) => { + const { searchSessionId } = useSearchSessionContext(); + + const filters = useMemo(() => { + return [ + buildCombinedAssetFilter({ + field: findInventoryFields(assetType).id, + values: [assetId], + dataView, + }), + ]; + }, [dataView, assetId, assetType]); + + const { charts } = useLogsCharts({ + dataViewId: dataView?.id, + }); + + return ( + + {charts.map((chartProps, index) => ( + + + + ))} + + ); +}; diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/overview.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/overview.tsx index 9ace5606599d7..a25ee35cb75fa 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/overview.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/overview.tsx @@ -26,7 +26,8 @@ import { MetricsContent } from './metrics/metrics'; import { AddMetricsCallout } from '../../add_metrics_callout'; import { AddMetricsCalloutKey } from '../../add_metrics_callout/constants'; import { useEntitySummary } from '../../hooks/use_entity_summary'; -import { isMetricsSignal } from '../../utils/get_data_stream_types'; +import { isMetricsSignal, isLogsSignal } from '../../utils/get_data_stream_types'; +import { LogsContent } from './logs'; export const Overview = () => { const { dateRange } = useDatePickerContext(); @@ -36,7 +37,7 @@ export const Overview = () => { loading: metadataLoading, error: fetchMetadataError, } = useMetadataStateContext(); - const { metrics } = useDataViewsContext(); + const { metrics, logs } = useDataViewsContext(); const isFullPageView = renderMode.mode === 'page'; const { dataStreams, status: dataStreamsStatus } = useEntitySummary({ entityType: asset.type, @@ -59,6 +60,10 @@ export const Overview = () => { /> ); + const isMetrics = isMetricsSignal(dataStreams); + const isLogs = isLogsSignal(dataStreams); + const isLogsOnly = !isMetrics && isLogs; + const shouldShowCallout = () => { if ( dataStreamsStatus !== 'success' || @@ -68,14 +73,14 @@ export const Overview = () => { return false; } - return !isMetricsSignal(dataStreams); + return !isMetrics; }; const showAddMetricsCallout = shouldShowCallout(); return ( - {showAddMetricsCallout ? ( + {showAddMetricsCallout && ( { }} /> - ) : ( + )} + {isLogsOnly ? ( + + + + ) : null} + {!showAddMetricsCallout && isMetrics ? ( { /> {asset.type === 'host' ? : null} - )} + ) : null} {fetchMetadataError && !metadataLoading ? : metadataSummarySection} @@ -111,14 +127,16 @@ export const Overview = () => { ) : null} - - - + {isMetrics ? ( + + + + ) : null} ); }; diff --git a/x-pack/test/functional/apps/infra/node_details.ts b/x-pack/test/functional/apps/infra/node_details.ts index 0e70d974d6ed5..1481d1392a71c 100644 --- a/x-pack/test/functional/apps/infra/node_details.ts +++ b/x-pack/test/functional/apps/infra/node_details.ts @@ -662,16 +662,6 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { }); }); - describe('Metrics Tab', () => { - before(async () => { - await pageObjects.assetDetails.clickMetricsTab(); - }); - - it('should show add metrics callout', async () => { - await pageObjects.assetDetails.addMetricsCalloutExists(); - }); - }); - describe('Processes Tab', () => { before(async () => { await pageObjects.assetDetails.clickProcessesTab(); From 7e2f67ebc550167f8b9d678312c69eda1abc921b Mon Sep 17 00:00:00 2001 From: Giorgos Bamparopoulos Date: Tue, 10 Dec 2024 16:43:49 +0000 Subject: [PATCH 085/103] [Stack Monitoring] Remove 'observability' and 'observabilityShared' plugin dependencies (#203492) ### Summary A recent [bug](https://github.com/elastic/kibana/issues/199902) that affected some of the pages in Stack Monitoring was caused by changes related to the locators of the logs-related apps. The goal of this PR is to reduce the number of Observability dependencies that could potentially cause issues in the app by removing the `observability` and `observabilityShared` plugin dependencies from the `monitoring` plugin. Currently, the `monitoring` plugin is [categorised as observability](https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/kibana.jsonc#L7) but when the dependency on the `infra` plugin is removed, it can be marked as a `platform` plugin. ### Notes for reviewers - The components used to render the header menu as well as the [use_track_metric](https://github.com/elastic/kibana/pull/203492/files#diff-7e39fc60ca80ee551d824ca97f9f879e3364a368a5736cf9178b5943a12ca7a7) hook were copied from the `observabilityShared` plugin - There should be no UX and functionality changes in the stack monitoring header - Usage collection could be verified by searching for UI counters sent by the cluster created for this PR, once telemetry has been sent ### Testing The stateful environment deployed by this PR includes logs and metrics for stack monitoring. Please make sure to select a larger time range (e.g. last 14 days). --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine --- x-pack/plugins/monitoring/common/constants.ts | 2 + x-pack/plugins/monitoring/kibana.jsonc | 4 +- .../application/hooks/use_track_metric.tsx | 88 +++++++++++++++++++ .../application/pages/page_template.tsx | 2 +- .../header_menu/header_menu_portal.test.tsx | 30 +++++++ .../header_menu/header_menu_portal.tsx | 34 +++++++ .../public/components/header_menu/index.tsx | 20 +++++ .../public/components/page_loading/index.tsx | 6 +- .../components/setup_mode/toggle_button.tsx | 5 +- x-pack/plugins/monitoring/public/types.ts | 7 ++ x-pack/plugins/monitoring/tsconfig.json | 2 +- .../typings/fetch_overview_data/index.ts | 7 +- .../typings/fetch_overview_data/index.ts | 2 +- .../observability/typings/common.ts | 1 - .../observability_shared/typings/common.ts | 1 - 15 files changed, 192 insertions(+), 19 deletions(-) create mode 100644 x-pack/plugins/monitoring/public/application/hooks/use_track_metric.tsx create mode 100644 x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.test.tsx create mode 100644 x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx create mode 100644 x-pack/plugins/monitoring/public/components/header_menu/index.tsx diff --git a/x-pack/plugins/monitoring/common/constants.ts b/x-pack/plugins/monitoring/common/constants.ts index 89dcba5637787..61dcf1a17df6b 100644 --- a/x-pack/plugins/monitoring/common/constants.ts +++ b/x-pack/plugins/monitoring/common/constants.ts @@ -10,6 +10,8 @@ import { CommonAlertParamDetail, ExpressionConfig } from './types/alerts'; import { AlertParamType } from './enums'; import { validateDuration } from './validate_duration'; +export const USAGE_COLLECTION_APP_NAME = 'stack_monitoring'; + /** * Helper string to add as a tag in every logging call */ diff --git a/x-pack/plugins/monitoring/kibana.jsonc b/x-pack/plugins/monitoring/kibana.jsonc index 334ffd05890bc..5ba71cdc96ee3 100644 --- a/x-pack/plugins/monitoring/kibana.jsonc +++ b/x-pack/plugins/monitoring/kibana.jsonc @@ -18,8 +18,6 @@ "features", "data", "navigation", - "observability", - "observabilityShared", "dataViews", "unifiedSearch", "share" @@ -42,4 +40,4 @@ "kibanaReact", ] } -} \ No newline at end of file +} diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_track_metric.tsx b/x-pack/plugins/monitoring/public/application/hooks/use_track_metric.tsx new file mode 100644 index 0000000000000..863f1af6422be --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/hooks/use_track_metric.tsx @@ -0,0 +1,88 @@ +/* + * Copyright 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, useMemo } from 'react'; +import { METRIC_TYPE, UiCounterMetricType } from '@kbn/analytics'; +import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public'; +import { useKibana } from '@kbn/kibana-react-plugin/public'; +import { USAGE_COLLECTION_APP_NAME } from '../../../common/constants'; + +/** + * Note: The usage_collection plugin will take care of sending this data to the telemetry server. + * You can find the metrics that are collected by these hooks in Stack Telemetry. + * Search the index `kibana-ui-counter`. You can filter for `eventName` and/or `appName`. + */ + +interface TrackOptions { + metricType?: UiCounterMetricType; + delay?: number; // in ms +} +type EffectDeps = unknown[]; + +interface ServiceDeps { + usageCollection: UsageCollectionSetup; // TODO: This should really be start. Looking into it. +} + +export type TrackMetricOptions = TrackOptions & { metric: string }; +export type UiTracker = ReturnType; +export type TrackEvent = (options: TrackMetricOptions) => void; + +export { METRIC_TYPE }; + +export function useUiTracker(): TrackEvent { + const reportUiCounter = useKibana().services?.usageCollection?.reportUiCounter; + const trackEvent = useMemo(() => { + return ({ metric, metricType = METRIC_TYPE.COUNT }: TrackMetricOptions) => { + if (reportUiCounter) { + reportUiCounter(USAGE_COLLECTION_APP_NAME, metricType, metric); + } + }; + }, [reportUiCounter]); + return trackEvent; +} + +export function useTrackMetric( + { metric, metricType = METRIC_TYPE.COUNT, delay = 0 }: TrackMetricOptions, + effectDependencies: EffectDeps = [] +) { + const reportUiCounter = useKibana().services?.usageCollection?.reportUiCounter; + + useEffect(() => { + if (!reportUiCounter) { + // eslint-disable-next-line no-console + console.log( + 'usageCollection.reportUiCounter is unavailable. Ensure this is setup via .' + ); + } else { + let decoratedMetric = metric; + if (delay > 0) { + decoratedMetric += `__delayed_${delay}ms`; + } + const id = setTimeout( + () => reportUiCounter(USAGE_COLLECTION_APP_NAME, metricType, decoratedMetric), + Math.max(delay, 0) + ); + return () => clearTimeout(id); + } + // the dependencies are managed externally + // eslint-disable-next-line react-hooks/exhaustive-deps + }, effectDependencies); +} + +/** + * useTrackPageview is a convenience wrapper for tracking a pageview + * Its metrics will be found at: + * stack_stats.kibana.plugins.ui_metric.{app}.pageview__{path}(__delayed_{n}ms)? + */ +type TrackPageviewProps = TrackOptions & { path: string }; + +export function useTrackPageview( + { path, ...rest }: TrackPageviewProps, + effectDependencies: EffectDeps = [] +) { + useTrackMetric({ ...rest, metric: `pageview__${path}` }, effectDependencies); +} diff --git a/x-pack/plugins/monitoring/public/application/pages/page_template.tsx b/x-pack/plugins/monitoring/public/application/pages/page_template.tsx index 88868295b0bca..befe47b3f7c64 100644 --- a/x-pack/plugins/monitoring/public/application/pages/page_template.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/page_template.tsx @@ -9,7 +9,6 @@ import { EuiPage, EuiPageBody, EuiPageTemplate, EuiTab, EuiTabs, EuiSpacer } fro import React, { useContext, useState, useEffect, useCallback, FC, PropsWithChildren } from 'react'; import { useHistory } from 'react-router-dom'; import type { IHttpFetchError, ResponseErrorBody } from '@kbn/core-http-browser'; -import { HeaderMenuPortal } from '@kbn/observability-shared-plugin/public'; import { useTitle } from '../hooks/use_title'; import { MonitoringToolbar } from '../../components/shared/toolbar'; import { useMonitoringTimeContainerContext } from '../hooks/use_monitoring_time'; @@ -25,6 +24,7 @@ import { AlertsDropdown } from '../../alerts/alerts_dropdown'; import { useRequestErrorHandler } from '../hooks/use_request_error_handler'; import { SetupModeToggleButton } from '../../components/setup_mode/toggle_button'; import { HeaderActionMenuContext } from '../contexts/header_action_menu_context'; +import { HeaderMenuPortal } from '../../components/header_menu'; export interface TabMenuItem { id: string; diff --git a/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.test.tsx b/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.test.tsx new file mode 100644 index 0000000000000..055c974dcf6db --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.test.tsx @@ -0,0 +1,30 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { render } from '@testing-library/react'; +import React from 'react'; +import HeaderMenuPortal from './header_menu_portal'; +import { themeServiceMock } from '@kbn/core/public/mocks'; + +describe('HeaderMenuPortal', () => { + describe('when unmounted', () => { + it('calls setHeaderActionMenu with undefined', () => { + const setHeaderActionMenu = jest.fn(); + const theme$ = themeServiceMock.createTheme$(); + + const { unmount } = render( + + test + + ); + + unmount(); + + expect(setHeaderActionMenu).toHaveBeenCalledWith(undefined); + }); + }); +}); diff --git a/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx b/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx new file mode 100644 index 0000000000000..4f7c4bb817e3e --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx @@ -0,0 +1,34 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useEffect, useMemo } from 'react'; +import { createHtmlPortalNode, InPortal, OutPortal } from 'react-reverse-portal'; +import { toMountPoint } from '@kbn/kibana-react-plugin/public'; +import type { HeaderMenuPortalProps } from '../../types'; + +// eslint-disable-next-line import/no-default-export +export default function HeaderMenuPortal({ + children, + setHeaderActionMenu, + theme$, +}: HeaderMenuPortalProps) { + const portalNode = useMemo(() => createHtmlPortalNode(), []); + + useEffect(() => { + setHeaderActionMenu((element) => { + const mount = toMountPoint(, { theme$ }); + return mount(element); + }); + + return () => { + portalNode.unmount(); + setHeaderActionMenu(undefined); + }; + }, [portalNode, setHeaderActionMenu, theme$]); + + return {children}; +} diff --git a/x-pack/plugins/monitoring/public/components/header_menu/index.tsx b/x-pack/plugins/monitoring/public/components/header_menu/index.tsx new file mode 100644 index 0000000000000..f0f39d1f12a3f --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/header_menu/index.tsx @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { lazy, Suspense } from 'react'; +import { EuiLoadingSpinner } from '@elastic/eui'; +import { HeaderMenuPortalProps } from '../../types'; + +const HeaderMenuPortalLazy = lazy(() => import('./header_menu_portal')); + +export function HeaderMenuPortal(props: HeaderMenuPortalProps) { + return ( + }> + + + ); +} diff --git a/x-pack/plugins/monitoring/public/components/page_loading/index.tsx b/x-pack/plugins/monitoring/public/components/page_loading/index.tsx index 3d2d788a787ae..2b8b7ed522e91 100644 --- a/x-pack/plugins/monitoring/public/components/page_loading/index.tsx +++ b/x-pack/plugins/monitoring/public/components/page_loading/index.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { EuiPage, EuiPageBody, EuiPageTemplate, EuiLoadingSpinner } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; -import { useTrackPageview } from '@kbn/observability-shared-plugin/public'; +import { useTrackPageview } from '../../application/hooks/use_track_metric'; function PageLoadingUI() { return ( @@ -29,8 +29,8 @@ const PageLoadingTracking: React.FunctionComponent<{ pageViewTitle: string }> = pageViewTitle, }) => { const path = pageViewTitle.toLowerCase().replace(/-/g, '').replace(/\s+/g, '_'); - useTrackPageview({ app: 'stack_monitoring', path }); - useTrackPageview({ app: 'stack_monitoring', path, delay: 15000 }); + useTrackPageview({ path }); + useTrackPageview({ path, delay: 15000 }); return ; }; diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.tsx b/x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.tsx index 90d90075f1c49..22c638f8f1a6f 100644 --- a/x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.tsx +++ b/x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.tsx @@ -8,9 +8,10 @@ import React from 'react'; import { EuiButton } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { METRIC_TYPE, useUiTracker } from '@kbn/observability-shared-plugin/public'; +import { METRIC_TYPE } from '@kbn/analytics'; import { TELEMETRY_METRIC_BUTTON_CLICK } from '../../../common/constants'; import { SetupModeExitButton } from './exit_button'; +import { useUiTracker } from '../../application/hooks/use_track_metric'; export interface SetupModeToggleButtonProps { enabled: boolean; @@ -21,7 +22,7 @@ export const SetupModeToggleButton: React.FC = ( props: SetupModeToggleButtonProps ) => { const [isLoading, setIsLoading] = React.useState(false); - const trackStat = useUiTracker({ app: 'stack_monitoring' }); + const trackStat = useUiTracker(); function toggleSetupMode(enabled: boolean, stat: string) { setIsLoading(true); diff --git a/x-pack/plugins/monitoring/public/types.ts b/x-pack/plugins/monitoring/public/types.ts index cd5314521f947..1df9894ca9327 100644 --- a/x-pack/plugins/monitoring/public/types.ts +++ b/x-pack/plugins/monitoring/public/types.ts @@ -17,6 +17,7 @@ import { DashboardStart } from '@kbn/dashboard-plugin/public'; import { FleetStart } from '@kbn/fleet-plugin/public'; import type { InfraClientStartExports } from '@kbn/infra-plugin/public'; import { SharePluginStart } from '@kbn/share-plugin/public'; +import { ReactNode } from 'react'; export interface MonitoringStartPluginDependencies { navigation: NavigationStart; @@ -43,3 +44,9 @@ export type LegacyMonitoringStartPluginDependencies = MonitoringStartPluginDepen LegacyStartDependencies; export type MonitoringStartServices = CoreStart & MonitoringStartPluginDependencies; + +export interface HeaderMenuPortalProps { + children: ReactNode; + setHeaderActionMenu: AppMountParameters['setHeaderActionMenu']; + theme$: AppMountParameters['theme$']; +} diff --git a/x-pack/plugins/monitoring/tsconfig.json b/x-pack/plugins/monitoring/tsconfig.json index 6be14087cc11d..56063b3e06ceb 100644 --- a/x-pack/plugins/monitoring/tsconfig.json +++ b/x-pack/plugins/monitoring/tsconfig.json @@ -38,7 +38,6 @@ "@kbn/dashboard-plugin", "@kbn/fleet-plugin", "@kbn/shared-ux-router", - "@kbn/observability-shared-plugin", "@kbn/shared-ux-link-redirect-app", "@kbn/alerts-as-data-utils", "@kbn/rule-data-utils", @@ -48,6 +47,7 @@ "@kbn/ui-theme", "@kbn/core-elasticsearch-server", "@kbn/share-plugin", + "@kbn/analytics", ], "exclude": [ "target/**/*", diff --git a/x-pack/plugins/observability_solution/exploratory_view/public/typings/fetch_overview_data/index.ts b/x-pack/plugins/observability_solution/exploratory_view/public/typings/fetch_overview_data/index.ts index 67a2663aca27a..f338354d52265 100644 --- a/x-pack/plugins/observability_solution/exploratory_view/public/typings/fetch_overview_data/index.ts +++ b/x-pack/plugins/observability_solution/exploratory_view/public/typings/fetch_overview_data/index.ts @@ -75,12 +75,7 @@ export type HasData = ( export type ObservabilityFetchDataPlugins = Exclude< ObservabilityApp, - | 'observability-overview' - | 'stack_monitoring' - | 'fleet' - | 'synthetics' - | 'profiling' - | 'observability-onboarding' + 'observability-overview' | 'fleet' | 'synthetics' | 'profiling' | 'observability-onboarding' >; export interface DataHandler< diff --git a/x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts b/x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts index 99943d305f659..7848ab3df3cba 100644 --- a/x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts +++ b/x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts @@ -80,7 +80,7 @@ export type HasData = ( export type ObservabilityFetchDataPlugins = Exclude< ObservabilityApp, - 'observability-overview' | 'stack_monitoring' | 'fleet' | 'synthetics' + 'observability-overview' | 'fleet' | 'synthetics' >; export interface DataHandler< diff --git a/x-pack/plugins/observability_solution/observability/typings/common.ts b/x-pack/plugins/observability_solution/observability/typings/common.ts index 06e78c4ec6e64..ccc58c89077b7 100644 --- a/x-pack/plugins/observability_solution/observability/typings/common.ts +++ b/x-pack/plugins/observability_solution/observability/typings/common.ts @@ -15,7 +15,6 @@ export type ObservabilityApp = | 'uptime' | 'synthetics' | 'observability-overview' - | 'stack_monitoring' | 'ux' | 'fleet' | 'universal_profiling'; diff --git a/x-pack/plugins/observability_solution/observability_shared/typings/common.ts b/x-pack/plugins/observability_solution/observability_shared/typings/common.ts index 83ad51daf0b2d..6e7340700259a 100644 --- a/x-pack/plugins/observability_solution/observability_shared/typings/common.ts +++ b/x-pack/plugins/observability_solution/observability_shared/typings/common.ts @@ -13,7 +13,6 @@ export type ObservabilityApp = | 'uptime' | 'synthetics' | 'observability-overview' - | 'stack_monitoring' | 'ux' | 'fleet' | 'profiling' From cc6dc2ac2be199aea47477d17648a7336c33ff7d Mon Sep 17 00:00:00 2001 From: Carlos Crespo Date: Tue, 10 Dec 2024 17:52:33 +0100 Subject: [PATCH 086/103] [APM][Profiling] Add x-elastic-internal-origin: Kibana header to agentless axios (#203590) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes [203571](https://github.com/elastic/kibana/issues/203571) ## Summary Kibana 9.0 requires all request made with `axios` have the request header `x-elastic-internal-origin` set to `Kibana` to avoid appearing as an “external” integration. Any [requests without it will be blocked in Kibana 9.0](https://docs.google.com/document/d/1W7csjn6QYjrBjmbXMzSz_JUD4KcmWz8jTTtAWFwgUJM/edit?tab=t.0#heading=h.brxkig5phxcz) --- .../apm/scripts/diagnostics_bundle/cli.ts | 7 ++++++- .../scripts/diagnostics_bundle/diagnostics_bundle.ts | 5 +++-- .../create_apm_users/helpers/call_kibana.ts | 12 ++++++++++-- .../profiling/e2e/cypress_test_runner.ts | 8 ++++++-- .../profiling/e2e/setup_profiling_resources.ts | 2 +- 5 files changed, 26 insertions(+), 8 deletions(-) diff --git a/x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/cli.ts b/x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/cli.ts index 385a6167fba7e..f029ea8015e9b 100644 --- a/x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/cli.ts +++ b/x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/cli.ts @@ -164,7 +164,12 @@ async function getHostnameWithBasePath(kibanaHostname?: string) { const parsedHostName = parseHostName(kibanaHostname); try { - await axios.get(parsedHostName, { maxRedirects: 0 }); + await axios.get(parsedHostName, { + maxRedirects: 0, + headers: { + 'x-elastic-internal-origin': 'Kibana', + }, + }); } catch (e) { if (isAxiosError(e) && e.response?.status === 302) { const location = e.response?.headers?.location ?? ''; diff --git a/x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/diagnostics_bundle.ts b/x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/diagnostics_bundle.ts index 594fc3d787790..271a990382358 100644 --- a/x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/diagnostics_bundle.ts +++ b/x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/diagnostics_bundle.ts @@ -54,6 +54,7 @@ export async function initDiagnosticsBundle({ headers: { 'kbn-xsrf': 'true', 'elastic-api-version': '2023-10-31', + 'x-elastic-internal-origin': 'Kibana', ...apiKeyHeader, }, }; @@ -104,8 +105,8 @@ async function getApmIndices(kbnClientOpts: AxiosRequestConfig) { async function getFleetPackageInfo(kbnClientOpts: AxiosRequestConfig) { const res = await axios.get('/api/fleet/epm/packages/apm', kbnClientOpts); return { - version: res.data.response.version, - isInstalled: res.data.response.status, + version: res.data.item.version, + isInstalled: res.data.item.status, }; } diff --git a/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/call_kibana.ts b/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/call_kibana.ts index 72312645a644e..87a28bfde6663 100644 --- a/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/call_kibana.ts +++ b/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/call_kibana.ts @@ -8,6 +8,10 @@ import axios, { AxiosRequestConfig, AxiosError } from 'axios'; import { once } from 'lodash'; import { Elasticsearch, Kibana } from '../create_apm_users'; +const DEFAULT_HEADERS = { + 'kbn-xsrf': 'true', + 'x-elastic-internal-origin': 'Kibana', +}; export async function callKibana({ elasticsearch, kibana, @@ -24,14 +28,18 @@ export async function callKibana({ ...options, baseURL: baseUrl, auth: { username, password }, - headers: { 'kbn-xsrf': 'true', ...options.headers }, + headers: { ...DEFAULT_HEADERS, ...options.headers }, }); return data; } const getBaseUrl = once(async (kibanaHostname: string) => { try { - await axios.request({ url: kibanaHostname, maxRedirects: 0 }); + await axios.request({ + url: kibanaHostname, + maxRedirects: 0, + headers: DEFAULT_HEADERS, + }); } catch (e) { if (isAxiosError(e)) { const location = e.response?.headers?.location ?? ''; diff --git a/x-pack/plugins/observability_solution/profiling/e2e/cypress_test_runner.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress_test_runner.ts index 44317da9c662f..1ba633c2d0543 100644 --- a/x-pack/plugins/observability_solution/profiling/e2e/cypress_test_runner.ts +++ b/x-pack/plugins/observability_solution/profiling/e2e/cypress_test_runner.ts @@ -13,6 +13,10 @@ import { FtrProviderContext } from './ftr_provider_context'; import { loadProfilingData } from './load_profiling_data'; import { setupProfilingResources } from './setup_profiling_resources'; +const DEFAULT_HEADERS = { + 'kbn-xsrf': true, + 'x-elastic-internal-origin': 'Kibana', +}; export async function cypressTestRunner({ ftrProviderContext: { getService }, cypressExecution, @@ -42,11 +46,11 @@ export async function cypressTestRunner({ }); // Ensure Fleet setup is complete - await axios.post(`${kibanaUrlWithAuth}/api/fleet/setup`, {}, { headers: { 'kbn-xsrf': true } }); + await axios.post(`${kibanaUrlWithAuth}/api/fleet/setup`, {}, { headers: DEFAULT_HEADERS }); const profilingResources = await axios.get<{ has_setup: boolean; has_data: boolean }>( `${kibanaUrlWithAuth}/internal/profiling/setup/es_resources`, - { headers: { 'kbn-xsrf': true } } + { headers: DEFAULT_HEADERS } ); // Only runs the setup once. This is useful when runing the tests with --times args diff --git a/x-pack/plugins/observability_solution/profiling/e2e/setup_profiling_resources.ts b/x-pack/plugins/observability_solution/profiling/e2e/setup_profiling_resources.ts index 87f542d449f8e..e139b351d3a5c 100644 --- a/x-pack/plugins/observability_solution/profiling/e2e/setup_profiling_resources.ts +++ b/x-pack/plugins/observability_solution/profiling/e2e/setup_profiling_resources.ts @@ -17,7 +17,7 @@ export async function setupProfilingResources({ await axios.post( `${kibanaUrlWithAuth}/internal/profiling/setup/es_resources`, {}, - { headers: { 'kbn-xsrf': true } } + { headers: { 'kbn-xsrf': true, 'x-elastic-internal-origin': 'Kibana' } } ); // eslint-disable-next-line no-console console.log('[Done] Setting up Universal profiling resources.'); From 2fb9ef4ba00d1e4ea4989818705e16e05cb61dfc Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Tue, 10 Dec 2024 17:55:13 +0100 Subject: [PATCH 087/103] [ML] Borealis theme fixes (success colors) (#202430) ## Summary All usages of "success" colors have been updated to "accentSecondary" and "textAccentSecondary" as needed. Recommend to review with white-space changes skipped: https://github.com/elastic/kibana/pull/202430/files?w=1 ### Checklist - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. ### Identify risks - Risk of some visual glitches because of oversights --- .../src/components/date_picker_wrapper.tsx | 2 +- .../boolean_content.tsx | 2 +- .../field_data_expanded_row/ip_content.tsx | 2 +- .../keyword_content.tsx | 4 +- .../number_content.tsx | 2 +- .../components/top_values/top_values.tsx | 3 +- .../refresh_transform_list_button.tsx | 2 +- .../log_rate_analysis_info_popover.tsx | 2 +- .../analytics_list/expanded_row.tsx | 2 +- .../job_map/components/cytoscape_options.tsx | 110 +++++++++--------- .../new_job/recognize/components/job_item.tsx | 2 +- .../timeseriesexplorer/timeseriesexplorer.js | 27 ++--- .../timeseriesexplorer_title.tsx | 2 +- 13 files changed, 83 insertions(+), 79 deletions(-) diff --git a/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx b/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx index c8792ab3f9d9e..3925b51b6c38e 100644 --- a/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx +++ b/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx @@ -338,7 +338,7 @@ export const DatePickerWrapper: FC = (props) => { = ({ config, onAddFilter }) = diff --git a/x-pack/platform/plugins/private/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 index d169220755175..6baaf8e065d1f 100644 --- a/x-pack/platform/plugins/private/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 @@ -26,7 +26,7 @@ export const IpContent: FC = ({ config, onAddFilter }) => { )} diff --git a/x-pack/platform/plugins/private/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 index 44be869c9af97..ddca9193db2b1 100644 --- a/x-pack/platform/plugins/private/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 @@ -62,14 +62,14 @@ export const KeywordContent: FC = ({ config, onAddFilter }) = {config.stats?.sampledValues && fieldName !== undefined ? ( diff --git a/x-pack/platform/plugins/private/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 index a1ff194826215..8b121660e3421 100644 --- a/x-pack/platform/plugins/private/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 @@ -119,7 +119,7 @@ export const NumberContent: FC = ({ config, onAddFilter }) => diff --git a/x-pack/platform/plugins/private/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 index 5d263135389eb..35c648e7135bb 100644 --- a/x-pack/platform/plugins/private/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 @@ -11,6 +11,7 @@ import { EuiFlexGroup, EuiFlexItem, EuiProgress, + type EuiProgressProps, EuiText, EuiButtonIcon, EuiSpacer, @@ -36,7 +37,7 @@ import { EMPTY_EXAMPLE } from '../examples_list/examples_list'; interface Props { stats: FieldVisStats | undefined; fieldFormat?: any; - barColor?: 'primary' | 'success' | 'danger' | 'subdued' | 'accent'; + barColor?: EuiProgressProps['color']; compressed?: boolean; onAddFilter?: (field: DataViewField | string, value: string, type: '+' | '-') => void; showSampledValues?: boolean; diff --git a/x-pack/platform/plugins/private/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 index efd4fb1d500af..18a3f5c63dafc 100644 --- a/x-pack/platform/plugins/private/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 @@ -19,7 +19,7 @@ export const RefreshTransformListButton: FC = ({ isLoading, }) => ( = ({ item }) => { valueText={true} value={s.progress_percent} max={100} - color="success" + color="primary" size="s" /> ), diff --git a/x-pack/platform/plugins/shared/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 index 61cbf816d5a99..6877767907594 100644 --- a/x-pack/platform/plugins/shared/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 @@ -12,8 +12,6 @@ import classificationJobIcon from './icons/ml_classification_job.svg'; import outlierDetectionJobIcon from './icons/ml_outlier_detection_job.svg'; import regressionJobIcon from './icons/ml_regression_job.svg'; -const lineColor = '#C5CCD7'; - const MAP_SHAPES = { ELLIPSE: 'ellipse', RECTANGLE: 'rectangle', @@ -23,7 +21,7 @@ const MAP_SHAPES = { } as const; type MapShapes = (typeof MAP_SHAPES)[keyof typeof MAP_SHAPES]; -function shapeForNode(el: cytoscape.NodeSingular, theme: EuiThemeType): MapShapes { +function shapeForNode(el: cytoscape.NodeSingular): MapShapes { const type = el.data('type'); switch (type) { case JOB_MAP_NODE_TYPES.ANALYTICS: @@ -70,7 +68,7 @@ function borderColorForNode(el: cytoscape.NodeSingular, theme: EuiThemeType) { case JOB_MAP_NODE_TYPES.ANALYTICS_JOB_MISSING: return theme.euiColorFullShade; case JOB_MAP_NODE_TYPES.ANALYTICS: - return theme.euiColorSuccess; + return theme.euiColorVis0; case JOB_MAP_NODE_TYPES.TRANSFORM: return theme.euiColorVis1; case JOB_MAP_NODE_TYPES.INDEX: @@ -85,55 +83,59 @@ function borderColorForNode(el: cytoscape.NodeSingular, theme: EuiThemeType) { } } -export const getCytoscapeOptions = (theme: EuiThemeType): cytoscape.CytoscapeOptions => ({ - autoungrabify: true, - boxSelectionEnabled: false, - maxZoom: 3, - minZoom: 0.2, - style: [ - { - selector: 'node', - style: { - 'background-color': (el: cytoscape.NodeSingular) => - el.data('isRoot') ? theme.euiColorWarning : theme.euiColorGhost, - 'background-height': '60%', - 'background-width': '60%', - 'border-color': (el: cytoscape.NodeSingular) => borderColorForNode(el, theme), - 'border-style': 'solid', - // @ts-ignore - 'background-image': (el: cytoscape.NodeSingular) => iconForNode(el), - 'border-width': (el: cytoscape.NodeSingular) => (el.selected() ? 4 : 3), - color: theme.euiTextColor, - 'font-family': 'Inter UI, Segoe UI, Helvetica, Arial, sans-serif', - 'font-size': theme.euiFontSizeXS, - 'min-zoomed-font-size': parseInt(theme.euiSizeL, 10), - label: 'data(label)', - shape: (el: cytoscape.NodeSingular) => shapeForNode(el, theme), - 'text-background-color': theme.euiColorLightestShade, - 'text-background-opacity': 0, - 'text-background-padding': theme.euiSizeXS, - 'text-background-shape': 'roundrectangle', - 'text-margin-y': parseInt(theme.euiSizeS, 10), - 'text-max-width': '200px', - 'text-valign': 'bottom', - 'text-wrap': 'wrap', +export const getCytoscapeOptions = (theme: EuiThemeType): cytoscape.CytoscapeOptions => { + const lineColor = theme.euiColorLightShade; + + return { + autoungrabify: true, + boxSelectionEnabled: false, + maxZoom: 3, + minZoom: 0.2, + style: [ + { + selector: 'node', + style: { + 'background-color': (el: cytoscape.NodeSingular) => + el.data('isRoot') ? theme.euiColorWarning : theme.euiColorGhost, + 'background-height': '60%', + 'background-width': '60%', + 'border-color': (el: cytoscape.NodeSingular) => borderColorForNode(el, theme), + 'border-style': 'solid', + // @ts-ignore + 'background-image': (el: cytoscape.NodeSingular) => iconForNode(el), + 'border-width': (el: cytoscape.NodeSingular) => (el.selected() ? 4 : 3), + color: theme.euiTextColor, + 'font-family': 'Inter UI, Segoe UI, Helvetica, Arial, sans-serif', + 'font-size': theme.euiFontSizeXS, + 'min-zoomed-font-size': parseInt(theme.euiSizeL, 10), + label: 'data(label)', + shape: (el: cytoscape.NodeSingular) => shapeForNode(el), + 'text-background-color': theme.euiColorLightestShade, + 'text-background-opacity': 0, + 'text-background-padding': theme.euiSizeXS, + 'text-background-shape': 'roundrectangle', + 'text-margin-y': parseInt(theme.euiSizeS, 10), + 'text-max-width': '200px', + 'text-valign': 'bottom', + 'text-wrap': 'wrap', + }, }, - }, - { - selector: 'edge', - style: { - 'curve-style': 'taxi', - // @ts-ignore - 'taxi-direction': 'rightward', - 'line-color': lineColor, - 'overlay-opacity': 0, - 'target-arrow-color': lineColor, - 'target-arrow-shape': 'triangle', - // @ts-ignore - 'target-distance-from-node': theme.euiSizeXS, - width: 1, - 'source-arrow-shape': 'none', + { + selector: 'edge', + style: { + 'curve-style': 'taxi', + // @ts-ignore + 'taxi-direction': 'rightward', + 'line-color': lineColor, + 'overlay-opacity': 0, + 'target-arrow-color': lineColor, + 'target-arrow-shape': 'triangle', + // @ts-ignore + 'target-distance-from-node': theme.euiSizeXS, + width: 1, + 'source-arrow-shape': 'none', + }, }, - }, - ], -}); + ], + }; +}; diff --git a/x-pack/platform/plugins/shared/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 index 9d0692d540f13..a60fa07fdee8e 100644 --- a/x-pack/platform/plugins/shared/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 @@ -54,7 +54,7 @@ export const JobItem: FC = memo( - + {jobPrefix} {id} diff --git a/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer.js index 57ded98fc8374..9fce79d3d1fab 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer.js +++ b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer.js @@ -1130,19 +1130,20 @@ export class TimeSeriesExplorer extends React.Component { )}   - {chartDetails.entityData.count === 1 && ( - - {chartDetails.entityData.entities.length > 0 && '('} - {chartDetails.entityData.entities - .map((entity) => { - return `${entity.fieldName}: ${entity.fieldValue}`; - }) - .join(', ')} - {chartDetails.entityData.entities.length > 0 && ')'} - - )} - {chartDetails.entityData.count !== 1 && ( - + {chartDetails.entityData.count === 1 && + chartDetails.entityData.entities.length > 0 && ( + + ( + {chartDetails.entityData.entities + .map((entity) => { + return `${entity.fieldName}: ${entity.fieldValue}`; + }) + .join(', ')} + ) + + )} + {chartDetails.entityData.count > 1 && ( + {chartDetails.entityData.entities.map((countData, i) => { return ( diff --git a/x-pack/platform/plugins/shared/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 index 720acfd1704e9..7f874961121a9 100644 --- a/x-pack/platform/plugins/shared/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 @@ -122,7 +122,7 @@ export const SingleMetricViewerTitle: FC = ({ - + {`${entity.fieldName}: ${entity.fieldValue}`} From 91337c74a34efb3fc6df1e14cf1461f125833b89 Mon Sep 17 00:00:00 2001 From: Rodney Norris Date: Tue, 10 Dec 2024 11:12:29 -0600 Subject: [PATCH 088/103] [Search] Basic RBAC for Search Applications & Behavioral Analytics (#203335) ## Summary Moved Search Applications & Behavioral Analytics from the base KibanaFeature to their own so that they can be controlled independently from other parts of the search solution. ### Checklist - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) --------- Co-authored-by: Elastic Machine --- .../enterprise_search/server/plugin.ts | 63 ++++++++++++++++++- .../apis/features/features/features.ts | 4 ++ .../apis/security/privileges.ts | 2 + .../apis/security/privileges_basic.ts | 4 ++ .../spaces_only/telemetry/telemetry.ts | 2 + .../security_and_spaces/tests/nav_links.ts | 2 + 6 files changed, 75 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/enterprise_search/server/plugin.ts b/x-pack/plugins/enterprise_search/server/plugin.ts index 6079e53e618e6..d91ad6d486ad7 100644 --- a/x-pack/plugins/enterprise_search/server/plugin.ts +++ b/x-pack/plugins/enterprise_search/server/plugin.ts @@ -23,6 +23,7 @@ import { KibanaFeatureScope } from '@kbn/features-plugin/common'; import { FeaturesPluginSetup } from '@kbn/features-plugin/server'; import { GlobalSearchPluginSetup } from '@kbn/global-search-plugin/server'; import type { GuidedOnboardingPluginSetup } from '@kbn/guided-onboarding-plugin/server'; +import { i18n } from '@kbn/i18n'; import type { LicensingPluginStart } from '@kbn/licensing-plugin/public'; import { LogsSharedPluginSetup } from '@kbn/logs-shared-plugin/server'; import type { MlPluginSetup } from '@kbn/ml-plugin/server'; @@ -169,12 +170,10 @@ export class EnterpriseSearchPlugin implements Plugin { ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.ID, ENTERPRISE_SEARCH_CONTENT_PLUGIN.ID, ELASTICSEARCH_PLUGIN.ID, - ANALYTICS_PLUGIN.ID, ...(config.canDeployEntSearch ? [APP_SEARCH_PLUGIN.ID, WORKPLACE_SEARCH_PLUGIN.ID] : []), SEARCH_EXPERIENCES_PLUGIN.ID, VECTOR_SEARCH_PLUGIN.ID, SEMANTIC_SEARCH_PLUGIN.ID, - APPLICATIONS_PLUGIN.ID, AI_SEARCH_PLUGIN.ID, ]; const isCloud = !!cloud?.cloudId; @@ -220,6 +219,66 @@ export class EnterpriseSearchPlugin implements Plugin { }, }, }); + features.registerKibanaFeature({ + id: APPLICATIONS_PLUGIN.ID, + name: i18n.translate('xpack.enterpriseSearch.applications.featureName', { + defaultMessage: 'Search Applications', + }), + order: 3, + category: DEFAULT_APP_CATEGORIES.enterpriseSearch, + scope: [KibanaFeatureScope.Spaces, KibanaFeatureScope.Security], + app: ['kibana', APPLICATIONS_PLUGIN.ID], + catalogue: [APPLICATIONS_PLUGIN.ID], + privileges: { + all: { + app: ['kibana', APPLICATIONS_PLUGIN.ID], + api: [], + catalogue: [APPLICATIONS_PLUGIN.ID], + savedObject: { + all: [], + read: [], + }, + ui: [], + }, + read: { + disabled: true, + savedObject: { + all: [], + read: [], + }, + ui: [], + }, + }, + }); + features.registerKibanaFeature({ + id: ANALYTICS_PLUGIN.ID, + name: ANALYTICS_PLUGIN.NAME, + order: 4, + category: DEFAULT_APP_CATEGORIES.enterpriseSearch, + scope: [KibanaFeatureScope.Spaces, KibanaFeatureScope.Security], + app: ['kibana', ANALYTICS_PLUGIN.ID], + catalogue: [ANALYTICS_PLUGIN.ID], + privileges: { + all: { + app: ['kibana', ANALYTICS_PLUGIN.ID], + api: [], + catalogue: [ANALYTICS_PLUGIN.ID], + savedObject: { + all: [], + read: [], + }, + ui: [], + }, + read: { + disabled: true, + savedObject: { + all: [], + read: [], + }, + ui: [], + }, + }, + }); /** * Register Enterprise Search UI Settings diff --git a/x-pack/test/api_integration/apis/features/features/features.ts b/x-pack/test/api_integration/apis/features/features/features.ts index 42dcd94234c98..bbdce7ab42912 100644 --- a/x-pack/test/api_integration/apis/features/features/features.ts +++ b/x-pack/test/api_integration/apis/features/features/features.ts @@ -102,6 +102,8 @@ export default function ({ getService }: FtrProviderContext) { 'dev_tools', 'actions', 'enterpriseSearch', + 'enterpriseSearchApplications', + 'enterpriseSearchAnalytics', 'filesManagement', 'filesSharedImage', 'advancedSettings', @@ -154,6 +156,8 @@ export default function ({ getService }: FtrProviderContext) { 'dev_tools', 'actions', 'enterpriseSearch', + 'enterpriseSearchApplications', + 'enterpriseSearchAnalytics', 'filesManagement', 'filesSharedImage', 'advancedSettings', diff --git a/x-pack/test/api_integration/apis/security/privileges.ts b/x-pack/test/api_integration/apis/security/privileges.ts index 47ac08fd06716..bb00c34bc5808 100644 --- a/x-pack/test/api_integration/apis/security/privileges.ts +++ b/x-pack/test/api_integration/apis/security/privileges.ts @@ -181,6 +181,8 @@ export default function ({ getService }: FtrProviderContext) { 'packs_read', ], enterpriseSearch: ['all', 'read', 'minimal_all', 'minimal_read'], + enterpriseSearchApplications: ['all', 'read', 'minimal_all', 'minimal_read'], + enterpriseSearchAnalytics: ['all', 'read', 'minimal_all', 'minimal_read'], filesManagement: ['all', 'read', 'minimal_all', 'minimal_read'], filesSharedImage: ['all', 'read', 'minimal_all', 'minimal_read'], rulesSettings: [ 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 cc313fe5cfe66..a7b8ee3fd2091 100644 --- a/x-pack/test/api_integration/apis/security/privileges_basic.ts +++ b/x-pack/test/api_integration/apis/security/privileges_basic.ts @@ -44,6 +44,8 @@ export default function ({ getService }: FtrProviderContext) { apm: ['all', 'read', 'minimal_all', 'minimal_read'], osquery: ['all', 'read', 'minimal_all', 'minimal_read'], enterpriseSearch: ['all', 'read', 'minimal_all', 'minimal_read'], + enterpriseSearchApplications: ['all', 'read', 'minimal_all', 'minimal_read'], + enterpriseSearchAnalytics: ['all', 'read', 'minimal_all', 'minimal_read'], ml: ['all', 'read', 'minimal_all', 'minimal_read'], siem: ['all', 'read', 'minimal_all', 'minimal_read'], securitySolutionAssistant: ['all', 'read', 'minimal_all', 'minimal_read'], @@ -269,6 +271,8 @@ export default function ({ getService }: FtrProviderContext) { 'packs_read', ], enterpriseSearch: ['all', 'read', 'minimal_all', 'minimal_read'], + enterpriseSearchApplications: ['all', 'read', 'minimal_all', 'minimal_read'], + enterpriseSearchAnalytics: ['all', 'read', 'minimal_all', 'minimal_read'], rulesSettings: [ 'all', 'read', diff --git a/x-pack/test/spaces_api_integration/spaces_only/telemetry/telemetry.ts b/x-pack/test/spaces_api_integration/spaces_only/telemetry/telemetry.ts index 1e18525df2ecc..1af3b0e593e06 100644 --- a/x-pack/test/spaces_api_integration/spaces_only/telemetry/telemetry.ts +++ b/x-pack/test/spaces_api_integration/spaces_only/telemetry/telemetry.ts @@ -83,6 +83,8 @@ export default function ({ getService }: FtrProviderContext) { monitoring: 0, apm: 0, enterpriseSearch: 0, + enterpriseSearchApplications: 0, + enterpriseSearchAnalytics: 0, searchInferenceEndpoints: 0, searchPlayground: 0, siem: 0, diff --git a/x-pack/test/ui_capabilities/security_and_spaces/tests/nav_links.ts b/x-pack/test/ui_capabilities/security_and_spaces/tests/nav_links.ts index 934f9af8d6b8c..0106f82e52153 100644 --- a/x-pack/test/ui_capabilities/security_and_spaces/tests/nav_links.ts +++ b/x-pack/test/ui_capabilities/security_and_spaces/tests/nav_links.ts @@ -64,6 +64,8 @@ export default function navLinksTests({ getService }: FtrProviderContext) { 'monitoring', 'observabilityAIAssistant', 'enterpriseSearch', + 'enterpriseSearchApplications', + 'enterpriseSearchAnalytics', 'searchPlayground', 'searchInferenceEndpoints', 'guidedOnboardingFeature', From 2a76fe3ee432d0b6746eae660cfe31fc71d15547 Mon Sep 17 00:00:00 2001 From: Hannah Mudge Date: Tue, 10 Dec 2024 10:14:31 -0700 Subject: [PATCH 089/103] [Dashboard] [Collapsable Panels] Add embeddable support (#198413) Closes https://github.com/elastic/kibana/issues/190379 ## Summary This PR switches the example grid layout app to render embeddables as panels rather than the simplified mock panel we were using previously. In doing so, I had to add the ability for custom panels to add a custom drag handle via the `renderPanelContents` callback - this required adding a `setDragHandles` callback to the `ReactEmbeddableRenderer` that could be passed down to the `PresentationPanel` component. https://github.com/user-attachments/assets/9e2c68f9-34af-4360-a978-9113701a5ea2 #### New scroll behaviour In https://github.com/elastic/kibana/pull/201867, I introduced a small "ease" to the auto-scroll effect that happens when you drag a panel to the top or bottom of the window. However, in that PR, I was using the `smooth` scrolling behaviour, which unfortunately became **very** jittery once I switched to embeddables rather than simple panels (specifically in Chrome - it worked fine in Firefox). The only way to prevent this jittery scroll was to switch to the default scroll behaviour, but this lead to a very **abrupt** stop when the scrollbar reached the top and/or bottom of the page - so, to give the same "gentle" stop that the `smooth` scroll had, I decided to recreate this effect by adding a slow down "ease" when close to the top or bottom of the page: https://github.com/user-attachments/assets/cb7bf03f-4a9e-4446-be4f-8f54c0bc88ac This effect is accomplished via the parabola formula `y = a(x-h)2 + k` and can be roughly visualized with the following, which shows that the "speed up" ease happens at a much slower pace than the "slow down" ease: ![image](https://github.com/user-attachments/assets/02b4389c-fe78-448d-9c02-c4ec5e722d5e) #### Notes about parent changes As I investigated improving the efficiency of the grid layout with embeddables, one of the main things I noticed was that the grid panel was **always** remounted when moving a panel from one collapsible section to another. This lead me (and @ThomThomson) down a rabbit hole of React-reparenting, and we explored a few different options to see if we could change the parent of a component **without** having it remount. In summary, after various experiments and a whole bunch of research, we determined that, due to the reconciliation of the React tree, this is unfortunately impossible. So our priorities will instead have to move to making the remount of `ReactEmbeddableRenderer` **as efficient as possible** via caching, since the remount is inevitable. ### Checklist - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks There are no risks to this PR, since the most significant work is contained in the `examples` plugin. Some changes were made to the presentation panel to allow for custom drag handles, but this isn't actually used in Dashboard - so for now, this code is only called in the example plugin, as well. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../components/add_button.tsx | 5 +- examples/embeddable_examples/public/index.ts | 2 + examples/grid_example/kibana.jsonc | 2 +- examples/grid_example/public/app.tsx | 140 +- .../public/logs_dashboard_panels.json | 4884 +++++++++++++++++ examples/grid_example/public/plugin.ts | 17 +- .../public/serialized_grid_layout.ts | 22 +- examples/grid_example/public/types.ts | 9 +- .../public/use_mock_dashboard_api.tsx | 51 +- examples/grid_example/public/utils.ts | 5 +- examples/grid_example/tsconfig.json | 16 +- .../grid/grid_height_smoother.tsx | 17 +- packages/kbn-grid-layout/grid/grid_layout.tsx | 5 +- .../grid/grid_panel/drag_handle.tsx | 88 +- .../grid/grid_panel/grid_panel.tsx | 87 +- .../grid/grid_panel/resize_handle.tsx | 9 +- .../grid/grid_row/grid_row.tsx | 142 +- .../kbn-grid-layout/grid/test_utils/mocks.tsx | 2 + packages/kbn-grid-layout/grid/types.ts | 1 + .../grid/use_grid_layout_events.ts | 55 +- .../grid/use_grid_layout_state.ts | 10 +- src/plugins/embeddable/kibana.jsonc | 21 +- .../react_embeddable_renderer.tsx | 1 + .../presentation_panel_header.tsx | 14 +- .../presentation_panel_hover_actions.tsx | 49 +- .../presentation_panel_internal.tsx | 28 +- .../public/panel_component/types.ts | 7 + 27 files changed, 5389 insertions(+), 300 deletions(-) create mode 100644 examples/grid_example/public/logs_dashboard_panels.json diff --git a/examples/embeddable_examples/public/app/presentation_container_example/components/add_button.tsx b/examples/embeddable_examples/public/app/presentation_container_example/components/add_button.tsx index 3bef0d4e1192e..570cd50f44ea2 100644 --- a/examples/embeddable_examples/public/app/presentation_container_example/components/add_button.tsx +++ b/examples/embeddable_examples/public/app/presentation_container_example/components/add_button.tsx @@ -10,9 +10,8 @@ import React, { ReactElement, useEffect, useState } from 'react'; import { EuiButton, EuiContextMenuItem, EuiContextMenuPanel, EuiPopover } from '@elastic/eui'; import { ADD_PANEL_TRIGGER, UiActionsStart } from '@kbn/ui-actions-plugin/public'; -import { PageApi } from '../types'; -export function AddButton({ pageApi, uiActions }: { pageApi: PageApi; uiActions: UiActionsStart }) { +export function AddButton({ pageApi, uiActions }: { pageApi: unknown; uiActions: UiActionsStart }) { const [isPopoverOpen, setIsPopoverOpen] = useState(false); const [items, setItems] = useState([]); @@ -73,7 +72,7 @@ export function AddButton({ pageApi, uiActions }: { pageApi: PageApi; uiActions: setIsPopoverOpen(!isPopoverOpen); }} > - Add + Add panel } isOpen={isPopoverOpen} diff --git a/examples/embeddable_examples/public/index.ts b/examples/embeddable_examples/public/index.ts index 1705ec84680f9..3e0db5b6ab248 100644 --- a/examples/embeddable_examples/public/index.ts +++ b/examples/embeddable_examples/public/index.ts @@ -9,4 +9,6 @@ import { EmbeddableExamplesPlugin } from './plugin'; +export { AddButton as AddEmbeddableButton } from './app/presentation_container_example/components/add_button'; + export const plugin = () => new EmbeddableExamplesPlugin(); diff --git a/examples/grid_example/kibana.jsonc b/examples/grid_example/kibana.jsonc index ecaae63268e7a..046838a4393ca 100644 --- a/examples/grid_example/kibana.jsonc +++ b/examples/grid_example/kibana.jsonc @@ -7,7 +7,7 @@ "id": "gridExample", "server": false, "browser": true, - "requiredPlugins": ["developerExamples"], + "requiredPlugins": ["developerExamples", "embeddable", "uiActions", "embeddableExamples"], "requiredBundles": [] } } diff --git a/examples/grid_example/public/app.tsx b/examples/grid_example/public/app.tsx index 1a44d2cb4f8c1..9519fd2af43a9 100644 --- a/examples/grid_example/public/app.tsx +++ b/examples/grid_example/public/app.tsx @@ -11,27 +11,28 @@ import deepEqual from 'fast-deep-equal'; import React, { useCallback, useEffect, useRef, useState } from 'react'; import ReactDOM from 'react-dom'; import { combineLatest, debounceTime } from 'rxjs'; -import { v4 as uuidv4 } from 'uuid'; import { EuiBadge, EuiButton, EuiButtonEmpty, + EuiButtonGroup, EuiCallOut, EuiFlexGroup, EuiFlexItem, EuiPageTemplate, - EuiProvider, EuiSpacer, - EuiButtonGroup, - EuiButtonIcon, } from '@elastic/eui'; import { AppMountParameters } from '@kbn/core-application-browser'; import { CoreStart } from '@kbn/core-lifecycle-browser'; -import { GridLayout, GridLayoutData, GridAccessMode } from '@kbn/grid-layout'; +import { AddEmbeddableButton } from '@kbn/embeddable-examples-plugin/public'; +import { ReactEmbeddableRenderer } from '@kbn/embeddable-plugin/public'; +import { GridLayout, GridLayoutData } from '@kbn/grid-layout'; import { i18n } from '@kbn/i18n'; +import { useBatchedPublishingSubjects } from '@kbn/presentation-publishing'; +import { KibanaRenderContextProvider } from '@kbn/react-kibana-context-render'; +import { UiActionsStart } from '@kbn/ui-actions-plugin/public'; -import { getPanelId } from './get_panel_id'; import { clearSerializedDashboardState, getSerializedDashboardState, @@ -45,23 +46,37 @@ const DASHBOARD_MARGIN_SIZE = 8; const DASHBOARD_GRID_HEIGHT = 20; const DASHBOARD_GRID_COLUMN_COUNT = 48; -export const GridExample = ({ coreStart }: { coreStart: CoreStart }) => { +export const GridExample = ({ + coreStart, + uiActions, +}: { + coreStart: CoreStart; + uiActions: UiActionsStart; +}) => { const savedState = useRef(getSerializedDashboardState()); const [hasUnsavedChanges, setHasUnsavedChanges] = useState(false); - const [expandedPanelId, setExpandedPanelId] = useState(); - const [accessMode, setAccessMode] = useState('EDIT'); const [currentLayout, setCurrentLayout] = useState( dashboardInputToGridLayout(savedState.current) ); const mockDashboardApi = useMockDashboardApi({ savedState: savedState.current }); + const [viewMode, expandedPanelId] = useBatchedPublishingSubjects( + mockDashboardApi.viewMode, + mockDashboardApi.expandedPanelId + ); useEffect(() => { combineLatest([mockDashboardApi.panels$, mockDashboardApi.rows$]) .pipe(debounceTime(0)) // debounce to avoid subscribe being called twice when both panels$ and rows$ publish .subscribe(([panels, rows]) => { const hasChanges = !( - deepEqual(panels, savedState.current.panels) && deepEqual(rows, savedState.current.rows) + deepEqual( + Object.values(panels).map(({ gridData }) => ({ row: 0, ...gridData })), + Object.values(savedState.current.panels).map(({ gridData }) => ({ + row: 0, // if row is undefined, then default to 0 + ...gridData, + })) + ) && deepEqual(rows, savedState.current.rows) ); setHasUnsavedChanges(hasChanges); setCurrentLayout(dashboardInputToGridLayout({ panels, rows })); @@ -69,58 +84,31 @@ export const GridExample = ({ coreStart }: { coreStart: CoreStart }) => { // eslint-disable-next-line react-hooks/exhaustive-deps }, []); - const renderBasicPanel = useCallback( - (id: string) => { + const renderPanelContents = useCallback( + (id: string, setDragHandles?: (refs: Array) => void) => { + const currentPanels = mockDashboardApi.panels$.getValue(); + return ( - <> -
{id}
- { - setExpandedPanelId(undefined); - mockDashboardApi.removePanel(id); - }} - > - {i18n.translate('examples.gridExample.deletePanelButton', { - defaultMessage: 'Delete panel', - })} - - { - setExpandedPanelId(undefined); - const newPanelId = await getPanelId({ - coreStart, - suggestion: id, - }); - if (newPanelId) mockDashboardApi.replacePanel(id, newPanelId); - }} - > - {i18n.translate('examples.gridExample.replacePanelButton', { - defaultMessage: 'Replace panel', - })} - - setExpandedPanelId((expandedId) => (expandedId ? undefined : id))} - aria-label={ - expandedPanelId - ? i18n.translate('examples.gridExample.minimizePanel', { - defaultMessage: 'Minimize panel {id}', - values: { id }, - }) - : i18n.translate('examples.gridExample.maximizePanel', { - defaultMessage: 'Maximize panel {id}', - values: { id }, - }) - } - /> - + mockDashboardApi} + panelProps={{ + showBadges: true, + showBorder: true, + showNotifications: true, + showShadow: false, + setDragHandles, + }} + /> ); }, - [coreStart, mockDashboardApi, setExpandedPanelId, expandedPanelId] + [mockDashboardApi] ); return ( - + { { - { - setExpandedPanelId(undefined); - const panelId = await getPanelId({ - coreStart, - suggestion: uuidv4(), - }); - if (panelId) mockDashboardApi.addNewPanel({ id: panelId }); - }} - > - {i18n.translate('examples.gridExample.addPanelButton', { - defaultMessage: 'Add a panel', - })} - + @@ -180,7 +155,7 @@ export const GridExample = ({ coreStart }: { coreStart: CoreStart }) => { })} options={[ { - id: 'VIEW', + id: 'view', label: i18n.translate('examples.gridExample.viewOption', { defaultMessage: 'View', }), @@ -188,16 +163,16 @@ export const GridExample = ({ coreStart }: { coreStart: CoreStart }) => { 'The layout adjusts when the window is resized. Panel interactivity, such as moving and resizing within the grid, is disabled.', }, { - id: 'EDIT', + id: 'edit', label: i18n.translate('examples.gridExample.editOption', { defaultMessage: 'Edit', }), toolTipContent: 'The layout does not adjust when the window is resized.', }, ]} - idSelected={accessMode} + idSelected={viewMode} onChange={(id) => { - setAccessMode(id as GridAccessMode); + mockDashboardApi.viewMode.next(id); }} /> @@ -245,7 +220,7 @@ export const GridExample = ({ coreStart }: { coreStart: CoreStart }) => { { rowHeight: DASHBOARD_GRID_HEIGHT, columnCount: DASHBOARD_GRID_COLUMN_COUNT, }} - renderPanelContents={renderBasicPanel} + renderPanelContents={renderPanelContents} onLayoutChange={(newLayout) => { - const { panels, rows } = gridLayoutToDashboardPanelMap(newLayout); + const { panels, rows } = gridLayoutToDashboardPanelMap( + mockDashboardApi.panels$.getValue(), + newLayout + ); mockDashboardApi.panels$.next(panels); mockDashboardApi.rows$.next(rows); }} /> - + ); }; export const renderGridExampleApp = ( element: AppMountParameters['element'], - coreStart: CoreStart + deps: { uiActions: UiActionsStart; coreStart: CoreStart } ) => { - ReactDOM.render(, element); + ReactDOM.render(, element); return () => ReactDOM.unmountComponentAtNode(element); }; diff --git a/examples/grid_example/public/logs_dashboard_panels.json b/examples/grid_example/public/logs_dashboard_panels.json new file mode 100644 index 0000000000000..29d63baa2d33b --- /dev/null +++ b/examples/grid_example/public/logs_dashboard_panels.json @@ -0,0 +1,4884 @@ +{ + "343f0bef-0b19-452e-b1c8-59beb18b6f0c": { + "type": "visualization", + "gridData": { + "x": 0, + "y": 0, + "w": 18, + "h": 8, + "i": "343f0bef-0b19-452e-b1c8-59beb18b6f0c" + }, + "explicitInput": { + "id": "343f0bef-0b19-452e-b1c8-59beb18b6f0c", + "hidePanelTitles": true, + "enhancements": { + "dynamicActions": { + "events": [] + } + }, + "savedVis": { + "title": "[Logs] Markdown Instructions", + "description": "", + "type": "markdown", + "params": { + "fontSize": 12, + "openLinksInNewTab": true, + "markdown": "#### Sample Logs Data\n### Request Sizes\nThis dashboard uses the `[Logs]` sample data for you to play with and includes visualizations related to the sizes (in bytes) of the sample requests. For more information about Kibana, check our [docs](https://www.elastic.co/guide/en/kibana/current/index.html)." + }, + "uiState": {}, + "data": { + "aggs": [], + "searchSource": { + "query": { + "query": "", + "language": "kuery" + }, + "filter": [] + } + } + } + } + }, + "2874670c-61d5-4dca-b842-fdf76977cc02": { + "type": "lens", + "gridData": { + "x": 18, + "y": 0, + "w": 30, + "h": 13, + "i": "2874670c-61d5-4dca-b842-fdf76977cc02" + }, + "explicitInput": { + "id": "2874670c-61d5-4dca-b842-fdf76977cc02", + "enhancements": { + "dynamicActions": { + "events": [] + } + }, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, + "searchSessionId": "52b991d3-bfec-474c-a9ee-860b58baffd2", + "filters": [], + "query": { + "query": "", + "language": "kuery" + }, + "attributes": { + "title": "", + "description": "", + "visualizationType": "lnsXY", + "type": "lens", + "references": [ + { + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-9159b5ef-429c-4c92-b587-7247fbdadd4d", + "type": "index-pattern" + } + ], + "state": { + "visualization": { + "legend": { + "isVisible": true, + "position": "right" + }, + "valueLabels": "hide", + "fittingFunction": "None", + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "preferredSeriesType": "area", + "layers": [ + { + "layerId": "9159b5ef-429c-4c92-b587-7247fbdadd4d", + "accessors": ["e950618a-874e-435d-85da-30dd52504120"], + "position": "top", + "seriesType": "area", + "showGridlines": false, + "layerType": "data", + "xAccessor": "f136fcf3-2bda-42a0-8bae-231543b236ab" + } + ] + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "9159b5ef-429c-4c92-b587-7247fbdadd4d": { + "columns": { + "f136fcf3-2bda-42a0-8bae-231543b236ab": { + "label": "timestamp", + "dataType": "date", + "operationType": "date_histogram", + "sourceField": "timestamp", + "isBucketed": true, + "scale": "interval", + "params": { + "interval": "auto", + "includeEmptyRows": true, + "dropPartials": false + } + }, + "e950618a-874e-435d-85da-30dd52504120": { + "label": "Median of bytes", + "dataType": "number", + "operationType": "median", + "sourceField": "bytes", + "isBucketed": false, + "scale": "ratio", + "params": { + "emptyAsNull": true + } + } + }, + "columnOrder": [ + "f136fcf3-2bda-42a0-8bae-231543b236ab", + "e950618a-874e-435d-85da-30dd52504120" + ], + "incompleteColumns": {}, + "sampling": 1 + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + } + } + }, + "a88dd08e-9b07-45b0-bc0a-822450d2bfcb": { + "type": "lens", + "gridData": { + "x": 0, + "y": 8, + "w": 9, + "h": 5, + "i": "a88dd08e-9b07-45b0-bc0a-822450d2bfcb" + }, + "explicitInput": { + "id": "a88dd08e-9b07-45b0-bc0a-822450d2bfcb", + "title": "", + "enhancements": { + "dynamicActions": { + "events": [] + } + }, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, + "searchSessionId": "52b991d3-bfec-474c-a9ee-860b58baffd2", + "filters": [], + "query": { + "query": "", + "language": "kuery" + }, + "attributes": { + "title": "", + "description": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-04d32faf-7772-4820-bc25-dc510a13b0bc", + "type": "index-pattern" + } + ], + "state": { + "visualization": { + "layerId": "04d32faf-7772-4820-bc25-dc510a13b0bc", + "layerType": "data", + "metricAccessor": "3016ca70-b4ae-408d-859d-3de50b22b528", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 3, + "name": "custom", + "reverse": false, + "rangeType": "number", + "rangeMin": 0, + "rangeMax": null, + "progression": "fixed", + "stops": [ + { + "color": "#bbdad3", + "stop": 13154.66 + }, + { + "color": "#77b6a8", + "stop": 26309.32 + }, + { + "color": "#209280", + "stop": 39464 + } + ], + "continuity": "above", + "maxSteps": 5, + "colorStops": [ + { + "color": "#bbdad3", + "stop": 0 + }, + { + "color": "#77b6a8", + "stop": 13154.66 + }, + { + "color": "#209280", + "stop": 26309.32 + } + ] + } + } + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "04d32faf-7772-4820-bc25-dc510a13b0bc": { + "columns": { + "3016ca70-b4ae-408d-859d-3de50b22b528": { + "label": "Median Request Size", + "dataType": "number", + "operationType": "median", + "sourceField": "bytes", + "isBucketed": false, + "scale": "ratio", + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 2 + } + }, + "emptyAsNull": true + }, + "customLabel": true + } + }, + "columnOrder": ["3016ca70-b4ae-408d-859d-3de50b22b528"], + "incompleteColumns": {}, + "sampling": 1 + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + } + } + }, + "2daa9fd6-1406-4f3d-8230-3172760c5eb0": { + "type": "lens", + "gridData": { + "x": 9, + "y": 8, + "w": 9, + "h": 5, + "i": "2daa9fd6-1406-4f3d-8230-3172760c5eb0" + }, + "explicitInput": { + "id": "2daa9fd6-1406-4f3d-8230-3172760c5eb0", + "enhancements": { + "dynamicActions": { + "events": [] + } + }, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, + "searchSessionId": "52b991d3-bfec-474c-a9ee-860b58baffd2", + "filters": [], + "query": { + "query": "", + "language": "kuery" + }, + "attributes": { + "title": "", + "description": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-04d32faf-7772-4820-bc25-dc510a13b0bc", + "type": "index-pattern" + } + ], + "state": { + "visualization": { + "layerId": "04d32faf-7772-4820-bc25-dc510a13b0bc", + "layerType": "data", + "metricAccessor": "3016ca70-b4ae-408d-859d-3de50b22b528", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 3, + "name": "custom", + "reverse": false, + "rangeType": "number", + "rangeMin": 0, + "rangeMax": null, + "progression": "fixed", + "stops": [ + { + "color": "#bbdad3", + "stop": 13154.66 + }, + { + "color": "#77b6a8", + "stop": 26309.32 + }, + { + "color": "#209280", + "stop": 39464 + } + ], + "continuity": "above", + "maxSteps": 5, + "colorStops": [ + { + "color": "#bbdad3", + "stop": 0 + }, + { + "color": "#77b6a8", + "stop": 13154.66 + }, + { + "color": "#209280", + "stop": 26309.32 + } + ] + } + } + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "04d32faf-7772-4820-bc25-dc510a13b0bc": { + "columns": { + "3016ca70-b4ae-408d-859d-3de50b22b528": { + "label": "Maximum Request Size", + "dataType": "number", + "operationType": "max", + "sourceField": "bytes", + "isBucketed": false, + "scale": "ratio", + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 2 + } + }, + "emptyAsNull": true + }, + "customLabel": true + } + }, + "columnOrder": ["3016ca70-b4ae-408d-859d-3de50b22b528"], + "incompleteColumns": {}, + "sampling": 1 + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + } + } + }, + "b6a55c16-2cce-40a7-9d15-988bc060af16": { + "type": "lens", + "gridData": { + "x": 0, + "y": 13, + "w": 18, + "h": 11, + "i": "b6a55c16-2cce-40a7-9d15-988bc060af16" + }, + "explicitInput": { + "id": "b6a55c16-2cce-40a7-9d15-988bc060af16", + "title": "Bytes distribution", + "enhancements": { + "dynamicActions": { + "events": [] + } + }, + "hidePanelTitles": false, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, + "searchSessionId": "51b1c696-a450-48c2-8223-5753e57957c1", + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "attributes": { + "title": "[Logs] Bytes distribution - Bucketed", + "description": "", + "visualizationType": "lnsXY", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-40355730-da62-4d81-8b3b-18ff824f7dd2" + } + ], + "state": { + "visualization": { + "legend": { + "isVisible": true, + "legendSize": "auto", + "position": "right" + }, + "valueLabels": "hide", + "fittingFunction": "None", + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "preferredSeriesType": "bar", + "layers": [ + { + "layerId": "40355730-da62-4d81-8b3b-18ff824f7dd2", + "seriesType": "bar", + "xAccessor": "cfeb3d08-02c2-48d5-92f8-d2fc831f6953", + "accessors": ["569e4272-0188-4023-9b8c-e8611d2c7e0e"], + "layerType": "data", + "colorMapping": { + "assignments": [], + "specialAssignments": [ + { + "rule": { + "type": "other" + }, + "color": { + "type": "loop" + }, + "touched": false + } + ], + "paletteId": "eui_amsterdam_color_blind", + "colorMode": { + "type": "categorical" + } + }, + "yConfig": [ + { + "forAccessor": "569e4272-0188-4023-9b8c-e8611d2c7e0e", + "color": "#54B399" + } + ] + } + ] + }, + "query": { + "language": "kuery", + "query": "" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "40355730-da62-4d81-8b3b-18ff824f7dd2": { + "columns": { + "cfeb3d08-02c2-48d5-92f8-d2fc831f6953": { + "label": "bytes", + "dataType": "string", + "operationType": "range", + "sourceField": "bytes", + "isBucketed": true, + "scale": "ordinal", + "params": { + "type": "range", + "ranges": [ + { + "from": 0, + "to": 1, + "label": "Empty requests" + }, + { + "from": 1, + "to": 2000, + "label": "" + }, + { + "from": 2000, + "to": 4000, + "label": "" + }, + { + "from": 4000, + "to": 6000, + "label": "" + }, + { + "from": 6000, + "to": 8000, + "label": "" + }, + { + "from": 8000, + "to": 10000, + "label": "" + }, + { + "from": 10000, + "to": 12000, + "label": "" + }, + { + "from": 12000, + "to": 14000, + "label": "" + }, + { + "from": 14000, + "to": null, + "label": "" + } + ], + "maxBars": 499.5, + "format": { + "id": "bytes", + "params": { + "decimals": 2 + } + }, + "parentFormat": { + "id": "range", + "params": { + "template": "arrow_right", + "replaceInfinity": true + } + } + } + }, + "569e4272-0188-4023-9b8c-e8611d2c7e0eX0": { + "label": "Part of % of visits", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "569e4272-0188-4023-9b8c-e8611d2c7e0eX1": { + "label": "Part of % of visits", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "569e4272-0188-4023-9b8c-e8611d2c7e0eX2": { + "label": "Part of % of visits", + "dataType": "number", + "operationType": "overall_sum", + "isBucketed": false, + "scale": "ratio", + "references": ["569e4272-0188-4023-9b8c-e8611d2c7e0eX1"], + "customLabel": true + }, + "569e4272-0188-4023-9b8c-e8611d2c7e0eX3": { + "label": "Part of % of visits", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "divide", + "args": [ + "569e4272-0188-4023-9b8c-e8611d2c7e0eX0", + "569e4272-0188-4023-9b8c-e8611d2c7e0eX2" + ], + "location": { + "min": 0, + "max": 30 + }, + "text": "count() / overall_sum(count())" + } + }, + "references": [ + "569e4272-0188-4023-9b8c-e8611d2c7e0eX0", + "569e4272-0188-4023-9b8c-e8611d2c7e0eX2" + ], + "customLabel": true + }, + "569e4272-0188-4023-9b8c-e8611d2c7e0e": { + "label": "% of visits", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "formula": "count() / overall_sum(count())", + "isFormulaBroken": false + }, + "references": ["569e4272-0188-4023-9b8c-e8611d2c7e0eX3"], + "customLabel": true + } + }, + "columnOrder": [ + "cfeb3d08-02c2-48d5-92f8-d2fc831f6953", + "569e4272-0188-4023-9b8c-e8611d2c7e0e", + "569e4272-0188-4023-9b8c-e8611d2c7e0eX0", + "569e4272-0188-4023-9b8c-e8611d2c7e0eX1", + "569e4272-0188-4023-9b8c-e8611d2c7e0eX2", + "569e4272-0188-4023-9b8c-e8611d2c7e0eX3" + ], + "incompleteColumns": {}, + "sampling": 1, + "indexPatternId": "90943e30-9a47-11e8-b64d-95841ca0b247" + } + }, + "currentIndexPatternId": "90943e30-9a47-11e8-b64d-95841ca0b247" + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + } + } + }, + "7c02d081-73a7-48c7-8ca7-fff6a9bb3ac3": { + "type": "lens", + "gridData": { + "x": 18, + "y": 13, + "w": 30, + "h": 11, + "i": "7c02d081-73a7-48c7-8ca7-fff6a9bb3ac3" + }, + "explicitInput": { + "id": "7c02d081-73a7-48c7-8ca7-fff6a9bb3ac3", + "enhancements": { + "dynamicActions": { + "events": [] + } + }, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, + "searchSessionId": "52b991d3-bfec-474c-a9ee-860b58baffd2", + "filters": [], + "query": { + "query": "", + "language": "kuery" + }, + "attributes": { + "title": "", + "visualizationType": "lnsDatatable", + "type": "lens", + "references": [ + { + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-c840e93e-2949-4723-ad35-6bdb2d724404", + "type": "index-pattern" + } + ], + "state": { + "visualization": { + "columns": [ + { + "columnId": "4e64d6d7-4f92-4d5e-abbb-13796604db30", + "isTransposed": false + }, + { + "columnId": "fb9a848d-76f3-4005-a067-4259a50b5621", + "isTransposed": false + }, + { + "columnId": "a2760bc2-9a6e-46a1-8595-86f61573c7cf", + "isTransposed": false + }, + { + "columnId": "2c8bd8d5-35ff-4386-8d27-3ba882b13e43", + "isTransposed": false, + "colorMode": "text", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 5, + "stops": [ + { + "color": "#d23115", + "stop": 1000 + }, + { + "color": "#fcc400", + "stop": 1500 + }, + { + "color": "#68bc00", + "stop": 1501 + } + ], + "rangeType": "number", + "rangeMin": 0, + "rangeMax": null, + "continuity": "above", + "colorStops": [ + { + "color": "#d23115", + "stop": 0 + }, + { + "color": "#fcc400", + "stop": 1000 + }, + { + "color": "#68bc00", + "stop": 1500 + } + ], + "name": "custom" + } + } + }, + { + "columnId": "defa6f97-b874-4556-8438-056fb437787b", + "isTransposed": false, + "colorMode": "text", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 5, + "stops": [ + { + "color": "#D23115", + "stop": 10 + }, + { + "color": "#FCC400", + "stop": 25 + }, + { + "color": "#68bc00", + "stop": 26 + } + ], + "rangeType": "number", + "rangeMin": 0, + "rangeMax": null, + "continuity": "above", + "colorStops": [ + { + "color": "#D23115", + "stop": 0 + }, + { + "color": "#FCC400", + "stop": 10 + }, + { + "color": "#68bc00", + "stop": 25 + } + ], + "name": "custom" + } + } + } + ], + "layerId": "c840e93e-2949-4723-ad35-6bdb2d724404", + "layerType": "data" + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "c840e93e-2949-4723-ad35-6bdb2d724404": { + "columns": { + "4e64d6d7-4f92-4d5e-abbb-13796604db30": { + "label": "Type", + "dataType": "string", + "operationType": "terms", + "scale": "ordinal", + "sourceField": "extension.keyword", + "isBucketed": true, + "params": { + "size": 10, + "orderBy": { + "type": "column", + "columnId": "fb9a848d-76f3-4005-a067-4259a50b5621" + }, + "orderDirection": "desc", + "otherBucket": true, + "missingBucket": false, + "parentFormat": { + "id": "terms" + }, + "include": [], + "exclude": [], + "includeIsRegex": false, + "excludeIsRegex": false + }, + "customLabel": true + }, + "fb9a848d-76f3-4005-a067-4259a50b5621": { + "label": "Bytes (Total)", + "dataType": "number", + "operationType": "sum", + "sourceField": "bytes", + "isBucketed": false, + "scale": "ratio", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 2 + } + } + }, + "customLabel": true + }, + "a2760bc2-9a6e-46a1-8595-86f61573c7cf": { + "label": "Bytes (Last Hour)", + "dataType": "number", + "operationType": "sum", + "sourceField": "bytes", + "isBucketed": false, + "scale": "ratio", + "reducedTimeRange": "1h", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 2 + } + } + }, + "customLabel": true + }, + "2c8bd8d5-35ff-4386-8d27-3ba882b13e43": { + "label": "Unique Visits (Total)", + "dataType": "number", + "operationType": "unique_count", + "scale": "ratio", + "sourceField": "clientip", + "isBucketed": false, + "params": { + "emptyAsNull": true + }, + "customLabel": true + }, + "defa6f97-b874-4556-8438-056fb437787b": { + "label": "Unique count of clientip", + "dataType": "number", + "operationType": "unique_count", + "scale": "ratio", + "sourceField": "clientip", + "isBucketed": false, + "reducedTimeRange": "1h", + "params": { + "emptyAsNull": true + } + } + }, + "columnOrder": [ + "4e64d6d7-4f92-4d5e-abbb-13796604db30", + "fb9a848d-76f3-4005-a067-4259a50b5621", + "a2760bc2-9a6e-46a1-8595-86f61573c7cf", + "2c8bd8d5-35ff-4386-8d27-3ba882b13e43", + "defa6f97-b874-4556-8438-056fb437787b" + ], + "sampling": 1, + "incompleteColumns": {} + } + } + }, + "textBased": { + "layers": {} + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + } + } + }, + + "4": { + "type": "map", + "gridData": { + "x": 0, + "y": 16, + "w": 48, + "h": 17, + "i": "4", + "row": 1 + }, + "explicitInput": { + "id": "4", + "savedObjectId": "de71f4f0-1902-11e9-919b-ffe5949a18d2", + "isLayerTOCOpen": false, + "hiddenLayers": [], + "mapCenter": { + "lat": 39.6308, + "lon": -100.62555, + "zoom": 3.31 + }, + "openTOCDetails": [], + "enhancements": {}, + "mapBuffer": { + "minLon": -180, + "minLat": 21.94305, + "maxLon": -22.5, + "maxLat": 55.77657 + } + }, + "version": "8.10.0-SNAPSHOT" + }, + "05da0d2b-0145-4068-b21c-00be3184d465": { + "type": "visualization", + "gridData": { + "x": 0, + "y": 0, + "w": 18, + "h": 8, + "i": "05da0d2b-0145-4068-b21c-00be3184d465", + "row": 1 + }, + "explicitInput": { + "id": "05da0d2b-0145-4068-b21c-00be3184d465", + "savedVis": { + "title": "[Logs] Markdown Instructions", + "description": "", + "type": "markdown", + "params": { + "fontSize": 12, + "openLinksInNewTab": true, + "markdown": "#### Sample Logs Data\n### Visitors\nThis dashboard uses the `[Logs]` sample data for you to play with and includes visualizations related to the visitors. For more information about Kibana, check our [docs](https://www.elastic.co/guide/en/kibana/current/index.html)." + }, + "uiState": {}, + "data": { + "aggs": [], + "searchSource": { + "query": { + "query": "", + "language": "kuery" + }, + "filter": [] + } + } + }, + "enhancements": {}, + "hidePanelTitles": true + }, + "version": "8.10.0-SNAPSHOT" + }, + "b7da9075-4742-47e3-b4f8-fc9ba82de74c": { + "type": "visualization", + "gridData": { + "x": 18, + "y": 0, + "w": 18, + "h": 16, + "i": "b7da9075-4742-47e3-b4f8-fc9ba82de74c", + "row": 1 + }, + "explicitInput": { + "id": "b7da9075-4742-47e3-b4f8-fc9ba82de74c", + "savedObjectId": "cb099a20-ea66-11eb-9425-113343a037e3", + "title": "Unique Destination Heatmap", + "savedVis": { + "title": "", + "description": "", + "type": "vega", + "params": { + "spec": "{\n $schema: https://vega.github.io/schema/vega-lite/v5.json\n data: {\n url: {\n %context%: true\n %timefield%: @timestamp\n index: kibana_sample_data_logs\n body: {\n aggs: {\n countries: {\n terms: {\n field: geo.src\n size: 25\n }\n aggs: {\n hours: {\n histogram: {\n field: hour_of_day\n interval: 1\n }\n aggs: {\n unique: {\n cardinality: {\n field: clientip\n }\n }\n }\n }\n }\n }\n }\n size: 0\n }\n }\n format: {property: \"aggregations.countries.buckets\"}\n }\n \n transform: [\n {\n flatten: [\"hours.buckets\"],\n as: [\"buckets\"]\n }\n ]\n\n mark: {\n type: rect\n tooltip: true\n }\n\n encoding: {\n x: {\n field: buckets.key\n type: ordinal\n axis: {\n title: false\n labelAngle: 0\n }\n }\n y: {\n field: key\n type: nominal\n sort: {\n field: -buckets.unique.value\n }\n axis: {title: false}\n }\n color: {\n field: buckets.unique.value\n type: quantitative\n axis: {title: false}\n scale: {\n scheme: reds\n }\n }\n }\n}\n" + }, + "uiState": {}, + "data": { + "aggs": [], + "searchSource": { + "query": { + "query": "", + "language": "kuery" + }, + "filter": [] + } + } + }, + "enhancements": {}, + "hidePanelTitles": false + }, + "version": "8.10.0-SNAPSHOT" + }, + "5c409557-644d-4c05-a284-ffe54bb28db0": { + "type": "lens", + "gridData": { + "x": 36, + "y": 0, + "w": 12, + "h": 16, + "i": "5c409557-644d-4c05-a284-ffe54bb28db0", + "row": 1 + }, + "explicitInput": { + "id": "5c409557-644d-4c05-a284-ffe54bb28db0", + "title": "Sum of Request Bytes by Visitor Location", + "attributes": { + "title": "", + "description": "", + "visualizationType": "lnsPie", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-edb3a980-148e-4d41-ae90-a77f679a988b" + } + ], + "state": { + "visualization": { + "shape": "treemap", + "layers": [ + { + "layerId": "edb3a980-148e-4d41-ae90-a77f679a988b", + "primaryGroups": ["e5fed3a7-a050-401f-84cc-98f32d97c350"], + "metrics": ["90c36c1d-5653-4d12-b7ab-a8fb82a354fc"], + "numberDisplay": "percent", + "categoryDisplay": "default", + "legendDisplay": "default", + "nestedLegend": false, + "layerType": "data" + } + ], + "palette": { + "type": "palette", + "name": "cool" + } + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "edb3a980-148e-4d41-ae90-a77f679a988b": { + "columns": { + "e5fed3a7-a050-401f-84cc-98f32d97c350": { + "label": "Top 5 values of geo.dest", + "dataType": "string", + "operationType": "terms", + "scale": "ordinal", + "sourceField": "geo.dest", + "isBucketed": true, + "params": { + "size": 5, + "orderBy": { + "type": "column", + "columnId": "90c36c1d-5653-4d12-b7ab-a8fb82a354fc" + }, + "orderDirection": "desc", + "otherBucket": true, + "missingBucket": false, + "parentFormat": { + "id": "terms" + }, + "include": [], + "exclude": [], + "includeIsRegex": false, + "excludeIsRegex": false + } + }, + "90c36c1d-5653-4d12-b7ab-a8fb82a354fc": { + "label": "Sum of bytes", + "dataType": "number", + "operationType": "sum", + "sourceField": "bytes", + "isBucketed": false, + "scale": "ratio", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 2 + } + } + } + } + }, + "columnOrder": [ + "e5fed3a7-a050-401f-84cc-98f32d97c350", + "90c36c1d-5653-4d12-b7ab-a8fb82a354fc" + ], + "incompleteColumns": {}, + "sampling": 1 + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {}, + "hidePanelTitles": false + }, + "version": "8.10.0-SNAPSHOT" + }, + "af4b5c07-506e-44c2-b2bb-2113d0c5b274": { + "type": "lens", + "gridData": { + "x": 0, + "y": 8, + "w": 6, + "h": 8, + "i": "af4b5c07-506e-44c2-b2bb-2113d0c5b274", + "row": 1 + }, + "explicitInput": { + "id": "af4b5c07-506e-44c2-b2bb-2113d0c5b274", + "title": "", + "attributes": { + "title": "", + "description": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-ebfc4825-b7b6-4113-bd22-f1f07a4113e9" + }, + { + "type": "index-pattern", + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-717129e0-2d11-4f22-abbb-a2c8a0f7ae0d" + } + ], + "state": { + "visualization": { + "layerId": "ebfc4825-b7b6-4113-bd22-f1f07a4113e9", + "layerType": "data", + "metricAccessor": "0e1418b8-3896-416c-8f78-9e832e5c42c8", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 3, + "name": "custom", + "reverse": false, + "rangeType": "number", + "rangeMin": 0, + "rangeMax": null, + "progression": "fixed", + "stops": [ + { + "color": "#ccd9ea", + "stop": 500 + }, + { + "color": "#98b5d5", + "stop": 1000 + }, + { + "color": "#6092c0", + "stop": 3662 + } + ], + "continuity": "above", + "maxSteps": 5, + "colorStops": [ + { + "color": "#ccd9ea", + "stop": 0 + }, + { + "color": "#98b5d5", + "stop": 500 + }, + { + "color": "#6092c0", + "stop": 1000 + } + ] + } + }, + "showBar": false, + "icon": "empty", + "trendlineLayerId": "717129e0-2d11-4f22-abbb-a2c8a0f7ae0d", + "trendlineLayerType": "metricTrendline", + "trendlineTimeAccessor": "6c3a5c8c-2e1f-4a51-9b15-39d2fac35c58", + "trendlineMetricAccessor": "cf34fce7-0017-472e-91c2-56f30a86d32b" + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "ebfc4825-b7b6-4113-bd22-f1f07a4113e9": { + "columns": { + "0e1418b8-3896-416c-8f78-9e832e5c42c8": { + "label": "Total Visits", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "clientip", + "params": { + "emptyAsNull": true + }, + "customLabel": true + } + }, + "columnOrder": ["0e1418b8-3896-416c-8f78-9e832e5c42c8"], + "incompleteColumns": {}, + "sampling": 1 + }, + "717129e0-2d11-4f22-abbb-a2c8a0f7ae0d": { + "linkToLayers": ["ebfc4825-b7b6-4113-bd22-f1f07a4113e9"], + "columns": { + "6c3a5c8c-2e1f-4a51-9b15-39d2fac35c58": { + "label": "timestamp", + "dataType": "date", + "operationType": "date_histogram", + "sourceField": "timestamp", + "isBucketed": true, + "scale": "interval", + "params": { + "interval": "auto", + "includeEmptyRows": true, + "dropPartials": false + } + }, + "cf34fce7-0017-472e-91c2-56f30a86d32b": { + "label": "Total Visits", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "clientip", + "params": { + "emptyAsNull": true + }, + "customLabel": true + } + }, + "columnOrder": [ + "6c3a5c8c-2e1f-4a51-9b15-39d2fac35c58", + "cf34fce7-0017-472e-91c2-56f30a86d32b" + ], + "sampling": 1, + "ignoreGlobalFilters": false, + "incompleteColumns": {} + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {} + }, + "version": "8.10.0-SNAPSHOT" + }, + "d42c4870-c028-4d8a-abd0-0effbc190ce3": { + "type": "lens", + "gridData": { + "x": 6, + "y": 8, + "w": 6, + "h": 8, + "i": "d42c4870-c028-4d8a-abd0-0effbc190ce3", + "row": 1 + }, + "explicitInput": { + "id": "d42c4870-c028-4d8a-abd0-0effbc190ce3", + "title": "", + "attributes": { + "title": "", + "description": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-ebfc4825-b7b6-4113-bd22-f1f07a4113e9" + } + ], + "state": { + "visualization": { + "layerId": "ebfc4825-b7b6-4113-bd22-f1f07a4113e9", + "layerType": "data", + "metricAccessor": "0e1418b8-3896-416c-8f78-9e832e5c42c8", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 3, + "name": "custom", + "reverse": false, + "rangeType": "number", + "rangeMin": 0, + "rangeMax": null, + "progression": "fixed", + "stops": [ + { + "color": "#dee1e6", + "stop": 577.33 + }, + { + "color": "#b3b8c1", + "stop": 1154.66 + }, + { + "color": "#8c909d", + "stop": 1732 + } + ], + "continuity": "above", + "maxSteps": 5, + "colorStops": [ + { + "color": "#dee1e6", + "stop": 0 + }, + { + "color": "#b3b8c1", + "stop": 577.33 + }, + { + "color": "#8c909d", + "stop": 1154.66 + } + ] + } + }, + "showBar": false, + "icon": "empty" + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "ebfc4825-b7b6-4113-bd22-f1f07a4113e9": { + "columns": { + "0e1418b8-3896-416c-8f78-9e832e5c42c8": { + "label": "Unique Visitors", + "dataType": "number", + "operationType": "unique_count", + "scale": "ratio", + "sourceField": "clientip", + "isBucketed": false, + "params": { + "emptyAsNull": true + }, + "customLabel": true + } + }, + "columnOrder": ["0e1418b8-3896-416c-8f78-9e832e5c42c8"], + "incompleteColumns": {}, + "sampling": 1 + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {} + }, + "version": "8.10.0-SNAPSHOT" + }, + "4092d42c-f93b-4c71-a6db-8f12abf12791": { + "type": "lens", + "gridData": { + "x": 12, + "y": 8, + "w": 6, + "h": 8, + "i": "4092d42c-f93b-4c71-a6db-8f12abf12791", + "row": 1 + }, + "explicitInput": { + "id": "4092d42c-f93b-4c71-a6db-8f12abf12791", + "title": "", + "attributes": { + "title": "", + "description": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-ebfc4825-b7b6-4113-bd22-f1f07a4113e9" + } + ], + "state": { + "visualization": { + "layerId": "ebfc4825-b7b6-4113-bd22-f1f07a4113e9", + "layerType": "data", + "metricAccessor": "0e1418b8-3896-416c-8f78-9e832e5c42c8", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 3, + "name": "custom", + "reverse": false, + "rangeType": "number", + "rangeMin": 0, + "rangeMax": null, + "progression": "fixed", + "stops": [ + { + "color": "#dee1e6", + "stop": 88 + }, + { + "color": "#b3b8c1", + "stop": 176 + }, + { + "color": "#8c909d", + "stop": 264 + } + ], + "continuity": "above", + "maxSteps": 5, + "colorStops": [ + { + "color": "#dee1e6", + "stop": 0 + }, + { + "color": "#b3b8c1", + "stop": 88 + }, + { + "color": "#8c909d", + "stop": 176 + } + ] + } + }, + "showBar": false, + "icon": "mapMarker" + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "ebfc4825-b7b6-4113-bd22-f1f07a4113e9": { + "columns": { + "0e1418b8-3896-416c-8f78-9e832e5c42c8": { + "label": "Unique Visitor Locations", + "dataType": "number", + "operationType": "unique_count", + "scale": "ratio", + "sourceField": "geo.dest", + "isBucketed": false, + "params": { + "emptyAsNull": true + }, + "customLabel": true + } + }, + "columnOrder": ["0e1418b8-3896-416c-8f78-9e832e5c42c8"], + "incompleteColumns": {}, + "sampling": 1 + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {} + }, + "version": "8.10.0-SNAPSHOT" + }, + + "15": { + "type": "lens", + "gridData": { + "x": 18, + "y": 0, + "w": 30, + "h": 15, + "i": "15", + "row": 2 + }, + "explicitInput": { + "id": "15", + "title": "[Logs] Response Codes Over Time + Annotations", + "enhancements": { + "dynamicActions": { + "events": [] + } + }, + "hidePanelTitles": false, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, + "searchSessionId": "c35ac8a2-8ced-403c-8d3d-81e07e633c44", + "filters": [], + "query": { + "query": "", + "language": "kuery" + }, + "attributes": { + "title": "[Logs] Response Codes Over Time + Annotations (converted)", + "visualizationType": "lnsXY", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-b38fe501-4b47-4de8-a423-6656d1162174" + }, + { + "type": "index-pattern", + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "xy-visualization-layer-f265e722-ae38-495c-903c-48aa7931fa82" + } + ], + "state": { + "visualization": { + "legend": { + "isVisible": true, + "showSingleSeries": true, + "position": "bottom", + "shouldTruncate": true, + "maxLines": 1 + }, + "valueLabels": "hide", + "fittingFunction": "None", + "fillOpacity": 0.5, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yLeftScale": "linear", + "yRightScale": "linear", + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "preferredSeriesType": "bar_stacked", + "layers": [ + { + "seriesType": "area_percentage_stacked", + "layerType": "data", + "layerId": "b38fe501-4b47-4de8-a423-6656d1162174", + "accessors": ["896c5eb2-81c5-44f1-a4a1-57344161ea62"], + "yConfig": [ + { + "forAccessor": "896c5eb2-81c5-44f1-a4a1-57344161ea62", + "color": "rgba(115,216,255,1)", + "axisMode": "left" + } + ], + "xAccessor": "8986e393-d24f-49b0-96ca-118fd66d75e5", + "splitAccessor": "43f5bb0f-c6da-43a0-8a0a-50e9838ed34b", + "palette": { + "name": "default", + "type": "palette" + }, + "colorMapping": { + "assignments": [], + "specialAssignments": [ + { + "rule": { + "type": "other" + }, + "color": { + "type": "loop" + }, + "touched": false + } + ], + "paletteId": "eui_amsterdam_color_blind", + "colorMode": { + "type": "categorical" + } + } + }, + { + "layerId": "f265e722-ae38-495c-903c-48aa7931fa82", + "layerType": "annotations", + "ignoreGlobalFilters": true, + "annotations": [ + { + "type": "query", + "id": "bd7548a0-2223-11e8-832f-d5027f3c8a47", + "label": "Event", + "key": { + "type": "point_in_time" + }, + "color": "#D33115", + "timeField": "timestamp", + "icon": "asterisk", + "filter": { + "type": "kibana_query", + "query": "tags:error AND tags:security", + "language": "lucene" + }, + "extraFields": ["geo.src"] + } + ], + "indexPatternId": "90943e30-9a47-11e8-b64d-95841ca0b247" + } + ] + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "b38fe501-4b47-4de8-a423-6656d1162174": { + "columns": { + "8986e393-d24f-49b0-96ca-118fd66d75e5": { + "label": "timestamp", + "dataType": "date", + "operationType": "date_histogram", + "sourceField": "timestamp", + "isBucketed": true, + "scale": "interval", + "params": { + "interval": "auto", + "includeEmptyRows": true, + "dropPartials": false + } + }, + "43f5bb0f-c6da-43a0-8a0a-50e9838ed34b": { + "label": "Filters", + "dataType": "string", + "operationType": "filters", + "scale": "ordinal", + "isBucketed": true, + "params": { + "filters": [ + { + "input": { + "query": "response.keyword >= 200 and response.keyword < 400", + "language": "kuery" + }, + "label": "HTTP 2xx and 3xx" + }, + { + "input": { + "query": "response.keyword >= 400 and response.keyword < 500", + "language": "kuery" + }, + "label": "HTTP 4xx" + }, + { + "input": { + "query": "response.keyword >= 500", + "language": "kuery" + }, + "label": "HTTP 5xx" + } + ] + } + }, + "896c5eb2-81c5-44f1-a4a1-57344161ea62": { + "label": "Response Code Count", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "params": { + "emptyAsNull": true + }, + "customLabel": true + } + }, + "columnOrder": [ + "8986e393-d24f-49b0-96ca-118fd66d75e5", + "43f5bb0f-c6da-43a0-8a0a-50e9838ed34b", + "896c5eb2-81c5-44f1-a4a1-57344161ea62" + ], + "incompleteColumns": {}, + "indexPatternId": "90943e30-9a47-11e8-b64d-95841ca0b247" + } + }, + "currentIndexPatternId": "90943e30-9a47-11e8-b64d-95841ca0b247" + }, + "textBased": { + "layers": {}, + "indexPatternRefs": [ + { + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "title": "kibana_sample_data_logs", + "timeField": "timestamp" + } + ] + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + } + } + }, + "4e64d6d7-4f92-4d5e-abbb-13796604db30": { + "type": "visualization", + "gridData": { + "x": 0, + "y": 0, + "w": 18, + "h": 8, + "i": "4e64d6d7-4f92-4d5e-abbb-13796604db30", + "row": 2 + }, + "explicitInput": { + "id": "4e64d6d7-4f92-4d5e-abbb-13796604db30v", + "savedVis": { + "title": "[Logs] Markdown Instructions", + "description": "", + "type": "markdown", + "params": { + "fontSize": 12, + "openLinksInNewTab": true, + "markdown": "#### Sample Logs Data\n### Response Codes\nThis dashboard uses the `[Logs]` sample data for you to play with and includes visualizations related to the response codes of the sample requests. For more information about Kibana, check our [docs](https://www.elastic.co/guide/en/kibana/current/index.html)." + }, + "uiState": {}, + "data": { + "aggs": [], + "searchSource": { + "query": { + "query": "", + "language": "kuery" + }, + "filter": [] + } + } + }, + "enhancements": {}, + "hidePanelTitles": true + }, + "version": "8.10.0-SNAPSHOT" + }, + "ddce4ad8-6a82-44f0-9995-57f46f153f50": { + "type": "lens", + "gridData": { + "x": 0, + "y": 8, + "w": 6, + "h": 7, + "i": "ddce4ad8-6a82-44f0-9995-57f46f153f50", + "row": 2 + }, + "explicitInput": { + "id": "ddce4ad8-6a82-44f0-9995-57f46f153f50", + "title": "", + "attributes": { + "title": "", + "description": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-f3793bb7-3971-4753-866d-4008e77a9f9a" + } + ], + "state": { + "visualization": { + "layerId": "f3793bb7-3971-4753-866d-4008e77a9f9a", + "layerType": "data", + "metricAccessor": "71c076a6-e782-4866-b8df-5fd85a41f08b", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 3, + "name": "custom", + "reverse": false, + "rangeType": "number", + "rangeMin": 0, + "rangeMax": null, + "progression": "fixed", + "stops": [ + { + "color": "#dfdfdf", + "stop": 0.25 + }, + { + "color": "#c9f0e5", + "stop": 0.5 + }, + { + "color": "#99dcca", + "stop": 0.75 + }, + { + "color": "#54B399", + "stop": 1 + }, + { + "color": "#36967c", + "stop": 1.8423645320197044 + } + ], + "colorStops": [ + { + "color": "#dfdfdf", + "stop": 0 + }, + { + "color": "#c9f0e5", + "stop": 0.25 + }, + { + "color": "#99dcca", + "stop": 0.5 + }, + { + "color": "#54B399", + "stop": 0.75 + }, + { + "color": "#36967c", + "stop": 1 + } + ], + "continuity": "above", + "maxSteps": 5 + } + } + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "f3793bb7-3971-4753-866d-4008e77a9f9a": { + "columns": { + "71c076a6-e782-4866-b8df-5fd85a41f08bX0": { + "label": "Part of HTTP 2xx", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "filter": { + "query": "response.keyword >= 200 and response.keyword < 300", + "language": "kuery" + }, + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "71c076a6-e782-4866-b8df-5fd85a41f08bX1": { + "label": "Part of HTTP 2xx", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "71c076a6-e782-4866-b8df-5fd85a41f08bX2": { + "label": "Part of HTTP 2xx", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "divide", + "args": [ + "71c076a6-e782-4866-b8df-5fd85a41f08bX0", + "71c076a6-e782-4866-b8df-5fd85a41f08bX1" + ], + "location": { + "min": 0, + "max": 73 + }, + "text": "count(kql='response.keyword >= 200 and response.keyword < 300') / count()" + } + }, + "references": [ + "71c076a6-e782-4866-b8df-5fd85a41f08bX0", + "71c076a6-e782-4866-b8df-5fd85a41f08bX1" + ], + "customLabel": true + }, + "71c076a6-e782-4866-b8df-5fd85a41f08b": { + "label": "HTTP 2xx", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "formula": "count(kql='response.keyword >= 200 and response.keyword < 300') / count()", + "isFormulaBroken": false, + "format": { + "id": "percent", + "params": { + "decimals": 2, + "compact": true + } + } + }, + "references": ["71c076a6-e782-4866-b8df-5fd85a41f08bX2"], + "customLabel": true + } + }, + "columnOrder": [ + "71c076a6-e782-4866-b8df-5fd85a41f08b", + "71c076a6-e782-4866-b8df-5fd85a41f08bX0", + "71c076a6-e782-4866-b8df-5fd85a41f08bX1", + "71c076a6-e782-4866-b8df-5fd85a41f08bX2" + ], + "incompleteColumns": {} + } + } + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {} + }, + "version": "8.10.0-SNAPSHOT" + }, + "a2884704-db3b-4b92-a19a-cdfe668dec39": { + "type": "lens", + "gridData": { + "x": 6, + "y": 8, + "w": 6, + "h": 7, + "i": "a2884704-db3b-4b92-a19a-cdfe668dec39", + "row": 2 + }, + "explicitInput": { + "id": "a2884704-db3b-4b92-a19a-cdfe668dec39", + "title": "", + "attributes": { + "title": "", + "description": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-f3793bb7-3971-4753-866d-4008e77a9f9a" + } + ], + "state": { + "visualization": { + "layerId": "f3793bb7-3971-4753-866d-4008e77a9f9a", + "layerType": "data", + "metricAccessor": "71c076a6-e782-4866-b8df-5fd85a41f08b", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 3, + "name": "custom", + "reverse": false, + "rangeType": "number", + "rangeMin": 0, + "rangeMax": null, + "progression": "fixed", + "stops": [ + { + "color": "#ffe4ed", + "stop": 0.05 + }, + { + "color": "#f0b1c6", + "stop": 0.1 + }, + { + "color": "#e187a5", + "stop": 0.5 + }, + { + "color": "#D36086", + "stop": 0.9 + }, + { + "color": "#b1315b", + "stop": 1.9 + } + ], + "colorStops": [ + { + "color": "#ffe4ed", + "stop": 0 + }, + { + "color": "#f0b1c6", + "stop": 0.05 + }, + { + "color": "#e187a5", + "stop": 0.1 + }, + { + "color": "#D36086", + "stop": 0.5 + }, + { + "color": "#b1315b", + "stop": 0.9 + } + ], + "continuity": "above", + "maxSteps": 5 + } + } + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "f3793bb7-3971-4753-866d-4008e77a9f9a": { + "columns": { + "71c076a6-e782-4866-b8df-5fd85a41f08bX0": { + "label": "Part of HTTP 4xx", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "filter": { + "query": "response.keyword >= 400 and response.keyword < 500", + "language": "kuery" + }, + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "71c076a6-e782-4866-b8df-5fd85a41f08bX1": { + "label": "Part of HTTP 4xx", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "71c076a6-e782-4866-b8df-5fd85a41f08bX2": { + "label": "Part of HTTP 4xx", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "divide", + "args": [ + "71c076a6-e782-4866-b8df-5fd85a41f08bX0", + "71c076a6-e782-4866-b8df-5fd85a41f08bX1" + ], + "location": { + "min": 0, + "max": 73 + }, + "text": "count(kql='response.keyword >= 400 and response.keyword < 500') / count()" + } + }, + "references": [ + "71c076a6-e782-4866-b8df-5fd85a41f08bX0", + "71c076a6-e782-4866-b8df-5fd85a41f08bX1" + ], + "customLabel": true + }, + "71c076a6-e782-4866-b8df-5fd85a41f08b": { + "label": "HTTP 4xx", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "formula": "count(kql='response.keyword >= 400 and response.keyword < 500') / count()", + "isFormulaBroken": false, + "format": { + "id": "percent", + "params": { + "decimals": 2, + "compact": true + } + } + }, + "references": ["71c076a6-e782-4866-b8df-5fd85a41f08bX2"], + "customLabel": true + } + }, + "columnOrder": [ + "71c076a6-e782-4866-b8df-5fd85a41f08b", + "71c076a6-e782-4866-b8df-5fd85a41f08bX0", + "71c076a6-e782-4866-b8df-5fd85a41f08bX1", + "71c076a6-e782-4866-b8df-5fd85a41f08bX2" + ], + "incompleteColumns": {} + } + } + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {} + }, + "version": "8.10.0-SNAPSHOT" + }, + "529eec49-10e2-4a40-9c77-5c81f4eb3943": { + "type": "lens", + "gridData": { + "x": 12, + "y": 8, + "w": 6, + "h": 7, + "i": "529eec49-10e2-4a40-9c77-5c81f4eb3943", + "row": 2 + }, + "explicitInput": { + "id": "529eec49-10e2-4a40-9c77-5c81f4eb3943", + "title": "", + "attributes": { + "title": "", + "description": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-f3793bb7-3971-4753-866d-4008e77a9f9a" + } + ], + "state": { + "visualization": { + "layerId": "f3793bb7-3971-4753-866d-4008e77a9f9a", + "layerType": "data", + "metricAccessor": "71c076a6-e782-4866-b8df-5fd85a41f08b", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 3, + "name": "custom", + "reverse": false, + "rangeType": "number", + "rangeMin": 0, + "rangeMax": null, + "progression": "fixed", + "stops": [ + { + "color": "#ffe4ed", + "stop": 0.05 + }, + { + "color": "#f0b1c6", + "stop": 0.1 + }, + { + "color": "#e187a5", + "stop": 0.5 + }, + { + "color": "#D36086", + "stop": 0.9 + }, + { + "color": "#b1315b", + "stop": 1.9 + } + ], + "colorStops": [ + { + "color": "#ffe4ed", + "stop": 0 + }, + { + "color": "#f0b1c6", + "stop": 0.05 + }, + { + "color": "#e187a5", + "stop": 0.1 + }, + { + "color": "#D36086", + "stop": 0.5 + }, + { + "color": "#b1315b", + "stop": 0.9 + } + ], + "continuity": "above", + "maxSteps": 5 + } + } + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "f3793bb7-3971-4753-866d-4008e77a9f9a": { + "columns": { + "71c076a6-e782-4866-b8df-5fd85a41f08bX0": { + "label": "Part of HTTP 5xx", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "filter": { + "query": "response.keyword >= 500 and response.keyword < 600", + "language": "kuery" + }, + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "71c076a6-e782-4866-b8df-5fd85a41f08bX1": { + "label": "Part of HTTP 5xx", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "71c076a6-e782-4866-b8df-5fd85a41f08bX2": { + "label": "Part of HTTP 5xx", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "divide", + "args": [ + "71c076a6-e782-4866-b8df-5fd85a41f08bX0", + "71c076a6-e782-4866-b8df-5fd85a41f08bX1" + ], + "location": { + "min": 0, + "max": 73 + }, + "text": "count(kql='response.keyword >= 500 and response.keyword < 600') / count()" + } + }, + "references": [ + "71c076a6-e782-4866-b8df-5fd85a41f08bX0", + "71c076a6-e782-4866-b8df-5fd85a41f08bX1" + ], + "customLabel": true + }, + "71c076a6-e782-4866-b8df-5fd85a41f08b": { + "label": "HTTP 5xx", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "formula": "count(kql='response.keyword >= 500 and response.keyword < 600') / count()", + "isFormulaBroken": false, + "format": { + "id": "percent", + "params": { + "decimals": 2, + "compact": true + } + } + }, + "references": ["71c076a6-e782-4866-b8df-5fd85a41f08bX2"], + "customLabel": true + } + }, + "columnOrder": [ + "71c076a6-e782-4866-b8df-5fd85a41f08b", + "71c076a6-e782-4866-b8df-5fd85a41f08bX0", + "71c076a6-e782-4866-b8df-5fd85a41f08bX1", + "71c076a6-e782-4866-b8df-5fd85a41f08bX2" + ], + "incompleteColumns": {} + } + } + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {} + }, + "version": "8.10.0-SNAPSHOT" + }, + "1d5f0b3f-d9d2-4b26-997b-83bc5ca3090b": { + "type": "lens", + "gridData": { + "x": 0, + "y": 15, + "w": 48, + "h": 12, + "i": "1d5f0b3f-d9d2-4b26-997b-83bc5ca3090b", + "row": 2 + }, + "explicitInput": { + "id": "1d5f0b3f-d9d2-4b26-997b-83bc5ca3090b", + "title": "[Logs] Errors by host", + "attributes": { + "title": "", + "description": "", + "visualizationType": "lnsDatatable", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "90943e30-9a47-11e8-b64d-95841ca0b247", + "name": "indexpattern-datasource-layer-c35dc8ee-50d1-4ef7-8b4b-9c21a7e7d3b0" + } + ], + "state": { + "visualization": { + "layerId": "c35dc8ee-50d1-4ef7-8b4b-9c21a7e7d3b0", + "columns": [ + { + "columnId": "42783ad7-dbcf-4310-bc06-f21f4eaaac96", + "width": 650.6666666666666 + }, + { + "columnId": "f7835375-4d5b-4839-95ea-41928192a319" + }, + { + "columnId": "491285fd-0196-402c-9b7f-4660fdc1c22a", + "isTransposed": false, + "width": 81.66666666666669, + "colorMode": "cell", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 5, + "stops": [ + { + "color": "#FFDAE6", + "stop": 0.1 + }, + { + "color": "#D36086", + "stop": 1 + } + ], + "rangeType": "number", + "name": "custom", + "colorStops": [ + { + "color": "#FFDAE6", + "stop": 0.05 + }, + { + "color": "#D36086", + "stop": 0.1 + } + ], + "rangeMin": 0.05, + "rangeMax": null, + "continuity": "above" + } + } + }, + { + "columnId": "07fc84ca-4147-4ba9-879e-d1b4e086e1da", + "isTransposed": false, + "colorMode": "cell", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 5, + "stops": [ + { + "color": "#ffdae6", + "stop": 0.1 + }, + { + "color": "#D36086", + "stop": 1 + } + ], + "name": "custom", + "colorStops": [ + { + "color": "#ffdae6", + "stop": 0.05 + }, + { + "color": "#D36086", + "stop": 0.1 + } + ], + "rangeType": "number", + "rangeMin": 0.05, + "rangeMax": null, + "continuity": "above" + } + } + }, + { + "columnId": "791d5a5b-a7ba-4e9e-b533-51b33c7d7747", + "isTransposed": false + }, + { + "columnId": "611e3509-e834-4fdd-b573-44e959e95d27", + "isTransposed": false + }, + { + "columnId": "9f79ecca-123f-4098-a658-6b0e998da003", + "isTransposed": false + } + ], + "sorting": { + "columnId": "491285fd-0196-402c-9b7f-4660fdc1c22a", + "direction": "desc" + }, + "layerType": "data", + "rowHeight": "single", + "rowHeightLines": 1 + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "c35dc8ee-50d1-4ef7-8b4b-9c21a7e7d3b0": { + "columns": { + "42783ad7-dbcf-4310-bc06-f21f4eaaac96": { + "label": "URL", + "dataType": "string", + "operationType": "terms", + "scale": "ordinal", + "sourceField": "url.keyword", + "isBucketed": true, + "params": { + "size": 1000, + "orderBy": { + "type": "column", + "columnId": "f7835375-4d5b-4839-95ea-41928192a319" + }, + "orderDirection": "desc", + "otherBucket": true, + "missingBucket": false + }, + "customLabel": true + }, + "f7835375-4d5b-4839-95ea-41928192a319": { + "label": "Visits", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "customLabel": true + }, + "07fc84ca-4147-4ba9-879e-d1b4e086e1daX0": { + "label": "Part of HTTP 4xx", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "filter": { + "query": "response.keyword >= 400 and response.keyword < 500", + "language": "kuery" + }, + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "07fc84ca-4147-4ba9-879e-d1b4e086e1daX1": { + "label": "Part of HTTP 4xx", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "07fc84ca-4147-4ba9-879e-d1b4e086e1daX2": { + "label": "Part of HTTP 4xx", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "divide", + "args": [ + "07fc84ca-4147-4ba9-879e-d1b4e086e1daX0", + "07fc84ca-4147-4ba9-879e-d1b4e086e1daX1" + ], + "location": { + "min": 0, + "max": 73 + }, + "text": "count(kql='response.keyword >= 400 and response.keyword < 500') / count()" + } + }, + "references": [ + "07fc84ca-4147-4ba9-879e-d1b4e086e1daX0", + "07fc84ca-4147-4ba9-879e-d1b4e086e1daX1" + ], + "customLabel": true + }, + "07fc84ca-4147-4ba9-879e-d1b4e086e1da": { + "label": "HTTP 4xx", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "formula": "count(kql='response.keyword >= 400 and response.keyword < 500') / count()", + "isFormulaBroken": false, + "format": { + "id": "percent", + "params": { + "decimals": 1 + } + } + }, + "references": ["07fc84ca-4147-4ba9-879e-d1b4e086e1daX2"], + "customLabel": true + }, + "791d5a5b-a7ba-4e9e-b533-51b33c7d7747": { + "label": "Unique", + "dataType": "number", + "operationType": "unique_count", + "scale": "ratio", + "sourceField": "clientip", + "isBucketed": false, + "customLabel": true + }, + "611e3509-e834-4fdd-b573-44e959e95d27": { + "label": "95th percentile of bytes", + "dataType": "number", + "operationType": "percentile", + "sourceField": "bytes", + "isBucketed": false, + "scale": "ratio", + "params": { + "percentile": 95, + "format": { + "id": "bytes", + "params": { + "decimals": 0 + } + } + } + }, + "9f79ecca-123f-4098-a658-6b0e998da003": { + "label": "Median of bytes", + "dataType": "number", + "operationType": "median", + "sourceField": "bytes", + "isBucketed": false, + "scale": "ratio", + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 0 + } + } + } + }, + "491285fd-0196-402c-9b7f-4660fdc1c22aX0": { + "label": "Part of HTTP 5xx", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "filter": { + "query": "response.keyword >= 500", + "language": "kuery" + }, + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "491285fd-0196-402c-9b7f-4660fdc1c22aX1": { + "label": "Part of HTTP 5xx", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "491285fd-0196-402c-9b7f-4660fdc1c22aX2": { + "label": "Part of HTTP 5xx", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "divide", + "args": [ + "491285fd-0196-402c-9b7f-4660fdc1c22aX0", + "491285fd-0196-402c-9b7f-4660fdc1c22aX1" + ], + "location": { + "min": 0, + "max": 46 + }, + "text": "count(kql='response.keyword >= 500') / count()" + } + }, + "references": [ + "491285fd-0196-402c-9b7f-4660fdc1c22aX0", + "491285fd-0196-402c-9b7f-4660fdc1c22aX1" + ], + "customLabel": true + }, + "491285fd-0196-402c-9b7f-4660fdc1c22a": { + "label": "HTTP 5xx", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "formula": "count(kql='response.keyword >= 500') / count()", + "isFormulaBroken": false, + "format": { + "id": "percent", + "params": { + "decimals": 1 + } + } + }, + "references": ["491285fd-0196-402c-9b7f-4660fdc1c22aX2"], + "customLabel": true + } + }, + "columnOrder": [ + "42783ad7-dbcf-4310-bc06-f21f4eaaac96", + "f7835375-4d5b-4839-95ea-41928192a319", + "791d5a5b-a7ba-4e9e-b533-51b33c7d7747", + "07fc84ca-4147-4ba9-879e-d1b4e086e1da", + "491285fd-0196-402c-9b7f-4660fdc1c22a", + "491285fd-0196-402c-9b7f-4660fdc1c22aX0", + "491285fd-0196-402c-9b7f-4660fdc1c22aX1", + "491285fd-0196-402c-9b7f-4660fdc1c22aX2", + "07fc84ca-4147-4ba9-879e-d1b4e086e1daX0", + "07fc84ca-4147-4ba9-879e-d1b4e086e1daX1", + "07fc84ca-4147-4ba9-879e-d1b4e086e1daX2", + "611e3509-e834-4fdd-b573-44e959e95d27", + "9f79ecca-123f-4098-a658-6b0e998da003" + ], + "incompleteColumns": {} + } + } + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": { + "dynamicActions": { + "events": [] + } + }, + "hidePanelTitles": false + }, + "version": "8.10.0-SNAPSHOT" + }, + + "9f79ecca-123f-4098-a658-6b0e998da003": { + "type": "search", + "gridData": { + "x": 0, + "y": 69, + "w": 48, + "h": 15, + "i": "9f79ecca-123f-4098-a658-6b0e998da003", + "row": 3 + }, + "explicitInput": { + "id": "9f79ecca-123f-4098-a658-6b0e998da003", + "savedObjectId": "571aaf70-4c88-11e8-b3d7-01146121b73d", + "enhancements": {} + }, + "version": "8.8.0" + }, + "7": { + "type": "lens", + "gridData": { + "x": 0, + "y": 16, + "w": 24, + "h": 9, + "i": "7", + "row": 3 + }, + "explicitInput": { + "id": "7", + "title": "[Flights] Delays & Cancellations", + "attributes": { + "title": "[Flights] Delays & Cancellations (converted)", + "visualizationType": "lnsXY", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-layer-dc8cf715-b56b-4dd7-a624-7c3ef9e2f2ce" + }, + { + "type": "index-pattern", + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "xy-visualization-layer-10fed425-accd-411b-a773-ee825bc3945b" + } + ], + "state": { + "visualization": { + "legend": { + "isVisible": false, + "showSingleSeries": false, + "position": "bottom", + "shouldTruncate": true, + "maxLines": 1 + }, + "valueLabels": "hide", + "fittingFunction": "None", + "fillOpacity": 0.5, + "yLeftExtent": { + "upperBound": 1, + "mode": "custom" + }, + "yRightExtent": { + "mode": "full" + }, + "yLeftScale": "linear", + "yRightScale": "linear", + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "preferredSeriesType": "bar_stacked", + "layers": [ + { + "seriesType": "area", + "layerType": "data", + "layerId": "dc8cf715-b56b-4dd7-a624-7c3ef9e2f2ce", + "accessors": ["b9d6187b-8a7e-4c49-bffd-7a60cc075a4a"], + "yConfig": [ + { + "forAccessor": "b9d6187b-8a7e-4c49-bffd-7a60cc075a4a", + "color": "rgba(0,156,224,1)", + "axisMode": "left" + } + ], + "xAccessor": "6944431b-f90a-4dab-a282-0961cb97edd1", + "palette": { + "name": "default", + "type": "palette" + } + }, + { + "layerId": "10fed425-accd-411b-a773-ee825bc3945b", + "layerType": "annotations", + "ignoreGlobalFilters": true, + "annotations": [ + { + "type": "query", + "id": "53b7dff0-4c89-11e8-a66a-6989ad5a0a39", + "label": "Event", + "key": { + "type": "point_in_time" + }, + "timeField": "timestamp", + "color": "#0062B1", + "icon": "alert", + "filter": { + "type": "kibana_query", + "query": "FlightDelay:true AND Cancelled:true", + "language": "lucene" + }, + "extraFields": ["FlightDelay", "Cancelled", "Carrier"] + } + ] + } + ] + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "dc8cf715-b56b-4dd7-a624-7c3ef9e2f2ce": { + "columns": { + "6944431b-f90a-4dab-a282-0961cb97edd1": { + "label": "timestamp", + "dataType": "date", + "operationType": "date_histogram", + "sourceField": "timestamp", + "isBucketed": true, + "scale": "interval", + "params": { + "interval": "auto", + "includeEmptyRows": true, + "dropPartials": false + } + }, + "b9d6187b-8a7e-4c49-bffd-7a60cc075a4aX0": { + "label": "Part of count(lucene='FlightDelay:true') / count(kql='*')", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "filter": { + "query": "FlightDelay:true", + "language": "lucene" + }, + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "b9d6187b-8a7e-4c49-bffd-7a60cc075a4aX1": { + "label": "Part of count(lucene='FlightDelay:true') / count(kql='*')", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "filter": { + "query": "*", + "language": "kuery" + }, + "params": { + "emptyAsNull": false + }, + "customLabel": true + }, + "b9d6187b-8a7e-4c49-bffd-7a60cc075a4aX2": { + "label": "Part of count(lucene='FlightDelay:true') / count(kql='*')", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "divide", + "args": [ + "b9d6187b-8a7e-4c49-bffd-7a60cc075a4aX0", + "b9d6187b-8a7e-4c49-bffd-7a60cc075a4aX1" + ], + "location": { + "min": 0, + "max": 49 + }, + "text": "count(lucene='FlightDelay:true') / count(kql='*')" + } + }, + "references": [ + "b9d6187b-8a7e-4c49-bffd-7a60cc075a4aX0", + "b9d6187b-8a7e-4c49-bffd-7a60cc075a4aX1" + ], + "customLabel": true + }, + "b9d6187b-8a7e-4c49-bffd-7a60cc075a4a": { + "label": "Percent Delays", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "format": { + "id": "percent" + }, + "formula": "count(lucene='FlightDelay:true') / count(kql='*')", + "isFormulaBroken": false + }, + "references": ["b9d6187b-8a7e-4c49-bffd-7a60cc075a4aX2"], + "customLabel": true + } + }, + "columnOrder": [ + "6944431b-f90a-4dab-a282-0961cb97edd1", + "b9d6187b-8a7e-4c49-bffd-7a60cc075a4aX0", + "b9d6187b-8a7e-4c49-bffd-7a60cc075a4aX1", + "b9d6187b-8a7e-4c49-bffd-7a60cc075a4aX2", + "b9d6187b-8a7e-4c49-bffd-7a60cc075a4a" + ], + "incompleteColumns": {} + } + } + }, + "textBased": { + "layers": {} + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {}, + "hidePanelTitles": false + }, + "version": "8.9.0" + }, + "10": { + "type": "lens", + "gridData": { + "x": 0, + "y": 58, + "w": 24, + "h": 11, + "i": "10", + "row": 3 + }, + "explicitInput": { + "id": "10", + "title": "[Flights] Delay Buckets", + "attributes": { + "title": "[Flights] Delay Buckets (converted)", + "visualizationType": "lnsXY", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-layer-247b176d-e81d-47dc-bbd1-4de85d098961" + }, + { + "type": "index-pattern", + "name": "c61f29fc-1ff3-4d46-a6c2-bde8a5b97f4a", + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d" + } + ], + "state": { + "visualization": { + "legend": { + "isVisible": false, + "position": "right", + "legendSize": "auto", + "shouldTruncate": true, + "maxLines": 1, + "showSingleSeries": true + }, + "valueLabels": "hide", + "curveType": "LINEAR", + "yTitle": "Count", + "yLeftExtent": { + "mode": "full", + "enforce": true + }, + "yLeftScale": "linear", + "yRightScale": "linear", + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": -90 + }, + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "preferredSeriesType": "bar_stacked", + "layers": [ + { + "layerId": "247b176d-e81d-47dc-bbd1-4de85d098961", + "accessors": ["c84f9fa9-e2a1-4845-8fcf-f5a34f5f92da"], + "layerType": "data", + "seriesType": "bar_stacked", + "xAccessor": "c7936be7-e59b-424e-a912-69ba820d8e24", + "simpleView": false, + "palette": { + "type": "palette", + "name": "default" + }, + "yConfig": [ + { + "forAccessor": "c84f9fa9-e2a1-4845-8fcf-f5a34f5f92da", + "axisMode": "left", + "color": "#1F78C1" + } + ], + "xScaleType": "linear", + "isHistogram": true + } + ] + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [ + { + "meta": { + "negate": true, + "disabled": false, + "alias": null, + "type": "phrase", + "key": "FlightDelayMin", + "value": "0", + "params": { + "query": 0, + "type": "phrase" + }, + "index": "c61f29fc-1ff3-4d46-a6c2-bde8a5b97f4a" + }, + "query": { + "match": { + "FlightDelayMin": { + "query": 0, + "type": "phrase" + } + } + }, + "$state": { + "store": "appState" + } + } + ], + "datasourceStates": { + "formBased": { + "layers": { + "247b176d-e81d-47dc-bbd1-4de85d098961": { + "columns": { + "c7936be7-e59b-424e-a912-69ba820d8e24": { + "label": "Flight Delay Minutes", + "dataType": "number", + "operationType": "range", + "sourceField": "FlightDelayMin", + "isBucketed": true, + "scale": "interval", + "params": { + "includeEmptyRows": false, + "type": "histogram", + "ranges": [ + { + "from": 0, + "to": 1000, + "label": "" + } + ], + "maxBars": "auto" + }, + "customLabel": true + }, + "c84f9fa9-e2a1-4845-8fcf-f5a34f5f92da": { + "label": "Count", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "params": { + "emptyAsNull": true + }, + "customLabel": true + } + }, + "columnOrder": [ + "c7936be7-e59b-424e-a912-69ba820d8e24", + "c84f9fa9-e2a1-4845-8fcf-f5a34f5f92da" + ], + "incompleteColumns": {} + } + } + }, + "textBased": { + "layers": {} + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {}, + "hidePanelTitles": false + }, + "version": "8.9.0" + }, + "23": { + "type": "map", + "gridData": { + "x": 0, + "y": 36, + "w": 24, + "h": 22, + "i": "23", + "row": 3 + }, + "explicitInput": { + "id": "23", + "savedObjectId": "5dd88580-1906-11e9-919b-ffe5949a18d2", + "isLayerTOCOpen": true, + "hiddenLayers": [], + "mapCenter": { + "lat": 48.72307, + "lon": -115.18171, + "zoom": 4.28 + }, + "openTOCDetails": [], + "enhancements": {} + }, + "version": "8.8.0" + }, + "31": { + "type": "visualization", + "gridData": { + "x": 24, + "y": 36, + "w": 24, + "h": 22, + "i": "31", + "row": 3 + }, + "explicitInput": { + "id": "31", + "savedObjectId": "ed78a660-53a0-11e8-acbd-0be0ad9d822b", + "enhancements": {} + }, + "version": "8.8.0" + }, + "6afc61f7-e2d5-45a3-9e7a-281160ad3eb9": { + "type": "visualization", + "gridData": { + "x": 0, + "y": 0, + "w": 24, + "h": 8, + "i": "6afc61f7-e2d5-45a3-9e7a-281160ad3eb9", + "row": 3 + }, + "explicitInput": { + "id": "6afc61f7-e2d5-45a3-9e7a-281160ad3eb9", + "savedVis": { + "title": "[Flights] Markdown Instructions", + "description": "", + "type": "markdown", + "params": { + "fontSize": 10, + "openLinksInNewTab": true, + "markdown": "## Sample Flight data\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about Kibana, check our [docs](https://www.elastic.co/guide/en/kibana/current/index.html)." + }, + "uiState": {}, + "data": { + "aggs": [], + "searchSource": {} + } + }, + "hidePanelTitles": true, + "enhancements": {} + }, + "version": "8.9.0" + }, + "392b4936-f753-47bc-a98d-a4e41a0a4cd4": { + "type": "lens", + "gridData": { + "x": 24, + "y": 0, + "w": 8, + "h": 8, + "i": "392b4936-f753-47bc-a98d-a4e41a0a4cd4", + "row": 3 + }, + "explicitInput": { + "id": "392b4936-f753-47bc-a98d-a4e41a0a4cd4", + "enhancements": {}, + "attributes": { + "title": "[Flights] Total Flights", + "description": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-layer-8fa993db-c147-4954-adf7-4ff264d42576" + } + ], + "state": { + "visualization": { + "layerId": "8fa993db-c147-4954-adf7-4ff264d42576", + "layerType": "data", + "metricAccessor": "81124c45-6ab6-42f4-8859-495d55eb8065" + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "8fa993db-c147-4954-adf7-4ff264d42576": { + "columns": { + "81124c45-6ab6-42f4-8859-495d55eb8065": { + "label": "Total flights", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "customLabel": true + } + }, + "columnOrder": ["81124c45-6ab6-42f4-8859-495d55eb8065"], + "incompleteColumns": {} + } + } + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "hidePanelTitles": true + }, + "version": "8.9.0" + }, + "9271deff-5a61-4665-83fc-f9fdc6bf0c0b": { + "type": "lens", + "gridData": { + "x": 32, + "y": 0, + "w": 8, + "h": 4, + "i": "9271deff-5a61-4665-83fc-f9fdc6bf0c0b", + "row": 3 + }, + "explicitInput": { + "id": "9271deff-5a61-4665-83fc-f9fdc6bf0c0b", + "attributes": { + "title": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-layer-b4712d43-1e84-4f5b-878d-8e38ba748317" + } + ], + "state": { + "visualization": { + "layerId": "b4712d43-1e84-4f5b-878d-8e38ba748317", + "layerType": "data", + "metricAccessor": "7e8fe9b1-f45c-4f3d-9561-30febcd357ec" + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "b4712d43-1e84-4f5b-878d-8e38ba748317": { + "columns": { + "7e8fe9b1-f45c-4f3d-9561-30febcd357ec": { + "label": "Delayed", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "formula": "count(kql='FlightDelay : true') / count()", + "isFormulaBroken": false, + "format": { + "id": "percent", + "params": { + "decimals": 1, + "compact": true + } + } + }, + "references": ["7e8fe9b1-f45c-4f3d-9561-30febcd357ecX2"], + "customLabel": true + }, + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX0": { + "label": "Part of count(kql='FlightDelay : true') / count()", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "filter": { + "query": "FlightDelay : true", + "language": "kuery" + }, + "customLabel": true + }, + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX1": { + "label": "Part of count(kql='FlightDelay : true') / count()", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "customLabel": true + }, + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX2": { + "label": "Part of count(kql='FlightDelay : true') / count()", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "divide", + "args": [ + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX0", + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX1" + ], + "location": { + "min": 0, + "max": 41 + }, + "text": "count(kql='FlightDelay : true') / count()" + } + }, + "references": [ + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX0", + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX1" + ], + "customLabel": true + } + }, + "columnOrder": [ + "7e8fe9b1-f45c-4f3d-9561-30febcd357ec", + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX0", + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX1", + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX2" + ], + "incompleteColumns": {} + } + } + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {} + }, + "version": "8.9.0" + }, + "aa591c29-1a31-4ee1-a71d-b829c06fd162": { + "type": "lens", + "gridData": { + "x": 40, + "y": 0, + "w": 8, + "h": 4, + "i": "aa591c29-1a31-4ee1-a71d-b829c06fd162", + "row": 3 + }, + "explicitInput": { + "id": "aa591c29-1a31-4ee1-a71d-b829c06fd162", + "attributes": { + "title": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-layer-b4712d43-1e84-4f5b-878d-8e38ba748317" + }, + { + "type": "index-pattern", + "name": "c804c161-375f-4d52-a1cc-2e98b966957d", + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d" + } + ], + "state": { + "visualization": { + "layerId": "b4712d43-1e84-4f5b-878d-8e38ba748317", + "layerType": "data", + "metricAccessor": "c7851241-5526-499a-960b-357af8c2ce5b" + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [ + { + "meta": { + "alias": null, + "negate": false, + "disabled": false, + "type": "phrase", + "key": "FlightDelay", + "params": { + "query": true + }, + "index": "c804c161-375f-4d52-a1cc-2e98b966957d" + }, + "query": { + "match_phrase": { + "FlightDelay": true + } + }, + "$state": { + "store": "appState" + } + } + ], + "datasourceStates": { + "formBased": { + "layers": { + "b4712d43-1e84-4f5b-878d-8e38ba748317": { + "columns": { + "c7851241-5526-499a-960b-357af8c2ce5b": { + "label": "Delayed vs 1 week earlier", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "formula": "count() / count(shift='1w') - 1", + "isFormulaBroken": false, + "format": { + "id": "percent", + "params": { + "decimals": 1, + "compact": true + } + } + }, + "references": ["c7851241-5526-499a-960b-357af8c2ce5bX2"], + "customLabel": true + }, + "c7851241-5526-499a-960b-357af8c2ce5bX2": { + "label": "Part of Delayed", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "subtract", + "args": [ + { + "type": "function", + "name": "divide", + "args": [ + "c7851241-5526-499a-960b-357af8c2ce5bX0", + "c7851241-5526-499a-960b-357af8c2ce5bX1" + ], + "location": { + "min": 0, + "max": 28 + }, + "text": "count() / count(shift='1w') " + }, + 1 + ], + "location": { + "min": 0, + "max": 31 + }, + "text": "count() / count(shift='1w') - 1" + } + }, + "references": [ + "c7851241-5526-499a-960b-357af8c2ce5bX0", + "c7851241-5526-499a-960b-357af8c2ce5bX1" + ], + "customLabel": true + }, + "c7851241-5526-499a-960b-357af8c2ce5bX0": { + "label": "Part of Delayed", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "customLabel": true + }, + "c7851241-5526-499a-960b-357af8c2ce5bX1": { + "label": "Part of Delayed", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "timeShift": "1w", + "customLabel": true + } + }, + "columnOrder": [ + "c7851241-5526-499a-960b-357af8c2ce5b", + "c7851241-5526-499a-960b-357af8c2ce5bX2", + "c7851241-5526-499a-960b-357af8c2ce5bX0", + "c7851241-5526-499a-960b-357af8c2ce5bX1" + ], + "incompleteColumns": {} + } + } + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {} + }, + "version": "8.9.0" + }, + "b766e3b8-4544-46ed-99e6-9ecc4847e2a2": { + "type": "lens", + "gridData": { + "x": 32, + "y": 4, + "w": 8, + "h": 4, + "i": "b766e3b8-4544-46ed-99e6-9ecc4847e2a2", + "row": 3 + }, + "explicitInput": { + "id": "b766e3b8-4544-46ed-99e6-9ecc4847e2a2", + "attributes": { + "title": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-layer-b4712d43-1e84-4f5b-878d-8e38ba748317" + } + ], + "state": { + "visualization": { + "layerId": "b4712d43-1e84-4f5b-878d-8e38ba748317", + "layerType": "data", + "metricAccessor": "7e8fe9b1-f45c-4f3d-9561-30febcd357ec" + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "b4712d43-1e84-4f5b-878d-8e38ba748317": { + "columns": { + "7e8fe9b1-f45c-4f3d-9561-30febcd357ec": { + "label": "Cancelled", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "formula": "count(kql='Cancelled : true') / count()", + "isFormulaBroken": false, + "format": { + "id": "percent", + "params": { + "decimals": 1, + "compact": true + } + } + }, + "references": ["7e8fe9b1-f45c-4f3d-9561-30febcd357ecX2"], + "customLabel": true + }, + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX0": { + "label": "Part of Cancelled", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "filter": { + "query": "Cancelled : true", + "language": "kuery" + }, + "customLabel": true + }, + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX1": { + "label": "Part of Cancelled", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "customLabel": true + }, + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX2": { + "label": "Part of Cancelled", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "divide", + "args": [ + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX0", + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX1" + ], + "location": { + "min": 0, + "max": 39 + }, + "text": "count(kql='Cancelled : true') / count()" + } + }, + "references": [ + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX0", + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX1" + ], + "customLabel": true + } + }, + "columnOrder": [ + "7e8fe9b1-f45c-4f3d-9561-30febcd357ec", + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX0", + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX1", + "7e8fe9b1-f45c-4f3d-9561-30febcd357ecX2" + ], + "incompleteColumns": {} + } + } + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {} + }, + "version": "8.9.0" + }, + "2e33ade5-96e5-40b4-b460-493e5d4fa834": { + "type": "lens", + "gridData": { + "x": 40, + "y": 4, + "w": 8, + "h": 4, + "i": "2e33ade5-96e5-40b4-b460-493e5d4fa834", + "row": 3 + }, + "explicitInput": { + "id": "2e33ade5-96e5-40b4-b460-493e5d4fa834", + "attributes": { + "title": "", + "visualizationType": "lnsMetric", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-layer-b4712d43-1e84-4f5b-878d-8e38ba748317" + }, + { + "type": "index-pattern", + "name": "14cea722-a629-4c69-a06d-94a4a4c9a718", + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d" + } + ], + "state": { + "visualization": { + "layerId": "b4712d43-1e84-4f5b-878d-8e38ba748317", + "layerType": "data", + "metricAccessor": "c7851241-5526-499a-960b-357af8c2ce5b" + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [ + { + "meta": { + "alias": null, + "negate": false, + "disabled": false, + "type": "phrase", + "key": "Cancelled", + "params": { + "query": true + }, + "index": "14cea722-a629-4c69-a06d-94a4a4c9a718" + }, + "query": { + "match_phrase": { + "Cancelled": true + } + }, + "$state": { + "store": "appState" + } + } + ], + "datasourceStates": { + "formBased": { + "layers": { + "b4712d43-1e84-4f5b-878d-8e38ba748317": { + "columns": { + "c7851241-5526-499a-960b-357af8c2ce5b": { + "label": "Cancelled vs 1 week earlier", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "formula": "count() / count(shift='1w') - 1", + "isFormulaBroken": false, + "format": { + "id": "percent", + "params": { + "decimals": 1, + "compact": true + } + } + }, + "references": ["c7851241-5526-499a-960b-357af8c2ce5bX2"], + "customLabel": true + }, + "c7851241-5526-499a-960b-357af8c2ce5bX2": { + "label": "Part of Delayed vs 1 week earlier", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "subtract", + "args": [ + { + "type": "function", + "name": "divide", + "args": [ + "c7851241-5526-499a-960b-357af8c2ce5bX0", + "c7851241-5526-499a-960b-357af8c2ce5bX1" + ], + "location": { + "min": 0, + "max": 28 + }, + "text": "count() / count(shift='1w') " + }, + 1 + ], + "location": { + "min": 0, + "max": 31 + }, + "text": "count() / count(shift='1w') - 1" + } + }, + "references": [ + "c7851241-5526-499a-960b-357af8c2ce5bX0", + "c7851241-5526-499a-960b-357af8c2ce5bX1" + ], + "customLabel": true + }, + "c7851241-5526-499a-960b-357af8c2ce5bX0": { + "label": "Part of Delayed vs 1 week earlier", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "customLabel": true + }, + "c7851241-5526-499a-960b-357af8c2ce5bX1": { + "label": "Part of Delayed vs 1 week earlier", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "timeShift": "1w", + "customLabel": true + } + }, + "columnOrder": [ + "c7851241-5526-499a-960b-357af8c2ce5b", + "c7851241-5526-499a-960b-357af8c2ce5bX2", + "c7851241-5526-499a-960b-357af8c2ce5bX0", + "c7851241-5526-499a-960b-357af8c2ce5bX1" + ], + "incompleteColumns": {} + } + } + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {} + }, + "version": "8.9.0" + }, + "086ac2e9-dd16-4b45-92b8-1e43ff7e3f65": { + "type": "lens", + "gridData": { + "x": 0, + "y": 8, + "w": 24, + "h": 8, + "i": "086ac2e9-dd16-4b45-92b8-1e43ff7e3f65", + "row": 3 + }, + "explicitInput": { + "id": "086ac2e9-dd16-4b45-92b8-1e43ff7e3f65", + "title": "[Flights] Flight count", + "attributes": { + "title": "", + "type": "lens", + "visualizationType": "lnsXY", + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "03c34665-471c-49c7-acf1-5a11f517421c": { + "columns": { + "a5b94e30-4e77-4b0a-9187-1d8b13de1456": { + "label": "timestamp", + "dataType": "date", + "operationType": "date_histogram", + "sourceField": "timestamp", + "isBucketed": true, + "scale": "interval", + "params": { + "interval": "auto", + "includeEmptyRows": true + } + }, + "3e267327-7317-4310-aee3-320e0f7c1e70": { + "label": "Count of records", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___" + } + }, + "columnOrder": [ + "a5b94e30-4e77-4b0a-9187-1d8b13de1456", + "3e267327-7317-4310-aee3-320e0f7c1e70" + ], + "incompleteColumns": {} + } + } + } + }, + "visualization": { + "legend": { + "isVisible": true, + "position": "right", + "legendSize": "auto" + }, + "valueLabels": "hide", + "fittingFunction": "None", + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "custom", + "lowerBound": 0, + "upperBound": 1 + }, + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "preferredSeriesType": "bar_stacked", + "layers": [ + { + "layerId": "03c34665-471c-49c7-acf1-5a11f517421c", + "accessors": ["3e267327-7317-4310-aee3-320e0f7c1e70"], + "position": "top", + "seriesType": "bar_stacked", + "showGridlines": false, + "xAccessor": "a5b94e30-4e77-4b0a-9187-1d8b13de1456", + "layerType": "data" + } + ] + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [] + }, + "references": [ + { + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-layer-03c34665-471c-49c7-acf1-5a11f517421c", + "type": "index-pattern" + } + ] + }, + "hidePanelTitles": false, + "enhancements": {} + }, + "version": "8.9.0" + }, + "fb86b32f-fb7a-45cf-9511-f366fef51bbd": { + "type": "lens", + "gridData": { + "x": 24, + "y": 8, + "w": 24, + "h": 28, + "i": "fb86b32f-fb7a-45cf-9511-f366fef51bbd", + "row": 3 + }, + "explicitInput": { + "id": "fb86b32f-fb7a-45cf-9511-f366fef51bbd", + "title": "[Flights] Most delayed cities", + "attributes": { + "title": "Cities by delay, cancellation", + "type": "lens", + "visualizationType": "lnsDatatable", + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "f26e8f7a-4118-4227-bea0-5c02d8b270f7": { + "columns": { + "3dd24cb4-45ef-4dd8-b22a-d7b802cb6da0": { + "label": "Top values of OriginCityName", + "dataType": "string", + "operationType": "terms", + "scale": "ordinal", + "sourceField": "OriginCityName", + "isBucketed": true, + "params": { + "size": 1000, + "orderBy": { + "type": "alphabetical", + "fallback": true + }, + "orderDirection": "asc", + "otherBucket": true, + "missingBucket": false + } + }, + "52f6f2e9-6242-4c44-be63-b799150e7e60X0": { + "label": "Part of Delay %", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "filter": { + "query": "FlightDelay : true ", + "language": "kuery" + }, + "customLabel": true + }, + "52f6f2e9-6242-4c44-be63-b799150e7e60X1": { + "label": "Part of Delay %", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "customLabel": true + }, + "52f6f2e9-6242-4c44-be63-b799150e7e60X2": { + "label": "Part of Delay %", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "divide", + "args": [ + "52f6f2e9-6242-4c44-be63-b799150e7e60X0", + "52f6f2e9-6242-4c44-be63-b799150e7e60X1" + ], + "location": { + "min": 0, + "max": 42 + }, + "text": "count(kql='FlightDelay : true ') / count()" + } + }, + "references": [ + "52f6f2e9-6242-4c44-be63-b799150e7e60X0", + "52f6f2e9-6242-4c44-be63-b799150e7e60X1" + ], + "customLabel": true + }, + "52f6f2e9-6242-4c44-be63-b799150e7e60": { + "label": "Delay %", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "formula": "count(kql='FlightDelay : true ') / count()", + "isFormulaBroken": false, + "format": { + "id": "percent", + "params": { + "decimals": 0 + } + } + }, + "references": ["52f6f2e9-6242-4c44-be63-b799150e7e60X2"], + "customLabel": true + }, + "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6X0": { + "label": "Part of Cancel %", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "filter": { + "query": "Cancelled: true", + "language": "kuery" + }, + "customLabel": true + }, + "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6X1": { + "label": "Part of Cancel %", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "customLabel": true + }, + "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6X2": { + "label": "Part of Cancel %", + "dataType": "number", + "operationType": "math", + "isBucketed": false, + "scale": "ratio", + "params": { + "tinymathAst": { + "type": "function", + "name": "divide", + "args": [ + "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6X0", + "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6X1" + ], + "location": { + "min": 0, + "max": 38 + }, + "text": "count(kql='Cancelled: true') / count()" + } + }, + "references": [ + "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6X0", + "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6X1" + ], + "customLabel": true + }, + "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6": { + "label": "Cancel %", + "dataType": "number", + "operationType": "formula", + "isBucketed": false, + "scale": "ratio", + "params": { + "formula": "count(kql='Cancelled: true') / count()", + "isFormulaBroken": false, + "format": { + "id": "percent", + "params": { + "decimals": 0 + } + } + }, + "references": ["7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6X2"], + "customLabel": true + } + }, + "columnOrder": [ + "3dd24cb4-45ef-4dd8-b22a-d7b802cb6da0", + "52f6f2e9-6242-4c44-be63-b799150e7e60", + "52f6f2e9-6242-4c44-be63-b799150e7e60X0", + "52f6f2e9-6242-4c44-be63-b799150e7e60X1", + "52f6f2e9-6242-4c44-be63-b799150e7e60X2", + "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6X0", + "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6X1", + "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6X2", + "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6" + ], + "incompleteColumns": {} + } + } + } + }, + "visualization": { + "columns": [ + { + "isTransposed": false, + "columnId": "3dd24cb4-45ef-4dd8-b22a-d7b802cb6da0", + "width": 262.75 + }, + { + "columnId": "52f6f2e9-6242-4c44-be63-b799150e7e60", + "isTransposed": false, + "width": 302.5, + "colorMode": "cell", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 5, + "stops": [ + { + "color": "#f7e0b8", + "stop": 0.6 + }, + { + "color": "#e7664c", + "stop": 1 + } + ], + "name": "custom", + "colorStops": [ + { + "color": "#f7e0b8", + "stop": 0.2 + }, + { + "color": "#e7664c", + "stop": 0.6 + } + ], + "rangeType": "number", + "rangeMin": 0.2, + "rangeMax": 0.6 + } + }, + "alignment": "center" + }, + { + "columnId": "7b9f3ece-9da3-4c27-b582-d3f8e8cc31d6", + "isTransposed": false, + "alignment": "center", + "colorMode": "cell", + "palette": { + "name": "custom", + "type": "palette", + "params": { + "steps": 5, + "stops": [ + { + "color": "#f7e0b8", + "stop": 0.6 + }, + { + "color": "#e7664c", + "stop": 0.6666666666666666 + } + ], + "rangeType": "number", + "name": "custom", + "colorStops": [ + { + "color": "#f7e0b8", + "stop": 0.2 + }, + { + "color": "#e7664c", + "stop": 0.6 + } + ], + "rangeMin": 0.2, + "rangeMax": 0.6 + } + } + } + ], + "layerId": "f26e8f7a-4118-4227-bea0-5c02d8b270f7", + "sorting": { + "columnId": "52f6f2e9-6242-4c44-be63-b799150e7e60", + "direction": "desc" + }, + "layerType": "data", + "rowHeight": "single", + "rowHeightLines": 1 + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [] + }, + "references": [ + { + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-layer-f26e8f7a-4118-4227-bea0-5c02d8b270f7", + "type": "index-pattern" + } + ] + }, + "enhancements": {}, + "hidePanelTitles": false + }, + "version": "8.9.0" + }, + "0cc42484-16f7-42ec-b38c-9bf8be69cde7": { + "type": "lens", + "gridData": { + "x": 0, + "y": 25, + "w": 24, + "h": 11, + "i": "0cc42484-16f7-42ec-b38c-9bf8be69cde7", + "row": 3 + }, + "explicitInput": { + "id": "0cc42484-16f7-42ec-b38c-9bf8be69cde7", + "title": "[Flights] Delay Type", + "attributes": { + "title": "", + "type": "lens", + "visualizationType": "lnsXY", + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "e80cc05e-c52a-4e5f-ac71-4b37274867f5": { + "columns": { + "caf7421e-93a3-439e-ab0a-fbdead93c21c": { + "label": "Top values of FlightDelayType", + "dataType": "string", + "operationType": "terms", + "scale": "ordinal", + "sourceField": "FlightDelayType", + "isBucketed": true, + "params": { + "size": 10, + "orderBy": { + "type": "column", + "columnId": "0233d302-ec81-4fbe-96cb-7fac84cf035c" + }, + "orderDirection": "desc", + "otherBucket": true, + "missingBucket": false + } + }, + "13ec79e3-9d73-4536-9056-3d92802bb30a": { + "label": "timestamp", + "dataType": "date", + "operationType": "date_histogram", + "sourceField": "timestamp", + "isBucketed": true, + "scale": "interval", + "params": { + "interval": "auto", + "includeEmptyRows": true + } + }, + "0233d302-ec81-4fbe-96cb-7fac84cf035c": { + "label": "Count of records", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___" + } + }, + "columnOrder": [ + "caf7421e-93a3-439e-ab0a-fbdead93c21c", + "13ec79e3-9d73-4536-9056-3d92802bb30a", + "0233d302-ec81-4fbe-96cb-7fac84cf035c" + ], + "incompleteColumns": {} + } + } + } + }, + "visualization": { + "legend": { + "isVisible": true, + "position": "bottom", + "legendSize": "auto" + }, + "valueLabels": "hide", + "fittingFunction": "None", + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "preferredSeriesType": "bar_percentage_stacked", + "layers": [ + { + "layerId": "e80cc05e-c52a-4e5f-ac71-4b37274867f5", + "accessors": ["0233d302-ec81-4fbe-96cb-7fac84cf035c"], + "position": "top", + "seriesType": "bar_percentage_stacked", + "showGridlines": false, + "palette": { + "type": "palette", + "name": "cool" + }, + "xAccessor": "13ec79e3-9d73-4536-9056-3d92802bb30a", + "splitAccessor": "caf7421e-93a3-439e-ab0a-fbdead93c21c", + "layerType": "data" + } + ] + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [] + }, + "references": [ + { + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-layer-e80cc05e-c52a-4e5f-ac71-4b37274867f5", + "type": "index-pattern" + } + ] + }, + "hidePanelTitles": false, + "enhancements": {} + }, + "version": "8.9.0" + }, + "5d53db36-2d5a-4adc-af7b-cec4c1a294e0": { + "type": "lens", + "gridData": { + "x": 24, + "y": 58, + "w": 12, + "h": 11, + "i": "5d53db36-2d5a-4adc-af7b-cec4c1a294e0", + "row": 3 + }, + "explicitInput": { + "id": "5d53db36-2d5a-4adc-af7b-cec4c1a294e0", + "title": "[Flights] Delay Type", + "attributes": { + "title": "", + "type": "lens", + "visualizationType": "lnsPie", + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "0c8e136b-a822-4fb3-836d-e06cbea4eea4": { + "columns": { + "d1cee8bf-34cf-4141-99d7-ff043ee77b56": { + "label": "Top values of FlightDelayType", + "dataType": "string", + "operationType": "terms", + "scale": "ordinal", + "sourceField": "FlightDelayType", + "isBucketed": true, + "params": { + "size": 10, + "orderBy": { + "type": "column", + "columnId": "aa152ace-ee2d-447b-b86d-459bef4d7880" + }, + "orderDirection": "desc", + "otherBucket": true, + "missingBucket": false + } + }, + "aa152ace-ee2d-447b-b86d-459bef4d7880": { + "label": "Count of records", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___" + } + }, + "columnOrder": [ + "d1cee8bf-34cf-4141-99d7-ff043ee77b56", + "aa152ace-ee2d-447b-b86d-459bef4d7880" + ], + "incompleteColumns": {} + } + } + } + }, + "visualization": { + "shape": "pie", + "palette": { + "type": "palette", + "name": "cool" + }, + "layers": [ + { + "layerId": "0c8e136b-a822-4fb3-836d-e06cbea4eea4", + "numberDisplay": "percent", + "categoryDisplay": "default", + "legendDisplay": "default", + "nestedLegend": false, + "layerType": "data", + "legendSize": "auto", + "primaryGroups": ["d1cee8bf-34cf-4141-99d7-ff043ee77b56"], + "metrics": ["aa152ace-ee2d-447b-b86d-459bef4d7880"] + } + ] + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [ + { + "meta": { + "type": "phrase", + "key": "FlightDelayType", + "params": { + "query": "No Delay" + }, + "disabled": false, + "negate": true, + "alias": null, + "index": "filter-index-pattern-0" + }, + "query": { + "match_phrase": { + "FlightDelayType": "No Delay" + } + }, + "$state": { + "store": "appState" + } + } + ] + }, + "references": [ + { + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-layer-0c8e136b-a822-4fb3-836d-e06cbea4eea4", + "type": "index-pattern" + }, + { + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "filter-index-pattern-0", + "type": "index-pattern" + } + ] + }, + "enhancements": {}, + "hidePanelTitles": false + }, + "version": "8.9.0" + }, + "ecd89a7c-9124-4472-bdc6-9bdbd70d45d5": { + "type": "lens", + "gridData": { + "x": 36, + "y": 58, + "w": 12, + "h": 11, + "i": "ecd89a7c-9124-4472-bdc6-9bdbd70d45d5", + "row": 3 + }, + "explicitInput": { + "id": "ecd89a7c-9124-4472-bdc6-9bdbd70d45d5", + "attributes": { + "title": "", + "visualizationType": "lnsXY", + "type": "lens", + "references": [ + { + "type": "index-pattern", + "id": "d3d7af60-4c81-11e8-b3d7-01146121b73d", + "name": "indexpattern-datasource-layer-dffd86e7-01a9-4990-b974-3706608b5532" + } + ], + "state": { + "visualization": { + "title": "Empty XY chart", + "legend": { + "isVisible": true, + "position": "right" + }, + "valueLabels": "hide", + "preferredSeriesType": "bar_horizontal", + "layers": [ + { + "layerId": "dffd86e7-01a9-4990-b974-3706608b5532", + "accessors": ["9d212159-afac-41f5-9303-5fb62ff04ba3"], + "position": "top", + "seriesType": "bar_horizontal", + "showGridlines": false, + "layerType": "data", + "splitAccessor": "d99ad4d7-26ff-4d65-a8ce-34656fdafa0a", + "palette": { + "type": "palette", + "name": "temperature" + } + } + ] + }, + "query": { + "query": "", + "language": "kuery" + }, + "filters": [], + "datasourceStates": { + "formBased": { + "layers": { + "dffd86e7-01a9-4990-b974-3706608b5532": { + "columns": { + "9d212159-afac-41f5-9303-5fb62ff04ba3": { + "label": "Count of records", + "dataType": "number", + "operationType": "count", + "isBucketed": false, + "scale": "ratio", + "sourceField": "___records___", + "params": { + "emptyAsNull": true + } + }, + "d99ad4d7-26ff-4d65-a8ce-34656fdafa0a": { + "label": "Top 10 values of DestWeather", + "dataType": "string", + "operationType": "terms", + "scale": "ordinal", + "sourceField": "DestWeather", + "isBucketed": true, + "params": { + "size": 10, + "orderBy": { + "type": "column", + "columnId": "9d212159-afac-41f5-9303-5fb62ff04ba3" + }, + "orderDirection": "desc", + "otherBucket": true, + "missingBucket": false, + "parentFormat": { + "id": "terms" + }, + "include": [], + "exclude": [], + "includeIsRegex": false, + "excludeIsRegex": false + } + } + }, + "columnOrder": [ + "d99ad4d7-26ff-4d65-a8ce-34656fdafa0a", + "9d212159-afac-41f5-9303-5fb62ff04ba3" + ], + "sampling": 1, + "incompleteColumns": {} + } + } + }, + "textBased": { + "layers": {} + } + }, + "internalReferences": [], + "adHocDataViews": {} + } + }, + "enhancements": {} + }, + "version": "8.9.0" + } +} diff --git a/examples/grid_example/public/plugin.ts b/examples/grid_example/public/plugin.ts index d57b06ac96017..b56b339273dd7 100644 --- a/examples/grid_example/public/plugin.ts +++ b/examples/grid_example/public/plugin.ts @@ -9,6 +9,7 @@ import { AppMountParameters, CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; import { DeveloperExamplesSetup } from '@kbn/developer-examples-plugin/public'; +import { UiActionsStart } from '@kbn/ui-actions-plugin/public'; export const GRID_EXAMPLE_APP_ID = 'gridExample'; const gridExampleTitle = 'Grid Example'; @@ -17,20 +18,28 @@ interface GridExamplePluginSetupDependencies { developerExamples: DeveloperExamplesSetup; } +export interface GridExamplePluginStartDependencies { + uiActions: UiActionsStart; +} + export class GridExamplePlugin - implements Plugin + implements + Plugin { - public setup(core: CoreSetup<{}>, { developerExamples }: GridExamplePluginSetupDependencies) { + public setup( + core: CoreSetup, + { developerExamples }: GridExamplePluginSetupDependencies + ) { core.application.register({ id: GRID_EXAMPLE_APP_ID, title: gridExampleTitle, visibleIn: [], async mount(params: AppMountParameters) { - const [{ renderGridExampleApp }, [coreStart]] = await Promise.all([ + const [{ renderGridExampleApp }, [coreStart, deps]] = await Promise.all([ import('./app'), core.getStartServices(), ]); - return renderGridExampleApp(params.element, coreStart); + return renderGridExampleApp(params.element, { coreStart, uiActions: deps.uiActions }); }, }); developerExamples.register({ diff --git a/examples/grid_example/public/serialized_grid_layout.ts b/examples/grid_example/public/serialized_grid_layout.ts index 3e40380d91ac3..e5664bd1f22e5 100644 --- a/examples/grid_example/public/serialized_grid_layout.ts +++ b/examples/grid_example/public/serialized_grid_layout.ts @@ -9,6 +9,8 @@ import { MockSerializedDashboardState } from './types'; +import logsPanels from './logs_dashboard_panels.json'; + const STATE_SESSION_STORAGE_KEY = 'kibana.examples.gridExample.state'; export function clearSerializedDashboardState() { @@ -25,21 +27,11 @@ export function setSerializedGridLayout(state: MockSerializedDashboardState) { } const initialState: MockSerializedDashboardState = { - panels: { - panel1: { id: 'panel1', gridData: { i: 'panel1', x: 0, y: 0, w: 12, h: 6, row: 0 } }, - panel2: { id: 'panel2', gridData: { i: 'panel2', x: 0, y: 6, w: 8, h: 4, row: 0 } }, - panel3: { id: 'panel3', gridData: { i: 'panel3', x: 8, y: 6, w: 12, h: 4, row: 0 } }, - panel4: { id: 'panel4', gridData: { i: 'panel4', x: 0, y: 10, w: 48, h: 4, row: 0 } }, - panel5: { id: 'panel5', gridData: { i: 'panel5', x: 12, y: 0, w: 36, h: 6, row: 0 } }, - panel6: { id: 'panel6', gridData: { i: 'panel6', x: 24, y: 6, w: 24, h: 4, row: 0 } }, - panel7: { id: 'panel7', gridData: { i: 'panel7', x: 20, y: 6, w: 4, h: 2, row: 0 } }, - panel8: { id: 'panel8', gridData: { i: 'panel8', x: 20, y: 8, w: 4, h: 2, row: 0 } }, - panel9: { id: 'panel9', gridData: { i: 'panel9', x: 0, y: 0, w: 12, h: 16, row: 1 } }, - panel10: { id: 'panel10', gridData: { i: 'panel10', x: 24, y: 0, w: 12, h: 6, row: 2 } }, - }, + panels: logsPanels, rows: [ - { title: 'Large section', collapsed: false }, - { title: 'Small section', collapsed: false }, - { title: 'Another small section', collapsed: false }, + { title: 'Request Sizes', collapsed: false }, + { title: 'Visitors', collapsed: false }, + { title: 'Response Codes', collapsed: false }, + { title: 'Entire Flights Dashboard', collapsed: true }, ], }; diff --git a/examples/grid_example/public/types.ts b/examples/grid_example/public/types.ts index 39885e25e7153..141ba96ed2a75 100644 --- a/examples/grid_example/public/types.ts +++ b/examples/grid_example/public/types.ts @@ -15,8 +15,15 @@ export interface DashboardGridData { i: string; } +interface DashboardPanelState { + type: string; + gridData: DashboardGridData & { row?: number }; + explicitInput: Partial & { id: string }; + version?: string; +} + export interface MockedDashboardPanelMap { - [key: string]: { id: string; gridData: DashboardGridData & { row: number } }; + [key: string]: DashboardPanelState; } export type MockedDashboardRowMap = Array<{ title: string; collapsed: boolean }>; diff --git a/examples/grid_example/public/use_mock_dashboard_api.tsx b/examples/grid_example/public/use_mock_dashboard_api.tsx index 8388bd83f2645..51933f3a038e4 100644 --- a/examples/grid_example/public/use_mock_dashboard_api.tsx +++ b/examples/grid_example/public/use_mock_dashboard_api.tsx @@ -10,6 +10,10 @@ import { cloneDeep } from 'lodash'; import { useMemo } from 'react'; import { BehaviorSubject } from 'rxjs'; +import { v4 } from 'uuid'; + +import { TimeRange } from '@kbn/es-query'; +import { PanelPackage } from '@kbn/presentation-containers'; import { MockSerializedDashboardState, @@ -27,24 +31,50 @@ export const useMockDashboardApi = ({ savedState: MockSerializedDashboardState; }) => { const mockDashboardApi = useMemo(() => { + const panels$ = new BehaviorSubject(savedState.panels); + const expandedPanelId$ = new BehaviorSubject(undefined); + return { + getSerializedStateForChild: (id: string) => { + return { + rawState: panels$.getValue()[id].explicitInput, + references: [], + }; + }, + children$: new BehaviorSubject({}), + timeRange$: new BehaviorSubject({ + from: 'now-24h', + to: 'now', + }), viewMode: new BehaviorSubject('edit'), - panels$: new BehaviorSubject(savedState.panels), + panels$, rows$: new BehaviorSubject(savedState.rows), + expandedPanelId: expandedPanelId$, + expandPanel: (id: string) => { + if (expandedPanelId$.getValue()) { + expandedPanelId$.next(undefined); + } else { + expandedPanelId$.next(id); + } + }, removePanel: (id: string) => { const panels = { ...mockDashboardApi.panels$.getValue() }; delete panels[id]; // the grid layout component will handle compacting, if necessary mockDashboardApi.panels$.next(panels); }, - replacePanel: (oldId: string, newId: string) => { + replacePanel: (id: string, newPanel: PanelPackage) => { const currentPanels = mockDashboardApi.panels$.getValue(); const otherPanels = { ...currentPanels }; - const oldPanel = currentPanels[oldId]; - delete otherPanels[oldId]; - otherPanels[newId] = { id: newId, gridData: { ...oldPanel.gridData, i: newId } }; + const oldPanel = currentPanels[id]; + delete otherPanels[id]; + const newId = v4(); + otherPanels[newId] = { + ...oldPanel, + explicitInput: { ...newPanel.initialState, id: newId }, + }; mockDashboardApi.panels$.next(otherPanels); }, - addNewPanel: ({ id: newId }: { id: string }) => { + addNewPanel: async (panelPackage: PanelPackage) => { // we are only implementing "place at top" here, for demo purposes const currentPanels = mockDashboardApi.panels$.getValue(); const otherPanels = { ...currentPanels }; @@ -53,17 +83,22 @@ export const useMockDashboardApi = ({ currentPanel.gridData.y = currentPanel.gridData.y + DEFAULT_PANEL_HEIGHT; otherPanels[id] = currentPanel; } + const newId = v4(); mockDashboardApi.panels$.next({ ...otherPanels, [newId]: { - id: newId, + type: panelPackage.panelType, gridData: { - i: newId, row: 0, x: 0, y: 0, w: DEFAULT_PANEL_WIDTH, h: DEFAULT_PANEL_HEIGHT, + i: newId, + }, + explicitInput: { + ...panelPackage.initialState, + id: newId, }, }, }); diff --git a/examples/grid_example/public/utils.ts b/examples/grid_example/public/utils.ts index 5d2dfd0fa3002..8c9db472cffa7 100644 --- a/examples/grid_example/public/utils.ts +++ b/examples/grid_example/public/utils.ts @@ -11,6 +11,7 @@ import { GridLayoutData } from '@kbn/grid-layout'; import { MockedDashboardPanelMap, MockedDashboardRowMap } from './types'; export const gridLayoutToDashboardPanelMap = ( + panelState: MockedDashboardPanelMap, layout: GridLayoutData ): { panels: MockedDashboardPanelMap; rows: MockedDashboardRowMap } => { const panels: MockedDashboardPanelMap = {}; @@ -19,7 +20,7 @@ export const gridLayoutToDashboardPanelMap = ( rows.push({ title: row.title, collapsed: row.isCollapsed }); Object.values(row.panels).forEach((panelGridData) => { panels[panelGridData.id] = { - id: panelGridData.id, + ...panelState[panelGridData.id], gridData: { i: panelGridData.id, y: panelGridData.row, @@ -49,7 +50,7 @@ export const dashboardInputToGridLayout = ({ Object.keys(panels).forEach((panelId) => { const gridData = panels[panelId].gridData; - layout[gridData.row].panels[panelId] = { + layout[gridData.row ?? 0].panels[panelId] = { id: panelId, row: gridData.y, column: gridData.x, diff --git a/examples/grid_example/tsconfig.json b/examples/grid_example/tsconfig.json index ad692e9697b2d..334bc8c809a2c 100644 --- a/examples/grid_example/tsconfig.json +++ b/examples/grid_example/tsconfig.json @@ -3,7 +3,13 @@ "compilerOptions": { "outDir": "target/types" }, - "include": ["index.ts", "public/**/*.ts", "public/**/*.tsx", "../../typings/**/*"], + "include": [ + "index.ts", + "public/**/*.ts", + "public/**/*.tsx", + "../../typings/**/*", + "public/**/*.json" + ], "exclude": ["target/**/*"], "kbn_references": [ "@kbn/grid-layout", @@ -11,7 +17,15 @@ "@kbn/core", "@kbn/developer-examples-plugin", "@kbn/core-lifecycle-browser", + "@kbn/embeddable-plugin", "@kbn/react-kibana-mount", "@kbn/i18n", + "@kbn/embeddable-examples-plugin", + "@kbn/react-kibana-context-render", + "@kbn/presentation-publishing", + "@kbn/es-query", + "@kbn/ui-actions-plugin", + "@kbn/embeddable-examples-plugin", + "@kbn/presentation-containers" ] } diff --git a/packages/kbn-grid-layout/grid/grid_height_smoother.tsx b/packages/kbn-grid-layout/grid/grid_height_smoother.tsx index c880832c90a04..5db0355044622 100644 --- a/packages/kbn-grid-layout/grid/grid_height_smoother.tsx +++ b/packages/kbn-grid-layout/grid/grid_height_smoother.tsx @@ -10,7 +10,6 @@ import { css } from '@emotion/react'; import React, { PropsWithChildren, useEffect, useRef } from 'react'; import { combineLatest } from 'rxjs'; -import { euiThemeVars } from '@kbn/ui-theme'; import { GridLayoutStateManager } from './types'; export const GridHeightSmoother = ({ @@ -30,6 +29,7 @@ export const GridHeightSmoother = ({ } if (!interactionEvent) { smoothHeightRef.current.style.height = `${dimensions.height}px`; + smoothHeightRef.current.style.userSelect = 'auto'; return; } @@ -42,6 +42,7 @@ export const GridHeightSmoother = ({ dimensions.height ?? 0, smoothHeightRef.current.getBoundingClientRect().height )}px`; + smoothHeightRef.current.style.userSelect = 'none'; }); const expandedPanelSubscription = gridLayoutStateManager.expandedPanelId$.subscribe( @@ -49,19 +50,9 @@ export const GridHeightSmoother = ({ if (!smoothHeightRef.current) return; if (expandedPanelId) { - const smoothHeightRefY = - smoothHeightRef.current.getBoundingClientRect().y + document.documentElement.scrollTop; - const gutterSize = parseFloat(euiThemeVars.euiSizeL); - - // When panel is expanded, ensure the page occupies the full viewport height - // If the parent element is a flex container (preferred approach): - smoothHeightRef.current.style.flexBasis = `100%`; - - // fallback in case parent is not a flex container (less reliable if shifts happen after the time we calculate smoothHeightRefY) - smoothHeightRef.current.style.height = `calc(100vh - ${smoothHeightRefY + gutterSize}px`; + smoothHeightRef.current.style.height = `100%`; smoothHeightRef.current.style.transition = 'none'; } else { - smoothHeightRef.current.style.flexBasis = ''; smoothHeightRef.current.style.height = ''; smoothHeightRef.current.style.transition = ''; } @@ -78,6 +69,8 @@ export const GridHeightSmoother = ({
React.ReactNode; + renderPanelContents: ( + panelId: string, + setDragHandles?: (refs: Array) => void + ) => React.ReactNode; onLayoutChange: (newLayout: GridLayoutData) => void; expandedPanelId?: string; accessMode?: GridAccessMode; diff --git a/packages/kbn-grid-layout/grid/grid_panel/drag_handle.tsx b/packages/kbn-grid-layout/grid/grid_panel/drag_handle.tsx index 90305812ff8d5..f175cf227a7e5 100644 --- a/packages/kbn-grid-layout/grid/grid_panel/drag_handle.tsx +++ b/packages/kbn-grid-layout/grid/grid_panel/drag_handle.tsx @@ -7,24 +7,88 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import React from 'react'; +import React, { useCallback, useEffect, useImperativeHandle, useRef, useState } from 'react'; import { EuiIcon, useEuiTheme } from '@elastic/eui'; import { css } from '@emotion/react'; import { euiThemeVars } from '@kbn/ui-theme'; import { i18n } from '@kbn/i18n'; -import { PanelInteractionEvent } from '../types'; +import { GridLayoutStateManager, PanelInteractionEvent } from '../types'; -export const DragHandle = ({ - interactionStart, -}: { - interactionStart: ( - type: PanelInteractionEvent['type'] | 'drop', - e: React.MouseEvent - ) => void; -}) => { +export interface DragHandleApi { + setDragHandles: (refs: Array) => void; +} + +export const DragHandle = React.forwardRef< + DragHandleApi, + { + gridLayoutStateManager: GridLayoutStateManager; + interactionStart: ( + type: PanelInteractionEvent['type'] | 'drop', + e: MouseEvent | React.MouseEvent + ) => void; + } +>(({ gridLayoutStateManager, interactionStart }, ref) => { const { euiTheme } = useEuiTheme(); - return ( + + const removeEventListenersRef = useRef<(() => void) | null>(null); + const [dragHandleCount, setDragHandleCount] = useState(0); + const dragHandleRefs = useRef>([]); + + /** + * We need to memoize the `onMouseDown` callback so that we don't assign a new `onMouseDown` event handler + * every time `setDragHandles` is called + */ + const onMouseDown = useCallback( + (e: MouseEvent | React.MouseEvent) => { + if (gridLayoutStateManager.accessMode$.getValue() !== 'EDIT' || e.button !== 0) { + // ignore anything but left clicks, and ignore clicks when not in edit mode + return; + } + e.stopPropagation(); + interactionStart('drag', e); + }, + [interactionStart, gridLayoutStateManager.accessMode$] + ); + + const setDragHandles = useCallback( + (dragHandles: Array) => { + setDragHandleCount(dragHandles.length); + dragHandleRefs.current = dragHandles; + + for (const handle of dragHandles) { + if (handle === null) return; + handle.addEventListener('mousedown', onMouseDown, { passive: true }); + } + + removeEventListenersRef.current = () => { + for (const handle of dragHandles) { + if (handle === null) return; + handle.removeEventListener('mousedown', onMouseDown); + } + }; + }, + [onMouseDown] + ); + + useEffect(() => { + return () => { + // on unmount, remove all drag handle event listeners + if (removeEventListenersRef.current) { + removeEventListenersRef.current(); + } + }; + }, []); + + useImperativeHandle( + ref, + () => { + return { setDragHandles }; + }, + [setDragHandles] + ); + + return Boolean(dragHandleCount) ? null : ( ); -}; +}); diff --git a/packages/kbn-grid-layout/grid/grid_panel/grid_panel.tsx b/packages/kbn-grid-layout/grid/grid_panel/grid_panel.tsx index e817f5fc3871b..c30e6ecc996eb 100644 --- a/packages/kbn-grid-layout/grid/grid_panel/grid_panel.tsx +++ b/packages/kbn-grid-layout/grid/grid_panel/grid_panel.tsx @@ -7,24 +7,27 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import React, { forwardRef, useEffect, useMemo } from 'react'; +import React, { forwardRef, useEffect, useMemo, useState } from 'react'; import { combineLatest, skip } from 'rxjs'; -import { EuiPanel, euiFullHeight, useEuiOverflowScroll } from '@elastic/eui'; import { css } from '@emotion/react'; import { euiThemeVars } from '@kbn/ui-theme'; + import { GridLayoutStateManager, PanelInteractionEvent } from '../types'; import { getKeysInOrder } from '../utils/resolve_grid_row'; -import { DragHandle } from './drag_handle'; +import { DragHandle, DragHandleApi } from './drag_handle'; import { ResizeHandle } from './resize_handle'; export interface GridPanelProps { panelId: string; rowIndex: number; - renderPanelContents: (panelId: string) => React.ReactNode; + renderPanelContents: ( + panelId: string, + setDragHandles?: (refs: Array) => void + ) => React.ReactNode; interactionStart: ( type: PanelInteractionEvent['type'] | 'drop', - e: React.MouseEvent + e: MouseEvent | React.MouseEvent ) => void; gridLayoutStateManager: GridLayoutStateManager; } @@ -34,6 +37,37 @@ export const GridPanel = forwardRef( { panelId, rowIndex, renderPanelContents, interactionStart, gridLayoutStateManager }, panelRef ) => { + const [dragHandleApi, setDragHandleApi] = useState(null); + + useEffect(() => { + const onDropEventHandler = (dropEvent: MouseEvent) => interactionStart('drop', dropEvent); + /** + * Subscription to add a singular "drop" event handler whenever an interaction starts - + * this is handled in a subscription so that it is not lost when the component gets remounted + * (which happens when a panel gets dragged from one grid row to another) + */ + const dropEventSubscription = gridLayoutStateManager.interactionEvent$.subscribe((event) => { + if (!event || event.id !== panelId) return; + + /** + * By adding the "drop" event listener to the document rather than the drag/resize event handler, + * we prevent the element from getting "stuck" in an interaction; however, we only attach this event + * listener **when the drag/resize event starts**, and it only executes once (i.e. it removes itself + * once it executes, so we don't have to manually remove it outside of the unmount condition) + */ + document.addEventListener('mouseup', onDropEventHandler, { + once: true, + passive: true, + }); + }); + + return () => { + dropEventSubscription.unsubscribe(); + document.removeEventListener('mouseup', onDropEventHandler); // removes the event listener on row change + }; + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); + /** Set initial styles based on state at mount to prevent styles from "blipping" */ const initialStyles = useMemo(() => { const initialPanel = gridLayoutStateManager.gridLayout$.getValue()[rowIndex].panels[panelId]; @@ -88,24 +122,22 @@ export const GridPanel = forwardRef( // undo any "lock to grid" styles **except** for the top left corner, which stays locked ref.style.gridColumnStart = `${panel.column + 1}`; ref.style.gridRowStart = `${panel.row + 1}`; - ref.style.gridColumnEnd = ``; - ref.style.gridRowEnd = ``; + ref.style.gridColumnEnd = `auto`; + ref.style.gridRowEnd = `auto`; } else { // if the current panel is being dragged, render it with a fixed position + size - ref.style.position = `fixed`; + ref.style.position = 'fixed'; + ref.style.left = `${draggingPosition.left}px`; ref.style.top = `${draggingPosition.top}px`; ref.style.width = `${draggingPosition.right - draggingPosition.left}px`; ref.style.height = `${draggingPosition.bottom - draggingPosition.top}px`; // undo any "lock to grid" styles - ref.style.gridColumnStart = ``; - ref.style.gridRowStart = ``; - ref.style.gridColumnEnd = ``; - ref.style.gridRowEnd = ``; + ref.style.gridArea = `auto`; // shortcut to set all grid styles to `auto` } } else { - ref.style.zIndex = '0'; + ref.style.zIndex = `auto`; // if the panel is not being dragged and/or resized, undo any fixed position styles ref.style.position = ''; @@ -175,32 +207,27 @@ export const GridPanel = forwardRef( * Memoize panel contents to prevent unnecessary re-renders */ const panelContents = useMemo(() => { - return renderPanelContents(panelId); - }, [panelId, renderPanelContents]); + if (!dragHandleApi) return <>; // delays the rendering of the panel until after dragHandleApi is defined + return renderPanelContents(panelId, dragHandleApi.setDragHandles); + }, [panelId, renderPanelContents, dragHandleApi]); return (
- - -
- {panelContents} -
+ + {panelContents} -
+
); } diff --git a/packages/kbn-grid-layout/grid/grid_panel/resize_handle.tsx b/packages/kbn-grid-layout/grid/grid_panel/resize_handle.tsx index 4c4a2d60ee5cb..ffee2f2764ed0 100644 --- a/packages/kbn-grid-layout/grid/grid_panel/resize_handle.tsx +++ b/packages/kbn-grid-layout/grid/grid_panel/resize_handle.tsx @@ -7,12 +7,11 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import React from 'react'; - import { transparentize } from '@elastic/eui'; import { css } from '@emotion/react'; -import { euiThemeVars } from '@kbn/ui-theme'; import { i18n } from '@kbn/i18n'; +import { euiThemeVars } from '@kbn/ui-theme'; +import React from 'react'; import { PanelInteractionEvent } from '../types'; export const ResizeHandle = ({ @@ -20,7 +19,7 @@ export const ResizeHandle = ({ }: { interactionStart: ( type: PanelInteractionEvent['type'] | 'drop', - e: React.MouseEvent + e: MouseEvent | React.MouseEvent ) => void; }) => { return ( @@ -42,7 +41,9 @@ export const ResizeHandle = ({ margin: -2px; position: absolute; width: ${euiThemeVars.euiSizeL}; + max-width: 100%; height: ${euiThemeVars.euiSizeL}; + z-index: ${euiThemeVars.euiZLevel9}; transition: opacity 0.2s, border 0.2s; border-radius: 7px 0 7px 0; border-bottom: 2px solid ${euiThemeVars.euiColorSuccess}; diff --git a/packages/kbn-grid-layout/grid/grid_row/grid_row.tsx b/packages/kbn-grid-layout/grid/grid_row/grid_row.tsx index 85d051700e90d..d2b046919a62b 100644 --- a/packages/kbn-grid-layout/grid/grid_row/grid_row.tsx +++ b/packages/kbn-grid-layout/grid/grid_row/grid_row.tsx @@ -23,7 +23,10 @@ import { GridRowHeader } from './grid_row_header'; export interface GridRowProps { rowIndex: number; - renderPanelContents: (panelId: string) => React.ReactNode; + renderPanelContents: ( + panelId: string, + setDragHandles?: (refs: Array) => void + ) => React.ReactNode; setInteractionEvent: (interactionData?: PanelInteractionEvent) => void; gridLayoutStateManager: GridLayoutStateManager; } @@ -32,19 +35,13 @@ export const GridRow = forwardRef( ({ rowIndex, renderPanelContents, setInteractionEvent, gridLayoutStateManager }, gridRef) => { const currentRow = gridLayoutStateManager.gridLayout$.value[rowIndex]; - const [panelIds, setPanelIds] = useState(() => getKeysInOrder(currentRow.panels)); + const [panelIds, setPanelIds] = useState(Object.keys(currentRow.panels)); + const [panelIdsInOrder, setPanelIdsInOrder] = useState(() => + getKeysInOrder(currentRow.panels) + ); const [rowTitle, setRowTitle] = useState(currentRow.title); const [isCollapsed, setIsCollapsed] = useState(currentRow.isCollapsed); - /** Syncs panel IDs in order after a change in the grid layout, such as adding, removing, or reordering panels. */ - const syncPanelIds = useCallback(() => { - const newPanelIds = getKeysInOrder(gridLayoutStateManager.gridLayout$.value[rowIndex].panels); - const hasOrderChanged = JSON.stringify(panelIds) !== JSON.stringify(newPanelIds); - if (hasOrderChanged) { - setPanelIds(newPanelIds); - } - }, [setPanelIds, gridLayoutStateManager.gridLayout$, rowIndex, panelIds]); - const getRowCount = useCallback( (row: GridRowData) => { const maxRow = Object.values(row.panels).reduce((acc, panel) => { @@ -152,10 +149,6 @@ export const GridRow = forwardRef( * - Title * - Collapsed state * - Panel IDs (adding/removing/replacing, but not reordering) - * - * Note: During dragging or resizing actions, the row should not re-render because panel positions are controlled via CSS styles for performance reasons. - * However, once the user finishes the interaction, the order of rendered panels need to be aligned with how they are displayed in the grid for accessibility reasons (screen readers and focus management). - * This is handled in the syncPanelIds callback. */ const rowStateSubscription = gridLayoutStateManager.gridLayout$ .pipe( @@ -163,7 +156,7 @@ export const GridRow = forwardRef( return { title: gridLayout[rowIndex].title, isCollapsed: gridLayout[rowIndex].isCollapsed, - panelIds: getKeysInOrder(gridLayout[rowIndex].panels), + panelIds: Object.keys(gridLayout[rowIndex].panels), }; }), pairwise() @@ -180,6 +173,9 @@ export const GridRow = forwardRef( ) ) { setPanelIds(newRowData.panelIds); + setPanelIdsInOrder( + getKeysInOrder(gridLayoutStateManager.gridLayout$.getValue()[rowIndex].panels) + ); } }); @@ -194,64 +190,67 @@ export const GridRow = forwardRef( ); /** - * Memoize panel children components to prevent unnecessary re-renders + * Memoize panel children components (independent of their order) to prevent unnecessary re-renders */ - const children = useMemo(() => { - return panelIds.map((panelId) => ( - { - e.preventDefault(); - e.stopPropagation(); + const children: { [panelId: string]: React.ReactNode } = useMemo(() => { + return panelIds.reduce( + (prev, panelId) => ({ + ...prev, + [panelId]: ( + { + e.stopPropagation(); - // Disable interactions when a panel is expanded - const isInteractive = gridLayoutStateManager.expandedPanelId$.value === undefined; - if (!isInteractive) return; + // Disable interactions when a panel is expanded + const isInteractive = gridLayoutStateManager.expandedPanelId$.value === undefined; + if (!isInteractive) return; - const panelRef = gridLayoutStateManager.panelRefs.current[rowIndex][panelId]; - if (!panelRef) return; + const panelRef = gridLayoutStateManager.panelRefs.current[rowIndex][panelId]; + if (!panelRef) return; - const panelRect = panelRef.getBoundingClientRect(); - if (type === 'drop') { - setInteractionEvent(undefined); - // Ensure the row re-renders to reflect the new panel order after a drag-and-drop interaction. - // the order of rendered panels need to be aligned with how they are displayed in the grid for accessibility reasons (screen readers and focus management). - syncPanelIds(); - } else { - setInteractionEvent({ - type, - id: panelId, - panelDiv: panelRef, - targetRowIndex: rowIndex, - mouseOffsets: { - top: e.clientY - panelRect.top, - left: e.clientX - panelRect.left, - right: e.clientX - panelRect.right, - bottom: e.clientY - panelRect.bottom, - }, - }); - } - }} - ref={(element) => { - if (!gridLayoutStateManager.panelRefs.current[rowIndex]) { - gridLayoutStateManager.panelRefs.current[rowIndex] = {}; - } - gridLayoutStateManager.panelRefs.current[rowIndex][panelId] = element; - }} - /> - )); - }, [ - panelIds, - rowIndex, - gridLayoutStateManager, - renderPanelContents, - setInteractionEvent, - syncPanelIds, - ]); + const panelRect = panelRef.getBoundingClientRect(); + if (type === 'drop') { + setInteractionEvent(undefined); + /** + * Ensure the row re-renders to reflect the new panel order after a drag-and-drop interaction, since + * the order of rendered panels need to be aligned with how they are displayed in the grid for accessibility + * reasons (screen readers and focus management). + */ + setPanelIdsInOrder( + getKeysInOrder(gridLayoutStateManager.gridLayout$.getValue()[rowIndex].panels) + ); + } else { + setInteractionEvent({ + type, + id: panelId, + panelDiv: panelRef, + targetRowIndex: rowIndex, + mouseOffsets: { + top: e.clientY - panelRect.top, + left: e.clientX - panelRect.left, + right: e.clientX - panelRect.right, + bottom: e.clientY - panelRect.bottom, + }, + }); + } + }} + ref={(element) => { + if (!gridLayoutStateManager.panelRefs.current[rowIndex]) { + gridLayoutStateManager.panelRefs.current[rowIndex] = {}; + } + gridLayoutStateManager.panelRefs.current[rowIndex][panelId] = element; + }} + /> + ), + }), + {} + ); + }, [panelIds, gridLayoutStateManager, renderPanelContents, rowIndex, setInteractionEvent]); return (
@@ -276,7 +275,8 @@ export const GridRow = forwardRef( ${initialStyles}; `} > - {children} + {/* render the panels **in order** for accessibility, using the memoized panel components */} + {panelIdsInOrder.map((panelId) => children[panelId])}
)} diff --git a/packages/kbn-grid-layout/grid/test_utils/mocks.tsx b/packages/kbn-grid-layout/grid/test_utils/mocks.tsx index 09ffa05a39aa6..52b27ef7c8232 100644 --- a/packages/kbn-grid-layout/grid/test_utils/mocks.tsx +++ b/packages/kbn-grid-layout/grid/test_utils/mocks.tsx @@ -12,6 +12,7 @@ import { BehaviorSubject } from 'rxjs'; import { ObservedSize } from 'use-resize-observer/polyfilled'; import { ActivePanel, + GridAccessMode, GridLayoutData, GridLayoutStateManager, PanelInteractionEvent, @@ -46,6 +47,7 @@ export const gridLayoutStateManagerMock: GridLayoutStateManager = { runtimeSettings$, panelRefs: { current: [] }, rowRefs: { current: [] }, + accessMode$: new BehaviorSubject('EDIT'), interactionEvent$: new BehaviorSubject(undefined), activePanel$: new BehaviorSubject(undefined), gridDimensions$: new BehaviorSubject({ width: 600, height: 900 }), diff --git a/packages/kbn-grid-layout/grid/types.ts b/packages/kbn-grid-layout/grid/types.ts index cd24855d07646..1e0d541ce343a 100644 --- a/packages/kbn-grid-layout/grid/types.ts +++ b/packages/kbn-grid-layout/grid/types.ts @@ -60,6 +60,7 @@ export interface GridLayoutStateManager { gridLayout$: BehaviorSubject; expandedPanelId$: BehaviorSubject; isMobileView$: BehaviorSubject; + accessMode$: BehaviorSubject; gridDimensions$: BehaviorSubject; runtimeSettings$: BehaviorSubject; diff --git a/packages/kbn-grid-layout/grid/use_grid_layout_events.ts b/packages/kbn-grid-layout/grid/use_grid_layout_events.ts index 64cc8f482838e..09f12d13d93d8 100644 --- a/packages/kbn-grid-layout/grid/use_grid_layout_events.ts +++ b/packages/kbn-grid-layout/grid/use_grid_layout_events.ts @@ -13,18 +13,42 @@ import { resolveGridRow } from './utils/resolve_grid_row'; import { GridPanelData, GridLayoutStateManager } from './types'; import { isGridDataEqual } from './utils/equality_checks'; +const MIN_SPEED = 50; +const MAX_SPEED = 150; + const scrollOnInterval = (direction: 'up' | 'down') => { let count = 0; + let currentSpeed = MIN_SPEED; + let maxSpeed = MIN_SPEED; + let turnAroundPoint: number | undefined; + const interval = setInterval(() => { - // calculate the speed based on how long the interval has been going to create an ease effect - // via the parabola formula `y = a(x - h)^2 + k` - // - the starting speed is k = 50 - // - the maximum speed is 250 - // - the rate at which the speed increases is controlled by a = 0.75 - const speed = Math.min(0.75 * count ** 2 + 50, 250); - window.scrollBy({ top: direction === 'down' ? speed : -speed, behavior: 'smooth' }); - count++; - }, 100); + /** + * Since "smooth" scrolling on an interval is jittery on Chrome, we are manually creating + * an "ease" effect via the parabola formula `y = a(x - h)^2 + k` + * + * Scrolling slowly speeds up as the user drags, and it slows down again as they approach the + * top and/or bottom of the screen. + */ + const nearTop = direction === 'up' && scrollY < window.innerHeight; + const nearBottom = + direction === 'down' && + window.innerHeight + window.scrollY > document.body.scrollHeight - window.innerHeight; + if (!turnAroundPoint && (nearTop || nearBottom)) { + // reverse the direction of the parabola + maxSpeed = currentSpeed; + turnAroundPoint = count; + } + + currentSpeed = turnAroundPoint + ? Math.max(-3 * (count - turnAroundPoint) ** 2 + maxSpeed, MIN_SPEED) // slow down fast + : Math.min(0.1 * count ** 2 + MIN_SPEED, MAX_SPEED); // speed up slowly + window.scrollBy({ + top: direction === 'down' ? currentSpeed : -currentSpeed, + }); + + count++; // increase the counter to increase the time interval used in the parabola formula + }, 60); return interval; }; @@ -56,7 +80,6 @@ export const useGridLayoutEvents = ({ stopAutoScrollIfNecessary(); return; } - e.preventDefault(); e.stopPropagation(); const gridRowElements = gridLayoutStateManager.rowRefs.current; @@ -154,8 +177,11 @@ export const useGridLayoutEvents = ({ // auto scroll when an event is happening close to the top or bottom of the screen const heightPercentage = 100 - ((window.innerHeight - mouseTargetPixel.y) / window.innerHeight) * 100; - const startScrollingUp = !isResize && heightPercentage < 5; // don't scroll up when resizing - const startScrollingDown = heightPercentage > 95; + const atTheTop = window.scrollY <= 0; + const atTheBottom = window.innerHeight + window.scrollY >= document.body.scrollHeight; + + const startScrollingUp = !isResize && heightPercentage < 5 && !atTheTop; // don't scroll up when resizing + const startScrollingDown = heightPercentage > 95 && !atTheBottom; if (startScrollingUp || startScrollingDown) { if (!scrollInterval.current) { // only start scrolling if it's not already happening @@ -202,8 +228,9 @@ export const useGridLayoutEvents = ({ calculateUserEvent(e); }; - document.addEventListener('mousemove', onMouseMove); - document.addEventListener('scroll', calculateUserEvent); + document.addEventListener('mousemove', onMouseMove, { passive: true }); + document.addEventListener('scroll', calculateUserEvent, { passive: true }); + return () => { document.removeEventListener('mousemove', onMouseMove); document.removeEventListener('scroll', calculateUserEvent); diff --git a/packages/kbn-grid-layout/grid/use_grid_layout_state.ts b/packages/kbn-grid-layout/grid/use_grid_layout_state.ts index 8617262829c48..3e76687436bcb 100644 --- a/packages/kbn-grid-layout/grid/use_grid_layout_state.ts +++ b/packages/kbn-grid-layout/grid/use_grid_layout_state.ts @@ -10,6 +10,7 @@ import { useEffect, useMemo, useRef } from 'react'; import { BehaviorSubject, combineLatest, debounceTime } from 'rxjs'; import useResizeObserver, { type ObservedSize } from 'use-resize-observer/polyfilled'; +import { cloneDeep } from 'lodash'; import { ActivePanel, @@ -21,6 +22,7 @@ import { RuntimeGridSettings, } from './types'; import { shouldShowMobileView } from './utils/mobile_view'; +import { resolveGridRow } from './utils/resolve_grid_row'; export const useGridLayoutState = ({ layout, @@ -59,7 +61,12 @@ export const useGridLayoutState = ({ }, [accessMode, accessMode$]); const gridLayoutStateManager = useMemo(() => { - const gridLayout$ = new BehaviorSubject(layout); + const resolvedLayout = cloneDeep(layout); + resolvedLayout.forEach((row, rowIndex) => { + resolvedLayout[rowIndex] = resolveGridRow(row); + }); + + const gridLayout$ = new BehaviorSubject(resolvedLayout); const gridDimensions$ = new BehaviorSubject({ width: 0, height: 0 }); const interactionEvent$ = new BehaviorSubject(undefined); const activePanel$ = new BehaviorSubject(undefined); @@ -77,6 +84,7 @@ export const useGridLayoutState = ({ panelIds$, gridLayout$, activePanel$, + accessMode$, gridDimensions$, runtimeSettings$, interactionEvent$, diff --git a/src/plugins/embeddable/kibana.jsonc b/src/plugins/embeddable/kibana.jsonc index b617114f9fa59..ea198de6386a3 100644 --- a/src/plugins/embeddable/kibana.jsonc +++ b/src/plugins/embeddable/kibana.jsonc @@ -1,9 +1,7 @@ { "type": "plugin", "id": "@kbn/embeddable-plugin", - "owner": [ - "@elastic/kibana-presentation" - ], + "owner": ["@elastic/kibana-presentation"], "group": "platform", "visibility": "shared", "description": "Adds embeddables service to Kibana", @@ -19,17 +17,8 @@ "savedObjectsManagement", "contentManagement" ], - "optionalPlugins": [ - "savedObjectsTaggingOss", - "usageCollection" - ], - "requiredBundles": [ - "savedObjects", - "kibanaUtils", - "presentationPanel" - ], - "extraPublicDirs": [ - "common" - ] + "optionalPlugins": ["savedObjectsTaggingOss", "usageCollection"], + "requiredBundles": ["savedObjects", "kibanaUtils", "presentationPanel"], + "extraPublicDirs": ["common"] } -} \ No newline at end of file +} diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx b/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx index edf52244c2d4d..a9c4821d71a53 100644 --- a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx +++ b/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx @@ -65,6 +65,7 @@ export const ReactEmbeddableRenderer = < | 'hideLoader' | 'hideHeader' | 'hideInspector' + | 'setDragHandles' | 'getActions' >; hidePanelChrome?: boolean; diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx b/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx index 0747e4a4f8229..74b88cd369cf1 100644 --- a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx +++ b/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx @@ -10,7 +10,7 @@ import { EuiScreenReaderOnly } from '@elastic/eui'; import { ViewMode } from '@kbn/presentation-publishing'; import classNames from 'classnames'; -import React from 'react'; +import React, { useCallback } from 'react'; import { getAriaLabelForTitle } from '../presentation_panel_strings'; import { DefaultPresentationPanelApi, PresentationPanelInternalProps } from '../types'; import { PresentationPanelTitle } from './presentation_panel_title'; @@ -23,6 +23,7 @@ export type PresentationPanelHeaderProps void; } & Pick; export const PresentationPanelHeader = < @@ -35,6 +36,7 @@ export const PresentationPanelHeader = < hideTitle, panelTitle, panelDescription, + setDragHandle, showBadges = true, showNotifications = true, }: PresentationPanelHeaderProps) => { @@ -45,6 +47,14 @@ export const PresentationPanelHeader = < getActions ); + const memoizedSetDragHandle = useCallback( + // memoize the ref callback so that we don't call `setDragHandle` on every render + (ref: HTMLHeadingElement | null) => { + setDragHandle('panelHeader', ref); + }, + [setDragHandle] + ); + const showPanelBar = (!hideTitle && panelTitle) || badgeElements.length > 0 || notificationElements.length > 0; @@ -71,7 +81,7 @@ export const PresentationPanelHeader = < className={headerClasses} data-test-subj={`embeddablePanelHeading-${(panelTitle || '').replace(/\s/g, '')}`} > -

+

{ariaLabelElement} void; actionPredicate?: (actionId: string) => boolean; children: ReactElement; className?: string; @@ -124,9 +126,10 @@ export const PresentationPanelHoverActions = ({ const [isContextMenuOpen, setIsContextMenuOpen] = useState(false); const [notifications, setNotifications] = useState([]); const hoverActionsRef = useRef(null); + const dragHandleRef = useRef(null); const anchorRef = useRef(null); - const leftHoverActionsRef = useRef(null); const rightHoverActionsRef = useRef(null); + const [combineHoverActions, setCombineHoverActions] = useState(false); const [borderStyles, setBorderStyles] = useState(TOP_ROUNDED_CORNERS); @@ -138,14 +141,14 @@ export const PresentationPanelHoverActions = ({ const anchorWidth = anchorRef.current.offsetWidth; const hoverActionsWidth = (rightHoverActionsRef.current?.offsetWidth ?? 0) + - (leftHoverActionsRef.current?.offsetWidth ?? 0) + + (dragHandleRef.current?.offsetWidth ?? 0) + parseInt(euiThemeVars.euiSize, 10) * 2; const hoverActionsHeight = rightHoverActionsRef.current?.offsetHeight ?? 0; // Left align hover actions when they would get cut off by the right edge of the window if (anchorLeft - (hoverActionsWidth - anchorWidth) <= parseInt(euiThemeVars.euiSize, 10)) { - hoverActionsRef.current.style.removeProperty('right'); - hoverActionsRef.current.style.setProperty('left', '0'); + dragHandleRef.current?.style.removeProperty('right'); + dragHandleRef.current?.style.setProperty('left', '0'); } else { hoverActionsRef.current.style.removeProperty('left'); hoverActionsRef.current.style.setProperty('right', '0'); @@ -442,19 +445,30 @@ export const PresentationPanelHoverActions = ({ /> ); - const dragHandle = ( - + const dragHandle = useMemo( + // memoize the drag handle to avoid calling `setDragHandle` unnecessarily + () => ( + + ), + [setDragHandle] ); const hasHoverActions = quickActionElements.length || contextMenuPanels.lastIndexOf.length; @@ -535,7 +549,6 @@ export const PresentationPanelHoverActions = ({ > {viewMode === 'edit' && !combineHoverActions ? (
) => { const [api, setApi] = useState(null); const headerId = useMemo(() => htmlIdGenerator()(), []); + const dragHandles = useRef<{ [dragHandleKey: string]: HTMLElement | null }>({}); + const viewModeSubject = (() => { if (apiPublishesViewMode(api)) return api.viewMode; if (apiHasParentApi(api) && apiPublishesViewMode(api.parentApi)) return api.parentApi.viewMode; @@ -90,9 +94,26 @@ export const PresentationPanelInternal = < return attrs; }, [dataLoading, blockingError]); + const setDragHandle = useCallback( + (id: string, ref: HTMLElement | null) => { + dragHandles.current[id] = ref; + setDragHandles?.(Object.values(dragHandles.current)); + }, + [setDragHandles] + ); + return ( ) => void; } /** From e706b6689d0700d883791eb7cac3252d21335291 Mon Sep 17 00:00:00 2001 From: Tre Date: Tue, 10 Dec 2024 17:15:13 +0000 Subject: [PATCH 090/103] [Ownership] Print owner match also, not just owner (#202704) ## Summary Resolves: https://github.com/elastic/kibana/issues/202666 ## For reviewers To see the change, run this: `node scripts/get_owners_for_file.js --file test/functional/apps/console/_autocomplete.ts` ### Results: #### Before ``` succ elastic/kibana-management ``` #### After ``` succ Found matching entry in .github/CODEOWNERS: test/functional/apps/console/*.ts elastic/kibana-management ``` --------- Co-authored-by: Robert Oskamp Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: David Olaru --- packages/kbn-code-owners/index.ts | 2 +- packages/kbn-code-owners/src/file_code_owner.ts | 15 +++++++++------ .../src/reporting/playwright.ts | 8 ++++++-- .../lib/mocha/reporter/scout_ftr_reporter.ts | 8 ++++++-- .../run_check_ftr_code_owners.ts | 12 +++++++----- .../kbn-test/src/mocha/junit_report_generation.js | 3 ++- 6 files changed, 31 insertions(+), 17 deletions(-) diff --git a/packages/kbn-code-owners/index.ts b/packages/kbn-code-owners/index.ts index 8966b92834089..1c371d27e2575 100644 --- a/packages/kbn-code-owners/index.ts +++ b/packages/kbn-code-owners/index.ts @@ -7,7 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -export type { PathWithOwners } from './src/file_code_owner'; +export type { PathWithOwners, CodeOwnership } from './src/file_code_owner'; export { getPathsWithOwnersReversed, getCodeOwnersForFile, diff --git a/packages/kbn-code-owners/src/file_code_owner.ts b/packages/kbn-code-owners/src/file_code_owner.ts index a7812a6121d90..aa3c856f15f7c 100644 --- a/packages/kbn-code-owners/src/file_code_owner.ts +++ b/packages/kbn-code-owners/src/file_code_owner.ts @@ -21,6 +21,8 @@ export interface PathWithOwners { teams: string; ignorePattern: Ignore; } +export type CodeOwnership = Partial> | undefined; + const existOrThrow = (targetFile: string) => { if (existsSync(targetFile) === false) throw createFailError(`Unable to determine code owners: file ${targetFile} Not Found`); @@ -65,14 +67,13 @@ export function getPathsWithOwnersReversed(): PathWithOwners[] { export function getCodeOwnersForFile( filePath: string, reversedCodeowners?: PathWithOwners[] -): string | undefined { +): CodeOwnership { const pathsWithOwners = reversedCodeowners ?? getPathsWithOwnersReversed(); - const match = pathsWithOwners.find((p) => p.ignorePattern.test(filePath).ignored); - - return match?.teams; + if (match?.path && match.teams) return { path: match.path, teams: match.teams }; + return; } - +const trimFrontSlash = (x: string): string => x.replace(/^\//, ''); /** * Run the getCodeOwnersForFile() method above. * Report back to the cli with either success and the owner(s), or a failure. @@ -87,7 +88,9 @@ export async function runGetOwnersForFileCli() { if (!targetFile) throw createFlagError(`Missing --file argument`); existOrThrow(targetFile); // This call is duplicated in getPathsWithOwnersReversed(), so this is a short circuit const result = getCodeOwnersForFile(targetFile); - if (result) log.success(result); + if (result) + log.success(`Found matching entry in .github/CODEOWNERS: +${trimFrontSlash(result?.path ? result.path : '')} ${result.teams}`); else log.error(`Ownership of file [${targetFile}] is UNKNOWN`); }, { diff --git a/packages/kbn-scout-reporting/src/reporting/playwright.ts b/packages/kbn-scout-reporting/src/reporting/playwright.ts index fdea17cb844c0..f50b25bab83d3 100644 --- a/packages/kbn-scout-reporting/src/reporting/playwright.ts +++ b/packages/kbn-scout-reporting/src/reporting/playwright.ts @@ -23,7 +23,11 @@ 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 { + type PathWithOwners, + getPathsWithOwnersReversed, + getCodeOwnersForFile, +} from '@kbn/code-owners'; import { generateTestRunId, getTestIDForTitle, ScoutReport, ScoutReportEventAction } from '.'; import { environmentMetadata } from '../datasources'; @@ -60,7 +64,7 @@ export class ScoutPlaywrightReporter implements Reporter { } private getFileOwners(filePath: string): string[] { - const concatenatedOwners = getCodeOwnersForFile(filePath, this.pathsWithOwners); + const concatenatedOwners = getCodeOwnersForFile(filePath, this.pathsWithOwners)?.teams; if (concatenatedOwners === undefined) { return []; 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 index 4ffef48ec6443..23766e8784df0 100644 --- 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 @@ -18,7 +18,11 @@ import { ScoutReportEventAction, datasources, } from '@kbn/scout-reporting'; -import { getCodeOwnersForFile, getPathsWithOwnersReversed, PathWithOwners } from '@kbn/code-owners'; +import { + getCodeOwnersForFile, + getPathsWithOwnersReversed, + type PathWithOwners, +} from '@kbn/code-owners'; import { Runner, Test } from '../../../fake_mocha_types'; /** @@ -64,7 +68,7 @@ export class ScoutFTRReporter { } private getFileOwners(filePath: string): string[] { - const concatenatedOwners = getCodeOwnersForFile(filePath, this.pathsWithOwners); + const concatenatedOwners = getCodeOwnersForFile(filePath, this.pathsWithOwners)?.teams; if (concatenatedOwners === undefined) { return []; diff --git a/packages/kbn-test/src/functional_test_runner/run_check_ftr_code_owners.ts b/packages/kbn-test/src/functional_test_runner/run_check_ftr_code_owners.ts index 6d99938ceea85..17bab9a44a44c 100644 --- a/packages/kbn-test/src/functional_test_runner/run_check_ftr_code_owners.ts +++ b/packages/kbn-test/src/functional_test_runner/run_check_ftr_code_owners.ts @@ -10,7 +10,11 @@ import { run } from '@kbn/dev-cli-runner'; import { createFailError } from '@kbn/dev-cli-errors'; import { getRepoFiles } from '@kbn/get-repo-files'; -import { getCodeOwnersForFile, getPathsWithOwnersReversed } from '@kbn/code-owners'; +import { + getCodeOwnersForFile, + getPathsWithOwnersReversed, + type CodeOwnership, +} from '@kbn/code-owners'; const TEST_DIRECTORIES = ['test', 'x-pack/test', 'x-pack/test_serverless']; @@ -36,10 +40,8 @@ export async function runCheckFtrCodeOwnersCli() { const testFiles = await getRepoFiles(TEST_DIRECTORIES); for (const { repoRel } of testFiles) { - const owners = getCodeOwnersForFile(repoRel, reversedCodeowners); - if (owners === undefined || owners === '') { - missingOwners.add(repoRel); - } + const owners: CodeOwnership = getCodeOwnersForFile(repoRel, reversedCodeowners); + if (owners === undefined || owners.teams === '') missingOwners.add(repoRel); } const timeSpent = fmtMs(performance.now() - start); diff --git a/packages/kbn-test/src/mocha/junit_report_generation.js b/packages/kbn-test/src/mocha/junit_report_generation.js index 03bdc37f76720..2dfa0cdbfa3c0 100644 --- a/packages/kbn-test/src/mocha/junit_report_generation.js +++ b/packages/kbn-test/src/mocha/junit_report_generation.js @@ -142,8 +142,9 @@ export function setupJUnitReportGeneration(runner, options = {}) { // adding code owners only for the failed test case if (failed) { const testCaseRelativePath = getPath(node); + const owners = getCodeOwnersForFile(testCaseRelativePath, reversedCodeowners); - attrs.owners = owners || ''; // empty string when no codeowners are defined + attrs.owners = owners?.teams || ''; // empty string when no codeowners are defined } return testsuitesEl.ele('testcase', attrs); From da93119780520740510c78b659609c049d275903 Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Tue, 10 Dec 2024 10:26:45 -0700 Subject: [PATCH 091/103] remove reactEmbeddableRegistryHasKey usage from canvas (#203256) Part of https://github.com/elastic/kibana/issues/203250 Removes `reactEmbeddableRegistryHasKey` usage from canvas --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine --- .../renderers/embeddable/embeddable.tsx | 158 ++---------------- 1 file changed, 16 insertions(+), 142 deletions(-) diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx b/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx index a21528fb970fb..a01d35fec52d7 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx +++ b/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx @@ -6,14 +6,7 @@ */ import { CoreStart } from '@kbn/core/public'; -import { - EmbeddableFactory, - EmbeddableFactoryNotFoundError, - EmbeddablePanel, - IEmbeddable, - isErrorEmbeddable, - ReactEmbeddableRenderer, -} from '@kbn/embeddable-plugin/public'; +import { ReactEmbeddableRenderer } from '@kbn/embeddable-plugin/public'; import { KibanaRenderContextProvider } from '@kbn/react-kibana-context-render'; import React, { FC } from 'react'; import ReactDOM from 'react-dom'; @@ -31,15 +24,9 @@ import { EmbeddableExpression } from '../../expression_types/embeddable'; import { StartDeps } from '../../plugin'; import { embeddableInputToExpression } from './embeddable_input_to_expression'; import { useGetAppContext } from './use_get_app_context'; -import { embeddableService } from '../../../public/services/kibana_services'; const { embeddable: strings } = RendererStrings; -// registry of references to embeddables on the workpad -const embeddablesRegistry: { - [key: string]: IEmbeddable | Promise; -} = {}; - const renderReactEmbeddable = ({ type, uuid, @@ -98,34 +85,10 @@ const renderReactEmbeddable = ({ ); }; -const renderEmbeddableFactory = (core: CoreStart, _plugins: StartDeps) => { - const EmbeddableRenderer: FC<{ embeddable: IEmbeddable }> = ({ embeddable }) => { - const getAppContext = useGetAppContext(core); - - embeddable.getAppContext = getAppContext; - - return ; - }; - - return (embeddableObject: IEmbeddable) => { - return ( - -
- -
-
- ); - }; -}; - export const embeddableRendererFactory = ( core: CoreStart, plugins: StartDeps ): RendererFactory & { canvasApi: CanvasContainerApi }> => { - const renderEmbeddable = renderEmbeddableFactory(core, plugins); return () => ({ name: 'embeddable', displayName: strings.getDisplayName(), @@ -133,112 +96,23 @@ export const embeddableRendererFactory = ( reuseDomNode: true, render: async (domNode, { input, embeddableType, canvasApi }, handlers) => { const uniqueId = handlers.getElementId(); - const isByValueEnabled = plugins.presentationUtil.labsService.isProjectEnabled( - 'labs:canvas:byValueEmbeddable' + ReactDOM.render( + renderReactEmbeddable({ + input, + handlers, + uuid: uniqueId, + type: embeddableType, + container: canvasApi, + core, + }), + domNode, + () => handlers.done() ); - if (embeddableService.reactEmbeddableRegistryHasKey(embeddableType)) { - /** - * Prioritize React embeddables - */ - ReactDOM.render( - renderReactEmbeddable({ - input, - handlers, - uuid: uniqueId, - type: embeddableType, - container: canvasApi, - core, - }), - domNode, - () => handlers.done() - ); - - handlers.onDestroy(() => { - handlers.onEmbeddableDestroyed(); - return ReactDOM.unmountComponentAtNode(domNode); - }); - } else if (!embeddablesRegistry[uniqueId]) { - /** - * Handle legacy embeddables - embeddable does not exist in registry - */ - const factory = Array.from(plugins.embeddable.getEmbeddableFactories()).find( - (embeddableFactory) => embeddableFactory.type === embeddableType - ) as EmbeddableFactory; - - if (!factory) { - handlers.done(); - throw new EmbeddableFactoryNotFoundError(embeddableType); - } - - const embeddableInput = { - ...input, - id: uniqueId, - executionContext: { - type: 'canvas', - }, - }; - - const embeddablePromise = input.savedObjectId - ? factory - .createFromSavedObject(input.savedObjectId, embeddableInput) - .then((embeddable) => { - // stores embeddable in registrey - embeddablesRegistry[uniqueId] = embeddable; - return embeddable; - }) - : factory.create(embeddableInput).then((embeddable) => { - if (!embeddable || isErrorEmbeddable(embeddable)) { - return; - } - // stores embeddable in registry - embeddablesRegistry[uniqueId] = embeddable as IEmbeddable; - return embeddable; - }); - embeddablesRegistry[uniqueId] = embeddablePromise as Promise; - - const embeddableObject = (await (async () => embeddablePromise)()) as IEmbeddable; - - const palettes = await plugins.charts.palettes.getPalettes(); - - embeddablesRegistry[uniqueId] = embeddableObject; - ReactDOM.unmountComponentAtNode(domNode); - - const subscription = embeddableObject.getInput$().subscribe(function (updatedInput) { - const updatedExpression = embeddableInputToExpression( - updatedInput, - embeddableType, - palettes, - isByValueEnabled - ); - - if (updatedExpression) { - handlers.onEmbeddableInputChange(updatedExpression); - } - }); - - ReactDOM.render(renderEmbeddable(embeddableObject), domNode, () => handlers.done()); - - handlers.onDestroy(() => { - subscription.unsubscribe(); - handlers.onEmbeddableDestroyed(); - - delete embeddablesRegistry[uniqueId]; - - return ReactDOM.unmountComponentAtNode(domNode); - }); - } else { - /** - * Handle legacy embeddables - embeddable already exists in registry - */ - const embeddable = embeddablesRegistry[uniqueId]; - - // updating embeddable input with changes made to expression or filters - if ('updateInput' in embeddable) { - embeddable.updateInput(input); - embeddable.reload(); - } - } + handlers.onDestroy(() => { + handlers.onEmbeddableDestroyed(); + return ReactDOM.unmountComponentAtNode(domNode); + }); }, }); }; From 4d9a70f48ebe342d2ce5183fb4b30fdeb2eaf89c Mon Sep 17 00:00:00 2001 From: Kurt Date: Tue, 10 Dec 2024 12:32:11 -0500 Subject: [PATCH 092/103] Skipping readonly/no access test for FIPS pipeline since the overrides cause it to fail (#202719) ## Summary The FIPS pipeline runs all tests as a privileged superuser, some tests that check privileges fail and should be skipped for this pipeline The FIPS pipeline runs all test with a trial license, some tests that verify premium functionality vs basic should be skipped for this pipeline ## FIPS Pipeline run for this branch https://buildkite.com/elastic/kibana-fips/builds/304 --- .../logging/rolling_file_appender.test.ts | 2 +- .../security/tests/basic/graphs/ecs.ts | 3 +- .../enrich_policies_tab.ts | 31 ++++++++++--------- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/src/core/server/integration_tests/logging/rolling_file_appender.test.ts b/src/core/server/integration_tests/logging/rolling_file_appender.test.ts index d21724be2de00..c9d2ce5a62d28 100644 --- a/src/core/server/integration_tests/logging/rolling_file_appender.test.ts +++ b/src/core/server/integration_tests/logging/rolling_file_appender.test.ts @@ -13,7 +13,7 @@ import moment from 'moment-timezone'; import { getNextRollingTime } from '@kbn/core-logging-server-internal'; import { createRoot as createkbnTestServerRoot } from '@kbn/core-test-helpers-kbn-server'; -const flushDelay = 250; +const flushDelay = 2000; const delay = (waitInMs: number) => new Promise((resolve) => setTimeout(resolve, waitInMs)); const flush = async () => delay(flushDelay); diff --git a/x-pack/test/automatic_import_api_integration/security/tests/basic/graphs/ecs.ts b/x-pack/test/automatic_import_api_integration/security/tests/basic/graphs/ecs.ts index d24a72f796d44..f55efceb3d04c 100644 --- a/x-pack/test/automatic_import_api_integration/security/tests/basic/graphs/ecs.ts +++ b/x-pack/test/automatic_import_api_integration/security/tests/basic/graphs/ecs.ts @@ -13,7 +13,8 @@ import { User } from '../../../../common/lib/authentication/types'; export default ({ getService }: FtrProviderContext): void => { const supertest = getService('supertest'); - describe('Run ecs_mapping', () => { + describe('Run ecs_mapping', function () { + this.tags('skipFIPS'); it('should get 404 when trying to run ecs_mapping with basic license', async () => { return await postEcsMapping({ supertest, diff --git a/x-pack/test/functional/apps/index_management/enrich_policies_tab/enrich_policies_tab.ts b/x-pack/test/functional/apps/index_management/enrich_policies_tab/enrich_policies_tab.ts index e74a14fe4f26b..0d090835139dd 100644 --- a/x-pack/test/functional/apps/index_management/enrich_policies_tab/enrich_policies_tab.ts +++ b/x-pack/test/functional/apps/index_management/enrich_policies_tab/enrich_policies_tab.ts @@ -100,16 +100,6 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { expect(await successToast.getVisibleText()).to.contain(`Executed ${ENRICH_POLICY_NAME}`); }); - it('read only access', async () => { - await security.testUser.setRoles(['index_management_monitor_enrich_only']); - await pageObjects.common.navigateToApp('indexManagement'); - await pageObjects.indexManagement.changeTabs('enrich_policiesTab'); - await pageObjects.header.waitUntilLoadingHasFinished(); - - await testSubjects.missingOrFail('createPolicyButton'); - await testSubjects.missingOrFail('deletePolicyButton'); - }); - it('can delete a policy', async () => { await security.testUser.setRoles(['index_management_user']); await pageObjects.common.navigateToApp('indexManagement'); @@ -129,10 +119,23 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { expect(await successToast.getVisibleText()).to.contain(`Deleted ${ENRICH_POLICY_NAME}`); }); - it('no access', async () => { - await security.testUser.setRoles(['index_management_monitor_only']); - await pageObjects.common.navigateToApp('indexManagement'); - await testSubjects.missingOrFail('enrich_policiesTab'); + describe('access', function () { + this.tags('skipFIPS'); + it('read only access', async () => { + await security.testUser.setRoles(['index_management_monitor_enrich_only']); + await pageObjects.common.navigateToApp('indexManagement'); + await pageObjects.indexManagement.changeTabs('enrich_policiesTab'); + await pageObjects.header.waitUntilLoadingHasFinished(); + + await testSubjects.missingOrFail('createPolicyButton'); + await testSubjects.missingOrFail('deletePolicyButton'); + }); + + it('no access', async () => { + await security.testUser.setRoles(['index_management_monitor_only']); + await pageObjects.common.navigateToApp('indexManagement'); + await testSubjects.missingOrFail('enrich_policiesTab'); + }); }); }); }; From 80f915f9e3454572d4992591f875b723b8a5ca7c Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Tue, 10 Dec 2024 10:38:28 -0700 Subject: [PATCH 093/103] [embeddable] remove EmbeddableRenderer and embeddable stories (#203007) PR starts cleaning up legacy embeddable components by removing EmbeddableRenderer, EmbedddableRoot, and embeddable story books. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine Co-authored-by: Anton Dosov --- .../steps/storybooks/build_and_upload.ts | 1 - src/dev/storybook/aliases.ts | 1 - .../embeddable/.storybook/decorator.tsx | 24 -- src/plugins/embeddable/.storybook/main.ts | 11 - src/plugins/embeddable/.storybook/manager.ts | 22 -- src/plugins/embeddable/.storybook/preview.tsx | 30 -- .../__stories__/embeddable_panel.stories.tsx | 279 ------------------ .../__stories__/embeddable_root.stories.tsx | 78 ----- .../__stories__/error_embeddable.stories.tsx | 43 --- .../__stories__/hello_world_embeddable.tsx | 33 --- src/plugins/embeddable/public/index.ts | 4 - .../embeddables/embeddable_renderer.test.tsx | 67 ----- .../lib/embeddables/embeddable_renderer.tsx | 165 ----------- .../lib/embeddables/embeddable_root.test.tsx | 61 ---- .../lib/embeddables/embeddable_root.tsx | 66 ----- .../lib/embeddables/error_embeddable.test.tsx | 54 ---- .../public/lib/embeddables/index.ts | 3 - src/plugins/embeddable/tsconfig.json | 5 +- .../ui_actions_enhanced_examples/kibana.jsonc | 3 +- .../public/containers/app/app.tsx | 16 +- .../drilldowns_with_embeddable_example.tsx | 30 +- .../public/embeddables/button_embeddable.tsx | 60 ++++ .../button_embeddable/button_embeddable.ts | 53 ---- .../button_embeddable_component.tsx | 28 -- .../embeddables/button_embeddable/index.ts | 8 - .../embeddables/register_button_embeddable.ts | 22 ++ .../public/mount.tsx | 2 +- .../public/plugin.ts | 11 +- .../tsconfig.json | 1 + 29 files changed, 116 insertions(+), 1065 deletions(-) delete mode 100644 src/plugins/embeddable/.storybook/decorator.tsx delete mode 100644 src/plugins/embeddable/.storybook/main.ts delete mode 100644 src/plugins/embeddable/.storybook/manager.ts delete mode 100644 src/plugins/embeddable/.storybook/preview.tsx delete mode 100644 src/plugins/embeddable/public/__stories__/embeddable_panel.stories.tsx delete mode 100644 src/plugins/embeddable/public/__stories__/embeddable_root.stories.tsx delete mode 100644 src/plugins/embeddable/public/__stories__/error_embeddable.stories.tsx delete mode 100644 src/plugins/embeddable/public/__stories__/hello_world_embeddable.tsx delete mode 100644 src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.test.tsx delete mode 100644 src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.tsx delete mode 100644 src/plugins/embeddable/public/lib/embeddables/embeddable_root.test.tsx delete mode 100644 src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx delete mode 100644 src/plugins/embeddable/public/lib/embeddables/error_embeddable.test.tsx create mode 100644 x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable.tsx delete mode 100644 x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable/button_embeddable.ts delete mode 100644 x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable/button_embeddable_component.tsx delete mode 100644 x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable/index.ts create mode 100644 x-pack/examples/ui_actions_enhanced_examples/public/embeddables/register_button_embeddable.ts diff --git a/.buildkite/scripts/steps/storybooks/build_and_upload.ts b/.buildkite/scripts/steps/storybooks/build_and_upload.ts index b1135490a2023..52aaa7e087a09 100644 --- a/.buildkite/scripts/steps/storybooks/build_and_upload.ts +++ b/.buildkite/scripts/steps/storybooks/build_and_upload.ts @@ -26,7 +26,6 @@ const STORYBOOKS = [ 'dashboard_enhanced', 'dashboard', 'data', - 'embeddable', 'esql_editor', 'expression_error', 'expression_image', diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index c89df73f1b877..1d3ec990948a9 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -29,7 +29,6 @@ export const storybookAliases = { dashboard: 'src/plugins/dashboard/.storybook', data: 'src/plugins/data/.storybook', discover: 'src/plugins/discover/.storybook', - embeddable: 'src/plugins/embeddable/.storybook', esql_ast_inspector: 'examples/esql_ast_inspector/.storybook', es_ui_shared: 'src/plugins/es_ui_shared/.storybook', expandable_flyout: 'packages/kbn-expandable-flyout/.storybook', diff --git a/src/plugins/embeddable/.storybook/decorator.tsx b/src/plugins/embeddable/.storybook/decorator.tsx deleted file mode 100644 index 936050352d22a..0000000000000 --- a/src/plugins/embeddable/.storybook/decorator.tsx +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", 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 React from 'react'; - -import { DecoratorFn } from '@storybook/react'; -import { I18nProvider } from '@kbn/i18n-react'; -import { EuiThemeProvider } from '@kbn/kibana-react-plugin/common'; - -export const servicesContextDecorator: DecoratorFn = (story, { globals }) => { - const darkMode = ['v8.dark', 'v7.dark'].includes(globals.euiTheme); - - return ( - - {story()} - - ); -}; diff --git a/src/plugins/embeddable/.storybook/main.ts b/src/plugins/embeddable/.storybook/main.ts deleted file mode 100644 index 02a7d1b2dd5e3..0000000000000 --- a/src/plugins/embeddable/.storybook/main.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -// eslint-disable-next-line import/no-default-export -export { defaultConfig as default } from '@kbn/storybook'; diff --git a/src/plugins/embeddable/.storybook/manager.ts b/src/plugins/embeddable/.storybook/manager.ts deleted file mode 100644 index b28080883ec14..0000000000000 --- a/src/plugins/embeddable/.storybook/manager.ts +++ /dev/null @@ -1,22 +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 { addons } from '@storybook/addons'; -import { create } from '@storybook/theming'; -import { PANEL_ID } from '@storybook/addon-actions'; - -addons.setConfig({ - theme: create({ - base: 'light', - brandTitle: 'Kibana Embeddable Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/embeddable', - }), - showPanel: true.valueOf, - selectedPanel: PANEL_ID, -}); diff --git a/src/plugins/embeddable/.storybook/preview.tsx b/src/plugins/embeddable/.storybook/preview.tsx deleted file mode 100644 index 4ddf9e5080d29..0000000000000 --- a/src/plugins/embeddable/.storybook/preview.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", 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 React from 'react'; -import { addDecorator } from '@storybook/react'; -import { Title, Subtitle, Description, Primary, Stories } from '@storybook/addon-docs/blocks'; - -import { servicesContextDecorator } from './decorator'; - -addDecorator(servicesContextDecorator); - -export const parameters = { - docs: { - page: () => ( - <> - - <Subtitle /> - <Description /> - <Primary /> - <Stories /> - </> - ), - }, -}; diff --git a/src/plugins/embeddable/public/__stories__/embeddable_panel.stories.tsx b/src/plugins/embeddable/public/__stories__/embeddable_panel.stories.tsx deleted file mode 100644 index bcb0af1cf9064..0000000000000 --- a/src/plugins/embeddable/public/__stories__/embeddable_panel.stories.tsx +++ /dev/null @@ -1,279 +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 React, { - forwardRef, - useCallback, - useContext, - useEffect, - useImperativeHandle, - useMemo, - useRef, -} from 'react'; -import { ReplaySubject } from 'rxjs'; -import { ThemeContext } from '@emotion/react'; -import { DecoratorFn, Meta } from '@storybook/react'; -import { action } from '@storybook/addon-actions'; -import { EuiEmptyPrompt, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; -import { CoreTheme } from '@kbn/core-theme-browser'; -import type { Action } from '@kbn/ui-actions-plugin/public'; - -import { CONTEXT_MENU_TRIGGER, EmbeddablePanel, PANEL_BADGE_TRIGGER, ViewMode } from '..'; -import { actions } from '../store'; -import { HelloWorldEmbeddable } from './hello_world_embeddable'; - -const layout: DecoratorFn = (story) => { - return ( - <EuiFlexGroup direction="row" justifyContent="center"> - <EuiFlexItem grow={false} style={{ height: 300, width: 500 }}> - {story()} - </EuiFlexItem> - </EuiFlexGroup> - ); -}; - -export default { - title: 'components/EmbeddablePanel', - argTypes: { - hideHeader: { - name: 'Hide Header', - control: { type: 'boolean' }, - }, - loading: { - name: 'Loading', - control: { type: 'boolean' }, - }, - showShadow: { - name: 'Show Shadow', - control: { type: 'boolean' }, - }, - title: { - name: 'Title', - control: { type: 'text' }, - }, - viewMode: { - name: 'View Mode', - control: { type: 'boolean' }, - }, - }, - decorators: [layout], -} as Meta; - -interface HelloWorldEmbeddablePanelProps { - getActions?(type: string): Promise<Action[]>; - hideHeader: boolean; - loading: boolean; - showShadow: boolean; - showBorder: boolean; - title: string; - viewMode: boolean; -} - -const HelloWorldEmbeddablePanel = forwardRef< - { embeddable: HelloWorldEmbeddable }, - HelloWorldEmbeddablePanelProps ->( - ( - { - getActions, - hideHeader, - loading, - showShadow, - showBorder, - title, - viewMode, - }: HelloWorldEmbeddablePanelProps, - ref - ) => { - const embeddable = useMemo(() => new HelloWorldEmbeddable({ id: `${Math.random()}` }, {}), []); - const theme$ = useMemo(() => new ReplaySubject<CoreTheme>(1), []); - const theme = useContext(ThemeContext) as CoreTheme; - - useEffect(() => theme$.next(theme), [theme$, theme]); - useEffect(() => { - embeddable.store.dispatch(actions.input.setTitle(title)); - }, [embeddable.store, title]); - useEffect(() => { - embeddable.store.dispatch( - actions.input.setViewMode(viewMode ? ViewMode.VIEW : ViewMode.EDIT) - ); - }, [embeddable.store, viewMode]); - useEffect( - () => void embeddable.store.dispatch(actions.output.setLoading(loading)), - [embeddable, loading] - ); - useImperativeHandle(ref, () => ({ embeddable })); - - return ( - <EmbeddablePanel - embeddable={embeddable} - getActions={getActions} - hideHeader={hideHeader} - showShadow={showShadow} - showBorder={showBorder} - /> - ); - } -); - -export const Default = HelloWorldEmbeddablePanel as Meta<HelloWorldEmbeddablePanelProps>; - -Default.args = { - hideHeader: false, - loading: false, - showShadow: false, - showBorder: false, - title: 'Hello World', - viewMode: true, -}; - -interface DefaultWithBadgesProps extends HelloWorldEmbeddablePanelProps { - badges: string[]; -} - -export function DefaultWithBadges({ badges, ...props }: DefaultWithBadgesProps) { - const getActions = useCallback( - async (type: string) => { - switch (type) { - case PANEL_BADGE_TRIGGER: - return ( - badges?.map<Action>((badge, id) => ({ - execute: async (...args) => action(`onClick(${badge})`)(...args), - getDisplayName: () => badge, - getIconType: () => ['help', 'search', undefined][id % 3], - id: `${id}`, - isCompatible: async () => true, - type: '', - })) ?? [] - ); - default: - return []; - } - }, - [badges] - ); - const ref = useRef<React.ComponentRef<typeof HelloWorldEmbeddablePanel>>(null); - - useEffect( - () => - void ref.current?.embeddable.store.dispatch( - actions.input.setLastReloadRequestTime(new Date().getMilliseconds()) - ), - [getActions] - ); - - return <HelloWorldEmbeddablePanel ref={ref} {...props} getActions={getActions} />; -} - -DefaultWithBadges.args = { - ...Default.args, - badges: ['Help', 'Search', 'Something'], -}; - -DefaultWithBadges.argTypes = { - badges: { name: 'Badges' }, -}; - -interface DefaultWithContextMenuProps extends HelloWorldEmbeddablePanelProps { - items: string[]; -} - -export function DefaultWithContextMenu({ items, ...props }: DefaultWithContextMenuProps) { - const getActions = useCallback( - async (type: string) => { - switch (type) { - case CONTEXT_MENU_TRIGGER: - return ( - items?.map<Action>((item, id) => ({ - execute: async (...args) => action(`onClick(${item})`)(...args), - getDisplayName: () => item, - getIconType: () => ['help', 'search', undefined][id % 3], - id: `${id}`, - isCompatible: async () => true, - type: '', - })) ?? [] - ); - default: - return []; - } - }, - [items] - ); - const ref = useRef<React.ComponentRef<typeof HelloWorldEmbeddablePanel>>(null); - - useEffect( - () => - void ref.current?.embeddable.store.dispatch( - actions.input.setLastReloadRequestTime(new Date().getMilliseconds()) - ), - [getActions] - ); - - return <HelloWorldEmbeddablePanel ref={ref} {...props} getActions={getActions} />; -} - -DefaultWithContextMenu.args = { - ...Default.args, - items: ['Help', 'Search', 'Something'], -}; - -DefaultWithContextMenu.argTypes = { - items: { name: 'Context Menu Items' }, -}; - -interface DefaultWithErrorProps extends HelloWorldEmbeddablePanelProps { - message: string; -} - -export function DefaultWithError({ message, ...props }: DefaultWithErrorProps) { - const ref = useRef<React.ComponentRef<typeof HelloWorldEmbeddablePanel>>(null); - - useEffect( - () => void ref.current?.embeddable.store.dispatch(actions.output.setError(new Error(message))), - [message] - ); - - return <HelloWorldEmbeddablePanel ref={ref} {...props} />; -} - -DefaultWithError.args = { - ...Default.args, - message: 'Something went wrong', -}; - -DefaultWithError.argTypes = { - message: { name: 'Message', control: { type: 'text' } }, -}; - -export function DefaultWithCustomError({ message, ...props }: DefaultWithErrorProps) { - const ref = useRef<React.ComponentRef<typeof HelloWorldEmbeddablePanel>>(null); - - useEffect(() => { - if (ref.current) { - ref.current.embeddable.catchError = (error) => { - return <EuiEmptyPrompt iconColor="warning" iconType="bug" body={error.message} />; - }; - } - }, []); - useEffect( - () => void ref.current?.embeddable.store.dispatch(actions.output.setError(new Error(message))), - [message] - ); - - return <HelloWorldEmbeddablePanel ref={ref} {...props} />; -} - -DefaultWithCustomError.args = { - ...Default.args, - message: 'Something went wrong', -}; - -DefaultWithCustomError.argTypes = { - message: { name: 'Message', control: { type: 'text' } }, -}; diff --git a/src/plugins/embeddable/public/__stories__/embeddable_root.stories.tsx b/src/plugins/embeddable/public/__stories__/embeddable_root.stories.tsx deleted file mode 100644 index 8a6addb0a3685..0000000000000 --- a/src/plugins/embeddable/public/__stories__/embeddable_root.stories.tsx +++ /dev/null @@ -1,78 +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 React, { useMemo } from 'react'; -import { DecoratorFn, Meta } from '@storybook/react'; -import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; - -import { EmbeddableInput, EmbeddableRoot } from '..'; -import { HelloWorldEmbeddable } from './hello_world_embeddable'; - -const layout: DecoratorFn = (story) => { - return ( - <EuiFlexGroup direction="row" justifyContent="center"> - <EuiFlexItem grow={false} style={{ height: 300, width: 500 }}> - {story()} - </EuiFlexItem> - </EuiFlexGroup> - ); -}; - -export default { - title: 'components/EmbeddableRoot', - argTypes: { - loading: { - name: 'Loading', - control: { type: 'boolean' }, - }, - title: { - name: 'Title', - control: { type: 'text' }, - }, - }, - decorators: [layout], -} as Meta; - -interface DefaultProps { - error?: string; - loading?: boolean; - title: string; -} - -export function Default({ title, ...props }: DefaultProps) { - const id = useMemo(() => `${Math.random()}`, []); - const input = useMemo<EmbeddableInput>( - () => ({ - id, - title, - lastReloadRequestTime: new Date().getMilliseconds(), - }), - [id, title] - ); - // eslint-disable-next-line react-hooks/exhaustive-deps - const embeddable = useMemo(() => new HelloWorldEmbeddable(input, {}), []); - - return <EmbeddableRoot {...props} embeddable={embeddable} input={input} />; -} - -Default.args = { - title: 'Hello World', - loading: false, -}; - -export const DefaultWithError = Default.bind({}) as Meta<DefaultProps>; - -DefaultWithError.args = { - ...Default.args, - error: 'Something went wrong', -}; - -DefaultWithError.argTypes = { - error: { name: 'Error', control: { type: 'text' } }, -}; diff --git a/src/plugins/embeddable/public/__stories__/error_embeddable.stories.tsx b/src/plugins/embeddable/public/__stories__/error_embeddable.stories.tsx deleted file mode 100644 index ebd388e3d31c2..0000000000000 --- a/src/plugins/embeddable/public/__stories__/error_embeddable.stories.tsx +++ /dev/null @@ -1,43 +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 { useEffect, useMemo } from 'react'; -import { Meta } from '@storybook/react'; - -import { ErrorEmbeddable } from '..'; - -export default { - title: 'components/ErrorEmbeddable', - argTypes: { - message: { - name: 'Message', - control: { type: 'text' }, - }, - }, -} as Meta; - -interface ErrorEmbeddableWrapperProps { - message: string; -} - -function ErrorEmbeddableWrapper({ message }: ErrorEmbeddableWrapperProps) { - const embeddable = useMemo( - () => new ErrorEmbeddable(message, { id: `${Math.random()}` }, undefined), - [message] - ); - useEffect(() => () => embeddable.destroy(), [embeddable]); - - return embeddable.render(); -} - -export const Default = ErrorEmbeddableWrapper as Meta<ErrorEmbeddableWrapperProps>; - -Default.args = { - message: 'Something went wrong', -}; diff --git a/src/plugins/embeddable/public/__stories__/hello_world_embeddable.tsx b/src/plugins/embeddable/public/__stories__/hello_world_embeddable.tsx deleted file mode 100644 index ef19adedde943..0000000000000 --- a/src/plugins/embeddable/public/__stories__/hello_world_embeddable.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", 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 React from 'react'; -import { connect, Provider } from 'react-redux'; -import { EuiEmptyPrompt } from '@elastic/eui'; -import { Embeddable } from '..'; -import { createStore, State } from '../store'; - -export class HelloWorldEmbeddable extends Embeddable { - // eslint-disable-next-line @kbn/eslint/no_this_in_property_initializers - readonly store = createStore(this); - - readonly type = 'hello-world'; - - reload() {} - - render() { - const HelloWorld = connect((state: State) => ({ body: state.input.title }))(EuiEmptyPrompt); - - return ( - <Provider store={this.store}> - <HelloWorld /> - </Provider> - ); - } -} diff --git a/src/plugins/embeddable/public/index.ts b/src/plugins/embeddable/public/index.ts index 25a25b2447146..19d3bd76c1a77 100644 --- a/src/plugins/embeddable/public/index.ts +++ b/src/plugins/embeddable/public/index.ts @@ -22,8 +22,6 @@ export { defaultEmbeddableFactoryProvider, Embeddable, EmbeddableFactoryNotFoundError, - EmbeddableRenderer, - EmbeddableRoot, EmbeddableStateTransfer, ErrorEmbeddable, genericEmbeddableInputIsEqual, @@ -52,7 +50,6 @@ export { SELECT_RANGE_TRIGGER, shouldFetch$, shouldRefreshFilterCompareOptions, - useEmbeddableFactory, VALUE_CLICK_TRIGGER, ViewMode, withEmbeddableSubscription, @@ -72,7 +69,6 @@ export type { EmbeddableInstanceConfiguration, EmbeddableOutput, EmbeddablePackageState, - EmbeddableRendererProps, FilterableEmbeddable, IContainer, IEmbeddable, diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.test.tsx b/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.test.tsx deleted file mode 100644 index a7a6fab89973c..0000000000000 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.test.tsx +++ /dev/null @@ -1,67 +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 React from 'react'; -import { waitFor } from '@testing-library/react'; -import { render, renderHook } from '@testing-library/react'; -import { - HelloWorldEmbeddable, - HelloWorldEmbeddableFactoryDefinition, - HELLO_WORLD_EMBEDDABLE, -} from '../../tests/fixtures'; -import { EmbeddableRenderer, useEmbeddableFactory } from './embeddable_renderer'; -import { embeddablePluginMock } from '../../mocks'; - -describe('useEmbeddableFactory', () => { - it('should update upstream value changes', async () => { - const { setup, doStart } = embeddablePluginMock.createInstance(); - const getFactory = setup.registerEmbeddableFactory( - HELLO_WORLD_EMBEDDABLE, - new HelloWorldEmbeddableFactoryDefinition() - ); - doStart(); - - const { result } = renderHook(() => - useEmbeddableFactory({ factory: getFactory(), input: { id: 'hello' } }) - ); - - const [, loading] = result.current; - - expect(loading).toBe(true); - - await waitFor(() => { - const [embeddable] = result.current; - expect(embeddable).toBeDefined(); - }); - }); -}); - -describe('<EmbeddableRenderer/>', () => { - test('Render embeddable', () => { - const embeddable = new HelloWorldEmbeddable({ id: 'hello' }); - const { getByTestId } = render(<EmbeddableRenderer embeddable={embeddable} />); - expect(getByTestId('helloWorldEmbeddable')).toBeInTheDocument(); - }); - - test('Render factory', async () => { - const { setup, doStart } = embeddablePluginMock.createInstance(); - const getFactory = setup.registerEmbeddableFactory( - HELLO_WORLD_EMBEDDABLE, - new HelloWorldEmbeddableFactoryDefinition() - ); - doStart(); - - const { getByTestId, queryByTestId } = render( - <EmbeddableRenderer factory={getFactory()} input={{ id: 'hello' }} /> - ); - expect(getByTestId('embedSpinner')).toBeInTheDocument(); - await waitFor(() => !queryByTestId('embedSpinner')); // wait until spinner disappears - expect(getByTestId('helloWorldEmbeddable')).toBeInTheDocument(); - }); -}); diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.tsx b/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.tsx deleted file mode 100644 index 14a064827e260..0000000000000 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.tsx +++ /dev/null @@ -1,165 +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 React, { useEffect, useState } from 'react'; -import { EmbeddableInput, IEmbeddable } from './i_embeddable'; -import { EmbeddableRoot } from './embeddable_root'; -import { EmbeddableFactory } from './embeddable_factory'; -import { ErrorEmbeddable } from './error_embeddable'; -import { isErrorEmbeddable } from './is_error_embeddable'; - -/** - * This type is a publicly exposed props of {@link EmbeddableRenderer} - * Union is used to validate that or factory or embeddable is passed in, but it can't be both simultaneously - * In case when embeddable is passed in, input is optional, because there is already an input inside of embeddable object - * In case when factory is used, then input is required, because it will be used as initial input to create an embeddable object - */ -export type EmbeddableRendererProps<I extends EmbeddableInput> = - | EmbeddableRendererPropsWithEmbeddable<I> - | EmbeddableRendererWithFactory<I>; - -interface EmbeddableRendererPropsWithEmbeddable<I extends EmbeddableInput> { - input?: I; - onInputUpdated?: (newInput: I) => void; - embeddable: IEmbeddable<I>; -} - -interface EmbeddableRendererWithFactory<I extends EmbeddableInput> { - input: I; - onInputUpdated?: (newInput: I) => void; - factory: EmbeddableFactory<I>; -} - -function isWithFactory<I extends EmbeddableInput>( - props: EmbeddableRendererProps<I> -): props is EmbeddableRendererWithFactory<I> { - return 'factory' in props; -} - -export function useEmbeddableFactory<I extends EmbeddableInput>({ - input, - factory, - onInputUpdated, -}: EmbeddableRendererWithFactory<I>) { - const [embeddable, setEmbeddable] = useState<IEmbeddable<I> | ErrorEmbeddable | undefined>( - undefined - ); - const [loading, setLoading] = useState<boolean>(false); - const [error, setError] = useState<string | undefined>(); - const latestInput = React.useRef(input); - useEffect(() => { - latestInput.current = input; - }, [input]); - - useEffect(() => { - let canceled = false; - - // keeping track of embeddables created by this component to be able to destroy them - let createdEmbeddableRef: IEmbeddable | ErrorEmbeddable | undefined; - setEmbeddable(undefined); - setLoading(true); - factory - .create(latestInput.current!) - .then((createdEmbeddable) => { - if (canceled) { - if (createdEmbeddable) { - createdEmbeddable.destroy(); - } - } else { - createdEmbeddableRef = createdEmbeddable; - setEmbeddable(createdEmbeddable); - } - }) - .catch((err) => { - if (canceled) return; - setError(err?.message); - }) - .finally(() => { - if (canceled) return; - setLoading(false); - }); - - return () => { - canceled = true; - if (createdEmbeddableRef) { - createdEmbeddableRef.destroy(); - } - }; - }, [factory]); - - useEffect(() => { - if (!embeddable) return; - if (isErrorEmbeddable(embeddable)) return; - if (!onInputUpdated) return; - const sub = embeddable.getInput$().subscribe((newInput) => { - onInputUpdated(newInput); - }); - return () => { - sub.unsubscribe(); - }; - }, [embeddable, onInputUpdated]); - - return [embeddable, loading, error] as const; -} - -/** - * Helper react component to render an embeddable - * Can be used if you have an embeddable object or an embeddable factory - * Supports updating input by passing `input` prop - * - * @remarks - * This component shouldn't be used inside an embeddable container to render embeddable children - * because children may lose inherited input, here is why: - * - * When passing `input` inside a prop, internally there is a call: - * - * ```ts - * embeddable.updateInput(input); - * ``` - * If you are simply rendering an embeddable, it's no problem. - * - * However when you are dealing with containers, - * you want to be sure to only pass into updateInput the actual state that changed. - * This is because calling child.updateInput({ foo }) will make foo explicit state. - * It cannot be inherited from it's parent. - * - * For example, on a dashboard, the time range is inherited by all children, - * unless they had their time range set explicitly. - * This is how "per panel time range" works. - * That action calls embeddable.updateInput({ timeRange }), - * and the time range will no longer be inherited from the container. - * - * see: https://github.com/elastic/kibana/pull/67783#discussion_r435447657 for more details. - * refer to: examples/embeddable_explorer for examples with correct usage of this component. - * - * @public - * @param props - {@link EmbeddableRendererProps} - */ -export const EmbeddableRenderer = <I extends EmbeddableInput>( - props: EmbeddableRendererProps<I> -) => { - if (isWithFactory(props)) { - return <EmbeddableByFactory {...props} />; - } - return <EmbeddableRoot embeddable={props.embeddable} input={props.input} />; -}; - -// -const EmbeddableByFactory = <I extends EmbeddableInput>({ - factory, - input, - onInputUpdated, -}: EmbeddableRendererWithFactory<I>) => { - const [embeddable, loading, error] = useEmbeddableFactory({ - factory, - input, - onInputUpdated, - }); - return <EmbeddableRoot embeddable={embeddable} loading={loading} error={error} input={input} />; -}; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_root.test.tsx b/src/plugins/embeddable/public/lib/embeddables/embeddable_root.test.tsx deleted file mode 100644 index 65e23b01f0b8c..0000000000000 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_root.test.tsx +++ /dev/null @@ -1,61 +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 React from 'react'; -import { HelloWorldEmbeddable, HelloWorldEmbeddableReact } from '../../tests/fixtures'; -import { EmbeddableRoot } from './embeddable_root'; -import { mount } from 'enzyme'; -import { findTestSubject } from '@elastic/eui/lib/test'; - -test('EmbeddableRoot renders an embeddable', async () => { - const embeddable = new HelloWorldEmbeddable({ id: 'hello' }); - const component = mount(<EmbeddableRoot embeddable={embeddable} />); - // Due to the way embeddables mount themselves on the dom node, they are not forced to be - // react components, and hence, we can't use the usual - // findTestSubject. - expect( - component.getDOMNode().querySelectorAll('[data-test-subj="helloWorldEmbeddable"]').length - ).toBe(1); - expect(findTestSubject(component, 'embedSpinner').length).toBe(0); - expect(findTestSubject(component, 'embedError').length).toBe(0); -}); - -test('EmbeddableRoot renders a React-based embeddable', async () => { - const embeddable = new HelloWorldEmbeddableReact({ id: 'hello' }); - const component = mount(<EmbeddableRoot embeddable={embeddable} />); - - expect(component.find('[data-test-subj="helloWorldEmbeddable"]')).toHaveLength(1); -}); - -test('EmbeddableRoot updates input', async () => { - const embeddable = new HelloWorldEmbeddable({ id: 'hello' }); - const component = mount(<EmbeddableRoot embeddable={embeddable} />); - const spy = jest.spyOn(embeddable, 'updateInput'); - const newInput = { id: 'hello', something: 'new' }; - component.setProps({ embeddable, input: newInput }); - expect(spy).toHaveBeenCalledWith(newInput); -}); - -test('EmbeddableRoot renders a spinner if loading an no embeddable given', async () => { - const component = mount(<EmbeddableRoot loading={true} />); - // Due to the way embeddables mount themselves on the dom node, they are not forced to be - // react components, and hence, we can't use the usual - // findTestSubject. - expect(findTestSubject(component, 'embedSpinner').length).toBe(1); - expect(findTestSubject(component, 'embedError').length).toBe(0); -}); - -test('EmbeddableRoot renders an error if given with no embeddable', async () => { - const component = mount(<EmbeddableRoot error="bad" />); - // Due to the way embeddables mount themselves on the dom node, they are not forced to be - // react components, and hence, we can't use the usual - // findTestSubject. - expect(findTestSubject(component, 'embedError').length).toBe(1); - expect(findTestSubject(component, 'embedSpinner').length).toBe(0); -}); diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx b/src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx deleted file mode 100644 index 30d795aa8b42a..0000000000000 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx +++ /dev/null @@ -1,66 +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 React, { ReactNode, useCallback, useEffect, useRef, useState } from 'react'; -import { EuiLoadingSpinner } from '@elastic/eui'; -import { EuiText } from '@elastic/eui'; -import { isPromise } from '@kbn/std'; -import { MaybePromise } from '@kbn/utility-types'; -import { EmbeddableInput, EmbeddableOutput, IEmbeddable } from './i_embeddable'; -import { EmbeddableErrorHandler } from './embeddable_error_handler'; - -interface Props { - embeddable?: IEmbeddable<EmbeddableInput, EmbeddableOutput, MaybePromise<ReactNode>>; - loading?: boolean; - error?: string; - input?: EmbeddableInput; -} - -export const EmbeddableRoot: React.FC<Props> = ({ embeddable, loading, error, input }) => { - const [node, setNode] = useState<ReactNode | undefined>(); - const [embeddableHasMounted, setEmbeddableHasMounted] = useState(false); - const rootRef = useRef<HTMLDivElement | null>(null); - - const updateNode = useCallback((newNode: MaybePromise<ReactNode>) => { - if (isPromise(newNode)) { - newNode.then(updateNode); - return; - } - - setNode(newNode); - }, []); - - useEffect(() => { - if (!rootRef.current || !embeddable) { - return; - } - - setEmbeddableHasMounted(true); - updateNode(embeddable.render(rootRef.current) ?? undefined); - embeddable.render(rootRef.current); - }, [updateNode, embeddable]); - - useEffect(() => { - if (input && embeddable && embeddableHasMounted) { - embeddable.updateInput(input); - } - }, [input, embeddable, embeddableHasMounted]); - - return ( - <> - <div ref={rootRef}>{node}</div> - {loading && <EuiLoadingSpinner data-test-subj="embedSpinner" />} - {error && ( - <EmbeddableErrorHandler embeddable={embeddable} error={error}> - {({ message }) => <EuiText data-test-subj="embedError">{message}</EuiText>} - </EmbeddableErrorHandler> - )} - </> - ); -}; diff --git a/src/plugins/embeddable/public/lib/embeddables/error_embeddable.test.tsx b/src/plugins/embeddable/public/lib/embeddables/error_embeddable.test.tsx deleted file mode 100644 index 77ed3a1bc2f1d..0000000000000 --- a/src/plugins/embeddable/public/lib/embeddables/error_embeddable.test.tsx +++ /dev/null @@ -1,54 +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 React from 'react'; -import { setStubKibanaServices as setPresentationPanelMocks } from '@kbn/presentation-panel-plugin/public/mocks'; -import { waitFor, render } from '@testing-library/react'; -import { ErrorEmbeddable } from './error_embeddable'; -import { EmbeddableRoot } from './embeddable_root'; - -test('ErrorEmbeddable renders an embeddable', async () => { - setPresentationPanelMocks(); - const embeddable = new ErrorEmbeddable('some error occurred', { id: '123', title: 'Error' }); - const { getByTestId, getByText } = render(<EmbeddableRoot embeddable={embeddable} />); - - expect(getByTestId('embeddableStackError')).toBeVisible(); - await waitFor(() => getByTestId('errorMessageMarkdown')); // wait for lazy markdown component - expect(getByText(/some error occurred/i)).toBeVisible(); -}); - -test('ErrorEmbeddable renders an embeddable with markdown message', async () => { - setPresentationPanelMocks(); - const error = '[some link](http://localhost:5601/takeMeThere)'; - const embeddable = new ErrorEmbeddable(error, { id: '123', title: 'Error' }); - const { getByTestId, getByText } = render(<EmbeddableRoot embeddable={embeddable} />); - - expect(getByTestId('embeddableStackError')).toBeVisible(); - await waitFor(() => getByTestId('errorMessageMarkdown')); // wait for lazy markdown component - expect(getByText(/some link/i)).toMatchInlineSnapshot(` - <a - class="euiLink emotion-euiLink-primary" - href="http://localhost:5601/takeMeThere" - rel="noopener noreferrer" - target="_blank" - > - some link - <span - class="emotion-EuiExternalLinkIcon" - data-euiicon-type="popout" - role="presentation" - /> - <span - class="emotion-euiScreenReaderOnly" - > - (external, opens in a new tab or window) - </span> - </a> - `); -}); diff --git a/src/plugins/embeddable/public/lib/embeddables/index.ts b/src/plugins/embeddable/public/lib/embeddables/index.ts index 9e606efacaf13..92cd977d1f3d4 100644 --- a/src/plugins/embeddable/public/lib/embeddables/index.ts +++ b/src/plugins/embeddable/public/lib/embeddables/index.ts @@ -14,9 +14,6 @@ export { Embeddable } from './embeddable'; export { EmbeddableErrorHandler } from './embeddable_error_handler'; export * from './embeddable_factory'; export * from './embeddable_factory_definition'; -export { EmbeddableRenderer, useEmbeddableFactory } from './embeddable_renderer'; -export type { EmbeddableRendererProps } from './embeddable_renderer'; -export { EmbeddableRoot } from './embeddable_root'; export { ErrorEmbeddable } from './error_embeddable'; export { isErrorEmbeddable } from './is_error_embeddable'; export { isEmbeddable } from './is_embeddable'; diff --git a/src/plugins/embeddable/tsconfig.json b/src/plugins/embeddable/tsconfig.json index 161b35bc716ea..c3b5925e33233 100644 --- a/src/plugins/embeddable/tsconfig.json +++ b/src/plugins/embeddable/tsconfig.json @@ -3,19 +3,16 @@ "compilerOptions": { "outDir": "target/types" }, - "include": ["*.ts", ".storybook/**/*", "common/**/*", "public/**/*", "server/**/*"], + "include": ["*.ts", "common/**/*", "public/**/*", "server/**/*"], "kbn_references": [ "@kbn/core", "@kbn/inspector-plugin", "@kbn/saved-objects-plugin", "@kbn/kibana-utils-plugin", - "@kbn/kibana-react-plugin", "@kbn/ui-actions-plugin", "@kbn/i18n-react", - "@kbn/storybook", "@kbn/utility-types", "@kbn/es-query", - "@kbn/core-theme-browser", "@kbn/i18n", "@kbn/std", "@kbn/expressions-plugin", diff --git a/x-pack/examples/ui_actions_enhanced_examples/kibana.jsonc b/x-pack/examples/ui_actions_enhanced_examples/kibana.jsonc index 25211ae2063bd..19e73f0204d6f 100644 --- a/x-pack/examples/ui_actions_enhanced_examples/kibana.jsonc +++ b/x-pack/examples/ui_actions_enhanced_examples/kibana.jsonc @@ -21,7 +21,8 @@ "dashboard", "dashboardEnhanced", "developerExamples", - "unifiedSearch" + "unifiedSearch", + "embeddable", ], "requiredBundles": [ "dashboardEnhanced", diff --git a/x-pack/examples/ui_actions_enhanced_examples/public/containers/app/app.tsx b/x-pack/examples/ui_actions_enhanced_examples/public/containers/app/app.tsx index cbfda603c8ec4..97d281d51fba6 100644 --- a/x-pack/examples/ui_actions_enhanced_examples/public/containers/app/app.tsx +++ b/x-pack/examples/ui_actions_enhanced_examples/public/containers/app/app.tsx @@ -7,15 +7,19 @@ import React from 'react'; import { EuiPage } from '@elastic/eui'; +import { CoreStart } from '@kbn/core/public'; +import { KibanaRenderContextProvider } from '@kbn/react-kibana-context-render'; import { Page } from '../../components/page'; import { DrilldownsManager } from '../drilldowns_manager'; -export const App: React.FC = () => { +export const App = ({ core }: { core: CoreStart }) => { return ( - <EuiPage> - <Page title={'UI Actions Enhanced'}> - <DrilldownsManager /> - </Page> - </EuiPage> + <KibanaRenderContextProvider i18n={core.i18n} theme={core.theme}> + <EuiPage> + <Page title={'UI Actions Enhanced'}> + <DrilldownsManager /> + </Page> + </EuiPage> + </KibanaRenderContextProvider> ); }; diff --git a/x-pack/examples/ui_actions_enhanced_examples/public/containers/drilldowns_with_embeddable_example/drilldowns_with_embeddable_example.tsx b/x-pack/examples/ui_actions_enhanced_examples/public/containers/drilldowns_with_embeddable_example/drilldowns_with_embeddable_example.tsx index 4ca214aa2cff4..b7a437b3d69d2 100644 --- a/x-pack/examples/ui_actions_enhanced_examples/public/containers/drilldowns_with_embeddable_example/drilldowns_with_embeddable_example.tsx +++ b/x-pack/examples/ui_actions_enhanced_examples/public/containers/drilldowns_with_embeddable_example/drilldowns_with_embeddable_example.tsx @@ -18,29 +18,12 @@ import { EuiFlexItem, EuiFlexGroup, } from '@elastic/eui'; -import { EmbeddableRoot, VALUE_CLICK_TRIGGER } from '@kbn/embeddable-plugin/public'; -import { SampleMlJob, SampleApp1ClickContext } from '../../triggers'; -import { ButtonEmbeddable } from '../../embeddables/button_embeddable'; +import { ReactEmbeddableRenderer, VALUE_CLICK_TRIGGER } from '@kbn/embeddable-plugin/public'; import { useUiActions } from '../../context'; - -export const job: SampleMlJob = { - job_id: '123', - job_type: 'anomaly_detector', - description: 'This is some ML job.', -}; - -export const context: SampleApp1ClickContext = { job }; +import { BUTTON_EMBEDDABLE } from '../../embeddables/register_button_embeddable'; export const DrilldownsWithEmbeddableExample: React.FC = () => { const { plugins, managerWithEmbeddable } = useUiActions(); - const embeddable = React.useMemo( - () => - new ButtonEmbeddable( - { id: 'DrilldownsWithEmbeddableExample' }, - { uiActions: plugins.uiActionsEnhanced } - ), - [plugins.uiActionsEnhanced] - ); const [showManager, setShowManager] = React.useState(false); const [openPopup, setOpenPopup] = React.useState(false); const viewRef = React.useRef<'/create' | '/manage'>('/create'); @@ -112,7 +95,13 @@ export const DrilldownsWithEmbeddableExample: React.FC = () => { <EuiFlexItem grow={false}>{openManagerButton}</EuiFlexItem> <EuiFlexItem grow={false}> <div style={{ maxWidth: 200 }}> - <EmbeddableRoot embeddable={embeddable} /> + <ReactEmbeddableRenderer<{}, {}> + type={BUTTON_EMBEDDABLE} + getParentApi={() => ({ + getSerializedStateForChild: () => undefined, + })} + hidePanelChrome={true} + /> </div> </EuiFlexItem> </EuiFlexGroup> @@ -124,7 +113,6 @@ export const DrilldownsWithEmbeddableExample: React.FC = () => { initialRoute={viewRef.current} dynamicActionManager={managerWithEmbeddable} triggers={[VALUE_CLICK_TRIGGER]} - placeContext={{ embeddable }} onClose={() => setShowManager(false)} /> </EuiFlyout> diff --git a/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable.tsx b/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable.tsx new file mode 100644 index 0000000000000..f19a21d98a08c --- /dev/null +++ b/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable.tsx @@ -0,0 +1,60 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useCallback } from 'react'; +import { + DefaultEmbeddableApi, + ReactEmbeddableFactory, + VALUE_CLICK_TRIGGER, +} from '@kbn/embeddable-plugin/public'; +import { EuiCard, EuiFlexItem, EuiIcon } from '@elastic/eui'; +import { AdvancedUiActionsStart } from '@kbn/ui-actions-enhanced-plugin/public'; +import { BUTTON_EMBEDDABLE } from './register_button_embeddable'; + +export const getButtonEmbeddableFactory = (uiActionsEnhanced: AdvancedUiActionsStart) => { + const factory: ReactEmbeddableFactory<{}, {}, DefaultEmbeddableApi<{}>> = { + type: BUTTON_EMBEDDABLE, + deserializeState: (state) => state.rawState, + buildEmbeddable: async (state, buildApi, uuid, parentApi) => { + const api = buildApi( + { + serializeState: () => { + return { + rawState: {}, + references: [], + }; + }, + }, + {} + ); + return { + api, + Component: () => { + const onClick = useCallback(() => { + uiActionsEnhanced.getTrigger(VALUE_CLICK_TRIGGER).exec({ + embeddable: api, + data: { + data: [], + }, + }); + }, []); + return ( + <EuiFlexItem> + <EuiCard + icon={<EuiIcon size="xxl" type={`logoKibana`} />} + title={`Click me!`} + description={'This embeddable fires "VALUE_CLICK" trigger on click'} + onClick={onClick} + /> + </EuiFlexItem> + ); + }, + }; + }, + }; + return factory; +}; diff --git a/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable/button_embeddable.ts b/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable/button_embeddable.ts deleted file mode 100644 index df44e9061fc0e..0000000000000 --- a/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable/button_embeddable.ts +++ /dev/null @@ -1,53 +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 { createElement } from 'react'; -import { render, unmountComponentAtNode } from 'react-dom'; -import { AdvancedUiActionsStart } from '@kbn/ui-actions-enhanced-plugin/public'; -import { Embeddable, EmbeddableInput, VALUE_CLICK_TRIGGER } from '@kbn/embeddable-plugin/public'; -import { ButtonEmbeddableComponent } from './button_embeddable_component'; - -export const BUTTON_EMBEDDABLE = 'BUTTON_EMBEDDABLE'; - -export interface ButtonEmbeddableParams { - uiActions: AdvancedUiActionsStart; -} - -export class ButtonEmbeddable extends Embeddable { - type = BUTTON_EMBEDDABLE; - - constructor(input: EmbeddableInput, private readonly params: ButtonEmbeddableParams) { - super(input, {}); - } - - reload() {} - - private el?: HTMLElement; - - public render(el: HTMLElement): void { - super.render(el); - this.el = el; - render( - createElement(ButtonEmbeddableComponent, { - onClick: () => { - this.params.uiActions.getTrigger(VALUE_CLICK_TRIGGER).exec({ - embeddable: this, - data: { - data: [], - }, - }); - }, - }), - el - ); - } - - public destroy() { - super.destroy(); - if (this.el) unmountComponentAtNode(this.el); - } -} diff --git a/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable/button_embeddable_component.tsx b/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable/button_embeddable_component.tsx deleted file mode 100644 index 044ae3c21900d..0000000000000 --- a/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable/button_embeddable_component.tsx +++ /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. - */ - -import * as React from 'react'; -import { EuiCard, EuiFlexItem, EuiIcon } from '@elastic/eui'; - -export interface ButtonEmbeddableComponentProps { - onClick: () => void; -} - -export const ButtonEmbeddableComponent: React.FC<ButtonEmbeddableComponentProps> = ({ - onClick, -}) => { - return ( - <EuiFlexItem> - <EuiCard - icon={<EuiIcon size="xxl" type={`logoKibana`} />} - title={`Click me!`} - description={'This embeddable fires "VALUE_CLICK" trigger on click'} - onClick={onClick} - /> - </EuiFlexItem> - ); -}; diff --git a/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable/index.ts b/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable/index.ts deleted file mode 100644 index fb21a78c24b4a..0000000000000 --- a/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/button_embeddable/index.ts +++ /dev/null @@ -1,8 +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 * from './button_embeddable'; diff --git a/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/register_button_embeddable.ts b/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/register_button_embeddable.ts new file mode 100644 index 0000000000000..11ab813a85f4b --- /dev/null +++ b/x-pack/examples/ui_actions_enhanced_examples/public/embeddables/register_button_embeddable.ts @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EmbeddableSetup } from '@kbn/embeddable-plugin/public'; +import { StartDependencies } from '../plugin'; + +export const BUTTON_EMBEDDABLE = 'BUTTON_EMBEDDABLE'; + +export function registerButtonEmbeddable( + embeddable: EmbeddableSetup, + services: Promise<StartDependencies> +) { + embeddable.registerReactEmbeddableFactory(BUTTON_EMBEDDABLE, async () => { + const { getButtonEmbeddableFactory } = await import('./button_embeddable'); + const { uiActionsEnhanced } = await services; + return getButtonEmbeddableFactory(uiActionsEnhanced); + }); +} diff --git a/x-pack/examples/ui_actions_enhanced_examples/public/mount.tsx b/x-pack/examples/ui_actions_enhanced_examples/public/mount.tsx index 76708ac558fc8..636286b03efdf 100644 --- a/x-pack/examples/ui_actions_enhanced_examples/public/mount.tsx +++ b/x-pack/examples/ui_actions_enhanced_examples/public/mount.tsx @@ -31,7 +31,7 @@ export const mount = }; const reactElement = ( <context.Provider value={deps}> - <App /> + <App core={core} /> </context.Provider> ); render(reactElement, element); diff --git a/x-pack/examples/ui_actions_enhanced_examples/public/plugin.ts b/x-pack/examples/ui_actions_enhanced_examples/public/plugin.ts index fbd74fc581012..fbf06ca7c2fba 100644 --- a/x-pack/examples/ui_actions_enhanced_examples/public/plugin.ts +++ b/x-pack/examples/ui_actions_enhanced_examples/public/plugin.ts @@ -21,6 +21,7 @@ import { UiActionsEnhancedMemoryActionStorage, UiActionsEnhancedDynamicActionManager, } from '@kbn/ui-actions-enhanced-plugin/public'; +import { EmbeddableSetup } from '@kbn/embeddable-plugin/public'; import { DashboardHelloWorldDrilldown } from './drilldowns/dashboard_hello_world_drilldown'; import { DashboardToDiscoverDrilldown } from './drilldowns/dashboard_to_discover_drilldown'; import { App1ToDashboardDrilldown } from './drilldowns/app1_to_dashboard_drilldown'; @@ -35,12 +36,14 @@ import { } from './triggers'; import { mount } from './mount'; import { App2ToDashboardDrilldown } from './drilldowns/app2_to_dashboard_drilldown'; +import { registerButtonEmbeddable } from './embeddables/register_button_embeddable'; export interface SetupDependencies { dashboard: DashboardSetup; data: DataPublicPluginSetup; developerExamples: DeveloperExamplesSetup; discover: DiscoverSetup; + embeddable: EmbeddableSetup; uiActionsEnhanced: AdvancedUiActionsSetup; } @@ -62,7 +65,7 @@ export class UiActionsEnhancedExamplesPlugin { public setup( core: CoreSetup<StartDependencies, UiActionsEnhancedExamplesStart>, - { uiActionsEnhanced: uiActions, developerExamples }: SetupDependencies + { embeddable, uiActionsEnhanced: uiActions, developerExamples }: SetupDependencies ) { const start = createStartServicesGetter(core.getStartServices); @@ -150,6 +153,12 @@ export class UiActionsEnhancedExamplesPlugin }, ], }); + + const startServicesPromise = core.getStartServices(); + registerButtonEmbeddable( + embeddable, + startServicesPromise.then(([_, startDeps]) => startDeps) + ); } public start(_core: CoreStart, plugins: StartDependencies): UiActionsEnhancedExamplesStart { diff --git a/x-pack/examples/ui_actions_enhanced_examples/tsconfig.json b/x-pack/examples/ui_actions_enhanced_examples/tsconfig.json index 6010bece3bd1c..666df7ab8d27a 100644 --- a/x-pack/examples/ui_actions_enhanced_examples/tsconfig.json +++ b/x-pack/examples/ui_actions_enhanced_examples/tsconfig.json @@ -30,5 +30,6 @@ "@kbn/utility-types", "@kbn/presentation-publishing", "@kbn/react-kibana-mount", + "@kbn/react-kibana-context-render", ] } From 7ca3b8e857c30f383c9bbc999b9f5d18068f4623 Mon Sep 17 00:00:00 2001 From: Saikat Sarkar <132922331+saikatsarkar056@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:51:28 -0700 Subject: [PATCH 094/103] [Ent Search Deprecation] Remove permission check for capabilities catalogue (#202060) This change is related to removing the permission check for capabilities catalogue in enterprise search. This PR resolves this [issue](https://github.com/elastic/search-team/issues/8521). ### Description Currently, this [line](https://github.com/elastic/kibana/blob/01de8870602d032f0c49c791552966fa556e634e/x-pack/plugins/enterprise_search/server/plugin.ts#L234) is registering kibana capabilities for app search and workplace search. Enterprise search has it's own RBAC and this registration is an extension of kibana's RBAC. Once we get rid of enterprisesearch nodes, we do not need this any more. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> --- .../enterprise_search/server/plugin.ts | 46 +------------------ .../security_and_spaces/tests/catalogue.ts | 10 +--- .../security_and_spaces/tests/nav_links.ts | 7 +-- .../spaces_only/tests/catalogue.ts | 15 +----- .../spaces_only/tests/nav_links.ts | 15 +----- 5 files changed, 8 insertions(+), 85 deletions(-) diff --git a/x-pack/plugins/enterprise_search/server/plugin.ts b/x-pack/plugins/enterprise_search/server/plugin.ts index d91ad6d486ad7..9120db1b93ac1 100644 --- a/x-pack/plugins/enterprise_search/server/plugin.ts +++ b/x-pack/plugins/enterprise_search/server/plugin.ts @@ -13,7 +13,6 @@ import { Logger, SavedObjectsServiceStart, IRouter, - KibanaRequest, DEFAULT_APP_CATEGORIES, } from '@kbn/core/server'; import { CustomIntegrationsPluginSetup } from '@kbn/custom-integrations-plugin/server'; @@ -65,7 +64,6 @@ import { registerTelemetryUsageCollector as registerESTelemetryUsageCollector } import { registerTelemetryUsageCollector as registerWSTelemetryUsageCollector } from './collectors/workplace_search/telemetry'; import { registerEnterpriseSearchIntegrations } from './integrations'; -import { checkAccess } from './lib/check_access'; import { entSearchHttpAgent } from './lib/enterprise_search_http_agent'; import { EnterpriseSearchRequestHandler, @@ -141,17 +139,9 @@ export class EnterpriseSearchPlugin implements Plugin { } public setup( - { - capabilities, - elasticsearch, - http, - savedObjects, - getStartServices, - uiSettings, - }: CoreSetup<PluginsStart>, + { elasticsearch, http, savedObjects, getStartServices, uiSettings }: CoreSetup<PluginsStart>, { usageCollection, - security, features, globalSearch, logsShared, @@ -285,40 +275,6 @@ export class EnterpriseSearchPlugin implements Plugin { */ uiSettings.register(enterpriseSearchUISettings); - /** - * Register user access to the Enterprise Search plugins - */ - capabilities.registerSwitcher( - async (request: KibanaRequest) => { - const [, { spaces }] = await getStartServices(); - - const dependencies = { - config, - security, - spaces, - request, - log, - ml, - }; - - const { hasAppSearchAccess, hasWorkplaceSearchAccess } = await checkAccess(dependencies); - - return { - navLinks: { - appSearch: hasAppSearchAccess && config.canDeployEntSearch, - workplaceSearch: hasWorkplaceSearchAccess && config.canDeployEntSearch, - }, - catalogue: { - appSearch: hasAppSearchAccess && config.canDeployEntSearch, - workplaceSearch: hasWorkplaceSearchAccess && config.canDeployEntSearch, - }, - }; - }, - { - capabilityPath: ['navLinks.*', 'catalogue.*'], - } - ); - /** * Register routes */ diff --git a/x-pack/test/ui_capabilities/security_and_spaces/tests/catalogue.ts b/x-pack/test/ui_capabilities/security_and_spaces/tests/catalogue.ts index ffe278d152523..71324846b2160 100644 --- a/x-pack/test/ui_capabilities/security_and_spaces/tests/catalogue.ts +++ b/x-pack/test/ui_capabilities/security_and_spaces/tests/catalogue.ts @@ -59,15 +59,9 @@ export default function catalogueTests({ getService }: FtrProviderContext) { case 'everything_space_all at everything_space': { expect(uiCapabilities.success).to.be(true); expect(uiCapabilities.value).to.have.property('catalogue'); - // everything except spaces, monitoring, the classic enterprise search suite (app search/workplace search), and ES features are enabled + // everything except spaces, monitoring, and ES features are enabled // (easier to say: all "proper" Kibana features are enabled) - const exceptions = [ - 'monitoring', - 'appSearch', - 'workplaceSearch', - 'spaces', - ...esFeatureExceptions, - ]; + const exceptions = ['monitoring', 'spaces', ...esFeatureExceptions]; const expected = mapValues( uiCapabilities.value!.catalogue, (enabled, catalogueId) => !exceptions.includes(catalogueId) diff --git a/x-pack/test/ui_capabilities/security_and_spaces/tests/nav_links.ts b/x-pack/test/ui_capabilities/security_and_spaces/tests/nav_links.ts index 0106f82e52153..75408726ab8c9 100644 --- a/x-pack/test/ui_capabilities/security_and_spaces/tests/nav_links.ts +++ b/x-pack/test/ui_capabilities/security_and_spaces/tests/nav_links.ts @@ -47,12 +47,7 @@ export default function navLinksTests({ getService }: FtrProviderContext) { case 'everything_space_all at everything_space': expect(uiCapabilities.success).to.be(true); expect(uiCapabilities.value).to.have.property('navLinks'); - expect(uiCapabilities.value!.navLinks).to.eql( - navLinksBuilder.except('monitoring', { - feature: 'enterpriseSearch', - apps: ['appSearch', 'workplaceSearch'], - }) - ); + expect(uiCapabilities.value!.navLinks).to.eql(navLinksBuilder.except('monitoring')); break; case 'global_read at everything_space': case 'dual_privileges_read at everything_space': diff --git a/x-pack/test/ui_capabilities/spaces_only/tests/catalogue.ts b/x-pack/test/ui_capabilities/spaces_only/tests/catalogue.ts index d5933895d4e88..d8ddaa72026ac 100644 --- a/x-pack/test/ui_capabilities/spaces_only/tests/catalogue.ts +++ b/x-pack/test/ui_capabilities/spaces_only/tests/catalogue.ts @@ -25,13 +25,6 @@ export default function catalogueTests({ getService }: FtrProviderContext) { 'watcher', ]; - const uiCapabilitiesExceptions = [ - // appSearch and workplace Search are loaded but disabled because the ent-search application isn't running. - // That means the following capabilities are disabled: - 'appSearch', - 'workplaceSearch', - ]; - describe('catalogue', () => { SpaceScenarios.forEach((scenario) => { it(`${scenario.name}`, async () => { @@ -41,10 +34,7 @@ export default function catalogueTests({ getService }: FtrProviderContext) { expect(uiCapabilities.success).to.be(true); expect(uiCapabilities.value).to.have.property('catalogue'); // everything is enabled - const expected = mapValues( - uiCapabilities.value!.catalogue, - (enabled, catalogueId) => !uiCapabilitiesExceptions.includes(catalogueId) - ); + const expected = mapValues(uiCapabilities.value!.catalogue, (enabled) => enabled); expect(uiCapabilities.value!.catalogue).to.eql(expected); break; } @@ -66,8 +56,7 @@ export default function catalogueTests({ getService }: FtrProviderContext) { // only foo is disabled const expected = mapValues( uiCapabilities.value!.catalogue, - (enabled, catalogueId) => - !uiCapabilitiesExceptions.includes(catalogueId) && catalogueId !== 'foo' + (enabled, catalogueId) => catalogueId !== 'foo' && enabled ); expect(uiCapabilities.value!.catalogue).to.eql(expected); break; diff --git a/x-pack/test/ui_capabilities/spaces_only/tests/nav_links.ts b/x-pack/test/ui_capabilities/spaces_only/tests/nav_links.ts index 30f7cd8c5c877..9be243d1cf7c5 100644 --- a/x-pack/test/ui_capabilities/spaces_only/tests/nav_links.ts +++ b/x-pack/test/ui_capabilities/spaces_only/tests/nav_links.ts @@ -17,13 +17,6 @@ export default function navLinksTests({ getService }: FtrProviderContext) { const uiCapabilitiesService: UICapabilitiesService = getService('uiCapabilities'); const featuresService: FeaturesService = getService('features'); - const uiCapabilitiesExceptions = { - // appSearch and workplace Search are loaded but disabled because the ent-search application isn't running. - // That means the following capabilities are disabled: - feature: 'enterpriseSearch', - apps: ['appSearch', 'workplaceSearch'], - }; - describe('navLinks', () => { let navLinksBuilder: NavLinksBuilder; before(async () => { @@ -38,9 +31,7 @@ export default function navLinksTests({ getService }: FtrProviderContext) { case 'everything_space': expect(uiCapabilities.success).to.be(true); expect(uiCapabilities.value).to.have.property('navLinks'); - expect(uiCapabilities.value!.navLinks).to.eql( - navLinksBuilder.except(uiCapabilitiesExceptions) - ); + expect(uiCapabilities.value!.navLinks).to.eql(navLinksBuilder.all()); break; case 'nothing_space': expect(uiCapabilities.success).to.be(true); @@ -50,9 +41,7 @@ export default function navLinksTests({ getService }: FtrProviderContext) { case 'foo_disabled_space': expect(uiCapabilities.success).to.be(true); expect(uiCapabilities.value).to.have.property('navLinks'); - expect(uiCapabilities.value!.navLinks).to.eql( - navLinksBuilder.except('foo', uiCapabilitiesExceptions) - ); + expect(uiCapabilities.value!.navLinks).to.eql(navLinksBuilder.except('foo')); break; default: throw new UnreachableError(scenario); From 1e29e6caff86758de7d5f80efef74eb41429d78c Mon Sep 17 00:00:00 2001 From: Joe Reuter <johannes.reuter@elastic.co> Date: Tue, 10 Dec 2024 19:07:55 +0100 Subject: [PATCH 095/103] =?UTF-8?q?=F0=9F=8C=8A=20Streams:=20Fix=20redirec?= =?UTF-8?q?t=20bug=20(#203640)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As discussed here: https://github.com/elastic/kibana/pull/202372#discussion_r1875857095 There is a bug redirecting the user away from any management tab but `route`. This was happening because while loading the definition it would behave as if the stream is unmanaged. This fixes this problem. --- .../public/components/stream_detail_management/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/streams_app/public/components/stream_detail_management/index.tsx b/x-pack/plugins/streams_app/public/components/stream_detail_management/index.tsx index 1e66490bca3c9..4f3d207c91789 100644 --- a/x-pack/plugins/streams_app/public/components/stream_detail_management/index.tsx +++ b/x-pack/plugins/streams_app/public/components/stream_detail_management/index.tsx @@ -80,7 +80,7 @@ export function StreamDetailManagement({ ); } - if (!definition?.managed) { + if (definition && !definition.managed) { return ( <RedirectTo path="/{key}/management/{subtab}" From 8ee4b497289794939573f8fb23a64f4cf4143670 Mon Sep 17 00:00:00 2001 From: Nathan Reese <reese.nathan@elastic.co> Date: Tue, 10 Dec 2024 11:19:09 -0700 Subject: [PATCH 096/103] remove reactEmbeddableRegistryHasKey usage from observability_solution plugins (#203249) Part of https://github.com/elastic/kibana/issues/203250 All embeddables have been converted to new embeddable system. Now its time to clean-up the legacy embeddable system. Part of that clean up involves removing usage of `reactEmbeddableRegistryHasKey`. This PR removes `reactEmbeddableRegistryHasKey` from observability_solution plugins Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> --- .../register_embeddable_item.tsx | 105 +----------------- 1 file changed, 3 insertions(+), 102 deletions(-) diff --git a/x-pack/plugins/observability_solution/investigate_app/public/items/embeddable_item/register_embeddable_item.tsx b/x-pack/plugins/observability_solution/investigate_app/public/items/embeddable_item/register_embeddable_item.tsx index 77833e80ec199..8507ec8944c7c 100644 --- a/x-pack/plugins/observability_solution/investigate_app/public/items/embeddable_item/register_embeddable_item.tsx +++ b/x-pack/plugins/observability_solution/investigate_app/public/items/embeddable_item/register_embeddable_item.tsx @@ -4,15 +4,11 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { EuiLoadingSpinner, EuiFlexItem } from '@elastic/eui'; +import { EuiFlexItem } from '@elastic/eui'; import { css } from '@emotion/css'; import { ReactEmbeddableRenderer } from '@kbn/embeddable-plugin/public'; import type { GlobalWidgetParameters } from '@kbn/investigate-plugin/public'; -import { useAbortableAsync } from '@kbn/observability-utils-browser/hooks/use_abortable_async'; -import React, { useEffect, useMemo, useRef, useState } from 'react'; -import { v4 } from 'uuid'; -import { ErrorMessage } from '../../components/error_message'; -import { useKibana } from '../../hooks/use_kibana'; +import React, { useMemo, useRef } from 'react'; import { Options } from '../register_items'; export const EMBEDDABLE_ITEM_TYPE = 'embeddable'; @@ -62,101 +58,6 @@ function ReactEmbeddable({ type, config, timeRange: { from, to }, savedObjectId ); } -function LegacyEmbeddable({ type, config, timeRange: { from, to }, savedObjectId }: Props) { - const { - dependencies: { - start: { embeddable }, - }, - } = useKibana(); - - const [targetElement, setTargetElement] = useState<HTMLElement | null>(null); - - const embeddableInstanceAsync = useAbortableAsync(async () => { - const factory = embeddable.getEmbeddableFactory(type); - - if (!factory) { - throw new Error(`Cannot find embeddable factory for ${type}`); - } - - const configWithId = { - id: savedObjectId ?? v4(), - ...config, - }; - - const configWithOverrides = { - ...configWithId, - timeRange: { - from, - to, - }, - overrides: { - axisX: { hide: true }, - axisLeft: { style: { axisTitle: { visible: false } } }, - settings: { showLegend: false }, - }, - }; - - if (savedObjectId) { - return factory.createFromSavedObject(configWithOverrides.id, configWithOverrides); - } - - const instance = await factory.create(configWithOverrides); - - return instance; - }, [type, savedObjectId, config, from, to, embeddable]); - - const embeddableInstance = embeddableInstanceAsync.value; - - useEffect(() => { - if (!targetElement || !embeddableInstance) { - return; - } - - embeddableInstance.render(targetElement); - - return () => {}; - }, [embeddableInstance, targetElement]); - - useEffect(() => { - return () => { - if (embeddableInstance) { - embeddableInstance.destroy(); - } - }; - }, [embeddableInstance]); - - if (embeddableInstanceAsync.error) { - return <ErrorMessage error={embeddableInstanceAsync.error} />; - } - - if (!embeddableInstance) { - return <EuiLoadingSpinner />; - } - - return ( - <div - className={embeddableClassName} - ref={(element) => { - setTargetElement(element); - }} - /> - ); -} - -function EmbeddableWidget(props: Props) { - const { - dependencies: { - start: { embeddable }, - }, - } = useKibana(); - - if (embeddable.reactEmbeddableRegistryHasKey(props.type)) { - return <ReactEmbeddable {...props} />; - } - - return <LegacyEmbeddable {...props} />; -} - interface EmbeddableItemParams { type: string; config: Record<string, any>; @@ -197,7 +98,7 @@ export function registerEmbeddableItem({ } `} > - <EmbeddableWidget {...parameters} /> + <ReactEmbeddable {...parameters} /> </EuiFlexItem> ); }, From c787e4192a0a81110b0b1603e1812a0690557759 Mon Sep 17 00:00:00 2001 From: Tiago Costa <tiago.costa@elastic.co> Date: Tue, 10 Dec 2024 18:22:14 +0000 Subject: [PATCH 097/103] skip flaky suite (#192891) --- x-pack/test/functional/apps/infra/node_details.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/functional/apps/infra/node_details.ts b/x-pack/test/functional/apps/infra/node_details.ts index 1481d1392a71c..3cbeb717d40f0 100644 --- a/x-pack/test/functional/apps/infra/node_details.ts +++ b/x-pack/test/functional/apps/infra/node_details.ts @@ -477,7 +477,8 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { }); }); - describe('Processes Tab', () => { + // FLAKY: https://github.com/elastic/kibana/issues/192891 + describe.skip('Processes Tab', () => { before(async () => { await esArchiver.load('x-pack/test/functional/es_archives/infra/metrics_hosts_processes'); await esArchiver.load('x-pack/test/functional/es_archives/infra/metrics_and_logs'); From 15f453bc4efa7daed22789ca84d57f288c9f12fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= <afharo@gmail.com> Date: Tue, 10 Dec 2024 19:55:32 +0100 Subject: [PATCH 098/103] [l10n] Fix codeowners (#203650) ## Summary Updating codeowners to ensure that we don't trigger code reviews from `@elastic/kibana-localization` when labels are updated. --- .github/CODEOWNERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4e1cb694a66cf..aa4f5f48fd1ed 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1840,7 +1840,7 @@ x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kib # Kibana Localization /src/dev/i18n_tools/ @elastic/kibana-localization @elastic/kibana-core /src/core/public/i18n/ @elastic/kibana-localization @elastic/kibana-core -#CC# /x-pack/plugins/translations/ @elastic/kibana-localization @elastic/kibana-core +#CC# /x-pack/platform/plugins/private/translations/ @elastic/kibana-localization @elastic/kibana-core # Kibana Platform Security # security @@ -2560,7 +2560,7 @@ x-pack/plugins/security_solution/server/lib/security_integrations @elastic/secur /src/plugins/home/public/application/components/guided_onboarding @elastic/appex-sharedux # Changes to translation files should not ping code reviewers -x-pack/plugins/translations/translations +x-pack/platform/plugins/private/translations/translations # Profiling api integration testing x-pack/test/profiling_api_integration @elastic/obs-ux-infra_services-team From 53d0ad2b6c313f79295fb0e8f8eb0ca9b81a705a Mon Sep 17 00:00:00 2001 From: Tiago Costa <tiago.costa@elastic.co> Date: Tue, 10 Dec 2024 19:02:25 +0000 Subject: [PATCH 099/103] skip flaky suite (#203656) --- x-pack/test/functional/apps/infra/node_details.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/functional/apps/infra/node_details.ts b/x-pack/test/functional/apps/infra/node_details.ts index 3cbeb717d40f0..7ab097b89d1d4 100644 --- a/x-pack/test/functional/apps/infra/node_details.ts +++ b/x-pack/test/functional/apps/infra/node_details.ts @@ -537,7 +537,8 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { }); }); - describe('Logs Tab', () => { + // FLAKY: https://github.com/elastic/kibana/issues/203656 + describe.skip('Logs Tab', () => { before(async () => { await pageObjects.assetDetails.clickLogsTab(); await pageObjects.timePicker.setAbsoluteRange( From b211bfd6c7b6a2ec41af198a2e262e34f9fa5d3d Mon Sep 17 00:00:00 2001 From: Tiago Costa <tiago.costa@elastic.co> Date: Tue, 10 Dec 2024 19:03:56 +0000 Subject: [PATCH 100/103] skip flaky suite (#187932) --- .../cypress/e2e/response_actions/response_console/scan.cy.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/response_console/scan.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/response_console/scan.cy.ts index e9ca6a7ee4229..c1e566c16ca5b 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/response_console/scan.cy.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/response_console/scan.cy.ts @@ -41,7 +41,8 @@ describe( login(); }); - describe('Scan operation:', () => { + // FLAKY: https://github.com/elastic/kibana/issues/187932 + describe.skip('Scan operation:', () => { const homeFilePath = Cypress.env('IS_CI') ? '/home/vagrant' : '/home'; const fileContent = 'This is a test file for the scan command.'; From 75760bbb13555845369db4c0d07f6bbb32afa0ee Mon Sep 17 00:00:00 2001 From: Jeramy Soucy <jeramy.soucy@elastic.co> Date: Tue, 10 Dec 2024 14:42:27 -0500 Subject: [PATCH 101/103] =?UTF-8?q?Upgrade=20express=204.21.1=E2=86=92=204?= =?UTF-8?q?.21.2=20(#203504)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Upgrade `express` from v4.21.1 to v4.21.2 --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 47f098d33f40d..f08ee6c00536a 100644 --- a/package.json +++ b/package.json @@ -1746,7 +1746,7 @@ "exit-hook": "^2.2.0", "expect": "^29.7.0", "expose-loader": "^0.7.5", - "express": "^4.21.1", + "express": "^4.21.2", "fetch-mock": "^7.3.9", "file-loader": "^4.2.0", "find-cypress-specs": "^1.41.4", diff --git a/yarn.lock b/yarn.lock index 860efbbc2c5c2..665a0b19223e7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -18728,10 +18728,10 @@ expr-eval@^2.0.2: resolved "https://registry.yarnpkg.com/expr-eval/-/expr-eval-2.0.2.tgz#fa6f044a7b0c93fde830954eb9c5b0f7fbc7e201" integrity sha512-4EMSHGOPSwAfBiibw3ndnP0AvjDWLsMvGOvWEZ2F96IGk0bIVdjQisOHxReSkE13mHcfbuCiXw+G4y0zv6N8Eg== -express@^4.17.1, express@^4.17.3, express@^4.18.2, express@^4.21.1: - version "4.21.1" - resolved "https://registry.yarnpkg.com/express/-/express-4.21.1.tgz#9dae5dda832f16b4eec941a4e44aa89ec481b281" - integrity sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ== +express@^4.17.1, express@^4.17.3, express@^4.18.2, express@^4.21.2: + version "4.21.2" + resolved "https://registry.yarnpkg.com/express/-/express-4.21.2.tgz#cf250e48362174ead6cea4a566abef0162c1ec32" + integrity sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA== dependencies: accepts "~1.3.8" array-flatten "1.1.1" @@ -18752,7 +18752,7 @@ express@^4.17.1, express@^4.17.3, express@^4.18.2, express@^4.21.1: methods "~1.1.2" on-finished "2.4.1" parseurl "~1.3.3" - path-to-regexp "0.1.10" + path-to-regexp "0.1.12" proxy-addr "~2.0.7" qs "6.13.0" range-parser "~1.2.1" @@ -26062,10 +26062,10 @@ path-scurry@^1.11.1: lru-cache "^10.2.0" minipass "^5.0.0 || ^6.0.2 || ^7.0.0" -path-to-regexp@0.1.10: - version "0.1.10" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.10.tgz#67e9108c5c0551b9e5326064387de4763c4d5f8b" - integrity sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w== +path-to-regexp@0.1.12: + version "0.1.12" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.12.tgz#d5e1a12e478a976d432ef3c58d534b9923164bb7" + integrity sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ== path-to-regexp@^1.7.0: version "1.9.0" From 5acba9678aef16b460bb7b578dcdf4ce10a012a4 Mon Sep 17 00:00:00 2001 From: Lukas Olson <lukas@elastic.co> Date: Tue, 10 Dec 2024 13:27:36 -0700 Subject: [PATCH 102/103] Add error handling/retry logic for search source alert tests (#196443) ## Summary Resolves https://github.com/elastic/kibana/issues/193842. Adds error handling & retry logic for search source alerts that are causing failures on MKI. ### Checklist - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --- .../discover/search_source_alert.ts | 86 ++++++------ .../discover/search_source_alert.ts | 124 +++++++++++------- 2 files changed, 123 insertions(+), 87 deletions(-) diff --git a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/discover/search_source_alert.ts b/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/discover/search_source_alert.ts index 97d59de76ce4f..3ce3ea7ba12b6 100644 --- a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/discover/search_source_alert.ts +++ b/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/discover/search_source_alert.ts @@ -45,53 +45,59 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { let connectorId: string; const createSourceIndex = () => - es.index({ - index: SOURCE_DATA_VIEW, - body: { - settings: { number_of_shards: 1 }, - mappings: { - properties: { - '@timestamp': { type: 'date' }, - message: { type: 'keyword' }, - }, + retry.try(() => + createIndex(SOURCE_DATA_VIEW, { + '@timestamp': { type: 'date' }, + message: { type: 'keyword' }, + }) + ); + + const createOutputDataIndex = () => + retry.try(() => + createIndex(OUTPUT_DATA_VIEW, { + rule_id: { type: 'text' }, + rule_name: { type: 'text' }, + alert_id: { type: 'text' }, + context_link: { type: 'text' }, + }) + ); + + async function createIndex(index: string, properties: unknown) { + try { + await es.index({ + index, + body: { + settings: { number_of_shards: 1 }, + mappings: { properties }, }, - }, - }); + }); + } catch (e) { + log.error(`Failed to create index "${index}" with error "${e.message}"`); + } + } - const generateNewDocs = async (docsNumber: number) => { + async function generateNewDocs(docsNumber: number, index = SOURCE_DATA_VIEW) { const mockMessages = Array.from({ length: docsNumber }, (_, i) => `msg-${i}`); const dateNow = new Date(); const dateToSet = new Date(dateNow); dateToSet.setMinutes(dateNow.getMinutes() - 10); - for (const message of mockMessages) { - await es.transport.request({ - path: `/${SOURCE_DATA_VIEW}/_doc`, - method: 'POST', - body: { - '@timestamp': dateToSet.toISOString(), - message, - }, - }); + try { + await Promise.all( + mockMessages.map((message) => + es.transport.request({ + path: `/${index}/_doc`, + method: 'POST', + body: { + '@timestamp': dateToSet.toISOString(), + message, + }, + }) + ) + ); + } catch (e) { + log.error(`Failed to generate new docs in "${index}" with error "${e.message}"`); } - }; - - const createOutputDataIndex = () => - es.index({ - index: OUTPUT_DATA_VIEW, - body: { - settings: { - number_of_shards: 1, - }, - mappings: { - properties: { - rule_id: { type: 'text' }, - rule_name: { type: 'text' }, - alert_id: { type: 'text' }, - context_link: { type: 'text' }, - }, - }, - }, - }); + } const deleteAlerts = (alertIds: string[]) => asyncForEach(alertIds, async (alertId: string) => { diff --git a/x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert.ts b/x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert.ts index d4653ca02f6f1..1007c89cb171a 100644 --- a/x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert.ts +++ b/x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert.ts @@ -48,53 +48,59 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { let connectorId: string; const createSourceIndex = () => - es.index({ - index: SOURCE_DATA_VIEW, - body: { - settings: { number_of_shards: 1 }, - mappings: { - properties: { - '@timestamp': { type: 'date' }, - message: { type: 'keyword' }, - }, + retry.try(() => + createIndex(SOURCE_DATA_VIEW, { + '@timestamp': { type: 'date' }, + message: { type: 'keyword' }, + }) + ); + + const createOutputDataIndex = () => + retry.try(() => + createIndex(OUTPUT_DATA_VIEW, { + rule_id: { type: 'text' }, + rule_name: { type: 'text' }, + alert_id: { type: 'text' }, + context_link: { type: 'text' }, + }) + ); + + async function createIndex(index: string, properties: unknown) { + try { + await es.index({ + index, + body: { + settings: { number_of_shards: 1 }, + mappings: { properties }, }, - }, - }); + }); + } catch (e) { + log.error(`Failed to create index "${index}" with error "${e.message}"`); + } + } - const generateNewDocs = async (docsNumber: number) => { + async function generateNewDocs(docsNumber: number, index = SOURCE_DATA_VIEW) { const mockMessages = Array.from({ length: docsNumber }, (_, i) => `msg-${i}`); const dateNow = new Date(); const dateToSet = new Date(dateNow); dateToSet.setMinutes(dateNow.getMinutes() - 10); - for (const message of mockMessages) { - await es.transport.request({ - path: `/${SOURCE_DATA_VIEW}/_doc`, - method: 'POST', - body: { - '@timestamp': dateToSet.toISOString(), - message, - }, - }); + try { + await Promise.all( + mockMessages.map((message) => + es.transport.request({ + path: `/${index}/_doc`, + method: 'POST', + body: { + '@timestamp': dateToSet.toISOString(), + message, + }, + }) + ) + ); + } catch (e) { + log.error(`Failed to generate new docs in "${index}" with error "${e.message}"`); } - }; - - const createOutputDataIndex = () => - es.index({ - index: OUTPUT_DATA_VIEW, - body: { - settings: { - number_of_shards: 1, - }, - mappings: { - properties: { - rule_id: { type: 'text' }, - rule_name: { type: 'text' }, - alert_id: { type: 'text' }, - context_link: { type: 'text' }, - }, - }, - }, - }); + } const deleteAlerts = (alertIds: string[]) => asyncForEach(alertIds, async (alertId: string) => { @@ -216,7 +222,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const openDiscoverAlertFlyout = async () => { await testSubjects.click('discoverAlertsButton'); - await testSubjects.click('discoverCreateAlertButton'); + // Different create rule buttons in serverless + if (await testSubjects.exists('discoverCreateAlertButton')) { + await testSubjects.click('discoverCreateAlertButton'); + } else { + await testSubjects.click('discoverAppMenuCustomThresholdRule'); + } }; const openManagementAlertFlyout = async () => { @@ -366,8 +377,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }; describe('Search source Alert', function () { - // see details: https://github.com/elastic/kibana/issues/193842 - this.tags(['failsOnMKI', 'skipSvlOblt']); + // Failing: https://github.com/elastic/kibana/issues/203045 + this.tags(['skipSvlOblt']); + before(async () => { await security.testUser.setRoles(['discover_alert']); await PageObjects.svlCommonPage.loginAsAdmin(); @@ -502,7 +514,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await testSubjects.click('thresholdPopover'); await testSubjects.setValue('alertThresholdInput0', '1'); - await testSubjects.click('saveEditedRuleButton'); + + // Different save buttons in serverless + if (await testSubjects.exists('saveEditedRuleButton')) { + await testSubjects.click('saveEditedRuleButton'); + } else { + await testSubjects.click('rulePageFooterSaveButton'); + } await PageObjects.header.waitUntilLoadingHasFinished(); await openAlertResults(RULE_NAME); @@ -652,8 +670,15 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.header.waitUntilLoadingHasFinished(); await retry.waitFor('rule name value is correct', async () => { - await testSubjects.setValue('ruleNameInput', newAlert); - const ruleName = await testSubjects.getAttribute('ruleNameInput', 'value'); + let ruleName; + // Rule name input is different in serverless + if (await testSubjects.exists('ruleNameInput')) { + await testSubjects.setValue('ruleNameInput', newAlert); + ruleName = await testSubjects.getAttribute('ruleNameInput', 'value'); + } else { + await testSubjects.setValue('ruleDetailsNameInput', newAlert); + ruleName = await testSubjects.getAttribute('ruleDetailsNameInput', 'value'); + } return ruleName === newAlert; }); @@ -677,7 +702,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await comboBox.set('ruleFormConsumerSelect', 'Stack Rules'); } - await testSubjects.click('saveRuleButton'); + // Save rule button is different in serverless + if (await testSubjects.exists('saveRuleButton')) { + await testSubjects.click('saveRuleButton'); + } else { + await testSubjects.click('rulePageFooterSaveButton'); + } await retry.waitFor('confirmation modal', async () => { return await testSubjects.exists('confirmModalConfirmButton'); From d67681d519ca4f89c651c315315c8edc212768df Mon Sep 17 00:00:00 2001 From: Nathan Reese <reese.nathan@elastic.co> Date: Tue, 10 Dec 2024 13:41:18 -0700 Subject: [PATCH 103/103] [dashboard] remove legacy embeddable client migrations (#203669) Part of https://github.com/elastic/kibana/issues/203250 --- .../public/dashboard_api/get_dashboard_api.ts | 1 - .../dashboard/public/dashboard_api/types.ts | 1 - .../dashboard_api/unsaved_changes_manager.ts | 9 ---- .../dashboard_app/_dashboard_app_strings.ts | 9 ---- .../top_nav/use_dashboard_menu_items.tsx | 6 +-- .../internal_dashboard_top_nav.tsx | 17 +----- src/plugins/dashboard/public/mocks.tsx | 1 - .../lib/load_dashboard_state.ts | 47 ++++++++-------- .../lib/migrate_dashboard_input.test.ts | 54 ------------------- .../lib/migrate_dashboard_input.ts | 54 ------------------- .../types.ts | 1 - .../translations/translations/fr-FR.json | 2 - .../translations/translations/ja-JP.json | 2 - .../translations/translations/zh-CN.json | 2 - 14 files changed, 25 insertions(+), 181 deletions(-) delete mode 100644 src/plugins/dashboard/public/services/dashboard_content_management_service/lib/migrate_dashboard_input.test.ts delete mode 100644 src/plugins/dashboard/public/services/dashboard_content_management_service/lib/migrate_dashboard_input.ts diff --git a/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts b/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts index 02c29968e526d..2e2e6352f829a 100644 --- a/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts +++ b/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts @@ -100,7 +100,6 @@ export function getDashboardApi({ timeRestore$: unifiedSearchManager.internalApi.timeRestore$, }); const unsavedChangesManager = initializeUnsavedChangesManager({ - anyMigrationRun: savedObjectResult?.anyMigrationRun ?? false, creationOptions, controlGroupApi$, lastSavedState: omit(savedObjectResult?.dashboardInput, 'controlGroupInput') ?? { diff --git a/src/plugins/dashboard/public/dashboard_api/types.ts b/src/plugins/dashboard/public/dashboard_api/types.ts index 2cfe5aa615f3b..7a1fc5fed7e13 100644 --- a/src/plugins/dashboard/public/dashboard_api/types.ts +++ b/src/plugins/dashboard/public/dashboard_api/types.ts @@ -155,7 +155,6 @@ export type DashboardApi = CanExpandPanels & getSettings: () => DashboardStateFromSettingsFlyout; getDashboardPanelFromId: (id: string) => Promise<DashboardPanelState>; hasOverlays$: PublishingSubject<boolean>; - hasRunMigrations$: PublishingSubject<boolean>; hasUnsavedChanges$: PublishingSubject<boolean>; highlightPanel: (panelRef: HTMLDivElement) => void; highlightPanelId$: PublishingSubject<string | undefined>; diff --git a/src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts b/src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts index b5d2117fde98e..46ae02de87fc2 100644 --- a/src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts +++ b/src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts @@ -23,7 +23,6 @@ import { import { initializeViewModeManager } from './view_mode_manager'; export function initializeUnsavedChangesManager({ - anyMigrationRun, creationOptions, controlGroupApi$, lastSavedState, @@ -33,7 +32,6 @@ export function initializeUnsavedChangesManager({ viewModeManager, unifiedSearchManager, }: { - anyMigrationRun: boolean; creationOptions?: DashboardCreationOptions; controlGroupApi$: PublishingSubject<ControlGroupApi | undefined>; lastSavedState: DashboardState; @@ -43,7 +41,6 @@ export function initializeUnsavedChangesManager({ viewModeManager: ReturnType<typeof initializeViewModeManager>; unifiedSearchManager: ReturnType<typeof initializeUnifiedSearchManager>; }) { - const hasRunMigrations$ = new BehaviorSubject(anyMigrationRun); const hasUnsavedChanges$ = new BehaviorSubject(false); const lastSavedState$ = new BehaviorSubject<DashboardState>(lastSavedState); const saveNotification$ = new Subject<void>(); @@ -113,7 +110,6 @@ export function initializeUnsavedChangesManager({ unifiedSearchManager.internalApi.reset(lastSavedState$.value); await controlGroupApi$.value?.asyncResetUnsavedChanges(); }, - hasRunMigrations$, hasUnsavedChanges$, saveNotification$, }, @@ -125,11 +121,6 @@ export function initializeUnsavedChangesManager({ getLastSavedState: () => lastSavedState$.value, onSave: (savedState: DashboardState) => { lastSavedState$.next(savedState); - - // if we set the last saved input, it means we have saved this Dashboard - therefore clientside migrations have - // been serialized into the SO. - hasRunMigrations$.next(false); - saveNotification$.next(); }, }, diff --git a/src/plugins/dashboard/public/dashboard_app/_dashboard_app_strings.ts b/src/plugins/dashboard/public/dashboard_app/_dashboard_app_strings.ts index 9c6526ce3403e..072da4d2fab30 100644 --- a/src/plugins/dashboard/public/dashboard_app/_dashboard_app_strings.ts +++ b/src/plugins/dashboard/public/dashboard_app/_dashboard_app_strings.ts @@ -67,15 +67,6 @@ export const unsavedChangesBadgeStrings = { defaultMessage: ' You have unsaved changes in this dashboard. To remove this label, save the dashboard.', }), - getHasRunMigrationsText: () => - i18n.translate('dashboard.hasRunMigrationsBadge', { - defaultMessage: 'Save recommended', - }), - getHasRunMigrationsToolTipContent: () => - i18n.translate('dashboard.hasRunMigrationsBadgeToolTipContent', { - defaultMessage: - 'One or more panels on this dashboard have been updated to a new version. Save the dashboard so it loads faster next time.', - }), }; export const getCreateVisualizationButtonTitle = () => diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx b/src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx index 0a96d3d978968..07e29db545e7f 100644 --- a/src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx +++ b/src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx @@ -43,11 +43,10 @@ export const useDashboardMenuItems = ({ const dashboardApi = useDashboardApi(); - const [dashboardTitle, hasOverlays, hasRunMigrations, hasUnsavedChanges, lastSavedId, viewMode] = + const [dashboardTitle, hasOverlays, hasUnsavedChanges, lastSavedId, viewMode] = useBatchedPublishingSubjects( dashboardApi.panelTitle, dashboardApi.hasOverlays$, - dashboardApi.hasRunMigrations$, dashboardApi.hasUnsavedChanges$, dashboardApi.savedObjectId, dashboardApi.viewMode @@ -161,7 +160,7 @@ export const useDashboardMenuItems = ({ emphasize: true, isLoading: isSaveInProgress, testId: 'dashboardQuickSaveMenuItem', - disableButton: disableTopNav || !(hasRunMigrations || hasUnsavedChanges), + disableButton: disableTopNav || !hasUnsavedChanges, run: () => quickSaveDashboard(), } as TopNavMenuData, @@ -211,7 +210,6 @@ export const useDashboardMenuItems = ({ }, [ disableTopNav, isSaveInProgress, - hasRunMigrations, hasUnsavedChanges, lastSavedId, dashboardInteractiveSave, diff --git a/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx b/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx index c040a412c3c9e..0511c13f9032d 100644 --- a/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx +++ b/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx @@ -87,7 +87,6 @@ export function InternalDashboardTopNav({ allDataViews, focusedPanelId, fullScreenMode, - hasRunMigrations, hasUnsavedChanges, lastSavedId, query, @@ -97,7 +96,6 @@ export function InternalDashboardTopNav({ dashboardApi.dataViews, dashboardApi.focusedPanelId$, dashboardApi.fullScreenMode$, - dashboardApi.hasRunMigrations$, dashboardApi.hasUnsavedChanges$, dashboardApi.savedObjectId, dashboardApi.query$, @@ -267,19 +265,6 @@ export function InternalDashboardTopNav({ } as EuiToolTipProps, }); } - if (hasRunMigrations && viewMode === 'edit') { - allBadges.push({ - 'data-test-subj': 'dashboardSaveRecommendedBadge', - badgeText: unsavedChangesBadgeStrings.getHasRunMigrationsText(), - title: '', - color: 'success', - iconType: 'save', - toolTipProps: { - content: unsavedChangesBadgeStrings.getHasRunMigrationsToolTipContent(), - position: 'bottom', - } as EuiToolTipProps, - }); - } const { showWriteControls } = getDashboardCapabilities(); if (showWriteControls && dashboardApi.isManaged) { @@ -328,7 +313,7 @@ export function InternalDashboardTopNav({ }); } return allBadges; - }, [hasUnsavedChanges, viewMode, hasRunMigrations, isPopoverOpen, dashboardApi, maybeRedirect]); + }, [hasUnsavedChanges, viewMode, isPopoverOpen, dashboardApi, maybeRedirect]); return ( <div className="dashboardTopNav"> diff --git a/src/plugins/dashboard/public/mocks.tsx b/src/plugins/dashboard/public/mocks.tsx index 2f47c52f9660f..1a275d805e5ed 100644 --- a/src/plugins/dashboard/public/mocks.tsx +++ b/src/plugins/dashboard/public/mocks.tsx @@ -100,7 +100,6 @@ export function buildMockDashboardApi({ viewMode: initialState.viewMode as ViewMode, id: savedObjectId ?? '123', } as SavedDashboardInput, - anyMigrationRun: false, references: [], }, }); diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts index 2694411ed001a..e2db3c7c90950 100644 --- a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts +++ b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts @@ -32,7 +32,6 @@ import type { LoadDashboardReturn, } from '../types'; import { convertNumberToDashboardVersion } from './dashboard_versioning'; -import { migrateDashboardInput } from './migrate_dashboard_input'; export function migrateLegacyQuery(query: Query | { [key: string]: any } | string): Query { // Lucene was the only option before, so language-less queries are all lucene @@ -171,34 +170,32 @@ export const loadDashboardState = async ({ const panelMap = convertPanelsArrayToPanelMap(panels ?? []); - const { dashboardInput, anyMigrationRun } = migrateDashboardInput({ - ...DEFAULT_DASHBOARD_INPUT, - ...options, - - id: embeddableId, - refreshInterval, - timeRestore, - description, - timeRange, - filters, - panels: panelMap, - query, - title, - - viewMode: ViewMode.VIEW, // dashboards loaded from saved object default to view mode. If it was edited recently, the view mode from session storage will override this. - tags: savedObjectsTaggingService?.getTaggingApi()?.ui.getTagIdsFromReferences(references) ?? [], - - controlGroupInput: attributes.controlGroupInput, - - ...(version && { version: convertNumberToDashboardVersion(version) }), - }); - return { managed, references, resolveMeta, - dashboardInput, - anyMigrationRun, + dashboardInput: { + ...DEFAULT_DASHBOARD_INPUT, + ...options, + + id: embeddableId, + refreshInterval, + timeRestore, + description, + timeRange, + filters, + panels: panelMap, + query, + title, + + viewMode: ViewMode.VIEW, // dashboards loaded from saved object default to view mode. If it was edited recently, the view mode from session storage will override this. + tags: + savedObjectsTaggingService?.getTaggingApi()?.ui.getTagIdsFromReferences(references) ?? [], + + controlGroupInput: attributes.controlGroupInput, + + ...(version && { version: convertNumberToDashboardVersion(version) }), + }, dashboardFound: true, dashboardId: savedObjectId, }; diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/migrate_dashboard_input.test.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/migrate_dashboard_input.test.ts deleted file mode 100644 index f0e715d624732..0000000000000 --- a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/migrate_dashboard_input.test.ts +++ /dev/null @@ -1,54 +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 { ViewMode } from '@kbn/embeddable-plugin/public'; -import { getSampleDashboardState, getSampleDashboardPanel } from '../../../mocks'; -import { embeddableService } from '../../kibana_services'; -import { SavedDashboardInput } from '../types'; -import { migrateDashboardInput } from './migrate_dashboard_input'; - -jest.mock('@kbn/embeddable-plugin/public', () => { - return { - ...jest.requireActual('@kbn/embeddable-plugin/public'), - runEmbeddableFactoryMigrations: jest - .fn() - .mockImplementation((input) => ({ input, migrationRun: true })), - }; -}); - -describe('Migrate dashboard input', () => { - it('should run factory migrations on all Dashboard content', () => { - const dashboardInput = { - ...getSampleDashboardState(), - id: '1', - viewMode: ViewMode.VIEW, - executionContext: { type: 'dashboard' }, - } as SavedDashboardInput; - dashboardInput.panels = { - panel1: getSampleDashboardPanel({ type: 'superLens', explicitInput: { id: 'panel1' } }), - panel2: getSampleDashboardPanel({ type: 'superLens', explicitInput: { id: 'panel2' } }), - panel3: getSampleDashboardPanel({ type: 'ultraDiscover', explicitInput: { id: 'panel3' } }), - panel4: getSampleDashboardPanel({ type: 'ultraDiscover', explicitInput: { id: 'panel4' } }), - }; - - embeddableService.getEmbeddableFactory = jest.fn(() => ({ - latestVersion: '1.0.0', - migrations: {}, - })) as unknown as typeof embeddableService.getEmbeddableFactory; - - const result = migrateDashboardInput(dashboardInput); - - // migration run should be true because the runEmbeddableFactoryMigrations mock above returns true. - expect(result.anyMigrationRun).toBe(true); - - expect(embeddableService.getEmbeddableFactory).toHaveBeenCalledTimes(4); // should be called 4 times for the panels, and 3 times for the controls - expect(embeddableService.getEmbeddableFactory).toHaveBeenCalledWith('superLens'); - expect(embeddableService.getEmbeddableFactory).toHaveBeenCalledWith('ultraDiscover'); - }); -}); diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/migrate_dashboard_input.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/migrate_dashboard_input.ts deleted file mode 100644 index b0cfac9f97ce4..0000000000000 --- a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/migrate_dashboard_input.ts +++ /dev/null @@ -1,54 +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 { - EmbeddableFactoryNotFoundError, - runEmbeddableFactoryMigrations, -} from '@kbn/embeddable-plugin/public'; -import { DashboardContainerInput, DashboardPanelState } from '../../../../common'; -import { embeddableService } from '../../kibana_services'; -import { SavedDashboardInput } from '../types'; - -/** - * Run Dashboard migrations clientside. We pre-emptively run all migrations for all content on this Dashboard so that - * we can ensure the `last saved state` which eventually resides in the Dashboard public state is fully migrated. - * This prevents the reset button from un-migrating the panels on the Dashboard. This also means that the migrations may - * get skipped at Embeddable create time - unless states with older versions are saved in the URL or session storage. - */ -export const migrateDashboardInput = (dashboardInput: SavedDashboardInput) => { - let anyMigrationRun = false; - if (!dashboardInput) return dashboardInput; - - const migratedPanels: DashboardContainerInput['panels'] = {}; - for (const [id, panel] of Object.entries(dashboardInput.panels)) { - // if the panel type is registered in the new embeddable system, we do not need to run migrations for it. - if (embeddableService.reactEmbeddableRegistryHasKey(panel.type)) { - migratedPanels[id] = panel; - continue; - } - - const factory = embeddableService.getEmbeddableFactory(panel.type); - if (!factory) throw new EmbeddableFactoryNotFoundError(panel.type); - // run last saved migrations for by value panels only. - if (!panel.explicitInput.savedObjectId) { - const { input: newInput, migrationRun: panelMigrationRun } = runEmbeddableFactoryMigrations( - panel.explicitInput, - factory - ); - if (panelMigrationRun) anyMigrationRun = true; - panel.explicitInput = newInput as DashboardPanelState['explicitInput']; - } else if (factory.latestVersion) { - // by reference panels are always considered to be of the latest version - panel.explicitInput.version = factory.latestVersion; - } - migratedPanels[id] = panel; - } - dashboardInput.panels = migratedPanels; - return { dashboardInput, anyMigrationRun }; -}; diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts b/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts index e7dbcf1d230db..1922ed3e30dac 100644 --- a/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts +++ b/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts @@ -67,7 +67,6 @@ export interface LoadDashboardReturn { managed?: boolean; resolveMeta?: DashboardResolveMeta; dashboardInput: SavedDashboardInput; - anyMigrationRun?: boolean; /** * Raw references returned directly from the Dashboard saved object. These diff --git a/x-pack/platform/plugins/private/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json index 79b8cc8c74439..414a9a7ee12a9 100644 --- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json +++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json @@ -1466,8 +1466,6 @@ "dashboard.featureCatalogue.dashboardDescription": "Affichez et partagez une collection de visualisations et de recherches enregistrées.", "dashboard.featureCatalogue.dashboardSubtitle": "Analysez des données à l’aide de tableaux de bord.", "dashboard.featureCatalogue.dashboardTitle": "Dashboard", - "dashboard.hasRunMigrationsBadge": "Enregistrement recommandé", - "dashboard.hasRunMigrationsBadgeToolTipContent": "Un ou plusieurs panneaux de ce tableau de bord ont été mis à jour vers une nouvelle version. Enregistrez le tableau de bord pour qu'il charge plus rapidement la prochaine fois.", "dashboard.labs.enableLabsDescription": "Cet indicateur détermine si l'utilisateur a accès au bouton Ateliers, moyen rapide d'activer et de désactiver les fonctionnalités de la version d'évaluation technique dans le tableau de bord.", "dashboard.labs.enableUI": "Activer le bouton Ateliers dans le tableau de bord", "dashboard.listing.createNewDashboard.combineDataViewFromKibanaAppDescription": "Analysez toutes vos données Elastic en un seul endroit, en créant un tableau de bord et en ajoutant des visualisations.", diff --git a/x-pack/platform/plugins/private/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json index 52c4a1bf5b8c9..6c3164faad045 100644 --- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json +++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json @@ -1466,8 +1466,6 @@ "dashboard.featureCatalogue.dashboardDescription": "ビジュアライゼーションと保存された検索のコレクションの表示と共有を行います。", "dashboard.featureCatalogue.dashboardSubtitle": "ダッシュボードでデータを分析します。", "dashboard.featureCatalogue.dashboardTitle": "ダッシュボード", - "dashboard.hasRunMigrationsBadge": "推奨を保存", - "dashboard.hasRunMigrationsBadgeToolTipContent": "このダッシュボードの1つ以上のパネルが新しいバージョンに更新されました。ダッシュボードを保存すると、次回の読み込みが速くなります。", "dashboard.labs.enableLabsDescription": "このフラグはビューアーで[ラボ]ボタンを使用できるかどうかを決定します。ダッシュボードで実験的機能を有効および無効にするための簡単な方法です。", "dashboard.labs.enableUI": "ダッシュボードで[ラボ]ボタンを有効にする", "dashboard.listing.createNewDashboard.combineDataViewFromKibanaAppDescription": "ダッシュボードを作成し、ビジュアライゼーションを追加して、すべてのElasticデータを1つの場所で分析します。", diff --git a/x-pack/platform/plugins/private/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json index c7b9faa1dd4b9..3fb56f88c24e0 100644 --- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json +++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json @@ -1479,8 +1479,6 @@ "dashboard.featureCatalogue.dashboardDescription": "显示和共享可视化和已保存搜索的集合。", "dashboard.featureCatalogue.dashboardSubtitle": "在仪表板中分析数据。", "dashboard.featureCatalogue.dashboardTitle": "仪表板", - "dashboard.hasRunMigrationsBadge": "保存推荐项", - "dashboard.hasRunMigrationsBadgeToolTipContent": "此仪表板上的一个或多个面板已更新到新版本。保存该仪表板以便下次更快加载。", "dashboard.labs.enableLabsDescription": "此标志决定查看者是否有权访问用于在仪表板中快速启用和禁用技术预览功能的'实验'按钮。", "dashboard.labs.enableUI": "在仪表板中启用实验按钮", "dashboard.listing.createNewDashboard.combineDataViewFromKibanaAppDescription": "通过创建仪表板并添加可视化,在一个位置分析所有 Elastic 数据。",