diff --git a/.buildkite/pipelines/package_testing.yml b/.buildkite/pipelines/package_testing.yml new file mode 100644 index 0000000000000..e9e1ca896c949 --- /dev/null +++ b/.buildkite/pipelines/package_testing.yml @@ -0,0 +1,27 @@ +steps: + - command: .buildkite/scripts/steps/package_testing/build.sh + label: Build Packages + agents: + queue: c2-16 + timeout_in_minutes: 60 + if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''" + + - wait + + - command: TEST_PACKAGE=deb .buildkite/scripts/steps/package_testing/test.sh + label: Package testing for deb + agents: + queue: n2-4-virt + timeout_in_minutes: 60 + + - command: TEST_PACKAGE=rpm .buildkite/scripts/steps/package_testing/test.sh + label: Package testing for rpm + agents: + queue: n2-4-virt + timeout_in_minutes: 60 + + - command: TEST_PACKAGE=docker .buildkite/scripts/steps/package_testing/test.sh + label: Package testing for docker + agents: + queue: n2-4-virt + timeout_in_minutes: 60 diff --git a/.buildkite/pipelines/pull_request/osquery_cypress.yml b/.buildkite/pipelines/pull_request/osquery_cypress.yml index 766d28e0877c7..05a1545b1df17 100644 --- a/.buildkite/pipelines/pull_request/osquery_cypress.yml +++ b/.buildkite/pipelines/pull_request/osquery_cypress.yml @@ -9,3 +9,5 @@ steps: automatic: - exit_status: '*' limit: 1 + artifact_paths: + - "target/kibana-osquery/**/*" diff --git a/.buildkite/scripts/steps/functional/osquery_cypress.sh b/.buildkite/scripts/steps/functional/osquery_cypress.sh index a23d41c4f8d4d..a0d98713aa379 100755 --- a/.buildkite/scripts/steps/functional/osquery_cypress.sh +++ b/.buildkite/scripts/steps/functional/osquery_cypress.sh @@ -4,8 +4,9 @@ set -euo pipefail source .buildkite/scripts/common/util.sh +export BUILD_TS_REFS_DISABLE=false .buildkite/scripts/bootstrap.sh -.buildkite/scripts/download_build_artifacts.sh +node scripts/build_kibana_platform_plugins.js export JOB=kibana-osquery-cypress @@ -16,5 +17,5 @@ cd "$XPACK_DIR" checks-reporter-with-killswitch "Osquery Cypress Tests" \ node scripts/functional_tests \ --debug --bail \ - --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ --config test/osquery_cypress/cli_config.ts + diff --git a/.buildkite/scripts/steps/package_testing/build.sh b/.buildkite/scripts/steps/package_testing/build.sh new file mode 100755 index 0000000000000..813713dff2fe3 --- /dev/null +++ b/.buildkite/scripts/steps/package_testing/build.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -euo pipefail + +.buildkite/scripts/bootstrap.sh + +echo "--- Build Kibana Distribution" +node scripts/build --all-platforms --debug --skip-docker-cloud --skip-docker-ubi --skip-docker-contexts + +cd target +buildkite-agent artifact upload "./*-docker-image.tar.gz;./*.deb;./*.rpm" +cd .. diff --git a/.buildkite/scripts/steps/package_testing/test.sh b/.buildkite/scripts/steps/package_testing/test.sh new file mode 100755 index 0000000000000..eb2f20eea4525 --- /dev/null +++ b/.buildkite/scripts/steps/package_testing/test.sh @@ -0,0 +1,39 @@ +#!/usr/bin/env bash + +set -euo pipefail + +.buildkite/scripts/bootstrap.sh + +echo "--- Package Testing for $TEST_PACKAGE" + +mkdir -p target +cd target +if [[ "$TEST_PACKAGE" == "deb" ]]; then + buildkite-agent artifact download 'kibana-*.deb' . --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}" + KIBANA_IP_ADDRESS="192.168.50.5" +elif [[ "$TEST_PACKAGE" == "rpm" ]]; then + buildkite-agent artifact download 'kibana-*.rpm' . --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}" + KIBANA_IP_ADDRESS="192.168.50.6" +elif [[ "$TEST_PACKAGE" == "docker" ]]; then + buildkite-agent artifact download 'kibana-*-docker-image.tar.gz' . --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}" + KIBANA_IP_ADDRESS="192.168.50.7" +fi +cd .. + +export VAGRANT_CWD=test/package +vagrant up "$TEST_PACKAGE" --no-provision + +node scripts/es snapshot \ + -E network.bind_host=127.0.0.1,192.168.50.1 \ + -E discovery.type=single-node \ + --license=trial & +while ! timeout 1 bash -c "echo > /dev/tcp/localhost/9200"; do sleep 30; done + +vagrant provision "$TEST_PACKAGE" + +export TEST_BROWSER_HEADLESS=1 +export TEST_KIBANA_URL="http://elastic:changeme@$KIBANA_IP_ADDRESS:5601" +export TEST_ES_URL=http://elastic:changeme@192.168.50.1:9200 + +cd x-pack +node scripts/functional_test_runner.js --include-tag=smoke diff --git a/.buildkite/scripts/steps/storybooks/build_and_upload.js b/.buildkite/scripts/steps/storybooks/build_and_upload.js index 86bfb4eeebf94..328c769d81c66 100644 --- a/.buildkite/scripts/steps/storybooks/build_and_upload.js +++ b/.buildkite/scripts/steps/storybooks/build_and_upload.js @@ -14,12 +14,11 @@ const path = require('path'); const STORYBOOKS = [ 'apm', 'canvas', - 'codeeditor', 'ci_composite', + 'codeeditor', 'custom_integrations', - 'url_template_editor', - 'dashboard', 'dashboard_enhanced', + 'dashboard', 'data_enhanced', 'embeddable', 'expression_error', @@ -31,11 +30,13 @@ const STORYBOOKS = [ 'expression_tagcloud', 'fleet', 'infra', - 'security_solution', - 'ui_actions_enhanced', + 'lists', 'observability', 'presentation', - 'lists', + 'security_solution', + 'shared_ux', + 'ui_actions_enhanced', + 'url_template_editor', ]; const GITHUB_CONTEXT = 'Build and Publish Storybooks'; diff --git a/.ci/Dockerfile b/.ci/Dockerfile index 8e0d2d4351965..d486aaeb0dee7 100644 --- a/.ci/Dockerfile +++ b/.ci/Dockerfile @@ -1,7 +1,7 @@ # NOTE: This Dockerfile is ONLY used to run certain tasks in CI. It is not used to run Kibana or as a distributable. # If you're looking for the Kibana Docker image distributable, please see: src/dev/build/tasks/os_packages/docker_generator/templates/dockerfile.template.ts -ARG NODE_VERSION=16.13.0 +ARG NODE_VERSION=16.13.2 FROM node:${NODE_VERSION} AS base diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0858731b4eaf1..36e1e3813275e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -11,7 +11,7 @@ /packages/kbn-docs-utils/ @elastic/kibana-tech-leads @elastic/kibana-operations # Virtual teams -/x-pack/plugins/rule_registry/ @elastic/rac +/x-pack/plugins/rule_registry/ @elastic/rac @elastic/response-ops # Data Discovery /src/plugins/discover/ @elastic/kibana-data-discovery @@ -324,47 +324,25 @@ /examples/preboot_example/ @elastic/kibana-security @elastic/kibana-core #CC# /x-pack/plugins/security/ @elastic/kibana-security -# Kibana Alerting Services -/x-pack/plugins/alerting/ @elastic/kibana-alerting-services -/x-pack/plugins/actions/ @elastic/kibana-alerting-services -/x-pack/plugins/event_log/ @elastic/kibana-alerting-services -/x-pack/plugins/task_manager/ @elastic/kibana-alerting-services -/x-pack/test/alerting_api_integration/ @elastic/kibana-alerting-services -/x-pack/test/plugin_api_integration/test_suites/task_manager/ @elastic/kibana-alerting-services -/x-pack/plugins/triggers_actions_ui/ @elastic/kibana-alerting-services -/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/ @elastic/kibana-alerting-services -/x-pack/test/functional_with_es_ssl/fixtures/plugins/alerts/ @elastic/kibana-alerting-services -/docs/user/alerting/ @elastic/kibana-alerting-services -/docs/management/connectors/ @elastic/kibana-alerting-services -#CC# /x-pack/plugins/stack_alerts @elastic/kibana-alerting-services +# Response Ops team +/x-pack/plugins/alerting/ @elastic/response-ops +/x-pack/plugins/actions/ @elastic/response-ops +/x-pack/plugins/event_log/ @elastic/response-ops +/x-pack/plugins/task_manager/ @elastic/response-ops +/x-pack/test/alerting_api_integration/ @elastic/response-ops +/x-pack/test/plugin_api_integration/test_suites/task_manager/ @elastic/response-ops +/x-pack/plugins/triggers_actions_ui/ @elastic/response-ops +/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/ @elastic/response-ops +/x-pack/test/functional_with_es_ssl/fixtures/plugins/alerts/ @elastic/response-ops +/docs/user/alerting/ @elastic/response-ops +/docs/management/connectors/ @elastic/response-ops +#CC# /x-pack/plugins/stack_alerts @elastic/response-ops +/x-pack/plugins/cases @elastic/response-ops +/x-pack/test/cases_api_integration @elastic/response-ops # Enterprise Search -# Shared -/x-pack/plugins/enterprise_search/* @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/common/ @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/public/* @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/public/applications/* @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/public/applications/enterprise_search/ @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/public/applications/shared/ @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/public/applications/__mocks__/ @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/server/* @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/server/lib/ @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/server/__mocks__/ @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/server/collectors/enterprise_search/ @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/server/collectors/lib/ @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/server/routes/enterprise_search/ @elastic/enterprise-search-frontend -/x-pack/plugins/enterprise_search/server/saved_objects/enterprise_search/ @elastic/enterprise-search-frontend +/x-pack/plugins/enterprise_search @elastic/enterprise-search-frontend /x-pack/test/functional_enterprise_search/ @elastic/enterprise-search-frontend -# App Search -/x-pack/plugins/enterprise_search/public/applications/app_search/ @elastic/app-search-frontend -/x-pack/plugins/enterprise_search/server/routes/app_search/ @elastic/app-search-frontend -/x-pack/plugins/enterprise_search/server/collectors/app_search/ @elastic/app-search-frontend -/x-pack/plugins/enterprise_search/server/saved_objects/app_search/ @elastic/app-search-frontend -# Workplace Search -/x-pack/plugins/enterprise_search/public/applications/workplace_search/ @elastic/workplace-search-frontend -/x-pack/plugins/enterprise_search/server/routes/workplace_search/ @elastic/workplace-search-frontend -/x-pack/plugins/enterprise_search/server/collectors/workplace_search/ @elastic/workplace-search-frontend -/x-pack/plugins/enterprise_search/server/saved_objects/workplace_search/ @elastic/workplace-search-frontend # Management Experience - Deployment Management /src/plugins/dev_tools/ @elastic/platform-deployment-management @@ -403,9 +381,7 @@ #CC# /x-pack/plugins/security_solution/ @elastic/security-solution # Security Solution sub teams -/x-pack/plugins/cases @elastic/security-threat-hunting /x-pack/plugins/timelines @elastic/security-threat-hunting -/x-pack/test/cases_api_integration @elastic/security-threat-hunting /x-pack/plugins/lists @elastic/security-detections-response ## Security Solution sub teams - security-onboarding-and-lifecycle-mgt diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 5ba208a45766e..d126ea6ec9b38 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -39,5 +39,3 @@ jobs: github_token: ${{secrets.KIBANAMACHINE_TOKEN}} commit_user: kibanamachine commit_email: 42973632+kibanamachine@users.noreply.github.com - auto_merge: 'true' - auto_merge_method: 'squash' diff --git a/.node-version b/.node-version index 58a4133d910f4..23d9c36a1187a 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -16.13.0 +16.13.2 diff --git a/.nvmrc b/.nvmrc index 5b0ad74a81023..d7cb9ec3a7643 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.13.0 \ No newline at end of file +16.13.2 \ No newline at end of file diff --git a/README.md b/README.md index 1786aaeba22d6..96ca7c2f8dc65 100644 --- a/README.md +++ b/README.md @@ -49,13 +49,13 @@ _Note: The version numbers below are only examples, meant to illustrate the rela | Situation | Example Kibana version | Example ES version | Outcome | | ------------------------- | -------------------------- |------------------- | ------- | -| Versions are the same. | 5.1.2 | 5.1.2 | 💚 OK | -| ES patch number is newer. | 5.1.__2__ | 5.1.__5__ | ⚠️ Logged warning | -| ES minor number is newer. | 5.__1__.2 | 5.__5__.0 | ⚠️ Logged warning | -| ES major number is newer. | __5__.1.2 | __6__.0.0 | 🚫 Fatal error | -| ES patch number is older. | 5.1.__2__ | 5.1.__0__ | ⚠️ Logged warning | -| ES minor number is older. | 5.__1__.2 | 5.__0__.0 | 🚫 Fatal error | -| ES major number is older. | __5__.1.2 | __4__.0.0 | 🚫 Fatal error | +| Versions are the same. | 7.15.1 | 7.15.1 | 💚 OK | +| ES patch number is newer. | 7.15.__0__ | 7.15.__1__ | ⚠️ Logged warning | +| ES minor number is newer. | 7.__14__.2 | 7.__15__.0 | ⚠️ Logged warning | +| ES major number is newer. | __7__.15.1 | __8__.0.0 | 🚫 Fatal error | +| ES patch number is older. | 7.15.__1__ | 7.15.__0__ | ⚠️ Logged warning | +| ES minor number is older. | 7.__15__.1 | 7.__14__.2 | 🚫 Fatal error | +| ES major number is older. | __8__.0.0 | __7__.15.1 | 🚫 Fatal error | ## Questions? Problems? Suggestions? diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 08c5bfa551437..3a9782ca2c676 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -27,14 +27,14 @@ check_rules_nodejs_version(minimum_version_string = "3.8.0") # we can update that rule. node_repositories( node_repositories = { - "16.13.0-darwin_amd64": ("node-v16.13.0-darwin-x64.tar.gz", "node-v16.13.0-darwin-x64", "37e09a8cf2352f340d1204c6154058d81362fef4ec488b0197b2ce36b3f0367a"), - "16.13.0-darwin_arm64": ("node-v16.13.0-darwin-arm64.tar.gz", "node-v16.13.0-darwin-arm64", "46d83fc0bd971db5050ef1b15afc44a6665dee40bd6c1cbaec23e1b40fa49e6d"), - "16.13.0-linux_arm64": ("node-v16.13.0-linux-arm64.tar.xz", "node-v16.13.0-linux-arm64", "93a0d03f9f802353cb7052bc97a02cd9642b49fa985671cdc16c99936c86d7d2"), - "16.13.0-linux_s390x": ("node-v16.13.0-linux-s390x.tar.xz", "node-v16.13.0-linux-s390x", "49e972bf3e969d621157df4c8f2fa18ff748c167d5ebd0efc87e1b9f0c6541cc"), - "16.13.0-linux_amd64": ("node-v16.13.0-linux-x64.tar.xz", "node-v16.13.0-linux-x64", "a876ce787133149abd1696afa54b0b5bc5ce3d5ae359081d407ff776e39b7ba8"), - "16.13.0-windows_amd64": ("node-v16.13.0-win-x64.zip", "node-v16.13.0-win-x64", "5a39ec5d4786c2814a6c04488bebac6423c2aaa12832b24f0882456f2e4674e1"), + "16.13.2-darwin_amd64": ("node-v16.13.2-darwin-x64.tar.gz", "node-v16.13.2-darwin-x64", "900a952bb77533d349e738ff8a5179a4344802af694615f36320a888b49b07e6"), + "16.13.2-darwin_arm64": ("node-v16.13.2-darwin-arm64.tar.gz", "node-v16.13.2-darwin-arm64", "09d300008ad58792c12622a5eafdb14c931587bb88713df4df64cdf4ff2188d1"), + "16.13.2-linux_arm64": ("node-v16.13.2-linux-arm64.tar.xz", "node-v16.13.2-linux-arm64", "a3cf8e4e9fbea27573eee6da84720bf7227ddd22842b842d48049d6dfe55fb03"), + "16.13.2-linux_s390x": ("node-v16.13.2-linux-s390x.tar.xz", "node-v16.13.2-linux-s390x", "c4ba46fc19366f7377d28a60a98f741bfa38045d7924306244c51d1660afcc8d"), + "16.13.2-linux_amd64": ("node-v16.13.2-linux-x64.tar.xz", "node-v16.13.2-linux-x64", "7f5e9a42d6e86147867d35643c7b1680c27ccd45db85666fc52798ead5e74421"), + "16.13.2-windows_amd64": ("node-v16.13.2-win-x64.zip", "node-v16.13.2-win-x64", "107e3ece84b7fa1e80b3bdf03181d395246c7867e27b17b6d7e6fa9c7932b467"), }, - node_version = "16.13.0", + node_version = "16.13.2", node_urls = [ "https://nodejs.org/dist/v{version}/{filename}", ], diff --git a/api_docs/actions.json b/api_docs/actions.json index 85471025a306d..01f15db6c0893 100644 --- a/api_docs/actions.json +++ b/api_docs/actions.json @@ -1305,13 +1305,7 @@ "text": "KibanaRequest" }, ") => Promise<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.PublicMethodsOf", - "text": "PublicMethodsOf" - }, + "PublicMethodsOf", "<", { "pluginId": "actions", @@ -1366,13 +1360,7 @@ "text": "KibanaRequest" }, ") => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.PublicMethodsOf", - "text": "PublicMethodsOf" - }, + "PublicMethodsOf", "<", { "pluginId": "actions", diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index ac09a1ba91fa2..bfad2205ddfd2 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -18,7 +18,7 @@ Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 23 | 0 | 20 | 1 | +| 23 | 0 | 19 | 1 | ## Client diff --git a/api_docs/alerting.json b/api_docs/alerting.json index ff7962fd64dd9..dd236a0e39110 100644 --- a/api_docs/alerting.json +++ b/api_docs/alerting.json @@ -25,13 +25,7 @@ "text": "SanitizedAlert" }, ") => string | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.JsonObject", - "text": "JsonObject" - } + "JsonObject" ], "path": "x-pack/plugins/alerting/public/alert_navigation_registry/types.ts", "deprecated": false, @@ -510,13 +504,7 @@ ") => Promise<{ filter?: ", "KueryNode", " | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.JsonObject", - "text": "JsonObject" - }, + "JsonObject", " | undefined; ensureRuleTypeIsAuthorized: (ruleTypeId: string, consumer: string, auth: string) => void; }>" ], "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", @@ -596,13 +584,7 @@ ") => Promise<{ filter?: ", "KueryNode", " | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.JsonObject", - "text": "JsonObject" - }, + "JsonObject", " | undefined; ensureRuleTypeIsAuthorized: (ruleTypeId: string, consumer: string, auth: string) => void; }>" ], "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", @@ -1492,7 +1474,9 @@ "label": "search", "description": [], "signature": [ - "(query: ", + ">(query: ", "SearchRequest", " | ", "SearchRequest", @@ -1502,7 +1486,7 @@ "TransportResult", "<", "SearchResponse", - ", TContext>>" + ", unknown>>" ], "path": "x-pack/plugins/alerting/server/lib/create_abortable_es_client_factory.ts", "deprecated": false, @@ -1711,13 +1695,7 @@ "text": "KibanaRequest" }, ") => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.PublicMethodsOf", - "text": "PublicMethodsOf" - }, + "PublicMethodsOf", "<", { "pluginId": "alerting", @@ -1772,13 +1750,7 @@ "text": "KibanaRequest" }, ") => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.PublicMethodsOf", - "text": "PublicMethodsOf" - }, + "PublicMethodsOf", "<", { "pluginId": "alerting", @@ -3564,13 +3536,7 @@ "label": "state", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.JsonObject", - "text": "JsonObject" - } + "JsonObject" ], "path": "x-pack/plugins/alerting/common/alert_navigation.ts", "deprecated": false diff --git a/api_docs/apm.json b/api_docs/apm.json index ada0d56871958..a6e2b5f8c8216 100644 --- a/api_docs/apm.json +++ b/api_docs/apm.json @@ -489,37 +489,7 @@ "section": "def-server.LicensingPluginStart", "text": "LicensingPluginStart" }, - ">; }; observability: { setup: { getScopedAnnotationsClient: (requestContext: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.RequestHandlerContext", - "text": "RequestHandlerContext" - }, - " & { licensing: ", - { - "pluginId": "licensing", - "scope": "server", - "docId": "kibLicensingPluginApi", - "section": "def-server.LicensingApiRequestHandlerContext", - "text": "LicensingApiRequestHandlerContext" - }, - "; }, request: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreHttpPluginApi", - "section": "def-server.KibanaRequest", - "text": "KibanaRequest" - }, - ") => Promise<{ readonly index: string; create: (createParams: { annotation: { type: string; }; '@timestamp': string; message: string; } & { tags?: string[] | undefined; service?: { name?: string | undefined; environment?: string | undefined; version?: string | undefined; } | undefined; }) => Promise<{ _id: string; _index: string; _source: ", - "Annotation", - "; }>; getById: (getByIdParams: { id: string; }) => Promise<", - "GetResponse", - ">; delete: (deleteParams: { id: string; }) => Promise<", - "DeleteResponse", - ">; } | undefined>; }; start: () => Promise; }; ruleRegistry: { setup: ", + ">; }; observability: { setup: { getScopedAnnotationsClient: (...args: unknown[]) => Promise; }; start: () => Promise; }; ruleRegistry: { setup: ", { "pluginId": "ruleRegistry", "scope": "server", @@ -795,13 +765,7 @@ "label": "APMServerRouteRepository", "description": [], "signature": [ - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRouteRepository", - "text": "ServerRouteRepository" - }, + "ServerRouteRepository", "<", { "pluginId": "apm", @@ -813,13 +777,7 @@ ", ", "APMRouteCreateOptions", ", { \"POST /internal/apm/data_view/static\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /internal/apm/data_view/static\", undefined, ", { "pluginId": "apm", @@ -831,13 +789,7 @@ ", { created: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/data_view/dynamic\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/data_view/dynamic\", undefined, ", { "pluginId": "apm", @@ -851,13 +803,7 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/environments\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/environments\", ", "TypeC", "<{ query: ", @@ -887,13 +833,7 @@ ">)[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics\", ", "TypeC", "<{ path: ", @@ -951,13 +891,7 @@ ", { errorGroups: { groupId: string; name: string; lastSeen: number; occurrences: number; culprit: string | undefined; handled: boolean | undefined; type: string | undefined; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/errors/groups/detailed_statistics\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/errors/groups/detailed_statistics\", ", "TypeC", "<{ path: ", @@ -1019,13 +953,7 @@ "; }[]; groupId: string; }>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/errors/{groupId}\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/errors/{groupId}\", ", "TypeC", "<{ path: ", @@ -1075,13 +1003,7 @@ "; occurrencesCount: number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/errors/distribution\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/errors/distribution\", ", "TypeC", "<{ path: ", @@ -1137,13 +1059,7 @@ "; }[]; bucketSize: number; }, ", "APMRouteCreateOptions", ">; } & { \"POST /internal/apm/latency/overall_distribution\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /internal/apm/latency/overall_distribution\", ", "TypeC", "<{ body: ", @@ -1209,13 +1125,7 @@ ", ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/metrics/charts\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/metrics/charts\", ", "TypeC", "<{ path: ", @@ -1264,20 +1174,10 @@ "section": "def-server.APMRouteHandlerResources", "text": "APMRouteHandlerResources" }, - ", { charts: { title: string; key: string; yUnit: ", - "YUnit", - "; series: { title: string; key: string; type: ", - "ChartType", - "; color: string; overallValue: number; data: { x: number; y: number | null; }[]; }[]; }[]; }, ", + ", { charts: any[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/observability_overview\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/observability_overview\", ", "TypeC", "<{ query: ", @@ -1305,13 +1205,7 @@ ", { serviceCount: number; transactionPerMinute: { value: undefined; timeseries: never[]; } | { value: number; timeseries: { x: number; y: number | null; }[]; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/observability_overview/has_data\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/observability_overview/has_data\", undefined, ", { "pluginId": "apm", @@ -1325,13 +1219,7 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/ux/client-metrics\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/ux/client-metrics\", ", "TypeC", "<{ query: ", @@ -1363,13 +1251,7 @@ ", { pageViews: { value: number; }; totalPageLoadDuration: { value: number; }; backEnd: { value: number; }; frontEnd: { value: number; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/ux/page-load-distribution\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/ux/page-load-distribution\", ", "TypeC", "<{ query: ", @@ -1409,13 +1291,7 @@ ", { pageLoadDistribution: { pageLoadDistribution: { x: number; y: number; }[]; percentiles: Record | undefined; minDuration: number; maxDuration: number; } | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/ux/page-load-distribution/breakdown\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/ux/page-load-distribution/breakdown\", ", "TypeC", "<{ query: ", @@ -1459,13 +1335,7 @@ ", { pageLoadDistBreakdown: { name: string; data: { x: number; y: number; }[]; }[] | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/ux/page-view-trends\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/ux/page-view-trends\", ", "TypeC", "<{ query: ", @@ -1503,13 +1373,7 @@ ", { topItems: string[]; items: Record[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/ux/services\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/ux/services\", ", "TypeC", "<{ query: ", @@ -1535,13 +1399,7 @@ ", { rumServices: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/ux/visitor-breakdown\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/ux/visitor-breakdown\", ", "TypeC", "<{ query: ", @@ -1573,13 +1431,7 @@ ", { os: { count: number; name: string; }[]; browsers: { count: number; name: string; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/ux/web-core-vitals\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/ux/web-core-vitals\", ", "TypeC", "<{ query: ", @@ -1611,13 +1463,7 @@ ", { coreVitalPages: number; cls: number | null; fid: number | null | undefined; lcp: number | null | undefined; tbt: number; fcp: number | null | undefined; lcpRanks: number[]; fidRanks: number[]; clsRanks: number[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/ux/long-task-metrics\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/ux/long-task-metrics\", ", "TypeC", "<{ query: ", @@ -1649,13 +1495,7 @@ ", { noOfLongTasks: number; sumOfLongTasks: number; longestLongTask: number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/ux/url-search\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/ux/url-search\", ", "TypeC", "<{ query: ", @@ -1687,13 +1527,7 @@ ", { total: number; items: { url: string; count: number; pld: number; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/ux/js-errors\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/ux/js-errors\", ", "TypeC", "<{ query: ", @@ -1729,13 +1563,7 @@ ", { totalErrorPages: number; totalErrors: number; totalErrorGroups: number; items: { count: number; errorGroupId: string | number; errorMessage: string; }[] | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/observability_overview/has_rum_data\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /api/apm/observability_overview/has_rum_data\", ", "PartialC", "<{ query: ", @@ -1757,13 +1585,7 @@ ", { indices: string; hasData: boolean; serviceName: string | number | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/service-map\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/service-map\", ", "TypeC", "<{ query: ", @@ -1807,13 +1629,7 @@ " | undefined; label: string | undefined; id?: string | undefined; parent?: string | undefined; position?: cytoscape.Position | undefined; } | { 'span.destination.service.resource': string; 'span.type': string; 'span.subtype': string; label: string | undefined; id?: string | undefined; parent?: string | undefined; position?: cytoscape.Position | undefined; } | { id: string; source: string | undefined; target: string | undefined; label: string | undefined; bidirectional?: boolean | undefined; isInverseEdge?: boolean | undefined; } | undefined)[]; }; } | { data: { id: string; source: string; target: string; }; })[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/service-map/service/{serviceName}\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/service-map/service/{serviceName}\", ", "TypeC", "<{ path: ", @@ -1861,13 +1677,7 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/service-map/backend\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/service-map/backend\", ", "TypeC", "<{ query: ", @@ -1915,13 +1725,7 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/serviceNodes\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/serviceNodes\", ", "TypeC", "<{ path: ", @@ -1965,13 +1769,7 @@ ", { serviceNodes: { name: string; cpu: number | null; heapMemory: number | null; hostName: string | null | undefined; nonHeapMemory: number | null; threadCount: number | null; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services\", ", "TypeC", "<{ query: ", @@ -2008,28 +1806,10 @@ "section": "def-server.APMRouteHandlerResources", "text": "APMRouteHandlerResources" }, - ", { items: JoinedReturnType<{ serviceName: string; transactionType: string; environments: string[]; agentName: ", - "AgentName", - "; latency: number | null; transactionErrorRate: number; throughput: number; } | { serviceName: string; environments: string[]; agentName: ", - "AgentName", - "; } | { serviceName: string; healthStatus: ", - "ServiceHealthStatus", - "; }, { serviceName: string; transactionType: string; environments: string[]; agentName: ", - "AgentName", - "; latency: number | null; transactionErrorRate: number; throughput: number; } & { serviceName: string; environments: string[]; agentName: ", - "AgentName", - "; } & { serviceName: string; healthStatus: ", - "ServiceHealthStatus", - "; }>; hasLegacyData: boolean; }, ", + ", { items: JoinedReturnType; hasLegacyData: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/detailed_statistics\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/detailed_statistics\", ", "TypeC", "<{ query: ", @@ -2077,13 +1857,7 @@ ", { currentPeriod: _.Dictionary<{ serviceName: string; latency: { x: number; y: number | null; }[]; transactionErrorRate: { x: number; y: number; }[]; throughput: { x: number; y: number; }[]; }>; previousPeriod: _.Dictionary<{ serviceName: string; latency: { x: number; y: number | null; }[]; transactionErrorRate: { x: number; y: number; }[]; throughput: { x: number; y: number; }[]; }>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/metadata/details\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/metadata/details\", ", "TypeC", "<{ path: ", @@ -2109,13 +1883,7 @@ ", ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/metadata/icons\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/metadata/icons\", ", "TypeC", "<{ path: ", @@ -2141,13 +1909,7 @@ ", ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/agent\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/agent\", ", "TypeC", "<{ path: ", @@ -2171,13 +1933,7 @@ ", { agentName?: undefined; runtimeName?: undefined; } | { agentName: string | undefined; runtimeName: string | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/transaction_types\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/transaction_types\", ", "TypeC", "<{ path: ", @@ -2201,13 +1957,7 @@ ", { transactionTypes: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/node/{serviceNodeName}/metadata\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/node/{serviceNodeName}/metadata\", ", "TypeC", "<{ path: ", @@ -2239,13 +1989,7 @@ ", { host: string | number; containerId: string | number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/annotation/search\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /api/apm/services/{serviceName}/annotation/search\", ", "TypeC", "<{ path: ", @@ -2287,13 +2031,7 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/services/{serviceName}/annotation\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /api/apm/services/{serviceName}/annotation\", ", "TypeC", "<{ path: ", @@ -2332,18 +2070,10 @@ "section": "def-server.APMRouteHandlerResources", "text": "APMRouteHandlerResources" }, - ", { _id: string; _index: string; _source: ", - "Annotation", - "; }, ", + ", unknown, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\", ", "TypeC", "<{ path: ", @@ -2391,13 +2121,7 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/throughput\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/throughput\", ", "TypeC", "<{ path: ", @@ -2459,13 +2183,7 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics\", ", "TypeC", "<{ path: ", @@ -2533,13 +2251,7 @@ ", { currentPeriod: { serviceNodeName: string; errorRate?: number | undefined; latency?: number | undefined; throughput?: number | undefined; cpuUsage?: number | null | undefined; memoryUsage?: number | null | undefined; }[]; previousPeriod: { serviceNodeName: string; errorRate?: number | undefined; latency?: number | undefined; throughput?: number | undefined; cpuUsage?: number | null | undefined; memoryUsage?: number | null | undefined; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics\", ", "TypeC", "<{ path: ", @@ -2631,13 +2343,7 @@ "; }[]; serviceNodeName: string; }>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/dependencies\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/dependencies\", ", "TypeC", "<{ path: ", @@ -2703,13 +2409,7 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/dependencies/breakdown\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/dependencies/breakdown\", ", "TypeC", "<{ path: ", @@ -2753,13 +2453,7 @@ ", { breakdown: { title: string; data: { x: number; y: number; }[]; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/profiling/timeline\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/profiling/timeline\", ", "TypeC", "<{ path: ", @@ -2803,13 +2497,7 @@ ", { profilingTimeline: { x: number; valueTypes: { wall_time: number; cpu_time: number; samples: number; alloc_objects: number; alloc_space: number; inuse_objects: number; inuse_space: number; unknown: number; }; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/profiling/statistics\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/profiling/statistics\", ", "TypeC", "<{ path: ", @@ -2887,13 +2575,7 @@ ">; rootNodes: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/alerts\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/alerts\", ", "TypeC", "<{ path: ", @@ -2937,13 +2619,7 @@ ", { alerts: Partial>[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/infrastructure\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/infrastructure\", ", "TypeC", "<{ path: ", @@ -2987,13 +2663,7 @@ ", { serviceInfrastructure: { containerIds: string[]; hostNames: string[]; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/anomaly_charts\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/anomaly_charts\", ", "TypeC", "<{ path: ", @@ -3025,13 +2695,7 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/suggestions\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/suggestions\", ", "PartialC", "<{ query: ", @@ -3051,13 +2715,7 @@ ", { terms: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/traces/{traceId}\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/traces/{traceId}\", ", "TypeC", "<{ path: ", @@ -3087,13 +2745,7 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/traces\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/traces\", ", "TypeC", "<{ query: ", @@ -3137,13 +2789,7 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/traces/{traceId}/root_transaction\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/traces/{traceId}/root_transaction\", ", "TypeC", "<{ path: ", @@ -3163,13 +2809,7 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/transactions/{transactionId}\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/transactions/{transactionId}\", ", "TypeC", "<{ path: ", @@ -3189,13 +2829,7 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics\", ", "TypeC", "<{ path: ", @@ -3257,13 +2891,7 @@ ", { transactionGroups: { transactionType: string; name: string; latency: number | null; throughput: number; errorRate: number; impact: number; }[]; isAggregationAccurate: boolean; bucketSize: number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics\", ", "TypeC", "<{ path: ", @@ -3347,13 +2975,7 @@ "; }[]; transactionName: string; impact: number; }>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/transactions/charts/latency\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/transactions/charts/latency\", ", "TypeC", "<{ path: ", @@ -3429,13 +3051,7 @@ "; }[]; overallAvgDuration: number | null; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/transactions/traces/samples\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/transactions/traces/samples\", ", "TypeC", "<{ path: ", @@ -3495,13 +3111,7 @@ ", { traceSamples: { transactionId: string; traceId: string; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/transaction/charts/breakdown\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/transaction/charts/breakdown\", ", "TypeC", "<{ path: ", @@ -3553,13 +3163,7 @@ ", { timeseries: { title: string; color: string; type: string; data: { x: number; y: number | null; }[]; hideLegend: boolean; legendValue: string; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/services/{serviceName}/transactions/charts/error_rate\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/services/{serviceName}/transactions/charts/error_rate\", ", "TypeC", "<{ path: ", @@ -3623,13 +3227,7 @@ "; }[]; average: number | null; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/alerts/chart_preview/transaction_error_rate\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/alerts/chart_preview/transaction_error_rate\", ", "TypeC", "<{ query: ", @@ -3683,13 +3281,7 @@ ", { errorRateChartPreview: { x: number; y: number; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/alerts/chart_preview/transaction_duration\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/alerts/chart_preview/transaction_duration\", ", "TypeC", "<{ query: ", @@ -3743,13 +3335,7 @@ ", { latencyChartPreview: { x: number; y: number | null; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/alerts/chart_preview/transaction_error_count\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/alerts/chart_preview/transaction_error_count\", ", "TypeC", "<{ query: ", @@ -3803,13 +3389,7 @@ ", { errorCountChartPreview: { x: number; y: number; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /api/apm/settings/agent-configuration\", undefined, ", { "pluginId": "apm", @@ -3823,13 +3403,7 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration/view\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /api/apm/settings/agent-configuration/view\", ", "PartialC", "<{ query: ", @@ -3851,13 +3425,7 @@ ", ", "APMRouteCreateOptions", ">; } & { \"DELETE /api/apm/settings/agent-configuration\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"DELETE /api/apm/settings/agent-configuration\", ", "TypeC", "<{ body: ", @@ -3879,13 +3447,7 @@ ", { result: string; }, ", "APMRouteCreateOptions", ">; } & { \"PUT /api/apm/settings/agent-configuration\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"PUT /api/apm/settings/agent-configuration\", ", "IntersectionC", "<[", @@ -3933,13 +3495,7 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/settings/agent-configuration/search\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /api/apm/settings/agent-configuration/search\", ", "TypeC", "<{ body: ", @@ -3973,13 +3529,7 @@ ", undefined, undefined> | null, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration/services\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /api/apm/settings/agent-configuration/services\", undefined, ", { "pluginId": "apm", @@ -3991,13 +3541,7 @@ ", { serviceNames: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration/environments\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /api/apm/settings/agent-configuration/environments\", ", "PartialC", "<{ query: ", @@ -4015,13 +3559,7 @@ ", { environments: { name: string; alreadyConfigured: boolean; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration/agent_name\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /api/apm/settings/agent-configuration/agent_name\", ", "TypeC", "<{ query: ", @@ -4039,13 +3577,7 @@ ", { agentName: string | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/settings/anomaly-detection/jobs\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/settings/anomaly-detection/jobs\", undefined, ", { "pluginId": "apm", @@ -4059,13 +3591,7 @@ "[]; hasLegacyJobs: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"POST /internal/apm/settings/anomaly-detection/jobs\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /internal/apm/settings/anomaly-detection/jobs\", ", "TypeC", "<{ body: ", @@ -4095,13 +3621,7 @@ ", { jobCreated: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/settings/anomaly-detection/environments\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/settings/anomaly-detection/environments\", undefined, ", { "pluginId": "apm", @@ -4113,13 +3633,7 @@ ", { environments: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /internal/apm/settings/anomaly-detection/update_to_v3\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /internal/apm/settings/anomaly-detection/update_to_v3\", undefined, ", { "pluginId": "apm", @@ -4131,13 +3645,7 @@ ", { update: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/settings/apm-index-settings\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/settings/apm-index-settings\", undefined, ", { "pluginId": "apm", @@ -4146,16 +3654,10 @@ "section": "def-server.APMRouteHandlerResources", "text": "APMRouteHandlerResources" }, - ", { apmIndexSettings: { configurationName: \"error\" | \"span\" | \"metric\" | \"transaction\" | \"sourcemap\" | \"onboarding\"; defaultValue: string; savedValue: string | undefined; }[]; }, ", + ", { apmIndexSettings: { configurationName: \"error\" | \"span\" | \"metric\" | \"transaction\" | \"sourcemap\" | \"onboarding\"; defaultValue: string; savedValue: any; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/settings/apm-indices\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/settings/apm-indices\", undefined, ", { "pluginId": "apm", @@ -4169,13 +3671,7 @@ ", ", "APMRouteCreateOptions", ">; } & { \"POST /internal/apm/settings/apm-indices/save\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /internal/apm/settings/apm-indices/save\", ", "TypeC", "<{ body: ", @@ -4193,13 +3689,7 @@ "<{}>, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/settings/custom_links/transaction\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/settings/custom_links/transaction\", ", "PartialC", "<{ query: ", @@ -4225,13 +3715,7 @@ ", ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/settings/custom_links\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/settings/custom_links\", ", "PartialC", "<{ query: ", @@ -4257,13 +3741,7 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /internal/apm/settings/custom_links\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /internal/apm/settings/custom_links\", ", "TypeC", "<{ body: ", @@ -4309,13 +3787,7 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"PUT /internal/apm/settings/custom_links/{id}\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"PUT /internal/apm/settings/custom_links/{id}\", ", "TypeC", "<{ path: ", @@ -4365,13 +3837,7 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"DELETE /internal/apm/settings/custom_links/{id}\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"DELETE /internal/apm/settings/custom_links/{id}\", ", "TypeC", "<{ path: ", @@ -4389,13 +3855,7 @@ ", { result: string; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/sourcemaps\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /api/apm/sourcemaps\", undefined, ", { "pluginId": "apm", @@ -4409,13 +3869,7 @@ "[]; } | undefined, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/sourcemaps\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /api/apm/sourcemaps\", ", "TypeC", "<{ body: ", @@ -4447,13 +3901,7 @@ " | undefined, ", "APMRouteCreateOptions", ">; } & { \"DELETE /api/apm/sourcemaps/{id}\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"DELETE /api/apm/sourcemaps/{id}\", ", "TypeC", "<{ path: ", @@ -4471,13 +3919,7 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/fleet/has_data\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/fleet/has_data\", undefined, ", { "pluginId": "apm", @@ -4489,13 +3931,7 @@ ", { hasData: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/fleet/agents\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/fleet/agents\", undefined, ", { "pluginId": "apm", @@ -4507,13 +3943,7 @@ ", { cloudStandaloneSetup: { apmServerUrl: string | undefined; secretToken: string | undefined; } | undefined; isFleetEnabled: boolean; fleetAgents: { id: string; name: string; apmServerUrl: any; secretToken: any; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/fleet/apm_server_schema\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /api/apm/fleet/apm_server_schema\", ", "TypeC", "<{ body: ", @@ -4535,13 +3965,7 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/fleet/apm_server_schema/unsupported\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/fleet/apm_server_schema/unsupported\", undefined, ", { "pluginId": "apm", @@ -4553,13 +3977,7 @@ ", { unsupported: { key: string; value: any; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/fleet/migration_check\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/fleet/migration_check\", undefined, ", { "pluginId": "apm", @@ -4579,13 +3997,7 @@ " | undefined; has_apm_integrations: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"POST /internal/apm/fleet/cloud_apm_package_policy\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /internal/apm/fleet/cloud_apm_package_policy\", undefined, ", { "pluginId": "apm", @@ -4605,13 +4017,7 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/backends/top_backends\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/backends/top_backends\", ", "IntersectionC", "<[", @@ -4681,13 +4087,7 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/backends/upstream_services\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/backends/upstream_services\", ", "IntersectionC", "<[", @@ -4763,13 +4163,7 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/backends/metadata\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/backends/metadata\", ", "TypeC", "<{ query: ", @@ -4795,13 +4189,7 @@ ", { metadata: { spanType: string | undefined; spanSubtype: string | undefined; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/backends/charts/latency\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/backends/charts/latency\", ", "TypeC", "<{ query: ", @@ -4849,13 +4237,7 @@ ", { currentTimeseries: { x: number; y: number; }[]; comparisonTimeseries: { x: number; y: number; }[] | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/backends/charts/throughput\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/backends/charts/throughput\", ", "TypeC", "<{ query: ", @@ -4903,13 +4285,7 @@ ", { currentTimeseries: { x: number; y: number | null; }[]; comparisonTimeseries: { x: number; y: number | null; }[] | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/backends/charts/error_rate\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/backends/charts/error_rate\", ", "TypeC", "<{ query: ", @@ -4957,13 +4333,7 @@ ", { currentTimeseries: { x: number; y: number; }[]; comparisonTimeseries: { x: number; y: number; }[] | null; }, ", "APMRouteCreateOptions", ">; } & { \"POST /internal/apm/correlations/p_values\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /internal/apm/correlations/p_values\", ", "TypeC", "<{ body: ", @@ -5019,13 +4389,7 @@ "[]; ccsWarning: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/correlations/field_candidates\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/correlations/field_candidates\", ", "TypeC", "<{ query: ", @@ -5073,13 +4437,7 @@ ", { fieldCandidates: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /internal/apm/correlations/field_stats\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /internal/apm/correlations/field_stats\", ", "TypeC", "<{ body: ", @@ -5135,13 +4493,7 @@ "[]; errors: any[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/correlations/field_value_stats\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/correlations/field_value_stats\", ", "TypeC", "<{ query: ", @@ -5201,13 +4553,7 @@ ", ", "APMRouteCreateOptions", ">; } & { \"POST /internal/apm/correlations/field_value_pairs\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /internal/apm/correlations/field_value_pairs\", ", "TypeC", "<{ body: ", @@ -5263,13 +4609,7 @@ "[]; errors: any[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /internal/apm/correlations/significant_correlations\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /internal/apm/correlations/significant_correlations\", ", "TypeC", "<{ body: ", @@ -5333,13 +4673,7 @@ "[]; ccsWarning: boolean; totalDocCount: number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/fallback_to_transactions\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/fallback_to_transactions\", ", "PartialC", "<{ query: ", @@ -5365,13 +4699,7 @@ ", { fallbackToTransactions: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/has_data\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/has_data\", undefined, ", { "pluginId": "apm", @@ -5383,13 +4711,7 @@ ", { hasData: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/event_metadata/{processorEvent}/{id}\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/event_metadata/{processorEvent}/{id}\", ", "TypeC", "<{ path: ", @@ -5429,13 +4751,7 @@ ", { metadata: Partial>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/agent_keys\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/agent_keys\", undefined, ", { "pluginId": "apm", @@ -5445,17 +4761,17 @@ "text": "APMRouteHandlerResources" }, ", { agentKeys: ", - "ApiKey", + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.ApiKey", + "text": "ApiKey" + }, "[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/agent_keys/privileges\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /internal/apm/agent_keys/privileges\", undefined, ", { "pluginId": "apm", @@ -5467,13 +4783,7 @@ ", { areApiKeysEnabled: boolean; isAdmin: boolean; canManage: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"POST /internal/apm/api_key/invalidate\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /internal/apm/api_key/invalidate\", ", "TypeC", "<{ body: ", @@ -5491,13 +4801,7 @@ ", { invalidatedAgentKeys: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/agent_keys\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"POST /api/apm/agent_keys\", ", "TypeC", "<{ body: ", diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index bc6167008a548..118cc005d2290 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -18,7 +18,7 @@ Contact [APM UI](https://github.com/orgs/elastic/teams/apm-ui) for questions reg | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 40 | 0 | 40 | 48 | +| 40 | 0 | 40 | 45 | ## Client diff --git a/api_docs/cases.json b/api_docs/cases.json index 3c3cf5399ebfc..3022c110c6254 100644 --- a/api_docs/cases.json +++ b/api_docs/cases.json @@ -549,6 +549,45 @@ "path": "x-pack/plugins/cases/public/types.ts", "deprecated": false, "children": [ + { + "parentPluginId": "cases", + "id": "def-public.CasesUiStart.canUseCases", + "type": "Function", + "tags": [], + "label": "canUseCases", + "description": [ + "\nReturns an object denoting the current user's ability to read and crud cases.\nIf any owner(securitySolution, Observability) is found with crud or read capability respectively,\nthen crud or read is set to true.\nPermissions for specific owners can be found by passing an owner array" + ], + "signature": [ + "(owners?: ", + "CasesOwners", + "[] | undefined) => { crud: boolean; read: boolean; }" + ], + "path": "x-pack/plugins/cases/public/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "cases", + "id": "def-public.CasesUiStart.canUseCases.$1", + "type": "Array", + "tags": [], + "label": "owners", + "description": [ + "an array of CaseOwners that should be queried for permission" + ], + "signature": [ + "CasesOwners", + "[] | undefined" + ], + "path": "x-pack/plugins/cases/public/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "An object denoting the case permissions of the current user" + ] + }, { "parentPluginId": "cases", "id": "def-public.CasesUiStart.getCases", @@ -1157,19 +1196,19 @@ "label": "connector", "description": [], "signature": [ - "{ id: string; } & ({ name: string; } & ({ type: ", + "{ id: string; } & (({ type: ", "ConnectorTypes", - ".jira; fields: { issueType: string | null; priority: string | null; parent: string | null; } | null; } | { type: ", + ".jira; fields: { issueType: string | null; priority: string | null; parent: string | null; } | null; } & { name: string; }) | ({ type: ", "ConnectorTypes", - ".none; fields: null; } | { type: ", + ".none; fields: null; } & { name: string; }) | ({ type: ", "ConnectorTypes", - ".resilient; fields: { incidentTypes: string[] | null; severityCode: string | null; } | null; } | { type: ", + ".resilient; fields: { incidentTypes: string[] | null; severityCode: string | null; } | null; } & { name: string; }) | ({ type: ", "ConnectorTypes", - ".serviceNowITSM; fields: { impact: string | null; severity: string | null; urgency: string | null; category: string | null; subcategory: string | null; } | null; } | { type: ", + ".serviceNowITSM; fields: { impact: string | null; severity: string | null; urgency: string | null; category: string | null; subcategory: string | null; } | null; } & { name: string; }) | ({ type: ", "ConnectorTypes", - ".serviceNowSIR; fields: { category: string | null; destIp: boolean | null; malwareHash: boolean | null; malwareUrl: boolean | null; priority: string | null; sourceIp: boolean | null; subcategory: string | null; } | null; } | { type: ", + ".serviceNowSIR; fields: { category: string | null; destIp: boolean | null; malwareHash: boolean | null; malwareUrl: boolean | null; priority: string | null; sourceIp: boolean | null; subcategory: string | null; } | null; } & { name: string; }) | ({ type: ", "ConnectorTypes", - ".swimlane; fields: { caseId: string | null; } | null; }))" + ".swimlane; fields: { caseId: string | null; } | null; } & { name: string; }))" ], "path": "x-pack/plugins/cases/common/ui/types.ts", "deprecated": false @@ -1192,8 +1231,7 @@ "label": "externalService", "description": [], "signature": [ - "CaseExternalService", - " | null" + "{ connectorId: string; connectorName: string; externalId: string; externalTitle: string; externalUrl: string; pushedAt: string; pushedBy: { email: string | null | undefined; fullName: string | null | undefined; username: string | null | undefined; }; } | null" ], "path": "x-pack/plugins/cases/common/ui/types.ts", "deprecated": false diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index 0aeac0fbfe377..ac90d149a9967 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -18,7 +18,7 @@ Contact [Security Solution Threat Hunting](https://github.com/orgs/elastic/teams | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 81 | 0 | 57 | 23 | +| 83 | 0 | 57 | 23 | ## Client diff --git a/api_docs/charts.json b/api_docs/charts.json index 32a3b67bfc33e..1892cdac8c0ee 100644 --- a/api_docs/charts.json +++ b/api_docs/charts.json @@ -3264,13 +3264,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/charts/common/palette.ts", @@ -3328,13 +3322,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/charts/common/palette.ts", diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index ce27ff9aca775..efa090cff2994 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -18,7 +18,7 @@ Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 314 | 2 | 282 | 4 | +| 314 | 2 | 281 | 4 | ## Client diff --git a/api_docs/console.json b/api_docs/console.json index cfb40c9833259..b3f71c4e530b9 100644 --- a/api_docs/console.json +++ b/api_docs/console.json @@ -215,13 +215,7 @@ "text": "ConsoleUILocatorParams" }, " extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "src/plugins/console/public/types/locator.ts", "deprecated": false, diff --git a/api_docs/controls.json b/api_docs/controls.json new file mode 100644 index 0000000000000..d7c0f9cda07b5 --- /dev/null +++ b/api_docs/controls.json @@ -0,0 +1,2631 @@ +{ + "id": "controls", + "client": { + "classes": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer", + "type": "Class", + "tags": [], + "label": "ControlGroupContainer", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlGroupContainer", + "text": "ControlGroupContainer" + }, + " extends ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.Container", + "text": "Container" + }, + "<", + "ControlInput", + ", ", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlGroupInput", + "text": "ControlGroupInput" + }, + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlGroupOutput", + "text": "ControlGroupOutput" + }, + ">" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"control_group\"" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.untilReady", + "type": "Function", + "tags": [], + "label": "untilReady", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "initialInput", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlGroupInput", + "text": "ControlGroupInput" + } + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.Container", + "text": "Container" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + "> | undefined" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.createNewPanelState", + "type": "Function", + "tags": [], + "label": "createNewPanelState", + "description": [], + "signature": [ + "(factory: ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableFactory", + "text": "EmbeddableFactory" + }, + "<", + "ControlInput", + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlOutput", + "text": "ControlOutput" + }, + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlEmbeddable", + "text": "ControlEmbeddable" + }, + "<", + "ControlInput", + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlOutput", + "text": "ControlOutput" + }, + ">, ", + "SavedObjectAttributes", + ">, partial?: Partial) => ", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlPanelState", + "text": "ControlPanelState" + }, + "" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.createNewPanelState.$1", + "type": "Object", + "tags": [], + "label": "factory", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableFactory", + "text": "EmbeddableFactory" + }, + "<", + "ControlInput", + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlOutput", + "text": "ControlOutput" + }, + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlEmbeddable", + "text": "ControlEmbeddable" + }, + "<", + "ControlInput", + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlOutput", + "text": "ControlOutput" + }, + ">, ", + "SavedObjectAttributes", + ">" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.createNewPanelState.$2", + "type": "Object", + "tags": [], + "label": "partial", + "description": [], + "signature": [ + "Partial" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.getInheritedInput", + "type": "Function", + "tags": [], + "label": "getInheritedInput", + "description": [], + "signature": [ + "(id: string) => ", + "ControlInput" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.getInheritedInput.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.destroy", + "type": "Function", + "tags": [], + "label": "destroy", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.render", + "type": "Function", + "tags": [], + "label": "render", + "description": [], + "signature": [ + "(dom: HTMLElement) => void" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.render.$1", + "type": "Object", + "tags": [], + "label": "dom", + "description": [], + "signature": [ + "HTMLElement" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory", + "type": "Class", + "tags": [], + "label": "ControlGroupContainerFactory", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlGroupContainerFactory", + "text": "ControlGroupContainerFactory" + }, + " implements ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableFactoryDefinition", + "text": "EmbeddableFactoryDefinition" + }, + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ">, ", + "SavedObjectAttributes", + ">" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.isContainerType", + "type": "boolean", + "tags": [], + "label": "isContainerType", + "description": [], + "signature": [ + "true" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"control_group\"" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.inject", + "type": "Function", + "tags": [], + "label": "inject", + "description": [], + "signature": [ + "(state: ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableStateWithType", + "text": "EmbeddableStateWithType" + }, + ", references: ", + "SavedObjectReference", + "[]) => ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableStateWithType", + "text": "EmbeddableStateWithType" + } + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.inject.$1", + "type": "Uncategorized", + "tags": [], + "label": "state", + "description": [], + "signature": [ + "P" + ], + "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.inject.$2", + "type": "Array", + "tags": [], + "label": "references", + "description": [], + "signature": [ + "SavedObjectReference", + "[]" + ], + "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.extract", + "type": "Function", + "tags": [], + "label": "extract", + "description": [], + "signature": [ + "(state: ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableStateWithType", + "text": "EmbeddableStateWithType" + }, + ") => { state: ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableStateWithType", + "text": "EmbeddableStateWithType" + }, + "; references: ", + "SavedObjectReference", + "[]; }" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.extract.$1", + "type": "Uncategorized", + "tags": [], + "label": "state", + "description": [], + "signature": [ + "P" + ], + "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "persistableStateService", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddablePersistableStateService", + "text": "EmbeddablePersistableStateService" + } + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.isEditable", + "type": "Function", + "tags": [], + "label": "isEditable", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.getDisplayName", + "type": "Function", + "tags": [], + "label": "getDisplayName", + "description": [], + "signature": [ + "() => string" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.getDefaultInput", + "type": "Function", + "tags": [], + "label": "getDefaultInput", + "description": [], + "signature": [ + "() => Partial<", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlGroupInput", + "text": "ControlGroupInput" + }, + ">" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "(initialInput: ", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlGroupInput", + "text": "ControlGroupInput" + }, + ", parent?: ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.Container", + "text": "Container" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + "> | undefined) => Promise<", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlGroupContainer", + "text": "ControlGroupContainer" + }, + ">" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.create.$1", + "type": "Object", + "tags": [], + "label": "initialInput", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlGroupInput", + "text": "ControlGroupInput" + } + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainerFactory.create.$2", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.Container", + "text": "Container" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + "> | undefined" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable", + "type": "Class", + "tags": [], + "label": "OptionsListEmbeddable", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.OptionsListEmbeddable", + "text": "OptionsListEmbeddable" + }, + " extends ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.Embeddable", + "text": "Embeddable" + }, + "<", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + }, + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlOutput", + "text": "ControlOutput" + }, + ">" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"optionsListControl\"" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable.tsx", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable.deferEmbeddableLoad", + "type": "boolean", + "tags": [], + "label": "deferEmbeddableLoad", + "description": [], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable.tsx", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "input", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + } + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable.Unnamed.$2", + "type": "CompoundType", + "tags": [], + "label": "output", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlOutput", + "text": "ControlOutput" + } + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable.Unnamed.$3", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IContainer", + "text": "IContainer" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + "> | undefined" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable.tsx", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable.reload", + "type": "Function", + "tags": [], + "label": "reload", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable.tsx", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable.destroy", + "type": "Function", + "tags": [], + "label": "destroy", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable.tsx", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable.render", + "type": "Function", + "tags": [], + "label": "render", + "description": [], + "signature": [ + "(node: HTMLElement) => void" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable.render.$1", + "type": "Object", + "tags": [], + "label": "node", + "description": [], + "signature": [ + "HTMLElement" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory", + "type": "Class", + "tags": [], + "label": "OptionsListEmbeddableFactory", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.OptionsListEmbeddableFactory", + "text": "OptionsListEmbeddableFactory" + }, + " implements ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableFactoryDefinition", + "text": "EmbeddableFactoryDefinition" + }, + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ">, ", + "SavedObjectAttributes", + ">,", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.IEditableControlFactory", + "text": "IEditableControlFactory" + }, + "<", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + }, + ">" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.canCreateNew", + "type": "Function", + "tags": [], + "label": "canCreateNew", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "(initialInput: ", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + }, + ", parent?: ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IContainer", + "text": "IContainer" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + "> | undefined) => Promise<", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.OptionsListEmbeddable", + "text": "OptionsListEmbeddable" + }, + ">" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.create.$1", + "type": "Object", + "tags": [], + "label": "initialInput", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + } + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.create.$2", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IContainer", + "text": "IContainer" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + "> | undefined" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.presaveTransformFunction", + "type": "Function", + "tags": [], + "label": "presaveTransformFunction", + "description": [], + "signature": [ + "(newInput: Partial<", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + }, + ">, embeddable?: ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlEmbeddable", + "text": "ControlEmbeddable" + }, + "<", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + }, + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlOutput", + "text": "ControlOutput" + }, + "> | undefined) => Partial<", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + }, + ">" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.presaveTransformFunction.$1", + "type": "Object", + "tags": [], + "label": "newInput", + "description": [], + "signature": [ + "Partial<", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + }, + ">" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.presaveTransformFunction.$2", + "type": "Object", + "tags": [], + "label": "embeddable", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlEmbeddable", + "text": "ControlEmbeddable" + }, + "<", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + }, + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlOutput", + "text": "ControlOutput" + }, + "> | undefined" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.controlEditorComponent", + "type": "Function", + "tags": [], + "label": "controlEditorComponent", + "description": [], + "signature": [ + "({ onChange, initialInput, setValidState, setDefaultTitle, }: ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlEditorProps", + "text": "ControlEditorProps" + }, + "<", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + }, + ">) => JSX.Element" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.controlEditorComponent.$1", + "type": "Object", + "tags": [], + "label": "__0", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlEditorProps", + "text": "ControlEditorProps" + }, + "<", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + }, + ">" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_editor.tsx", + "deprecated": false + } + ] + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.isEditable", + "type": "Function", + "tags": [], + "label": "isEditable", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.getDisplayName", + "type": "Function", + "tags": [], + "label": "getDisplayName", + "description": [], + "signature": [ + "() => string" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.inject", + "type": "Function", + "tags": [], + "label": "inject", + "description": [], + "signature": [ + "(state: ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableStateWithType", + "text": "EmbeddableStateWithType" + }, + ", references: ", + "SavedObjectReference", + "[]) => ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableStateWithType", + "text": "EmbeddableStateWithType" + } + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.inject.$1", + "type": "Uncategorized", + "tags": [], + "label": "state", + "description": [], + "signature": [ + "P" + ], + "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.inject.$2", + "type": "Array", + "tags": [], + "label": "references", + "description": [], + "signature": [ + "SavedObjectReference", + "[]" + ], + "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.extract", + "type": "Function", + "tags": [], + "label": "extract", + "description": [], + "signature": [ + "(state: ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableStateWithType", + "text": "EmbeddableStateWithType" + }, + ") => { state: ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableStateWithType", + "text": "EmbeddableStateWithType" + }, + "; references: ", + "SavedObjectReference", + "[]; }" + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable_factory.tsx", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableFactory.extract.$1", + "type": "Uncategorized", + "tags": [], + "label": "state", + "description": [], + "signature": [ + "P" + ], + "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + } + ], + "functions": [], + "interfaces": [ + { + "parentPluginId": "controls", + "id": "def-public.CommonControlOutput", + "type": "Interface", + "tags": [], + "label": "CommonControlOutput", + "description": [], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.CommonControlOutput.filters", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + "Filter", + "[] | undefined" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.CommonControlOutput.dataViews", + "type": "Array", + "tags": [], + "label": "dataViews", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[] | undefined" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlEditorProps", + "type": "Interface", + "tags": [], + "label": "ControlEditorProps", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlEditorProps", + "text": "ControlEditorProps" + }, + "" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlEditorProps.initialInput", + "type": "Object", + "tags": [], + "label": "initialInput", + "description": [], + "signature": [ + "Partial | undefined" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlEditorProps.onChange", + "type": "Function", + "tags": [], + "label": "onChange", + "description": [], + "signature": [ + "(partial: Partial) => void" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlEditorProps.onChange.$1", + "type": "Object", + "tags": [], + "label": "partial", + "description": [], + "signature": [ + "Partial" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlEditorProps.setValidState", + "type": "Function", + "tags": [], + "label": "setValidState", + "description": [], + "signature": [ + "(valid: boolean) => void" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlEditorProps.setValidState.$1", + "type": "boolean", + "tags": [], + "label": "valid", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlEditorProps.setDefaultTitle", + "type": "Function", + "tags": [], + "label": "setDefaultTitle", + "description": [], + "signature": [ + "(defaultTitle: string) => void" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlEditorProps.setDefaultTitle.$1", + "type": "string", + "tags": [], + "label": "defaultTitle", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupInput", + "type": "Interface", + "tags": [], + "label": "ControlGroupInput", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlGroupInput", + "text": "ControlGroupInput" + }, + " extends ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ",", + "ControlInput" + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupInput.defaultControlWidth", + "type": "CompoundType", + "tags": [], + "label": "defaultControlWidth", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlWidth", + "text": "ControlWidth" + }, + " | undefined" + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupInput.controlStyle", + "type": "CompoundType", + "tags": [], + "label": "controlStyle", + "description": [], + "signature": [ + "\"twoLine\" | \"oneLine\"" + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupInput.panels", + "type": "Object", + "tags": [], + "label": "panels", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlsPanels", + "text": "ControlsPanels" + } + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.IEditableControlFactory", + "type": "Interface", + "tags": [], + "label": "IEditableControlFactory", + "description": [ + "\nControl embeddable editor types" + ], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.IEditableControlFactory", + "text": "IEditableControlFactory" + }, + "" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.IEditableControlFactory.controlEditorComponent", + "type": "Function", + "tags": [], + "label": "controlEditorComponent", + "description": [], + "signature": [ + "((props: ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlEditorProps", + "text": "ControlEditorProps" + }, + ") => JSX.Element) | undefined" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.IEditableControlFactory.controlEditorComponent.$1", + "type": "Object", + "tags": [], + "label": "props", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlEditorProps", + "text": "ControlEditorProps" + }, + "" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.IEditableControlFactory.presaveTransformFunction", + "type": "Function", + "tags": [], + "label": "presaveTransformFunction", + "description": [], + "signature": [ + "((newState: Partial, embeddable?: ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlEmbeddable", + "text": "ControlEmbeddable" + }, + " | undefined) => Partial) | undefined" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.IEditableControlFactory.presaveTransformFunction.$1", + "type": "Object", + "tags": [], + "label": "newState", + "description": [], + "signature": [ + "Partial" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "controls", + "id": "def-public.IEditableControlFactory.presaveTransformFunction.$2", + "type": "Object", + "tags": [], + "label": "embeddable", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlEmbeddable", + "text": "ControlEmbeddable" + }, + " | undefined" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableInput", + "type": "Interface", + "tags": [], + "label": "OptionsListEmbeddableInput", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + }, + " extends ", + "ControlInput" + ], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableInput.fieldName", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableInput.dataViewId", + "type": "string", + "tags": [], + "label": "dataViewId", + "description": [], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableInput.selectedOptions", + "type": "Array", + "tags": [], + "label": "selectedOptions", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableInput.singleSelect", + "type": "CompoundType", + "tags": [], + "label": "singleSelect", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddableInput.loading", + "type": "CompoundType", + "tags": [], + "label": "loading", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ParentIgnoreSettings", + "type": "Interface", + "tags": [], + "label": "ParentIgnoreSettings", + "description": [], + "path": "src/plugins/controls/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ParentIgnoreSettings.ignoreFilters", + "type": "CompoundType", + "tags": [], + "label": "ignoreFilters", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/controls/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ParentIgnoreSettings.ignoreQuery", + "type": "CompoundType", + "tags": [], + "label": "ignoreQuery", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/controls/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ParentIgnoreSettings.ignoreTimerange", + "type": "CompoundType", + "tags": [], + "label": "ignoreTimerange", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/controls/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "controls", + "id": "def-public.CONTROL_GROUP_TYPE", + "type": "string", + "tags": [], + "label": "CONTROL_GROUP_TYPE", + "description": [], + "signature": [ + "\"control_group\"" + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlEmbeddable", + "type": "Type", + "tags": [], + "label": "ControlEmbeddable", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + "" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlFactory", + "type": "Type", + "tags": [], + "label": "ControlFactory", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableFactory", + "text": "EmbeddableFactory" + }, + "<", + "ControlInput", + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlOutput", + "text": "ControlOutput" + }, + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlEmbeddable", + "text": "ControlEmbeddable" + }, + "<", + "ControlInput", + ", ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlOutput", + "text": "ControlOutput" + }, + ">, ", + "SavedObjectAttributes", + ">" + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupOutput", + "type": "Type", + "tags": [], + "label": "ControlGroupOutput", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + " & ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.CommonControlOutput", + "text": "CommonControlOutput" + } + ], + "path": "src/plugins/controls/public/control_group/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlInput", + "type": "Type", + "tags": [], + "label": "ControlInput", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + " & { query?: ", + "Query", + " | undefined; filters?: ", + "Filter", + "[] | undefined; timeRange?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + " | undefined; controlStyle?: ", + "ControlStyle", + " | undefined; ignoreParentSettings?: ", + "ParentIgnoreSettings", + " | undefined; }" + ], + "path": "src/plugins/controls/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlOutput", + "type": "Type", + "tags": [], + "label": "ControlOutput", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + " & ", + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.CommonControlOutput", + "text": "CommonControlOutput" + } + ], + "path": "src/plugins/controls/public/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlStyle", + "type": "Type", + "tags": [], + "label": "ControlStyle", + "description": [], + "signature": [ + "\"twoLine\" | \"oneLine\"" + ], + "path": "src/plugins/controls/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlWidth", + "type": "Type", + "tags": [], + "label": "ControlWidth", + "description": [], + "signature": [ + "\"auto\" | \"small\" | \"medium\" | \"large\"" + ], + "path": "src/plugins/controls/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-public.OPTIONS_LIST_CONTROL", + "type": "string", + "tags": [], + "label": "OPTIONS_LIST_CONTROL", + "description": [], + "signature": [ + "\"optionsListControl\"" + ], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [ + { + "parentPluginId": "controls", + "id": "def-common.ControlGroupInput", + "type": "Interface", + "tags": [], + "label": "ControlGroupInput", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlGroupInput", + "text": "ControlGroupInput" + }, + " extends ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ",", + "ControlInput" + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-common.ControlGroupInput.defaultControlWidth", + "type": "CompoundType", + "tags": [], + "label": "defaultControlWidth", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlWidth", + "text": "ControlWidth" + }, + " | undefined" + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-common.ControlGroupInput.controlStyle", + "type": "CompoundType", + "tags": [], + "label": "controlStyle", + "description": [], + "signature": [ + "\"twoLine\" | \"oneLine\"" + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-common.ControlGroupInput.panels", + "type": "Object", + "tags": [], + "label": "panels", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlsPanels", + "text": "ControlsPanels" + } + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-common.ControlPanelState", + "type": "Interface", + "tags": [], + "label": "ControlPanelState", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlPanelState", + "text": "ControlPanelState" + }, + " extends ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.PanelState", + "text": "PanelState" + }, + "" + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-common.ControlPanelState.order", + "type": "number", + "tags": [], + "label": "order", + "description": [], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-common.ControlPanelState.width", + "type": "CompoundType", + "tags": [], + "label": "width", + "description": [], + "signature": [ + "\"auto\" | \"small\" | \"medium\" | \"large\"" + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-common.ControlsPanels", + "type": "Interface", + "tags": [], + "label": "ControlsPanels", + "description": [], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-common.ControlsPanels.Unnamed", + "type": "IndexSignature", + "tags": [], + "label": "[panelId: string]: ControlPanelState", + "description": [], + "signature": [ + "[panelId: string]: ", + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.ControlPanelState", + "text": "ControlPanelState" + }, + "<", + "ControlInput", + ">" + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-common.OptionsListEmbeddableInput", + "type": "Interface", + "tags": [], + "label": "OptionsListEmbeddableInput", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "common", + "docId": "kibControlsPluginApi", + "section": "def-common.OptionsListEmbeddableInput", + "text": "OptionsListEmbeddableInput" + }, + " extends ", + "ControlInput" + ], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-common.OptionsListEmbeddableInput.fieldName", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-common.OptionsListEmbeddableInput.dataViewId", + "type": "string", + "tags": [], + "label": "dataViewId", + "description": [], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-common.OptionsListEmbeddableInput.selectedOptions", + "type": "Array", + "tags": [], + "label": "selectedOptions", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-common.OptionsListEmbeddableInput.singleSelect", + "type": "CompoundType", + "tags": [], + "label": "singleSelect", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false + }, + { + "parentPluginId": "controls", + "id": "def-common.OptionsListEmbeddableInput.loading", + "type": "CompoundType", + "tags": [], + "label": "loading", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "controls", + "id": "def-common.CONTROL_GROUP_TYPE", + "type": "string", + "tags": [], + "label": "CONTROL_GROUP_TYPE", + "description": [], + "signature": [ + "\"control_group\"" + ], + "path": "src/plugins/controls/common/control_group/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-common.ControlWidth", + "type": "Type", + "tags": [], + "label": "ControlWidth", + "description": [], + "signature": [ + "\"auto\" | \"small\" | \"medium\" | \"large\"" + ], + "path": "src/plugins/controls/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "controls", + "id": "def-common.OPTIONS_LIST_CONTROL", + "type": "string", + "tags": [], + "label": "OPTIONS_LIST_CONTROL", + "description": [], + "signature": [ + "\"optionsListControl\"" + ], + "path": "src/plugins/controls/common/control_types/options_list/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx new file mode 100644 index 0000000000000..db618e32862a0 --- /dev/null +++ b/api_docs/controls.mdx @@ -0,0 +1,41 @@ +--- +id: kibControlsPluginApi +slug: /kibana-dev-docs/api/controls +title: "controls" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the controls plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] +warning: 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. +--- +import controlsObj from './controls.json'; + +The Controls Plugin contains embeddable components intended to create a simple query interface for end users, and a powerful editing suite that allows dashboard authors to build controls + +Contact [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 118 | 0 | 117 | 3 | + +## Client + +### Classes + + +### Interfaces + + +### Consts, variables and types + + +## Common + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/core.json b/api_docs/core.json index 7bcdd7fadc6ef..882a450230f54 100644 --- a/api_docs/core.json +++ b/api_docs/core.json @@ -1671,7 +1671,7 @@ "label": "links", "description": [], "signature": [ - "{ readonly settings: string; readonly elasticStackGetStarted: string; readonly upgrade: { readonly upgradingElasticStack: string; }; readonly apm: { readonly kibanaSettings: string; readonly supportedServiceMaps: string; readonly customLinks: string; readonly droppedTransactionSpans: string; readonly upgrading: string; readonly metaData: string; }; readonly canvas: { readonly guide: string; }; readonly cloud: { readonly indexManagement: string; }; readonly console: { readonly guide: string; }; readonly dashboard: { readonly guide: string; readonly drilldowns: string; readonly drilldownsTriggerPicker: string; readonly urlDrilldownTemplateSyntax: string; readonly urlDrilldownVariables: string; }; readonly discover: Record; readonly filebeat: { readonly base: string; readonly installation: string; readonly configuration: string; readonly elasticsearchOutput: string; readonly elasticsearchModule: string; readonly startup: string; readonly exportedFields: string; readonly suricataModule: string; readonly zeekModule: string; }; readonly auditbeat: { readonly base: string; readonly auditdModule: string; readonly systemModule: string; }; readonly metricbeat: { readonly base: string; readonly configure: string; readonly httpEndpoint: string; readonly install: string; readonly start: string; }; readonly appSearch: { readonly apiRef: string; readonly apiClients: string; readonly apiKeys: string; readonly authentication: string; readonly crawlRules: string; readonly curations: string; readonly duplicateDocuments: string; readonly entryPoints: string; readonly guide: string; readonly indexingDocuments: string; readonly indexingDocumentsSchema: string; readonly logSettings: string; readonly metaEngines: string; readonly precisionTuning: string; readonly relevanceTuning: string; readonly resultSettings: string; readonly searchUI: string; readonly security: string; readonly synonyms: string; readonly webCrawler: string; readonly webCrawlerEventLogs: string; }; readonly enterpriseSearch: { readonly configuration: string; readonly licenseManagement: string; readonly mailService: string; readonly usersAccess: string; }; readonly workplaceSearch: { readonly apiKeys: string; readonly box: string; readonly confluenceCloud: string; readonly confluenceServer: string; readonly customSources: string; readonly customSourcePermissions: string; readonly documentPermissions: string; readonly dropbox: string; readonly externalIdentities: string; readonly gitHub: string; readonly gettingStarted: string; readonly gmail: string; readonly googleDrive: string; readonly indexingSchedule: string; readonly jiraCloud: string; readonly jiraServer: string; readonly oneDrive: string; readonly permissions: string; readonly salesforce: string; readonly security: string; readonly serviceNow: string; readonly sharePoint: string; readonly slack: string; readonly synch: string; readonly zendesk: string; }; readonly heartbeat: { readonly base: string; }; readonly libbeat: { readonly getStarted: string; }; readonly logstash: { readonly base: string; }; readonly functionbeat: { readonly base: string; }; readonly winlogbeat: { readonly base: string; }; readonly aggs: { readonly composite: string; readonly composite_missing_bucket: string; readonly date_histogram: string; readonly date_range: string; readonly date_format_pattern: string; readonly filter: string; readonly filters: string; readonly geohash_grid: string; readonly histogram: string; readonly ip_range: string; readonly range: string; readonly significant_terms: string; readonly terms: string; readonly terms_doc_count_error: string; readonly avg: string; readonly avg_bucket: string; readonly max_bucket: string; readonly min_bucket: string; readonly sum_bucket: string; readonly cardinality: string; readonly count: string; readonly cumulative_sum: string; readonly derivative: string; readonly geo_bounds: string; readonly geo_centroid: string; readonly max: string; readonly median: string; readonly min: string; readonly moving_avg: string; readonly percentile_ranks: string; readonly serial_diff: string; readonly std_dev: string; readonly sum: string; readonly top_hits: string; }; readonly runtimeFields: { readonly overview: string; readonly mapping: string; }; readonly scriptedFields: { readonly scriptFields: string; readonly scriptAggs: string; readonly painless: string; readonly painlessApi: string; readonly painlessLangSpec: string; readonly painlessSyntax: string; readonly painlessWalkthrough: string; readonly luceneExpressions: string; }; readonly search: { readonly sessions: string; readonly sessionLimits: string; }; readonly indexPatterns: { readonly introduction: string; readonly fieldFormattersNumber: string; readonly fieldFormattersString: string; readonly runtimeFields: string; }; readonly addData: string; readonly kibana: string; readonly upgradeAssistant: { readonly overview: string; readonly batchReindex: string; readonly remoteReindex: string; }; readonly rollupJobs: string; readonly elasticsearch: Record; readonly siem: { readonly privileges: string; readonly guide: string; readonly gettingStarted: string; readonly ml: string; readonly ruleChangeLog: string; readonly detectionsReq: string; readonly networkMap: string; readonly troubleshootGaps: string; }; readonly securitySolution: { readonly trustedApps: string; }; readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: string; }; readonly date: { readonly dateMath: string; readonly dateMathIndexNames: string; }; readonly management: Record; readonly ml: Record; readonly transforms: Record; readonly visualize: Record; readonly apis: Readonly<{ bulkIndexAlias: string; byteSizeUnits: string; createAutoFollowPattern: string; createFollower: string; createIndex: string; createSnapshotLifecyclePolicy: string; createRoleMapping: string; createRoleMappingTemplates: string; createRollupJobsRequest: string; createApiKey: string; createPipeline: string; createTransformRequest: string; cronExpressions: string; executeWatchActionModes: string; indexExists: string; openIndex: string; putComponentTemplate: string; painlessExecute: string; painlessExecuteAPIContexts: string; putComponentTemplateMetadata: string; putSnapshotLifecyclePolicy: string; putIndexTemplateV1: string; putWatch: string; simulatePipeline: string; timeUnits: string; updateTransform: string; }>; readonly observability: Readonly<{ guide: string; infrastructureThreshold: string; logsThreshold: string; metricsThreshold: string; monitorStatus: string; monitorUptime: string; tlsCertificate: string; uptimeDurationAnomaly: string; }>; readonly alerting: Record; readonly maps: Readonly<{ guide: string; importGeospatialPrivileges: string; gdalTutorial: string; }>; readonly monitoring: Record; readonly security: Readonly<{ apiKeyServiceSettings: string; clusterPrivileges: string; elasticsearchSettings: string; elasticsearchEnableSecurity: string; elasticsearchEnableApiKeys: string; indicesPrivileges: string; kibanaTLS: string; kibanaPrivileges: string; mappingRoles: string; mappingRolesFieldRules: string; runAsPrivilege: string; }>; readonly spaces: Readonly<{ kibanaLegacyUrlAliases: string; kibanaDisableLegacyUrlAliasesApi: string; }>; readonly watcher: Record; readonly ccs: Record; readonly plugins: { azureRepo: string; gcsRepo: string; hdfsRepo: string; s3Repo: string; snapshotRestoreRepos: string; mapperSize: string; }; readonly snapshotRestore: Record; readonly ingest: Record; readonly fleet: Readonly<{ beatsAgentComparison: string; guide: string; fleetServer: string; fleetServerAddFleetServer: string; settings: string; settingsFleetServerHostSettings: string; settingsFleetServerProxySettings: string; troubleshooting: string; elasticAgent: string; datastreams: string; datastreamsNamingScheme: string; installElasticAgent: string; installElasticAgentStandalone: string; upgradeElasticAgent: string; upgradeElasticAgent712lower: string; learnMoreBlog: string; apiKeysLearnMore: string; onPremRegistry: string; }>; readonly ecs: { readonly guide: string; }; readonly clients: { readonly guide: string; readonly goOverview: string; readonly javaIndex: string; readonly jsIntro: string; readonly netGuide: string; readonly perlGuide: string; readonly phpGuide: string; readonly pythonGuide: string; readonly rubyOverview: string; readonly rustGuide: string; }; readonly endpoints: { readonly troubleshooting: string; }; }" + "{ readonly settings: string; readonly elasticStackGetStarted: string; readonly upgrade: { readonly upgradingElasticStack: string; }; readonly apm: { readonly kibanaSettings: string; readonly supportedServiceMaps: string; readonly customLinks: string; readonly droppedTransactionSpans: string; readonly upgrading: string; readonly metaData: string; }; readonly canvas: { readonly guide: string; }; readonly cloud: { readonly indexManagement: string; }; readonly console: { readonly guide: string; }; readonly dashboard: { readonly guide: string; readonly drilldowns: string; readonly drilldownsTriggerPicker: string; readonly urlDrilldownTemplateSyntax: string; readonly urlDrilldownVariables: string; }; readonly discover: Record; readonly filebeat: { readonly base: string; readonly installation: string; readonly configuration: string; readonly elasticsearchOutput: string; readonly elasticsearchModule: string; readonly startup: string; readonly exportedFields: string; readonly suricataModule: string; readonly zeekModule: string; }; readonly auditbeat: { readonly base: string; readonly auditdModule: string; readonly systemModule: string; }; readonly metricbeat: { readonly base: string; readonly configure: string; readonly httpEndpoint: string; readonly install: string; readonly start: string; }; readonly appSearch: { readonly apiRef: string; readonly apiClients: string; readonly apiKeys: string; readonly authentication: string; readonly crawlRules: string; readonly curations: string; readonly duplicateDocuments: string; readonly entryPoints: string; readonly guide: string; readonly indexingDocuments: string; readonly indexingDocumentsSchema: string; readonly logSettings: string; readonly metaEngines: string; readonly precisionTuning: string; readonly relevanceTuning: string; readonly resultSettings: string; readonly searchUI: string; readonly security: string; readonly synonyms: string; readonly webCrawler: string; readonly webCrawlerEventLogs: string; }; readonly enterpriseSearch: { readonly configuration: string; readonly licenseManagement: string; readonly mailService: string; readonly usersAccess: string; }; readonly workplaceSearch: { readonly apiKeys: string; readonly box: string; readonly confluenceCloud: string; readonly confluenceServer: string; readonly customSources: string; readonly customSourcePermissions: string; readonly documentPermissions: string; readonly dropbox: string; readonly externalIdentities: string; readonly gitHub: string; readonly gettingStarted: string; readonly gmail: string; readonly googleDrive: string; readonly indexingSchedule: string; readonly jiraCloud: string; readonly jiraServer: string; readonly oneDrive: string; readonly permissions: string; readonly salesforce: string; readonly security: string; readonly serviceNow: string; readonly sharePoint: string; readonly slack: string; readonly synch: string; readonly zendesk: string; }; readonly heartbeat: { readonly base: string; }; readonly libbeat: { readonly getStarted: string; }; readonly logstash: { readonly base: string; }; readonly functionbeat: { readonly base: string; }; readonly winlogbeat: { readonly base: string; }; readonly aggs: { readonly composite: string; readonly composite_missing_bucket: string; readonly date_histogram: string; readonly date_range: string; readonly date_format_pattern: string; readonly filter: string; readonly filters: string; readonly geohash_grid: string; readonly histogram: string; readonly ip_range: string; readonly range: string; readonly significant_terms: string; readonly terms: string; readonly terms_doc_count_error: string; readonly avg: string; readonly avg_bucket: string; readonly max_bucket: string; readonly min_bucket: string; readonly sum_bucket: string; readonly cardinality: string; readonly count: string; readonly cumulative_sum: string; readonly derivative: string; readonly geo_bounds: string; readonly geo_centroid: string; readonly max: string; readonly median: string; readonly min: string; readonly moving_avg: string; readonly percentile_ranks: string; readonly serial_diff: string; readonly std_dev: string; readonly sum: string; readonly top_hits: string; }; readonly runtimeFields: { readonly overview: string; readonly mapping: string; }; readonly scriptedFields: { readonly scriptFields: string; readonly scriptAggs: string; readonly painless: string; readonly painlessApi: string; readonly painlessLangSpec: string; readonly painlessSyntax: string; readonly painlessWalkthrough: string; readonly luceneExpressions: string; }; readonly search: { readonly sessions: string; readonly sessionLimits: string; }; readonly indexPatterns: { readonly introduction: string; readonly fieldFormattersNumber: string; readonly fieldFormattersString: string; readonly runtimeFields: string; }; readonly addData: string; readonly kibana: string; readonly upgradeAssistant: { readonly overview: string; readonly batchReindex: string; readonly remoteReindex: string; }; readonly rollupJobs: string; readonly elasticsearch: Record; readonly siem: { readonly privileges: string; readonly guide: string; readonly gettingStarted: string; readonly ml: string; readonly ruleChangeLog: string; readonly detectionsReq: string; readonly networkMap: string; readonly troubleshootGaps: string; }; readonly securitySolution: { readonly trustedApps: string; readonly eventFilters: string; }; readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: string; }; readonly date: { readonly dateMath: string; readonly dateMathIndexNames: string; }; readonly management: Record; readonly ml: Record; readonly transforms: Record; readonly visualize: Record; readonly apis: Readonly<{ bulkIndexAlias: string; byteSizeUnits: string; createAutoFollowPattern: string; createFollower: string; createIndex: string; createSnapshotLifecyclePolicy: string; createRoleMapping: string; createRoleMappingTemplates: string; createRollupJobsRequest: string; createApiKey: string; createPipeline: string; createTransformRequest: string; cronExpressions: string; executeWatchActionModes: string; indexExists: string; openIndex: string; putComponentTemplate: string; painlessExecute: string; painlessExecuteAPIContexts: string; putComponentTemplateMetadata: string; putSnapshotLifecyclePolicy: string; putIndexTemplateV1: string; putWatch: string; simulatePipeline: string; timeUnits: string; updateTransform: string; }>; readonly observability: Readonly<{ guide: string; infrastructureThreshold: string; logsThreshold: string; metricsThreshold: string; monitorStatus: string; monitorUptime: string; tlsCertificate: string; uptimeDurationAnomaly: string; }>; readonly alerting: Record; readonly maps: Readonly<{ guide: string; importGeospatialPrivileges: string; gdalTutorial: string; }>; readonly monitoring: Record; readonly security: Readonly<{ apiKeyServiceSettings: string; clusterPrivileges: string; elasticsearchSettings: string; elasticsearchEnableSecurity: string; elasticsearchEnableApiKeys: string; indicesPrivileges: string; kibanaTLS: string; kibanaPrivileges: string; mappingRoles: string; mappingRolesFieldRules: string; runAsPrivilege: string; }>; readonly spaces: Readonly<{ kibanaLegacyUrlAliases: string; kibanaDisableLegacyUrlAliasesApi: string; }>; readonly watcher: Record; readonly ccs: Record; readonly plugins: { azureRepo: string; gcsRepo: string; hdfsRepo: string; s3Repo: string; snapshotRestoreRepos: string; mapperSize: string; }; readonly snapshotRestore: Record; readonly ingest: Record; readonly fleet: Readonly<{ beatsAgentComparison: string; guide: string; fleetServer: string; fleetServerAddFleetServer: string; settings: string; settingsFleetServerHostSettings: string; settingsFleetServerProxySettings: string; troubleshooting: string; elasticAgent: string; datastreams: string; datastreamsNamingScheme: string; installElasticAgent: string; installElasticAgentStandalone: string; upgradeElasticAgent: string; upgradeElasticAgent712lower: string; learnMoreBlog: string; apiKeysLearnMore: string; onPremRegistry: string; }>; readonly ecs: { readonly guide: string; }; readonly clients: { readonly guide: string; readonly goOverview: string; readonly javaIndex: string; readonly jsIntro: string; readonly netGuide: string; readonly perlGuide: string; readonly phpGuide: string; readonly pythonGuide: string; readonly rubyOverview: string; readonly rustGuide: string; }; readonly endpoints: { readonly troubleshooting: string; }; }" ], "path": "src/core/public/doc_links/doc_links_service.ts", "deprecated": false @@ -4892,7 +4892,7 @@ "label": "sortOrder", "description": [], "signature": [ - "SearchSortOrder", + "SortOrder", " | undefined" ], "path": "src/core/server/saved_objects/types.ts", @@ -15239,13 +15239,7 @@ "text": "GetDeprecationsContext" }, ") => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.MaybePromise", - "text": "MaybePromise" - }, + "MaybePromise", "<", { "pluginId": "core", diff --git a/api_docs/core.mdx b/api_docs/core.mdx index bd987a51d93a2..9edf7bbb1393f 100644 --- a/api_docs/core.mdx +++ b/api_docs/core.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2326 | 15 | 997 | 32 | +| 2333 | 15 | 953 | 32 | ## Client diff --git a/api_docs/core_application.mdx b/api_docs/core_application.mdx index 6d90498fef473..25a75888d0d15 100644 --- a/api_docs/core_application.mdx +++ b/api_docs/core_application.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2326 | 15 | 997 | 32 | +| 2333 | 15 | 953 | 32 | ## Client diff --git a/api_docs/core_chrome.mdx b/api_docs/core_chrome.mdx index 560ae7b28e3b5..446ae5f2f6415 100644 --- a/api_docs/core_chrome.mdx +++ b/api_docs/core_chrome.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2326 | 15 | 997 | 32 | +| 2333 | 15 | 953 | 32 | ## Client diff --git a/api_docs/core_http.json b/api_docs/core_http.json index 8b83f3b178a4d..e7a3f7dc985a1 100644 --- a/api_docs/core_http.json +++ b/api_docs/core_http.json @@ -343,13 +343,7 @@ "text": "IHttpInterceptController" }, ") => void | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.MaybePromise", - "text": "MaybePromise" - }, + "MaybePromise", " void | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.MaybePromise", - "text": "MaybePromise" - }, + "MaybePromise", " void | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.MaybePromise", - "text": "MaybePromise" - }, + "MaybePromise", "<", { "pluginId": "core", @@ -626,13 +608,7 @@ "text": "IHttpInterceptController" }, ") => void | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.MaybePromise", - "text": "MaybePromise" - }, + "MaybePromise", "<", { "pluginId": "core", @@ -2309,21 +2285,9 @@ ], "signature": [ "{ readonly path: string; readonly method: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonly", - "text": "RecursiveReadonly" - }, + "RecursiveReadonly", "; readonly options: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonly", - "text": "RecursiveReadonly" - }, + "RecursiveReadonly", "<", { "pluginId": "core", diff --git a/api_docs/core_http.mdx b/api_docs/core_http.mdx index ffd7056b4bdb9..24372b551f763 100644 --- a/api_docs/core_http.mdx +++ b/api_docs/core_http.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2326 | 15 | 997 | 32 | +| 2333 | 15 | 953 | 32 | ## Client diff --git a/api_docs/core_saved_objects.json b/api_docs/core_saved_objects.json index ca71f710a1fae..601006c68ddc9 100644 --- a/api_docs/core_saved_objects.json +++ b/api_docs/core_saved_objects.json @@ -4390,6 +4390,51 @@ } ], "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.SavedObjectsErrorHelpers.createGenericNotFoundEsUnavailableError", + "type": "Function", + "tags": [], + "label": "createGenericNotFoundEsUnavailableError", + "description": [], + "signature": [ + "(type?: string | null, id?: string | null) => ", + "DecoratedError" + ], + "path": "src/core/server/saved_objects/service/lib/errors.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.SavedObjectsErrorHelpers.createGenericNotFoundEsUnavailableError.$1", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | null" + ], + "path": "src/core/server/saved_objects/service/lib/errors.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "core", + "id": "def-server.SavedObjectsErrorHelpers.createGenericNotFoundEsUnavailableError.$2", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | null" + ], + "path": "src/core/server/saved_objects/service/lib/errors.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] } ], "initialIsOpen": false @@ -11823,7 +11868,7 @@ "label": "sortOrder", "description": [], "signature": [ - "SearchSortOrder", + "SortOrder", " | undefined" ], "path": "src/core/server/saved_objects/types.ts", @@ -14203,7 +14248,9 @@ "\nRegister a {@link SavedObjectsType | savedObjects type} definition.\n\nSee the {@link SavedObjectsTypeMappingDefinition | mappings format} and\n{@link SavedObjectMigrationMap | migration format} for more details about these.\n" ], "signature": [ - "(type: ", + "(type: ", { "pluginId": "core", "scope": "server", @@ -14815,6 +14862,36 @@ "path": "src/core/server/saved_objects/types.ts", "deprecated": false }, + { + "parentPluginId": "core", + "id": "def-server.SavedObjectsType.schemas", + "type": "CompoundType", + "tags": [], + "label": "schemas", + "description": [ + "\nAn optional schema that can be used to validate the attributes of the type.\n\nWhen provided, calls to {@link SavedObjectsClient.create | create} will be validated against this schema.\n\nSee {@link SavedObjectsValidationMap} for more details." + ], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsValidationMap", + "text": "SavedObjectsValidationMap" + }, + " | (() => ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsValidationMap", + "text": "SavedObjectsValidationMap" + }, + ") | undefined" + ], + "path": "src/core/server/saved_objects/types.ts", + "deprecated": false + }, { "parentPluginId": "core", "id": "def-server.SavedObjectsType.convertToMultiNamespaceTypeVersion", @@ -15524,6 +15601,41 @@ } ], "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.SavedObjectsValidationMap", + "type": "Interface", + "tags": [], + "label": "SavedObjectsValidationMap", + "description": [ + "\nA map of {@link SavedObjectsValidationSpec | validation specs} to be used for a given type.\nThe map's keys must be valid semver versions.\n\nAny time you change the schema of a {@link SavedObjectsType}, you should add a new entry\nto this map for the Kibana version the change was introduced in.\n" + ], + "path": "src/core/server/saved_objects/validation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.SavedObjectsValidationMap.Unnamed", + "type": "IndexSignature", + "tags": [], + "label": "[version: string]: SavedObjectsValidationSpec", + "description": [], + "signature": [ + "[version: string]: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsValidationSpec", + "text": "SavedObjectsValidationSpec" + } + ], + "path": "src/core/server/saved_objects/validation/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false } ], "enums": [], @@ -16653,7 +16765,7 @@ "{ filter?: any; search?: string | undefined; type: string | string[]; aggs?: Record | undefined; fields?: string[] | undefined; perPage?: number | undefined; sortField?: string | undefined; sortOrder?: ", - "SearchSortOrder", + "SortOrder", " | undefined; searchFields?: string[] | undefined; rootSearchFields?: string[] | undefined; hasReference?: ", { "pluginId": "core", @@ -16856,6 +16968,23 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "core", + "id": "def-server.SavedObjectsValidationSpec", + "type": "Type", + "tags": [], + "label": "SavedObjectsValidationSpec", + "description": [ + "\nAllows for validating properties using @kbn/config-schema validations.\n" + ], + "signature": [ + "ObjectType", + "" + ], + "path": "src/core/server/saved_objects/validation/types.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "core", "id": "def-server.SavedObjectTypeExcludeFromUpgradeFilterHook", diff --git a/api_docs/core_saved_objects.mdx b/api_docs/core_saved_objects.mdx index 4b2896af08f82..f9d9de525b9c0 100644 --- a/api_docs/core_saved_objects.mdx +++ b/api_docs/core_saved_objects.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2326 | 15 | 997 | 32 | +| 2333 | 15 | 953 | 32 | ## Client diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index 7dd1afb0bae45..87c2d3e6f3d99 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -18,7 +18,7 @@ Contact [Fleet](https://github.com/orgs/elastic/teams/fleet) for questions regar | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 96 | 0 | 80 | 1 | +| 96 | 0 | 77 | 1 | ## Client diff --git a/api_docs/dashboard.json b/api_docs/dashboard.json index f4839b560271f..47e16e70e60ca 100644 --- a/api_docs/dashboard.json +++ b/api_docs/dashboard.json @@ -70,9 +70,9 @@ "description": [], "signature": [ { - "pluginId": "presentationUtil", + "pluginId": "controls", "scope": "public", - "docId": "kibPresentationUtilPluginApi", + "docId": "kibControlsPluginApi", "section": "def-public.ControlGroupContainer", "text": "ControlGroupContainer" }, @@ -189,9 +189,9 @@ "description": [], "signature": [ { - "pluginId": "presentationUtil", + "pluginId": "controls", "scope": "public", - "docId": "kibPresentationUtilPluginApi", + "docId": "kibControlsPluginApi", "section": "def-public.ControlGroupContainer", "text": "ControlGroupContainer" }, @@ -1798,7 +1798,9 @@ }, "<", "SearchResponse", - ">>; fetch: (options?: ", + ">>>; fetch: (options?: ", { "pluginId": "data", "scope": "common", @@ -1808,7 +1810,9 @@ }, ") => Promise<", "SearchResponse", - ">; onRequestStart: (handler: (searchSource: ", + ">>; onRequestStart: (handler: (searchSource: ", { "pluginId": "data", "scope": "common", @@ -2310,7 +2314,7 @@ "section": "def-common.RawSavedDashboardPanel730ToLatest", "text": "RawSavedDashboardPanel730ToLatest" }, - ", \"type\" | \"title\" | \"panelIndex\" | \"gridData\" | \"version\" | \"embeddableConfig\" | \"panelRefName\"> & { readonly id?: string | undefined; readonly type: string; }" + ", \"title\" | \"type\" | \"panelIndex\" | \"gridData\" | \"version\" | \"embeddableConfig\" | \"panelRefName\"> & { readonly id?: string | undefined; readonly type: string; }" ], "path": "src/plugins/dashboard/common/types.ts", "deprecated": false, @@ -2619,13 +2623,7 @@ "text": "ISavedObjectsRepository" }, ", \"find\">, embeddableType: string) => Promise<{ [key: string]: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", "; }[]>" ], "path": "src/plugins/dashboard/server/usage/find_by_value_embeddables.ts", @@ -2755,13 +2753,7 @@ "text": "SavedDashboardPanel630" }, ")[], version: string, useMargins: boolean, uiState: { [key: string]: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", "; } | undefined) => ", { "pluginId": "dashboard", @@ -2876,13 +2868,7 @@ "description": [], "signature": [ "[key: string]: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "src/plugins/dashboard/common/migrate_to_730_panels.ts", "deprecated": false @@ -3117,7 +3103,7 @@ "section": "def-common.RawSavedDashboardPanel730ToLatest", "text": "RawSavedDashboardPanel730ToLatest" }, - ", \"type\" | \"title\" | \"panelIndex\" | \"gridData\" | \"version\" | \"embeddableConfig\" | \"panelRefName\"> & { readonly id?: string | undefined; readonly type: string; }" + ", \"title\" | \"type\" | \"panelIndex\" | \"gridData\" | \"version\" | \"embeddableConfig\" | \"panelRefName\"> & { readonly id?: string | undefined; readonly type: string; }" ], "path": "src/plugins/dashboard/common/types.ts", "deprecated": false, diff --git a/api_docs/dashboard_enhanced.json b/api_docs/dashboard_enhanced.json index c03b62beca16e..c0abe4eabceda 100644 --- a/api_docs/dashboard_enhanced.json +++ b/api_docs/dashboard_enhanced.json @@ -602,13 +602,7 @@ "; navigate(options: ", "RedirectOptions", "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">): void; setAnonymousAccessServiceProvider: (provider: () => ", { "pluginId": "share", @@ -715,13 +709,7 @@ "; navigate(options: ", "RedirectOptions", "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">): void; }" ], "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", diff --git a/api_docs/data.json b/api_docs/data.json index 6ed1326bcb218..2e9931b72f816 100644 --- a/api_docs/data.json +++ b/api_docs/data.json @@ -594,13 +594,7 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -621,13 +615,7 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -2269,13 +2257,7 @@ "description": [], "signature": [ "(agg: TAggConfig, state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined) => TAggConfig" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -2304,13 +2286,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -2708,6 +2684,10 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/index.ts" }, + { + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/target/types/__jest__/client_integration/helpers/app_context.mock.d.ts" + }, { "plugin": "dashboard", "path": "src/plugins/dashboard/target/types/public/application/lib/load_saved_dashboard_state.d.ts" @@ -2744,282 +2724,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_default_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_default_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/table_header.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/table_header.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort_for_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort_for_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/sorting.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/sorting.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app_content.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app_content.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern_management.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern_management.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/calc_field_counts.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/calc_field_counts.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_documents.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_documents.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" - }, { "plugin": "observability", "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" @@ -3344,42 +3048,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/view_saved_search_action.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/view_saved_search_action.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" @@ -3412,178 +3080,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/helpers.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/helpers.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/doc_table_wrapper.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/doc_table_wrapper.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.predecessors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.predecessors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.successors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.successors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_flyout.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_flyout.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/get_render_cell_value.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/get_render_cell_value.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_sort_for_search_source.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_sort_for_search_source.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_default_sort.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_default_sort.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/utils/sorting.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/utils/sorting.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/top_nav/get_top_nav_links.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/top_nav/get_top_nav_links.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/table_header.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/table_header.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_source/source.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_source/source.tsx" - }, { "plugin": "apm", "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/selected_wildcards.tsx" @@ -3600,18 +3096,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/public/index.ts" @@ -3640,14 +3124,6 @@ "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/doc_views_types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/doc_views_types.ts" - }, { "plugin": "dataViewFieldEditor", "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" @@ -3656,186 +3132,6 @@ "plugin": "dataViewFieldEditor", "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_row.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_row.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/nested_fields.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/nested_fields.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc/components/doc.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc/components/doc.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/persist_saved_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/persist_saved_search.ts" - }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/vis.ts" @@ -4884,42 +4180,6 @@ "plugin": "visDefaultEditor", "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, { "plugin": "inputControlVis", "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" @@ -5028,22 +4288,6 @@ "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/doc/components/doc.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/doc/components/doc.d.ts" - }, { "plugin": "inputControlVis", "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" @@ -5088,38 +4332,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_calculator.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_calculator.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/nested_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/nested_fields.d.ts" - }, { "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" @@ -5128,14 +4340,6 @@ "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" @@ -5148,14 +4352,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_view.test.ts" @@ -5209,62 +4405,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" @@ -5377,342 +4517,10 @@ "plugin": "lens", "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/public/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/field_name/field_name.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/field_name/field_name.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_layout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_layout.tsx" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" @@ -6009,14 +4817,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" @@ -6549,34 +5349,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, { "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" @@ -6750,14 +5522,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/plugin.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" @@ -6790,30 +5554,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/public/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" @@ -7582,7 +6322,9 @@ }, "<", "SearchResponse", - ">>" + ">>>" ], "path": "src/plugins/data/common/search/search_source/search_source.ts", "deprecated": false, @@ -7632,7 +6374,9 @@ }, ") => Promise<", "SearchResponse", - ">" + ">>" ], "path": "src/plugins/data/common/search/search_source/search_source.ts", "deprecated": true, @@ -8751,13 +7495,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -8803,13 +7541,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -8855,13 +7587,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -8907,13 +7633,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -8959,13 +7679,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9011,13 +7725,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9063,13 +7771,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9115,13 +7817,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9167,13 +7863,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9219,13 +7909,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9271,13 +7955,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9323,13 +8001,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9375,13 +8047,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9427,13 +8093,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9479,13 +8139,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9531,13 +8185,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9583,13 +8231,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9635,13 +8277,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9687,13 +8323,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9739,13 +8369,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9791,13 +8415,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9843,13 +8461,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9895,13 +8507,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9947,13 +8553,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9999,13 +8599,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10051,13 +8645,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10103,13 +8691,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10155,13 +8737,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10207,13 +8783,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10259,13 +8829,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10311,13 +8875,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10363,13 +8921,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10415,13 +8967,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10467,13 +9013,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10519,13 +9059,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13116,7 +11650,7 @@ "label": "AggConfigOptions", "description": [], "signature": [ - "{ type: ", + "{ id?: string | undefined; type: ", { "pluginId": "data", "scope": "common", @@ -13124,14 +11658,8 @@ "section": "def-common.IAggType", "text": "IAggType" }, - "; id?: string | undefined; enabled?: boolean | undefined; schema?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "; enabled?: boolean | undefined; schema?: string | undefined; params?: {} | ", + "SerializableRecord", " | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -13147,13 +11675,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -13623,13 +12145,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts", @@ -13648,13 +12164,7 @@ "signature": [ "KueryQueryOptions", " & { allowLeadingWildcards: boolean; queryStringOptions: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", "; ignoreFilterIfFieldNotInIndex: boolean; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -13756,16 +12266,7 @@ "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", - "references": [ - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - } - ], + "references": [], "initialIsOpen": false }, { @@ -13955,14 +12456,6 @@ "plugin": "discover", "path": "src/plugins/discover/public/locator.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/main/services/discover_state.ts" @@ -14007,22 +12500,6 @@ "plugin": "discover", "path": "src/plugins/discover/public/application/context/services/context_state.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, { "plugin": "dashboard", "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" @@ -14147,14 +12624,6 @@ "plugin": "dashboard", "path": "src/plugins/dashboard/public/url_generator.ts" }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, { "plugin": "dashboardEnhanced", "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" @@ -14293,27 +12762,35 @@ }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "path": "src/plugins/discover/public/embeddable/types.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "path": "src/plugins/discover/public/embeddable/types.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" }, { "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" + "path": "src/plugins/discover/public/application/context/services/context.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" + "path": "src/plugins/discover/public/application/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/context/services/context.ts" }, { "plugin": "discover", @@ -14446,6 +12923,22 @@ { "plugin": "maps", "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" } ], "initialIsOpen": false @@ -14535,7 +13028,9 @@ }, "<", "SearchResponse", - ">" + ">>" ], "path": "src/plugins/data/common/search/strategies/es_search/types.ts", "deprecated": false, @@ -14633,14 +13128,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, { "plugin": "transform", "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" @@ -14661,22 +13148,6 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/public/lib/es_service.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/main/components/layout/types.ts" @@ -14828,13 +13299,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", @@ -15060,30 +13525,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, { "plugin": "observability", "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" @@ -15092,22 +13533,6 @@ "plugin": "observability", "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/public/index.ts" @@ -15140,30 +13565,6 @@ "plugin": "security", "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/build_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/build_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, { "plugin": "dashboard", "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" @@ -15368,14 +13769,6 @@ "plugin": "visTypeTimelion", "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/build_services.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/build_services.d.ts" - }, { "plugin": "inputControlVis", "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" @@ -15491,14 +13884,6 @@ { "plugin": "dataViewEditor", "path": "src/plugins/data_view_editor/public/components/data_view_flyout_content_container.tsx" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/routes/create_index_pattern.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/routes/create_index_pattern.ts" } ], "initialIsOpen": false @@ -15779,7 +14164,9 @@ }, "<", "SearchResponse", - ">>; fetch: (options?: ", + ">>>; fetch: (options?: ", { "pluginId": "data", "scope": "common", @@ -15789,7 +14176,9 @@ }, ") => Promise<", "SearchResponse", - ">; onRequestStart: (handler: (searchSource: ", + ">>; onRequestStart: (handler: (searchSource: ", { "pluginId": "data", "scope": "common", @@ -15975,16 +14364,7 @@ "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", - "references": [ - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - } - ], + "references": [], "initialIsOpen": false }, { @@ -16150,21 +14530,9 @@ "text": "EsQuerySortValue" }, "[] | undefined; highlight?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; highlightAll?: boolean | undefined; trackTotalHits?: number | boolean | undefined; aggs?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }[] | undefined; from?: number | undefined; size?: number | undefined; source?: boolean | ", "Fields", " | undefined; version?: boolean | undefined; fields?: ", @@ -16475,42 +14843,6 @@ "plugin": "lens", "path": "x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx" }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" @@ -18647,13 +16979,7 @@ "(query: ", "QueryDslQueryContainer", ", queryStringOptions: string | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ", dateFormatTZ?: string | undefined) => ", "QueryDslQueryContainer" ], @@ -18683,13 +17009,7 @@ "description": [], "signature": [ "string | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "node_modules/@types/kbn__es-query/index.d.ts", "deprecated": false @@ -19801,7 +18121,9 @@ "signature": [ "(resp?: ", "SearchResponse", - " | undefined, searchSource?: ", + "> | undefined, searchSource?: ", { "pluginId": "data", "scope": "common", @@ -19831,7 +18153,9 @@ "description": [], "signature": [ "SearchResponse", - " | undefined" + "> | undefined" ], "path": "src/plugins/data/common/search/search_source/inspect/inspector_stats.ts", "deprecated": false @@ -20011,13 +18335,7 @@ "text": "DatatableColumn" }, ") => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - } + "Serializable" ], "path": "src/plugins/data/public/index.ts", "deprecated": false, @@ -20651,14 +18969,14 @@ "path": "src/plugins/data/public/types.ts", "deprecated": true, "references": [ - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/plugin.ts" - }, { "plugin": "home", "path": "src/plugins/home/public/plugin.ts" }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/plugin.ts" + }, { "plugin": "security", "path": "x-pack/plugins/security/public/management/roles/roles_management_app.tsx" @@ -21177,42 +19495,6 @@ "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" }, - { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/pie_component.tsx" - }, - { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/pie_component.tsx" - }, - { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/pie_component.tsx" - }, - { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/pie_component.tsx" - }, - { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/pie_component.tsx" - }, - { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/pie_component.tsx" - }, - { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/pie_component.tsx" - }, - { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/pie_component.tsx" - }, - { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/pie_component.tsx" - }, { "plugin": "visTypeTable", "path": "src/plugins/vis_types/table/public/plugin.ts" @@ -21230,32 +19512,32 @@ "path": "src/plugins/vis_types/vislib/public/plugin.ts" }, { - "plugin": "dataViewFieldEditor", - "path": "src/plugins/data_view_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + "plugin": "expressionPie", + "path": "src/plugins/chart_expressions/expression_pie/public/utils/get_layers.test.ts" }, { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/utils/get_layers.test.ts" + "plugin": "dataViewFieldEditor", + "path": "src/plugins/data_view_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" }, { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/utils/get_layers.test.ts" + "plugin": "expressionPie", + "path": "src/plugins/chart_expressions/expression_pie/public/utils/get_layers.test.ts" }, { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/utils/get_layers.test.ts" + "plugin": "expressionPie", + "path": "src/plugins/chart_expressions/expression_pie/public/utils/get_layers.test.ts" }, { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/utils/get_layers.test.ts" + "plugin": "expressionPie", + "path": "src/plugins/chart_expressions/expression_pie/public/utils/get_layers.test.ts" }, { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/utils/get_layers.test.ts" + "plugin": "expressionPie", + "path": "src/plugins/chart_expressions/expression_pie/public/utils/get_layers.test.ts" }, { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/utils/get_layers.test.ts" + "plugin": "expressionPie", + "path": "src/plugins/chart_expressions/expression_pie/public/utils/get_layers.test.ts" } ] }, @@ -21835,44 +20117,6 @@ "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, - { - "parentPluginId": "data", - "id": "def-server.DataView.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/routes/update_index_pattern.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/routes/update_index_pattern.ts" - } - ] - }, { "parentPluginId": "data", "id": "def-server.DataView.type", @@ -22046,7 +20290,7 @@ "\nGet last saved saved object fields" ], "signature": [ - "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" + "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, @@ -22159,86 +20403,6 @@ "children": [], "returnComment": [] }, - { - "parentPluginId": "data", - "id": "def-server.DataView.addScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "addScriptedField", - "description": [ - "\nAdd scripted field to field list\n" - ], - "signature": [ - "(name: string, script: string, fieldType?: string) => Promise" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "references": [ - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.test.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.test.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.test.ts" - } - ], - "children": [ - { - "parentPluginId": "data", - "id": "def-server.DataView.addScriptedField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.DataView.addScriptedField.$2", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "script code" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.DataView.addScriptedField.$3", - "type": "string", - "tags": [], - "label": "fieldType", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, { "parentPluginId": "data", "id": "def-server.DataView.removeScriptedField", @@ -22393,10 +20557,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_view.ts" }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_views.ts" @@ -22425,10 +20585,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.test.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_view.test.ts" @@ -23242,6 +21398,10 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/index.ts" }, + { + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/target/types/__jest__/client_integration/helpers/app_context.mock.d.ts" + }, { "plugin": "dashboard", "path": "src/plugins/dashboard/target/types/public/application/lib/load_saved_dashboard_state.d.ts" @@ -23278,282 +21438,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_default_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_default_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/table_header.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/table_header.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort_for_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort_for_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/sorting.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/sorting.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app_content.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app_content.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern_management.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern_management.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/calc_field_counts.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/calc_field_counts.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_documents.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_documents.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" - }, { "plugin": "observability", "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" @@ -23878,42 +21762,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/view_saved_search_action.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/view_saved_search_action.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" @@ -23946,178 +21794,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/helpers.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/helpers.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/doc_table_wrapper.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/doc_table_wrapper.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.predecessors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.predecessors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.successors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.successors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_flyout.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_flyout.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/get_render_cell_value.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/get_render_cell_value.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_sort_for_search_source.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_sort_for_search_source.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_default_sort.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_default_sort.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/utils/sorting.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/utils/sorting.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/top_nav/get_top_nav_links.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/top_nav/get_top_nav_links.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/table_header.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/table_header.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_source/source.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_source/source.tsx" - }, { "plugin": "apm", "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/selected_wildcards.tsx" @@ -24134,18 +21810,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/public/index.ts" @@ -24174,14 +21838,6 @@ "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/doc_views_types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/doc_views_types.ts" - }, { "plugin": "dataViewFieldEditor", "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" @@ -24190,186 +21846,6 @@ "plugin": "dataViewFieldEditor", "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_row.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_row.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/nested_fields.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/nested_fields.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc/components/doc.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc/components/doc.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/persist_saved_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/persist_saved_search.ts" - }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/vis.ts" @@ -25418,42 +22894,6 @@ "plugin": "visDefaultEditor", "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, { "plugin": "inputControlVis", "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" @@ -25562,22 +23002,6 @@ "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/doc/components/doc.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/doc/components/doc.d.ts" - }, { "plugin": "inputControlVis", "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" @@ -25622,38 +23046,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_calculator.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_calculator.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/nested_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/nested_fields.d.ts" - }, { "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" @@ -25662,14 +23054,6 @@ "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" @@ -25682,14 +23066,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_view.test.ts" @@ -25743,62 +23119,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" @@ -25911,342 +23231,10 @@ "plugin": "lens", "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/public/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/field_name/field_name.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/field_name/field_name.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_layout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_layout.tsx" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" @@ -26543,14 +23531,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" @@ -27083,34 +24063,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, { "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" @@ -27592,14 +24544,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/plugin.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" @@ -27632,30 +24576,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/public/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" @@ -27789,14 +24709,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/plugin.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" @@ -27829,30 +24741,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/public/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" @@ -29086,13 +25974,7 @@ "signature": [ "KueryQueryOptions", " & { allowLeadingWildcards: boolean; queryStringOptions: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", "; ignoreFilterIfFieldNotInIndex: boolean; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -29154,14 +26036,6 @@ "plugin": "discover", "path": "src/plugins/discover/public/locator.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/main/services/discover_state.ts" @@ -29206,22 +26080,6 @@ "plugin": "discover", "path": "src/plugins/discover/public/application/context/services/context_state.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, { "plugin": "dashboard", "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" @@ -29346,14 +26204,6 @@ "plugin": "dashboard", "path": "src/plugins/dashboard/public/url_generator.ts" }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, { "plugin": "dashboardEnhanced", "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" @@ -29492,27 +26342,35 @@ }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "path": "src/plugins/discover/public/embeddable/types.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "path": "src/plugins/discover/public/embeddable/types.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" }, { "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" + "path": "src/plugins/discover/public/application/context/services/context.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" + "path": "src/plugins/discover/public/application/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/context/services/context.ts" }, { "plugin": "discover", @@ -29645,6 +26503,22 @@ { "plugin": "maps", "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" } ], "initialIsOpen": false @@ -29666,7 +26540,9 @@ }, "<", "SearchResponse", - ">" + ">>" ], "path": "src/plugins/data/common/search/strategies/es_search/types.ts", "deprecated": false, @@ -29715,14 +26591,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, { "plugin": "transform", "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" @@ -29743,22 +26611,6 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/public/lib/es_service.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/main/components/layout/types.ts" @@ -30208,13 +27060,7 @@ ", type: ", "FILTERS", ", negate: boolean, disabled: boolean, params: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ", alias: string | null, store?: ", "FilterStateStore", " | undefined) => ", @@ -30292,16 +27138,8 @@ "description": [], "signature": [ "string | number | boolean | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, - " | ", - "SerializableArray", - " | null | undefined" + "SerializableRecord", + " | SerializableArray | null | undefined" ], "path": "node_modules/@types/kbn__es-query/index.d.ts", "deprecated": false @@ -31440,44 +28278,6 @@ "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, - { - "parentPluginId": "data", - "id": "def-common.DataView.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/routes/update_index_pattern.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/routes/update_index_pattern.ts" - } - ] - }, { "parentPluginId": "data", "id": "def-common.DataView.type", @@ -31651,7 +28451,7 @@ "\nGet last saved saved object fields" ], "signature": [ - "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" + "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, @@ -31764,86 +28564,6 @@ "children": [], "returnComment": [] }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "addScriptedField", - "description": [ - "\nAdd scripted field to field list\n" - ], - "signature": [ - "(name: string, script: string, fieldType?: string) => Promise" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "references": [ - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.test.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.test.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.test.ts" - } - ], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.addScriptedField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addScriptedField.$2", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "script code" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addScriptedField.$3", - "type": "string", - "tags": [], - "label": "fieldType", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, { "parentPluginId": "data", "id": "def-common.DataView.removeScriptedField", @@ -31998,10 +28718,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_view.ts" }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_views.ts" @@ -32030,10 +28746,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.test.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_view.test.ts" @@ -32989,15 +29701,14 @@ { "parentPluginId": "data", "id": "def-common.DataViewField.lang", - "type": "CompoundType", + "type": "string", "tags": [], "label": "lang", "description": [ "\nScript field language" ], "signature": [ - "ScriptLanguage", - " | undefined" + "string | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false @@ -33005,13 +29716,12 @@ { "parentPluginId": "data", "id": "def-common.DataViewField.lang", - "type": "CompoundType", + "type": "string", "tags": [], "label": "lang", "description": [], "signature": [ - "ScriptLanguage", - " | undefined" + "string | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false @@ -33299,9 +30009,7 @@ "label": "toJSON", "description": [], "signature": [ - "() => { count: number; script: string | undefined; lang: ", - "ScriptLanguage", - " | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", + "() => { count: number; script: string | undefined; lang: string | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", "IFieldSubType", " | undefined; customLabel: string | undefined; }" ], @@ -34723,6 +31431,10 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/index.ts" }, + { + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/target/types/__jest__/client_integration/helpers/app_context.mock.d.ts" + }, { "plugin": "dashboard", "path": "src/plugins/dashboard/target/types/public/application/lib/load_saved_dashboard_state.d.ts" @@ -34759,282 +31471,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_default_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_default_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/table_header.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/table_header.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort_for_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort_for_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/sorting.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/sorting.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app_content.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app_content.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern_management.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern_management.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/calc_field_counts.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/calc_field_counts.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_documents.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_documents.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" - }, { "plugin": "observability", "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" @@ -35359,42 +31795,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/view_saved_search_action.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/view_saved_search_action.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" @@ -35427,178 +31827,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/helpers.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/helpers.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/doc_table_wrapper.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/doc_table_wrapper.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.predecessors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.predecessors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.successors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.successors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_flyout.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_flyout.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/get_render_cell_value.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/get_render_cell_value.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_sort_for_search_source.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_sort_for_search_source.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_default_sort.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_default_sort.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/utils/sorting.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/utils/sorting.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/top_nav/get_top_nav_links.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/top_nav/get_top_nav_links.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/table_header.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/table_header.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_source/source.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_source/source.tsx" - }, { "plugin": "apm", "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/selected_wildcards.tsx" @@ -35615,18 +31843,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/public/index.ts" @@ -35655,14 +31871,6 @@ "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/doc_views_types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/doc_views_types.ts" - }, { "plugin": "dataViewFieldEditor", "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" @@ -35671,186 +31879,6 @@ "plugin": "dataViewFieldEditor", "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_row.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_row.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/nested_fields.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/nested_fields.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc/components/doc.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc/components/doc.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/persist_saved_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/persist_saved_search.ts" - }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/vis.ts" @@ -36899,42 +32927,6 @@ "plugin": "visDefaultEditor", "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, { "plugin": "inputControlVis", "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" @@ -37043,22 +33035,6 @@ "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/doc/components/doc.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/doc/components/doc.d.ts" - }, { "plugin": "inputControlVis", "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" @@ -37103,38 +33079,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_calculator.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_calculator.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/nested_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/nested_fields.d.ts" - }, { "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" @@ -37143,14 +33087,6 @@ "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" @@ -37163,14 +33099,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_view.test.ts" @@ -37224,62 +33152,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" @@ -37392,342 +33264,10 @@ "plugin": "lens", "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/public/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/field_name/field_name.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/field_name/field_name.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_layout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_layout.tsx" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" @@ -38024,14 +33564,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" @@ -38564,34 +34096,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, { "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" @@ -38765,14 +34269,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/plugin.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" @@ -38805,30 +34301,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/public/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" @@ -39237,13 +34709,7 @@ ", type: ", "FILTERS", ", negate: boolean, disabled: boolean, params: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ", alias: string | null, store?: ", "FilterStateStore", " | undefined) => ", @@ -39323,16 +34789,8 @@ "description": [], "signature": [ "string | number | boolean | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, - " | ", - "SerializableArray", - " | null | undefined" + "SerializableRecord", + " | SerializableArray | null | undefined" ], "path": "node_modules/@types/kbn__es-query/index.d.ts", "deprecated": false @@ -39970,13 +35428,7 @@ "(query: ", "QueryDslQueryContainer", ", queryStringOptions: string | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ", dateFormatTZ?: string | undefined) => ", "QueryDslQueryContainer" ], @@ -40008,13 +35460,7 @@ "description": [], "signature": [ "string | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "node_modules/@types/kbn__es-query/index.d.ts", "deprecated": false @@ -41622,19 +37068,6 @@ "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.intervalName", - "type": "string", - "tags": [], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/types.ts", - "deprecated": false - }, { "parentPluginId": "data", "id": "def-common.DataViewAttributes.sourceFilters", @@ -41826,35 +37259,6 @@ "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/types.ts", - "deprecated": true, - "references": [ - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_view.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/common/data_views/data_views.ts" - } - ] - }, { "parentPluginId": "data", "id": "def-common.DataViewSpec.timeFieldName", @@ -42338,13 +37742,12 @@ { "parentPluginId": "data", "id": "def-common.FieldSpecExportFmt.lang", - "type": "CompoundType", + "type": "string", "tags": [], "label": "lang", "description": [], "signature": [ - "ScriptLanguage", - " | undefined" + "string | undefined" ], "path": "src/plugins/data_views/common/types.ts", "deprecated": false @@ -45473,13 +40876,7 @@ "signature": [ "KueryQueryOptions", " & { allowLeadingWildcards: boolean; queryStringOptions: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", "; ignoreFilterIfFieldNotInIndex: boolean; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -45515,16 +40912,7 @@ "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", - "references": [ - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - } - ], + "references": [], "initialIsOpen": false }, { @@ -45615,14 +41003,6 @@ "plugin": "discover", "path": "src/plugins/discover/public/locator.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/main/services/discover_state.ts" @@ -45667,22 +41047,6 @@ "plugin": "discover", "path": "src/plugins/discover/public/application/context/services/context_state.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" - }, { "plugin": "dashboard", "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" @@ -45807,14 +41171,6 @@ "plugin": "dashboard", "path": "src/plugins/dashboard/public/url_generator.ts" }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, { "plugin": "dashboardEnhanced", "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" @@ -45953,27 +41309,35 @@ }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "path": "src/plugins/discover/public/embeddable/types.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "path": "src/plugins/discover/public/embeddable/types.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" }, { "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" + "path": "src/plugins/discover/public/application/context/services/context.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" + "path": "src/plugins/discover/public/application/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/context/services/context.ts" }, { "plugin": "discover", @@ -46106,6 +41470,22 @@ { "plugin": "maps", "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" } ], "initialIsOpen": false @@ -46327,14 +41707,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, { "plugin": "transform", "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" @@ -46355,22 +41727,6 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/public/lib/es_service.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/main/components/layout/types.ts" @@ -46552,13 +41908,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", @@ -46784,30 +42134,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/common/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, { "plugin": "observability", "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" @@ -46816,22 +42142,6 @@ "plugin": "observability", "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, { "plugin": "dataViews", "path": "src/plugins/data_views/public/index.ts" @@ -46864,30 +42174,6 @@ "plugin": "security", "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/build_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/build_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, { "plugin": "dashboard", "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" @@ -47092,14 +42378,6 @@ "plugin": "visTypeTimelion", "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/build_services.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/build_services.d.ts" - }, { "plugin": "inputControlVis", "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" @@ -47215,14 +42493,6 @@ { "plugin": "dataViewEditor", "path": "src/plugins/data_view_editor/public/components/data_view_flyout_content_container.tsx" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/routes/create_index_pattern.ts" - }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/routes/create_index_pattern.ts" } ], "initialIsOpen": false @@ -47485,16 +42755,7 @@ "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", - "references": [ - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - } - ], + "references": [], "initialIsOpen": false }, { diff --git a/api_docs/data.mdx b/api_docs/data.mdx index d4f90f5a9f2ac..a8f087c8c321a 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3337 | 39 | 2936 | 26 | +| 3341 | 39 | 2747 | 26 | ## Client diff --git a/api_docs/data_autocomplete.mdx b/api_docs/data_autocomplete.mdx index a360f356765a2..aa786ceb8715d 100644 --- a/api_docs/data_autocomplete.mdx +++ b/api_docs/data_autocomplete.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3337 | 39 | 2936 | 26 | +| 3341 | 39 | 2747 | 26 | ## Client diff --git a/api_docs/data_query.json b/api_docs/data_query.json index 325ec6c06a36d..a268429f2d216 100644 --- a/api_docs/data_query.json +++ b/api_docs/data_query.json @@ -715,6 +715,31 @@ "deprecated": false, "children": [], "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-public.TimeHistory.get$", + "type": "Function", + "tags": [], + "label": "get$", + "description": [], + "signature": [ + "() => ", + "Observable", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + "[]>" + ], + "path": "src/plugins/data/public/query/timefilter/time_history.ts", + "deprecated": false, + "children": [], + "returnComment": [] } ], "initialIsOpen": false @@ -2631,7 +2656,17 @@ "label": "TimeHistoryContract", "description": [], "signature": [ - "{ add: (time: ", + "{ get$: () => ", + "Observable", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + "[]>; add: (time: ", { "pluginId": "data", "scope": "common", diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 3bd8b466b8a04..5598f6e478f86 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3337 | 39 | 2936 | 26 | +| 3341 | 39 | 2747 | 26 | ## Client diff --git a/api_docs/data_search.json b/api_docs/data_search.json index 5d044ef00a71a..b2f8576f9353c 100644 --- a/api_docs/data_search.json +++ b/api_docs/data_search.json @@ -211,13 +211,7 @@ "text": "ISearchOptions" }, ", \"isStored\" | \"isRestore\" | \"sessionId\">> | null; enableStorage:

(searchSessionInfoProvider: ", { "pluginId": "data", @@ -603,13 +597,7 @@ "text": "ISearchOptions" }, ", \"isStored\" | \"isRestore\" | \"sessionId\">> | null; enableStorage:

(searchSessionInfoProvider: ", { "pluginId": "data", @@ -768,13 +756,12 @@ { "parentPluginId": "data", "id": "def-public.Reason.lang", - "type": "CompoundType", + "type": "string", "tags": [], "label": "lang", "description": [], "signature": [ - "ScriptLanguage", - " | undefined" + "string | undefined" ], "path": "src/plugins/data/public/search/errors/types.ts", "deprecated": false @@ -1286,13 +1273,7 @@ "text": "ISearchOptions" }, ", \"isStored\" | \"isRestore\" | \"sessionId\">> | null; enableStorage:

(searchSessionInfoProvider: ", { "pluginId": "data", @@ -1621,7 +1602,7 @@ "{ filter?: any; search?: string | undefined; aggs?: Record | undefined; fields?: string[] | undefined; searchAfter?: string[] | undefined; page?: number | undefined; perPage?: number | undefined; sortField?: string | undefined; sortOrder?: ", - "SearchSortOrder", + "SortOrder", " | undefined; searchFields?: string[] | undefined; rootSearchFields?: string[] | undefined; hasReference?: ", { "pluginId": "core", @@ -3214,13 +3195,7 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -3241,13 +3216,7 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -4889,13 +4858,7 @@ "description": [], "signature": [ "(agg: TAggConfig, state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined) => TAggConfig" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -4924,13 +4887,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -5456,7 +5413,9 @@ "signature": [ "(resp: ", "SearchResponse", - ", aggConfigs: ", + ">, aggConfigs: ", { "pluginId": "data", "scope": "common", @@ -5482,7 +5441,9 @@ }, " | undefined, abortSignal?: AbortSignal | undefined, searchSessionId?: string | undefined) => Promise<", "SearchResponse", - ">" + ">>" ], "path": "src/plugins/data/common/search/aggs/agg_type.ts", "deprecated": false, @@ -5499,7 +5460,9 @@ ], "signature": [ "SearchResponse", - "" + ">" ], "path": "src/plugins/data/common/search/aggs/agg_type.ts", "deprecated": false @@ -5722,7 +5685,9 @@ }, "<", "SearchResponse", - ">>; fetch: (options?: ", + ">>>; fetch: (options?: ", { "pluginId": "data", "scope": "common", @@ -5732,7 +5697,9 @@ }, ") => Promise<", "SearchResponse", - ">; onRequestStart: (handler: (searchSource: ", + ">>; onRequestStart: (handler: (searchSource: ", { "pluginId": "data", "scope": "common", @@ -7092,6 +7059,28 @@ "path": "src/plugins/data/common/search/aggs/param_types/field.ts", "deprecated": false }, + { + "parentPluginId": "data", + "id": "def-common.FieldParamType.filterField", + "type": "Function", + "tags": [], + "label": "filterField", + "description": [ + "\nFilter available fields by passing filter fn on a {@link DataViewField}\nIf used, takes precedence over filterFieldTypes and other filter params" + ], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.FilterFieldFn", + "text": "FilterFieldFn" + }, + " | undefined" + ], + "path": "src/plugins/data/common/search/aggs/param_types/field.ts", + "deprecated": false + }, { "parentPluginId": "data", "id": "def-common.FieldParamType.Unnamed", @@ -8439,7 +8428,9 @@ }, "<", "SearchResponse", - ">>" + ">>>" ], "path": "src/plugins/data/common/search/search_source/search_source.ts", "deprecated": false, @@ -8489,7 +8480,9 @@ }, ") => Promise<", "SearchResponse", - ">" + ">>" ], "path": "src/plugins/data/common/search/search_source/search_source.ts", "deprecated": true, @@ -9485,6 +9478,22 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-common.aggSignificantText", + "type": "Function", + "tags": [], + "label": "aggSignificantText", + "description": [], + "signature": [ + "() => FunctionDefinition" + ], + "path": "src/plugins/data/common/search/aggs/buckets/significant_text_fn.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-common.aggSinglePercentile", @@ -9684,13 +9693,7 @@ "text": "DatatableColumn" }, ") => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - } + "Serializable" ], "path": "src/plugins/data/common/search/tabify/utils.ts", "deprecated": false, @@ -10343,13 +10346,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">) => any" ], "path": "src/plugins/data/common/search/expressions/utils/function_wrapper.ts", @@ -11956,7 +11953,9 @@ "signature": [ "(resp: ", "SearchResponse", - " | undefined, searchSource: ", + "> | undefined, searchSource: ", { "pluginId": "data", "scope": "common", @@ -11985,7 +11984,9 @@ "description": [], "signature": [ "SearchResponse", - " | undefined" + "> | undefined" ], "path": "src/plugins/data/common/search/search_source/inspect/inspector_stats.ts", "deprecated": false, @@ -12258,6 +12259,38 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-common.getSignificantTextBucketAgg", + "type": "Function", + "tags": [], + "label": "getSignificantTextBucketAgg", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.BucketAggType", + "text": "BucketAggType" + }, + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IBucketAggConfig", + "text": "IBucketAggConfig" + }, + ">" + ], + "path": "src/plugins/data/common/search/aggs/buckets/significant_text.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-common.getSinglePercentileMetricAgg", @@ -13723,7 +13756,9 @@ "signature": [ "(esResponse: ", "SearchResponse", - ", index?: ", + ">, index?: ", { "pluginId": "dataViews", "scope": "common", @@ -13752,7 +13787,9 @@ "description": [], "signature": [ "SearchResponse", - "" + ">" ], "path": "src/plugins/data/common/search/tabify/tabify_docs.ts", "deprecated": false, @@ -14041,13 +14078,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14108,13 +14139,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14160,13 +14185,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14212,13 +14231,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14264,13 +14277,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14316,13 +14323,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14368,13 +14369,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14420,13 +14415,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14472,13 +14461,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14524,13 +14507,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14576,13 +14553,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14628,13 +14599,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14680,13 +14645,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14732,13 +14691,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14784,13 +14737,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14836,13 +14783,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14888,13 +14829,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14940,13 +14875,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14992,13 +14921,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15044,13 +14967,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15096,13 +15013,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15148,13 +15059,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15200,13 +15105,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15252,13 +15151,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15304,13 +15197,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15356,13 +15243,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15408,13 +15289,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15460,13 +15335,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15512,13 +15381,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15564,13 +15427,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15616,13 +15473,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15668,13 +15519,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15720,13 +15565,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15772,13 +15611,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15824,13 +15657,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15876,13 +15703,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -16044,13 +15865,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_avg.ts", @@ -16065,13 +15880,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_avg.ts", @@ -16116,13 +15925,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_max.ts", @@ -16137,13 +15940,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_max.ts", @@ -16188,13 +15985,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_min.ts", @@ -16209,13 +16000,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_min.ts", @@ -16260,13 +16045,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_sum.ts", @@ -16281,13 +16060,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_sum.ts", @@ -16385,13 +16158,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/cumulative_sum.ts", @@ -16746,13 +16513,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/derivative.ts", @@ -16952,13 +16713,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/filtered_metric.ts", @@ -16973,13 +16728,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/filtered_metric.ts", @@ -17719,13 +17468,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/moving_avg.ts", @@ -17806,13 +17549,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.ts", @@ -18146,13 +17883,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/serial_diff.ts", @@ -18255,18 +17986,18 @@ }, { "parentPluginId": "data", - "id": "def-common.AggParamsSinglePercentile", + "id": "def-common.AggParamsSignificantText", "type": "Interface", "tags": [], - "label": "AggParamsSinglePercentile", + "label": "AggParamsSignificantText", "description": [], "signature": [ { "pluginId": "data", "scope": "common", "docId": "kibDataSearchPluginApi", - "section": "def-common.AggParamsSinglePercentile", - "text": "AggParamsSinglePercentile" + "section": "def-common.AggParamsSignificantText", + "text": "AggParamsSignificantText" }, " extends ", { @@ -18277,22 +18008,127 @@ "text": "BaseAggParams" } ], - "path": "src/plugins/data/common/search/aggs/metrics/single_percentile.ts", + "path": "src/plugins/data/common/search/aggs/buckets/significant_text.ts", "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.AggParamsSinglePercentile.field", + "id": "def-common.AggParamsSignificantText.field", "type": "string", "tags": [], "label": "field", "description": [], - "path": "src/plugins/data/common/search/aggs/metrics/single_percentile.ts", + "path": "src/plugins/data/common/search/aggs/buckets/significant_text.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.AggParamsSinglePercentile.percentile", + "id": "def-common.AggParamsSignificantText.size", + "type": "number", + "tags": [], + "label": "size", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data/common/search/aggs/buckets/significant_text.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.AggParamsSignificantText.min_doc_count", + "type": "number", + "tags": [], + "label": "min_doc_count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data/common/search/aggs/buckets/significant_text.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.AggParamsSignificantText.filter_duplicate_text", + "type": "CompoundType", + "tags": [], + "label": "filter_duplicate_text", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/search/aggs/buckets/significant_text.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.AggParamsSignificantText.exclude", + "type": "string", + "tags": [], + "label": "exclude", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/search/aggs/buckets/significant_text.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.AggParamsSignificantText.include", + "type": "string", + "tags": [], + "label": "include", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/search/aggs/buckets/significant_text.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.AggParamsSinglePercentile", + "type": "Interface", + "tags": [], + "label": "AggParamsSinglePercentile", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggParamsSinglePercentile", + "text": "AggParamsSinglePercentile" + }, + " extends ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.BaseAggParams", + "text": "BaseAggParams" + } + ], + "path": "src/plugins/data/common/search/aggs/metrics/single_percentile.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.AggParamsSinglePercentile.field", + "type": "string", + "tags": [], + "label": "field", + "description": [], + "path": "src/plugins/data/common/search/aggs/metrics/single_percentile.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.AggParamsSinglePercentile.percentile", "type": "number", "tags": [], "label": "percentile", @@ -18439,13 +18275,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/buckets/terms.ts", @@ -19973,10 +19803,49 @@ "label": "filterFieldTypes", "description": [], "signature": [ - "KBN_FIELD_TYPES", - " | \"*\" | ", - "KBN_FIELD_TYPES", - "[] | undefined" + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.FieldTypes", + "text": "FieldTypes" + }, + " | undefined" + ], + "path": "src/plugins/data/common/search/aggs/buckets/bucket_agg_type.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.BucketAggParam.onlyAggregatable", + "type": "CompoundType", + "tags": [], + "label": "onlyAggregatable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/search/aggs/buckets/bucket_agg_type.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.BucketAggParam.filterField", + "type": "Function", + "tags": [], + "label": "filterField", + "description": [ + "\nFilter available fields by passing filter fn on a {@link DataViewField}\nIf used, takes precedence over filterFieldTypes and other filter params" + ], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.FilterFieldFn", + "text": "FilterFieldFn" + }, + " | undefined" ], "path": "src/plugins/data/common/search/aggs/buckets/bucket_agg_type.ts", "deprecated": false @@ -20331,7 +20200,9 @@ "description": [], "signature": [ "SearchResponse", - "" + ">" ], "path": "src/plugins/data/common/search/expressions/es_raw_response.ts", "deprecated": false @@ -22730,13 +22601,7 @@ "\nThe application state that was used to create the session.\nShould be used, for example, to re-load an expired search session." ], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined" ], "path": "src/plugins/data/common/search/session/types.ts", @@ -22752,13 +22617,7 @@ "\nApplication state that should be used to restore the session.\nFor example, relative dates are conveted to absolute ones." ], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined" ], "path": "src/plugins/data/common/search/session/types.ts", @@ -23390,9 +23249,7 @@ "label": "reason", "description": [], "signature": [ - "{ caused_by: { reason: string; type: string; }; reason: string; lang?: ", - "ScriptLanguage", - " | undefined; script?: string | undefined; script_stack?: string[] | undefined; type: string; }" + "{ caused_by: { reason: string; type: string; }; reason: string; lang?: string | undefined; script?: string | undefined; script_stack?: string[] | undefined; type: string; }" ], "path": "src/plugins/data/common/search/search_source/types.ts", "deprecated": false @@ -23678,7 +23535,7 @@ "label": "AggConfigOptions", "description": [], "signature": [ - "{ type: ", + "{ id?: string | undefined; type: ", { "pluginId": "data", "scope": "common", @@ -23686,14 +23543,8 @@ "section": "def-common.IAggType", "text": "IAggType" }, - "; id?: string | undefined; enabled?: boolean | undefined; schema?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "; enabled?: boolean | undefined; schema?: string | undefined; params?: {} | ", + "SerializableRecord", " | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -23709,13 +23560,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -24129,6 +23974,20 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-common.aggSignificantTextFnName", + "type": "string", + "tags": [], + "label": "aggSignificantTextFnName", + "description": [], + "signature": [ + "\"aggSignificantText\"" + ], + "path": "src/plugins/data/common/search/aggs/buckets/significant_text_fn.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-common.aggSinglePercentileFnName", @@ -24398,7 +24257,7 @@ "label": "CreateAggConfigParams", "description": [], "signature": [ - "{ type: string | ", + "{ id?: string | undefined; type: string | ", { "pluginId": "data", "scope": "common", @@ -24406,14 +24265,8 @@ "section": "def-common.IAggType", "text": "IAggType" }, - "; id?: string | undefined; enabled?: boolean | undefined; schema?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "; enabled?: boolean | undefined; schema?: string | undefined; params?: {} | ", + "SerializableRecord", " | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -24566,13 +24419,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts", @@ -24611,13 +24458,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/esdsl.ts", @@ -24789,13 +24630,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/cidr.ts", @@ -24850,13 +24685,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/date_range.ts", @@ -24903,13 +24732,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/exists_filter.ts", @@ -24964,13 +24787,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/extended_bounds.ts", @@ -25017,13 +24834,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/field.ts", @@ -25070,13 +24881,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", @@ -25123,13 +24928,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/geo_point.ts", @@ -25184,13 +24983,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/ip_range.ts", @@ -25359,13 +25152,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/kibana_filter.ts", @@ -25420,13 +25207,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/timerange.ts", @@ -25473,13 +25254,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/kql.ts", @@ -25526,13 +25301,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/lucene.ts", @@ -25587,13 +25356,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/numerical_range.ts", @@ -25640,13 +25403,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", @@ -25693,13 +25450,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/query_filter.ts", @@ -25746,13 +25497,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/range.ts", @@ -25799,13 +25544,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/range_filter.ts", @@ -25860,13 +25599,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/remove_filter.ts", @@ -25921,13 +25654,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data/common/search/expressions/select_filter.ts", @@ -25993,6 +25720,50 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-common.FilterFieldFn", + "type": "Type", + "tags": [], + "label": "FilterFieldFn", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => boolean" + ], + "path": "src/plugins/data/common/search/aggs/param_types/field.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FilterFieldFn.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data/common/search/aggs/param_types/field.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-common.GenericBucket", @@ -26001,8 +25772,8 @@ "label": "GenericBucket", "description": [], "signature": [ - "AggregationsBucket", - " & { [property: string]: ", + "AggregationsBuckets", + " & { [property: string]: ", "AggregationsAggregate", "; }" ], @@ -26168,7 +25939,9 @@ }, "<", "SearchResponse", - ">" + ">>" ], "path": "src/plugins/data/common/search/strategies/es_search/types.ts", "deprecated": false, @@ -26751,7 +26524,9 @@ }, "<", "SearchResponse", - ">>; fetch: (options?: ", + ">>>; fetch: (options?: ", { "pluginId": "data", "scope": "common", @@ -26761,7 +26536,9 @@ }, ") => Promise<", "SearchResponse", - ">; onRequestStart: (handler: (searchSource: ", + ">>; onRequestStart: (handler: (searchSource: ", { "pluginId": "data", "scope": "common", @@ -27060,21 +26837,9 @@ "text": "EsQuerySortValue" }, "[] | undefined; highlight?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; highlightAll?: boolean | undefined; trackTotalHits?: number | boolean | undefined; aggs?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }[] | undefined; from?: number | undefined; size?: number | undefined; source?: boolean | ", "Fields", " | undefined; version?: boolean | undefined; fields?: ", @@ -27267,9 +27032,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"cidr\"" - ], "path": "src/plugins/data/common/search/expressions/cidr.ts", "deprecated": false }, @@ -27447,9 +27209,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"date_range\"" - ], "path": "src/plugins/data/common/search/expressions/date_range.ts", "deprecated": false }, @@ -27732,9 +27491,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"kibana_filter\"" - ], "path": "src/plugins/data/common/search/expressions/exists_filter.ts", "deprecated": false }, @@ -27950,9 +27706,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"extended_bounds\"" - ], "path": "src/plugins/data/common/search/expressions/extended_bounds.ts", "deprecated": false }, @@ -28152,9 +27905,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"kibana_field\"" - ], "path": "src/plugins/data/common/search/expressions/field.ts", "deprecated": false }, @@ -28408,9 +28158,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"geo_bounding_box\"" - ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", "deprecated": false }, @@ -28848,9 +28595,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"geo_point\"" - ], "path": "src/plugins/data/common/search/expressions/geo_point.ts", "deprecated": false }, @@ -29104,9 +28848,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"ip_range\"" - ], "path": "src/plugins/data/common/search/expressions/ip_range.ts", "deprecated": false }, @@ -29332,9 +29073,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"kibana_context\"" - ], "path": "src/plugins/data/common/search/expressions/kibana.ts", "deprecated": false }, @@ -29609,9 +29347,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"kibana_filter\"" - ], "path": "src/plugins/data/common/search/expressions/kibana_filter.ts", "deprecated": false }, @@ -29884,9 +29619,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"timerange\"" - ], "path": "src/plugins/data/common/search/expressions/timerange.ts", "deprecated": false }, @@ -30160,9 +29892,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"kibana_query\"" - ], "path": "src/plugins/data/common/search/expressions/kql.ts", "deprecated": false }, @@ -30339,9 +30068,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"kibana_query\"" - ], "path": "src/plugins/data/common/search/expressions/lucene.ts", "deprecated": false }, @@ -30497,10 +30223,22 @@ "description": [], "signature": [ "{ scriptable?: boolean | undefined; filterFieldTypes?: ", - "KBN_FIELD_TYPES", - " | \"*\" | ", - "KBN_FIELD_TYPES", - "[] | undefined; makeAgg?: ((agg: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.FieldTypes", + "text": "FieldTypes" + }, + " | undefined; onlyAggregatable?: boolean | undefined; filterField?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.FilterFieldFn", + "text": "FilterFieldFn" + }, + " | undefined; makeAgg?: ((agg: ", { "pluginId": "data", "scope": "common", @@ -30509,13 +30247,7 @@ "text": "IBucketAggConfig" }, ", state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; } | undefined) => ", { "pluginId": "data", @@ -30648,9 +30380,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"numerical_range\"" - ], "path": "src/plugins/data/common/search/expressions/numerical_range.ts", "deprecated": false }, @@ -30983,9 +30712,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"kibana_filter\"" - ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", "deprecated": false }, @@ -31088,7 +30814,7 @@ "label": "types", "description": [], "signature": [ - "\"string\"[]" + "string[]" ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", "deprecated": false @@ -31262,9 +30988,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"kibana_query_filter\"" - ], "path": "src/plugins/data/common/search/expressions/query_filter.ts", "deprecated": false }, @@ -31483,9 +31206,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"kibana_filter\"" - ], "path": "src/plugins/data/common/search/expressions/range_filter.ts", "deprecated": false }, @@ -31749,9 +31469,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"kibana_range\"" - ], "path": "src/plugins/data/common/search/expressions/range.ts", "deprecated": false }, @@ -32007,9 +31724,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"kibana_context\"" - ], "path": "src/plugins/data/common/search/expressions/remove_filter.ts", "deprecated": false }, @@ -32297,9 +32011,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"kibana_context\"" - ], "path": "src/plugins/data/common/search/expressions/select_filter.ts", "deprecated": false }, diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index 21174684af5f8..82db9a16235d0 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3337 | 39 | 2936 | 26 | +| 3341 | 39 | 2747 | 26 | ## Client diff --git a/api_docs/data_ui.json b/api_docs/data_ui.json index e4161008ebcc6..37756da83475a 100644 --- a/api_docs/data_ui.json +++ b/api_docs/data_ui.json @@ -551,9 +551,9 @@ "Omit", ", \"onChange\" | \"options\" | \"selectedOptions\" | \"isLoading\" | \"onSearchChange\">, \"placeholder\"> & Required, \"onChange\" | \"selectedOptions\" | \"options\" | \"isLoading\" | \"onSearchChange\">, \"placeholder\"> & Required, \"onChange\" | \"options\" | \"selectedOptions\" | \"isLoading\" | \"onSearchChange\">, \"placeholder\">> & { onChange: (indexPatternId?: string | undefined) => void; indexPatternId: string; onNoIndexPatterns?: (() => void) | undefined; }" + ", \"onChange\" | \"selectedOptions\" | \"options\" | \"isLoading\" | \"onSearchChange\">, \"placeholder\">> & { onChange: (indexPatternId?: string | undefined) => void; indexPatternId: string; onNoIndexPatterns?: (() => void) | undefined; }" ], "path": "src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx", "deprecated": false, diff --git a/api_docs/data_ui.mdx b/api_docs/data_ui.mdx index cfb91331ff3ed..e6206e6076063 100644 --- a/api_docs/data_ui.mdx +++ b/api_docs/data_ui.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3337 | 39 | 2936 | 26 | +| 3341 | 39 | 2747 | 26 | ## Client diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index b28035c0e029c..98d99fe759424 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 13 | 0 | 9 | 0 | +| 13 | 0 | 7 | 0 | ## Client diff --git a/api_docs/data_view_field_editor.mdx b/api_docs/data_view_field_editor.mdx index 298d3eacb5547..b1e7c2e53c0f7 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 42 | 0 | 39 | 3 | +| 42 | 0 | 37 | 3 | ## Client diff --git a/api_docs/data_views.json b/api_docs/data_views.json index 900042d09177a..41f778ab4b750 100644 --- a/api_docs/data_views.json +++ b/api_docs/data_views.json @@ -128,23 +128,6 @@ "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, - { - "parentPluginId": "dataViews", - "id": "def-public.DataView.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [] - }, { "parentPluginId": "dataViews", "id": "def-public.DataView.type", @@ -314,7 +297,7 @@ "\nGet last saved saved object fields" ], "signature": [ - "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" + "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, @@ -427,73 +410,6 @@ "children": [], "returnComment": [] }, - { - "parentPluginId": "dataViews", - "id": "def-public.DataView.addScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "addScriptedField", - "description": [ - "\nAdd scripted field to field list\n" - ], - "signature": [ - "(name: string, script: string, fieldType?: string) => Promise" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "references": [], - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-public.DataView.addScriptedField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-public.DataView.addScriptedField.$2", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "script code" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-public.DataView.addScriptedField.$3", - "type": "string", - "tags": [], - "label": "fieldType", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, { "parentPluginId": "dataViews", "id": "def-public.DataView.removeScriptedField", @@ -1587,15 +1503,14 @@ { "parentPluginId": "dataViews", "id": "def-public.DataViewField.lang", - "type": "CompoundType", + "type": "string", "tags": [], "label": "lang", "description": [ "\nScript field language" ], "signature": [ - "ScriptLanguage", - " | undefined" + "string | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false @@ -1603,13 +1518,12 @@ { "parentPluginId": "dataViews", "id": "def-public.DataViewField.lang", - "type": "CompoundType", + "type": "string", "tags": [], "label": "lang", "description": [], "signature": [ - "ScriptLanguage", - " | undefined" + "string | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false @@ -1897,9 +1811,7 @@ "label": "toJSON", "description": [], "signature": [ - "() => { count: number; script: string | undefined; lang: ", - "ScriptLanguage", - " | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", + "() => { count: number; script: string | undefined; lang: string | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", "IFieldSubType", " | undefined; customLabel: string | undefined; }" ], @@ -3597,6 +3509,10 @@ "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "references": [ + { + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/target/types/__jest__/client_integration/helpers/app_context.mock.d.ts" + }, { "plugin": "dashboard", "path": "src/plugins/dashboard/target/types/public/application/lib/load_saved_dashboard_state.d.ts" @@ -3774,4417 +3690,5502 @@ "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/columns.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/columns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_default_sort.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_default_sort.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/table_header.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/table_header.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort_for_search_source.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort_for_search_source.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/utils/update_search_source.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/utils/update_search_source.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/update_search_source.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/update_search_source.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_es_doc_search.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_es_doc_search.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/sorting.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/sorting.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app_content.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app_content.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern_management.tsx" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern_management.tsx" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/calc_field_counts.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/calc_field_counts.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/types.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_documents.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_documents.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" }, { "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, { "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/view_saved_search_action.test.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/selected_wildcards.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/view_saved_search_action.test.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/selected_wildcards.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "data", + "path": "src/plugins/data/public/index.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "data", + "path": "src/plugins/data/target/types/common/search/aggs/agg_config.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + "plugin": "data", + "path": "src/plugins/data/public/query/query_service.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + "plugin": "data", + "path": "src/plugins/data/public/query/query_service.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + "plugin": "dataViewFieldEditor", + "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + "plugin": "dataViewFieldEditor", + "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/tabify/tabify.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/tabify/tabify.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/helpers.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/helpers.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/doc_table_wrapper.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/doc_table_wrapper.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.predecessors.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.predecessors.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.successors.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.successors.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_context.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_context.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_flyout.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_flyout.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/get_render_cell_value.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/get_render_cell_value.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_sort_for_search_source.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_sort_for_search_source.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_default_sort.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_default_sort.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/utils/sorting.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/utils/sorting.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/top_nav/get_top_nav_links.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/top_nav/get_top_nav_links.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/table_header.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/table_header.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/persistence.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_source/source.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/persistence.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_source/source.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/selected_wildcards.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/selected_wildcards.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/public/index.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/target/types/common/search/aggs/agg_config.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/public/search/errors/painless_error.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" }, { - "plugin": "data", - "path": "src/plugins/data/public/search/errors/painless_error.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" }, { - "plugin": "data", - "path": "src/plugins/data/public/search/errors/painless_error.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" }, { - "plugin": "data", - "path": "src/plugins/data/public/query/query_service.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/public/query/query_service.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" }, { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" }, { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" }, { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" }, { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/doc_views_types.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/doc_views_types.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" }, { - "plugin": "dataViewFieldEditor", - "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" }, { - "plugin": "dataViewFieldEditor", - "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_row.tsx" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_row.tsx" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/nested_fields.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/nested_fields.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc/components/doc.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc/components/doc.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/persist_saved_search.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/persist_saved_search.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" - }, + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" + }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" + "plugin": "dataViewEditor", + "path": "src/plugins/data_view_editor/public/shared_imports.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" + "plugin": "dataViewEditor", + "path": "src/plugins/data_view_editor/public/open_editor.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + "plugin": "dataViewEditor", + "path": "src/plugins/data_view_editor/public/open_editor.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/utils.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/utils.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/utils.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/utils.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/test_script.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/test_script.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/types/app_state.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/types/app_state.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/persistence.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/persistence.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + "plugin": "dataViewFieldEditor", + "path": "src/plugins/data_view_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + "plugin": "dataViewFieldEditor", + "path": "src/plugins/data_view_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" }, { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" }, { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" }, { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" }, { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" }, { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" - }, + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IndexPatternField", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternField", + "description": [], + "signature": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternField", + "text": "IndexPatternField" }, + " extends ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": true, + "references": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/index.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + "plugin": "data", + "path": "src/plugins/data/server/index.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" }, { - "plugin": "dataViewEditor", - "path": "src/plugins/data_view_editor/public/shared_imports.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" }, { - "plugin": "dataViewEditor", - "path": "src/plugins/data_view_editor/public/open_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" }, { - "plugin": "dataViewEditor", - "path": "src/plugins/data_view_editor/public/open_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/utils.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/utils.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/utils.ts" + "plugin": "data", + "path": "src/plugins/data/public/index.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/test_script.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/test_script.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "dataViewFieldEditor", - "path": "src/plugins/data_view_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "dataViewFieldEditor", - "path": "src/plugins/data_view_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/doc/components/doc.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/doc/components/doc.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_calculator.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_calculator.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/nested_fields.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/nested_fields.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + "plugin": "dataViewEditor", + "path": "src/plugins/data_view_editor/public/shared_imports.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + "plugin": "dataViewEditor", + "path": "src/plugins/data_view_editor/public/lib/extract_time_fields.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" - } - ], - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-public.IndexPatternField", - "type": "Class", - "tags": [ - "deprecated" - ], - "label": "IndexPatternField", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "plugin": "dataViewEditor", + "path": "src/plugins/data_view_editor/public/lib/extract_time_fields.ts" }, - " extends ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - } - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": true, - "references": [ { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/index.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "data", - "path": "src/plugins/data/server/index.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "dataViewEditor", + "path": "src/plugins/data_view_editor/public/lib/extract_time_fields.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "dataViewEditor", + "path": "src/plugins/data_view_editor/public/lib/extract_time_fields.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "dataViewEditor", + "path": "src/plugins/data_view_editor/public/lib/extract_time_fields.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IndexPatternsService", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsService", + "description": [], + "signature": [ { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternsService", + "text": "IndexPatternsService" }, + " extends ", { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/index.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "data", + "path": "src/plugins/data/server/index.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "data", + "path": "src/plugins/data/server/index.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { "plugin": "data", - "path": "src/plugins/data/public/index.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/field_name/field_name.tsx" + "path": "src/plugins/data/server/index.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/field_name/field_name.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "data", + "path": "src/plugins/data/public/index.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon", + "type": "Class", + "tags": [], + "label": "SavedObjectsClientPublicToCommon", + "description": [], + "signature": [ { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.SavedObjectsClientPublicToCommon", + "text": "SavedObjectsClientPublicToCommon" }, + " implements ", { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommon", + "text": "SavedObjectsClientCommon" + } + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "savedObjectClient", + "description": [], + "signature": [ + "SOClient" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + }, + ") => Promise<", + "SavedObject", + "[]>" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.find.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + } + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.get.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.get.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(type: string, id: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update.$3", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update.$4", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "(type: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.create.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.create.$2", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.create.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" - }, + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.delete.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.delete.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon", + "type": "Class", + "tags": [], + "label": "UiSettingsPublicToCommon", + "description": [], + "signature": [ { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.UiSettingsPublicToCommon", + "text": "UiSettingsPublicToCommon" }, + " implements ", { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.UiSettingsCommon", + "text": "UiSettingsCommon" + } + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "uiSettings", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.IUiSettingsClient", + "text": "IUiSettingsClient" + } + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.get.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => Promise>>" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.set", + "type": "Function", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "(key: string, value: any) => Promise" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.set.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.set.$2", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.remove.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "dataViews", + "id": "def-public.onRedirectNoIndexPattern", + "type": "Function", + "tags": [], + "label": "onRedirectNoIndexPattern", + "description": [], + "signature": [ + "(capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>, navigateToApp: (appId: string, options?: ", { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" + "pluginId": "core", + "scope": "public", + "docId": "kibCoreApplicationPluginApi", + "section": "def-public.NavigateToAppOptions", + "text": "NavigateToAppOptions" }, + " | undefined) => Promise, overlays: ", { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_layout.tsx" + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.OverlayStart", + "text": "OverlayStart" }, + ") => () => Promise" + ], + "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", + "deprecated": false, + "children": [ { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_layout.tsx" + "parentPluginId": "dataViews", + "id": "def-public.onRedirectNoIndexPattern.$1", + "type": "Object", + "tags": [], + "label": "capabilities", + "description": [], + "signature": [ + "Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>" + ], + "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", + "deprecated": false, + "isRequired": true }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "parentPluginId": "dataViews", + "id": "def-public.onRedirectNoIndexPattern.$2", + "type": "Function", + "tags": [], + "label": "navigateToApp", + "description": [], + "signature": [ + "(appId: string, options?: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreApplicationPluginApi", + "section": "def-public.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, + " | undefined) => Promise" + ], + "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", + "deprecated": false, + "isRequired": true }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, + "parentPluginId": "dataViews", + "id": "def-public.onRedirectNoIndexPattern.$3", + "type": "Object", + "tags": [], + "label": "overlays", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.OverlayStart", + "text": "OverlayStart" + } + ], + "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.validateDataView", + "type": "Function", + "tags": [], + "label": "validateDataView", + "description": [], + "signature": [ + "(indexPattern: string) => { ILLEGAL_CHARACTERS?: string[] | undefined; CONTAINS_SPACES?: boolean | undefined; }" + ], + "path": "src/plugins/data_views/common/lib/validate_data_view.ts", + "deprecated": false, + "children": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, + "parentPluginId": "dataViews", + "id": "def-public.validateDataView.$1", + "type": "string", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/lib/validate_data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList", + "type": "Interface", + "tags": [], + "label": "IIndexPatternFieldList", + "description": [], + "signature": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" }, + " extends ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.add.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getByName", + "type": "Function", + "tags": [], + "label": "getByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getByType", + "type": "Function", + "tags": [], + "label": "getByType", + "description": [], + "signature": [ + "(type: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getByType.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.remove.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.removeAll", + "type": "Function", + "tags": [], + "label": "removeAll", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.replaceAll", + "type": "Function", + "tags": [], + "label": "replaceAll", + "description": [], + "signature": [ + "(specs: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]) => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.replaceAll.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.update.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" - }, + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "(options?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewFieldMap", + "text": "DataViewFieldMap" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.TypeMeta", + "type": "Interface", + "tags": [], + "label": "TypeMeta", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "parentPluginId": "dataViews", + "id": "def-public.TypeMeta.aggs", + "type": "Object", + "tags": [], + "label": "aggs", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" - }, + "parentPluginId": "dataViews", + "id": "def-public.TypeMeta.params", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "{ rollup_index: string; } | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "dataViews", + "id": "def-public.CONTAINS_SPACES_KEY", + "type": "string", + "tags": [], + "label": "CONTAINS_SPACES_KEY", + "description": [], + "signature": [ + "\"CONTAINS_SPACES\"" + ], + "path": "src/plugins/data_views/common/lib/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsContract", + "type": "Type", + "tags": [], + "label": "DataViewsContract", + "description": [], + "signature": [ + "{ create: (spec: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", skipFetchFields?: boolean) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; delete: (indexPatternId: string) => Promise<{}>; find: (search: string, size?: number) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + "[]>; get: (id: string) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + "<", + "IndexPatternSavedObjectAttrs", + ">[] | null | undefined>; getDefault: () => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" }, + ") => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, + "[]>; getFieldsForIndexPattern: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " | ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", options?: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" }, + " | undefined) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, + "[]>; refreshFields: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ") => Promise; fieldArrayToMap: (fields: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, + "[], fieldAttrs?: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" }, + " | undefined) => ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewFieldMap", + "text": "DataViewFieldMap" }, + "; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" }, + ">) => ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + "; createAndSave: (spec: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; createSavedObject: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ", override?: boolean) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; updateSavedObject: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; getDefaultDataView: () => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " | undefined>; }" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.ILLEGAL_CHARACTERS", + "type": "Array", + "tags": [], + "label": "ILLEGAL_CHARACTERS", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/lib/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.ILLEGAL_CHARACTERS_KEY", + "type": "string", + "tags": [], + "label": "ILLEGAL_CHARACTERS_KEY", + "description": [], + "signature": [ + "\"ILLEGAL_CHARACTERS\"" + ], + "path": "src/plugins/data_views/common/lib/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.ILLEGAL_CHARACTERS_VISIBLE", + "type": "Array", + "tags": [], + "label": "ILLEGAL_CHARACTERS_VISIBLE", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/lib/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IndexPatternsContract", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsContract", + "description": [], + "signature": [ + "{ create: (spec: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", skipFetchFields?: boolean) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; delete: (indexPatternId: string) => Promise<{}>; find: (search: string, size?: number) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + "[]>; get: (id: string) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + "<", + "IndexPatternSavedObjectAttrs", + ">[] | null | undefined>; getDefault: () => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" }, + ") => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, + "[]>; getFieldsForIndexPattern: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " | ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", options?: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" }, + " | undefined) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, + "[]>; refreshFields: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ") => Promise; fieldArrayToMap: (fields: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, + "[], fieldAttrs?: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" }, + " | undefined) => ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewFieldMap", + "text": "DataViewFieldMap" }, + "; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" }, + ">) => ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + "; createAndSave: (spec: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; createSavedObject: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ", override?: boolean) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; updateSavedObject: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; getDefaultDataView: () => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " | undefined>; }" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/index.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source_service.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source_service.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source_service.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source_service.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/expressions/esaggs.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/expressions/esaggs.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "data", + "path": "src/plugins/data/server/search/expressions/esaggs.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + "plugin": "data", + "path": "src/plugins/data/server/search/expressions/esaggs.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/services.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/services.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/index.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/ui/index_pattern_select/create_index_pattern_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + "plugin": "data", + "path": "src/plugins/data/public/ui/index_pattern_select/create_index_pattern_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/aggs/aggs_service.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/aggs/aggs_service.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/fetch_index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/fetch_index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/search_service.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/search_service.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "dataViewEditor", - "path": "src/plugins/data_view_editor/public/shared_imports.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" }, { - "plugin": "dataViewEditor", - "path": "src/plugins/data_view_editor/public/lib/extract_time_fields.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" }, { - "plugin": "dataViewEditor", - "path": "src/plugins/data_view_editor/public/lib/extract_time_fields.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + "path": "src/plugins/data_view_management/public/components/utils.ts" }, { "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + "path": "src/plugins/data_view_management/public/components/utils.ts" }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/utils.test.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/utils.test.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + "plugin": "data", + "path": "src/plugins/data/target/types/public/ui/index_pattern_select/index_pattern_select.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + "plugin": "data", + "path": "src/plugins/data/target/types/public/ui/index_pattern_select/index_pattern_select.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + "plugin": "data", + "path": "src/plugins/data/target/types/public/ui/index_pattern_select/create_index_pattern_select.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + "plugin": "data", + "path": "src/plugins/data/target/types/public/ui/index_pattern_select/create_index_pattern_select.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "dataViewEditor", - "path": "src/plugins/data_view_editor/public/lib/extract_time_fields.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "dataViewEditor", - "path": "src/plugins/data_view_editor/public/lib/extract_time_fields.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "dataViewEditor", - "path": "src/plugins/data_view_editor/public/lib/extract_time_fields.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" }, { "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts" + "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" }, { "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" } ], - "children": [], "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-public.IndexPatternsService", - "type": "Class", - "tags": [ - "deprecated" - ], - "label": "IndexPatternsService", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IndexPatternsService", - "text": "IndexPatternsService" - }, - " extends ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewsService", - "text": "DataViewsService" - } - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": true, - "references": [ - { - "plugin": "data", - "path": "src/plugins/data/common/index.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/server/index.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/server/index.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/types.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/types.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/server/index.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" - }, + } + ], + "objects": [], + "setup": { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPluginSetup", + "type": "Interface", + "tags": [], + "label": "DataViewsPublicPluginSetup", + "description": [ + "\nData plugin public Setup contract" + ], + "path": "src/plugins/data_views/public/types.ts", + "deprecated": false, + "children": [], + "lifecycle": "setup", + "initialIsOpen": true + }, + "start": { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPluginStart", + "type": "Type", + "tags": [], + "label": "DataViewsPublicPluginStart", + "description": [ + "\nData plugin public Start contract" + ], + "signature": [ + "{ create: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; find: (search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; get: (id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + "<", + "IndexPatternSavedObjectAttrs", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]>; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]>; refreshFields: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewFieldMap", + "text": "DataViewFieldMap" + }, + "; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; createAndSave: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; createSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; getDefaultDataView: () => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | undefined>; }" + ], + "path": "src/plugins/data_views/public/types.ts", + "deprecated": false, + "lifecycle": "start", + "initialIsOpen": true + } + }, + "server": { + "classes": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin", + "type": "Class", + "tags": [], + "label": "DataViewsServerPlugin", + "description": [], + "signature": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPlugin", + "text": "DataViewsServerPlugin" }, + " implements ", { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/plugin.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/plugin.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/index.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.Plugin", + "text": "Plugin" }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" - } - ], - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon", - "type": "Class", - "tags": [], - "label": "SavedObjectsClientPublicToCommon", - "description": [], - "signature": [ + "<", { "pluginId": "dataViews", - "scope": "public", + "scope": "server", "docId": "kibDataViewsPluginApi", - "section": "def-public.SavedObjectsClientPublicToCommon", - "text": "SavedObjectsClientPublicToCommon" + "section": "def-server.DataViewsServerPluginSetup", + "text": "DataViewsServerPluginSetup" }, - " implements ", + ", ", { "pluginId": "dataViews", - "scope": "common", + "scope": "server", "docId": "kibDataViewsPluginApi", - "section": "def-common.SavedObjectsClientCommon", - "text": "SavedObjectsClientCommon" - } + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" + }, + ", ", + "DataViewsServerPluginSetupDependencies", + ", ", + "DataViewsServerPluginStartDependencies", + ">" ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "path": "src/plugins/data_views/server/plugin.ts", "deprecated": false, "children": [ { "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.Unnamed", + "id": "def-server.DataViewsServerPlugin.Unnamed", "type": "Function", "tags": [], "label": "Constructor", @@ -8192,20 +9193,27 @@ "signature": [ "any" ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "path": "src/plugins/data_views/server/plugin.ts", "deprecated": false, "children": [ { "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.Unnamed.$1", + "id": "def-server.DataViewsServerPlugin.Unnamed.$1", "type": "Object", "tags": [], - "label": "savedObjectClient", + "label": "initializerContext", "description": [], "signature": [ - "SOClient" + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, + "" ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "path": "src/plugins/data_views/server/plugin.ts", "deprecated": false, "isRequired": true } @@ -8214,90 +9222,79 @@ }, { "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.find", + "id": "def-server.DataViewsServerPlugin.setup", "type": "Function", "tags": [], - "label": "find", + "label": "setup", "description": [], "signature": [ - "(options: ", + "(core: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, + "<", + "DataViewsServerPluginStartDependencies", + ", ", { "pluginId": "dataViews", - "scope": "common", + "scope": "server", "docId": "kibDataViewsPluginApi", - "section": "def-common.SavedObjectsClientCommonFindArgs", - "text": "SavedObjectsClientCommonFindArgs" + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" }, - ") => Promise<", - "SavedObject", - "[]>" + ">, { expressions, usageCollection }: ", + "DataViewsServerPluginSetupDependencies", + ") => {}" ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "path": "src/plugins/data_views/server/plugin.ts", "deprecated": false, "children": [ { "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.find.$1", + "id": "def-server.DataViewsServerPlugin.setup.$1", "type": "Object", "tags": [], - "label": "options", + "label": "core", "description": [], "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, + "<", + "DataViewsServerPluginStartDependencies", + ", ", { "pluginId": "dataViews", - "scope": "common", + "scope": "server", "docId": "kibDataViewsPluginApi", - "section": "def-common.SavedObjectsClientCommonFindArgs", - "text": "SavedObjectsClientCommonFindArgs" - } - ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [], - "signature": [ - "(type: string, id: string) => Promise<", - "SavedObject", - ">" - ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.get.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" + }, + ">" ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "path": "src/plugins/data_views/server/plugin.ts", "deprecated": false, "isRequired": true }, { "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.get.$2", - "type": "string", + "id": "def-server.DataViewsServerPlugin.setup.$2", + "type": "Object", "tags": [], - "label": "id", + "label": "{ expressions, usageCollection }", "description": [], "signature": [ - "string" + "DataViewsServerPluginSetupDependencies" ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "path": "src/plugins/data_views/server/plugin.ts", "deprecated": false, "isRequired": true } @@ -8306,132 +9303,122 @@ }, { "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.update", + "id": "def-server.DataViewsServerPlugin.start", "type": "Function", "tags": [], - "label": "update", + "label": "start", "description": [], "signature": [ - "(type: string, id: string, attributes: Record, options: Record) => Promise<", - "SavedObject", - ">" - ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", - "deprecated": false, - "children": [ + "({ uiSettings, capabilities }: ", { - "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.update.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", - "deprecated": false, - "isRequired": true + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" }, + ", { fieldFormats }: ", + "DataViewsServerPluginStartDependencies", + ") => { indexPatternsServiceFactory: (savedObjectsClient: ", { - "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.update.$2", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", - "deprecated": false, - "isRequired": true + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" }, + ", elasticsearchClient: ", { - "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.update.$3", - "type": "Object", - "tags": [], - "label": "attributes", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", - "deprecated": false, - "isRequired": true + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" }, + ", request?: ", { - "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.update.$4", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [], - "signature": [ - "(type: string, attributes: Record, options: Record) => Promise<", - "SavedObject", - ">" + "pluginId": "core", + "scope": "server", + "docId": "kibCoreHttpPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, + " | undefined, byPassCapabilities?: boolean | undefined) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">; dataViewsServiceFactory: (savedObjectsClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, + ", elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ", request?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreHttpPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, + " | undefined, byPassCapabilities?: boolean | undefined) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">; }" ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "path": "src/plugins/data_views/server/plugin.ts", "deprecated": false, "children": [ { "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.create.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.create.$2", + "id": "def-server.DataViewsServerPlugin.start.$1", "type": "Object", "tags": [], - "label": "attributes", + "label": "{ uiSettings, capabilities }", "description": [], "signature": [ - "Record" + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "path": "src/plugins/data_views/server/plugin.ts", "deprecated": false, "isRequired": true }, { "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.create.$3", + "id": "def-server.DataViewsServerPlugin.start.$2", "type": "Object", "tags": [], - "label": "options", + "label": "{ fieldFormats }", "description": [], "signature": [ - "Record" + "DataViewsServerPluginStartDependencies" ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "path": "src/plugins/data_views/server/plugin.ts", "deprecated": false, "isRequired": true } @@ -8440,46 +9427,17 @@ }, { "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.delete", + "id": "def-server.DataViewsServerPlugin.stop", "type": "Function", "tags": [], - "label": "delete", + "label": "stop", "description": [], "signature": [ - "(type: string, id: string) => Promise<{}>" + "() => void" ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "path": "src/plugins/data_views/server/plugin.ts", "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.delete.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-public.SavedObjectsClientPublicToCommon.delete.$2", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", - "deprecated": false, - "isRequired": true - } - ], + "children": [], "returnComment": [] } ], @@ -8487,34 +9445,17 @@ }, { "parentPluginId": "dataViews", - "id": "def-public.UiSettingsPublicToCommon", + "id": "def-server.IndexPatternsFetcher", "type": "Class", "tags": [], - "label": "UiSettingsPublicToCommon", + "label": "IndexPatternsFetcher", "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "public", - "docId": "kibDataViewsPluginApi", - "section": "def-public.UiSettingsPublicToCommon", - "text": "UiSettingsPublicToCommon" - }, - " implements ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.UiSettingsCommon", - "text": "UiSettingsCommon" - } - ], - "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", "deprecated": false, "children": [ { "parentPluginId": "dataViews", - "id": "def-public.UiSettingsPublicToCommon.Unnamed", + "id": "def-server.IndexPatternsFetcher.Unnamed", "type": "Function", "tags": [], "label": "Constructor", @@ -8522,56 +9463,40 @@ "signature": [ "any" ], - "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", "deprecated": false, "children": [ { "parentPluginId": "dataViews", - "id": "def-public.UiSettingsPublicToCommon.Unnamed.$1", - "type": "Object", + "id": "def-server.IndexPatternsFetcher.Unnamed.$1", + "type": "CompoundType", "tags": [], - "label": "uiSettings", + "label": "elasticsearchClient", "description": [], "signature": [ { "pluginId": "core", - "scope": "public", + "scope": "server", "docId": "kibCorePluginApi", - "section": "def-public.IUiSettingsClient", - "text": "IUiSettingsClient" + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" } ], - "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", "deprecated": false, "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-public.UiSettingsPublicToCommon.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [], - "signature": [ - "(key: string) => Promise" - ], - "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", - "deprecated": false, - "children": [ + }, { "parentPluginId": "dataViews", - "id": "def-public.UiSettingsPublicToCommon.get.$1", - "type": "string", + "id": "def-server.IndexPatternsFetcher.Unnamed.$2", + "type": "boolean", "tags": [], - "label": "key", + "label": "allowNoIndices", "description": [], "signature": [ - "string" + "boolean" ], - "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", "deprecated": false, "isRequired": true } @@ -8580,10903 +9505,7547 @@ }, { "parentPluginId": "dataViews", - "id": "def-public.UiSettingsPublicToCommon.getAll", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard", "type": "Function", - "tags": [], - "label": "getAll", - "description": [], - "signature": [ - "() => Promise>>" + "tags": [ + "property", + "property", + "return" + ], + "label": "getFieldsForWildcard", + "description": [ + "\n Get a list of field objects for an index pattern that may contain wildcards\n" ], - "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-public.UiSettingsPublicToCommon.set", - "type": "Function", - "tags": [], - "label": "set", - "description": [], "signature": [ - "(key: string, value: any) => Promise" + "(options: { pattern: string | string[]; metaFields?: string[] | undefined; fieldCapsOptions?: { allow_no_indices: boolean; } | undefined; type?: string | undefined; rollupIndex?: string | undefined; filter?: ", + "QueryDslQueryContainer", + " | undefined; }) => Promise<", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]>" ], - "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", "deprecated": false, "children": [ { "parentPluginId": "dataViews", - "id": "def-public.UiSettingsPublicToCommon.set.$1", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-public.UiSettingsPublicToCommon.set.$2", - "type": "Any", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1", + "type": "Object", "tags": [], - "label": "value", + "label": "options", "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", "deprecated": false, - "isRequired": true + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.pattern", + "type": "CompoundType", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.fieldCapsOptions", + "type": "Object", + "tags": [], + "label": "fieldCapsOptions", + "description": [], + "signature": [ + "{ allow_no_indices: boolean; } | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.rollupIndex", + "type": "string", + "tags": [], + "label": "rollupIndex", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.filter", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "QueryDslQueryContainer", + " | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ] } ], "returnComment": [] }, { "parentPluginId": "dataViews", - "id": "def-public.UiSettingsPublicToCommon.remove", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern", "type": "Function", - "tags": [], - "label": "remove", - "description": [], + "tags": [ + "property", + "property", + "property", + "return" + ], + "label": "getFieldsForTimePattern", + "description": [ + "\n Get a list of field objects for a time pattern\n" + ], "signature": [ - "(key: string) => Promise" + "(options: { pattern: string; metaFields: string[]; lookBack: number; interval: string; }) => Promise<", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]>" ], - "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", "deprecated": false, "children": [ { "parentPluginId": "dataViews", - "id": "def-public.UiSettingsPublicToCommon.remove.$1", - "type": "string", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1", + "type": "Object", "tags": [], - "label": "key", + "label": "options", "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", "deprecated": false, - "isRequired": true + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.lookBack", + "type": "number", + "tags": [], + "label": "lookBack", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.interval", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ] } ], "returnComment": [] - } - ], - "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.validatePatternListActive", + "type": "Function", + "tags": [ + "return" + ], + "label": "validatePatternListActive", + "description": [ + "\n Returns an index pattern list of only those index pattern strings in the given list that return indices\n" + ], + "signature": [ + "(patternList: string[]) => Promise" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.validatePatternListActive.$1", + "type": "Array", + "tags": [], + "label": "patternList", + "description": [ + "string[]" + ], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false } ], "functions": [ { "parentPluginId": "dataViews", - "id": "def-public.onRedirectNoIndexPattern", + "id": "def-server.dataViewsServiceFactory", "type": "Function", "tags": [], - "label": "onRedirectNoIndexPattern", + "label": "dataViewsServiceFactory", "description": [], "signature": [ - "(capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>, navigateToApp: (appId: string, options?: ", + "({ logger, uiSettings, fieldFormats, capabilities, }: { logger: ", { - "pluginId": "core", - "scope": "public", - "docId": "kibCoreApplicationPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" }, - " | undefined) => Promise, overlays: ", + "; uiSettings: ", { "pluginId": "core", - "scope": "public", + "scope": "server", "docId": "kibCorePluginApi", - "section": "def-public.OverlayStart", - "text": "OverlayStart" + "section": "def-server.UiSettingsServiceStart", + "text": "UiSettingsServiceStart" }, - ") => () => Promise" - ], - "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", - "deprecated": false, - "children": [ + "; fieldFormats: ", { - "parentPluginId": "dataViews", - "id": "def-public.onRedirectNoIndexPattern.$1", - "type": "Object", - "tags": [], - "label": "capabilities", - "description": [], - "signature": [ - "Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>" - ], - "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", - "deprecated": false, - "isRequired": true + "pluginId": "fieldFormats", + "scope": "server", + "docId": "kibFieldFormatsPluginApi", + "section": "def-server.FieldFormatsStart", + "text": "FieldFormatsStart" }, + "; capabilities: ", { - "parentPluginId": "dataViews", - "id": "def-public.onRedirectNoIndexPattern.$2", - "type": "Function", - "tags": [], - "label": "navigateToApp", - "description": [], - "signature": [ - "(appId: string, options?: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCoreApplicationPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, - " | undefined) => Promise" - ], - "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", - "deprecated": false, - "isRequired": true + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CapabilitiesStart", + "text": "CapabilitiesStart" }, + "; }) => (savedObjectsClient: ", { - "parentPluginId": "dataViews", - "id": "def-public.onRedirectNoIndexPattern.$3", - "type": "Object", - "tags": [], - "label": "overlays", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayStart", - "text": "OverlayStart" - } - ], - "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-public.validateDataView", - "type": "Function", - "tags": [], - "label": "validateDataView", - "description": [], - "signature": [ - "(indexPattern: string) => { ILLEGAL_CHARACTERS?: string[] | undefined; CONTAINS_SPACES?: boolean | undefined; }" - ], - "path": "src/plugins/data_views/common/lib/validate_data_view.ts", - "deprecated": false, - "children": [ + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, + ", elasticsearchClient: ", { - "parentPluginId": "dataViews", - "id": "def-public.validateDataView.$1", - "type": "string", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/lib/validate_data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList", - "type": "Interface", - "tags": [], - "label": "IIndexPatternFieldList", - "description": [], - "signature": [ + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ", request?: ", { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" + "pluginId": "core", + "scope": "server", + "docId": "kibCoreHttpPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" }, - " extends ", + " | undefined, byPassCapabilities?: boolean | undefined) => Promise<", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.DataViewsService", + "text": "DataViewsService" }, - "[]" + ">" ], - "path": "src/plugins/data_views/common/fields/field_list.ts", + "path": "src/plugins/data_views/server/data_views_service_factory.ts", "deprecated": false, "children": [ { "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.add", - "type": "Function", + "id": "def-server.dataViewsServiceFactory.$1", + "type": "Object", "tags": [], - "label": "add", + "label": "{\n logger,\n uiSettings,\n fieldFormats,\n capabilities,\n}", "description": [], - "signature": [ - "(field: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => void" - ], - "path": "src/plugins/data_views/common/fields/field_list.ts", + "path": "src/plugins/data_views/server/data_views_service_factory.ts", "deprecated": false, "children": [ { "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.add.$1", + "id": "def-server.dataViewsServiceFactory.$1.logger", "type": "Object", "tags": [], - "label": "field", + "label": "logger", "description": [], "signature": [ { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" } ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.getAll", - "type": "Function", - "tags": [], - "label": "getAll", - "description": [], - "signature": [ - "() => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.getByName", - "type": "Function", - "tags": [], - "label": "getByName", - "description": [], - "signature": [ - "(name: string) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false }, - " | undefined" - ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "children": [ { "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.getByName.$1", - "type": "string", + "id": "def-server.dataViewsServiceFactory.$1.uiSettings", + "type": "Object", "tags": [], - "label": "name", + "label": "uiSettings", "description": [], "signature": [ - "string" + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.UiSettingsServiceStart", + "text": "UiSettingsServiceStart" + } ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.getByType", - "type": "Function", - "tags": [], - "label": "getByType", - "description": [], - "signature": [ - "(type: string) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false }, - "[]" - ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "children": [ { "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.getByType.$1", - "type": "string", + "id": "def-server.dataViewsServiceFactory.$1.fieldFormats", + "type": "Object", "tags": [], - "label": "type", + "label": "fieldFormats", "description": [], "signature": [ - "string" + { + "pluginId": "fieldFormats", + "scope": "server", + "docId": "kibFieldFormatsPluginApi", + "section": "def-server.FieldFormatsStart", + "text": "FieldFormatsStart" + } ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.remove", - "type": "Function", - "tags": [], - "label": "remove", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false }, - ") => void" - ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "children": [ { "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.remove.$1", + "id": "def-server.dataViewsServiceFactory.$1.capabilities", "type": "Object", "tags": [], - "label": "field", + "label": "capabilities", "description": [], "signature": [ { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CapabilitiesStart", + "text": "CapabilitiesStart" } ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "isRequired": true + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false } - ], - "returnComment": [] + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.findIndexPatternById", + "type": "Function", + "tags": [], + "label": "findIndexPatternById", + "description": [], + "signature": [ + "(savedObjectsClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" }, + ", index: string) => Promise<", + "SavedObject", + "<", { - "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.removeAll", - "type": "Function", - "tags": [], - "label": "removeAll", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" }, + "> | undefined>" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "children": [ { "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.replaceAll", - "type": "Function", + "id": "def-server.findIndexPatternById.$1", + "type": "Object", "tags": [], - "label": "replaceAll", + "label": "savedObjectsClient", "description": [], "signature": [ - "(specs: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]) => void" - ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.replaceAll.$1", - "type": "Array", - "tags": [], - "label": "specs", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "isRequired": true + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" } ], - "returnComment": [] + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "isRequired": true }, { "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.update", - "type": "Function", + "id": "def-server.findIndexPatternById.$2", + "type": "string", "tags": [], - "label": "update", + "label": "index", "description": [], "signature": [ - "(field: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => void" + "string" ], - "path": "src/plugins/data_views/common/fields/field_list.ts", + "path": "src/plugins/data_views/server/utils.ts", "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.update.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.getCapabilitiesForRollupIndices", + "type": "Function", + "tags": [], + "label": "getCapabilitiesForRollupIndices", + "description": [], + "signature": [ + "(indices: Record) => { [key: string]: any; }" + ], + "path": "src/plugins/data_views/server/fetcher/lib/map_capabilities.ts", + "deprecated": false, + "children": [ { "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.toSpec", - "type": "Function", + "id": "def-server.getCapabilitiesForRollupIndices.$1", + "type": "Object", "tags": [], - "label": "toSpec", + "label": "indices", "description": [], "signature": [ - "(options?: { getFormatterForField?: ((field: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; } | undefined) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewFieldMap", - "text": "DataViewFieldMap" - } + "Record" ], - "path": "src/plugins/data_views/common/fields/field_list.ts", + "path": "src/plugins/data_views/server/fetcher/lib/map_capabilities.ts", "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.toSpec.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-public.IIndexPatternFieldList.toSpec.$1.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data_views/common/fields/field_list.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] + "isRequired": true } ], + "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "dataViews", - "id": "def-public.TypeMeta", - "type": "Interface", + "id": "def-server.getFieldByName", + "type": "Function", "tags": [], - "label": "TypeMeta", + "label": "getFieldByName", "description": [], - "path": "src/plugins/data_views/common/types.ts", + "signature": [ + "(fieldName: string, indexPattern: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | undefined" + ], + "path": "src/plugins/data_views/server/utils.ts", "deprecated": false, "children": [ { "parentPluginId": "dataViews", - "id": "def-public.TypeMeta.aggs", - "type": "Object", + "id": "def-server.getFieldByName.$1", + "type": "string", "tags": [], - "label": "aggs", + "label": "fieldName", "description": [], "signature": [ - "Record | undefined" + "string" ], - "path": "src/plugins/data_views/common/types.ts", - "deprecated": false + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "isRequired": true }, { "parentPluginId": "dataViews", - "id": "def-public.TypeMeta.params", + "id": "def-server.getFieldByName.$2", "type": "Object", "tags": [], - "label": "params", + "label": "indexPattern", "description": [], "signature": [ - "{ rollup_index: string; } | undefined" + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">" ], - "path": "src/plugins/data_views/common/types.ts", - "deprecated": false + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "isRequired": true } ], - "initialIsOpen": false - } - ], - "enums": [], - "misc": [ - { - "parentPluginId": "dataViews", - "id": "def-public.CONTAINS_SPACES_KEY", - "type": "string", - "tags": [], - "label": "CONTAINS_SPACES_KEY", - "description": [], - "signature": [ - "\"CONTAINS_SPACES\"" - ], - "path": "src/plugins/data_views/common/lib/types.ts", - "deprecated": false, + "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "dataViews", - "id": "def-public.DataViewsContract", - "type": "Type", + "id": "def-server.mergeCapabilitiesWithFields", + "type": "Function", "tags": [], - "label": "DataViewsContract", + "label": "mergeCapabilitiesWithFields", "description": [], "signature": [ - "{ create: (spec: ", + "(rollupIndexCapabilities: { [key: string]: any; }, fieldsFromFieldCapsApi: Record Promise<", + ">, previousFields?: ", { "pluginId": "dataViews", - "scope": "common", + "scope": "server", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" }, - ">; delete: (indexPatternId: string) => Promise<{}>; find: (search: string, size?: number) => Promise<", + "[]) => ", { "pluginId": "dataViews", - "scope": "common", + "scope": "server", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" }, - "[]>; get: (id: string) => Promise<", + "[]" + ], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false, + "children": [ { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields.$1", + "type": "Object", + "tags": [], + "label": "rollupIndexCapabilities", + "description": [], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields.$1.Unnamed", + "type": "IndexSignature", + "tags": [], + "label": "[key: string]: any", + "description": [], + "signature": [ + "[key: string]: any" + ], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false + } + ] }, - ">; ensureDefaultDataView: ", - "EnsureDefaultDataView", - "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewListItem", - "text": "DataViewListItem" + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields.$2", + "type": "Object", + "tags": [], + "label": "fieldsFromFieldCapsApi", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false, + "isRequired": true }, - "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", - "SavedObject", - "<", - "IndexPatternSavedObjectAttrs", - ">[] | null | undefined>; getDefault: () => Promise<", { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields.$3", + "type": "Array", + "tags": [], + "label": "previousFields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]" + ], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.shouldReadFieldFromDocValues", + "type": "Function", + "tags": [], + "label": "shouldReadFieldFromDocValues", + "description": [], + "signature": [ + "(aggregatable: boolean, esType: string) => boolean" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "children": [ { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" + "parentPluginId": "dataViews", + "id": "def-server.shouldReadFieldFromDocValues.$1", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "isRequired": true }, - ") => Promise<", { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]>; getFieldsForIndexPattern: (indexPattern: ", + "parentPluginId": "dataViews", + "id": "def-server.shouldReadFieldFromDocValues.$2", + "type": "string", + "tags": [], + "label": "esType", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor", + "type": "Interface", + "tags": [], + "label": "FieldDescriptor", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false }, - " | ", { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false }, - ", options?: ", { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.readFromDocValues", + "type": "boolean", + "tags": [], + "label": "readFromDocValues", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false }, - " | undefined) => Promise<", { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false }, - "[]>; refreshFields: (indexPattern: ", { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false }, - ") => Promise; fieldArrayToMap: (fields: ", { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewFieldMap", - "text": "DataViewFieldMap" - }, - "; savedObjectToSpec: (savedObject: ", - "SavedObject", - "<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - "; createAndSave: (spec: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; createSavedObject: (indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false }, - ">; updateSavedObject: (indexPattern: ", { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.subType", + "type": "Object", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + "FieldSubType | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; getDefaultDataView: () => Promise<", { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | undefined>; }" + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.metadata_field", + "type": "CompoundType", + "tags": [], + "label": "metadata_field", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DATA_VIEW_PATH", + "type": "string", + "tags": [], + "label": "DATA_VIEW_PATH", + "description": [], + "path": "src/plugins/data_views/server/constants.ts", "deprecated": false, "initialIsOpen": false }, { "parentPluginId": "dataViews", - "id": "def-public.ILLEGAL_CHARACTERS", - "type": "Array", + "id": "def-server.DATA_VIEW_PATH_LEGACY", + "type": "string", "tags": [], - "label": "ILLEGAL_CHARACTERS", + "label": "DATA_VIEW_PATH_LEGACY", + "description": [], + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.RUNTIME_FIELD_PATH", + "type": "string", + "tags": [], + "label": "RUNTIME_FIELD_PATH", + "description": [], + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.RUNTIME_FIELD_PATH_LEGACY", + "type": "string", + "tags": [], + "label": "RUNTIME_FIELD_PATH_LEGACY", + "description": [], + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.SCRIPTED_FIELD_PATH", + "type": "string", + "tags": [], + "label": "SCRIPTED_FIELD_PATH", + "description": [], + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.SCRIPTED_FIELD_PATH_LEGACY", + "type": "string", + "tags": [], + "label": "SCRIPTED_FIELD_PATH_LEGACY", + "description": [], + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.SERVICE_KEY", + "type": "string", + "tags": [], + "label": "SERVICE_KEY", "description": [], "signature": [ - "string[]" + "\"data_view\"" ], - "path": "src/plugins/data_views/common/lib/types.ts", + "path": "src/plugins/data_views/server/constants.ts", "deprecated": false, "initialIsOpen": false }, { "parentPluginId": "dataViews", - "id": "def-public.ILLEGAL_CHARACTERS_KEY", + "id": "def-server.SERVICE_KEY_LEGACY", "type": "string", "tags": [], - "label": "ILLEGAL_CHARACTERS_KEY", + "label": "SERVICE_KEY_LEGACY", "description": [], "signature": [ - "\"ILLEGAL_CHARACTERS\"" + "\"index_pattern\"" ], - "path": "src/plugins/data_views/common/lib/types.ts", + "path": "src/plugins/data_views/server/constants.ts", "deprecated": false, "initialIsOpen": false }, { "parentPluginId": "dataViews", - "id": "def-public.ILLEGAL_CHARACTERS_VISIBLE", - "type": "Array", + "id": "def-server.SERVICE_KEY_TYPE", + "type": "Type", "tags": [], - "label": "ILLEGAL_CHARACTERS_VISIBLE", + "label": "SERVICE_KEY_TYPE", "description": [], "signature": [ - "string[]" + "\"index_pattern\" | \"data_view\"" ], - "path": "src/plugins/data_views/common/lib/types.ts", + "path": "src/plugins/data_views/server/constants.ts", "deprecated": false, "initialIsOpen": false }, { "parentPluginId": "dataViews", - "id": "def-public.IndexPatternsContract", - "type": "Type", - "tags": [ - "deprecated" + "id": "def-server.SERVICE_PATH", + "type": "string", + "tags": [], + "label": "SERVICE_PATH", + "description": [], + "signature": [ + "\"/api/data_views\"" ], - "label": "IndexPatternsContract", + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.SERVICE_PATH_LEGACY", + "type": "string", + "tags": [], + "label": "SERVICE_PATH_LEGACY", "description": [], "signature": [ - "{ create: (spec: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", skipFetchFields?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; delete: (indexPatternId: string) => Promise<{}>; find: (search: string, size?: number) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - "[]>; get: (id: string) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; ensureDefaultDataView: ", - "EnsureDefaultDataView", - "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewListItem", - "text": "DataViewListItem" - }, - "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", - "SavedObject", - "<", - "IndexPatternSavedObjectAttrs", - ">[] | null | undefined>; getDefault: () => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]>; getFieldsForIndexPattern: (indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", options?: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]>; refreshFields: (indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ") => Promise; fieldArrayToMap: (fields: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewFieldMap", - "text": "DataViewFieldMap" - }, - "; savedObjectToSpec: (savedObject: ", - "SavedObject", - "<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - "; createAndSave: (spec: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; createSavedObject: (indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; updateSavedObject: (indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; getDefaultDataView: () => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | undefined>; }" + "\"/api/index_patterns\"" ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": true, - "references": [ - { - "plugin": "data", - "path": "src/plugins/data/common/index.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/create_search_source.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/create_search_source.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source_service.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source_service.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/search/types.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/search/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source_service.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source_service.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/search/expressions/esaggs.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/search/expressions/esaggs.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/server/search/expressions/esaggs.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/server/search/expressions/esaggs.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/services.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/services.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/index.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/ui/index_pattern_select/create_index_pattern_select.tsx" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/ui/index_pattern_select/create_index_pattern_select.tsx" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/search/aggs/aggs_service.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/search/aggs/aggs_service.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/ui/query_string_input/fetch_index_patterns.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/ui/query_string_input/fetch_index_patterns.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/search/search_service.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/search/search_service.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/build_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/build_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/application.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/application.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/utils.ts" - }, - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/utils.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" - }, - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/utils.test.ts" - }, - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/utils.test.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/target/types/public/ui/index_pattern_select/index_pattern_select.d.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/target/types/public/ui/index_pattern_select/index_pattern_select.d.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/target/types/public/ui/index_pattern_select/create_index_pattern_select.d.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/target/types/public/ui/index_pattern_select/create_index_pattern_select.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/build_services.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/build_services.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" - }, - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" - } - ], - "initialIsOpen": false - } - ], - "objects": [], - "setup": { - "parentPluginId": "dataViews", - "id": "def-public.DataViewsPublicPluginSetup", - "type": "Interface", - "tags": [], - "label": "DataViewsPublicPluginSetup", - "description": [ - "\nData plugin public Setup contract" - ], - "path": "src/plugins/data_views/public/types.ts", - "deprecated": false, - "children": [], - "lifecycle": "setup", - "initialIsOpen": true - }, - "start": { - "parentPluginId": "dataViews", - "id": "def-public.DataViewsPublicPluginStart", - "type": "Type", - "tags": [], - "label": "DataViewsPublicPluginStart", - "description": [ - "\nData plugin public Start contract" - ], - "signature": [ - "{ create: (spec: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", skipFetchFields?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; delete: (indexPatternId: string) => Promise<{}>; find: (search: string, size?: number) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - "[]>; get: (id: string) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; ensureDefaultDataView: ", - "EnsureDefaultDataView", - "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewListItem", - "text": "DataViewListItem" - }, - "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", - "SavedObject", - "<", - "IndexPatternSavedObjectAttrs", - ">[] | null | undefined>; getDefault: () => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]>; getFieldsForIndexPattern: (indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", options?: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]>; refreshFields: (indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ") => Promise; fieldArrayToMap: (fields: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewFieldMap", - "text": "DataViewFieldMap" - }, - "; savedObjectToSpec: (savedObject: ", - "SavedObject", - "<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - "; createAndSave: (spec: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; createSavedObject: (indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; updateSavedObject: (indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; getDefaultDataView: () => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | undefined>; }" - ], - "path": "src/plugins/data_views/public/types.ts", - "deprecated": false, - "lifecycle": "start", - "initialIsOpen": true - } - }, - "server": { - "classes": [ - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPlugin", - "type": "Class", - "tags": [], - "label": "DataViewsServerPlugin", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "server", - "docId": "kibDataViewsPluginApi", - "section": "def-server.DataViewsServerPlugin", - "text": "DataViewsServerPlugin" - }, - " implements ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.Plugin", - "text": "Plugin" - }, - "<", - { - "pluginId": "dataViews", - "scope": "server", - "docId": "kibDataViewsPluginApi", - "section": "def-server.DataViewsServerPluginSetup", - "text": "DataViewsServerPluginSetup" - }, - ", ", - { - "pluginId": "dataViews", - "scope": "server", - "docId": "kibDataViewsPluginApi", - "section": "def-server.DataViewsServerPluginStart", - "text": "DataViewsServerPluginStart" - }, - ", ", - "DataViewsServerPluginSetupDependencies", - ", ", - "DataViewsServerPluginStartDependencies", - ">" - ], - "path": "src/plugins/data_views/server/plugin.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPlugin.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data_views/server/plugin.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPlugin.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "initializerContext", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.PluginInitializerContext", - "text": "PluginInitializerContext" - }, - "" - ], - "path": "src/plugins/data_views/server/plugin.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPlugin.setup", - "type": "Function", - "tags": [], - "label": "setup", - "description": [], - "signature": [ - "(core: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.CoreSetup", - "text": "CoreSetup" - }, - "<", - "DataViewsServerPluginStartDependencies", - ", ", - { - "pluginId": "dataViews", - "scope": "server", - "docId": "kibDataViewsPluginApi", - "section": "def-server.DataViewsServerPluginStart", - "text": "DataViewsServerPluginStart" - }, - ">, { expressions, usageCollection }: ", - "DataViewsServerPluginSetupDependencies", - ") => {}" - ], - "path": "src/plugins/data_views/server/plugin.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPlugin.setup.$1", - "type": "Object", - "tags": [], - "label": "core", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.CoreSetup", - "text": "CoreSetup" - }, - "<", - "DataViewsServerPluginStartDependencies", - ", ", - { - "pluginId": "dataViews", - "scope": "server", - "docId": "kibDataViewsPluginApi", - "section": "def-server.DataViewsServerPluginStart", - "text": "DataViewsServerPluginStart" - }, - ">" - ], - "path": "src/plugins/data_views/server/plugin.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPlugin.setup.$2", - "type": "Object", - "tags": [], - "label": "{ expressions, usageCollection }", - "description": [], - "signature": [ - "DataViewsServerPluginSetupDependencies" - ], - "path": "src/plugins/data_views/server/plugin.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPlugin.start", - "type": "Function", - "tags": [], - "label": "start", - "description": [], - "signature": [ - "({ uiSettings, capabilities }: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.CoreStart", - "text": "CoreStart" - }, - ", { fieldFormats }: ", - "DataViewsServerPluginStartDependencies", - ") => { indexPatternsServiceFactory: (savedObjectsClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClientContract", - "text": "SavedObjectsClientContract" - }, - ", elasticsearchClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - }, - ", request?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreHttpPluginApi", - "section": "def-server.KibanaRequest", - "text": "KibanaRequest" - }, - " | undefined) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewsService", - "text": "DataViewsService" - }, - ">; dataViewsServiceFactory: (savedObjectsClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClientContract", - "text": "SavedObjectsClientContract" - }, - ", elasticsearchClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - }, - ", request?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreHttpPluginApi", - "section": "def-server.KibanaRequest", - "text": "KibanaRequest" - }, - " | undefined) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewsService", - "text": "DataViewsService" - }, - ">; }" - ], - "path": "src/plugins/data_views/server/plugin.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPlugin.start.$1", - "type": "Object", - "tags": [], - "label": "{ uiSettings, capabilities }", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.CoreStart", - "text": "CoreStart" - } - ], - "path": "src/plugins/data_views/server/plugin.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPlugin.start.$2", - "type": "Object", - "tags": [], - "label": "{ fieldFormats }", - "description": [], - "signature": [ - "DataViewsServerPluginStartDependencies" - ], - "path": "src/plugins/data_views/server/plugin.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPlugin.stop", - "type": "Function", - "tags": [], - "label": "stop", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/data_views/server/plugin.ts", - "deprecated": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher", - "type": "Class", - "tags": [], - "label": "IndexPatternsFetcher", - "description": [], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.Unnamed.$1", - "type": "CompoundType", - "tags": [], - "label": "elasticsearchClient", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - } - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.Unnamed.$2", - "type": "boolean", - "tags": [], - "label": "allowNoIndices", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard", - "type": "Function", - "tags": [ - "property", - "property", - "return" - ], - "label": "getFieldsForWildcard", - "description": [ - "\n Get a list of field objects for an index pattern that may contain wildcards\n" - ], - "signature": [ - "(options: { pattern: string | string[]; metaFields?: string[] | undefined; fieldCapsOptions?: { allow_no_indices: boolean; } | undefined; type?: string | undefined; rollupIndex?: string | undefined; filter?: ", - "QueryDslQueryContainer", - " | undefined; }) => Promise<", - { - "pluginId": "dataViews", - "scope": "server", - "docId": "kibDataViewsPluginApi", - "section": "def-server.FieldDescriptor", - "text": "FieldDescriptor" - }, - "[]>" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.pattern", - "type": "CompoundType", - "tags": [], - "label": "pattern", - "description": [], - "signature": [ - "string | string[]" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.fieldCapsOptions", - "type": "Object", - "tags": [], - "label": "fieldCapsOptions", - "description": [], - "signature": [ - "{ allow_no_indices: boolean; } | undefined" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.rollupIndex", - "type": "string", - "tags": [], - "label": "rollupIndex", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.filter", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "QueryDslQueryContainer", - " | undefined" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern", - "type": "Function", - "tags": [ - "property", - "property", - "property", - "return" - ], - "label": "getFieldsForTimePattern", - "description": [ - "\n Get a list of field objects for a time pattern\n" - ], - "signature": [ - "(options: { pattern: string; metaFields: string[]; lookBack: number; interval: string; }) => Promise<", - { - "pluginId": "dataViews", - "scope": "server", - "docId": "kibDataViewsPluginApi", - "section": "def-server.FieldDescriptor", - "text": "FieldDescriptor" - }, - "[]>" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.pattern", - "type": "string", - "tags": [], - "label": "pattern", - "description": [], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.lookBack", - "type": "number", - "tags": [], - "label": "lookBack", - "description": [], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.interval", - "type": "string", - "tags": [], - "label": "interval", - "description": [], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.validatePatternListActive", - "type": "Function", - "tags": [ - "return" - ], - "label": "validatePatternListActive", - "description": [ - "\n Returns an index pattern list of only those index pattern strings in the given list that return indices\n" - ], - "signature": [ - "(patternList: string[]) => Promise" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.IndexPatternsFetcher.validatePatternListActive.$1", - "type": "Array", - "tags": [], - "label": "patternList", - "description": [ - "string[]" - ], - "signature": [ - "string[]" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - } - ], - "functions": [ - { - "parentPluginId": "dataViews", - "id": "def-server.dataViewsServiceFactory", - "type": "Function", - "tags": [], - "label": "dataViewsServiceFactory", - "description": [], - "signature": [ - "({ logger, uiSettings, fieldFormats, capabilities, }: { logger: ", - { - "pluginId": "@kbn/logging", - "scope": "server", - "docId": "kibKbnLoggingPluginApi", - "section": "def-server.Logger", - "text": "Logger" - }, - "; uiSettings: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.UiSettingsServiceStart", - "text": "UiSettingsServiceStart" - }, - "; fieldFormats: ", - { - "pluginId": "fieldFormats", - "scope": "server", - "docId": "kibFieldFormatsPluginApi", - "section": "def-server.FieldFormatsStart", - "text": "FieldFormatsStart" - }, - "; capabilities: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.CapabilitiesStart", - "text": "CapabilitiesStart" - }, - "; }) => (savedObjectsClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClientContract", - "text": "SavedObjectsClientContract" - }, - ", elasticsearchClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - }, - ", request?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreHttpPluginApi", - "section": "def-server.KibanaRequest", - "text": "KibanaRequest" - }, - " | undefined) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewsService", - "text": "DataViewsService" - }, - ">" - ], - "path": "src/plugins/data_views/server/data_views_service_factory.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.dataViewsServiceFactory.$1", - "type": "Object", - "tags": [], - "label": "{\n logger,\n uiSettings,\n fieldFormats,\n capabilities,\n }", - "description": [], - "path": "src/plugins/data_views/server/data_views_service_factory.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.dataViewsServiceFactory.$1.logger", - "type": "Object", - "tags": [], - "label": "logger", - "description": [], - "signature": [ - { - "pluginId": "@kbn/logging", - "scope": "server", - "docId": "kibKbnLoggingPluginApi", - "section": "def-server.Logger", - "text": "Logger" - } - ], - "path": "src/plugins/data_views/server/data_views_service_factory.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.dataViewsServiceFactory.$1.uiSettings", - "type": "Object", - "tags": [], - "label": "uiSettings", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.UiSettingsServiceStart", - "text": "UiSettingsServiceStart" - } - ], - "path": "src/plugins/data_views/server/data_views_service_factory.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.dataViewsServiceFactory.$1.fieldFormats", - "type": "Object", - "tags": [], - "label": "fieldFormats", - "description": [], - "signature": [ - { - "pluginId": "fieldFormats", - "scope": "server", - "docId": "kibFieldFormatsPluginApi", - "section": "def-server.FieldFormatsStart", - "text": "FieldFormatsStart" - } - ], - "path": "src/plugins/data_views/server/data_views_service_factory.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.dataViewsServiceFactory.$1.capabilities", - "type": "Object", - "tags": [], - "label": "capabilities", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.CapabilitiesStart", - "text": "CapabilitiesStart" - } - ], - "path": "src/plugins/data_views/server/data_views_service_factory.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.findIndexPatternById", - "type": "Function", - "tags": [], - "label": "findIndexPatternById", - "description": [], - "signature": [ - "(savedObjectsClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClientContract", - "text": "SavedObjectsClientContract" - }, - ", index: string) => Promise<", - "SavedObject", - "<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - "> | undefined>" - ], - "path": "src/plugins/data_views/server/utils.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.findIndexPatternById.$1", - "type": "Object", - "tags": [], - "label": "savedObjectsClient", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClientContract", - "text": "SavedObjectsClientContract" - } - ], - "path": "src/plugins/data_views/server/utils.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-server.findIndexPatternById.$2", - "type": "string", - "tags": [], - "label": "index", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/server/utils.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.getCapabilitiesForRollupIndices", - "type": "Function", - "tags": [], - "label": "getCapabilitiesForRollupIndices", - "description": [], - "signature": [ - "(indices: Record) => { [key: string]: any; }" - ], - "path": "src/plugins/data_views/server/fetcher/lib/map_capabilities.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.getCapabilitiesForRollupIndices.$1", - "type": "Object", - "tags": [], - "label": "indices", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data_views/server/fetcher/lib/map_capabilities.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.getFieldByName", - "type": "Function", - "tags": [], - "label": "getFieldByName", - "description": [], - "signature": [ - "(fieldName: string, indexPattern: ", - "SavedObject", - "<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | undefined" - ], - "path": "src/plugins/data_views/server/utils.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.getFieldByName.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/server/utils.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-server.getFieldByName.$2", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - "SavedObject", - "<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">" - ], - "path": "src/plugins/data_views/server/utils.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.mergeCapabilitiesWithFields", - "type": "Function", - "tags": [], - "label": "mergeCapabilitiesWithFields", - "description": [], - "signature": [ - "(rollupIndexCapabilities: { [key: string]: any; }, fieldsFromFieldCapsApi: Record, previousFields?: ", - { - "pluginId": "dataViews", - "scope": "server", - "docId": "kibDataViewsPluginApi", - "section": "def-server.FieldDescriptor", - "text": "FieldDescriptor" - }, - "[]) => ", - { - "pluginId": "dataViews", - "scope": "server", - "docId": "kibDataViewsPluginApi", - "section": "def-server.FieldDescriptor", - "text": "FieldDescriptor" - }, - "[]" - ], - "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.mergeCapabilitiesWithFields.$1", - "type": "Object", - "tags": [], - "label": "rollupIndexCapabilities", - "description": [], - "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.mergeCapabilitiesWithFields.$1.Unnamed", - "type": "IndexSignature", - "tags": [], - "label": "[key: string]: any", - "description": [], - "signature": [ - "[key: string]: any" - ], - "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataViews", - "id": "def-server.mergeCapabilitiesWithFields.$2", - "type": "Object", - "tags": [], - "label": "fieldsFromFieldCapsApi", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-server.mergeCapabilitiesWithFields.$3", - "type": "Array", - "tags": [], - "label": "previousFields", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "server", - "docId": "kibDataViewsPluginApi", - "section": "def-server.FieldDescriptor", - "text": "FieldDescriptor" - }, - "[]" - ], - "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.shouldReadFieldFromDocValues", - "type": "Function", - "tags": [], - "label": "shouldReadFieldFromDocValues", - "description": [], - "signature": [ - "(aggregatable: boolean, esType: string) => boolean" - ], - "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.shouldReadFieldFromDocValues.$1", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-server.shouldReadFieldFromDocValues.$2", - "type": "string", - "tags": [], - "label": "esType", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "dataViews", - "id": "def-server.FieldDescriptor", - "type": "Interface", - "tags": [], - "label": "FieldDescriptor", - "description": [], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.FieldDescriptor.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.FieldDescriptor.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.FieldDescriptor.readFromDocValues", - "type": "boolean", - "tags": [], - "label": "readFromDocValues", - "description": [], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.FieldDescriptor.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.FieldDescriptor.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.FieldDescriptor.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.FieldDescriptor.subType", - "type": "Object", - "tags": [], - "label": "subType", - "description": [], - "signature": [ - "FieldSubType | undefined" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.FieldDescriptor.metadata_field", - "type": "CompoundType", - "tags": [], - "label": "metadata_field", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", - "deprecated": false - } - ], - "initialIsOpen": false - } - ], - "enums": [], - "misc": [], - "objects": [], - "start": { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPluginStart", - "type": "Interface", - "tags": [], - "label": "DataViewsServerPluginStart", - "description": [], - "path": "src/plugins/data_views/server/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory", - "type": "Function", - "tags": [], - "label": "dataViewsServiceFactory", - "description": [], - "signature": [ - "(savedObjectsClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClientContract", - "text": "SavedObjectsClientContract" - }, - ", elasticsearchClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - }, - ", request?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreHttpPluginApi", - "section": "def-server.KibanaRequest", - "text": "KibanaRequest" - }, - " | undefined) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewsService", - "text": "DataViewsService" - }, - ">" - ], - "path": "src/plugins/data_views/server/types.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory.$1", - "type": "Object", - "tags": [], - "label": "savedObjectsClient", - "description": [], - "signature": [ - "{ create: (type: string, attributes: T, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCreateOptions", - "text": "SavedObjectsCreateOptions" - }, - " | undefined) => Promise<", - "SavedObject", - ">; bulkCreate: (objects: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkCreateObject", - "text": "SavedObjectsBulkCreateObject" - }, - "[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCreateOptions", - "text": "SavedObjectsCreateOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkResponse", - "text": "SavedObjectsBulkResponse" - }, - ">; checkConflicts: (objects?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCheckConflictsObject", - "text": "SavedObjectsCheckConflictsObject" - }, - "[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBaseOptions", - "text": "SavedObjectsBaseOptions" - }, - ") => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCheckConflictsResponse", - "text": "SavedObjectsCheckConflictsResponse" - }, - ">; delete: (type: string, id: string, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsDeleteOptions", - "text": "SavedObjectsDeleteOptions" - }, - ") => Promise<{}>; find: (options: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsFindOptions", - "text": "SavedObjectsFindOptions" - }, - ") => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsFindResponse", - "text": "SavedObjectsFindResponse" - }, - ">; bulkGet: (objects?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkGetObject", - "text": "SavedObjectsBulkGetObject" - }, - "[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBaseOptions", - "text": "SavedObjectsBaseOptions" - }, - ") => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkResponse", - "text": "SavedObjectsBulkResponse" - }, - ">; bulkResolve: (objects: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkResolveObject", - "text": "SavedObjectsBulkResolveObject" - }, - "[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBaseOptions", - "text": "SavedObjectsBaseOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkResolveResponse", - "text": "SavedObjectsBulkResolveResponse" - }, - ">; get: (type: string, id: string, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBaseOptions", - "text": "SavedObjectsBaseOptions" - }, - ") => Promise<", - "SavedObject", - ">; resolve: (type: string, id: string, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBaseOptions", - "text": "SavedObjectsBaseOptions" - }, - ") => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsResolveResponse", - "text": "SavedObjectsResolveResponse" - }, - ">; update: (type: string, id: string, attributes: Partial, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsUpdateOptions", - "text": "SavedObjectsUpdateOptions" - }, - ") => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsUpdateResponse", - "text": "SavedObjectsUpdateResponse" - }, - ">; collectMultiNamespaceReferences: (objects: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", - "text": "SavedObjectsCollectMultiNamespaceReferencesObject" - }, - "[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", - "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", - "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" - }, - ">; updateObjectsSpaces: (objects: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", - "text": "SavedObjectsUpdateObjectsSpacesObject" - }, - "[], spacesToAdd: string[], spacesToRemove: string[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", - "text": "SavedObjectsUpdateObjectsSpacesOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsUpdateObjectsSpacesResponse", - "text": "SavedObjectsUpdateObjectsSpacesResponse" - }, - ">; bulkUpdate: (objects: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkUpdateObject", - "text": "SavedObjectsBulkUpdateObject" - }, - "[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkUpdateOptions", - "text": "SavedObjectsBulkUpdateOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkUpdateResponse", - "text": "SavedObjectsBulkUpdateResponse" - }, - ">; removeReferencesTo: (type: string, id: string, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsRemoveReferencesToOptions", - "text": "SavedObjectsRemoveReferencesToOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsRemoveReferencesToResponse", - "text": "SavedObjectsRemoveReferencesToResponse" - }, - ">; openPointInTimeForType: (type: string | string[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsOpenPointInTimeOptions", - "text": "SavedObjectsOpenPointInTimeOptions" - }, - ") => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsOpenPointInTimeResponse", - "text": "SavedObjectsOpenPointInTimeResponse" - }, - ">; closePointInTime: (id: string, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBaseOptions", - "text": "SavedObjectsBaseOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClosePointInTimeResponse", - "text": "SavedObjectsClosePointInTimeResponse" - }, - ">; createPointInTimeFinder: (findOptions: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", - "text": "SavedObjectsCreatePointInTimeFinderOptions" - }, - ", dependencies?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", - "text": "SavedObjectsCreatePointInTimeFinderDependencies" - }, - " | undefined) => ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.ISavedObjectsPointInTimeFinder", - "text": "ISavedObjectsPointInTimeFinder" - }, - "; errors: typeof ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsErrorHelpers", - "text": "SavedObjectsErrorHelpers" - }, - "; }" - ], - "path": "src/plugins/data_views/server/types.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory.$2", - "type": "CompoundType", - "tags": [], - "label": "elasticsearchClient", - "description": [], - "signature": [ - "Omit<", - "KibanaClient", - ", \"extend\" | \"connectionPool\" | \"transport\" | \"serializer\" | \"child\" | \"close\" | \"diagnostic\"> & { transport: { request(params: ", - "TransportRequestParams", - ", options?: ", - "TransportRequestOptions", - " | undefined): Promise<", - "TransportResult", - ">; }; }" - ], - "path": "src/plugins/data_views/server/types.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory.$3", - "type": "Object", - "tags": [], - "label": "request", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreHttpPluginApi", - "section": "def-server.KibanaRequest", - "text": "KibanaRequest" - }, - " | undefined" - ], - "path": "src/plugins/data_views/server/types.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "indexPatternsServiceFactory", - "description": [], - "signature": [ - "(savedObjectsClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClientContract", - "text": "SavedObjectsClientContract" - }, - ", elasticsearchClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - }, - ", request?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreHttpPluginApi", - "section": "def-server.KibanaRequest", - "text": "KibanaRequest" - }, - " | undefined) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewsService", - "text": "DataViewsService" - }, - ">" - ], - "path": "src/plugins/data_views/server/types.ts", - "deprecated": true, - "references": [ - { - "plugin": "data", - "path": "src/plugins/data/server/search/aggs/aggs_service.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/server/search/expressions/esaggs.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/server/search/search_service.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/plugin.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/services/log_entries/log_entries_search_strategy.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/services/log_entries/log_entry_search_strategy.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/kibana_server_services.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/sourcerer/routes/index.ts" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/server/search_strategy/index_fields/index.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/server/routes/run.ts" - } - ], - "returnComment": [], - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory.$1", - "type": "Object", - "tags": [], - "label": "savedObjectsClient", - "description": [], - "signature": [ - "{ create: (type: string, attributes: T, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCreateOptions", - "text": "SavedObjectsCreateOptions" - }, - " | undefined) => Promise<", - "SavedObject", - ">; bulkCreate: (objects: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkCreateObject", - "text": "SavedObjectsBulkCreateObject" - }, - "[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCreateOptions", - "text": "SavedObjectsCreateOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkResponse", - "text": "SavedObjectsBulkResponse" - }, - ">; checkConflicts: (objects?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCheckConflictsObject", - "text": "SavedObjectsCheckConflictsObject" - }, - "[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBaseOptions", - "text": "SavedObjectsBaseOptions" - }, - ") => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCheckConflictsResponse", - "text": "SavedObjectsCheckConflictsResponse" - }, - ">; delete: (type: string, id: string, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsDeleteOptions", - "text": "SavedObjectsDeleteOptions" - }, - ") => Promise<{}>; find: (options: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsFindOptions", - "text": "SavedObjectsFindOptions" - }, - ") => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsFindResponse", - "text": "SavedObjectsFindResponse" - }, - ">; bulkGet: (objects?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkGetObject", - "text": "SavedObjectsBulkGetObject" - }, - "[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBaseOptions", - "text": "SavedObjectsBaseOptions" - }, - ") => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkResponse", - "text": "SavedObjectsBulkResponse" - }, - ">; bulkResolve: (objects: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkResolveObject", - "text": "SavedObjectsBulkResolveObject" - }, - "[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBaseOptions", - "text": "SavedObjectsBaseOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkResolveResponse", - "text": "SavedObjectsBulkResolveResponse" - }, - ">; get: (type: string, id: string, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBaseOptions", - "text": "SavedObjectsBaseOptions" - }, - ") => Promise<", - "SavedObject", - ">; resolve: (type: string, id: string, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBaseOptions", - "text": "SavedObjectsBaseOptions" - }, - ") => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsResolveResponse", - "text": "SavedObjectsResolveResponse" - }, - ">; update: (type: string, id: string, attributes: Partial, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsUpdateOptions", - "text": "SavedObjectsUpdateOptions" - }, - ") => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsUpdateResponse", - "text": "SavedObjectsUpdateResponse" - }, - ">; collectMultiNamespaceReferences: (objects: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", - "text": "SavedObjectsCollectMultiNamespaceReferencesObject" - }, - "[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", - "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", - "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" - }, - ">; updateObjectsSpaces: (objects: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", - "text": "SavedObjectsUpdateObjectsSpacesObject" - }, - "[], spacesToAdd: string[], spacesToRemove: string[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", - "text": "SavedObjectsUpdateObjectsSpacesOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsUpdateObjectsSpacesResponse", - "text": "SavedObjectsUpdateObjectsSpacesResponse" - }, - ">; bulkUpdate: (objects: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkUpdateObject", - "text": "SavedObjectsBulkUpdateObject" - }, - "[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkUpdateOptions", - "text": "SavedObjectsBulkUpdateOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBulkUpdateResponse", - "text": "SavedObjectsBulkUpdateResponse" - }, - ">; removeReferencesTo: (type: string, id: string, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsRemoveReferencesToOptions", - "text": "SavedObjectsRemoveReferencesToOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsRemoveReferencesToResponse", - "text": "SavedObjectsRemoveReferencesToResponse" - }, - ">; openPointInTimeForType: (type: string | string[], options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsOpenPointInTimeOptions", - "text": "SavedObjectsOpenPointInTimeOptions" - }, - ") => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsOpenPointInTimeResponse", - "text": "SavedObjectsOpenPointInTimeResponse" - }, - ">; closePointInTime: (id: string, options?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsBaseOptions", - "text": "SavedObjectsBaseOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClosePointInTimeResponse", - "text": "SavedObjectsClosePointInTimeResponse" - }, - ">; createPointInTimeFinder: (findOptions: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", - "text": "SavedObjectsCreatePointInTimeFinderOptions" - }, - ", dependencies?: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", - "text": "SavedObjectsCreatePointInTimeFinderDependencies" - }, - " | undefined) => ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.ISavedObjectsPointInTimeFinder", - "text": "ISavedObjectsPointInTimeFinder" - }, - "; errors: typeof ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsErrorHelpers", - "text": "SavedObjectsErrorHelpers" - }, - "; }" - ], - "path": "src/plugins/data_views/server/types.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory.$2", - "type": "CompoundType", - "tags": [], - "label": "elasticsearchClient", - "description": [], - "signature": [ - "Omit<", - "KibanaClient", - ", \"extend\" | \"connectionPool\" | \"transport\" | \"serializer\" | \"child\" | \"close\" | \"diagnostic\"> & { transport: { request(params: ", - "TransportRequestParams", - ", options?: ", - "TransportRequestOptions", - " | undefined): Promise<", - "TransportResult", - ">; }; }" - ], - "path": "src/plugins/data_views/server/types.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory.$3", - "type": "Object", - "tags": [], - "label": "request", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreHttpPluginApi", - "section": "def-server.KibanaRequest", - "text": "KibanaRequest" - }, - " | undefined" - ], - "path": "src/plugins/data_views/server/types.ts", - "deprecated": false - } - ] - } - ], - "lifecycle": "start", - "initialIsOpen": true - }, - "setup": { - "parentPluginId": "dataViews", - "id": "def-server.DataViewsServerPluginSetup", - "type": "Interface", - "tags": [], - "label": "DataViewsServerPluginSetup", - "description": [], - "path": "src/plugins/data_views/server/types.ts", - "deprecated": false, - "children": [], - "lifecycle": "setup", - "initialIsOpen": true - } - }, - "common": { - "classes": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView", - "type": "Class", - "tags": [], - "label": "DataView", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " implements ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" - } - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.id", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.fieldFormatMap", - "type": "Object", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [ - "\nOnly used by rollup indices, used by rollup specific endpoint to load field list" - ], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.fields", - "type": "CompoundType", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" - }, - " & { toSpec: () => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewFieldMap", - "text": "DataViewFieldMap" - }, - "; }" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.type", - "type": "string", - "tags": [], - "label": "type", - "description": [ - "\nType is used to identify rollup index patterns" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.flattenHit", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "flattenHit", - "description": [], - "signature": [ - "(hit: Record, deep?: boolean | undefined) => Record" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "references": [ - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - } - ], - "returnComment": [], - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.flattenHit.$1", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.flattenHit.$2", - "type": "CompoundType", - "tags": [], - "label": "deep", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.version", - "type": "string", - "tags": [], - "label": "version", - "description": [ - "\nSavedObject version" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.sourceFilters", - "type": "Array", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.SourceFilter", - "text": "SourceFilter" - }, - "[] | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.allowNoIndex", - "type": "boolean", - "tags": [], - "label": "allowNoIndex", - "description": [ - "\nprevents errors when index pattern exists before indices" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "{ spec = {}, fieldFormats, shortDotsEnable = false, metaFields = [] }", - "description": [], - "signature": [ - "DataViewDeps" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getOriginalSavedObjectBody", - "type": "Function", - "tags": [], - "label": "getOriginalSavedObjectBody", - "description": [ - "\nGet last saved saved object fields" - ], - "signature": [ - "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.resetOriginalSavedObjectBody", - "type": "Function", - "tags": [], - "label": "resetOriginalSavedObjectBody", - "description": [ - "\nReset last saved saved object fields. used after saving" - ], - "signature": [ - "() => void" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getFieldAttrs", - "type": "Function", - "tags": [], - "label": "getFieldAttrs", - "description": [], - "signature": [ - "() => { [x: string]: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "; }" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getComputedFields", - "type": "Function", - "tags": [], - "label": "getComputedFields", - "description": [], - "signature": [ - "() => { storedFields: string[]; scriptFields: Record; docvalueFields: { field: string; format: string; }[]; runtimeFields: Record; }" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [ - "\nCreate static representation of index pattern" - ], - "signature": [ - "() => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getSourceFiltering", - "type": "Function", - "tags": [], - "label": "getSourceFiltering", - "description": [ - "\nGet the source filtering configuration for that index." - ], - "signature": [ - "() => { excludes: string[]; }" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.addScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "addScriptedField", - "description": [ - "\nAdd scripted field to field list\n" - ], - "signature": [ - "(name: string, script: string, fieldType?: string) => Promise" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "references": [], - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.addScriptedField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.addScriptedField.$2", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "script code" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.addScriptedField.$3", - "type": "string", - "tags": [], - "label": "fieldType", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.removeScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "removeScriptedField", - "description": [ - "\nRemove scripted field from field list" - ], - "signature": [ - "(fieldName: string) => void" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "references": [ - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - }, - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" - } - ], - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.removeScriptedField.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getNonScriptedFields", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getNonScriptedFields", - "description": [ - "\n" - ], - "signature": [ - "() => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "references": [ - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" - }, - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts" - } - ], - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getScriptedFields", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getScriptedFields", - "description": [ - "\n" - ], - "signature": [ - "() => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "references": [ - { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - } - ], - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.isTimeBased", - "type": "Function", - "tags": [], - "label": "isTimeBased", - "description": [], - "signature": [ - "() => this is ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.TimeBasedDataView", - "text": "TimeBasedDataView" - } - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.isTimeNanosBased", - "type": "Function", - "tags": [], - "label": "isTimeNanosBased", - "description": [], - "signature": [ - "() => this is ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.TimeBasedDataView", - "text": "TimeBasedDataView" - } - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getTimeField", - "type": "Function", - "tags": [], - "label": "getTimeField", - "description": [], - "signature": [ - "() => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - " | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getFieldByName", - "type": "Function", - "tags": [], - "label": "getFieldByName", - "description": [], - "signature": [ - "(name: string) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - " | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getFieldByName.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getAggregationRestrictions", - "type": "Function", - "tags": [], - "label": "getAggregationRestrictions", - "description": [], - "signature": [ - "() => Record | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getAsSavedObjectBody", - "type": "Function", - "tags": [], - "label": "getAsSavedObjectBody", - "description": [ - "\nReturns index pattern as saved object body for saving" - ], - "signature": [ - "() => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - } - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [ - "\nProvide a field, get its formatter" - ], - "signature": [ - "(field: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - } - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getFormatterForField.$1", - "type": "CompoundType", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - } - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.addRuntimeField", - "type": "Function", - "tags": [], - "label": "addRuntimeField", - "description": [ - "\nAdd a runtime field - Appended to existing mapped field or a new field is\ncreated as appropriate" - ], - "signature": [ - "(name: string, runtimeField: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - ") => void" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.addRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "Field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.addRuntimeField.$2", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [ - "Runtime field definition" - ], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - } - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.hasRuntimeField", - "type": "Function", - "tags": [], - "label": "hasRuntimeField", - "description": [ - "\nChecks if runtime field exists" - ], - "signature": [ - "(name: string) => boolean" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.hasRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getRuntimeField", - "type": "Function", - "tags": [], - "label": "getRuntimeField", - "description": [ - "\nReturns runtime field if exists" - ], - "signature": [ - "(name: string) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | null" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.replaceAllRuntimeFields", - "type": "Function", - "tags": [], - "label": "replaceAllRuntimeFields", - "description": [ - "\nReplaces all existing runtime fields with new fields" - ], - "signature": [ - "(newFields: Record) => void" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.replaceAllRuntimeFields.$1", - "type": "Object", - "tags": [], - "label": "newFields", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.removeRuntimeField", - "type": "Function", - "tags": [], - "label": "removeRuntimeField", - "description": [ - "\nRemove a runtime field - removed from mapped field or removed unmapped\nfield as appropriate. Doesn't clear associated field attributes." - ], - "signature": [ - "(name: string) => void" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.removeRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "- Field name to remove" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getFormatterForFieldNoDefault", - "type": "Function", - "tags": [], - "label": "getFormatterForFieldNoDefault", - "description": [ - "\nGet formatter for a given field name. Return undefined if none exists" - ], - "signature": [ - "(fieldname: string) => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - " | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.getFormatterForFieldNoDefault.$1", - "type": "string", - "tags": [], - "label": "fieldname", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldAttrs", - "type": "Function", - "tags": [], - "label": "setFieldAttrs", - "description": [], - "signature": [ - "(fieldName: string, attrName: K, value: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "[K]) => void" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldAttrs.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldAttrs.$2", - "type": "Uncategorized", - "tags": [], - "label": "attrName", - "description": [], - "signature": [ - "K" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldAttrs.$3", - "type": "Uncategorized", - "tags": [], - "label": "value", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "[K]" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldCustomLabel", - "type": "Function", - "tags": [], - "label": "setFieldCustomLabel", - "description": [], - "signature": [ - "(fieldName: string, customLabel: string | null | undefined) => void" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldCustomLabel.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldCustomLabel.$2", - "type": "CompoundType", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | null | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldCount", - "type": "Function", - "tags": [], - "label": "setFieldCount", - "description": [], - "signature": [ - "(fieldName: string, count: number | null | undefined) => void" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldCount.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldCount.$2", - "type": "CompoundType", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | null | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldFormat", - "type": "Function", - "tags": [], - "label": "setFieldFormat", - "description": [], - "signature": [ - "(fieldName: string, format: ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - "<", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormatParams", - "text": "FieldFormatParams" - }, - ">) => void" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldFormat.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.setFieldFormat.$2", - "type": "Object", - "tags": [], - "label": "format", - "description": [], - "signature": [ - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - "<", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormatParams", - "text": "FieldFormatParams" - }, - ">" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.deleteFieldFormat", - "type": "Function", - "tags": [], - "label": "deleteFieldFormat", - "description": [], - "signature": [ - "(fieldName: string) => void" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataView.deleteFieldFormat.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField", - "type": "Class", - "tags": [], - "label": "DataViewField", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - " implements ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.spec", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.count", - "type": "number", - "tags": [], - "label": "count", - "description": [ - "\nCount is used for field popularity" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.script", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "\nScript field code" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.script", - "type": "string", - "tags": [], - "label": "script", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [ - "\nScript field language" - ], - "signature": [ - "ScriptLanguage", - " | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [], - "signature": [ - "ScriptLanguage", - " | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [ - "\nDescription of field type conflicts across different indices in the same index pattern" - ], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.displayName", - "type": "string", - "tags": [], - "label": "displayName", - "description": [], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.scripted", - "type": "boolean", - "tags": [], - "label": "scripted", - "description": [], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.readFromDocValues", - "type": "boolean", - "tags": [], - "label": "readFromDocValues", - "description": [], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.subType", - "type": "CompoundType", - "tags": [], - "label": "subType", - "description": [], - "signature": [ - "IFieldSubType", - " | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.isMapped", - "type": "CompoundType", - "tags": [], - "label": "isMapped", - "description": [ - "\nIs the field part of the index mapping?" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.sortable", - "type": "boolean", - "tags": [], - "label": "sortable", - "description": [], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.filterable", - "type": "boolean", - "tags": [], - "label": "filterable", - "description": [], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.visualizable", - "type": "boolean", - "tags": [], - "label": "visualizable", - "description": [], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.isSubtypeNested", - "type": "Function", - "tags": [], - "label": "isSubtypeNested", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.isSubtypeMulti", - "type": "Function", - "tags": [], - "label": "isSubtypeMulti", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.getSubtypeNested", - "type": "Function", - "tags": [], - "label": "getSubtypeNested", - "description": [], - "signature": [ - "() => ", - "IFieldSubTypeNested", - " | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.getSubtypeMulti", - "type": "Function", - "tags": [], - "label": "getSubtypeMulti", - "description": [], - "signature": [ - "() => ", - "IFieldSubTypeMulti", - " | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.deleteCount", - "type": "Function", - "tags": [], - "label": "deleteCount", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.toJSON", - "type": "Function", - "tags": [], - "label": "toJSON", - "description": [], - "signature": [ - "() => { count: number; script: string | undefined; lang: ", - "ScriptLanguage", - " | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", - "IFieldSubType", - " | undefined; customLabel: string | undefined; }" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [], - "signature": [ - "({ getFormatterForField, }?: { getFormatterForField?: ((field: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; }) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.toSpec.$1", - "type": "Object", - "tags": [], - "label": "{\n getFormatterForField,\n }", - "description": [], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewField.toSpec.$1.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewSavedObjectConflictError", - "type": "Class", - "tags": [], - "label": "DataViewSavedObjectConflictError", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSavedObjectConflictError", - "text": "DataViewSavedObjectConflictError" - }, - " extends Error" - ], - "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewSavedObjectConflictError.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewSavedObjectConflictError.Unnamed.$1", - "type": "string", - "tags": [], - "label": "savedObjectId", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService", - "type": "Class", - "tags": [], - "label": "DataViewsService", - "description": [], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.ensureDefaultDataView", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "ensureDefaultDataView", - "description": [], - "signature": [ - "() => Promise | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": true, - "references": [ - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/discover_main_route.tsx" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/load_saved_dashboard_state.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/plugin.ts" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/public/plugin.ts" - } - ], - "returnComment": [], - "children": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onRedirectNoIndexPattern = () => {},\n getCanSave = () => Promise.resolve(false),\n }", - "description": [], - "signature": [ - "IndexPatternsServiceDeps" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getIds", - "type": "Function", - "tags": [], - "label": "getIds", - "description": [ - "\nGet list of index pattern ids" - ], - "signature": [ - "(refresh?: boolean) => Promise" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getIds.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getTitles", - "type": "Function", - "tags": [], - "label": "getTitles", - "description": [ - "\nGet list of index pattern titles" - ], - "signature": [ - "(refresh?: boolean) => Promise" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getTitles.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.find", - "type": "Function", - "tags": [], - "label": "find", - "description": [ - "\nFind and load index patterns by title" - ], - "signature": [ - "(search: string, size?: number) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - "[]>" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.find.$1", - "type": "string", - "tags": [], - "label": "search", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.find.$2", - "type": "number", - "tags": [], - "label": "size", - "description": [], - "signature": [ - "number" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPattern[]" - ] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getIdsWithTitle", - "type": "Function", - "tags": [], - "label": "getIdsWithTitle", - "description": [ - "\nGet list of index pattern ids with titles" - ], - "signature": [ - "(refresh?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewListItem", - "text": "DataViewListItem" - }, - "[]>" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getIdsWithTitle.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.clearCache", - "type": "Function", - "tags": [], - "label": "clearCache", - "description": [ - "\nClear index pattern list cache" - ], - "signature": [ - "(id?: string | undefined) => void" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.clearCache.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "optionally clear a single id" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getCache", - "type": "Function", - "tags": [], - "label": "getCache", - "description": [], - "signature": [ - "() => Promise<", - "SavedObject", - "<", - "IndexPatternSavedObjectAttrs", - ">[] | null | undefined>" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getDefault", - "type": "Function", - "tags": [], - "label": "getDefault", - "description": [ - "\nGet default index pattern" - ], - "signature": [ - "() => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | null>" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getDefaultId", - "type": "Function", - "tags": [], - "label": "getDefaultId", - "description": [ - "\nGet default index pattern id" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.setDefault", - "type": "Function", - "tags": [], - "label": "setDefault", - "description": [ - "\nOptionally set default index pattern, unless force = true" - ], - "signature": [ - "(id: string | null, force?: boolean) => Promise" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.setDefault.$1", - "type": "CompoundType", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string | null" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.setDefault.$2", - "type": "boolean", - "tags": [], - "label": "force", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.hasUserDataView", - "type": "Function", - "tags": [], - "label": "hasUserDataView", - "description": [ - "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getFieldsForWildcard", - "type": "Function", - "tags": [], - "label": "getFieldsForWildcard", - "description": [ - "\nGet field list by providing { pattern }" - ], - "signature": [ - "(options: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]>" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getFieldsForWildcard.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - } - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "FieldSpec[]" - ] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getFieldsForIndexPattern", - "type": "Function", - "tags": [], - "label": "getFieldsForIndexPattern", - "description": [ - "\nGet field list by providing an index patttern (or spec)" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", options?: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]>" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getFieldsForIndexPattern.$1", - "type": "CompoundType", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getFieldsForIndexPattern.$2", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "FieldSpec[]" - ] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.refreshFields", - "type": "Function", - "tags": [], - "label": "refreshFields", - "description": [ - "\nRefresh field list for a given index pattern" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ") => Promise" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.refreshFields.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.fieldArrayToMap", - "type": "Function", - "tags": [], - "label": "fieldArrayToMap", - "description": [ - "\nConverts field array to map" - ], - "signature": [ - "(fields: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewFieldMap", - "text": "DataViewFieldMap" - } - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.fieldArrayToMap.$1", - "type": "Array", - "tags": [], - "label": "fields", - "description": [ - ": FieldSpec[]" - ], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.fieldArrayToMap.$2", - "type": "Object", - "tags": [], - "label": "fieldAttrs", - "description": [ - ": FieldAttrs" - ], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "Record" - ] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.savedObjectToSpec", - "type": "Function", - "tags": [], - "label": "savedObjectToSpec", - "description": [ - "\nConverts index pattern saved object to index pattern spec" - ], - "signature": [ - "(savedObject: ", - "SavedObject", - "<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">) => ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.savedObjectToSpec.$1", - "type": "Object", - "tags": [], - "label": "savedObject", - "description": [], - "signature": [ - "SavedObject", - "<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPatternSpec" - ] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [ - "\nGet an index pattern by id. Cache optimized" - ], - "signature": [ - "(id: string) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.get.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [ - "\nCreate a new index pattern instance" - ], - "signature": [ - "(spec: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", skipFetchFields?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.create.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.create.$2", - "type": "boolean", - "tags": [], - "label": "skipFetchFields", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPattern" - ] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.createAndSave", - "type": "Function", - "tags": [], - "label": "createAndSave", - "description": [ - "\nCreate a new index pattern and save it right away" - ], - "signature": [ - "(spec: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.createAndSave.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.createAndSave.$2", - "type": "boolean", - "tags": [], - "label": "override", - "description": [ - "Overwrite if existing index pattern exists." - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.createAndSave.$3", - "type": "boolean", - "tags": [], - "label": "skipFetchFields", - "description": [ - "Whether to skip field refresh step." - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.createSavedObject", - "type": "Function", - "tags": [], - "label": "createSavedObject", - "description": [ - "\nSave a new index pattern" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.createSavedObject.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.createSavedObject.$2", - "type": "boolean", - "tags": [], - "label": "override", - "description": [ - "Overwrite if existing index pattern exists" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.updateSavedObject", - "type": "Function", - "tags": [], - "label": "updateSavedObject", - "description": [ - "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.updateSavedObject.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.updateSavedObject.$2", - "type": "number", - "tags": [], - "label": "saveAttempts", - "description": [], - "signature": [ - "number" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.updateSavedObject.$3", - "type": "boolean", - "tags": [], - "label": "ignoreErrors", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.delete", - "type": "Function", - "tags": [], - "label": "delete", - "description": [ - "\nDeletes an index pattern from .kibana index" - ], - "signature": [ - "(indexPatternId: string) => Promise<{}>" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.delete.$1", - "type": "string", - "tags": [], - "label": "indexPatternId", - "description": [ - ": Id of kibana Index Pattern to delete" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewsService.getDefaultDataView", - "type": "Function", - "tags": [], - "label": "getDefaultDataView", - "description": [ - "\nReturns the default data view as an object. If no default is found, or it is missing\nanother data view is selected as default and returned." - ], - "signature": [ - "() => Promise<", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | undefined>" - ], - "path": "src/plugins/data_views/common/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [ - "default data view" - ] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.DuplicateDataViewError", - "type": "Class", - "tags": [], - "label": "DuplicateDataViewError", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DuplicateDataViewError", - "text": "DuplicateDataViewError" - }, - " extends Error" - ], - "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DuplicateDataViewError.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataViews", - "id": "def-common.DuplicateDataViewError.Unnamed.$1", - "type": "string", - "tags": [], - "label": "message", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.IndexPattern", - "type": "Class", - "tags": [ - "deprecated" - ], - "label": "IndexPattern", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " extends ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data_views/common/data_views/data_view.ts", - "deprecated": true, - "references": [ - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/target/types/public/application/lib/load_saved_dashboard_state.d.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/target/types/public/vis_types/base_vis_type.d.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/target/types/public/vis_types/base_vis_type.d.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/target/types/public/application/hooks/use_dashboard_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/use_discover_state.d.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/index.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/types.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/types.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/types.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/types.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/exists_filter.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/exists_filter.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/range_filter.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/range_filter.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/types.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/types.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/types.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_configs.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_configs.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_configs.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/aggs_service.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/aggs_service.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/aggs_service.ts" - }, - { - "plugin": "data", - "path": "src/plugins/data/server/index.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_default_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_default_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/table_header.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_header/table_header.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort_for_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort_for_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/sorting.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/sorting.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app_content.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app_content.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern_management.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern_management.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/calc_field_counts.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/calc_field_counts.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_documents.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_documents.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" - }, + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.SPECIFIC_DATA_VIEW_PATH", + "type": "string", + "tags": [], + "label": "SPECIFIC_DATA_VIEW_PATH", + "description": [], + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.SPECIFIC_DATA_VIEW_PATH_LEGACY", + "type": "string", + "tags": [], + "label": "SPECIFIC_DATA_VIEW_PATH_LEGACY", + "description": [], + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.SPECIFIC_RUNTIME_FIELD_PATH", + "type": "string", + "tags": [], + "label": "SPECIFIC_RUNTIME_FIELD_PATH", + "description": [], + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.SPECIFIC_RUNTIME_FIELD_PATH_LEGACY", + "type": "string", + "tags": [], + "label": "SPECIFIC_RUNTIME_FIELD_PATH_LEGACY", + "description": [], + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.SPECIFIC_SCRIPTED_FIELD_PATH", + "type": "string", + "tags": [], + "label": "SPECIFIC_SCRIPTED_FIELD_PATH", + "description": [], + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.SPECIFIC_SCRIPTED_FIELD_PATH_LEGACY", + "type": "string", + "tags": [], + "label": "SPECIFIC_SCRIPTED_FIELD_PATH_LEGACY", + "description": [], + "path": "src/plugins/data_views/server/constants.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [], + "start": { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart", + "type": "Interface", + "tags": [], + "label": "DataViewsServerPluginStart", + "description": [], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory", + "type": "Function", + "tags": [], + "label": "dataViewsServiceFactory", + "description": [], + "signature": [ + "(savedObjectsClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, + ", elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ", request?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreHttpPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, + " | undefined, byPassCapabilities?: boolean | undefined) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory.$1", + "type": "Object", + "tags": [], + "label": "savedObjectsClient", + "description": [], + "signature": [ + "{ create: (type: string, attributes: T, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + " | undefined) => Promise<", + "SavedObject", + ">; bulkCreate: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, + ">; checkConflicts: (objects?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCheckConflictsResponse", + "text": "SavedObjectsCheckConflictsResponse" + }, + ">; delete: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, + ") => Promise<{}>; find: (options: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, + ">; bulkGet: (objects?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, + ">; bulkResolve: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, + ">; get: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + "SavedObject", + ">; resolve: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, + ">; update: (type: string, id: string, attributes: Partial, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, + ">; collectMultiNamespaceReferences: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", + "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" + }, + ">; updateObjectsSpaces: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, + "[], spacesToAdd: string[], spacesToRemove: string[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesResponse", + "text": "SavedObjectsUpdateObjectsSpacesResponse" + }, + ">; bulkUpdate: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateResponse", + "text": "SavedObjectsBulkUpdateResponse" + }, + ">; removeReferencesTo: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToResponse", + "text": "SavedObjectsRemoveReferencesToResponse" + }, + ">; openPointInTimeForType: (type: string | string[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeResponse", + "text": "SavedObjectsOpenPointInTimeResponse" + }, + ">; closePointInTime: (id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClosePointInTimeResponse", + "text": "SavedObjectsClosePointInTimeResponse" + }, + ">; createPointInTimeFinder: (findOptions: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", + "text": "SavedObjectsCreatePointInTimeFinderOptions" + }, + ", dependencies?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, + " | undefined) => ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, + "; errors: typeof ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsErrorHelpers", + "text": "SavedObjectsErrorHelpers" + }, + "; }" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory.$2", + "type": "CompoundType", + "tags": [], + "label": "elasticsearchClient", + "description": [], + "signature": [ + "Omit<", + "KibanaClient", + ", \"extend\" | \"connectionPool\" | \"transport\" | \"serializer\" | \"child\" | \"close\" | \"diagnostic\"> & { transport: { request(params: ", + "TransportRequestParams", + ", options?: ", + "TransportRequestOptions", + " | undefined): Promise<", + "TransportResult", + ">; }; }" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory.$3", + "type": "Object", + "tags": [], + "label": "request", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreHttpPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, + " | undefined" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory.$4", + "type": "CompoundType", + "tags": [], + "label": "byPassCapabilities", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "indexPatternsServiceFactory", + "description": [], + "signature": [ + "(savedObjectsClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, + ", elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ", request?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreHttpPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, + " | undefined, byPassCapabilities?: boolean | undefined) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/server/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/expressions/esaggs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/search_service.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/server/services/log_entries/log_entries_search_strategy.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/server/services/log_entries/log_entry_search_strategy.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/server/routes/run.ts" + } + ], + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory.$1", + "type": "Object", + "tags": [], + "label": "savedObjectsClient", + "description": [], + "signature": [ + "{ create: (type: string, attributes: T, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + " | undefined) => Promise<", + "SavedObject", + ">; bulkCreate: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, + ">; checkConflicts: (objects?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCheckConflictsResponse", + "text": "SavedObjectsCheckConflictsResponse" + }, + ">; delete: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, + ") => Promise<{}>; find: (options: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, + ">; bulkGet: (objects?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, + ">; bulkResolve: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, + ">; get: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + "SavedObject", + ">; resolve: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, + ">; update: (type: string, id: string, attributes: Partial, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, + ">; collectMultiNamespaceReferences: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", + "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" + }, + ">; updateObjectsSpaces: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, + "[], spacesToAdd: string[], spacesToRemove: string[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesResponse", + "text": "SavedObjectsUpdateObjectsSpacesResponse" + }, + ">; bulkUpdate: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateResponse", + "text": "SavedObjectsBulkUpdateResponse" + }, + ">; removeReferencesTo: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToResponse", + "text": "SavedObjectsRemoveReferencesToResponse" + }, + ">; openPointInTimeForType: (type: string | string[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeResponse", + "text": "SavedObjectsOpenPointInTimeResponse" + }, + ">; closePointInTime: (id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClosePointInTimeResponse", + "text": "SavedObjectsClosePointInTimeResponse" + }, + ">; createPointInTimeFinder: (findOptions: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", + "text": "SavedObjectsCreatePointInTimeFinderOptions" + }, + ", dependencies?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, + " | undefined) => ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, + "; errors: typeof ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsErrorHelpers", + "text": "SavedObjectsErrorHelpers" + }, + "; }" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory.$2", + "type": "CompoundType", + "tags": [], + "label": "elasticsearchClient", + "description": [], + "signature": [ + "Omit<", + "KibanaClient", + ", \"extend\" | \"connectionPool\" | \"transport\" | \"serializer\" | \"child\" | \"close\" | \"diagnostic\"> & { transport: { request(params: ", + "TransportRequestParams", + ", options?: ", + "TransportRequestOptions", + " | undefined): Promise<", + "TransportResult", + ">; }; }" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory.$3", + "type": "Object", + "tags": [], + "label": "request", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreHttpPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, + " | undefined" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory.$4", + "type": "CompoundType", + "tags": [], + "label": "byPassCapabilities", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + } + ] + } + ], + "lifecycle": "start", + "initialIsOpen": true + }, + "setup": { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginSetup", + "type": "Interface", + "tags": [], + "label": "DataViewsServerPluginSetup", + "description": [], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false, + "children": [], + "lifecycle": "setup", + "initialIsOpen": true + } + }, + "common": { + "classes": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView", + "type": "Class", + "tags": [], + "label": "DataView", + "description": [], + "signature": [ { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " implements ", { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.fieldFormatMap", + "type": "Object", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataView.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [ + "\nOnly used by rollup indices, used by rollup specific endpoint to load field list" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataView.fields", + "type": "CompoundType", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " & { toSpec: () => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewFieldMap", + "text": "DataViewFieldMap" + }, + "; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataView.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataView.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nType is used to identify rollup index patterns" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataView.flattenHit", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "flattenHit", + "description": [], + "signature": [ + "(hit: Record, deep?: boolean | undefined) => Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "references": [ + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + } + ], + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.flattenHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.flattenHit.$2", + "type": "CompoundType", + "tags": [], + "label": "deep", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataView.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "\nSavedObject version" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.sourceFilters", + "type": "Array", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SourceFilter", + "text": "SourceFilter" + }, + "[] | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.allowNoIndex", + "type": "boolean", + "tags": [], + "label": "allowNoIndex", + "description": [ + "\nprevents errors when index pattern exists before indices" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{ spec = {}, fieldFormats, shortDotsEnable = false, metaFields = [] }", + "description": [], + "signature": [ + "DataViewDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getOriginalSavedObjectBody", + "type": "Function", + "tags": [], + "label": "getOriginalSavedObjectBody", + "description": [ + "\nGet last saved saved object fields" + ], + "signature": [ + "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.resetOriginalSavedObjectBody", + "type": "Function", + "tags": [], + "label": "resetOriginalSavedObjectBody", + "description": [ + "\nReset last saved saved object fields. used after saving" + ], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFieldAttrs", + "type": "Function", + "tags": [], + "label": "getFieldAttrs", + "description": [], + "signature": [ + "() => { [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getComputedFields", + "type": "Function", + "tags": [], + "label": "getComputedFields", + "description": [], + "signature": [ + "() => { storedFields: string[]; scriptFields: Record; docvalueFields: { field: string; format: string; }[]; runtimeFields: Record; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataView.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [ + "\nCreate static representation of index pattern" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getSourceFiltering", + "type": "Function", + "tags": [], + "label": "getSourceFiltering", + "description": [ + "\nGet the source filtering configuration for that index." + ], + "signature": [ + "() => { excludes: string[]; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataView.removeScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "removeScriptedField", + "description": [ + "\nRemove scripted field from field list" + ], + "signature": [ + "(fieldName: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "references": [ + { + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" + } + ], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.removeScriptedField.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getNonScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getNonScriptedFields", + "description": [ + "\n" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "references": [ + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts" + } + ], + "children": [], + "returnComment": [] }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getScriptedFields", + "description": [ + "\n" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "references": [ + { + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + } + ], + "children": [], + "returnComment": [] }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.isTimeBased", + "type": "Function", + "tags": [], + "label": "isTimeBased", + "description": [], + "signature": [ + "() => this is ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TimeBasedDataView", + "text": "TimeBasedDataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.isTimeNanosBased", + "type": "Function", + "tags": [], + "label": "isTimeNanosBased", + "description": [], + "signature": [ + "() => this is ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TimeBasedDataView", + "text": "TimeBasedDataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getTimeField", + "type": "Function", + "tags": [], + "label": "getTimeField", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFieldByName", + "type": "Function", + "tags": [], + "label": "getFieldByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFieldByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getAggregationRestrictions", + "type": "Function", + "tags": [], + "label": "getAggregationRestrictions", + "description": [], + "signature": [ + "() => Record | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getAsSavedObjectBody", + "type": "Function", + "tags": [], + "label": "getAsSavedObjectBody", + "description": [ + "\nReturns index pattern as saved object body for saving" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [ + "\nProvide a field, get its formatter" + ], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFormatterForField.$1", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.addRuntimeField", + "type": "Function", + "tags": [], + "label": "addRuntimeField", + "description": [ + "\nAdd a runtime field - Appended to existing mapped field or a new field is\ncreated as appropriate" + ], + "signature": [ + "(name: string, runtimeField: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "Field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addRuntimeField.$2", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [ + "Runtime field definition" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.hasRuntimeField", + "type": "Function", + "tags": [], + "label": "hasRuntimeField", + "description": [ + "\nChecks if runtime field exists" + ], + "signature": [ + "(name: string) => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.hasRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getRuntimeField", + "type": "Function", + "tags": [], + "label": "getRuntimeField", + "description": [ + "\nReturns runtime field if exists" + ], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | null" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.replaceAllRuntimeFields", + "type": "Function", + "tags": [], + "label": "replaceAllRuntimeFields", + "description": [ + "\nReplaces all existing runtime fields with new fields" + ], + "signature": [ + "(newFields: Record) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.replaceAllRuntimeFields.$1", + "type": "Object", + "tags": [], + "label": "newFields", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.removeRuntimeField", + "type": "Function", + "tags": [], + "label": "removeRuntimeField", + "description": [ + "\nRemove a runtime field - removed from mapped field or removed unmapped\nfield as appropriate. Doesn't clear associated field attributes." + ], + "signature": [ + "(name: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.removeRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "- Field name to remove" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFormatterForFieldNoDefault", + "type": "Function", + "tags": [], + "label": "getFormatterForFieldNoDefault", + "description": [ + "\nGet formatter for a given field name. Return undefined if none exists" + ], + "signature": [ + "(fieldname: string) => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFormatterForFieldNoDefault.$1", + "type": "string", + "tags": [], + "label": "fieldname", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldAttrs", + "type": "Function", + "tags": [], + "label": "setFieldAttrs", + "description": [], + "signature": [ + "(fieldName: string, attrName: K, value: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldAttrs.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldAttrs.$2", + "type": "Uncategorized", + "tags": [], + "label": "attrName", + "description": [], + "signature": [ + "K" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldAttrs.$3", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCustomLabel", + "type": "Function", + "tags": [], + "label": "setFieldCustomLabel", + "description": [], + "signature": [ + "(fieldName: string, customLabel: string | null | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCustomLabel.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCustomLabel.$2", + "type": "CompoundType", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCount", + "type": "Function", + "tags": [], + "label": "setFieldCount", + "description": [], + "signature": [ + "(fieldName: string, count: number | null | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCount.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCount.$2", + "type": "CompoundType", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldFormat", + "type": "Function", + "tags": [], + "label": "setFieldFormat", + "description": [], + "signature": [ + "(fieldName: string, format: ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "<", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormatParams", + "text": "FieldFormatParams" + }, + ">) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldFormat.$2", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "<", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormatParams", + "text": "FieldFormatParams" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" - }, + "parentPluginId": "dataViews", + "id": "def-common.DataView.deleteFieldFormat", + "type": "Function", + "tags": [], + "label": "deleteFieldFormat", + "description": [], + "signature": [ + "(fieldName: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.deleteFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField", + "type": "Class", + "tags": [], + "label": "DataViewField", + "description": [], + "signature": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" }, + " implements ", { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.spec", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.count", + "type": "number", + "tags": [], + "label": "count", + "description": [ + "\nCount is used for field popularity" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.runtimeField", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.runtimeField", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.script", + "type": "string", + "tags": [], + "label": "script", + "description": [ + "\nScript field code" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.script", + "type": "string", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.lang", + "type": "string", + "tags": [], + "label": "lang", + "description": [ + "\nScript field language" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/view_saved_search_action.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.lang", + "type": "string", + "tags": [], + "label": "lang", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/view_saved_search_action.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [ + "\nDescription of field type conflicts across different indices in the same index pattern" + ], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.displayName", + "type": "string", + "tags": [], + "label": "displayName", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.scripted", + "type": "boolean", + "tags": [], + "label": "scripted", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.readFromDocValues", + "type": "boolean", + "tags": [], + "label": "readFromDocValues", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.subType", + "type": "CompoundType", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + "IFieldSubType", + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.isMapped", + "type": "CompoundType", + "tags": [], + "label": "isMapped", + "description": [ + "\nIs the field part of the index mapping?" + ], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.sortable", + "type": "boolean", + "tags": [], + "label": "sortable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.filterable", + "type": "boolean", + "tags": [], + "label": "filterable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.visualizable", + "type": "boolean", + "tags": [], + "label": "visualizable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.isSubtypeNested", + "type": "Function", + "tags": [], + "label": "isSubtypeNested", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.isSubtypeMulti", + "type": "Function", + "tags": [], + "label": "isSubtypeMulti", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.getSubtypeNested", + "type": "Function", + "tags": [], + "label": "getSubtypeNested", + "description": [], + "signature": [ + "() => ", + "IFieldSubTypeNested", + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.getSubtypeMulti", + "type": "Function", + "tags": [], + "label": "getSubtypeMulti", + "description": [], + "signature": [ + "() => ", + "IFieldSubTypeMulti", + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.deleteCount", + "type": "Function", + "tags": [], + "label": "deleteCount", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.toJSON", + "type": "Function", + "tags": [], + "label": "toJSON", + "description": [], + "signature": [ + "() => { count: number; script: string | undefined; lang: string | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", + "IFieldSubType", + " | undefined; customLabel: string | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" - }, + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "({ getFormatterForField, }?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; }) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.toSpec.$1", + "type": "Object", + "tags": [], + "label": "{\n getFormatterForField,\n }", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSavedObjectConflictError", + "type": "Class", + "tags": [], + "label": "DataViewSavedObjectConflictError", + "description": [], + "signature": [ { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSavedObjectConflictError", + "text": "DataViewSavedObjectConflictError" }, + " extends Error" + ], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "children": [ { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" - }, + "parentPluginId": "dataViews", + "id": "def-common.DataViewSavedObjectConflictError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSavedObjectConflictError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "savedObjectId", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService", + "type": "Class", + "tags": [], + "label": "DataViewsService", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.ensureDefaultDataView", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "ensureDefaultDataView", + "description": [], + "signature": [ + "() => Promise | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/main/discover_main_route.tsx" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/load_saved_dashboard_state.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/plugin.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/plugin.ts" + } + ], + "returnComment": [], + "children": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onRedirectNoIndexPattern = () => {},\n getCanSave = () => Promise.resolve(false),\n }", + "description": [], + "signature": [ + "IndexPatternsServiceDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getIds", + "type": "Function", + "tags": [], + "label": "getIds", + "description": [ + "\nGet list of index pattern ids" + ], + "signature": [ + "(refresh?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getIds.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getTitles", + "type": "Function", + "tags": [], + "label": "getTitles", + "description": [ + "\nGet list of index pattern titles" + ], + "signature": [ + "(refresh?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getTitles.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [ + "\nFind and load index patterns by title" + ], + "signature": [ + "(search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.find.$1", + "type": "string", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.find.$2", + "type": "number", + "tags": [], + "label": "size", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern[]" + ] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getIdsWithTitle", + "type": "Function", + "tags": [], + "label": "getIdsWithTitle", + "description": [ + "\nGet list of index pattern ids with titles" + ], + "signature": [ + "(refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getIdsWithTitle.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.clearCache", + "type": "Function", + "tags": [], + "label": "clearCache", + "description": [ + "\nClear index pattern list cache" + ], + "signature": [ + "(id?: string | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.clearCache.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "optionally clear a single id" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getCache", + "type": "Function", + "tags": [], + "label": "getCache", + "description": [], + "signature": [ + "() => Promise<", + "SavedObject", + "<", + "IndexPatternSavedObjectAttrs", + ">[] | null | undefined>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getDefault", + "type": "Function", + "tags": [], + "label": "getDefault", + "description": [ + "\nGet default index pattern" + ], + "signature": [ + "() => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getDefaultId", + "type": "Function", + "tags": [], + "label": "getDefaultId", + "description": [ + "\nGet default index pattern id" + ], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.setDefault", + "type": "Function", + "tags": [], + "label": "setDefault", + "description": [ + "\nOptionally set default index pattern, unless force = true" + ], + "signature": [ + "(id: string | null, force?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.setDefault.$1", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | null" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.setDefault.$2", + "type": "boolean", + "tags": [], + "label": "force", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.hasUserDataView", + "type": "Function", + "tags": [], + "label": "hasUserDataView", + "description": [ + "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" + ], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForWildcard", + "type": "Function", + "tags": [], + "label": "getFieldsForWildcard", + "description": [ + "\nGet field list by providing { pattern }" + ], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "FieldSpec[]" + ] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForIndexPattern", + "type": "Function", + "tags": [], + "label": "getFieldsForIndexPattern", + "description": [ + "\nGet field list by providing an index patttern (or spec)" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForIndexPattern.$1", + "type": "CompoundType", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForIndexPattern.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "FieldSpec[]" + ] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.refreshFields", + "type": "Function", + "tags": [], + "label": "refreshFields", + "description": [ + "\nRefresh field list for a given index pattern" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.refreshFields.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.fieldArrayToMap", + "type": "Function", + "tags": [], + "label": "fieldArrayToMap", + "description": [ + "\nConverts field array to map" + ], + "signature": [ + "(fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewFieldMap", + "text": "DataViewFieldMap" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.fieldArrayToMap.$1", + "type": "Array", + "tags": [], + "label": "fields", + "description": [ + ": FieldSpec[]" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.fieldArrayToMap.$2", + "type": "Object", + "tags": [], + "label": "fieldAttrs", + "description": [ + ": FieldAttrs" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "Record" + ] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.savedObjectToSpec", + "type": "Function", + "tags": [], + "label": "savedObjectToSpec", + "description": [ + "\nConverts index pattern saved object to index pattern spec" + ], + "signature": [ + "(savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.savedObjectToSpec.$1", + "type": "Object", + "tags": [], + "label": "savedObject", + "description": [], + "signature": [ + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPatternSpec" + ] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [ + "\nGet an index pattern by id. Cache optimized" + ], + "signature": [ + "(id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.get.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [ + "\nCreate a new index pattern instance" + ], + "signature": [ + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.create.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.create.$2", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern" + ] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createAndSave", + "type": "Function", + "tags": [], + "label": "createAndSave", + "description": [ + "\nCreate a new index pattern and save it right away" + ], + "signature": [ + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createAndSave.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createAndSave.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createAndSave.$3", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [ + "Whether to skip field refresh step." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createSavedObject", + "type": "Function", + "tags": [], + "label": "createSavedObject", + "description": [ + "\nSave a new index pattern" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createSavedObject.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.updateSavedObject", + "type": "Function", + "tags": [], + "label": "updateSavedObject", + "description": [ + "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.updateSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.updateSavedObject.$2", + "type": "number", + "tags": [], + "label": "saveAttempts", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.updateSavedObject.$3", + "type": "boolean", + "tags": [], + "label": "ignoreErrors", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [ + "\nDeletes an index pattern from .kibana index" + ], + "signature": [ + "(indexPatternId: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.delete.$1", + "type": "string", + "tags": [], + "label": "indexPatternId", + "description": [ + ": Id of kibana Index Pattern to delete" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" - }, + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getDefaultDataView", + "type": "Function", + "tags": [], + "label": "getDefaultDataView", + "description": [ + "\nReturns the default data view as an object. If no default is found, or it is missing\nanother data view is selected as default and returned." + ], + "signature": [ + "() => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | undefined>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [ + "default data view" + ] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DuplicateDataViewError", + "type": "Class", + "tags": [], + "label": "DuplicateDataViewError", + "description": [], + "signature": [ { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DuplicateDataViewError", + "text": "DuplicateDataViewError" }, + " extends Error" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "children": [ { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.test.ts" - }, + "parentPluginId": "dataViews", + "id": "def-common.DuplicateDataViewError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DuplicateDataViewError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPattern", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPattern", + "description": [], + "signature": [ { - "plugin": "data", - "path": "src/plugins/data/common/search/tabify/tabify.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPattern", + "text": "IndexPattern" }, + " extends ", { - "plugin": "data", - "path": "src/plugins/data/common/search/tabify/tabify.test.ts" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "references": [ { - "plugin": "data", - "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/target/types/__jest__/client_integration/helpers/app_context.mock.d.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/target/types/public/application/lib/load_saved_dashboard_state.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/helpers.d.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/target/types/public/vis_types/base_vis_type.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/helpers.d.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/target/types/public/vis_types/base_vis_type.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/doc_table_wrapper.d.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/target/types/public/application/hooks/use_dashboard_app_state.d.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/doc_table_wrapper.d.ts" + "path": "src/plugins/discover/target/types/public/application/main/utils/use_discover_state.d.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + "path": "src/plugins/data/common/index.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + "path": "src/plugins/data/common/search/search_source/types.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" + "path": "src/plugins/data/common/search/search_source/types.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" + "path": "src/plugins/data/common/search/types.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" + "path": "src/plugins/data/common/search/types.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + "path": "src/plugins/data/common/search/search_source/search_source.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + "path": "src/plugins/data/common/search/search_source/search_source.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + "path": "src/plugins/data/common/search/search_source/search_source.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.predecessors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.predecessors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.successors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.successors.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/get_switch_index_pattern_app_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/row_formatter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_flyout.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/discover_grid_flyout.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/get_render_cell_value.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/discover_grid/get_render_cell_value.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_sort_for_search_source.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_sort_for_search_source.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_default_sort.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/get_default_sort.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/utils/sorting.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/utils/sorting.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/top_nav/get_top_nav_links.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/top_nav/get_top_nav_links.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/table_header.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/components/doc_table/components/table_header/table_header.d.ts" + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_source/source.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/exists_filter.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_source/source.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/exists_filter.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/selected_wildcards.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/range_filter.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/selected_wildcards.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/range_filter.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.test.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" }, { "plugin": "data", - "path": "src/plugins/data/public/index.ts" + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.ts" }, { "plugin": "data", - "path": "src/plugins/data/target/types/common/search/aggs/agg_config.d.ts" + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" }, { "plugin": "data", - "path": "src/plugins/data/public/search/errors/painless_error.tsx" + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" }, { "plugin": "data", - "path": "src/plugins/data/public/search/errors/painless_error.tsx" + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" }, { "plugin": "data", - "path": "src/plugins/data/public/search/errors/painless_error.tsx" + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" }, { "plugin": "data", - "path": "src/plugins/data/public/query/query_service.ts" + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" }, { "plugin": "data", - "path": "src/plugins/data/public/query/query_service.ts" + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" }, { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" }, { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" }, { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" }, { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + "plugin": "data", + "path": "src/plugins/data/server/index.ts" }, { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/doc_views_types.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/doc_views_types.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "plugin": "dataViewFieldEditor", - "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "plugin": "dataViewFieldEditor", - "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/types.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/lib/get_sort.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_row.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/components/table_row.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/services/discover_state.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/nested_fields.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/nested_fields.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc/components/doc.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc/components/doc.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/utils/use_context_app_fetch.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/persist_saved_search.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/persist_saved_search.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" }, { "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, { "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/types/app_state.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/types/app_state.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/persistence.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/persistence.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/selected_wildcards.tsx" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/selected_wildcards.tsx" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + "plugin": "data", + "path": "src/plugins/data/public/index.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + "plugin": "data", + "path": "src/plugins/data/target/types/common/search/aggs/agg_config.d.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + "plugin": "data", + "path": "src/plugins/data/public/query/query_service.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + "plugin": "data", + "path": "src/plugins/data/public/query/query_service.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" + "plugin": "dataViewFieldEditor", + "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" + "plugin": "dataViewFieldEditor", + "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" }, { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" }, { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" }, { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" }, { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" }, { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "plugin": "dataViewEditor", - "path": "src/plugins/data_view_editor/public/shared_imports.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" }, { - "plugin": "dataViewEditor", - "path": "src/plugins/data_view_editor/public/open_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" }, { - "plugin": "dataViewEditor", - "path": "src/plugins/data_view_editor/public/open_editor.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/test_script.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/persistence.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/test_script.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/persistence.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_sharing_data.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" }, { - "plugin": "dataViewFieldEditor", - "path": "src/plugins/data_view_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" }, { - "plugin": "dataViewFieldEditor", - "path": "src/plugins/data_view_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/services/anchor.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/doc/components/doc.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/doc/components/doc.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + "plugin": "dataViewEditor", + "path": "src/plugins/data_view_editor/public/shared_imports.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + "plugin": "dataViewEditor", + "path": "src/plugins/data_view_editor/public/open_editor.tsx" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + "plugin": "dataViewEditor", + "path": "src/plugins/data_view_editor/public/open_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_calculator.test.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_calculator.test.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/context/services/context.d.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/nested_fields.d.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/nested_fields.d.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/breadcrumbs.ts" }, { "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" }, { "plugin": "dataViewManagement", - "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" - } - ], - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "dataViews", - "id": "def-common.IndexPatternField", - "type": "Class", - "tags": [ - "deprecated" - ], - "label": "IndexPatternField", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" }, - " extends ", - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - } - ], - "path": "src/plugins/data_views/common/fields/data_view_field.ts", - "deprecated": true, - "references": [ { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/index.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/search_source/search_source.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" }, { - "plugin": "data", - "path": "src/plugins/data/server/index.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/test_script.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/test_script.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/embeddable/saved_search_embeddable.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/context/context_app.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_visualize.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" }, { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/get_fields_to_show.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" + "plugin": "dataViewFieldEditor", + "path": "src/plugins/data_view_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" + "plugin": "dataViewFieldEditor", + "path": "src/plugins/data_view_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "data", - "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/target/types/public/components/utils.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_field_visualize.d.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "data", - "path": "src/plugins/data/public/index.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/field_name/field_name.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/components/field_name/field_name.tsx" + "plugin": "dataViewManagement", + "path": "src/plugins/data_view_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternField", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternField", + "text": "IndexPatternField" }, + " extends ", { - "plugin": "discover", - "path": "src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_bucket.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" + "plugin": "data", + "path": "src/plugins/data/common/index.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field_details.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" + "plugin": "data", + "path": "src/plugins/data/server/index.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_field.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/group_fields.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_details.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/get_index_pattern_field_list.ts" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_layout.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/layout/discover_layout.tsx" + "plugin": "data", + "path": "src/plugins/data/public/index.ts" }, { "plugin": "maps", @@ -19774,14 +17343,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" @@ -20314,34 +17875,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/lib/group_fields.d.ts" - }, { "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" @@ -20487,14 +18020,6 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/plugin.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" @@ -20527,30 +18052,6 @@ "plugin": "data", "path": "src/plugins/data/public/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.test.ts" - }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" @@ -20906,19 +18407,6 @@ "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewAttributes.intervalName", - "type": "string", - "tags": [], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/types.ts", - "deprecated": false - }, { "parentPluginId": "dataViews", "id": "def-common.DataViewAttributes.sourceFilters", @@ -21110,22 +18598,6 @@ "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, - { - "parentPluginId": "dataViews", - "id": "def-common.DataViewSpec.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data_views/common/types.ts", - "deprecated": true, - "references": [] - }, { "parentPluginId": "dataViews", "id": "def-common.DataViewSpec.timeFieldName", @@ -21609,13 +19081,12 @@ { "parentPluginId": "dataViews", "id": "def-common.FieldSpecExportFmt.lang", - "type": "CompoundType", + "type": "string", "tags": [], "label": "lang", "description": [], "signature": [ - "ScriptLanguage", - " | undefined" + "string | undefined" ], "path": "src/plugins/data_views/common/types.ts", "deprecated": false @@ -25127,14 +22598,6 @@ "plugin": "data", "path": "src/plugins/data/public/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx" - }, { "plugin": "transform", "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" @@ -25155,26 +22618,10 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/public/lib/es_service.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts" - }, { "plugin": "data", "path": "src/plugins/data/server/index.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/main/components/layout/types.ts" @@ -25332,13 +22779,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", @@ -25596,30 +23037,6 @@ "plugin": "data", "path": "src/plugins/data/public/search/types.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts" - }, { "plugin": "observability", "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" @@ -25664,22 +23081,6 @@ "plugin": "data", "path": "src/plugins/data/server/search/expressions/esaggs.test.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts" - }, { "plugin": "data", "path": "src/plugins/data/public/services.ts" @@ -25760,30 +23161,6 @@ "plugin": "security", "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/build_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/build_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/utils/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/components/doc_table/actions/columns.ts" - }, { "plugin": "dashboard", "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" @@ -26020,14 +23397,6 @@ "plugin": "data", "path": "src/plugins/data/target/types/public/ui/index_pattern_select/create_index_pattern_select.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/build_services.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/build_services.d.ts" - }, { "plugin": "inputControlVis", "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index 0c5cf43119410..df099cec286e8 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 714 | 3 | 566 | 6 | +| 721 | 3 | 579 | 6 | ## Client @@ -57,6 +57,9 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services ### Interfaces +### Consts, variables and types + + ## Common ### Objects diff --git a/api_docs/data_visualizer.json b/api_docs/data_visualizer.json index 9512bf13df61a..0d96692e2ba3e 100644 --- a/api_docs/data_visualizer.json +++ b/api_docs/data_visualizer.json @@ -53,6 +53,19 @@ "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx", "deprecated": false }, + { + "parentPluginId": "dataVisualizer", + "id": "def-public.IndexDataVisualizerViewProps.currentSessionId", + "type": "string", + "tags": [], + "label": "currentSessionId", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx", + "deprecated": false + }, { "parentPluginId": "dataVisualizer", "id": "def-public.IndexDataVisualizerViewProps.additionalLinks", diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index 960f1c9e4aef5..fee566e17fe12 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -18,7 +18,7 @@ Contact [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) for q | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 84 | 2 | 84 | 0 | +| 85 | 2 | 81 | 0 | ## Client diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index 4bbd6250de528..6e6f9a653d06c 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -14,47 +14,47 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Referencing plugin(s) | Remove By | | ---------------|-----------|-----------| | | securitySolution | - | -| | savedObjects, home, security, fleet, discover, dashboard, lens, observability, maps, fileUpload, dataVisualizer, infra, graph, monitoring, securitySolution, stackAlerts, transform, uptime, dataViewManagement, inputControlVis, kibanaOverview, savedObjectsManagement, visualize, visTypeTimelion, visTypeTimeseries, visTypeVega | - | +| | home, savedObjects, security, fleet, discover, dashboard, lens, observability, maps, fileUpload, dataVisualizer, infra, graph, monitoring, securitySolution, stackAlerts, transform, uptime, dataViewManagement, inputControlVis, kibanaOverview, savedObjectsManagement, visualize, visTypeTimelion, visTypeTimeseries, visTypeVega | - | | | apm, security, securitySolution | - | | | apm, security, securitySolution | - | | | encryptedSavedObjects, actions, ml, reporting, dataEnhanced, logstash, securitySolution | - | | | dashboard, lens, maps, ml, securitySolution, security, visualize | - | | | securitySolution | - | -| | dataViews, visTypeTimeseries, maps, lens, discover, data | - | -| | dataViews, discover, observability, savedObjects, security, dashboard, lens, maps, graph, stackAlerts, transform, dataViewManagement, inputControlVis, savedObjectsManagement, visTypeTimelion, data | - | +| | dataViews, visTypeTimeseries, maps, lens, data | - | +| | dataViews, observability, savedObjects, security, dashboard, lens, maps, graph, stackAlerts, transform, dataViewManagement, inputControlVis, savedObjectsManagement, visTypeTimelion, data | - | | | dataViews, upgradeAssistant, dashboard, visualizations, discover, visTypeTimeseries, observability, maps, dataVisualizer, apm, reporting, lens, transform, savedObjects, dataViewFieldEditor, graph, stackAlerts, uptime, dataViewEditor, dataViewManagement, inputControlVis, savedObjectsManagement, visualize, visDefaultEditor, visTypeVega, data | - | -| | dataViews, discover, maps, dataVisualizer, lens, dataViewEditor, dataViewManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, data | - | +| | dataViews, maps, dataVisualizer, lens, dataViewEditor, dataViewManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, data | - | | | dataViews, monitoring, dataViewManagement, stackAlerts, transform | - | -| | dataViews, discover, transform, canvas | - | +| | dataViews, transform, canvas, discover | - | | | dataViews, observability, dataViewEditor | - | | | dataViews, dataViewManagement | - | | | dataViews | - | | | dataViews, monitoring, dataViewManagement, stackAlerts, transform, data | - | -| | dataViews, discover, transform, canvas, data | - | +| | dataViews, transform, canvas, discover, data | - | | | dataViews, data | - | | | dataViews, data | - | | | dataViews, observability, dataViewEditor, data | - | -| | dataViews, discover, observability, savedObjects, security, dashboard, lens, maps, graph, stackAlerts, transform, dataViewManagement, inputControlVis, savedObjectsManagement, visTypeTimelion, data | - | +| | dataViews, observability, savedObjects, security, dashboard, lens, maps, graph, stackAlerts, transform, dataViewManagement, inputControlVis, savedObjectsManagement, visTypeTimelion, data | - | | | dataViews, dataViewManagement, data | - | | | dataViews, visualizations, dashboard, data | - | -| | dataViews, discover, maps, dataVisualizer, lens, dataViewEditor, dataViewManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, data | - | +| | dataViews, maps, dataVisualizer, lens, dataViewEditor, dataViewManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, data | - | | | dataViews, data | - | -| | dataViews, visTypeTimeseries, maps, lens, discover, data | - | +| | dataViews, visTypeTimeseries, maps, lens, data | - | | | dataViews, discover, dashboard, lens, visualize | - | | | dataViews, upgradeAssistant, dashboard, visualizations, discover, visTypeTimeseries, observability, maps, dataVisualizer, apm, reporting, lens, transform, savedObjects, dataViewFieldEditor, graph, stackAlerts, uptime, dataViewEditor, dataViewManagement, inputControlVis, savedObjectsManagement, visualize, visDefaultEditor, visTypeVega, data | - | | | dataViews, maps | - | | | dataViewManagement, dataViews | - | | | visTypeTimeseries, graph, dataViewManagement, dataViews | - | | | dataViews, dataViewManagement | - | -| | dataViews, discover, transform, canvas | - | -| | dataViews, discover, maps, dataVisualizer, lens, dataViewEditor, dataViewManagement, inputControlVis, visDefaultEditor, visTypeTimeseries | - | +| | dataViews, transform, canvas, discover | - | +| | dataViews, maps, dataVisualizer, lens, dataViewEditor, dataViewManagement, inputControlVis, visDefaultEditor, visTypeTimeseries | - | | | dataViews, upgradeAssistant, dashboard, visualizations, discover, visTypeTimeseries, observability, maps, dataVisualizer, apm, reporting, lens, transform, savedObjects, dataViewFieldEditor, graph, stackAlerts, uptime, dataViewEditor, dataViewManagement, inputControlVis, savedObjectsManagement, visualize, visDefaultEditor, visTypeVega | - | -| | dataViews, visTypeTimeseries, maps, lens, discover | - | +| | dataViews, visTypeTimeseries, maps, lens | - | | | dataViews, maps | - | | | dataViewManagement, dataViews | - | | | visTypeTimeseries, graph, dataViewManagement, dataViews | - | | | dataViews, dataViewManagement | - | -| | fleet, dataViewFieldEditor, discover, dashboard, lens, stackAlerts, dataViewManagement, visTypePie, visTypeTable, visTypeTimeseries, visTypeXy, visTypeVislib | - | +| | fleet, dataViewFieldEditor, discover, dashboard, lens, stackAlerts, dataViewManagement, visTypeTable, visTypeTimeseries, visTypeXy, visTypeVislib, expressionPie | - | | | reporting, visTypeTimeseries | - | | | visTypeTimeseries, graph, dataViewManagement | - | | | data, lens, visTypeTimeseries, infra, maps, visTypeTimelion | - | @@ -64,17 +64,15 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | discover, dashboard, lens, visualize | - | | | savedObjectsTaggingOss, visualizations, dashboard, lens | - | | | lens, dashboard | - | -| | discover | - | -| | discover | - | -| | embeddable, presentationUtil, discover, dashboard, graph | - | -| | data, discover, embeddable | - | -| | advancedSettings, discover | - | -| | advancedSettings, discover | - | | | observability, osquery | - | +| | security | - | | | security | - | +| | security | - | +| | security | - | | | security | - | | | security, licenseManagement, ml, fleet, apm, reporting, crossClusterReplication, logstash, painlessLab, searchprofiler, watcher | - | | | management, fleet, security, kibanaOverview | - | +| | embeddable, presentationUtil, discover, dashboard, graph | - | | | dashboard | - | | | dashboard | - | | | screenshotting, dashboard | - | @@ -84,6 +82,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | spaces, savedObjectsManagement | - | | | ml, infra, reporting, ingestPipelines, upgradeAssistant | - | | | ml, infra, reporting, ingestPipelines, upgradeAssistant | - | +| | discover | - | +| | discover | - | +| | data, discover, embeddable | - | +| | advancedSettings, discover | - | +| | advancedSettings, discover | - | | | cloud, apm | - | | | reporting | - | | | reporting | - | @@ -95,7 +98,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | canvas | - | | | canvas | - | | | canvas | - | -| | canvas, visTypePie, visTypeXy | - | +| | canvas, visTypeXy | - | | | canvas, visTypeXy | - | | | canvas | - | | | canvas | - | @@ -113,15 +116,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | visTypeTimeseries | 8.1 | | | visTypeTimeseries | 8.1 | | | discover, maps, inputControlVis | 8.1 | -| | discover, visualizations, dashboard, lens, observability, maps, dashboardEnhanced, discoverEnhanced, visualize | 8.1 | -| | discover, dashboard, observability, dashboardEnhanced, discoverEnhanced, urlDrilldown, inputControlVis, maps | 8.1 | -| | discover, dashboard, observability, dashboardEnhanced, discoverEnhanced, urlDrilldown, inputControlVis, maps | 8.1 | +| | discover, visualizations, dashboard, lens, maps, dashboardEnhanced, discoverEnhanced, visualize | 8.1 | +| | discover, dashboard, dashboardEnhanced, discoverEnhanced, urlDrilldown, inputControlVis, maps | 8.1 | +| | discover, dashboard, dashboardEnhanced, discoverEnhanced, urlDrilldown, inputControlVis, maps | 8.1 | | | discover, maps, inputControlVis | 8.1 | -| | discover, dashboard, observability, dashboardEnhanced, discoverEnhanced, urlDrilldown, inputControlVis, maps | 8.1 | -| | observability | 8.1 | -| | observability | 8.1 | -| | observability | 8.1 | -| | observability | 8.1 | +| | discover, dashboard, dashboardEnhanced, discoverEnhanced, urlDrilldown, inputControlVis, maps | 8.1 | | | apm, graph, monitoring, stackAlerts | 8.1 | | | stackAlerts, dataViewManagement | 8.1 | | | dataViewManagement | 8.1 | @@ -153,13 +152,17 @@ Safe to remove. | | dashboard | | | dashboard | | | data | +| | data | | | data | +| | data | | | data | | | data | | | data | | | data | | | data | +| | data | | | data | +| | data | | | data | | | data | | | data | diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index cca7000acdf11..838a9c2868b2e 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -257,7 +257,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IIndexPattern), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=IIndexPattern), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=IIndexPattern) | - | | | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType)+ 13 more | 8.1 | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternSpec), [create_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/create_index_pattern.ts#:~:text=IndexPatternSpec), [create_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/create_index_pattern.ts#:~:text=IndexPatternSpec) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternSpec) | - | | | [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=IndexPatternListItem), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternListItem) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternType) | - | | | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType)+ 13 more | 8.1 | @@ -265,7 +265,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IIndexPatternsApiClient), [index_patterns_api_client.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/index_patterns_api_client.ts#:~:text=IIndexPatternsApiClient), [index_patterns_api_client.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/index_patterns_api_client.ts#:~:text=IIndexPatternsApiClient) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternFieldMap) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternSpec), [create_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/create_index_pattern.ts#:~:text=IndexPatternSpec), [create_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/create_index_pattern.ts#:~:text=IndexPatternSpec) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternSpec) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsContract) | - | | | [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=IndexPatternListItem), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternListItem) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | @@ -308,31 +308,23 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService)+ 6 more | - | -| | [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/use_index_pattern.tsx#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/use_index_pattern.tsx#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract)+ 26 more | - | -| | [use_discover_state.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/utils/use_discover_state.d.ts#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 380 more | - | -| | [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [field_stats_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx#:~:text=IndexPatternField), [field_stats_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx#:~:text=IndexPatternField), [field_stats_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/context/context_app.tsx#:~:text=IndexPatternField)+ 202 more | - | -| | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 3 more | - | +| | [use_discover_state.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/utils/use_discover_state.d.ts#:~:text=IndexPattern), [use_discover_state.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/utils/use_discover_state.d.ts#:~:text=IndexPattern) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=IndexPatternAttributes), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=IndexPatternAttributes), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=IndexPatternAttributes) | - | | | [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/saved_search_embeddable.tsx#:~:text=create), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/saved_search_embeddable.tsx#:~:text=create) | - | | | [anchor.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/context/services/anchor.ts#:~:text=fetch), [fetch_hits_in_interval.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/context/utils/fetch_hits_in_interval.ts#:~:text=fetch) | 8.1 | | | [build_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/build_services.ts#:~:text=indexPatterns), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=indexPatterns), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=indexPatterns), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=indexPatterns), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/plugin.tsx#:~:text=indexPatterns) | - | | | [histogram.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/chart/histogram.tsx#:~:text=fieldFormats) | - | | | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=esFilters), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=esFilters), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=esFilters), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=esFilters), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=esFilters), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=esFilters), [use_navigation_props.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/use_navigation_props.tsx#:~:text=esFilters), [use_navigation_props.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/use_navigation_props.tsx#:~:text=esFilters), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=esFilters), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=esFilters)+ 17 more | 8.1 | -| | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/types.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter)+ 24 more | 8.1 | -| | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 16 more | - | -| | [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/use_index_pattern.tsx#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/use_index_pattern.tsx#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/utils/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract)+ 26 more | - | -| | [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [field_stats_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx#:~:text=IndexPatternField), [field_stats_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx#:~:text=IndexPatternField), [field_stats_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/context/context_app.tsx#:~:text=IndexPatternField)+ 202 more | - | -| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService)+ 6 more | - | +| | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter)+ 24 more | 8.1 | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=IndexPatternAttributes), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=IndexPatternAttributes), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 4 more | - | | | [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=ensureDefaultDataView), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=ensureDefaultDataView) | - | -| | [use_discover_state.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/utils/use_discover_state.d.ts#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 380 more | - | -| | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/types.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter)+ 24 more | 8.1 | +| | [use_discover_state.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/utils/use_discover_state.d.ts#:~:text=IndexPattern), [use_discover_state.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/utils/use_discover_state.d.ts#:~:text=IndexPattern) | - | +| | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter)+ 24 more | 8.1 | | | [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/saved_search_embeddable.tsx#:~:text=create), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/saved_search_embeddable.tsx#:~:text=create) | - | | | [anchor.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/context/services/anchor.ts#:~:text=fetch), [fetch_hits_in_interval.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/context/utils/fetch_hits_in_interval.ts#:~:text=fetch) | 8.1 | -| | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 3 more | - | -| | [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [field_stats_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx#:~:text=IndexPatternField), [field_stats_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx#:~:text=IndexPatternField), [field_stats_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/context/context_app.tsx#:~:text=IndexPatternField)+ 96 more | - | -| | [use_discover_state.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/utils/use_discover_state.d.ts#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 185 more | - | -| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/utils/popularize_field.test.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService)+ 6 more | - | -| | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/types.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter)+ 24 more | 8.1 | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=IndexPatternAttributes), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=IndexPatternAttributes), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=IndexPatternAttributes) | - | +| | [use_discover_state.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/main/utils/use_discover_state.d.ts#:~:text=IndexPattern) | - | +| | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/services/discover_state.ts#:~:text=Filter)+ 24 more | 8.1 | | | [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/discover_main_route.tsx#:~:text=ensureDefaultDataView) | - | | | [on_save_search.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx#:~:text=SavedObjectSaveModal), [on_save_search.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx#:~:text=SavedObjectSaveModal) | - | | | [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/saved_search_embeddable.tsx#:~:text=executeTriggerActions), [search_embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/embeddable/search_embeddable_factory.ts#:~:text=executeTriggerActions), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/plugin.tsx#:~:text=executeTriggerActions), [search_embeddable_factory.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/embeddable/search_embeddable_factory.d.ts#:~:text=executeTriggerActions) | - | @@ -379,6 +371,14 @@ warning: This document is auto-generated and is meant to be viewed inside our ex +## expressionPie + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [get_layers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/chart_expressions/expression_pie/public/utils/get_layers.test.ts#:~:text=fieldFormats), [get_layers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/chart_expressions/expression_pie/public/utils/get_layers.test.ts#:~:text=fieldFormats), [get_layers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/chart_expressions/expression_pie/public/utils/get_layers.test.ts#:~:text=fieldFormats), [get_layers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/chart_expressions/expression_pie/public/utils/get_layers.test.ts#:~:text=fieldFormats), [get_layers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/chart_expressions/expression_pie/public/utils/get_layers.test.ts#:~:text=fieldFormats), [get_layers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/chart_expressions/expression_pie/public/utils/get_layers.test.ts#:~:text=fieldFormats) | - | + + + ## fileUpload | Deprecated API | Reference location(s) | Remove By | @@ -620,18 +620,10 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 40 more | - | | | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec) | - | | | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=indexPatterns), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=indexPatterns), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=indexPatterns), [alerts_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/pages/alerts/containers/alerts_page/alerts_page.tsx#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns)+ 5 more | - | -| | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters) | 8.1 | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter) | 8.1 | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=PhraseFilter), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=PhraseFilter) | 8.1 | -| | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter) | 8.1 | | | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec) | - | | | [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract) | - | | | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 40 more | - | -| | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter) | 8.1 | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter) | 8.1 | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=PhraseFilter), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=PhraseFilter) | 8.1 | | | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 15 more | - | -| | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter) | 8.1 | | | [use_discover_link.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_discover_link.tsx#:~:text=urlGenerator) | - | @@ -764,7 +756,10 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract) | - | | | [roles_management_app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/roles_management_app.tsx#:~:text=indexPatterns) | - | | | [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract) | - | +| | [elasticsearch_role.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/roles/elasticsearch_role.ts#:~:text=disabled), [put_payload.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts#:~:text=disabled), [put_payload.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts#:~:text=disabled), [primary_feature_privilege.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/model/primary_feature_privilege.ts#:~:text=disabled), [elasticsearch_role.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/roles/elasticsearch_role.test.ts#:~:text=disabled), [kibana_features.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/__fixtures__/kibana_features.ts#:~:text=disabled), [put.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/routes/authorization/roles/put.test.ts#:~:text=disabled), [put_payload.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.test.ts#:~:text=disabled) | - | | | [disable_ui_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts#:~:text=requiredRoles) | - | +| | [elasticsearch_role.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/roles/elasticsearch_role.ts#:~:text=disabled), [put_payload.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts#:~:text=disabled), [put_payload.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts#:~:text=disabled), [primary_feature_privilege.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/model/primary_feature_privilege.ts#:~:text=disabled), [elasticsearch_role.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/roles/elasticsearch_role.test.ts#:~:text=disabled), [kibana_features.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/__fixtures__/kibana_features.ts#:~:text=disabled), [put.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/routes/authorization/roles/put.test.ts#:~:text=disabled), [put_payload.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.test.ts#:~:text=disabled) | - | +| | [elasticsearch_role.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/roles/elasticsearch_role.ts#:~:text=disabled), [put_payload.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts#:~:text=disabled), [put_payload.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts#:~:text=disabled), [primary_feature_privilege.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/model/primary_feature_privilege.ts#:~:text=disabled), [elasticsearch_role.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/roles/elasticsearch_role.test.ts#:~:text=disabled), [kibana_features.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/__fixtures__/kibana_features.ts#:~:text=disabled), [put.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/routes/authorization/roles/put.test.ts#:~:text=disabled), [put_payload.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.test.ts#:~:text=disabled) | - | | | [disable_ui_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts#:~:text=requiredRoles) | - | | | [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode) | - | | | [plugin.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/plugin.tsx#:~:text=license%24) | - | @@ -896,15 +891,6 @@ warning: This document is auto-generated and is meant to be viewed inside our ex -## visTypePie - -| Deprecated API | Reference location(s) | Remove By | -| ---------------|-----------|-----------| -| | [pie_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/pie/public/pie_component.tsx#:~:text=fieldFormats), [pie_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/pie/public/pie_component.tsx#:~:text=fieldFormats), [pie_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/pie/public/pie_component.tsx#:~:text=fieldFormats), [pie_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/pie/public/pie_component.tsx#:~:text=fieldFormats), [pie_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/pie/public/pie_component.tsx#:~:text=fieldFormats), [pie_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/pie/public/pie_component.tsx#:~:text=fieldFormats), [pie_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/pie/public/pie_component.tsx#:~:text=fieldFormats), [pie_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/pie/public/pie_component.tsx#:~:text=fieldFormats), [pie_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/pie/public/pie_component.tsx#:~:text=fieldFormats), [get_layers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/pie/public/utils/get_layers.test.ts#:~:text=fieldFormats)+ 5 more | - | -| | [pie_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/pie/public/pie_fn.ts#:~:text=Render), [pie_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/pie/public/pie_fn.ts#:~:text=Render) | - | - - - ## visTypeTable | Deprecated API | Reference location(s) | Remove By | diff --git a/api_docs/discover.json b/api_docs/discover.json index e51f7b271edad..209752ad2ed6f 100644 --- a/api_docs/discover.json +++ b/api_docs/discover.json @@ -244,13 +244,7 @@ "text": "DiscoverAppLocatorParams" }, " extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "src/plugins/discover/public/locator.ts", "deprecated": false, @@ -326,13 +320,7 @@ "text": "RefreshInterval" }, " & ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ") | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -985,7 +973,9 @@ }, "<", "SearchResponse", - ">>; fetch: (options?: ", + ">>>; fetch: (options?: ", { "pluginId": "data", "scope": "common", @@ -995,7 +985,9 @@ }, ") => Promise<", "SearchResponse", - ">; onRequestStart: (handler: (searchSource: ", + ">>; onRequestStart: (handler: (searchSource: ", { "pluginId": "data", "scope": "common", diff --git a/api_docs/embeddable.json b/api_docs/embeddable.json index 25df74bf737eb..42311baf4e4a0 100644 --- a/api_docs/embeddable.json +++ b/api_docs/embeddable.json @@ -6186,7 +6186,7 @@ "section": "def-public.ContainerOutput", "text": "ContainerOutput" }, - "> | undefined) => Promise<", + "> | undefined) => Promise" + ">" ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", "deprecated": false, @@ -6303,7 +6303,7 @@ "section": "def-public.ContainerOutput", "text": "ContainerOutput" }, - "> | undefined) => Promise<", + "> | undefined) => Promise" + " | undefined>" ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts", "deprecated": false, @@ -8342,7 +8342,7 @@ "section": "def-public.EmbeddableFactory", "text": "EmbeddableFactory" }, - ", \"type\" | \"create\" | \"isEditable\" | \"getDisplayName\"> & Partial, \"create\" | \"type\" | \"isEditable\" | \"getDisplayName\"> & Partial) => void" ], "path": "src/plugins/embeddable/public/plugin.tsx", @@ -8827,13 +8815,7 @@ "text": "EnhancementRegistryDefinition" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">" ], "path": "src/plugins/embeddable/public/plugin.tsx", @@ -9490,13 +9472,7 @@ "text": "EnhancementRegistryDefinition" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">) => void" ], "path": "src/plugins/embeddable/server/plugin.ts", @@ -9518,13 +9494,7 @@ "text": "EnhancementRegistryDefinition" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">" ], "path": "src/plugins/embeddable/server/plugin.ts", @@ -9684,13 +9654,7 @@ "text": "PersistableState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", "> & { isContainerType: boolean; }" ], "path": "src/plugins/embeddable/common/types.ts", @@ -9730,13 +9694,7 @@ "text": "PersistableState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">" ], "path": "src/plugins/embeddable/common/types.ts", @@ -9880,13 +9838,7 @@ "text": "ViewMode" }, " | undefined; title?: string | undefined; id: string; lastReloadRequestTime?: number | undefined; hidePanelTitles?: boolean | undefined; enhancements?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; disabledActions?: string[] | undefined; disableTriggers?: boolean | undefined; searchSessionId?: string | undefined; syncColors?: boolean | undefined; executionContext?: ", "KibanaExecutionContext", " | undefined; }" diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 86eb34d5fd6bb..93aff62102200 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 452 | 0 | 374 | 4 | +| 452 | 0 | 368 | 4 | ## Client diff --git a/api_docs/encrypted_saved_objects.json b/api_docs/encrypted_saved_objects.json index 5432a3772ac96..4e765abe70a0f 100644 --- a/api_docs/encrypted_saved_objects.json +++ b/api_docs/encrypted_saved_objects.json @@ -79,7 +79,13 @@ "label": "operation", "description": [], "signature": [ - "EncryptionErrorOperation" + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.EncryptionErrorOperation", + "text": "EncryptionErrorOperation" + } ], "path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts", "deprecated": false, @@ -123,6 +129,260 @@ ], "functions": [], "interfaces": [ + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.AttributeToEncrypt", + "type": "Interface", + "tags": [], + "label": "AttributeToEncrypt", + "description": [ + "\nDescribes the attributes to encrypt. By default, attribute values won't be exposed to end-users\nand can only be consumed by the internal Kibana server. If end-users should have access to the\nencrypted values use `dangerouslyExposeValue: true`" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encrypted_saved_objects_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.AttributeToEncrypt.key", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encrypted_saved_objects_service.ts", + "deprecated": false + }, + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.AttributeToEncrypt.dangerouslyExposeValue", + "type": "CompoundType", + "tags": [], + "label": "dangerouslyExposeValue", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encrypted_saved_objects_service.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts", + "type": "Interface", + "tags": [], + "label": "CreateEncryptedSavedObjectsMigrationFnOpts", + "description": [], + "signature": [ + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts", + "text": "CreateEncryptedSavedObjectsMigrationFnOpts" + }, + "" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts.isMigrationNeededPredicate", + "type": "Function", + "tags": [], + "label": "isMigrationNeededPredicate", + "description": [], + "signature": [ + "(encryptedDoc: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + " | ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + ") => encryptedDoc is ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + "" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts.isMigrationNeededPredicate.$1", + "type": "CompoundType", + "tags": [], + "label": "encryptedDoc", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + " | ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + "" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts.migration", + "type": "Function", + "tags": [], + "label": "migration", + "description": [], + "signature": [ + "(doc: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + ", context: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectMigrationContext", + "text": "SavedObjectMigrationContext" + }, + ") => ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + "" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts.migration.$1", + "type": "CompoundType", + "tags": [], + "label": "doc", + "description": [], + "signature": [ + "SavedObjectDoc & Partial" + ], + "path": "src/core/server/saved_objects/migrations/types.ts", + "deprecated": false + }, + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts.migration.$2", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectMigrationContext", + "text": "SavedObjectMigrationContext" + } + ], + "path": "src/core/server/saved_objects/migrations/types.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts.shouldMigrateIfDecryptionFails", + "type": "CompoundType", + "tags": [], + "label": "shouldMigrateIfDecryptionFails", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", + "deprecated": false + }, + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts.inputType", + "type": "Object", + "tags": [], + "label": "inputType", + "description": [], + "signature": [ + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.EncryptedSavedObjectTypeRegistration", + "text": "EncryptedSavedObjectTypeRegistration" + }, + " | undefined" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", + "deprecated": false + }, + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts.migratedType", + "type": "Object", + "tags": [], + "label": "migratedType", + "description": [], + "signature": [ + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.EncryptedSavedObjectTypeRegistration", + "text": "EncryptedSavedObjectTypeRegistration" + }, + " | undefined" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "encryptedSavedObjects", "id": "def-server.EncryptedSavedObjectsClient", @@ -211,6 +471,32 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.EncryptedSavedObjectsClientOptions", + "type": "Interface", + "tags": [], + "label": "EncryptedSavedObjectsClientOptions", + "description": [], + "path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.EncryptedSavedObjectsClientOptions.includedHiddenTypes", + "type": "Array", + "tags": [], + "label": "includedHiddenTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "encryptedSavedObjects", "id": "def-server.EncryptedSavedObjectTypeRegistration", @@ -242,7 +528,13 @@ "description": [], "signature": [ "ReadonlySet" ], "path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encrypted_saved_objects_service.ts", @@ -265,8 +557,119 @@ "initialIsOpen": false } ], - "enums": [], + "enums": [ + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.EncryptionErrorOperation", + "type": "Enum", + "tags": [], + "label": "EncryptionErrorOperation", + "description": [ + "\nDefines operation (encryption or decryption) during which error occurred." + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts", + "deprecated": false, + "initialIsOpen": false + } + ], "misc": [ + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.ClientInstanciator", + "type": "Type", + "tags": [], + "label": "ClientInstanciator", + "description": [], + "signature": [ + "(options?: ", + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.EncryptedSavedObjectsClientOptions", + "text": "EncryptedSavedObjectsClientOptions" + }, + " | undefined) => ", + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.EncryptedSavedObjectsClient", + "text": "EncryptedSavedObjectsClient" + } + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.ClientInstanciator.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.EncryptedSavedObjectsClientOptions", + "text": "EncryptedSavedObjectsClientOptions" + }, + " | undefined" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.CreateEncryptedSavedObjectsMigrationFn", + "type": "Type", + "tags": [], + "label": "CreateEncryptedSavedObjectsMigrationFn", + "description": [], + "signature": [ + "(opts: ", + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts", + "text": "CreateEncryptedSavedObjectsMigrationFnOpts" + }, + ") => SavedObjectOptionalMigrationFn" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "encryptedSavedObjects", + "id": "def-server.CreateEncryptedSavedObjectsMigrationFn.$1", + "type": "Object", + "tags": [], + "label": "opts", + "description": [], + "signature": [ + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts", + "text": "CreateEncryptedSavedObjectsMigrationFnOpts" + }, + "" + ], + "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "encryptedSavedObjects", "id": "def-server.IsMigrationNeededPredicate", @@ -413,7 +816,13 @@ "description": [], "signature": [ "(opts: ", - "CreateEncryptedSavedObjectsMigrationFnOpts", + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts", + "text": "CreateEncryptedSavedObjectsMigrationFnOpts" + }, ") => SavedObjectOptionalMigrationFn" ], "path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts", @@ -428,7 +837,13 @@ "label": "opts", "description": [], "signature": [ - "CreateEncryptedSavedObjectsMigrationFnOpts", + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.CreateEncryptedSavedObjectsMigrationFnOpts", + "text": "CreateEncryptedSavedObjectsMigrationFnOpts" + }, "" ], "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", @@ -489,7 +904,13 @@ "description": [], "signature": [ "(options?: ", - "EncryptedSavedObjectsClientOptions", + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.EncryptedSavedObjectsClientOptions", + "text": "EncryptedSavedObjectsClientOptions" + }, " | undefined) => ", { "pluginId": "encryptedSavedObjects", @@ -511,7 +932,13 @@ "label": "options", "description": [], "signature": [ - "EncryptedSavedObjectsClientOptions", + { + "pluginId": "encryptedSavedObjects", + "scope": "server", + "docId": "kibEncryptedSavedObjectsPluginApi", + "section": "def-server.EncryptedSavedObjectsClientOptions", + "text": "EncryptedSavedObjectsClientOptions" + }, " | undefined" ], "path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts", diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index de7971afa6423..848b057499aa4 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -18,7 +18,7 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 29 | 0 | 27 | 4 | +| 48 | 0 | 44 | 0 | ## Server @@ -34,6 +34,9 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit ### Interfaces +### Enums + + ### Consts, variables and types diff --git a/api_docs/event_log.json b/api_docs/event_log.json index e89398e3d7bd5..ef3d083e343db 100644 --- a/api_docs/event_log.json +++ b/api_docs/event_log.json @@ -892,7 +892,7 @@ "label": "data", "description": [], "signature": [ - "(Readonly<{ user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; error?: Readonly<{ message?: string | undefined; type?: string | undefined; id?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ execution?: Readonly<{ status?: string | undefined; metrics?: Readonly<{ total_indexing_duration_ms?: number | undefined; total_search_duration_ms?: number | undefined; execution_gap_duration_s?: number | undefined; } & {}> | undefined; uuid?: string | undefined; status_order?: number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; space_ids?: string[] | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; outcome?: string | undefined; url?: string | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; hash?: string | undefined; provider?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; ingested?: string | undefined; module?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined)[]" + "(Readonly<{ user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; error?: Readonly<{ message?: string | undefined; id?: string | undefined; type?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ execution?: Readonly<{ status?: string | undefined; metrics?: Readonly<{ total_indexing_duration_ms?: number | undefined; total_search_duration_ms?: number | undefined; execution_gap_duration_s?: number | undefined; } & {}> | undefined; uuid?: string | undefined; status_order?: number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; saved_objects?: Readonly<{ id?: string | undefined; type?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; space_ids?: string[] | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; id?: string | undefined; type?: string[] | undefined; end?: string | undefined; category?: string[] | undefined; outcome?: string | undefined; url?: string | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; hash?: string | undefined; provider?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; ingested?: string | undefined; module?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined)[]" ], "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", "deprecated": false @@ -911,7 +911,7 @@ "label": "IEvent", "description": [], "signature": [ - "DeepPartial | undefined; message?: string | undefined; error?: Readonly<{ message?: string | undefined; type?: string | undefined; id?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ execution?: Readonly<{ status?: string | undefined; metrics?: Readonly<{ total_indexing_duration_ms?: number | undefined; total_search_duration_ms?: number | undefined; execution_gap_duration_s?: number | undefined; } & {}> | undefined; uuid?: string | undefined; status_order?: number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; space_ids?: string[] | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; outcome?: string | undefined; url?: string | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; hash?: string | undefined; provider?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; ingested?: string | undefined; module?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial | undefined; message?: string | undefined; error?: Readonly<{ message?: string | undefined; id?: string | undefined; type?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ execution?: Readonly<{ status?: string | undefined; metrics?: Readonly<{ total_indexing_duration_ms?: number | undefined; total_search_duration_ms?: number | undefined; execution_gap_duration_s?: number | undefined; } & {}> | undefined; uuid?: string | undefined; status_order?: number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; saved_objects?: Readonly<{ id?: string | undefined; type?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; space_ids?: string[] | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; id?: string | undefined; type?: string[] | undefined; end?: string | undefined; category?: string[] | undefined; outcome?: string | undefined; url?: string | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; hash?: string | undefined; provider?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; ingested?: string | undefined; module?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, @@ -925,7 +925,7 @@ "label": "IValidatedEvent", "description": [], "signature": [ - "Readonly<{ user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; error?: Readonly<{ message?: string | undefined; type?: string | undefined; id?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ execution?: Readonly<{ status?: string | undefined; metrics?: Readonly<{ total_indexing_duration_ms?: number | undefined; total_search_duration_ms?: number | undefined; execution_gap_duration_s?: number | undefined; } & {}> | undefined; uuid?: string | undefined; status_order?: number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; space_ids?: string[] | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; outcome?: string | undefined; url?: string | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; hash?: string | undefined; provider?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; ingested?: string | undefined; module?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined" + "Readonly<{ user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; error?: Readonly<{ message?: string | undefined; id?: string | undefined; type?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ execution?: Readonly<{ status?: string | undefined; metrics?: Readonly<{ total_indexing_duration_ms?: number | undefined; total_search_duration_ms?: number | undefined; execution_gap_duration_s?: number | undefined; } & {}> | undefined; uuid?: string | undefined; status_order?: number | undefined; } & {}> | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; saved_objects?: Readonly<{ id?: string | undefined; type?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; space_ids?: string[] | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; id?: string | undefined; type?: string[] | undefined; end?: string | undefined; category?: string[] | undefined; outcome?: string | undefined; url?: string | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; hash?: string | undefined; provider?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; ingested?: string | undefined; module?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index b8d2942cfd989..31953010f7716 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -18,7 +18,7 @@ Contact [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-prese | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 17 | 0 | 17 | 2 | +| 17 | 0 | 15 | 2 | ## Client diff --git a/api_docs/expression_heatmap.json b/api_docs/expression_heatmap.json index 96aa0754d9802..b74a520142545 100644 --- a/api_docs/expression_heatmap.json +++ b/api_docs/expression_heatmap.json @@ -916,9 +916,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"heatmap_grid\"" - ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts", "deprecated": false }, @@ -1450,9 +1447,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"heatmap_legend\"" - ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_legend.ts", "deprecated": false }, diff --git a/api_docs/expression_image.json b/api_docs/expression_image.json index 94fadf0d6a717..3c9e4ff7df113 100644 --- a/api_docs/expression_image.json +++ b/api_docs/expression_image.json @@ -388,13 +388,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expression_image/common/types/expression_functions.ts", diff --git a/api_docs/expression_metric.json b/api_docs/expression_metric.json index 36e8e5b625125..724bbffc3a84e 100644 --- a/api_docs/expression_metric.json +++ b/api_docs/expression_metric.json @@ -186,7 +186,7 @@ "label": "metricFunction", "description": [], "signature": [ - "() => { name: \"metric\"; aliases: never[]; type: \"render\"; inputTypes: (\"number\" | \"string\" | \"null\")[]; help: string; args: { label: { types: \"string\"[]; aliases: string[]; help: string; default: string; }; labelFont: { types: \"style\"[]; help: string; default: string; }; metricFont: { types: \"style\"[]; help: string; default: string; }; metricFormat: { types: \"string\"[]; aliases: string[]; help: string; }; }; fn: (input: ", + "() => { name: \"metric\"; aliases: never[]; type: string; inputTypes: (\"number\" | \"string\" | \"null\")[]; help: string; args: { label: { types: \"string\"[]; aliases: string[]; help: string; default: string; }; labelFont: { types: \"style\"[]; help: string; default: string; }; metricFont: { types: \"style\"[]; help: string; default: string; }; metricFormat: { types: \"string\"[]; aliases: string[]; help: string; }; }; fn: (input: ", { "pluginId": "expressionMetric", "scope": "common", @@ -508,13 +508,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expression_metric/common/types/expression_functions.ts", diff --git a/api_docs/expression_metric_vis.json b/api_docs/expression_metric_vis.json index c0bea82c0fc6a..dfe4f57d00991 100644 --- a/api_docs/expression_metric_vis.json +++ b/api_docs/expression_metric_vis.json @@ -674,13 +674,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", diff --git a/api_docs/expression_pie.json b/api_docs/expression_pie.json new file mode 100644 index 0000000000000..ed92b5443b771 --- /dev/null +++ b/api_docs/expression_pie.json @@ -0,0 +1,832 @@ +{ + "id": "expressionPie", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "expressionPie", + "id": "def-public.ExpressionPiePluginSetup", + "type": "Type", + "tags": [], + "label": "ExpressionPiePluginSetup", + "description": [], + "signature": [ + "void" + ], + "path": "src/plugins/chart_expressions/expression_pie/public/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-public.ExpressionPiePluginStart", + "type": "Type", + "tags": [], + "label": "ExpressionPiePluginStart", + "description": [], + "signature": [ + "void" + ], + "path": "src/plugins/chart_expressions/expression_pie/public/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [], + "start": { + "parentPluginId": "expressionPie", + "id": "def-server.ExpressionPiePluginStart", + "type": "Type", + "tags": [], + "label": "ExpressionPiePluginStart", + "description": [], + "signature": [ + "void" + ], + "path": "src/plugins/chart_expressions/expression_pie/server/types.ts", + "deprecated": false, + "lifecycle": "start", + "initialIsOpen": true + } + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "expressionPie", + "id": "def-common.pieLabelsFunction", + "type": "Function", + "tags": [], + "label": "pieLabelsFunction", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"pie_labels\", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + " | null, ", + "PieLabelsArguments", + ", ", + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.ExpressionValuePieLabels", + "text": "ExpressionValuePieLabels" + }, + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/expression_functions/pie_labels_function.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.pieVisFunction", + "type": "Function", + "tags": [], + "label": "pieVisFunction", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.PieVisExpressionFunctionDefinition", + "text": "PieVisExpressionFunctionDefinition" + } + ], + "path": "src/plugins/chart_expressions/expression_pie/common/expression_functions/pie_vis_function.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "expressionPie", + "id": "def-common.Dimension", + "type": "Interface", + "tags": [], + "label": "Dimension", + "description": [], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressionPie", + "id": "def-common.Dimension.accessor", + "type": "number", + "tags": [], + "label": "accessor", + "description": [], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.Dimension.format", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + "{ id?: string | undefined; params?: ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + " | undefined; }" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.Dimensions", + "type": "Interface", + "tags": [], + "label": "Dimensions", + "description": [], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressionPie", + "id": "def-common.Dimensions.metric", + "type": "CompoundType", + "tags": [], + "label": "metric", + "description": [], + "signature": [ + "{ type: \"vis_dimension\"; } & { accessor: number | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + "; format: { id?: string | undefined; params: Record; }; }" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.Dimensions.buckets", + "type": "Array", + "tags": [], + "label": "buckets", + "description": [], + "signature": [ + { + "pluginId": "visualizations", + "scope": "common", + "docId": "kibVisualizationsPluginApi", + "section": "def-common.ExpressionValueVisDimension", + "text": "ExpressionValueVisDimension" + }, + "[] | undefined" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.Dimensions.splitRow", + "type": "Array", + "tags": [], + "label": "splitRow", + "description": [], + "signature": [ + { + "pluginId": "visualizations", + "scope": "common", + "docId": "kibVisualizationsPluginApi", + "section": "def-common.ExpressionValueVisDimension", + "text": "ExpressionValueVisDimension" + }, + "[] | undefined" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.Dimensions.splitColumn", + "type": "Array", + "tags": [], + "label": "splitColumn", + "description": [], + "signature": [ + { + "pluginId": "visualizations", + "scope": "common", + "docId": "kibVisualizationsPluginApi", + "section": "def-common.ExpressionValueVisDimension", + "text": "ExpressionValueVisDimension" + }, + "[] | undefined" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.LabelsParams", + "type": "Interface", + "tags": [], + "label": "LabelsParams", + "description": [], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressionPie", + "id": "def-common.LabelsParams.show", + "type": "boolean", + "tags": [], + "label": "show", + "description": [], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.LabelsParams.last_level", + "type": "boolean", + "tags": [], + "label": "last_level", + "description": [], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.LabelsParams.position", + "type": "Enum", + "tags": [], + "label": "position", + "description": [], + "signature": [ + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.LabelPositions", + "text": "LabelPositions" + } + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.LabelsParams.values", + "type": "boolean", + "tags": [], + "label": "values", + "description": [], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.LabelsParams.truncate", + "type": "CompoundType", + "tags": [], + "label": "truncate", + "description": [], + "signature": [ + "number | null" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.LabelsParams.valuesFormat", + "type": "Enum", + "tags": [], + "label": "valuesFormat", + "description": [], + "signature": [ + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.ValueFormats", + "text": "ValueFormats" + } + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.LabelsParams.percentDecimals", + "type": "number", + "tags": [], + "label": "percentDecimals", + "description": [], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PieVisConfig", + "type": "Interface", + "tags": [], + "label": "PieVisConfig", + "description": [], + "signature": [ + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.PieVisConfig", + "text": "PieVisConfig" + }, + " extends PieCommonParams" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressionPie", + "id": "def-common.PieVisConfig.buckets", + "type": "Array", + "tags": [], + "label": "buckets", + "description": [], + "signature": [ + { + "pluginId": "visualizations", + "scope": "common", + "docId": "kibVisualizationsPluginApi", + "section": "def-common.ExpressionValueVisDimension", + "text": "ExpressionValueVisDimension" + }, + "[] | undefined" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PieVisConfig.metric", + "type": "CompoundType", + "tags": [], + "label": "metric", + "description": [], + "signature": [ + "{ type: \"vis_dimension\"; } & { accessor: number | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + "; format: { id?: string | undefined; params: Record; }; }" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PieVisConfig.splitColumn", + "type": "Array", + "tags": [], + "label": "splitColumn", + "description": [], + "signature": [ + { + "pluginId": "visualizations", + "scope": "common", + "docId": "kibVisualizationsPluginApi", + "section": "def-common.ExpressionValueVisDimension", + "text": "ExpressionValueVisDimension" + }, + "[] | undefined" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PieVisConfig.splitRow", + "type": "Array", + "tags": [], + "label": "splitRow", + "description": [], + "signature": [ + { + "pluginId": "visualizations", + "scope": "common", + "docId": "kibVisualizationsPluginApi", + "section": "def-common.ExpressionValueVisDimension", + "text": "ExpressionValueVisDimension" + }, + "[] | undefined" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PieVisConfig.labels", + "type": "CompoundType", + "tags": [], + "label": "labels", + "description": [], + "signature": [ + "{ type: \"pie_labels_value\"; } & { show: boolean; position: ", + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.LabelPositions", + "text": "LabelPositions" + }, + "; values: boolean; truncate: number | null; valuesFormat: ", + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.ValueFormats", + "text": "ValueFormats" + }, + "; last_level: boolean; percentDecimals: number; }" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PieVisConfig.palette", + "type": "Object", + "tags": [], + "label": "palette", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, + "<{ [key: string]: unknown; }>" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PieVisParams", + "type": "Interface", + "tags": [], + "label": "PieVisParams", + "description": [], + "signature": [ + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.PieVisParams", + "text": "PieVisParams" + }, + " extends PieCommonParams" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressionPie", + "id": "def-common.PieVisParams.dimensions", + "type": "Object", + "tags": [], + "label": "dimensions", + "description": [], + "signature": [ + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.Dimensions", + "text": "Dimensions" + } + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PieVisParams.labels", + "type": "Object", + "tags": [], + "label": "labels", + "description": [], + "signature": [ + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.LabelsParams", + "text": "LabelsParams" + } + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PieVisParams.palette", + "type": "Object", + "tags": [], + "label": "palette", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, + "<{ [key: string]: unknown; }>" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "expressionPie", + "id": "def-common.EmptySizeRatios", + "type": "Enum", + "tags": [], + "label": "EmptySizeRatios", + "description": [], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.LabelPositions", + "type": "Enum", + "tags": [], + "label": "LabelPositions", + "description": [], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.ValueFormats", + "type": "Enum", + "tags": [], + "label": "ValueFormats", + "description": [], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "expressionPie", + "id": "def-common.ExpressionValuePieLabels", + "type": "Type", + "tags": [], + "label": "ExpressionValuePieLabels", + "description": [], + "signature": [ + "{ type: \"pie_labels_value\"; } & { show: boolean; position: ", + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.LabelPositions", + "text": "LabelPositions" + }, + "; values: boolean; truncate: number | null; valuesFormat: ", + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.ValueFormats", + "text": "ValueFormats" + }, + "; last_level: boolean; percentDecimals: number; }" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_functions.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PIE_LABELS_FUNCTION", + "type": "string", + "tags": [], + "label": "PIE_LABELS_FUNCTION", + "description": [], + "signature": [ + "\"pie_labels\"" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PIE_LABELS_VALUE", + "type": "string", + "tags": [], + "label": "PIE_LABELS_VALUE", + "description": [], + "signature": [ + "\"pie_labels_value\"" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PIE_VIS_EXPRESSION_NAME", + "type": "string", + "tags": [], + "label": "PIE_VIS_EXPRESSION_NAME", + "description": [], + "signature": [ + "\"pie_vis\"" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PieVisExpressionFunctionDefinition", + "type": "Type", + "tags": [], + "label": "PieVisExpressionFunctionDefinition", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"pie_vis\", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + ", ", + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.PieVisConfig", + "text": "PieVisConfig" + }, + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueRender", + "text": "ExpressionValueRender" + }, + "<", + "RenderValue", + ">, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/types/expression_functions.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PLUGIN_ID", + "type": "string", + "tags": [], + "label": "PLUGIN_ID", + "description": [], + "signature": [ + "\"expressionPie\"" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionPie", + "id": "def-common.PLUGIN_NAME", + "type": "string", + "tags": [], + "label": "PLUGIN_NAME", + "description": [], + "signature": [ + "\"expressionPie\"" + ], + "path": "src/plugins/chart_expressions/expression_pie/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/expression_pie.mdx b/api_docs/expression_pie.mdx new file mode 100644 index 0000000000000..67167c15a236c --- /dev/null +++ b/api_docs/expression_pie.mdx @@ -0,0 +1,46 @@ +--- +id: kibExpressionPiePluginApi +slug: /kibana-dev-docs/api/expressionPie +title: "expressionPie" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the expressionPie plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPie'] +warning: 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. +--- +import expressionPieObj from './expression_pie.json'; + +Expression Pie plugin adds a `pie` renderer and function to the expression plugin. The renderer will display the `pie` chart. + +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 43 | 0 | 43 | 2 | + +## Client + +### Consts, variables and types + + +## Server + +### Start + + +## Common + +### Functions + + +### Interfaces + + +### Enums + + +### Consts, variables and types + + diff --git a/api_docs/expression_repeat_image.json b/api_docs/expression_repeat_image.json index 27607eac3e043..14a4066628a97 100644 --- a/api_docs/expression_repeat_image.json +++ b/api_docs/expression_repeat_image.json @@ -186,7 +186,7 @@ "label": "repeatImageFunction", "description": [], "signature": [ - "() => { name: \"repeatImage\"; aliases: never[]; type: \"render\"; inputTypes: \"number\"[]; help: string; args: { emptyImage: { types: (\"string\" | \"null\")[]; help: string; default: null; }; image: { types: (\"string\" | \"null\")[]; help: string; default: null; }; max: { types: (\"number\" | \"null\")[]; help: string; default: number; }; size: { types: \"number\"[]; default: number; help: string; }; }; fn: (count: number, args: Arguments) => Promise<{ type: \"render\"; as: string; value: { image: string | null; emptyImage: string | null; size: number; max: number | null; count: number; }; }>; }" + "() => { name: \"repeatImage\"; aliases: never[]; type: string; inputTypes: \"number\"[]; help: string; args: { emptyImage: { types: (\"string\" | \"null\")[]; help: string; default: null; }; image: { types: (\"string\" | \"null\")[]; help: string; default: null; }; max: { types: (\"number\" | \"null\")[]; help: string; default: number; }; size: { types: \"number\"[]; default: number; help: string; }; }; fn: (count: number, args: Arguments) => Promise<{ type: \"render\"; as: string; value: { image: string | null; emptyImage: string | null; size: number; max: number | null; count: number; }; }>; }" ], "path": "src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.ts", "deprecated": false, @@ -430,13 +430,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", diff --git a/api_docs/expression_reveal_image.json b/api_docs/expression_reveal_image.json index f0f4f50143cf4..c736a3b7c69ae 100644 --- a/api_docs/expression_reveal_image.json +++ b/api_docs/expression_reveal_image.json @@ -174,7 +174,7 @@ "label": "revealImageFunction", "description": [], "signature": [ - "() => { name: \"revealImage\"; aliases: never[]; type: \"render\"; inputTypes: \"number\"[]; help: string; args: { image: { types: (\"string\" | \"null\")[]; help: string; default: null; }; emptyImage: { types: (\"string\" | \"null\")[]; help: string; default: null; }; origin: { types: \"string\"[]; help: string; default: string; options: ", + "() => { name: \"revealImage\"; aliases: never[]; type: string; inputTypes: \"number\"[]; help: string; args: { image: { types: (\"string\" | \"null\")[]; help: string; default: null; }; emptyImage: { types: (\"string\" | \"null\")[]; help: string; default: null; }; origin: { types: \"string\"[]; help: string; default: string; options: ", "Origin", "[]; }; }; fn: (percent: number, args: Arguments) => Promise<{ type: \"render\"; as: string; value: { image: string; emptyImage: string; origin: ", "Origin", diff --git a/api_docs/expression_shape.json b/api_docs/expression_shape.json index 4ea44f1d380d2..74311788d10a4 100644 --- a/api_docs/expression_shape.json +++ b/api_docs/expression_shape.json @@ -1463,13 +1463,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", @@ -1519,13 +1513,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", @@ -2418,13 +2406,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", @@ -2474,13 +2456,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index f377ee2a70bce..bc5f27850fb23 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -18,7 +18,7 @@ Contact [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-prese | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 148 | 0 | 148 | 0 | +| 148 | 0 | 146 | 0 | ## Client diff --git a/api_docs/expressions.json b/api_docs/expressions.json index 6307b0ebf5ad9..76dcc47168d8b 100644 --- a/api_docs/expressions.json +++ b/api_docs/expressions.json @@ -125,13 +125,7 @@ "text": "ExecutionContext" }, "" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -1366,36 +1360,6 @@ "children": [], "returnComment": [] }, - { - "parentPluginId": "expressions", - "id": "def-public.Executor.extendContext", - "type": "Function", - "tags": [], - "label": "extendContext", - "description": [], - "signature": [ - "(extraContext: Record) => void" - ], - "path": "src/plugins/expressions/common/executor/executor.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "expressions", - "id": "def-public.Executor.extendContext.$1", - "type": "Object", - "tags": [], - "label": "extraContext", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/expressions/common/executor/executor.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, { "parentPluginId": "expressions", "id": "def-public.Executor.context", @@ -1828,13 +1792,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">) => ", { "pluginId": "expressions", @@ -1863,13 +1821,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -2278,21 +2230,9 @@ "description": [], "signature": [ "{ [key: string]: (state: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ") => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", "; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", @@ -3447,13 +3387,7 @@ "description": [], "signature": [ "(value: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ", uiState?: unknown) => Promise" ], "path": "src/plugins/expressions/public/render.ts", @@ -3467,13 +3401,7 @@ "label": "value", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "src/plugins/expressions/public/render.ts", "deprecated": false, @@ -4948,13 +4876,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">) => ", { "pluginId": "expressions", @@ -4983,13 +4905,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -5182,13 +5098,7 @@ ], "signature": [ "((value: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ") => unknown) | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", @@ -5203,13 +5113,7 @@ "description": [], "signature": [ "((serialized: unknown[]) => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ") | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", @@ -7737,30 +7641,10 @@ "text": "KnownTypeToString" }, " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - "> | ", + "UnwrapObservable", + " : any> | ", { "pluginId": "expressions", "scope": "common", @@ -8011,13 +7895,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8071,13 +7949,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8115,13 +7987,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8159,13 +8025,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8203,13 +8063,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8271,13 +8125,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8339,13 +8187,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8407,13 +8249,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8475,13 +8311,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -9468,13 +9298,7 @@ "label": "searchContext", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined" ], "path": "src/plugins/expressions/public/types/index.ts", @@ -10659,13 +10483,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -11100,13 +10918,7 @@ "text": "ErrorLike" }, "; info?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -11248,13 +11060,7 @@ "text": "ErrorLike" }, "; info?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -11433,150 +11239,30 @@ ], "signature": [ "(T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends string ? \"string\" : (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends string ? \"string\" : (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends boolean ? \"boolean\" : (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends boolean ? \"boolean\" : (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends number ? \"number\" : (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends number ? \"number\" : (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends null ? \"null\" : (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends null ? \"null\" : (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends { type: string; } ? ({ type: string; } & (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends { type: string; } ? ({ type: string; } & (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - "))[\"type\"] : never" + "UnwrapObservable", + " : any))[\"type\"] : never" ], "path": "src/plugins/expressions/common/types/common.ts", "deprecated": false, @@ -12016,13 +11702,7 @@ "text": "ExecutionContext" }, "" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -13048,36 +12728,6 @@ "children": [], "returnComment": [] }, - { - "parentPluginId": "expressions", - "id": "def-server.Executor.extendContext", - "type": "Function", - "tags": [], - "label": "extendContext", - "description": [], - "signature": [ - "(extraContext: Record) => void" - ], - "path": "src/plugins/expressions/common/executor/executor.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "expressions", - "id": "def-server.Executor.extendContext.$1", - "type": "Object", - "tags": [], - "label": "extraContext", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/expressions/common/executor/executor.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, { "parentPluginId": "expressions", "id": "def-server.Executor.context", @@ -13510,13 +13160,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">) => ", { "pluginId": "expressions", @@ -13545,13 +13189,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -13960,21 +13598,9 @@ "description": [], "signature": [ "{ [key: string]: (state: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ") => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", "; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", @@ -15192,13 +14818,7 @@ ], "signature": [ "((value: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ") => unknown) | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", @@ -15213,13 +14833,7 @@ "description": [], "signature": [ "((serialized: unknown[]) => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ") | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", @@ -17714,30 +17328,10 @@ "text": "KnownTypeToString" }, " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - "> | ", + "UnwrapObservable", + " : any> | ", { "pluginId": "expressions", "scope": "common", @@ -17988,13 +17582,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -18048,13 +17636,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -18092,13 +17674,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -18136,13 +17712,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -18180,13 +17750,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -18248,13 +17812,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -18316,13 +17874,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -18384,13 +17936,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -18452,13 +17998,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -19580,13 +19120,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -19949,13 +19483,7 @@ "text": "ErrorLike" }, "; info?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -20097,13 +19625,7 @@ "text": "ErrorLike" }, "; info?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -20252,150 +19774,30 @@ ], "signature": [ "(T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends string ? \"string\" : (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends string ? \"string\" : (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends boolean ? \"boolean\" : (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends boolean ? \"boolean\" : (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends number ? \"number\" : (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends number ? \"number\" : (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends null ? \"null\" : (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends null ? \"null\" : (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends { type: string; } ? ({ type: string; } & (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends { type: string; } ? ({ type: string; } & (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - "))[\"type\"] : never" + "UnwrapObservable", + " : any))[\"type\"] : never" ], "path": "src/plugins/expressions/common/types/common.ts", "deprecated": false, @@ -20618,13 +20020,7 @@ "text": "ExecutionContext" }, "" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -21859,36 +21255,6 @@ "children": [], "returnComment": [] }, - { - "parentPluginId": "expressions", - "id": "def-common.Executor.extendContext", - "type": "Function", - "tags": [], - "label": "extendContext", - "description": [], - "signature": [ - "(extraContext: Record) => void" - ], - "path": "src/plugins/expressions/common/executor/executor.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "expressions", - "id": "def-common.Executor.extendContext.$1", - "type": "Object", - "tags": [], - "label": "extraContext", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/expressions/common/executor/executor.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, { "parentPluginId": "expressions", "id": "def-common.Executor.context", @@ -22321,13 +21687,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">) => ", { "pluginId": "expressions", @@ -22356,13 +21716,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -22771,21 +22125,9 @@ "description": [], "signature": [ "{ [key: string]: (state: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ") => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", "; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", @@ -24539,13 +23881,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">) => ", { "pluginId": "expressions", @@ -24574,13 +23910,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -24773,13 +24103,7 @@ ], "signature": [ "((value: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ") => unknown) | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", @@ -24794,13 +24118,7 @@ "description": [], "signature": [ "((serialized: unknown[]) => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ") | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", @@ -26233,13 +25551,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">" ], "path": "src/plugins/expressions/common/util/test_utils.ts", @@ -27517,13 +26829,7 @@ "\nany extra parameters for the source that produced this column" ], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", @@ -28622,59 +27928,6 @@ } ], "returnComment": [] - }, - { - "parentPluginId": "expressions", - "id": "def-common.ExecutorPureTransitions.extendContext", - "type": "Function", - "tags": [], - "label": "extendContext", - "description": [], - "signature": [ - "(state: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutorState", - "text": "ExecutorState" - }, - ">) => (extraContext: Record) => ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutorState", - "text": "ExecutorState" - }, - ">" - ], - "path": "src/plugins/expressions/common/executor/container.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "expressions", - "id": "def-common.ExecutorPureTransitions.extendContext.$1", - "type": "Object", - "tags": [], - "label": "state", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutorState", - "text": "ExecutorState" - }, - ">" - ], - "path": "src/plugins/expressions/common/executor/container.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] } ], "initialIsOpen": false @@ -29334,13 +28587,7 @@ "label": "searchContext", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -29455,19 +28702,6 @@ ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false - }, - { - "parentPluginId": "expressions", - "id": "def-common.ExpressionExecutionParams.extraContext", - "type": "Uncategorized", - "tags": [], - "label": "extraContext", - "description": [], - "signature": [ - "object | undefined" - ], - "path": "src/plugins/expressions/common/service/expressions_services.ts", - "deprecated": false } ], "initialIsOpen": false @@ -29558,30 +28792,10 @@ "text": "KnownTypeToString" }, " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - "> | ", + "UnwrapObservable", + " : any> | ", { "pluginId": "expressions", "scope": "common", @@ -29832,13 +29046,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -29892,13 +29100,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -29936,13 +29138,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -29980,13 +29176,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -30024,13 +29214,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -30092,13 +29276,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -30160,13 +29338,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -30228,81 +29400,69 @@ "text": "Adapters" }, ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/expressions/common/expression_functions/types.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.ExpressionFunctionDefinitions.moving_average", + "type": "Object", + "tags": [], + "label": "moving_average", + "description": [], + "signature": [ { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, - ">>" - ], - "path": "src/plugins/expressions/common/expression_functions/types.ts", - "deprecated": false - }, - { - "parentPluginId": "expressions", - "id": "def-common.ExpressionFunctionDefinitions.moving_average", - "type": "Object", - "tags": [], - "label": "moving_average", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"moving_average\", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.Datatable", - "text": "Datatable" - }, - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.MovingAverageArgs", - "text": "MovingAverageArgs" - }, - ", Promise<", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.Datatable", - "text": "Datatable" - }, - ">, ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"moving_average\", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" }, + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.MovingAverageArgs", + "text": "MovingAverageArgs" + }, + ", Promise<", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + ">, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -32824,13 +31984,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -33193,13 +32347,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/clog.ts", @@ -33262,13 +32410,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts", @@ -33331,13 +32473,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts", @@ -33392,13 +32528,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", @@ -33461,13 +32591,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts", @@ -33530,13 +32654,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts", @@ -33575,13 +32693,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", @@ -33636,13 +32748,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/ui_setting.ts", @@ -33681,13 +32787,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", @@ -33726,13 +32826,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", @@ -33843,13 +32937,7 @@ "text": "ErrorLike" }, "; info?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -34013,13 +33101,7 @@ "text": "ErrorLike" }, "; info?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -34280,14 +33362,6 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/browser/markdown.d.ts" }, - { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/pie_fn.ts" - }, - { - "plugin": "visTypePie", - "path": "src/plugins/vis_types/pie/public/pie_fn.ts" - }, { "plugin": "visTypeXy", "path": "src/plugins/vis_types/xy/public/expression_functions/xy_vis_fn.ts" @@ -34381,150 +33455,30 @@ ], "signature": [ "(T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends string ? \"string\" : (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends string ? \"string\" : (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends boolean ? \"boolean\" : (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends boolean ? \"boolean\" : (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends number ? \"number\" : (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends number ? \"number\" : (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends null ? \"null\" : (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends null ? \"null\" : (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - ") extends { type: string; } ? ({ type: string; } & (T extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.ObservableLike", - "text": "ObservableLike" - }, + "UnwrapObservable", + " : any) extends { type: string; } ? ({ type: string; } & (T extends ", + "ObservableLike", " ? ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapObservable", - "text": "UnwrapObservable" - }, - " : ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.UnwrapPromiseOrReturn", - "text": "UnwrapPromiseOrReturn" - }, - "))[\"type\"] : never" + "UnwrapObservable", + " : any))[\"type\"] : never" ], "path": "src/plugins/expressions/common/types/common.ts", "deprecated": false, @@ -34984,9 +33938,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"datatable\"" - ], "path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts", "deprecated": false }, @@ -35306,9 +34257,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"datatable\"" - ], "path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts", "deprecated": false }, @@ -36067,9 +35015,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"datatable\"" - ], "path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts", "deprecated": false }, @@ -36824,9 +35769,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"style\"" - ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false }, @@ -38319,9 +37261,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"datatable\"" - ], "path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts", "deprecated": false }, @@ -38584,13 +37523,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">) => Promise<", { "pluginId": "expressions", @@ -38668,13 +37601,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts", @@ -38719,9 +37646,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"datatable\"" - ], "path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts", "deprecated": false }, @@ -39678,9 +38602,6 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "\"datatable\"" - ], "path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts", "deprecated": false }, @@ -40533,67 +39454,6 @@ } ], "returnComment": [] - }, - { - "parentPluginId": "expressions", - "id": "def-common.pureTransitions.extendContext", - "type": "Function", - "tags": [], - "label": "extendContext", - "description": [], - "signature": [ - "(state: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutorState", - "text": "ExecutorState" - }, - ">) => (extraContext: Record) => { context: { [x: string]: unknown; }; functions: Record; types: Record; }" - ], - "path": "src/plugins/expressions/common/executor/container.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "expressions", - "id": "def-common.pureTransitions.extendContext.$1", - "type": "Object", - "tags": [], - "label": "state", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutorState", - "text": "ExecutorState" - }, - ">" - ], - "path": "src/plugins/expressions/common/executor/container.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] } ], "initialIsOpen": false @@ -41321,13 +40181,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">) => any" ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", @@ -41385,13 +40239,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", @@ -41808,13 +40656,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">) => unknown" ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", @@ -41872,13 +40714,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", @@ -41952,7 +40788,7 @@ "label": "types", "description": [], "signature": [ - "\"string\"[]" + "string[]" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", "deprecated": false @@ -42083,13 +40919,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">) => unknown" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", @@ -42147,13 +40977,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 305319b69aa29..ff6d90b6c5e1a 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2104 | 26 | 1658 | 3 | +| 2093 | 26 | 1645 | 3 | ## Client diff --git a/api_docs/features.json b/api_docs/features.json index c53ca8a43a172..4f64a0a1f0189 100644 --- a/api_docs/features.json +++ b/api_docs/features.json @@ -53,7 +53,7 @@ "label": "config", "description": [], "signature": [ - "Readonly<{ id: string; name: string; category: Readonly<{ id: string; label: string; ariaLabel?: string | undefined; order?: number | undefined; euiIconType?: string | undefined; }>; order?: number | undefined; excludeFromBasePrivileges?: boolean | undefined; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; app: readonly string[]; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: readonly string[] | undefined; cases?: readonly string[] | undefined; privileges: Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null; subFeatures?: readonly Readonly<{ name: string; privilegeGroups: readonly Readonly<{ groupType: ", + "Readonly<{ id: string; name: string; category: Readonly<{ id: string; label: string; ariaLabel?: string | undefined; order?: number | undefined; euiIconType?: string | undefined; }>; order?: number | undefined; excludeFromBasePrivileges?: boolean | undefined; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; app: readonly string[]; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: readonly string[] | undefined; cases?: readonly string[] | undefined; privileges: Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null; subFeatures?: readonly Readonly<{ name: string; privilegeGroups: readonly Readonly<{ groupType: ", { "pluginId": "features", "scope": "common", @@ -61,7 +61,7 @@ "section": "def-common.SubFeaturePrivilegeGroupType", "text": "SubFeaturePrivilegeGroupType" }, - "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; ui: readonly string[]; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; app?: readonly string[] | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>" + "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; ui: readonly string[]; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; app?: readonly string[] | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, @@ -176,7 +176,7 @@ "label": "privileges", "description": [], "signature": [ - "Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null" + "Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false @@ -225,7 +225,7 @@ "label": "reserved", "description": [], "signature": [ - "Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined" + "Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false @@ -285,6 +285,72 @@ "path": "x-pack/plugins/features/common/feature_kibana_privileges.ts", "deprecated": false }, + { + "parentPluginId": "features", + "id": "def-public.FeatureKibanaPrivileges.requireAllSpaces", + "type": "CompoundType", + "tags": [], + "label": "requireAllSpaces", + "description": [ + "\nWhether or not this privilege should only be granted to `All Spaces *`. Should be used for features that do not\nsupport Spaces. Defaults to `false`." + ], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/features/common/feature_kibana_privileges.ts", + "deprecated": false + }, + { + "parentPluginId": "features", + "id": "def-public.FeatureKibanaPrivileges.disabled", + "type": "CompoundType", + "tags": [ + "deprecated" + ], + "label": "disabled", + "description": [ + "\nWhether or not this privilege should be hidden in the roles UI and disallowed on the API. Defaults to `false`." + ], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/features/common/feature_kibana_privileges.ts", + "deprecated": true, + "references": [ + { + "plugin": "security", + "path": "x-pack/plugins/security/server/authorization/roles/elasticsearch_role.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/model/primary_feature_privilege.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/authorization/roles/elasticsearch_role.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/__fixtures__/kibana_features.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/put.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.test.ts" + } + ] + }, { "parentPluginId": "features", "id": "def-public.FeatureKibanaPrivileges.management", @@ -888,29 +954,11 @@ "description": [], "signature": [ "Readonly<{ id: string; management?: Readonly<{ [x: string]: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonlyArray", - "text": "RecursiveReadonlyArray" - }, + "RecursiveReadonlyArray", "; }> | undefined; catalogue?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonlyArray", - "text": "RecursiveReadonlyArray" - }, + "RecursiveReadonlyArray", " | undefined; privileges: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonlyArray", - "text": "RecursiveReadonlyArray" - }, + "RecursiveReadonlyArray", "<", { "pluginId": "features", @@ -946,13 +994,7 @@ "label": "catalogue", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonlyArray", - "text": "RecursiveReadonlyArray" - }, + "RecursiveReadonlyArray", " | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -967,13 +1009,7 @@ "description": [], "signature": [ "Readonly<{ [x: string]: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonlyArray", - "text": "RecursiveReadonlyArray" - }, + "RecursiveReadonlyArray", "; }> | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -987,13 +1023,7 @@ "label": "privileges", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonlyArray", - "text": "RecursiveReadonlyArray" - }, + "RecursiveReadonlyArray", "<", { "pluginId": "features", @@ -1083,7 +1113,7 @@ "label": "config", "description": [], "signature": [ - "Readonly<{ id: string; name: string; category: Readonly<{ id: string; label: string; ariaLabel?: string | undefined; order?: number | undefined; euiIconType?: string | undefined; }>; order?: number | undefined; excludeFromBasePrivileges?: boolean | undefined; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; app: readonly string[]; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: readonly string[] | undefined; cases?: readonly string[] | undefined; privileges: Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null; subFeatures?: readonly Readonly<{ name: string; privilegeGroups: readonly Readonly<{ groupType: ", + "Readonly<{ id: string; name: string; category: Readonly<{ id: string; label: string; ariaLabel?: string | undefined; order?: number | undefined; euiIconType?: string | undefined; }>; order?: number | undefined; excludeFromBasePrivileges?: boolean | undefined; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; app: readonly string[]; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: readonly string[] | undefined; cases?: readonly string[] | undefined; privileges: Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null; subFeatures?: readonly Readonly<{ name: string; privilegeGroups: readonly Readonly<{ groupType: ", { "pluginId": "features", "scope": "common", @@ -1091,7 +1121,7 @@ "section": "def-common.SubFeaturePrivilegeGroupType", "text": "SubFeaturePrivilegeGroupType" }, - "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; ui: readonly string[]; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; app?: readonly string[] | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>" + "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; ui: readonly string[]; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; app?: readonly string[] | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, @@ -1206,7 +1236,7 @@ "label": "privileges", "description": [], "signature": [ - "Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null" + "Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false @@ -1255,7 +1285,7 @@ "label": "reserved", "description": [], "signature": [ - "Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined" + "Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false @@ -1483,6 +1513,72 @@ "path": "x-pack/plugins/features/common/feature_kibana_privileges.ts", "deprecated": false }, + { + "parentPluginId": "features", + "id": "def-server.FeatureKibanaPrivileges.requireAllSpaces", + "type": "CompoundType", + "tags": [], + "label": "requireAllSpaces", + "description": [ + "\nWhether or not this privilege should only be granted to `All Spaces *`. Should be used for features that do not\nsupport Spaces. Defaults to `false`." + ], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/features/common/feature_kibana_privileges.ts", + "deprecated": false + }, + { + "parentPluginId": "features", + "id": "def-server.FeatureKibanaPrivileges.disabled", + "type": "CompoundType", + "tags": [ + "deprecated" + ], + "label": "disabled", + "description": [ + "\nWhether or not this privilege should be hidden in the roles UI and disallowed on the API. Defaults to `false`." + ], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/features/common/feature_kibana_privileges.ts", + "deprecated": true, + "references": [ + { + "plugin": "security", + "path": "x-pack/plugins/security/server/authorization/roles/elasticsearch_role.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/model/primary_feature_privilege.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/authorization/roles/elasticsearch_role.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/__fixtures__/kibana_features.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/put.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.test.ts" + } + ] + }, { "parentPluginId": "features", "id": "def-server.FeatureKibanaPrivileges.management", @@ -2315,29 +2411,11 @@ "description": [], "signature": [ "Readonly<{ id: string; management?: Readonly<{ [x: string]: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonlyArray", - "text": "RecursiveReadonlyArray" - }, + "RecursiveReadonlyArray", "; }> | undefined; catalogue?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonlyArray", - "text": "RecursiveReadonlyArray" - }, + "RecursiveReadonlyArray", " | undefined; privileges: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonlyArray", - "text": "RecursiveReadonlyArray" - }, + "RecursiveReadonlyArray", "<", { "pluginId": "features", @@ -2373,13 +2451,7 @@ "label": "catalogue", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonlyArray", - "text": "RecursiveReadonlyArray" - }, + "RecursiveReadonlyArray", " | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -2394,13 +2466,7 @@ "description": [], "signature": [ "Readonly<{ [x: string]: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonlyArray", - "text": "RecursiveReadonlyArray" - }, + "RecursiveReadonlyArray", "; }> | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -2414,13 +2480,7 @@ "label": "privileges", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonlyArray", - "text": "RecursiveReadonlyArray" - }, + "RecursiveReadonlyArray", "<", { "pluginId": "features", @@ -2510,7 +2570,7 @@ "label": "config", "description": [], "signature": [ - "Readonly<{ id: string; name: string; category: Readonly<{ id: string; label: string; ariaLabel?: string | undefined; order?: number | undefined; euiIconType?: string | undefined; }>; order?: number | undefined; excludeFromBasePrivileges?: boolean | undefined; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; app: readonly string[]; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: readonly string[] | undefined; cases?: readonly string[] | undefined; privileges: Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null; subFeatures?: readonly Readonly<{ name: string; privilegeGroups: readonly Readonly<{ groupType: ", + "Readonly<{ id: string; name: string; category: Readonly<{ id: string; label: string; ariaLabel?: string | undefined; order?: number | undefined; euiIconType?: string | undefined; }>; order?: number | undefined; excludeFromBasePrivileges?: boolean | undefined; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; app: readonly string[]; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: readonly string[] | undefined; cases?: readonly string[] | undefined; privileges: Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null; subFeatures?: readonly Readonly<{ name: string; privilegeGroups: readonly Readonly<{ groupType: ", { "pluginId": "features", "scope": "common", @@ -2518,7 +2578,7 @@ "section": "def-common.SubFeaturePrivilegeGroupType", "text": "SubFeaturePrivilegeGroupType" }, - "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; ui: readonly string[]; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; app?: readonly string[] | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>" + "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; ui: readonly string[]; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; app?: readonly string[] | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, @@ -2633,7 +2693,7 @@ "label": "privileges", "description": [], "signature": [ - "Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null" + "Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false @@ -2682,7 +2742,7 @@ "label": "reserved", "description": [], "signature": [ - "Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined" + "Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; requireAllSpaces?: boolean | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false @@ -2751,7 +2811,7 @@ "section": "def-common.SubFeaturePrivilegeGroupType", "text": "SubFeaturePrivilegeGroupType" }, - "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; ui: readonly string[]; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; app?: readonly string[] | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>" + "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; ui: readonly string[]; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; app?: readonly string[] | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>" ], "path": "x-pack/plugins/features/common/sub_feature.ts", "deprecated": false, @@ -2786,7 +2846,7 @@ "section": "def-common.SubFeaturePrivilegeGroupType", "text": "SubFeaturePrivilegeGroupType" }, - "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; ui: readonly string[]; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; app?: readonly string[] | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]" + "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; ui: readonly string[]; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; app?: readonly string[] | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]" ], "path": "x-pack/plugins/features/common/sub_feature.ts", "deprecated": false @@ -2807,7 +2867,7 @@ "section": "def-common.SubFeaturePrivilegeGroupType", "text": "SubFeaturePrivilegeGroupType" }, - "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; ui: readonly string[]; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; app?: readonly string[] | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }" + "; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; disabled?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; ui: readonly string[]; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; app?: readonly string[] | undefined; cases?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; requireAllSpaces?: boolean | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }" ], "path": "x-pack/plugins/features/common/sub_feature.ts", "deprecated": false, @@ -3015,6 +3075,72 @@ "path": "x-pack/plugins/features/common/feature_kibana_privileges.ts", "deprecated": false }, + { + "parentPluginId": "features", + "id": "def-common.FeatureKibanaPrivileges.requireAllSpaces", + "type": "CompoundType", + "tags": [], + "label": "requireAllSpaces", + "description": [ + "\nWhether or not this privilege should only be granted to `All Spaces *`. Should be used for features that do not\nsupport Spaces. Defaults to `false`." + ], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/features/common/feature_kibana_privileges.ts", + "deprecated": false + }, + { + "parentPluginId": "features", + "id": "def-common.FeatureKibanaPrivileges.disabled", + "type": "CompoundType", + "tags": [ + "deprecated" + ], + "label": "disabled", + "description": [ + "\nWhether or not this privilege should be hidden in the roles UI and disallowed on the API. Defaults to `false`." + ], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/features/common/feature_kibana_privileges.ts", + "deprecated": true, + "references": [ + { + "plugin": "security", + "path": "x-pack/plugins/security/server/authorization/roles/elasticsearch_role.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/model/primary_feature_privilege.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/authorization/roles/elasticsearch_role.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/__fixtures__/kibana_features.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/put.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.test.ts" + } + ] + }, { "parentPluginId": "features", "id": "def-common.FeatureKibanaPrivileges.management", diff --git a/api_docs/features.mdx b/api_docs/features.mdx index 05d5b10dae2ce..c75ce5befaba2 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 216 | 0 | 98 | 2 | +| 222 | 0 | 98 | 2 | ## Client diff --git a/api_docs/field_formats.json b/api_docs/field_formats.json index 1ff1510780fb9..fbe312ee376af 100644 --- a/api_docs/field_formats.json +++ b/api_docs/field_formats.json @@ -2927,6 +2927,137 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "fieldFormats", + "id": "def-common.GeoPointFormat", + "type": "Class", + "tags": [], + "label": "GeoPointFormat", + "description": [], + "signature": [ + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.GeoPointFormat", + "text": "GeoPointFormat" + }, + " extends ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + } + ], + "path": "src/plugins/field_formats/common/converters/geo_point.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "fieldFormats", + "id": "def-common.GeoPointFormat.id", + "type": "Enum", + "tags": [], + "label": "id", + "description": [], + "signature": [ + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FIELD_FORMAT_IDS", + "text": "FIELD_FORMAT_IDS" + } + ], + "path": "src/plugins/field_formats/common/converters/geo_point.ts", + "deprecated": false + }, + { + "parentPluginId": "fieldFormats", + "id": "def-common.GeoPointFormat.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/field_formats/common/converters/geo_point.ts", + "deprecated": false + }, + { + "parentPluginId": "fieldFormats", + "id": "def-common.GeoPointFormat.fieldType", + "type": "Array", + "tags": [], + "label": "fieldType", + "description": [], + "signature": [ + "KBN_FIELD_TYPES", + "[]" + ], + "path": "src/plugins/field_formats/common/converters/geo_point.ts", + "deprecated": false + }, + { + "parentPluginId": "fieldFormats", + "id": "def-common.GeoPointFormat.transformOptions", + "type": "Array", + "tags": [], + "label": "transformOptions", + "description": [], + "signature": [ + "{ kind: string; text: string; }[]" + ], + "path": "src/plugins/field_formats/common/converters/geo_point.ts", + "deprecated": false + }, + { + "parentPluginId": "fieldFormats", + "id": "def-common.GeoPointFormat.getParamDefaults", + "type": "Function", + "tags": [], + "label": "getParamDefaults", + "description": [], + "signature": [ + "() => { transform: string; }" + ], + "path": "src/plugins/field_formats/common/converters/geo_point.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "fieldFormats", + "id": "def-common.GeoPointFormat.textConvert", + "type": "Function", + "tags": [], + "label": "textConvert", + "description": [], + "signature": [ + "(val: string | GeoJSON.Point | { lat: number; lon: number; }) => string" + ], + "path": "src/plugins/field_formats/common/converters/geo_point.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "fieldFormats", + "id": "def-common.GeoPointFormat.textConvert.$1", + "type": "CompoundType", + "tags": [], + "label": "val", + "description": [], + "signature": [ + "string | GeoJSON.Point | { lat: number; lon: number; }" + ], + "path": "src/plugins/field_formats/common/converters/geo_point.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, { "parentPluginId": "fieldFormats", "id": "def-common.HistogramFormat", diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index c88dc64a6ad66..7e756274c1036 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 278 | 6 | 239 | 3 | +| 286 | 6 | 247 | 3 | ## Client diff --git a/api_docs/file_upload.json b/api_docs/file_upload.json index 648cbcf1cc3c2..fed190559c098 100644 --- a/api_docs/file_upload.json +++ b/api_docs/file_upload.json @@ -1893,6 +1893,50 @@ "initialIsOpen": false } ], - "objects": [] + "objects": [ + { + "parentPluginId": "fileUpload", + "id": "def-common.FILE_FORMATS", + "type": "Object", + "tags": [], + "label": "FILE_FORMATS", + "description": [], + "path": "x-pack/plugins/file_upload/common/constants.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "fileUpload", + "id": "def-common.FILE_FORMATS.DELIMITED", + "type": "string", + "tags": [], + "label": "DELIMITED", + "description": [], + "path": "x-pack/plugins/file_upload/common/constants.ts", + "deprecated": false + }, + { + "parentPluginId": "fileUpload", + "id": "def-common.FILE_FORMATS.NDJSON", + "type": "string", + "tags": [], + "label": "NDJSON", + "description": [], + "path": "x-pack/plugins/file_upload/common/constants.ts", + "deprecated": false + }, + { + "parentPluginId": "fileUpload", + "id": "def-common.FILE_FORMATS.SEMI_STRUCTURED_TEXT", + "type": "string", + "tags": [], + "label": "SEMI_STRUCTURED_TEXT", + "description": [], + "path": "x-pack/plugins/file_upload/common/constants.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] } } \ No newline at end of file diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index 542fd4bd168a6..aa073546296e7 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -18,7 +18,7 @@ Contact [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) for q | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 129 | 2 | 129 | 1 | +| 133 | 2 | 133 | 1 | ## Client @@ -30,6 +30,9 @@ Contact [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) for q ## Common +### Objects + + ### Interfaces diff --git a/api_docs/fleet.json b/api_docs/fleet.json index 07cc158a92943..8845a6c2e05bc 100644 --- a/api_docs/fleet.json +++ b/api_docs/fleet.json @@ -5301,8 +5301,7 @@ "docId": "kibSecurityPluginApi", "section": "def-server.SecurityPluginSetup", "text": "SecurityPluginSetup" - }, - " | undefined" + } ], "path": "x-pack/plugins/fleet/server/plugin.ts", "deprecated": false @@ -18738,7 +18737,7 @@ "label": "RegistrySearchResult", "description": [], "signature": [ - "{ download: string; type?: \"integration\" | undefined; title: string; description: string; icons?: (", + "{ download: string; title: string; type?: \"integration\" | undefined; description: string; icons?: (", { "pluginId": "fleet", "scope": "common", diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index e928b265e885f..57c85b8c4f0dd 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -18,7 +18,7 @@ Contact [Fleet](https://github.com/orgs/elastic/teams/fleet) for questions regar | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 1268 | 8 | 1156 | 10 | +| 1268 | 8 | 1152 | 10 | ## Client diff --git a/api_docs/global_search.json b/api_docs/global_search.json index 8279c9754b891..1dcfc8ae83bac 100644 --- a/api_docs/global_search.json +++ b/api_docs/global_search.json @@ -297,13 +297,7 @@ ], "signature": [ "Record | undefined" ], "path": "x-pack/plugins/global_search/common/types.ts", @@ -809,13 +803,7 @@ ], "signature": [ "Record | undefined" ], "path": "x-pack/plugins/global_search/common/types.ts", diff --git a/api_docs/home.json b/api_docs/home.json index 201d59db2b3f1..0a2eb52e56322 100644 --- a/api_docs/home.json +++ b/api_docs/home.json @@ -1464,7 +1464,7 @@ "label": "InstructionsSchema", "description": [], "signature": [ - "{ readonly params?: Readonly<{ defaultValue?: any; } & { label: string; type: \"string\" | \"number\"; id: string; }>[] | undefined; readonly instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }" + "{ readonly params?: Readonly<{ defaultValue?: any; } & { label: string; id: string; type: \"string\" | \"number\"; }>[] | undefined; readonly instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }" ], "path": "src/plugins/home/server/services/tutorials/lib/tutorial_schema.ts", "deprecated": false, @@ -1479,14 +1479,8 @@ "description": [], "signature": [ "{ getSampleDatasets: () => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Writable", - "text": "Writable" - }, - "[]; previewImagePath: string; overviewDashboard: string; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ", + "Writable", + "[]; previewImagePath: string; overviewDashboard: string; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ", "SavedObject", "[]) => void; addAppLinksToSampleDataset: (id: string, appLinks: ", { @@ -1519,14 +1513,8 @@ "description": [], "signature": [ "() => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Writable", - "text": "Writable" - }, - "[]; previewImagePath: string; overviewDashboard: string; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>" + "Writable", + "[]; previewImagePath: string; overviewDashboard: string; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>" ], "path": "src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts", "deprecated": false, @@ -1580,7 +1568,7 @@ "section": "def-server.TutorialContext", "text": "TutorialContext" }, - ") => Readonly<{ isBeta?: boolean | undefined; savedObjects?: any[] | undefined; euiIconType?: string | undefined; previewImagePath?: string | undefined; moduleName?: string | undefined; completionTimeMinutes?: number | undefined; elasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { label: string; type: \"string\" | \"number\"; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; onPremElasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { label: string; type: \"string\" | \"number\"; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; artifacts?: Readonly<{ application?: Readonly<{} & { label: string; path: string; }> | undefined; exportedFields?: Readonly<{} & { documentationUrl: string; }> | undefined; } & { dashboards: Readonly<{ linkLabel?: string | undefined; } & { id: string; isOverview: boolean; }>[]; }> | undefined; savedObjectsInstallMsg?: string | undefined; customStatusCheckName?: string | undefined; integrationBrowserCategories?: string[] | undefined; eprPackageOverlap?: string | undefined; } & { id: string; name: string; category: \"other\" | \"security\" | \"metrics\" | \"logging\"; shortDescription: string; longDescription: string; onPrem: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { label: string; type: \"string\" | \"number\"; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }>; }>" + ") => Readonly<{ isBeta?: boolean | undefined; savedObjects?: any[] | undefined; euiIconType?: string | undefined; previewImagePath?: string | undefined; moduleName?: string | undefined; completionTimeMinutes?: number | undefined; elasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { label: string; id: string; type: \"string\" | \"number\"; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; onPremElasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { label: string; id: string; type: \"string\" | \"number\"; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; artifacts?: Readonly<{ application?: Readonly<{} & { label: string; path: string; }> | undefined; exportedFields?: Readonly<{} & { documentationUrl: string; }> | undefined; } & { dashboards: Readonly<{ linkLabel?: string | undefined; } & { id: string; isOverview: boolean; }>[]; }> | undefined; savedObjectsInstallMsg?: string | undefined; customStatusCheckName?: string | undefined; integrationBrowserCategories?: string[] | undefined; eprPackageOverlap?: string | undefined; } & { id: string; name: string; category: \"other\" | \"security\" | \"metrics\" | \"logging\"; shortDescription: string; longDescription: string; onPrem: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { label: string; id: string; type: \"string\" | \"number\"; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }>; }>" ], "path": "src/plugins/home/server/services/tutorials/lib/tutorials_registry_types.ts", "deprecated": false, @@ -1616,7 +1604,7 @@ "label": "TutorialSchema", "description": [], "signature": [ - "{ readonly isBeta?: boolean | undefined; readonly savedObjects?: any[] | undefined; readonly euiIconType?: string | undefined; readonly previewImagePath?: string | undefined; readonly moduleName?: string | undefined; readonly completionTimeMinutes?: number | undefined; readonly elasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { label: string; type: \"string\" | \"number\"; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; readonly onPremElasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { label: string; type: \"string\" | \"number\"; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; readonly artifacts?: Readonly<{ application?: Readonly<{} & { label: string; path: string; }> | undefined; exportedFields?: Readonly<{} & { documentationUrl: string; }> | undefined; } & { dashboards: Readonly<{ linkLabel?: string | undefined; } & { id: string; isOverview: boolean; }>[]; }> | undefined; readonly savedObjectsInstallMsg?: string | undefined; readonly customStatusCheckName?: string | undefined; readonly integrationBrowserCategories?: string[] | undefined; readonly eprPackageOverlap?: string | undefined; readonly id: string; readonly name: string; readonly category: \"other\" | \"security\" | \"metrics\" | \"logging\"; readonly shortDescription: string; readonly longDescription: string; readonly onPrem: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { label: string; type: \"string\" | \"number\"; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }>; }" + "{ readonly isBeta?: boolean | undefined; readonly savedObjects?: any[] | undefined; readonly euiIconType?: string | undefined; readonly previewImagePath?: string | undefined; readonly moduleName?: string | undefined; readonly completionTimeMinutes?: number | undefined; readonly elasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { label: string; id: string; type: \"string\" | \"number\"; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; readonly onPremElasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { label: string; id: string; type: \"string\" | \"number\"; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; readonly artifacts?: Readonly<{ application?: Readonly<{} & { label: string; path: string; }> | undefined; exportedFields?: Readonly<{} & { documentationUrl: string; }> | undefined; } & { dashboards: Readonly<{ linkLabel?: string | undefined; } & { id: string; isOverview: boolean; }>[]; }> | undefined; readonly savedObjectsInstallMsg?: string | undefined; readonly customStatusCheckName?: string | undefined; readonly integrationBrowserCategories?: string[] | undefined; readonly eprPackageOverlap?: string | undefined; readonly id: string; readonly name: string; readonly category: \"other\" | \"security\" | \"metrics\" | \"logging\"; readonly shortDescription: string; readonly longDescription: string; readonly onPrem: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { label: string; id: string; type: \"string\" | \"number\"; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ message?: string | undefined; iconType?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; error?: string | undefined; text?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{ initialSelected?: boolean | undefined; } & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }>; }" ], "path": "src/plugins/home/server/services/tutorials/lib/tutorial_schema.ts", "deprecated": false, @@ -1874,14 +1862,8 @@ "description": [], "signature": [ "{ getSampleDatasets: () => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Writable", - "text": "Writable" - }, - "[]; previewImagePath: string; overviewDashboard: string; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ", + "Writable", + "[]; previewImagePath: string; overviewDashboard: string; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ", "SavedObject", "[]) => void; addAppLinksToSampleDataset: (id: string, appLinks: ", { diff --git a/api_docs/home.mdx b/api_docs/home.mdx index 025d133d9cde1..08dc94f310dfe 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 133 | 0 | 103 | 0 | +| 133 | 0 | 97 | 0 | ## Client diff --git a/api_docs/index_lifecycle_management.json b/api_docs/index_lifecycle_management.json index a9ba03331707a..cf986a92aaaae 100644 --- a/api_docs/index_lifecycle_management.json +++ b/api_docs/index_lifecycle_management.json @@ -20,13 +20,7 @@ "text": "IlmLocatorParams" }, " extends ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "x-pack/plugins/index_lifecycle_management/public/locator.ts", "deprecated": false, diff --git a/api_docs/kbn_es_query.json b/api_docs/kbn_es_query.json index 1c209df745cc9..da14ca58214f7 100644 --- a/api_docs/kbn_es_query.json +++ b/api_docs/kbn_es_query.json @@ -578,13 +578,7 @@ "text": "FILTERS" }, ", negate: boolean, disabled: boolean, params: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ", alias: string | null, store: ", { "pluginId": "@kbn/es-query", @@ -705,13 +699,7 @@ "label": "params", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - } + "Serializable" ], "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", "deprecated": false, @@ -1486,13 +1474,7 @@ "(query: ", "QueryDslQueryContainer", ", queryStringOptions: string | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ", dateFormatTZ: string | undefined) => ", "QueryDslQueryContainer" ], @@ -1526,13 +1508,7 @@ ], "signature": [ "string | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "packages/kbn-es-query/src/es_query/decorate_query.ts", "deprecated": false, @@ -3254,15 +3230,14 @@ { "parentPluginId": "@kbn/es-query", "id": "def-common.DataViewFieldBase.lang", - "type": "CompoundType", + "type": "string", "tags": [], "label": "lang", "description": [ "\nScripted field langauge\nPainless is the only valid scripted field language" ], "signature": [ - "ScriptLanguage", - " | undefined" + "string | undefined" ], "path": "packages/kbn-es-query/src/es_query/types.ts", "deprecated": false @@ -3835,13 +3810,7 @@ "text": "KueryQueryOptions" }, " & { allowLeadingWildcards: boolean; queryStringOptions: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", "; ignoreFilterIfFieldNotInIndex: boolean; }" ], "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", @@ -3993,52 +3962,6 @@ "deprecated": false, "initialIsOpen": false }, - { - "parentPluginId": "@kbn/es-query", - "id": "def-common.IndexPatternBase", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternBase", - "description": [], - "signature": [ - { - "pluginId": "@kbn/es-query", - "scope": "common", - "docId": "kibKbnEsQueryPluginApi", - "section": "def-common.DataViewBase", - "text": "DataViewBase" - } - ], - "path": "packages/kbn-es-query/src/es_query/types.ts", - "deprecated": true, - "references": [], - "initialIsOpen": false - }, - { - "parentPluginId": "@kbn/es-query", - "id": "def-common.IndexPatternFieldBase", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternFieldBase", - "description": [], - "signature": [ - { - "pluginId": "@kbn/es-query", - "scope": "common", - "docId": "kibKbnEsQueryPluginApi", - "section": "def-common.DataViewFieldBase", - "text": "DataViewFieldBase" - } - ], - "path": "packages/kbn-es-query/src/es_query/types.ts", - "deprecated": true, - "references": [], - "initialIsOpen": false - }, { "parentPluginId": "@kbn/es-query", "id": "def-common.MatchAllFilter", diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index 56ce2ca834d44..c329aeb2e36b1 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -18,7 +18,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 212 | 1 | 160 | 11 | +| 210 | 1 | 158 | 11 | ## Common diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index 77e9cfbeed008..a177fca031847 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -18,7 +18,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 466 | 1 | 377 | 0 | +| 466 | 1 | 1 | 0 | ## Server diff --git a/api_docs/kbn_rule_data_utils.json b/api_docs/kbn_rule_data_utils.json index 5f0a303e266f2..bf60cb3346bfc 100644 --- a/api_docs/kbn_rule_data_utils.json +++ b/api_docs/kbn_rule_data_utils.json @@ -54,7 +54,7 @@ ], "signature": [ "(sortIds: ", - "SearchSortResults", + "SortResults", " | null | undefined) => (string | number)[] | null | undefined" ], "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", @@ -67,10 +67,10 @@ "tags": [], "label": "sortIds", "description": [ - "estypes.SearchSortResults | undefined" + "estypes.SortResults | undefined" ], "signature": [ - "SearchSortResults", + "SortResults", " | null | undefined" ], "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", diff --git a/api_docs/kbn_securitysolution_autocomplete.json b/api_docs/kbn_securitysolution_autocomplete.json index fd327f5dfacaf..0aa872b1cbfc3 100644 --- a/api_docs/kbn_securitysolution_autocomplete.json +++ b/api_docs/kbn_securitysolution_autocomplete.json @@ -414,13 +414,7 @@ "(field: ", "DataViewFieldBase", " | undefined) => ", - { - "pluginId": "@kbn/securitysolution-list-utils", - "scope": "common", - "docId": "kibKbnSecuritysolutionListUtilsPluginApi", - "section": "def-common.OperatorOption", - "text": "OperatorOption" - }, + "OperatorOption", "[]" ], "path": "packages/kbn-securitysolution-autocomplete/src/get_operators/index.ts", @@ -433,7 +427,7 @@ "tags": [], "label": "field", "description": [ - "IndexPatternFieldBase selected field" + "DataViewFieldBase selected field" ], "signature": [ "DataViewFieldBase", diff --git a/api_docs/kbn_securitysolution_es_utils.json b/api_docs/kbn_securitysolution_es_utils.json index ad1190cfabe80..057adfd0b97eb 100644 --- a/api_docs/kbn_securitysolution_es_utils.json +++ b/api_docs/kbn_securitysolution_es_utils.json @@ -428,7 +428,9 @@ "TransportResult", "<", "EqlSearchResponse", - ", TContext>>; }; search: (params?: ", + ", TContext>>; }; search: , TContext = unknown>(params?: ", "SearchRequest", " | ", "SearchRequest", @@ -438,7 +440,17 @@ "TransportResult", "<", "SearchResponse", - ", TContext>>; monitoring: { bulk: (params: ", + ", TContext>>; create: (params: ", + "CreateRequest", + " | ", + "CreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => Promise<", + "TransportResult", + "<", + "CreateResponse", + ", TContext>>; monitoring: { bulk: (params: ", "MonitoringBulkRequest", " | ", "MonitoringBulkRequest", @@ -860,17 +872,7 @@ "TransportResult", "<", "TODO", - ", unknown>>; }; create: (params: ", - "CreateRequest", - " | ", - "CreateRequest", - ", options?: ", - "TransportRequestOptions", - " | undefined) => Promise<", - "TransportResult", - "<", - "CreateResponse", - ", TContext>>; name: string | symbol; index: (params: ", + ", unknown>>; }; name: string | symbol; index: (params: ", "IndexRequest", " | ", "IndexRequest", @@ -970,6 +972,16 @@ "TransportResult", "<", "TransformPutTransformResponse", + ", TContext>>; resetTransform: (params: ", + "TransformResetTransformRequest", + " | ", + "TransformResetTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => Promise<", + "TransportResult", + "<", + "TransformResetTransformResponse", ", TContext>>; startTransform: (params: ", "TransformStartTransformRequest", " | ", @@ -1001,14 +1013,16 @@ "<", "TransformUpdateTransformResponse", ", TContext>>; upgradeTransforms: (params?: ", - "TODO", + "TransformUpgradeTransformsRequest", + " | ", + "TransformUpgradeTransformsRequest", " | undefined, options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; }; helpers: ", + "TransformUpgradeTransformsResponse", + ", TContext>>; }; helpers: ", "default", "; asyncSearch: { delete: (params: ", "AsyncSearchDeleteRequest", @@ -1808,15 +1822,17 @@ "TransportResult", "<", "FieldCapsResponse", - ", TContext>>; fleet: { globalCheckpoints: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; fleet: { globalCheckpoints: (params: ", + "FleetGlobalCheckpointsRequest", + " | ", + "FleetGlobalCheckpointsRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; msearch: (params?: ", + "FleetGlobalCheckpointsResponse", + ", TContext>>; msearch: (params?: ", "TODO", " | undefined, options?: ", "TransportRequestOptions", @@ -2158,14 +2174,6 @@ "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", - ">; existsType: (params: ", - "IndicesExistsTypeRequest", - " | ", - "IndicesExistsTypeRequest", - ", options?: ", - "TransportRequestOptions", - " | undefined) => Promise<", - "TransportResult", ">; fieldUsageStats: (params?: ", "TODO", " | undefined, options?: ", @@ -2194,16 +2202,6 @@ "TransportResult", "<", "IndicesForcemergeResponse", - ", TContext>>; freeze: (params: ", - "IndicesFreezeRequest", - " | ", - "IndicesFreezeRequest", - ", options?: ", - "TransportRequestOptions", - " | undefined) => Promise<", - "TransportResult", - "<", - "IndicesFreezeResponse", ", TContext>>; get: (params: ", "IndicesGetRequest", " | ", @@ -2590,15 +2588,17 @@ "TransportResult", "<", "IngestSimulateResponse", - ", TContext>>; }; knnSearch: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; }; knnSearch: (params: ", + "KnnSearchRequest", + " | ", + "KnnSearchRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; license: { delete: (params?: ", + "KnnSearchResponse", + ", TContext>>; license: { delete: (params?: ", "LicenseDeleteRequest", " | ", "LicenseDeleteRequest", @@ -3030,7 +3030,15 @@ "TransportResult", "<", "MlGetJobsResponse", - ", TContext>>; getModelSnapshots: (params: ", + ", TContext>>; getModelSnapshotUpgradeStats: (params?: ", + "TODO", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => Promise<", + "TransportResult", + "<", + "TODO", + ", unknown>>; getModelSnapshots: (params: ", "MlGetModelSnapshotsRequest", " | ", "MlGetModelSnapshotsRequest", @@ -3060,15 +3068,7 @@ "TransportResult", "<", "MlGetRecordsResponse", - ", TContext>>; getTrainedModelDeploymentStats: (params?: ", - "TODO", - " | undefined, options?: ", - "TransportRequestOptions", - " | undefined) => Promise<", - "TransportResult", - "<", - "TODO", - ", unknown>>; getTrainedModels: (params?: ", + ", TContext>>; getTrainedModels: (params?: ", "MlGetTrainedModelsRequest", " | ", "MlGetTrainedModelsRequest", @@ -3088,15 +3088,17 @@ "TransportResult", "<", "MlGetTrainedModelsStatsResponse", - ", TContext>>; inferTrainedModelDeployment: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; inferTrainedModelDeployment: (params: ", + "MlInferTrainedModelDeploymentRequest", + " | ", + "MlInferTrainedModelDeploymentRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; info: (params?: ", + "MlInferTrainedModelDeploymentResponse", + ", TContext>>; info: (params?: ", "MlInfoRequest", " | ", "MlInfoRequest", @@ -3236,23 +3238,27 @@ "TransportResult", "<", "MlPutTrainedModelAliasResponse", - ", TContext>>; putTrainedModelDefinitionPart: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; putTrainedModelDefinitionPart: (params: ", + "MlPutTrainedModelDefinitionPartRequest", + " | ", + "MlPutTrainedModelDefinitionPartRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; putTrainedModelVocabulary: (params?: ", - "TODO", - " | undefined, options?: ", + "MlPutTrainedModelDefinitionPartResponse", + ", TContext>>; putTrainedModelVocabulary: (params: ", + "MlPutTrainedModelVocabularyRequest", + " | ", + "MlPutTrainedModelVocabularyRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; resetJob: (params: ", + "MlPutTrainedModelVocabularyResponse", + ", TContext>>; resetJob: (params: ", "MlResetJobRequest", " | ", "MlResetJobRequest", @@ -3302,15 +3308,17 @@ "TransportResult", "<", "MlStartDatafeedResponse", - ", TContext>>; startTrainedModelDeployment: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; startTrainedModelDeployment: (params: ", + "MlStartTrainedModelDeploymentRequest", + " | ", + "MlStartTrainedModelDeploymentRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; stopDataFrameAnalytics: (params: ", + "MlStartTrainedModelDeploymentResponse", + ", TContext>>; stopDataFrameAnalytics: (params: ", "MlStopDataFrameAnalyticsRequest", " | ", "MlStopDataFrameAnalyticsRequest", @@ -3330,15 +3338,17 @@ "TransportResult", "<", "MlStopDatafeedResponse", - ", TContext>>; stopTrainedModelDeployment: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; stopTrainedModelDeployment: (params: ", + "MlStopTrainedModelDeploymentRequest", + " | ", + "MlStopTrainedModelDeploymentRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; updateDataFrameAnalytics: (params: ", + "MlStopTrainedModelDeploymentResponse", + ", TContext>>; updateDataFrameAnalytics: (params: ", "MlUpdateDataFrameAnalyticsRequest", " | ", "MlUpdateDataFrameAnalyticsRequest", @@ -3348,15 +3358,17 @@ "TransportResult", "<", "MlUpdateDataFrameAnalyticsResponse", - ", TContext>>; updateDatafeed: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; updateDatafeed: (params: ", + "MlUpdateDatafeedRequest", + " | ", + "MlUpdateDatafeedRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; updateFilter: (params: ", + "MlUpdateDatafeedResponse", + ", TContext>>; updateFilter: (params: ", "MlUpdateFilterRequest", " | ", "MlUpdateFilterRequest", @@ -3416,7 +3428,9 @@ "TransportResult", "<", "MlValidateDetectorResponse", - ", TContext>>; }; msearch: (params?: ", + ", TContext>>; }; msearch: , TContext = unknown>(params?: ", "MsearchRequest", " | ", "MsearchRequest", @@ -3426,7 +3440,9 @@ "TransportResult", "<", "MsearchResponse", - ", TContext>>; msearchTemplate: (params?: ", + ", TContext>>; msearchTemplate: , TContext = unknown>(params?: ", "MsearchTemplateRequest", " | ", "MsearchTemplateRequest", @@ -3436,7 +3452,7 @@ "TransportResult", "<", "MsearchTemplateResponse", - ", TContext>>; mtermvectors: (params?: ", + ", TContext>>; mtermvectors: (params?: ", "MtermvectorsRequest", " | ", "MtermvectorsRequest", @@ -3638,7 +3654,9 @@ "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", - ">; rollupSearch: (params: ", + ">; rollupSearch: , TContext = unknown>(params: ", "RollupRollupSearchRequest", " | ", "RollupRollupSearchRequest", @@ -3648,7 +3666,7 @@ "TransportResult", "<", "RollupRollupSearchResponse", - ", TContext>>; startJob: (params: ", + ", TContext>>; startJob: (params: ", "RollupStartJobRequest", " | ", "RollupStartJobRequest", @@ -3678,7 +3696,9 @@ "TransportResult", "<", "ScriptsPainlessExecuteResponse", - ", TContext>>; scroll: (params?: ", + ", TContext>>; scroll: , TContext = unknown>(params?: ", "ScrollRequest", " | ", "ScrollRequest", @@ -3688,7 +3708,7 @@ "TransportResult", "<", "ScrollResponse", - ", TContext>>; searchMvt: (params: ", + ", TContext>>; searchMvt: (params: ", "SearchMvtRequest", " | ", "SearchMvtRequest", @@ -4362,7 +4382,9 @@ "TransportResult", "<", "EqlSearchResponse", - ", TContext>>; }; search: (params?: ", + ", TContext>>; }; search: , TContext = unknown>(params?: ", "SearchRequest", " | ", "SearchRequest", @@ -4372,7 +4394,17 @@ "TransportResult", "<", "SearchResponse", - ", TContext>>; monitoring: { bulk: (params: ", + ", TContext>>; create: (params: ", + "CreateRequest", + " | ", + "CreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => Promise<", + "TransportResult", + "<", + "CreateResponse", + ", TContext>>; monitoring: { bulk: (params: ", "MonitoringBulkRequest", " | ", "MonitoringBulkRequest", @@ -4794,17 +4826,7 @@ "TransportResult", "<", "TODO", - ", unknown>>; }; create: (params: ", - "CreateRequest", - " | ", - "CreateRequest", - ", options?: ", - "TransportRequestOptions", - " | undefined) => Promise<", - "TransportResult", - "<", - "CreateResponse", - ", TContext>>; name: string | symbol; index: (params: ", + ", unknown>>; }; name: string | symbol; index: (params: ", "IndexRequest", " | ", "IndexRequest", @@ -4904,6 +4926,16 @@ "TransportResult", "<", "TransformPutTransformResponse", + ", TContext>>; resetTransform: (params: ", + "TransformResetTransformRequest", + " | ", + "TransformResetTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => Promise<", + "TransportResult", + "<", + "TransformResetTransformResponse", ", TContext>>; startTransform: (params: ", "TransformStartTransformRequest", " | ", @@ -4935,14 +4967,16 @@ "<", "TransformUpdateTransformResponse", ", TContext>>; upgradeTransforms: (params?: ", - "TODO", + "TransformUpgradeTransformsRequest", + " | ", + "TransformUpgradeTransformsRequest", " | undefined, options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; }; helpers: ", + "TransformUpgradeTransformsResponse", + ", TContext>>; }; helpers: ", "default", "; asyncSearch: { delete: (params: ", "AsyncSearchDeleteRequest", @@ -5742,15 +5776,17 @@ "TransportResult", "<", "FieldCapsResponse", - ", TContext>>; fleet: { globalCheckpoints: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; fleet: { globalCheckpoints: (params: ", + "FleetGlobalCheckpointsRequest", + " | ", + "FleetGlobalCheckpointsRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; msearch: (params?: ", + "FleetGlobalCheckpointsResponse", + ", TContext>>; msearch: (params?: ", "TODO", " | undefined, options?: ", "TransportRequestOptions", @@ -6092,14 +6128,6 @@ "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", - ">; existsType: (params: ", - "IndicesExistsTypeRequest", - " | ", - "IndicesExistsTypeRequest", - ", options?: ", - "TransportRequestOptions", - " | undefined) => Promise<", - "TransportResult", ">; fieldUsageStats: (params?: ", "TODO", " | undefined, options?: ", @@ -6128,16 +6156,6 @@ "TransportResult", "<", "IndicesForcemergeResponse", - ", TContext>>; freeze: (params: ", - "IndicesFreezeRequest", - " | ", - "IndicesFreezeRequest", - ", options?: ", - "TransportRequestOptions", - " | undefined) => Promise<", - "TransportResult", - "<", - "IndicesFreezeResponse", ", TContext>>; get: (params: ", "IndicesGetRequest", " | ", @@ -6524,15 +6542,17 @@ "TransportResult", "<", "IngestSimulateResponse", - ", TContext>>; }; knnSearch: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; }; knnSearch: (params: ", + "KnnSearchRequest", + " | ", + "KnnSearchRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; license: { delete: (params?: ", + "KnnSearchResponse", + ", TContext>>; license: { delete: (params?: ", "LicenseDeleteRequest", " | ", "LicenseDeleteRequest", @@ -6964,7 +6984,15 @@ "TransportResult", "<", "MlGetJobsResponse", - ", TContext>>; getModelSnapshots: (params: ", + ", TContext>>; getModelSnapshotUpgradeStats: (params?: ", + "TODO", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => Promise<", + "TransportResult", + "<", + "TODO", + ", unknown>>; getModelSnapshots: (params: ", "MlGetModelSnapshotsRequest", " | ", "MlGetModelSnapshotsRequest", @@ -6994,15 +7022,7 @@ "TransportResult", "<", "MlGetRecordsResponse", - ", TContext>>; getTrainedModelDeploymentStats: (params?: ", - "TODO", - " | undefined, options?: ", - "TransportRequestOptions", - " | undefined) => Promise<", - "TransportResult", - "<", - "TODO", - ", unknown>>; getTrainedModels: (params?: ", + ", TContext>>; getTrainedModels: (params?: ", "MlGetTrainedModelsRequest", " | ", "MlGetTrainedModelsRequest", @@ -7022,15 +7042,17 @@ "TransportResult", "<", "MlGetTrainedModelsStatsResponse", - ", TContext>>; inferTrainedModelDeployment: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; inferTrainedModelDeployment: (params: ", + "MlInferTrainedModelDeploymentRequest", + " | ", + "MlInferTrainedModelDeploymentRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; info: (params?: ", + "MlInferTrainedModelDeploymentResponse", + ", TContext>>; info: (params?: ", "MlInfoRequest", " | ", "MlInfoRequest", @@ -7170,23 +7192,27 @@ "TransportResult", "<", "MlPutTrainedModelAliasResponse", - ", TContext>>; putTrainedModelDefinitionPart: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; putTrainedModelDefinitionPart: (params: ", + "MlPutTrainedModelDefinitionPartRequest", + " | ", + "MlPutTrainedModelDefinitionPartRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; putTrainedModelVocabulary: (params?: ", - "TODO", - " | undefined, options?: ", + "MlPutTrainedModelDefinitionPartResponse", + ", TContext>>; putTrainedModelVocabulary: (params: ", + "MlPutTrainedModelVocabularyRequest", + " | ", + "MlPutTrainedModelVocabularyRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; resetJob: (params: ", + "MlPutTrainedModelVocabularyResponse", + ", TContext>>; resetJob: (params: ", "MlResetJobRequest", " | ", "MlResetJobRequest", @@ -7236,15 +7262,17 @@ "TransportResult", "<", "MlStartDatafeedResponse", - ", TContext>>; startTrainedModelDeployment: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; startTrainedModelDeployment: (params: ", + "MlStartTrainedModelDeploymentRequest", + " | ", + "MlStartTrainedModelDeploymentRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; stopDataFrameAnalytics: (params: ", + "MlStartTrainedModelDeploymentResponse", + ", TContext>>; stopDataFrameAnalytics: (params: ", "MlStopDataFrameAnalyticsRequest", " | ", "MlStopDataFrameAnalyticsRequest", @@ -7264,15 +7292,17 @@ "TransportResult", "<", "MlStopDatafeedResponse", - ", TContext>>; stopTrainedModelDeployment: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; stopTrainedModelDeployment: (params: ", + "MlStopTrainedModelDeploymentRequest", + " | ", + "MlStopTrainedModelDeploymentRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; updateDataFrameAnalytics: (params: ", + "MlStopTrainedModelDeploymentResponse", + ", TContext>>; updateDataFrameAnalytics: (params: ", "MlUpdateDataFrameAnalyticsRequest", " | ", "MlUpdateDataFrameAnalyticsRequest", @@ -7282,15 +7312,17 @@ "TransportResult", "<", "MlUpdateDataFrameAnalyticsResponse", - ", TContext>>; updateDatafeed: (params?: ", - "TODO", - " | undefined, options?: ", + ", TContext>>; updateDatafeed: (params: ", + "MlUpdateDatafeedRequest", + " | ", + "MlUpdateDatafeedRequest", + ", options?: ", "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", "<", - "TODO", - ", unknown>>; updateFilter: (params: ", + "MlUpdateDatafeedResponse", + ", TContext>>; updateFilter: (params: ", "MlUpdateFilterRequest", " | ", "MlUpdateFilterRequest", @@ -7350,7 +7382,9 @@ "TransportResult", "<", "MlValidateDetectorResponse", - ", TContext>>; }; msearch: (params?: ", + ", TContext>>; }; msearch: , TContext = unknown>(params?: ", "MsearchRequest", " | ", "MsearchRequest", @@ -7360,7 +7394,9 @@ "TransportResult", "<", "MsearchResponse", - ", TContext>>; msearchTemplate: (params?: ", + ", TContext>>; msearchTemplate: , TContext = unknown>(params?: ", "MsearchTemplateRequest", " | ", "MsearchTemplateRequest", @@ -7370,7 +7406,7 @@ "TransportResult", "<", "MsearchTemplateResponse", - ", TContext>>; mtermvectors: (params?: ", + ", TContext>>; mtermvectors: (params?: ", "MtermvectorsRequest", " | ", "MtermvectorsRequest", @@ -7572,7 +7608,9 @@ "TransportRequestOptions", " | undefined) => Promise<", "TransportResult", - ">; rollupSearch: (params: ", + ">; rollupSearch: , TContext = unknown>(params: ", "RollupRollupSearchRequest", " | ", "RollupRollupSearchRequest", @@ -7582,7 +7620,7 @@ "TransportResult", "<", "RollupRollupSearchResponse", - ", TContext>>; startJob: (params: ", + ", TContext>>; startJob: (params: ", "RollupStartJobRequest", " | ", "RollupStartJobRequest", @@ -7612,7 +7650,9 @@ "TransportResult", "<", "ScriptsPainlessExecuteResponse", - ", TContext>>; scroll: (params?: ", + ", TContext>>; scroll: , TContext = unknown>(params?: ", "ScrollRequest", " | ", "ScrollRequest", @@ -7622,7 +7662,7 @@ "TransportResult", "<", "ScrollResponse", - ", TContext>>; searchMvt: (params: ", + ", TContext>>; searchMvt: (params: ", "SearchMvtRequest", " | ", "SearchMvtRequest", diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.json b/api_docs/kbn_securitysolution_io_ts_alerting_types.json index 76c12a4b97dc9..5ee0ce30bc831 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.json +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.json @@ -58,6 +58,28 @@ ], "enums": [], "misc": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Action", + "type": "Type", + "tags": [], + "label": "Action", + "description": [], + "signature": [ + "{ group: string; id: string; action_type_id: string; params: ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + "; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", "id": "def-common.Actions", @@ -432,7 +454,7 @@ "label": "Severity", "description": [], "signature": [ - "\"high\" | \"low\" | \"medium\" | \"critical\"" + "\"medium\" | \"high\" | \"low\" | \"critical\"" ], "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity/index.ts", "deprecated": false, @@ -446,7 +468,7 @@ "label": "SeverityMapping", "description": [], "signature": [ - "{ field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"medium\" | \"critical\"; }[]" + "{ field: string; operator: \"equals\"; value: string; severity: \"medium\" | \"high\" | \"low\" | \"critical\"; }[]" ], "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", "deprecated": false, @@ -460,7 +482,7 @@ "label": "SeverityMappingItem", "description": [], "signature": [ - "{ field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"medium\" | \"critical\"; }" + "{ field: string; operator: \"equals\"; value: string; severity: \"medium\" | \"high\" | \"low\" | \"critical\"; }" ], "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", "deprecated": false, @@ -474,7 +496,7 @@ "label": "SeverityMappingOrUndefined", "description": [], "signature": [ - "{ field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"medium\" | \"critical\"; }[] | undefined" + "{ field: string; operator: \"equals\"; value: string; severity: \"medium\" | \"high\" | \"low\" | \"critical\"; }[] | undefined" ], "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", "deprecated": false, @@ -488,7 +510,7 @@ "label": "SeverityOrUndefined", "description": [], "signature": [ - "\"high\" | \"low\" | \"medium\" | \"critical\" | undefined" + "\"medium\" | \"high\" | \"low\" | \"critical\" | undefined" ], "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity/index.ts", "deprecated": false, @@ -1262,7 +1284,7 @@ ], "signature": [ "Type", - "<{ field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"medium\" | \"critical\"; }[], { field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"medium\" | \"critical\"; }[] | undefined, unknown>" + "<{ field: string; operator: \"equals\"; value: string; severity: \"medium\" | \"high\" | \"low\" | \"critical\"; }[], { field: string; operator: \"equals\"; value: string; severity: \"medium\" | \"high\" | \"low\" | \"critical\"; }[] | undefined, unknown>" ], "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_severity_mapping_array/index.ts", "deprecated": false, diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index 197789d521ae6..f4a7566f0fae3 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -18,7 +18,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 147 | 0 | 128 | 0 | +| 148 | 0 | 129 | 0 | ## Common diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.json b/api_docs/kbn_securitysolution_io_ts_list_types.json index 6616f1a8d96aa..a7a7adcc2c7b8 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.json +++ b/api_docs/kbn_securitysolution_io_ts_list_types.json @@ -1914,7 +1914,7 @@ "label": "CreateEndpointListItemSchemaDecoded", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; meta: object | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"comments\" | \"entries\" | \"item_id\" | \"os_types\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + "Omit<{ description: string; entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; meta: object | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"item_id\" | \"os_types\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_endpoint_list_item_schema/index.ts", "deprecated": false, @@ -1956,7 +1956,7 @@ "label": "CreateExceptionListItemSchemaDecoded", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"comments\" | \"entries\" | \"item_id\" | \"namespace_type\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"item_id\" | \"namespace_type\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_item_schema/index.ts", "deprecated": false, @@ -2040,7 +2040,7 @@ "label": "CreateListSchemaDecoded", "description": [], "signature": [ - "{ type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; id: string | undefined; description: string; name: string; meta: object | undefined; serializer: string | undefined; deserializer: string | undefined; } & { version: number; }" + "{ id: string | undefined; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; description: string; name: string; meta: object | undefined; serializer: string | undefined; deserializer: string | undefined; } & { version: number; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_schema/index.ts", "deprecated": false, @@ -2908,7 +2908,7 @@ "label": "ImportExceptionListItemSchemaDecoded", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; item_id: string; list_id: string; name: string; type: \"simple\"; } & { id?: string | undefined; comments?: { comment: string; }[] | undefined; created_at?: string | undefined; updated_at?: string | undefined; created_by?: string | undefined; updated_by?: string | undefined; _version?: string | undefined; tie_breaker_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }, \"tags\" | \"comments\" | \"entries\" | \"item_id\" | \"namespace_type\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; item_id: string; list_id: string; name: string; type: \"simple\"; } & { id?: string | undefined; comments?: { comment: string; }[] | undefined; created_at?: string | undefined; updated_at?: string | undefined; created_by?: string | undefined; updated_by?: string | undefined; _version?: string | undefined; tie_breaker_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"item_id\" | \"namespace_type\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_exception_item_schema/index.ts", "deprecated": false, @@ -3944,7 +3944,7 @@ "label": "UpdateEndpointListItemSchemaDecoded", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"comments\" | \"entries\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_endpoint_list_item_schema/index.ts", "deprecated": false, @@ -3972,7 +3972,7 @@ "label": "UpdateExceptionListItemSchemaDecoded", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"comments\" | \"entries\" | \"namespace_type\" | \"os_types\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"namespace_type\" | \"os_types\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"keyword\" | \"ip\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"long\" | \"double\" | \"text\" | \"binary\" | \"date_nanos\" | \"integer\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts", "deprecated": false, diff --git a/api_docs/kbn_securitysolution_io_ts_types.json b/api_docs/kbn_securitysolution_io_ts_types.json index 7f48603a44328..88eded8297819 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.json +++ b/api_docs/kbn_securitysolution_io_ts_types.json @@ -237,7 +237,7 @@ "label": "ImportQuerySchema", "description": [], "signature": [ - "{ overwrite?: boolean | undefined; }" + "{ overwrite?: boolean | undefined; overwrite_exceptions?: boolean | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-types/src/import_query_schema/index.ts", "deprecated": false, @@ -251,7 +251,7 @@ "label": "ImportQuerySchemaDecoded", "description": [], "signature": [ - "Omit<{ overwrite?: boolean | undefined; }, \"overwrite\"> & { overwrite: boolean; }" + "Omit<{ overwrite?: boolean | undefined; overwrite_exceptions?: boolean | undefined; }, \"overwrite\" | \"overwrite_exceptions\"> & { overwrite: boolean; overwrite_exceptions: boolean; }" ], "path": "packages/kbn-securitysolution-io-ts-types/src/import_query_schema/index.ts", "deprecated": false, @@ -577,6 +577,8 @@ "PartialC", "<{ overwrite: ", "Type", + "; overwrite_exceptions: ", + "Type", "; }>>" ], "path": "packages/kbn-securitysolution-io-ts-types/src/import_query_schema/index.ts", diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index 012672e7e9cbb..15eae08f44944 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -18,7 +18,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 28 | 0 | 22 | 0 | +| 28 | 0 | 21 | 0 | ## Common diff --git a/api_docs/kbn_securitysolution_list_utils.json b/api_docs/kbn_securitysolution_list_utils.json index 85f12ba4c30c9..700f473e170f0 100644 --- a/api_docs/kbn_securitysolution_list_utils.json +++ b/api_docs/kbn_securitysolution_list_utils.json @@ -1555,7 +1555,7 @@ "tags": [], "label": "patterns", "description": [ - "IndexPatternBase containing available fields on rule index" + "DataViewBase containing available fields on rule index" ], "signature": [ "DataViewBase" diff --git a/api_docs/kbn_server_route_repository.json b/api_docs/kbn_server_route_repository.json index 30b79f0799dcb..4cade8df1ea4f 100644 --- a/api_docs/kbn_server_route_repository.json +++ b/api_docs/kbn_server_route_repository.json @@ -200,6 +200,32 @@ } ], "interfaces": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.RouteState", + "type": "Interface", + "tags": [], + "label": "RouteState", + "description": [], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.RouteState.Unnamed", + "type": "IndexSignature", + "tags": [], + "label": "[endpoint: string]: any", + "description": [], + "signature": [ + "[endpoint: string]: any" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/server-route-repository", "id": "def-server.ServerRouteRepository", @@ -306,7 +332,13 @@ "text": "ServerRouteRepository" }, ">(repository: TServerRouteRepository) => TServerRouteRepository extends ", { "pluginId": "@kbn/server-route-repository", diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index f901ac5991061..90571640338bc 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -18,7 +18,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 28 | 0 | 27 | 2 | +| 30 | 0 | 29 | 1 | ## Server diff --git a/api_docs/kbn_std.json b/api_docs/kbn_std.json index b4b9c4239ce85..3c7b5119d2b21 100644 --- a/api_docs/kbn_std.json +++ b/api_docs/kbn_std.json @@ -315,13 +315,7 @@ ], "signature": [ "(object: T) => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.RecursiveReadonly", - "text": "RecursiveReadonly" - }, + "RecursiveReadonly", "" ], "path": "packages/kbn-std/src/deep_freeze.ts", diff --git a/api_docs/kbn_storybook.json b/api_docs/kbn_storybook.json index e4cf1ee87aafc..2253d81413ede 100644 --- a/api_docs/kbn_storybook.json +++ b/api_docs/kbn_storybook.json @@ -188,6 +188,38 @@ } ] }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.babel", + "type": "Function", + "tags": [], + "label": "babel", + "description": [ + "// @ts-expect-error StorybookConfig type is incomplete\n// https://storybook.js.org/docs/react/configure/babel#custom-configuration" + ], + "signature": [ + "(options: any) => Promise" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.babel.$1", + "type": "Any", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "@kbn/storybook", "id": "def-server.defaultConfig.webpackFinal", diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index 9f40e14d50ed3..527cf88d18f6c 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -18,7 +18,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 20 | 1 | 20 | 0 | +| 22 | 2 | 21 | 0 | ## Server diff --git a/api_docs/kbn_utility_types.json b/api_docs/kbn_utility_types.json index 5a21060a87009..2734d6eadc135 100644 --- a/api_docs/kbn_utility_types.json +++ b/api_docs/kbn_utility_types.json @@ -531,38 +531,6 @@ "deprecated": false, "initialIsOpen": false }, - { - "parentPluginId": "@kbn/utility-types", - "id": "def-server.UnwrapPromise", - "type": "Type", - "tags": [], - "label": "UnwrapPromise", - "description": [ - "\nReturns wrapped type of a `Promise`." - ], - "signature": [ - "T extends Promise ? U : never" - ], - "path": "packages/kbn-utility-types/src/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "@kbn/utility-types", - "id": "def-server.UnwrapPromiseOrReturn", - "type": "Type", - "tags": [], - "label": "UnwrapPromiseOrReturn", - "description": [ - "\nReturns wrapped type of a promise, or returns type as is, if it is not a promise." - ], - "signature": [ - "T extends Promise ? U : T" - ], - "path": "packages/kbn-utility-types/src/index.ts", - "deprecated": false, - "initialIsOpen": false - }, { "parentPluginId": "@kbn/utility-types", "id": "def-server.Values", diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index 11965285eb34b..9eeb100070624 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -18,7 +18,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 29 | 0 | 10 | 1 | +| 27 | 0 | 10 | 1 | ## Server diff --git a/api_docs/kibana_react.json b/api_docs/kibana_react.json index 862422d675860..baacb79e5c55b 100644 --- a/api_docs/kibana_react.json +++ b/api_docs/kibana_react.json @@ -1251,72 +1251,6 @@ "returnComment": [], "initialIsOpen": false }, - { - "parentPluginId": "kibanaReact", - "id": "def-public.Panel", - "type": "Function", - "tags": [], - "label": "Panel", - "description": [], - "signature": [ - "({ children, className, initialWidth = 100, style = {} }: ", - "Props", - ") => JSX.Element" - ], - "path": "src/plugins/kibana_react/public/split_panel/containers/panel.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "kibanaReact", - "id": "def-public.Panel.$1", - "type": "Object", - "tags": [], - "label": "{ children, className, initialWidth = 100, style = {} }", - "description": [], - "signature": [ - "Props" - ], - "path": "src/plugins/kibana_react/public/split_panel/containers/panel.tsx", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "kibanaReact", - "id": "def-public.PanelsContainer", - "type": "Function", - "tags": [], - "label": "PanelsContainer", - "description": [], - "signature": [ - "({\n children,\n className,\n onPanelWidthChange,\n resizerClassName,\n}: ", - "Props", - ") => JSX.Element" - ], - "path": "src/plugins/kibana_react/public/split_panel/containers/panel_container.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "kibanaReact", - "id": "def-public.PanelsContainer.$1", - "type": "Object", - "tags": [], - "label": "{\n children,\n className,\n onPanelWidthChange,\n resizerClassName,\n}", - "description": [], - "signature": [ - "Props" - ], - "path": "src/plugins/kibana_react/public/split_panel/containers/panel_container.tsx", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, { "parentPluginId": "kibanaReact", "id": "def-public.reactRouterNavigate", diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index 9a94444413a81..130ae3a5823e4 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 239 | 0 | 214 | 5 | +| 235 | 0 | 200 | 5 | ## Client diff --git a/api_docs/kibana_utils.json b/api_docs/kibana_utils.json index f5df4a6e212ad..f229a6e45b9c7 100644 --- a/api_docs/kibana_utils.json +++ b/api_docs/kibana_utils.json @@ -6400,21 +6400,9 @@ "description": [], "signature": [ "{ [K in keyof T]: ReturnType<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Ensure", - "text": "Ensure" - }, + "Ensure", "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Ensure", - "text": "Ensure" - }, + "Ensure", ") => S" ], "path": "src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.ts", @@ -9514,13 +9490,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">" ], "path": "src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.ts", @@ -10323,13 +10293,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">) => P) | undefined" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -10353,13 +10317,7 @@ "text": "VersionedState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Serializable", - "text": "Serializable" - }, + "Serializable", ">" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -11282,21 +11240,9 @@ ], "signature": [ "(state: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ", version: string) => ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", "deprecated": false, @@ -11310,13 +11256,7 @@ "label": "state", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", "deprecated": false @@ -11381,21 +11321,9 @@ "description": [], "signature": [ "{ [K in keyof T]: ReturnType<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Ensure", - "text": "Ensure" - }, + "Ensure", "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.Ensure", - "text": "Ensure" - }, + "Ensure", " ", + "ExtensionPointStorageClientInterface" + ], + "path": "x-pack/plugins/lists/server/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] } ], "initialIsOpen": false @@ -2661,7 +2677,154 @@ } ], "enums": [], - "misc": [], + "misc": [ + { + "parentPluginId": "lists", + "id": "def-server.ExceptionListPreUpdateItemServerExtension", + "type": "Type", + "tags": [], + "label": "ExceptionListPreUpdateItemServerExtension", + "description": [ + "\nExtension point is triggered prior to updating the Exception List Item. Throw'ing will cause the\nupdate operation to fail" + ], + "signature": [ + "ServerExtensionPointDefinition<\"exceptionsListPreUpdateItem\", ", + { + "pluginId": "lists", + "scope": "server", + "docId": "kibListsPluginApi", + "section": "def-server.UpdateExceptionListItemOptions", + "text": "UpdateExceptionListItemOptions" + }, + ", ", + { + "pluginId": "lists", + "scope": "server", + "docId": "kibListsPluginApi", + "section": "def-server.UpdateExceptionListItemOptions", + "text": "UpdateExceptionListItemOptions" + }, + ">" + ], + "path": "x-pack/plugins/lists/server/services/extension_points/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "lists", + "id": "def-server.ExceptionsListPreCreateItemServerExtension", + "type": "Type", + "tags": [], + "label": "ExceptionsListPreCreateItemServerExtension", + "description": [ + "\nExtension point is triggered prior to creating a new Exception List Item. Throw'ing will cause\nthe create operation to fail" + ], + "signature": [ + "ServerExtensionPointDefinition<\"exceptionsListPreCreateItem\", ", + { + "pluginId": "lists", + "scope": "server", + "docId": "kibListsPluginApi", + "section": "def-server.CreateExceptionListItemOptions", + "text": "CreateExceptionListItemOptions" + }, + ", ", + { + "pluginId": "lists", + "scope": "server", + "docId": "kibListsPluginApi", + "section": "def-server.CreateExceptionListItemOptions", + "text": "CreateExceptionListItemOptions" + }, + ">" + ], + "path": "x-pack/plugins/lists/server/services/extension_points/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "lists", + "id": "def-server.ExtensionPoint", + "type": "Type", + "tags": [], + "label": "ExtensionPoint", + "description": [], + "signature": [ + { + "pluginId": "lists", + "scope": "server", + "docId": "kibListsPluginApi", + "section": "def-server.ExceptionsListPreCreateItemServerExtension", + "text": "ExceptionsListPreCreateItemServerExtension" + }, + " | ", + { + "pluginId": "lists", + "scope": "server", + "docId": "kibListsPluginApi", + "section": "def-server.ExceptionListPreUpdateItemServerExtension", + "text": "ExceptionListPreUpdateItemServerExtension" + } + ], + "path": "x-pack/plugins/lists/server/services/extension_points/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "lists", + "id": "def-server.ListsServerExtensionRegistrar", + "type": "Type", + "tags": [], + "label": "ListsServerExtensionRegistrar", + "description": [ + "\nA Map of extension point type and associated Set of callbacks\n\nRegistration function for server-side extension points" + ], + "signature": [ + "(extension: ", + { + "pluginId": "lists", + "scope": "server", + "docId": "kibListsPluginApi", + "section": "def-server.ExtensionPoint", + "text": "ExtensionPoint" + }, + ") => void" + ], + "path": "x-pack/plugins/lists/server/services/extension_points/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "lists", + "id": "def-server.ListsServerExtensionRegistrar.$1", + "type": "CompoundType", + "tags": [], + "label": "extension", + "description": [], + "signature": [ + { + "pluginId": "lists", + "scope": "server", + "docId": "kibListsPluginApi", + "section": "def-server.ExceptionsListPreCreateItemServerExtension", + "text": "ExceptionsListPreCreateItemServerExtension" + }, + " | ", + { + "pluginId": "lists", + "scope": "server", + "docId": "kibListsPluginApi", + "section": "def-server.ExceptionListPreUpdateItemServerExtension", + "text": "ExceptionListPreUpdateItemServerExtension" + } + ], + "path": "x-pack/plugins/lists/server/services/extension_points/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], "objects": [], "setup": { "parentPluginId": "lists", @@ -2689,7 +2852,7 @@ "section": "def-server.SavedObjectsClientContract", "text": "SavedObjectsClientContract" }, - ", user: string) => ", + ", user: string, disableServerExtensionPoints?: boolean | undefined) => ", { "pluginId": "lists", "scope": "server", @@ -3048,6 +3211,19 @@ "description": [], "path": "x-pack/plugins/lists/server/types.ts", "deprecated": false + }, + { + "parentPluginId": "lists", + "id": "def-server.ListPluginSetup.getExceptionListClient.$3", + "type": "CompoundType", + "tags": [], + "label": "disableServerExtensionPoints", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/lists/server/types.ts", + "deprecated": false } ] }, @@ -3122,6 +3298,57 @@ "deprecated": false } ] + }, + { + "parentPluginId": "lists", + "id": "def-server.ListPluginSetup.registerExtension", + "type": "Function", + "tags": [], + "label": "registerExtension", + "description": [], + "signature": [ + "(extension: ", + { + "pluginId": "lists", + "scope": "server", + "docId": "kibListsPluginApi", + "section": "def-server.ExtensionPoint", + "text": "ExtensionPoint" + }, + ") => void" + ], + "path": "x-pack/plugins/lists/server/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "lists", + "id": "def-server.ListPluginSetup.registerExtension.$1", + "type": "CompoundType", + "tags": [], + "label": "extension", + "description": [], + "signature": [ + { + "pluginId": "lists", + "scope": "server", + "docId": "kibListsPluginApi", + "section": "def-server.ExceptionsListPreCreateItemServerExtension", + "text": "ExceptionsListPreCreateItemServerExtension" + }, + " | ", + { + "pluginId": "lists", + "scope": "server", + "docId": "kibListsPluginApi", + "section": "def-server.ExceptionListPreUpdateItemServerExtension", + "text": "ExceptionListPreUpdateItemServerExtension" + } + ], + "path": "x-pack/plugins/lists/server/services/extension_points/types.ts", + "deprecated": false + } + ] } ], "lifecycle": "setup", diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index 5b2413643e47a..1901fd9dc9b0a 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -18,7 +18,7 @@ Contact [Security detections response](https://github.com/orgs/elastic/teams/sec | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 164 | 0 | 144 | 41 | +| 173 | 0 | 150 | 42 | ## Client @@ -48,3 +48,6 @@ Contact [Security detections response](https://github.com/orgs/elastic/teams/sec ### Interfaces +### Consts, variables and types + + diff --git a/api_docs/ml.json b/api_docs/ml.json index bb6f3090faaca..bb2bc6f93729f 100644 --- a/api_docs/ml.json +++ b/api_docs/ml.json @@ -3116,7 +3116,7 @@ "label": "CustomSettings", "description": [], "signature": [ - "MlCustomSettings" + "any" ], "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts", "deprecated": false, @@ -3257,9 +3257,6 @@ "tags": [], "label": "IndicesOptions", "description": [], - "signature": [ - "MlDatafeedIndicesOptions" - ], "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/datafeed.ts", "deprecated": false, "initialIsOpen": false diff --git a/api_docs/observability.json b/api_docs/observability.json index 7988030fe81e1..308b51bfea0e6 100644 --- a/api_docs/observability.json +++ b/api_docs/observability.json @@ -524,9 +524,9 @@ }, " | undefined; }; selectedAlertId?: string | undefined; } & ", "CommonProps", - " & { as?: \"div\" | undefined; } & _EuiFlyoutProps & Omit, HTMLDivElement>, keyof _EuiFlyoutProps> & Omit, HTMLDivElement>, \"key\" | keyof React.HTMLAttributes | \"css\"> & { ref?: React.RefObject | ((instance: HTMLDivElement | null) => void) | null | undefined; }, \"children\" | \"onClick\" | \"onChange\" | \"color\" | \"onKeyDown\" | \"id\" | \"title\" | \"security\" | \"defaultChecked\" | \"defaultValue\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"hidden\" | \"lang\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"as\" | keyof ", + " & { as?: \"div\" | undefined; } & _EuiFlyoutProps & Omit, HTMLDivElement>, keyof _EuiFlyoutProps> & Omit, HTMLDivElement>, \"key\" | keyof React.HTMLAttributes | \"css\"> & { ref?: React.RefObject | ((instance: HTMLDivElement | null) => void) | null | undefined; }, \"children\" | \"onClick\" | \"onChange\" | \"color\" | \"onKeyDown\" | \"title\" | \"id\" | \"security\" | \"defaultChecked\" | \"defaultValue\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"hidden\" | \"lang\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"as\" | keyof ", "CommonProps", - " | keyof React.ClassAttributes | keyof _EuiFlyoutProps>, \"children\" | \"onClick\" | \"onChange\" | \"color\" | \"onKeyDown\" | \"alert\" | \"key\" | \"id\" | \"title\" | \"security\" | \"defaultChecked\" | \"defaultValue\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"hidden\" | \"lang\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"css\" | \"as\" | keyof ", + " | keyof React.ClassAttributes | keyof _EuiFlyoutProps>, \"children\" | \"onClick\" | \"onChange\" | \"color\" | \"onKeyDown\" | \"alert\" | \"key\" | \"title\" | \"id\" | \"security\" | \"defaultChecked\" | \"defaultValue\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"hidden\" | \"lang\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"css\" | \"as\" | keyof ", "CommonProps", " | \"alerts\" | keyof _EuiFlyoutProps | \"isInApp\" | \"observabilityRuleTypeRegistry\" | \"selectedAlertId\"> & { ref?: React.RefObject | ((instance: HTMLDivElement | null) => void) | null | undefined; }> & { readonly _result: ({ alert, alerts, isInApp, observabilityRuleTypeRegistry, onClose, selectedAlertId, }: AlertsFlyoutProps) => JSX.Element | null; }" ], @@ -1927,6 +1927,39 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "observability", + "id": "def-public.InfraMetricsHasDataResponse", + "type": "Interface", + "tags": [], + "label": "InfraMetricsHasDataResponse", + "description": [], + "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "observability", + "id": "def-public.InfraMetricsHasDataResponse.hasData", + "type": "boolean", + "tags": [], + "label": "hasData", + "description": [], + "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.InfraMetricsHasDataResponse.indices", + "type": "string", + "tags": [], + "label": "indices", + "description": [], + "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "observability", "id": "def-public.LogsFetchDataResponse", @@ -2434,10 +2467,19 @@ { "parentPluginId": "observability", "id": "def-public.ObservabilityHasDataResponse.infra_metrics", - "type": "boolean", + "type": "Object", "tags": [], "label": "infra_metrics", "description": [], + "signature": [ + { + "pluginId": "observability", + "scope": "public", + "docId": "kibObservabilityPluginApi", + "section": "def-public.InfraMetricsHasDataResponse", + "text": "InfraMetricsHasDataResponse" + } + ], "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false }, @@ -4305,14 +4347,24 @@ "description": [], "signature": [ "({\n index,\n mappings,\n client,\n logger,\n}: { index: string; mappings: ", - { - "pluginId": "observability", - "scope": "server", - "docId": "kibObservabilityPluginApi", - "section": "def-server.Mappings", - "text": "Mappings" - }, - "; client: ", + "MappingTypeMapping", + " & { date_detection?: boolean | undefined; dynamic?: ", + "MappingDynamicMapping", + " | undefined; dynamic_date_formats?: string[] | undefined; dynamic_templates?: Record | Record[] | undefined; _field_names?: ", + "MappingFieldNamesField", + " | undefined; _meta?: Record | undefined; numeric_detection?: boolean | undefined; properties?: Record | undefined; _routing?: ", + "MappingRoutingField", + " | undefined; _source?: ", + "MappingSourceField", + " | undefined; runtime?: ", + "MappingRuntimeFields", + " | undefined; }; client: ", { "pluginId": "core", "scope": "server", @@ -4361,11 +4413,8 @@ "label": "mappings", "description": [], "signature": [ - "(", - "MappingTypeMapping", - " | Record | undefined) & { date_detection?: boolean | undefined; dynamic?: boolean | ", + " & { date_detection?: boolean | undefined; dynamic?: ", "MappingDynamicMapping", " | undefined; dynamic_date_formats?: string[] | undefined; dynamic_templates?: Record Promise<", - "PromiseType", - "[\"body\"]>" + "(responsePromise: T) => Promise" ], "path": "x-pack/plugins/observability/common/utils/unwrap_es_response.ts", "deprecated": false, @@ -4960,13 +5007,7 @@ "label": "AbstractObservabilityServerRouteRepository", "description": [], "signature": [ - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRouteRepository", - "text": "ServerRouteRepository" - }, + "ServerRouteRepository", "<", { "pluginId": "observability", @@ -4984,13 +5025,7 @@ "text": "ObservabilityRouteCreateOptions" }, ", Record | undefined) & { date_detection?: boolean | undefined; dynamic?: boolean | ", + " & { date_detection?: boolean | undefined; dynamic?: ", "MappingDynamicMapping", " | undefined; dynamic_date_formats?: string[] | undefined; dynamic_templates?: Record; }[TEndpoint] extends ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, - " ? TReturnType : never : never" + "ServerRoute", + " ? TReturnType : never : never" ], "path": "x-pack/plugins/observability/server/routes/types.ts", "deprecated": false, @@ -5129,13 +5147,7 @@ "label": "ObservabilityServerRouteRepository", "description": [], "signature": [ - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRouteRepository", - "text": "ServerRouteRepository" - }, + "ServerRouteRepository", "<", { "pluginId": "observability", @@ -5153,13 +5165,7 @@ "text": "ObservabilityRouteCreateOptions" }, ", { \"GET /api/observability/rules/alerts/dynamic_index_pattern\": ", - { - "pluginId": "@kbn/server-route-repository", - "scope": "server", - "docId": "kibKbnServerRouteRepositoryPluginApi", - "section": "def-server.ServerRoute", - "text": "ServerRoute" - }, + "ServerRoute", "<\"GET /api/observability/rules/alerts/dynamic_index_pattern\", ", "TypeC", "<{ query: ", @@ -5200,13 +5206,7 @@ "label": "ScopedAnnotationsClient", "description": [], "signature": [ - "{ readonly index: string; create: (createParams: { annotation: { type: string; }; '@timestamp': string; message: string; } & { tags?: string[] | undefined; service?: { name?: string | undefined; environment?: string | undefined; version?: string | undefined; } | undefined; }) => Promise<{ _id: string; _index: string; _source: ", - "Annotation", - "; }>; getById: (getByIdParams: { id: string; }) => Promise<", - "GetResponse", - ">; delete: (deleteParams: { id: string; }) => Promise<", - "DeleteResponse", - ">; }" + "any" ], "path": "x-pack/plugins/observability/server/lib/annotations/bootstrap_annotations.ts", "deprecated": false, @@ -5222,37 +5222,7 @@ "label": "ObservabilityPluginSetup", "description": [], "signature": [ - "{ getScopedAnnotationsClient: (requestContext: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.RequestHandlerContext", - "text": "RequestHandlerContext" - }, - " & { licensing: ", - { - "pluginId": "licensing", - "scope": "server", - "docId": "kibLicensingPluginApi", - "section": "def-server.LicensingApiRequestHandlerContext", - "text": "LicensingApiRequestHandlerContext" - }, - "; }, request: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreHttpPluginApi", - "section": "def-server.KibanaRequest", - "text": "KibanaRequest" - }, - ") => Promise<{ readonly index: string; create: (createParams: { annotation: { type: string; }; '@timestamp': string; message: string; } & { tags?: string[] | undefined; service?: { name?: string | undefined; environment?: string | undefined; version?: string | undefined; } | undefined; }) => Promise<{ _id: string; _index: string; _source: ", - "Annotation", - "; }>; getById: (getByIdParams: { id: string; }) => Promise<", - "GetResponse", - ">; delete: (deleteParams: { id: string; }) => Promise<", - "DeleteResponse", - ">; } | undefined>; }" + "{ getScopedAnnotationsClient: (...args: unknown[]) => Promise; }" ], "path": "x-pack/plugins/observability/server/plugin.ts", "deprecated": false, diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index af1313e46723d..1549a0cda7979 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -18,7 +18,7 @@ Contact [Observability UI](https://github.com/orgs/elastic/teams/observability-u | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 308 | 1 | 307 | 25 | +| 311 | 1 | 308 | 24 | ## Client diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index 0f45ee525d0c6..5f5fb28f74d7a 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -12,71 +12,73 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Count | Plugins or Packages with a
public API | Number of teams | |--------------|----------|------------------------| -| 206 | 163 | 30 | +| 209 | 166 | 31 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 23044 | 167 | 18415 | 1727 | +| 23303 | 168 | 17866 | 1714 | ## Plugin Directory | Plugin name           | Maintaining team | Description | API Cnt | Any Cnt | Missing
comments | Missing
exports | |--------------|----------------|-----------|--------------|----------|---------------|--------| | | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 125 | 0 | 125 | 11 | -| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 23 | 0 | 20 | 1 | +| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 23 | 0 | 19 | 1 | | | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 277 | 0 | 269 | 18 | | | [APM UI](https://github.com/orgs/elastic/teams/apm-ui) | The user interface for Elastic APM | 40 | 0 | 40 | 45 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 9 | 0 | 9 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Considering using bfetch capabilities when fetching large amounts of data. This services supports batching HTTP requests and streaming responses back. | 76 | 1 | 67 | 2 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds Canvas application to Kibana | 9 | 0 | 8 | 3 | | | [Security Solution Threat Hunting](https://github.com/orgs/elastic/teams/security-threat-hunting) | The Case management system in Kibana | 83 | 0 | 57 | 23 | -| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 314 | 2 | 282 | 4 | +| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 314 | 2 | 281 | 4 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 22 | 0 | 22 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 13 | 0 | 13 | 1 | -| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2329 | 15 | 1000 | 32 | +| | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Controls Plugin contains embeddable components intended to create a simple query interface for end users, and a powerful editing suite that allows dashboard authors to build controls | 118 | 0 | 117 | 3 | +| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2333 | 15 | 953 | 32 | | crossClusterReplication | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | -| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | Add custom data integrations so they can be displayed in the Fleet integrations app | 96 | 0 | 80 | 1 | +| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | Add custom data integrations so they can be displayed in the Fleet integrations app | 96 | 0 | 77 | 1 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds the Dashboard app to Kibana | 154 | 0 | 141 | 13 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 51 | 0 | 50 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3325 | 39 | 2930 | 26 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3341 | 39 | 2747 | 26 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Enhanced data plugin. (See src/plugins/data.) Enhances the main data plugin with a search session management UI. Includes a reusable search session indicator component to use in other applications. Exposes routes for managing search sessions. Includes a service that monitors, updates, and cleans up search session saved objects. | 16 | 0 | 16 | 2 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | This plugin provides the ability to create data views via a modal flyout from any kibana app | 13 | 0 | 9 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Reusable data view field editor across Kibana | 42 | 0 | 39 | 3 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | This plugin provides the ability to create data views via a modal flyout from any kibana app | 13 | 0 | 7 | 0 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Reusable data view field editor across Kibana | 42 | 0 | 37 | 3 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data view management app | 2 | 0 | 2 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 704 | 3 | 562 | 6 | -| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The Data Visualizer tools help you understand your data, by analyzing the metrics and fields in a log file or an existing Elasticsearch index. | 84 | 2 | 84 | 0 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 721 | 3 | 579 | 6 | +| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The Data Visualizer tools help you understand your data, by analyzing the metrics and fields in a log file or an existing Elasticsearch index. | 85 | 2 | 81 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 10 | 0 | 8 | 2 | | | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | This plugin contains the Discover application and the saved search embeddable. | 89 | 0 | 61 | 7 | | | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 37 | 0 | 35 | 2 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds embeddables service to Kibana | 452 | 0 | 374 | 4 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds embeddables service to Kibana | 452 | 0 | 368 | 4 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Extends embeddable plugin with more functionality | 14 | 0 | 14 | 0 | -| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides encryption and decryption utilities for saved objects containing sensitive information. | 29 | 0 | 27 | 4 | +| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides encryption and decryption utilities for saved objects containing sensitive information. | 48 | 0 | 44 | 0 | | | [Enterprise Search](https://github.com/orgs/elastic/teams/enterprise-search-frontend) | Adds dashboards for discovering and managing Enterprise Search products. | 2 | 0 | 2 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 110 | 3 | 106 | 3 | | | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 82 | 0 | 82 | 5 | -| | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'error' renderer to expressions | 17 | 0 | 17 | 2 | +| | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'error' renderer to expressions | 17 | 0 | 15 | 2 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression Gauge plugin adds a `gauge` renderer and function to the expression plugin. The renderer will display the `gauge` chart. | 62 | 0 | 62 | 1 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression Heatmap plugin adds a `heatmap` renderer and function to the expression plugin. The renderer will display the `heatmap` chart. | 115 | 0 | 111 | 3 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'image' function and renderer to expressions | 26 | 0 | 26 | 0 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'metric' function and renderer to expressions | 32 | 0 | 27 | 0 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression MetricVis plugin adds a `metric` renderer and function to the expression plugin. The renderer will display the `metric` chart. | 40 | 0 | 40 | 0 | +| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression Pie plugin adds a `pie` renderer and function to the expression plugin. The renderer will display the `pie` chart. | 43 | 0 | 43 | 2 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'repeatImage' function and renderer to expressions | 32 | 0 | 32 | 0 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'revealImage' function and renderer to expressions | 14 | 0 | 14 | 3 | -| | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'shape' function and renderer to expressions | 148 | 0 | 148 | 0 | +| | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'shape' function and renderer to expressions | 148 | 0 | 146 | 0 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression Tagcloud plugin adds a `tagcloud` renderer and function to the expression plugin. The renderer will display the `Wordcloud` chart. | 5 | 0 | 5 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds expression runtime to Kibana | 2104 | 26 | 1658 | 3 | -| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 216 | 0 | 98 | 2 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds expression runtime to Kibana | 2093 | 26 | 1645 | 3 | +| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 222 | 0 | 98 | 2 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Index pattern fields and ambiguous values formatters | 286 | 6 | 247 | 3 | -| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The file upload plugin contains components and services for uploading a file, analyzing its data, and then importing the data into an Elasticsearch index. Supported file types include CSV, TSV, newline-delimited JSON and GeoJSON. | 129 | 2 | 129 | 1 | -| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | - | 1268 | 8 | 1156 | 10 | +| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The file upload plugin contains components and services for uploading a file, analyzing its data, and then importing the data into an Elasticsearch index. Supported file types include CSV, TSV, newline-delimited JSON and GeoJSON. | 133 | 2 | 133 | 1 | +| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | - | 1268 | 8 | 1152 | 10 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 68 | 0 | 14 | 5 | | globalSearchBar | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | | globalSearchProviders | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | | graph | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 0 | 0 | 0 | 0 | | grokdebugger | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | -| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 133 | 0 | 103 | 0 | +| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 133 | 0 | 97 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 4 | 0 | 4 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 169 | 3 | 164 | 3 | | | [Logs and Metrics UI](https://github.com/orgs/elastic/teams/logs-metrics-ui) | This plugin visualizes data from Filebeat and Metricbeat, and integrates with other Observability solutions | 25 | 0 | 22 | 3 | @@ -85,14 +87,14 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 123 | 2 | 96 | 4 | | | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides UI and APIs for the interactive setup mode. | 28 | 0 | 18 | 0 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 6 | 0 | 6 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 235 | 0 | 210 | 5 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 235 | 0 | 200 | 5 | | kibanaUsageCollection | [Kibana Telemetry](https://github.com/orgs/elastic/teams/kibana-telemetry) | - | 0 | 0 | 0 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 613 | 3 | 418 | 9 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Visualization editor allowing to quickly and easily configure compelling visualizations to use on dashboards and canvas workpads. Exposes components to embed visualizations and link into the Lens editor from within other apps in Kibana. | 263 | 0 | 246 | 31 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 8 | 0 | 8 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 3 | 0 | 3 | 0 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 117 | 0 | 42 | 10 | -| | [Security detections response](https://github.com/orgs/elastic/teams/security-detections-response) | - | 164 | 0 | 144 | 41 | +| | [Security detections response](https://github.com/orgs/elastic/teams/security-detections-response) | - | 173 | 0 | 150 | 42 | | logstash | [Logstash](https://github.com/orgs/elastic/teams/logstash) | - | 0 | 0 | 0 | 0 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 41 | 0 | 41 | 6 | | | [GIS](https://github.com/orgs/elastic/teams/kibana-gis) | - | 207 | 0 | 206 | 30 | @@ -102,39 +104,40 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Stack Monitoring](https://github.com/orgs/elastic/teams/stack-monitoring-ui) | - | 10 | 0 | 10 | 2 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 31 | 0 | 31 | 2 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 17 | 0 | 17 | 0 | -| | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 308 | 1 | 307 | 24 | +| | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 311 | 1 | 308 | 24 | | | [Security asset management](https://github.com/orgs/elastic/teams/security-asset-management) | - | 10 | 0 | 10 | 0 | | painlessLab | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | -| | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas). | 318 | 2 | 278 | 14 | +| | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas). | 223 | 2 | 172 | 10 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 4 | 0 | 4 | 0 | | | [Kibana Reporting Services](https://github.com/orgs/elastic/teams/kibana-reporting-services) | Reporting Services enables applications to feature reports that the user can automate with Watcher and download later. | 27 | 0 | 27 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 21 | 0 | 21 | 0 | | | [RAC](https://github.com/orgs/elastic/teams/rac) | - | 175 | 0 | 148 | 7 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 24 | 0 | 19 | 2 | -| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 221 | 3 | 207 | 5 | +| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 221 | 3 | 177 | 5 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 103 | 0 | 90 | 0 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 54 | 0 | 50 | 0 | -| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 90 | 0 | 51 | 0 | +| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 90 | 0 | 45 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 29 | 0 | 24 | 1 | | | [Kibana Reporting Services](https://github.com/orgs/elastic/teams/kibana-reporting-services) | Kibana Screenshotting Plugin | 25 | 0 | 11 | 5 | | searchprofiler | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | -| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides authentication and authorization features, and exposes functionality to understand the capabilities of the currently authenticated user. | 108 | 0 | 47 | 10 | +| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides authentication and authorization features, and exposes functionality to understand the capabilities of the currently authenticated user. | 180 | 0 | 104 | 0 | | | [Security solution](https://github.com/orgs/elastic/teams/security-solution) | - | 45 | 0 | 45 | 19 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds URL Service and sharing capabilities to Kibana | 132 | 0 | 79 | 10 | +| | [Shared UX](https://github.com/orgs/elastic/teams/shared-ux) | A plugin providing components and services for shared user experiences in Kibana. | 10 | 0 | 0 | 1 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 23 | 1 | 23 | 1 | -| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides the Spaces feature, which allows saved objects to be organized into meaningful categories. | 208 | 0 | 21 | 1 | +| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides the Spaces feature, which allows saved objects to be organized into meaningful categories. | 248 | 0 | 61 | 0 | | | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 4 | 0 | 4 | 0 | | | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 70 | 0 | 32 | 7 | | | [Kibana Telemetry](https://github.com/orgs/elastic/teams/kibana-telemetry) | - | 41 | 0 | 0 | 0 | | | [Kibana Telemetry](https://github.com/orgs/elastic/teams/kibana-telemetry) | - | 33 | 0 | 33 | 6 | | | [Kibana Telemetry](https://github.com/orgs/elastic/teams/kibana-telemetry) | - | 1 | 0 | 1 | 0 | | | [Kibana Telemetry](https://github.com/orgs/elastic/teams/kibana-telemetry) | - | 11 | 0 | 10 | 0 | -| | [Security solution](https://github.com/orgs/elastic/teams/security-solution) | - | 442 | 1 | 378 | 34 | +| | [Security solution](https://github.com/orgs/elastic/teams/security-solution) | - | 442 | 1 | 336 | 34 | | | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | This plugin provides access to the transforms features provided by Elastic. Transforms enable you to convert existing Elasticsearch indices into summarized indices, which provide opportunities for new insights and analytics. | 4 | 0 | 4 | 1 | | translations | [Kibana Localization](https://github.com/orgs/elastic/teams/kibana-localization) | - | 0 | 0 | 0 | 0 | -| | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 246 | 0 | 237 | 18 | +| | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 246 | 0 | 234 | 18 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds UI Actions service to Kibana | 129 | 0 | 90 | 11 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Extends UI Actions plugin with more functionality | 203 | 0 | 145 | 9 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Extends UI Actions plugin with more functionality | 203 | 0 | 141 | 9 | | upgradeAssistant | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | | uptime | [Uptime](https://github.com/orgs/elastic/teams/uptime) | This plugin visualizes data from Synthetics and Heartbeat, and integrates with other Observability solutions. | 0 | 0 | 0 | 0 | | urlDrilldown | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds drilldown implementations to Kibana | 0 | 0 | 0 | 0 | @@ -144,7 +147,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Contains the heatmap implementation using the elastic-charts library. The goal is to eventually deprecate the old implementation and keep only this. Until then, the library used is defined by the Legacy heatmap charts library advanced setting. | 3 | 0 | 3 | 2 | | visTypeMarkdown | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds a markdown visualization type | 0 | 0 | 0 | 0 | | visTypeMetric | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Registers the Metric aggregation-based visualization. | 0 | 0 | 0 | 0 | -| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Contains the pie chart implementation using the elastic-charts library. The goal is to eventually deprecate the old implementation and keep only this. Until then, the library used is defined by the Legacy charts library advanced setting. | 12 | 0 | 12 | 2 | +| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Contains the pie chart implementation using the elastic-charts library. The goal is to eventually deprecate the old implementation and keep only this. Until then, the library used is defined by the Legacy charts library advanced setting. | 12 | 0 | 12 | 1 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Registers the datatable aggregation-based visualization. | 12 | 0 | 12 | 0 | | visTypeTagcloud | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Registers the tagcloud visualization. It is based on elastic-charts wordcloud. | 0 | 0 | 0 | 0 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Registers the timelion visualization. Also contains the backend for both timelion app and timelion visualization. | 2 | 0 | 2 | 2 | @@ -180,7 +183,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Owner missing] | - | 30 | 1 | 30 | 1 | | | [Owner missing] | - | 18 | 0 | 18 | 3 | | | [Owner missing] | - | 30 | 0 | 5 | 36 | -| | [Owner missing] | - | 466 | 1 | 377 | 0 | +| | [Owner missing] | - | 466 | 1 | 1 | 0 | | | [Owner missing] | - | 55 | 0 | 55 | 2 | | | [Owner missing] | - | 45 | 0 | 45 | 10 | | | [Owner missing] | - | 1 | 0 | 1 | 0 | @@ -191,10 +194,10 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Owner missing] | Security Solution auto complete | 47 | 1 | 34 | 0 | | | [Owner missing] | security solution elastic search utilities to use across plugins such lists, security_solution, cases, etc... | 57 | 0 | 51 | 1 | | | [Owner missing] | Security Solution utilities for React hooks | 14 | 0 | 6 | 0 | -| | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 147 | 0 | 128 | 0 | +| | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 148 | 0 | 129 | 0 | | | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 439 | 1 | 428 | 0 | | | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 48 | 0 | 26 | 0 | -| | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 28 | 0 | 22 | 0 | +| | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 28 | 0 | 21 | 0 | | | [Owner missing] | security solution list REST API | 59 | 0 | 58 | 0 | | | [Owner missing] | security solution list constants to use across plugins such lists, security_solution, cases, etc... | 23 | 0 | 9 | 0 | | | [Owner missing] | Security solution list ReactJS hooks | 56 | 0 | 44 | 0 | @@ -205,7 +208,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Owner missing] | - | 53 | 0 | 50 | 1 | | | [Owner missing] | - | 30 | 0 | 29 | 1 | | | [Owner missing] | - | 96 | 1 | 63 | 2 | -| | [Owner missing] | - | 20 | 1 | 20 | 0 | +| | [Owner missing] | - | 22 | 2 | 21 | 0 | | | [Owner missing] | - | 2 | 0 | 2 | 0 | | | [Owner missing] | - | 203 | 4 | 180 | 10 | | | [Owner missing] | - | 78 | 0 | 78 | 0 | diff --git a/api_docs/presentation_util.json b/api_docs/presentation_util.json index ec47d26990790..52640ac208289 100644 --- a/api_docs/presentation_util.json +++ b/api_docs/presentation_util.json @@ -2,1440 +2,6 @@ "id": "presentationUtil", "client": { "classes": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer", - "type": "Class", - "tags": [], - "label": "ControlGroupContainer", - "description": [], - "signature": [ - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlGroupContainer", - "text": "ControlGroupContainer" - }, - " extends ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.Container", - "text": "Container" - }, - "<", - "ControlInput", - ", ", - "ControlGroupInput", - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlGroupOutput", - "text": "ControlGroupOutput" - }, - ">" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "\"control_group\"" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.untilReady", - "type": "Function", - "tags": [], - "label": "untilReady", - "description": [], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "initialInput", - "description": [], - "signature": [ - "ControlGroupInput" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.Unnamed.$2", - "type": "Object", - "tags": [], - "label": "parent", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.Container", - "text": "Container" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - "> | undefined" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.createNewPanelState", - "type": "Function", - "tags": [], - "label": "createNewPanelState", - "description": [], - "signature": [ - "(factory: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - "<", - "ControlInput", - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlOutput", - "text": "ControlOutput" - }, - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlEmbeddable", - "text": "ControlEmbeddable" - }, - "<", - "ControlInput", - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlOutput", - "text": "ControlOutput" - }, - ">, ", - "SavedObjectAttributes", - ">, partial?: Partial) => ", - "ControlPanelState", - "" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.createNewPanelState.$1", - "type": "Object", - "tags": [], - "label": "factory", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - "<", - "ControlInput", - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlOutput", - "text": "ControlOutput" - }, - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlEmbeddable", - "text": "ControlEmbeddable" - }, - "<", - "ControlInput", - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlOutput", - "text": "ControlOutput" - }, - ">, ", - "SavedObjectAttributes", - ">" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.createNewPanelState.$2", - "type": "Object", - "tags": [], - "label": "partial", - "description": [], - "signature": [ - "Partial" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.getInheritedInput", - "type": "Function", - "tags": [], - "label": "getInheritedInput", - "description": [], - "signature": [ - "(id: string) => ", - "ControlInput" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.getInheritedInput.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.destroy", - "type": "Function", - "tags": [], - "label": "destroy", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.render", - "type": "Function", - "tags": [], - "label": "render", - "description": [], - "signature": [ - "(dom: HTMLElement) => void" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainer.render.$1", - "type": "Object", - "tags": [], - "label": "dom", - "description": [], - "signature": [ - "HTMLElement" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container.tsx", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory", - "type": "Class", - "tags": [], - "label": "ControlGroupContainerFactory", - "description": [], - "signature": [ - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlGroupContainerFactory", - "text": "ControlGroupContainerFactory" - }, - " implements ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactoryDefinition", - "text": "EmbeddableFactoryDefinition" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ">, ", - "SavedObjectAttributes", - ">" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.isContainerType", - "type": "boolean", - "tags": [], - "label": "isContainerType", - "description": [], - "signature": [ - "true" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "\"control_group\"" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.inject", - "type": "Function", - "tags": [], - "label": "inject", - "description": [], - "signature": [ - "(state: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - }, - ", references: ", - "SavedObjectReference", - "[]) => ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - } - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.inject.$1", - "type": "Uncategorized", - "tags": [], - "label": "state", - "description": [], - "signature": [ - "P" - ], - "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.inject.$2", - "type": "Array", - "tags": [], - "label": "references", - "description": [], - "signature": [ - "SavedObjectReference", - "[]" - ], - "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.extract", - "type": "Function", - "tags": [], - "label": "extract", - "description": [], - "signature": [ - "(state: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - }, - ") => { state: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - }, - "; references: ", - "SavedObjectReference", - "[]; }" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.extract.$1", - "type": "Uncategorized", - "tags": [], - "label": "state", - "description": [], - "signature": [ - "P" - ], - "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "persistableStateService", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddablePersistableStateService", - "text": "EmbeddablePersistableStateService" - } - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.isEditable", - "type": "Function", - "tags": [], - "label": "isEditable", - "description": [], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.getDisplayName", - "type": "Function", - "tags": [], - "label": "getDisplayName", - "description": [], - "signature": [ - "() => string" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.getDefaultInput", - "type": "Function", - "tags": [], - "label": "getDefaultInput", - "description": [], - "signature": [ - "() => Partial<", - "ControlGroupInput", - ">" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [], - "signature": [ - "(initialInput: ", - "ControlGroupInput", - ", parent?: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.Container", - "text": "Container" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - "> | undefined) => Promise<", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlGroupContainer", - "text": "ControlGroupContainer" - }, - ">" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.create.$1", - "type": "Object", - "tags": [], - "label": "initialInput", - "description": [], - "signature": [ - "ControlGroupInput" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupContainerFactory.create.$2", - "type": "Object", - "tags": [], - "label": "parent", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.Container", - "text": "Container" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - "> | undefined" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddable", - "type": "Class", - "tags": [], - "label": "OptionsListEmbeddable", - "description": [], - "signature": [ - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.OptionsListEmbeddable", - "text": "OptionsListEmbeddable" - }, - " extends ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.Embeddable", - "text": "Embeddable" - }, - "<", - "OptionsListEmbeddableInput", - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlOutput", - "text": "ControlOutput" - }, - ">" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddable.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "\"optionsListControl\"" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddable.deferEmbeddableLoad", - "type": "boolean", - "tags": [], - "label": "deferEmbeddableLoad", - "description": [], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddable.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddable.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "input", - "description": [], - "signature": [ - "OptionsListEmbeddableInput" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddable.Unnamed.$2", - "type": "CompoundType", - "tags": [], - "label": "output", - "description": [], - "signature": [ - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlOutput", - "text": "ControlOutput" - } - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddable.Unnamed.$3", - "type": "Object", - "tags": [], - "label": "parent", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - "> | undefined" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddable.reload", - "type": "Function", - "tags": [], - "label": "reload", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddable.destroy", - "type": "Function", - "tags": [], - "label": "destroy", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddable.render", - "type": "Function", - "tags": [], - "label": "render", - "description": [], - "signature": [ - "(node: HTMLElement) => void" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddable.render.$1", - "type": "Object", - "tags": [], - "label": "node", - "description": [], - "signature": [ - "HTMLElement" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory", - "type": "Class", - "tags": [], - "label": "OptionsListEmbeddableFactory", - "description": [], - "signature": [ - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.OptionsListEmbeddableFactory", - "text": "OptionsListEmbeddableFactory" - }, - " implements ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactoryDefinition", - "text": "EmbeddableFactoryDefinition" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ">, ", - "SavedObjectAttributes", - ">,", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.IEditableControlFactory", - "text": "IEditableControlFactory" - }, - "<", - "OptionsListEmbeddableInput", - ">" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.canCreateNew", - "type": "Function", - "tags": [], - "label": "canCreateNew", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [], - "signature": [ - "(initialInput: ", - "OptionsListEmbeddableInput", - ", parent?: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - "> | undefined) => Promise<", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.OptionsListEmbeddable", - "text": "OptionsListEmbeddable" - }, - ">" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.create.$1", - "type": "Object", - "tags": [], - "label": "initialInput", - "description": [], - "signature": [ - "OptionsListEmbeddableInput" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.create.$2", - "type": "Object", - "tags": [], - "label": "parent", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - "> | undefined" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.presaveTransformFunction", - "type": "Function", - "tags": [], - "label": "presaveTransformFunction", - "description": [], - "signature": [ - "(newInput: Partial<", - "OptionsListEmbeddableInput", - ">, embeddable?: ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlEmbeddable", - "text": "ControlEmbeddable" - }, - "<", - "OptionsListEmbeddableInput", - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlOutput", - "text": "ControlOutput" - }, - "> | undefined) => Partial<", - "OptionsListEmbeddableInput", - ">" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.presaveTransformFunction.$1", - "type": "Object", - "tags": [], - "label": "newInput", - "description": [], - "signature": [ - "Partial<", - "OptionsListEmbeddableInput", - ">" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.presaveTransformFunction.$2", - "type": "Object", - "tags": [], - "label": "embeddable", - "description": [], - "signature": [ - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlEmbeddable", - "text": "ControlEmbeddable" - }, - "<", - "OptionsListEmbeddableInput", - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlOutput", - "text": "ControlOutput" - }, - "> | undefined" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.controlEditorComponent", - "type": "Function", - "tags": [], - "label": "controlEditorComponent", - "description": [], - "signature": [ - "({ onChange, initialInput, setValidState, setDefaultTitle, }: ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlEditorProps", - "text": "ControlEditorProps" - }, - "<", - "OptionsListEmbeddableInput", - ">) => JSX.Element" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.controlEditorComponent.$1", - "type": "Object", - "tags": [], - "label": "__0", - "description": [], - "signature": [ - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlEditorProps", - "text": "ControlEditorProps" - }, - "<", - "OptionsListEmbeddableInput", - ">" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_editor.tsx", - "deprecated": false - } - ] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.isEditable", - "type": "Function", - "tags": [], - "label": "isEditable", - "description": [], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.getDisplayName", - "type": "Function", - "tags": [], - "label": "getDisplayName", - "description": [], - "signature": [ - "() => string" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.inject", - "type": "Function", - "tags": [], - "label": "inject", - "description": [], - "signature": [ - "(state: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - }, - ", references: ", - "SavedObjectReference", - "[]) => ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - } - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.inject.$1", - "type": "Uncategorized", - "tags": [], - "label": "state", - "description": [], - "signature": [ - "P" - ], - "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.inject.$2", - "type": "Array", - "tags": [], - "label": "references", - "description": [], - "signature": [ - "SavedObjectReference", - "[]" - ], - "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.extract", - "type": "Function", - "tags": [], - "label": "extract", - "description": [], - "signature": [ - "(state: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - }, - ") => { state: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - }, - "; references: ", - "SavedObjectReference", - "[]; }" - ], - "path": "src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableFactory.extract.$1", - "type": "Uncategorized", - "tags": [], - "label": "state", - "description": [], - "signature": [ - "P" - ], - "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", - "deprecated": false - } - ] - } - ], - "initialIsOpen": false - }, { "parentPluginId": "presentationUtil", "id": "def-public.PluginServiceProvider", @@ -2030,13 +596,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">) => any" ], "path": "src/plugins/presentation_util/common/lib/test_helpers/function_wrapper.ts", @@ -2246,6 +806,60 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.LazyDataViewPicker", + "type": "Function", + "tags": [], + "label": "LazyDataViewPicker", + "description": [], + "signature": [ + "React.ExoticComponent<{ dataViews: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]; selectedDataViewId?: string | undefined; trigger: ", + "DataViewTriggerProps", + "; onChangeDataViewId: (newId: string) => void; selectableProps?: ", + "EuiSelectableProps", + "<{}> | undefined; }> & { readonly _result: ({ dataViews, selectedDataViewId, onChangeDataViewId, trigger, selectableProps, }: { dataViews: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]; selectedDataViewId?: string | undefined; trigger: ", + "DataViewTriggerProps", + "; onChangeDataViewId: (newId: string) => void; selectableProps?: ", + "EuiSelectableProps", + "<{}> | undefined; }) => JSX.Element; }" + ], + "path": "src/plugins/presentation_util/public/components/index.tsx", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "presentationUtil", + "id": "def-public.LazyDataViewPicker.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "presentationUtil", "id": "def-public.LazyExpressionInput", @@ -2294,6 +908,40 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.LazyFieldPicker", + "type": "Function", + "tags": [], + "label": "LazyFieldPicker", + "description": [], + "signature": [ + "React.ExoticComponent<", + "FieldPickerProps", + "> & { readonly _result: ({ dataView, onSelectField, filterPredicate, selectedFieldName, }: ", + "FieldPickerProps", + ") => JSX.Element; }" + ], + "path": "src/plugins/presentation_util/public/components/index.tsx", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "presentationUtil", + "id": "def-public.LazyFieldPicker.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "presentationUtil", "id": "def-public.LazyLabsBeakerButton", @@ -2316,7 +964,41 @@ "children": [ { "parentPluginId": "presentationUtil", - "id": "def-public.LazyLabsBeakerButton.$1", + "id": "def-public.LazyLabsBeakerButton.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.LazyLabsFlyout", + "type": "Function", + "tags": [], + "label": "LazyLabsFlyout", + "description": [], + "signature": [ + "React.ExoticComponent<", + "Props", + "> & { readonly _result: (props: ", + "Props", + ") => JSX.Element; }" + ], + "path": "src/plugins/presentation_util/public/components/index.tsx", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "presentationUtil", + "id": "def-public.LazyLabsFlyout.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -2332,17 +1014,37 @@ }, { "parentPluginId": "presentationUtil", - "id": "def-public.LazyLabsFlyout", + "id": "def-public.LazyReduxEmbeddableWrapper", "type": "Function", "tags": [], - "label": "LazyLabsFlyout", + "label": "LazyReduxEmbeddableWrapper", "description": [], "signature": [ - "React.ExoticComponent<", - "Props", - "> & { readonly _result: (props: ", - "Props", - ") => JSX.Element; }" + "(props: ", + { + "pluginId": "presentationUtil", + "scope": "public", + "docId": "kibPresentationUtilPluginApi", + "section": "def-public.ReduxEmbeddableWrapperPropsWithChildren", + "text": "ReduxEmbeddableWrapperPropsWithChildren" + }, + ") => JSX.Element" ], "path": "src/plugins/presentation_util/public/components/index.tsx", "deprecated": false, @@ -2350,15 +1052,16 @@ "children": [ { "parentPluginId": "presentationUtil", - "id": "def-public.LazyLabsFlyout.$1", - "type": "Uncategorized", + "id": "def-public.LazyReduxEmbeddableWrapper.$1", + "type": "CompoundType", "tags": [], "label": "props", "description": [], "signature": [ - "P" + "ReduxEmbeddableWrapperProps", + " & { children?: React.ReactNode; }" ], - "path": "node_modules/@types/react/index.d.ts", + "path": "src/plugins/presentation_util/public/components/redux_embeddables/redux_embeddable_wrapper.tsx", "deprecated": false } ], @@ -2820,240 +1523,61 @@ }, { "parentPluginId": "presentationUtil", - "id": "def-public.withSuspense", + "id": "def-public.useReduxContainerContext", "type": "Function", "tags": [], - "label": "withSuspense", + "label": "useReduxContainerContext", "description": [ - "\nA HOC which supplies React.Suspense with a fallback component, and a `EuiErrorBoundary` to contain errors." + "\nA typed use context hook for embeddable containers. it @returns an\nReduxContainerContextServices object typed to the generic inputTypes and ReducerTypes you pass in.\nNote that the reducer type is optional, but will be required to correctly infer the keys and payload\ntypes of your reducers. use `typeof MyReducers` here to retain them. It also includes a containerActions\nkey which contains most of the commonly used container operations" ], "signature": [ - "

(Component: React.ComponentType

, fallback?: React.ReactElement> | null) => React.ForwardRefExoticComponent & React.RefAttributes>" - ], - "path": "src/plugins/presentation_util/public/components/index.tsx", - "deprecated": false, - "children": [ + "" - ], - "path": "src/plugins/presentation_util/public/components/index.tsx", - "deprecated": false, - "isRequired": true + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" }, + "<{}> = ", { - "parentPluginId": "presentationUtil", - "id": "def-public.withSuspense.$2", - "type": "CompoundType", - "tags": [], - "label": "fallback", - "description": [ - "A fallback component to render while things load; default is `EuiLoadingSpinner`" - ], - "signature": [ - "React.ReactElement> | null" - ], - "path": "src/plugins/presentation_util/public/components/index.tsx", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.CommonControlOutput", - "type": "Interface", - "tags": [], - "label": "CommonControlOutput", - "description": [], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.CommonControlOutput.filters", - "type": "Array", - "tags": [], - "label": "filters", - "description": [], - "signature": [ - "Filter", - "[] | undefined" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.CommonControlOutput.dataViews", - "type": "Array", - "tags": [], - "label": "dataViews", - "description": [], - "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - "[] | undefined" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlEditorProps", - "type": "Interface", - "tags": [], - "label": "ControlEditorProps", - "description": [], - "signature": [ + "<{}>, ReducerType extends ", + "GenericEmbeddableReducers", + " = ", + "GenericEmbeddableReducers", + ">() => ", { "pluginId": "presentationUtil", "scope": "public", "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlEditorProps", - "text": "ControlEditorProps" + "section": "def-public.ReduxContainerContextServices", + "text": "ReduxContainerContextServices" }, - "" + "" ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", + "path": "src/plugins/presentation_util/public/components/redux_embeddables/redux_embeddable_context.ts", "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlEditorProps.initialInput", - "type": "Object", - "tags": [], - "label": "initialInput", - "description": [], - "signature": [ - "Partial | undefined" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlEditorProps.onChange", - "type": "Function", - "tags": [], - "label": "onChange", - "description": [], - "signature": [ - "(partial: Partial) => void" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlEditorProps.onChange.$1", - "type": "Object", - "tags": [], - "label": "partial", - "description": [], - "signature": [ - "Partial" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlEditorProps.setValidState", - "type": "Function", - "tags": [], - "label": "setValidState", - "description": [], - "signature": [ - "(valid: boolean) => void" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlEditorProps.setValidState.$1", - "type": "boolean", - "tags": [], - "label": "valid", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlEditorProps.setDefaultTitle", - "type": "Function", - "tags": [], - "label": "setDefaultTitle", - "description": [], - "signature": [ - "(defaultTitle: string) => void" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlEditorProps.setDefaultTitle.$1", - "type": "string", - "tags": [], - "label": "defaultTitle", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], + "children": [], + "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupInput", - "type": "Interface", + "id": "def-public.useReduxEmbeddableContext", + "type": "Function", "tags": [], - "label": "ControlGroupInput", - "description": [], + "label": "useReduxEmbeddableContext", + "description": [ + "\nA typed use context hook for embeddables that are not containers. it @returns an\nReduxEmbeddableContextServices object typed to the generic inputTypes and ReducerTypes you pass in.\nNote that the reducer type is optional, but will be required to correctly infer the keys and payload\ntypes of your reducers. use `typeof MyReducers` here to retain them." + ], "signature": [ - "ControlGroupInput", - " extends ", + " = ", + "GenericEmbeddableReducers", + ">() => ", + "ReduxEmbeddableContextServices", + "" ], + "path": "src/plugins/presentation_util/public/components/redux_embeddables/redux_embeddable_context.ts", + "deprecated": false, + "children": [], + "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "presentationUtil", - "id": "def-public.ControlPanelState", - "type": "Interface", + "id": "def-public.withSuspense", + "type": "Function", "tags": [], - "label": "ControlPanelState", - "description": [], - "signature": [ - "ControlPanelState", - " extends ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.PanelState", - "text": "PanelState" - }, - "" + "label": "withSuspense", + "description": [ + "\nA HOC which supplies React.Suspense with a fallback component, and a `EuiErrorBoundary` to contain errors." ], - "path": "src/plugins/presentation_util/common/controls/control_group/types.ts", + "signature": [ + "

(Component: React.ComponentType

, fallback?: React.ReactElement> | null) => React.ForwardRefExoticComponent & React.RefAttributes>" + ], + "path": "src/plugins/presentation_util/public/components/index.tsx", "deprecated": false, "children": [ { "parentPluginId": "presentationUtil", - "id": "def-public.ControlPanelState.order", - "type": "number", - "tags": [], - "label": "order", - "description": [], - "path": "src/plugins/presentation_util/common/controls/control_group/types.ts", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlPanelState.width", + "id": "def-public.withSuspense.$1", "type": "CompoundType", "tags": [], - "label": "width", - "description": [], + "label": "Component", + "description": [ + "A component deferred by `React.lazy`" + ], "signature": [ - "\"auto\" | \"small\" | \"medium\" | \"large\"" + "React.ComponentType

" ], - "path": "src/plugins/presentation_util/common/controls/control_group/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlsPanels", - "type": "Interface", - "tags": [], - "label": "ControlsPanels", - "description": [], - "path": "src/plugins/presentation_util/common/controls/control_group/types.ts", - "deprecated": false, - "children": [ + "path": "src/plugins/presentation_util/public/components/index.tsx", + "deprecated": false, + "isRequired": true + }, { "parentPluginId": "presentationUtil", - "id": "def-public.ControlsPanels.Unnamed", - "type": "IndexSignature", + "id": "def-public.withSuspense.$2", + "type": "CompoundType", "tags": [], - "label": "[panelId: string]: ControlPanelState", - "description": [], + "label": "fallback", + "description": [ + "A fallback component to render while things load; default is `EuiLoadingSpinner`" + ], "signature": [ - "[panelId: string]: ", - "ControlPanelState", - "<", - "ControlInput", - ">" + "React.ReactElement> | null" ], - "path": "src/plugins/presentation_util/common/controls/control_group/types.ts", - "deprecated": false + "path": "src/plugins/presentation_util/public/components/index.tsx", + "deprecated": false, + "isRequired": false } ], + "returnComment": [], "initialIsOpen": false - }, + } + ], + "interfaces": [ { "parentPluginId": "presentationUtil", "id": "def-public.ExpressionInputProps", @@ -3332,151 +1804,6 @@ ], "initialIsOpen": false }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.IEditableControlFactory", - "type": "Interface", - "tags": [], - "label": "IEditableControlFactory", - "description": [ - "\nControl embeddable editor types" - ], - "signature": [ - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.IEditableControlFactory", - "text": "IEditableControlFactory" - }, - "" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.IEditableControlFactory.controlEditorComponent", - "type": "Function", - "tags": [], - "label": "controlEditorComponent", - "description": [], - "signature": [ - "((props: ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlEditorProps", - "text": "ControlEditorProps" - }, - ") => JSX.Element) | undefined" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.IEditableControlFactory.controlEditorComponent.$1", - "type": "Object", - "tags": [], - "label": "props", - "description": [], - "signature": [ - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlEditorProps", - "text": "ControlEditorProps" - }, - "" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.IEditableControlFactory.presaveTransformFunction", - "type": "Function", - "tags": [], - "label": "presaveTransformFunction", - "description": [], - "signature": [ - "((newState: Partial, embeddable?: ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlEmbeddable", - "text": "ControlEmbeddable" - }, - " | undefined) => Partial) | undefined" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.IEditableControlFactory.presaveTransformFunction.$1", - "type": "Object", - "tags": [], - "label": "newState", - "description": [], - "signature": [ - "Partial" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.IEditableControlFactory.presaveTransformFunction.$2", - "type": "Object", - "tags": [], - "label": "embeddable", - "description": [], - "signature": [ - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlEmbeddable", - "text": "ControlEmbeddable" - }, - " | undefined" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, { "parentPluginId": "presentationUtil", "id": "def-public.KibanaPluginServiceParams", @@ -3564,142 +1891,13 @@ { "pluginId": "core", "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.PluginInitializerContext", - "text": "PluginInitializerContext" - }, - " | undefined" - ], - "path": "src/plugins/presentation_util/public/services/create/factory.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableInput", - "type": "Interface", - "tags": [], - "label": "OptionsListEmbeddableInput", - "description": [], - "signature": [ - "OptionsListEmbeddableInput", - " extends ", - "ControlInput" - ], - "path": "src/plugins/presentation_util/common/controls/control_types/options_list/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableInput.fieldName", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "path": "src/plugins/presentation_util/common/controls/control_types/options_list/types.ts", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableInput.dataViewId", - "type": "string", - "tags": [], - "label": "dataViewId", - "description": [], - "path": "src/plugins/presentation_util/common/controls/control_types/options_list/types.ts", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableInput.selectedOptions", - "type": "Array", - "tags": [], - "label": "selectedOptions", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/presentation_util/common/controls/control_types/options_list/types.ts", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableInput.singleSelect", - "type": "CompoundType", - "tags": [], - "label": "singleSelect", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/presentation_util/common/controls/control_types/options_list/types.ts", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OptionsListEmbeddableInput.loading", - "type": "CompoundType", - "tags": [], - "label": "loading", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/presentation_util/common/controls/control_types/options_list/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ParentIgnoreSettings", - "type": "Interface", - "tags": [], - "label": "ParentIgnoreSettings", - "description": [], - "path": "src/plugins/presentation_util/common/controls/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.ParentIgnoreSettings.ignoreFilters", - "type": "CompoundType", - "tags": [], - "label": "ignoreFilters", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/presentation_util/common/controls/types.ts", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ParentIgnoreSettings.ignoreQuery", - "type": "CompoundType", - "tags": [], - "label": "ignoreQuery", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/presentation_util/common/controls/types.ts", - "deprecated": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ParentIgnoreSettings.ignoreTimerange", - "type": "CompoundType", - "tags": [], - "label": "ignoreTimerange", - "description": [], - "signature": [ - "boolean | undefined" + "docId": "kibCorePluginApi", + "section": "def-public.PluginInitializerContext", + "text": "PluginInitializerContext" + }, + " | undefined" ], - "path": "src/plugins/presentation_util/common/controls/types.ts", + "path": "src/plugins/presentation_util/public/services/create/factory.ts", "deprecated": false } ], @@ -4271,213 +2469,6 @@ ], "enums": [], "misc": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.CONTROL_GROUP_TYPE", - "type": "string", - "tags": [], - "label": "CONTROL_GROUP_TYPE", - "description": [], - "signature": [ - "\"control_group\"" - ], - "path": "src/plugins/presentation_util/common/controls/control_group/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlEmbeddable", - "type": "Type", - "tags": [], - "label": "ControlEmbeddable", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlFactory", - "type": "Type", - "tags": [], - "label": "ControlFactory", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - "<", - "ControlInput", - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlOutput", - "text": "ControlOutput" - }, - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlEmbeddable", - "text": "ControlEmbeddable" - }, - "<", - "ControlInput", - ", ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ControlOutput", - "text": "ControlOutput" - }, - ">, ", - "SavedObjectAttributes", - ">" - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlGroupOutput", - "type": "Type", - "tags": [], - "label": "ControlGroupOutput", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - " & ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.CommonControlOutput", - "text": "CommonControlOutput" - } - ], - "path": "src/plugins/presentation_util/public/components/controls/control_group/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlInput", - "type": "Type", - "tags": [], - "label": "ControlInput", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - " & { query?: ", - "Query", - " | undefined; filters?: ", - "Filter", - "[] | undefined; timeRange?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - }, - " | undefined; controlStyle?: ", - "ControlStyle", - " | undefined; ignoreParentSettings?: ", - "ParentIgnoreSettings", - " | undefined; }" - ], - "path": "src/plugins/presentation_util/common/controls/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlOutput", - "type": "Type", - "tags": [], - "label": "ControlOutput", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - " & ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.CommonControlOutput", - "text": "CommonControlOutput" - } - ], - "path": "src/plugins/presentation_util/public/components/controls/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlStyle", - "type": "Type", - "tags": [], - "label": "ControlStyle", - "description": [], - "signature": [ - "\"twoLine\" | \"oneLine\"" - ], - "path": "src/plugins/presentation_util/common/controls/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ControlWidth", - "type": "Type", - "tags": [], - "label": "ControlWidth", - "description": [], - "signature": [ - "\"auto\" | \"small\" | \"medium\" | \"large\"" - ], - "path": "src/plugins/presentation_util/common/controls/types.ts", - "deprecated": false, - "initialIsOpen": false - }, { "parentPluginId": "presentationUtil", "id": "def-public.ExpressionInputEditorRef", @@ -4557,20 +2548,6 @@ ], "initialIsOpen": false }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.OPTIONS_LIST_CONTROL", - "type": "string", - "tags": [], - "label": "OPTIONS_LIST_CONTROL", - "description": [], - "signature": [ - "\"optionsListControl\"" - ], - "path": "src/plugins/presentation_util/common/controls/control_types/options_list/types.ts", - "deprecated": false, - "initialIsOpen": false - }, { "parentPluginId": "presentationUtil", "id": "def-public.PluginServiceFactory", @@ -4669,6 +2646,60 @@ "path": "src/plugins/presentation_util/common/labs.ts", "deprecated": false, "initialIsOpen": false + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxContainerContextServices", + "type": "Type", + "tags": [], + "label": "ReduxContainerContextServices", + "description": [], + "signature": [ + "ReduxEmbeddableContextServices", + " & { containerActions: Pick<", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IContainer", + "text": "IContainer" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + ">, \"untilEmbeddableLoaded\" | \"removeEmbeddable\" | \"addNewEmbeddable\" | \"updateInputForChild\">; }" + ], + "path": "src/plugins/presentation_util/public/components/redux_embeddables/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableWrapperPropsWithChildren", + "type": "Type", + "tags": [], + "label": "ReduxEmbeddableWrapperPropsWithChildren", + "description": [], + "signature": [ + "ReduxEmbeddableWrapperProps", + " & { children?: React.ReactNode; }" + ], + "path": "src/plugins/presentation_util/public/components/redux_embeddables/types.ts", + "deprecated": false, + "initialIsOpen": false } ], "objects": [ @@ -4833,6 +2864,68 @@ "path": "src/plugins/presentation_util/common/labs.ts", "deprecated": false, "initialIsOpen": false + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableContext", + "type": "Object", + "tags": [], + "label": "ReduxEmbeddableContext", + "description": [ + "\nWhen creating the context, a generic EmbeddableInput as placeholder is used. This will later be cast to\nthe generic type passed in by the useReduxEmbeddableContext or useReduxContainerContext hooks" + ], + "signature": [ + "React.Context<", + "ReduxEmbeddableContextServices", + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + "GenericEmbeddableReducers", + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ">> | ", + { + "pluginId": "presentationUtil", + "scope": "public", + "docId": "kibPresentationUtilPluginApi", + "section": "def-public.ReduxContainerContextServices", + "text": "ReduxContainerContextServices" + }, + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + "GenericEmbeddableReducers", + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ">> | null>" + ], + "path": "src/plugins/presentation_util/public/components/redux_embeddables/redux_embeddable_context.ts", + "deprecated": false, + "initialIsOpen": false } ], "setup": { @@ -4919,19 +3012,6 @@ "path": "src/plugins/presentation_util/public/types.ts", "deprecated": false }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.PresentationUtilPluginStart.controlsService", - "type": "Object", - "tags": [], - "label": "controlsService", - "description": [], - "signature": [ - "PresentationControlsService" - ], - "path": "src/plugins/presentation_util/public/types.ts", - "deprecated": false - }, { "parentPluginId": "presentationUtil", "id": "def-public.PresentationUtilPluginStart.registerExpressionsLanguage", diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index a742cb1d71fb7..5bb6491ca8ae4 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -18,7 +18,7 @@ Contact [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-prese | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 318 | 2 | 278 | 14 | +| 223 | 2 | 172 | 10 | ## Client diff --git a/api_docs/rule_registry.json b/api_docs/rule_registry.json index f1414084c0105..d119e0185c631 100644 --- a/api_docs/rule_registry.json +++ b/api_docs/rule_registry.json @@ -106,7 +106,7 @@ "Result", "; _seq_no: number; _shards: ", "ShardStatistics", - "; _type?: string | undefined; forced_refresh?: boolean | undefined; }>" + "; forced_refresh?: boolean | undefined; }>" ], "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, @@ -196,7 +196,7 @@ }, " = never>({ query, aggs, _source, track_total_hits: trackTotalHits, size, index, }: { query?: object | undefined; aggs?: object | undefined; index: string | undefined; track_total_hits?: boolean | undefined; _source?: string[] | undefined; size?: number | undefined; }) => Promise<", "SearchResponse", - ">>>" + ">, unknown>>" ], "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, @@ -1126,13 +1126,7 @@ "text": "Logger" }, ", ruleDataClient: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.PublicContract", - "text": "PublicContract" - }, + "PublicContract", "<", { "pluginId": "ruleRegistry", @@ -1210,13 +1204,7 @@ "label": "ruleDataClient", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.PublicContract", - "text": "PublicContract" - }, + "PublicContract", "<", { "pluginId": "ruleRegistry", diff --git a/api_docs/saved_objects.json b/api_docs/saved_objects.json index e12cee1602ff3..5fc7d039bebf5 100644 --- a/api_docs/saved_objects.json +++ b/api_docs/saved_objects.json @@ -1173,7 +1173,7 @@ "section": "def-public.SavedObject", "text": "SavedObject" }, - ", \"id\" | \"title\" | \"getDisplayName\" | \"lastSavedTitle\" | \"copyOnSave\" | \"getEsType\">, isTitleDuplicateConfirmed: boolean, onTitleDuplicate: (() => void) | undefined, services: Pick<", + ", \"title\" | \"id\" | \"getDisplayName\" | \"lastSavedTitle\" | \"copyOnSave\" | \"getEsType\">, isTitleDuplicateConfirmed: boolean, onTitleDuplicate: (() => void) | undefined, services: Pick<", "SavedObjectKibanaServices", ", \"overlays\" | \"savedObjectsClient\">) => Promise" ], @@ -1196,7 +1196,7 @@ "section": "def-public.SavedObject", "text": "SavedObject" }, - ", \"id\" | \"title\" | \"getDisplayName\" | \"lastSavedTitle\" | \"copyOnSave\" | \"getEsType\">" + ", \"title\" | \"id\" | \"getDisplayName\" | \"lastSavedTitle\" | \"copyOnSave\" | \"getEsType\">" ], "path": "src/plugins/saved_objects/public/saved_object/helpers/check_for_duplicate_title.ts", "deprecated": false, diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index 271ac77480b99..0078bbef46c62 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 221 | 3 | 207 | 5 | +| 221 | 3 | 177 | 5 | ## Client diff --git a/api_docs/saved_objects_management.json b/api_docs/saved_objects_management.json index 305a3cf5bc816..67e3efdba1b40 100644 --- a/api_docs/saved_objects_management.json +++ b/api_docs/saved_objects_management.json @@ -324,7 +324,7 @@ "label": "obj", "description": [], "signature": [ - "{ type: string; id: string; title?: string | undefined; meta: { title?: string | undefined; icon?: string | undefined; }; overwrite?: boolean | undefined; }" + "{ title?: string | undefined; id: string; type: string; meta: { title?: string | undefined; icon?: string | undefined; }; overwrite?: boolean | undefined; }" ], "path": "src/plugins/saved_objects_management/public/lib/process_import_response.ts", "deprecated": false @@ -826,7 +826,7 @@ "label": "euiColumn", "description": [], "signature": [ - "{ children?: React.ReactNode; onClick?: React.MouseEventHandler | undefined; onChange?: React.FormEventHandler | undefined; color?: string | undefined; onKeyDown?: React.KeyboardEventHandler | undefined; id?: string | undefined; title?: string | undefined; description?: string | undefined; security?: string | undefined; name: React.ReactNode; className?: string | undefined; field: (string & {}) | keyof ", + "{ children?: React.ReactNode; onClick?: React.MouseEventHandler | undefined; onChange?: React.FormEventHandler | undefined; color?: string | undefined; onKeyDown?: React.KeyboardEventHandler | undefined; title?: string | undefined; id?: string | undefined; description?: string | undefined; security?: string | undefined; name: React.ReactNode; className?: string | undefined; field: (string & {}) | keyof ", { "pluginId": "savedObjectsManagement", "scope": "public", diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index c13d9ae9fd19d..960f72582725a 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 90 | 0 | 51 | 0 | +| 90 | 0 | 45 | 0 | ## Client diff --git a/api_docs/security.json b/api_docs/security.json index 83cf868280dd3..6c016e2f94f15 100644 --- a/api_docs/security.json +++ b/api_docs/security.json @@ -22,7 +22,13 @@ "text": "AuthenticatedUser" }, " extends ", - "User" + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.User", + "text": "User" + } ], "path": "x-pack/plugins/security/common/model/authenticated_user.ts", "deprecated": false, @@ -37,7 +43,13 @@ "\nThe name and type of the Realm that has authenticated the user." ], "signature": [ - "UserRealm" + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.UserRealm", + "text": "UserRealm" + } ], "path": "x-pack/plugins/security/common/model/authenticated_user.ts", "deprecated": false @@ -52,7 +64,13 @@ "\nThe name and type of the Realm where the user information were retrieved from." ], "signature": [ - "UserRealm" + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.UserRealm", + "text": "UserRealm" + } ], "path": "x-pack/plugins/security/common/model/authenticated_user.ts", "deprecated": false @@ -67,7 +85,13 @@ "\nThe authentication provider that used to authenticate user." ], "signature": [ - "AuthenticationProvider" + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.AuthenticationProvider", + "text": "AuthenticationProvider" + } ], "path": "x-pack/plugins/security/common/model/authenticated_user.ts", "deprecated": false @@ -142,6 +166,70 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "security", + "id": "def-public.ChangePasswordProps", + "type": "Interface", + "tags": [], + "label": "ChangePasswordProps", + "description": [], + "path": "x-pack/plugins/security/public/account_management/change_password/change_password.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-public.ChangePasswordProps.user", + "type": "Object", + "tags": [], + "label": "user", + "description": [], + "signature": [ + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.AuthenticatedUser", + "text": "AuthenticatedUser" + } + ], + "path": "x-pack/plugins/security/public/account_management/change_password/change_password.tsx", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "security", + "id": "def-public.PersonalInfoProps", + "type": "Interface", + "tags": [], + "label": "PersonalInfoProps", + "description": [], + "path": "x-pack/plugins/security/public/account_management/personal_info/personal_info.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-public.PersonalInfoProps.user", + "type": "Object", + "tags": [], + "label": "user", + "description": [], + "signature": [ + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.AuthenticatedUser", + "text": "AuthenticatedUser" + } + ], + "path": "x-pack/plugins/security/public/account_management/personal_info/personal_info.tsx", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "security", "id": "def-public.SecurityLicense", @@ -191,7 +279,13 @@ "description": [], "signature": [ "() => ", - "SecurityLicenseFeatures" + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.SecurityLicenseFeatures", + "text": "SecurityLicenseFeatures" + } ], "path": "x-pack/plugins/security/common/licensing/license_service.ts", "deprecated": false, @@ -238,7 +332,13 @@ "signature": [ "Observable", "<", - "SecurityLicenseFeatures", + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.SecurityLicenseFeatures", + "text": "SecurityLicenseFeatures" + }, ">" ], "path": "x-pack/plugins/security/common/licensing/license_service.ts", @@ -389,7 +489,13 @@ "\nDescribes the layout of the login form if it's displayed." ], "signature": [ - "LoginLayout", + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.LoginLayout", + "text": "LoginLayout" + }, " | undefined" ], "path": "x-pack/plugins/security/common/licensing/license_features.ts", @@ -485,6 +591,48 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "security", + "id": "def-public.UiApi", + "type": "Interface", + "tags": [], + "label": "UiApi", + "description": [], + "path": "x-pack/plugins/security/public/ui_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-public.UiApi.components", + "type": "Object", + "tags": [], + "label": "components", + "description": [], + "signature": [ + "{ getPersonalInfo: LazyComponentFn<", + { + "pluginId": "security", + "scope": "public", + "docId": "kibSecurityPluginApi", + "section": "def-public.PersonalInfoProps", + "text": "PersonalInfoProps" + }, + ">; getChangePassword: LazyComponentFn<", + { + "pluginId": "security", + "scope": "public", + "docId": "kibSecurityPluginApi", + "section": "def-public.ChangePasswordProps", + "text": "ChangePasswordProps" + }, + ">; }" + ], + "path": "x-pack/plugins/security/public/ui_api/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "security", "id": "def-public.UserMenuLink", @@ -702,7 +850,13 @@ "\nExposes UI components that will be loaded asynchronously." ], "signature": [ - "UiApi" + { + "pluginId": "security", + "scope": "public", + "docId": "kibSecurityPluginApi", + "section": "def-public.UiApi", + "text": "UiApi" + } ], "path": "x-pack/plugins/security/public/plugin.tsx", "deprecated": false @@ -912,7 +1066,13 @@ "text": "AuthenticatedUser" }, " extends ", - "User" + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.User", + "text": "User" + } ], "path": "x-pack/plugins/security/common/model/authenticated_user.ts", "deprecated": false, @@ -927,7 +1087,13 @@ "\nThe name and type of the Realm that has authenticated the user." ], "signature": [ - "UserRealm" + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.UserRealm", + "text": "UserRealm" + } ], "path": "x-pack/plugins/security/common/model/authenticated_user.ts", "deprecated": false @@ -942,7 +1108,13 @@ "\nThe name and type of the Realm where the user information were retrieved from." ], "signature": [ - "UserRealm" + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.UserRealm", + "text": "UserRealm" + } ], "path": "x-pack/plugins/security/common/model/authenticated_user.ts", "deprecated": false @@ -957,7 +1129,13 @@ "\nThe authentication provider that used to authenticate user." ], "signature": [ - "AuthenticationProvider" + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.AuthenticationProvider", + "text": "AuthenticationProvider" + } ], "path": "x-pack/plugins/security/common/model/authenticated_user.ts", "deprecated": false @@ -1006,7 +1184,13 @@ "text": "KibanaRequest" }, ", params: ", - "CreateAPIKeyParams", + { + "pluginId": "security", + "scope": "server", + "docId": "kibSecurityPluginApi", + "section": "def-server.CreateAPIKeyParams", + "text": "CreateAPIKeyParams" + }, ") => Promise<", { "pluginId": "security", @@ -1048,7 +1232,13 @@ "text": "KibanaRequest" }, ", createParams: ", - "CreateAPIKeyParams", + { + "pluginId": "security", + "scope": "server", + "docId": "kibSecurityPluginApi", + "section": "def-server.CreateAPIKeyParams", + "text": "CreateAPIKeyParams" + }, ") => Promise<", { "pluginId": "security", @@ -1173,6 +1363,70 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "security", + "id": "def-server.CreateAPIKeyParams", + "type": "Interface", + "tags": [], + "label": "CreateAPIKeyParams", + "description": [ + "\nRepresents the params for creating an API key" + ], + "path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-server.CreateAPIKeyParams.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-server.CreateAPIKeyParams.role_descriptors", + "type": "Object", + "tags": [], + "label": "role_descriptors", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-server.CreateAPIKeyParams.expiration", + "type": "string", + "tags": [], + "label": "expiration", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-server.CreateAPIKeyParams.metadata", + "type": "Object", + "tags": [], + "label": "metadata", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "security", "id": "def-server.CreateAPIKeyResult", @@ -1708,75 +1962,195 @@ "interfaces": [ { "parentPluginId": "security", - "id": "def-common.AuthenticatedUser", + "id": "def-common.ApiKey", "type": "Interface", "tags": [], - "label": "AuthenticatedUser", - "description": [ - "\nRepresents the currently authenticated user." - ], - "signature": [ - { - "pluginId": "security", - "scope": "common", - "docId": "kibSecurityPluginApi", - "section": "def-common.AuthenticatedUser", - "text": "AuthenticatedUser" - }, - " extends ", - "User" - ], - "path": "x-pack/plugins/security/common/model/authenticated_user.ts", + "label": "ApiKey", + "description": [], + "path": "x-pack/plugins/security/common/model/api_key.ts", "deprecated": false, "children": [ { "parentPluginId": "security", - "id": "def-common.AuthenticatedUser.authentication_realm", - "type": "Object", + "id": "def-common.ApiKey.id", + "type": "string", "tags": [], - "label": "authentication_realm", - "description": [ - "\nThe name and type of the Realm that has authenticated the user." - ], - "signature": [ - "UserRealm" - ], - "path": "x-pack/plugins/security/common/model/authenticated_user.ts", + "label": "id", + "description": [], + "path": "x-pack/plugins/security/common/model/api_key.ts", "deprecated": false }, { "parentPluginId": "security", - "id": "def-common.AuthenticatedUser.lookup_realm", - "type": "Object", + "id": "def-common.ApiKey.name", + "type": "string", "tags": [], - "label": "lookup_realm", - "description": [ - "\nThe name and type of the Realm where the user information were retrieved from." - ], - "signature": [ - "UserRealm" - ], - "path": "x-pack/plugins/security/common/model/authenticated_user.ts", + "label": "name", + "description": [], + "path": "x-pack/plugins/security/common/model/api_key.ts", "deprecated": false }, { "parentPluginId": "security", - "id": "def-common.AuthenticatedUser.authentication_provider", - "type": "Object", + "id": "def-common.ApiKey.username", + "type": "string", "tags": [], - "label": "authentication_provider", - "description": [ - "\nThe authentication provider that used to authenticate user." - ], - "signature": [ - "AuthenticationProvider" - ], - "path": "x-pack/plugins/security/common/model/authenticated_user.ts", + "label": "username", + "description": [], + "path": "x-pack/plugins/security/common/model/api_key.ts", "deprecated": false }, { "parentPluginId": "security", - "id": "def-common.AuthenticatedUser.authentication_type", + "id": "def-common.ApiKey.realm", + "type": "string", + "tags": [], + "label": "realm", + "description": [], + "path": "x-pack/plugins/security/common/model/api_key.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.ApiKey.creation", + "type": "number", + "tags": [], + "label": "creation", + "description": [], + "path": "x-pack/plugins/security/common/model/api_key.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.ApiKey.expiration", + "type": "number", + "tags": [], + "label": "expiration", + "description": [], + "path": "x-pack/plugins/security/common/model/api_key.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.ApiKey.invalidated", + "type": "boolean", + "tags": [], + "label": "invalidated", + "description": [], + "path": "x-pack/plugins/security/common/model/api_key.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.ApiKey.metadata", + "type": "Object", + "tags": [], + "label": "metadata", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "x-pack/plugins/security/common/model/api_key.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "security", + "id": "def-common.AuthenticatedUser", + "type": "Interface", + "tags": [], + "label": "AuthenticatedUser", + "description": [ + "\nRepresents the currently authenticated user." + ], + "signature": [ + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.AuthenticatedUser", + "text": "AuthenticatedUser" + }, + " extends ", + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.User", + "text": "User" + } + ], + "path": "x-pack/plugins/security/common/model/authenticated_user.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-common.AuthenticatedUser.authentication_realm", + "type": "Object", + "tags": [], + "label": "authentication_realm", + "description": [ + "\nThe name and type of the Realm that has authenticated the user." + ], + "signature": [ + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.UserRealm", + "text": "UserRealm" + } + ], + "path": "x-pack/plugins/security/common/model/authenticated_user.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.AuthenticatedUser.lookup_realm", + "type": "Object", + "tags": [], + "label": "lookup_realm", + "description": [ + "\nThe name and type of the Realm where the user information were retrieved from." + ], + "signature": [ + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.UserRealm", + "text": "UserRealm" + } + ], + "path": "x-pack/plugins/security/common/model/authenticated_user.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.AuthenticatedUser.authentication_provider", + "type": "Object", + "tags": [], + "label": "authentication_provider", + "description": [ + "\nThe authentication provider that used to authenticate user." + ], + "signature": [ + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.AuthenticationProvider", + "text": "AuthenticationProvider" + } + ], + "path": "x-pack/plugins/security/common/model/authenticated_user.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.AuthenticatedUser.authentication_type", "type": "string", "tags": [], "label": "authentication_type", @@ -1789,6 +2163,162 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "security", + "id": "def-common.AuthenticationProvider", + "type": "Interface", + "tags": [], + "label": "AuthenticationProvider", + "description": [ + "\nType and name tuple to identify provider used to authenticate user." + ], + "path": "x-pack/plugins/security/common/model/authentication_provider.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-common.AuthenticationProvider.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "x-pack/plugins/security/common/model/authentication_provider.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.AuthenticationProvider.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/plugins/security/common/model/authentication_provider.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "security", + "id": "def-common.FeaturesPrivileges", + "type": "Interface", + "tags": [], + "label": "FeaturesPrivileges", + "description": [], + "path": "x-pack/plugins/security/common/model/features_privileges.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-common.FeaturesPrivileges.Unnamed", + "type": "IndexSignature", + "tags": [], + "label": "[featureId: string]: string[]", + "description": [], + "signature": [ + "[featureId: string]: string[]" + ], + "path": "x-pack/plugins/security/common/model/features_privileges.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "security", + "id": "def-common.PrivilegeDeprecationsRolesByFeatureIdRequest", + "type": "Interface", + "tags": [], + "label": "PrivilegeDeprecationsRolesByFeatureIdRequest", + "description": [], + "path": "x-pack/plugins/security/common/model/deprecations.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-common.PrivilegeDeprecationsRolesByFeatureIdRequest.context", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.GetDeprecationsContext", + "text": "GetDeprecationsContext" + } + ], + "path": "x-pack/plugins/security/common/model/deprecations.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.PrivilegeDeprecationsRolesByFeatureIdRequest.featureId", + "type": "string", + "tags": [], + "label": "featureId", + "description": [], + "path": "x-pack/plugins/security/common/model/deprecations.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "security", + "id": "def-common.PrivilegeDeprecationsRolesByFeatureIdResponse", + "type": "Interface", + "tags": [], + "label": "PrivilegeDeprecationsRolesByFeatureIdResponse", + "description": [], + "path": "x-pack/plugins/security/common/model/deprecations.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-common.PrivilegeDeprecationsRolesByFeatureIdResponse.roles", + "type": "Array", + "tags": [], + "label": "roles", + "description": [], + "signature": [ + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.Role", + "text": "Role" + }, + "[] | undefined" + ], + "path": "x-pack/plugins/security/common/model/deprecations.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.PrivilegeDeprecationsRolesByFeatureIdResponse.errors", + "type": "Array", + "tags": [], + "label": "errors", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.DeprecationsDetails", + "text": "DeprecationsDetails" + }, + "[] | undefined" + ], + "path": "x-pack/plugins/security/common/model/deprecations.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "security", "id": "def-common.PrivilegeDeprecationsService", @@ -1808,9 +2338,21 @@ "description": [], "signature": [ "(args: ", - "PrivilegeDeprecationsRolesByFeatureIdRequest", + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.PrivilegeDeprecationsRolesByFeatureIdRequest", + "text": "PrivilegeDeprecationsRolesByFeatureIdRequest" + }, ") => Promise<", - "PrivilegeDeprecationsRolesByFeatureIdResponse", + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.PrivilegeDeprecationsRolesByFeatureIdResponse", + "text": "PrivilegeDeprecationsRolesByFeatureIdResponse" + }, ">" ], "path": "x-pack/plugins/security/common/model/deprecations.ts", @@ -1824,7 +2366,13 @@ "label": "args", "description": [], "signature": [ - "PrivilegeDeprecationsRolesByFeatureIdRequest" + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.PrivilegeDeprecationsRolesByFeatureIdRequest", + "text": "PrivilegeDeprecationsRolesByFeatureIdRequest" + } ], "path": "x-pack/plugins/security/common/model/deprecations.ts", "deprecated": false, @@ -1836,6 +2384,258 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "security", + "id": "def-common.Role", + "type": "Interface", + "tags": [], + "label": "Role", + "description": [], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-common.Role.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.Role.elasticsearch", + "type": "Object", + "tags": [], + "label": "elasticsearch", + "description": [], + "signature": [ + "{ cluster: string[]; indices: ", + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.RoleIndexPrivilege", + "text": "RoleIndexPrivilege" + }, + "[]; run_as: string[]; }" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.Role.kibana", + "type": "Array", + "tags": [], + "label": "kibana", + "description": [], + "signature": [ + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.RoleKibanaPrivilege", + "text": "RoleKibanaPrivilege" + }, + "[]" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.Role.metadata", + "type": "Object", + "tags": [], + "label": "metadata", + "description": [], + "signature": [ + "{ [anyKey: string]: any; } | undefined" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.Role.transient_metadata", + "type": "Object", + "tags": [], + "label": "transient_metadata", + "description": [], + "signature": [ + "{ [anyKey: string]: any; } | undefined" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.Role._transform_error", + "type": "Array", + "tags": [], + "label": "_transform_error", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.Role._unrecognized_applications", + "type": "Array", + "tags": [], + "label": "_unrecognized_applications", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "security", + "id": "def-common.RoleIndexPrivilege", + "type": "Interface", + "tags": [], + "label": "RoleIndexPrivilege", + "description": [], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-common.RoleIndexPrivilege.names", + "type": "Array", + "tags": [], + "label": "names", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.RoleIndexPrivilege.privileges", + "type": "Array", + "tags": [], + "label": "privileges", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.RoleIndexPrivilege.field_security", + "type": "Object", + "tags": [], + "label": "field_security", + "description": [], + "signature": [ + "{ grant?: string[] | undefined; except?: string[] | undefined; } | undefined" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.RoleIndexPrivilege.query", + "type": "string", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "security", + "id": "def-common.RoleKibanaPrivilege", + "type": "Interface", + "tags": [], + "label": "RoleKibanaPrivilege", + "description": [], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-common.RoleKibanaPrivilege.spaces", + "type": "Array", + "tags": [], + "label": "spaces", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.RoleKibanaPrivilege.base", + "type": "Array", + "tags": [], + "label": "base", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.RoleKibanaPrivilege.feature", + "type": "Object", + "tags": [], + "label": "feature", + "description": [], + "signature": [ + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.FeaturesPrivileges", + "text": "FeaturesPrivileges" + } + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.RoleKibanaPrivilege._reserved", + "type": "Array", + "tags": [], + "label": "_reserved", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/security/common/model/role.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "security", "id": "def-common.SecurityLicense", @@ -1885,7 +2685,13 @@ "description": [], "signature": [ "() => ", - "SecurityLicenseFeatures" + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.SecurityLicenseFeatures", + "text": "SecurityLicenseFeatures" + } ], "path": "x-pack/plugins/security/common/licensing/license_service.ts", "deprecated": false, @@ -1932,7 +2738,13 @@ "signature": [ "Observable", "<", - "SecurityLicenseFeatures", + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.SecurityLicenseFeatures", + "text": "SecurityLicenseFeatures" + }, ">" ], "path": "x-pack/plugins/security/common/licensing/license_service.ts", @@ -1940,10 +2752,302 @@ } ], "initialIsOpen": false + }, + { + "parentPluginId": "security", + "id": "def-common.SecurityLicenseFeatures", + "type": "Interface", + "tags": [], + "label": "SecurityLicenseFeatures", + "description": [ + "\nDescribes Security plugin features that depend on license." + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-common.SecurityLicenseFeatures.showLogin", + "type": "boolean", + "tags": [], + "label": "showLogin", + "description": [ + "\nIndicates whether we show login page or skip it." + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.SecurityLicenseFeatures.allowLogin", + "type": "boolean", + "tags": [], + "label": "allowLogin", + "description": [ + "\nIndicates whether we allow login or disable it on the login page." + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.SecurityLicenseFeatures.showLinks", + "type": "boolean", + "tags": [], + "label": "showLinks", + "description": [ + "\nIndicates whether we show security links throughout the kibana app." + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.SecurityLicenseFeatures.showRoleMappingsManagement", + "type": "boolean", + "tags": [], + "label": "showRoleMappingsManagement", + "description": [ + "\nIndicates whether we show the Role Mappings UI." + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.SecurityLicenseFeatures.allowAccessAgreement", + "type": "boolean", + "tags": [], + "label": "allowAccessAgreement", + "description": [ + "\nIndicates whether we allow users to access agreement UI and acknowledge it." + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.SecurityLicenseFeatures.allowAuditLogging", + "type": "boolean", + "tags": [], + "label": "allowAuditLogging", + "description": [ + "\nIndicates whether we allow logging of audit events." + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.SecurityLicenseFeatures.allowRoleDocumentLevelSecurity", + "type": "boolean", + "tags": [], + "label": "allowRoleDocumentLevelSecurity", + "description": [ + "\nIndicates whether we allow users to define document level security in roles." + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.SecurityLicenseFeatures.allowRoleFieldLevelSecurity", + "type": "boolean", + "tags": [], + "label": "allowRoleFieldLevelSecurity", + "description": [ + "\nIndicates whether we allow users to define field level security in roles." + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.SecurityLicenseFeatures.allowRbac", + "type": "boolean", + "tags": [], + "label": "allowRbac", + "description": [ + "\nIndicates whether we allow Role-based access control (RBAC)." + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.SecurityLicenseFeatures.allowSubFeaturePrivileges", + "type": "boolean", + "tags": [], + "label": "allowSubFeaturePrivileges", + "description": [ + "\nIndicates whether we allow sub-feature privileges." + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.SecurityLicenseFeatures.layout", + "type": "CompoundType", + "tags": [], + "label": "layout", + "description": [ + "\nDescribes the layout of the login form if it's displayed." + ], + "signature": [ + { + "pluginId": "security", + "scope": "common", + "docId": "kibSecurityPluginApi", + "section": "def-common.LoginLayout", + "text": "LoginLayout" + }, + " | undefined" + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "security", + "id": "def-common.User", + "type": "Interface", + "tags": [], + "label": "User", + "description": [], + "path": "x-pack/plugins/security/common/model/user.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-common.User.username", + "type": "string", + "tags": [], + "label": "username", + "description": [], + "path": "x-pack/plugins/security/common/model/user.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.User.email", + "type": "string", + "tags": [], + "label": "email", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/security/common/model/user.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.User.full_name", + "type": "string", + "tags": [], + "label": "full_name", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/security/common/model/user.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.User.roles", + "type": "Object", + "tags": [], + "label": "roles", + "description": [], + "signature": [ + "readonly string[]" + ], + "path": "x-pack/plugins/security/common/model/user.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.User.enabled", + "type": "boolean", + "tags": [], + "label": "enabled", + "description": [], + "path": "x-pack/plugins/security/common/model/user.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.User.metadata", + "type": "Object", + "tags": [], + "label": "metadata", + "description": [], + "signature": [ + "{ _reserved: boolean; _deprecated?: boolean | undefined; _deprecated_reason?: string | undefined; } | undefined" + ], + "path": "x-pack/plugins/security/common/model/user.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "security", + "id": "def-common.UserRealm", + "type": "Interface", + "tags": [], + "label": "UserRealm", + "description": [], + "path": "x-pack/plugins/security/common/model/authenticated_user.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "security", + "id": "def-common.UserRealm.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/plugins/security/common/model/authenticated_user.ts", + "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-common.UserRealm.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "x-pack/plugins/security/common/model/authenticated_user.ts", + "deprecated": false + } + ], + "initialIsOpen": false } ], "enums": [], - "misc": [], + "misc": [ + { + "parentPluginId": "security", + "id": "def-common.LoginLayout", + "type": "Type", + "tags": [], + "label": "LoginLayout", + "description": [ + "\nRepresents types of login form layouts." + ], + "signature": [ + "\"form\" | \"error-es-unavailable\" | \"error-xpack-unavailable\"" + ], + "path": "x-pack/plugins/security/common/licensing/license_features.ts", + "deprecated": false, + "initialIsOpen": false + } + ], "objects": [] } } \ No newline at end of file diff --git a/api_docs/security.mdx b/api_docs/security.mdx index c82385865832e..99e66fbe4914b 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -18,7 +18,7 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 108 | 0 | 47 | 10 | +| 180 | 0 | 104 | 0 | ## Client @@ -53,3 +53,6 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit ### Interfaces +### Consts, variables and types + + diff --git a/api_docs/security_solution.json b/api_docs/security_solution.json index adfc5cbd8dfec..66592a05234d0 100644 --- a/api_docs/security_solution.json +++ b/api_docs/security_solution.json @@ -62,7 +62,7 @@ "label": "experimentalFeatures", "description": [], "signature": [ - "{ readonly metricsEntitiesEnabled: boolean; readonly ruleRegistryEnabled: boolean; readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly trustedAppsByPolicyEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly uebaEnabled: boolean; readonly disableIsolationUIPendingStatuses: boolean; readonly riskyHostsEnabled: boolean; readonly securityRulesCancelEnabled: boolean; readonly pendingActionResponsesWithAck: boolean; }" + "{ readonly metricsEntitiesEnabled: boolean; readonly ruleRegistryEnabled: boolean; readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly uebaEnabled: boolean; readonly disableIsolationUIPendingStatuses: boolean; readonly riskyHostsEnabled: boolean; readonly securityRulesCancelEnabled: boolean; readonly pendingActionResponsesWithAck: boolean; }" ], "path": "x-pack/plugins/security_solution/public/plugin.tsx", "deprecated": false @@ -889,7 +889,7 @@ "signature": [ "Readonly<{} & { signalsIndex: string; maxRuleImportExportSize: number; maxRuleImportPayloadBytes: number; maxTimelineImportExportSize: number; maxTimelineImportPayloadBytes: number; alertMergeStrategy: \"allFields\" | \"missingFields\" | \"noFields\"; alertIgnoreFields: string[]; enableExperimental: string[]; ruleExecutionLog: Readonly<{} & { underlyingClient: ", "UnderlyingLogClient", - "; }>; packagerTaskInterval: string; prebuiltRulesFromFileSystem: boolean; prebuiltRulesFromSavedObjects: boolean; }> & { experimentalFeatures: Readonly<{ metricsEntitiesEnabled: boolean; ruleRegistryEnabled: boolean; tGridEnabled: boolean; tGridEventRenderedViewEnabled: boolean; trustedAppsByPolicyEnabled: boolean; excludePoliciesInFilterEnabled: boolean; uebaEnabled: boolean; disableIsolationUIPendingStatuses: boolean; riskyHostsEnabled: boolean; securityRulesCancelEnabled: boolean; pendingActionResponsesWithAck: boolean; }>; }" + "; }>; packagerTaskInterval: string; prebuiltRulesFromFileSystem: boolean; prebuiltRulesFromSavedObjects: boolean; }> & { experimentalFeatures: Readonly<{ metricsEntitiesEnabled: boolean; ruleRegistryEnabled: boolean; tGridEnabled: boolean; tGridEventRenderedViewEnabled: boolean; excludePoliciesInFilterEnabled: boolean; uebaEnabled: boolean; disableIsolationUIPendingStatuses: boolean; riskyHostsEnabled: boolean; securityRulesCancelEnabled: boolean; pendingActionResponsesWithAck: boolean; }>; }" ], "path": "x-pack/plugins/security_solution/server/config.ts", "deprecated": false, diff --git a/api_docs/share.json b/api_docs/share.json index 5417fb1241d20..604bf19c24608 100644 --- a/api_docs/share.json +++ b/api_docs/share.json @@ -289,13 +289,7 @@ "description": [], "signature": [ "

(locator: ", { "pluginId": "share", @@ -1791,13 +1785,7 @@ "; navigate(options: ", "RedirectOptions", "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">): void; setAnonymousAccessServiceProvider: (provider: () => ", { "pluginId": "share", @@ -1836,13 +1824,7 @@ "; navigate(options: ", "RedirectOptions", "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">): void; }" ], "path": "src/plugins/share/public/plugin.ts", @@ -1960,13 +1942,7 @@ "description": [], "signature": [ "

(locator: ", { "pluginId": "share", diff --git a/api_docs/shared_u_x.json b/api_docs/shared_u_x.json new file mode 100644 index 0000000000000..aa8fad30bea40 --- /dev/null +++ b/api_docs/shared_u_x.json @@ -0,0 +1,191 @@ +{ + "id": "sharedUX", + "client": { + "classes": [], + "functions": [ + { + "parentPluginId": "sharedUX", + "id": "def-public.ExitFullScreenButton", + "type": "Function", + "tags": [], + "label": "ExitFullScreenButton", + "description": [ + "\nA `ExitFullScreenButton` component that is wrapped by the `withSuspense` HOC. This component can\nbe used directly by consumers and will load the `LazyExitFullScreenButton` component lazily with\na predefined fallback and error boundary." + ], + "signature": [ + "React.ForwardRefExoticComponent<", + "Props", + " & React.RefAttributes<{}>>" + ], + "path": "src/plugins/shared_ux/public/components/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "sharedUX", + "id": "def-public.ExitFullScreenButton.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "sharedUX", + "id": "def-public.LazyExitFullScreenButton", + "type": "Function", + "tags": [], + "label": "LazyExitFullScreenButton", + "description": [ + "\nThe Lazily-loaded `ExitFullScreenButton` component. Consumers should use `React.Suspennse` or the\n`withSuspense` HOC to load this component." + ], + "signature": [ + "React.ExoticComponent<", + "Props", + "> & { readonly _result: ({ onExit, toggleChrome }: ", + "Props", + ") => JSX.Element; }" + ], + "path": "src/plugins/shared_ux/public/components/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "sharedUX", + "id": "def-public.LazyExitFullScreenButton.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [], + "start": { + "parentPluginId": "sharedUX", + "id": "def-public.SharedUXPluginStart", + "type": "Interface", + "tags": [], + "label": "SharedUXPluginStart", + "description": [ + "\nThe Shared UX plugin public contract, containing prewired components, services, and\nother constructs useful to consumers." + ], + "path": "src/plugins/shared_ux/public/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "sharedUX", + "id": "def-public.SharedUXPluginStart.ServicesContext", + "type": "Function", + "tags": [], + "label": "ServicesContext", + "description": [ + "\nA React component that provides a pre-wired `React.Context` which connects components to Shared UX services." + ], + "signature": [ + "React.FunctionComponent<{}>" + ], + "path": "src/plugins/shared_ux/public/types/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "sharedUX", + "id": "def-public.SharedUXPluginStart.ServicesContext.$1", + "type": "CompoundType", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P & { children?: React.ReactNode; }" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "sharedUX", + "id": "def-public.SharedUXPluginStart.ServicesContext.$2", + "type": "Any", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + } + ] + } + ], + "lifecycle": "start", + "initialIsOpen": true + } + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "sharedUX", + "id": "def-common.PLUGIN_ID", + "type": "string", + "tags": [], + "label": "PLUGIN_ID", + "description": [ + "The ID of the Shared UX plugin." + ], + "signature": [ + "\"sharedUX\"" + ], + "path": "src/plugins/shared_ux/common/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "sharedUX", + "id": "def-common.PLUGIN_NAME", + "type": "string", + "tags": [], + "label": "PLUGIN_NAME", + "description": [ + "The name of the Shared UX plugin." + ], + "signature": [ + "\"sharedUX\"" + ], + "path": "src/plugins/shared_ux/common/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/shared_u_x.mdx b/api_docs/shared_u_x.mdx new file mode 100644 index 0000000000000..d49c1f6e4a448 --- /dev/null +++ b/api_docs/shared_u_x.mdx @@ -0,0 +1,35 @@ +--- +id: kibSharedUXPluginApi +slug: /kibana-dev-docs/api/sharedUX +title: "sharedUX" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the sharedUX plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sharedUX'] +warning: 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. +--- +import sharedUXObj from './shared_u_x.json'; + +A plugin providing components and services for shared user experiences in Kibana. + +Contact [Shared UX](https://github.com/orgs/elastic/teams/shared-ux) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 10 | 0 | 0 | 1 | + +## Client + +### Start + + +### Functions + + +## Common + +### Consts, variables and types + + diff --git a/api_docs/spaces.json b/api_docs/spaces.json index 23acddb211a78..c020e7fbd7c1a 100644 --- a/api_docs/spaces.json +++ b/api_docs/spaces.json @@ -1,7 +1,699 @@ { "id": "spaces", "client": { - "classes": [], + "classes": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager", + "type": "Class", + "tags": [], + "label": "SpacesManager", + "description": [], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreHttpPluginApi", + "section": "def-public.HttpSetup", + "text": "HttpSetup" + } + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.onActiveSpaceChange$", + "type": "Object", + "tags": [], + "label": "onActiveSpaceChange$", + "description": [], + "signature": [ + "Observable", + "<", + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.Space", + "text": "Space" + }, + ">" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.getSpaces", + "type": "Function", + "tags": [], + "label": "getSpaces", + "description": [], + "signature": [ + "(options?: ", + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.GetAllSpacesOptions", + "text": "GetAllSpacesOptions" + }, + ") => Promise<", + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.GetSpaceResult", + "text": "GetSpaceResult" + }, + "[]>" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.getSpaces.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.GetAllSpacesOptions", + "text": "GetAllSpacesOptions" + } + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.getSpace", + "type": "Function", + "tags": [], + "label": "getSpace", + "description": [], + "signature": [ + "(id: string) => Promise<", + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.Space", + "text": "Space" + }, + ">" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.getSpace.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.getActiveSpace", + "type": "Function", + "tags": [], + "label": "getActiveSpace", + "description": [], + "signature": [ + "({ forceRefresh }?: { forceRefresh?: boolean | undefined; }) => Promise<", + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.Space", + "text": "Space" + }, + ">" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.getActiveSpace.$1", + "type": "Object", + "tags": [], + "label": "{ forceRefresh = false }", + "description": [], + "signature": [ + "{ forceRefresh?: boolean | undefined; }" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.createSpace", + "type": "Function", + "tags": [], + "label": "createSpace", + "description": [], + "signature": [ + "(space: ", + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.Space", + "text": "Space" + }, + ") => Promise" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.createSpace.$1", + "type": "Object", + "tags": [], + "label": "space", + "description": [], + "signature": [ + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.Space", + "text": "Space" + } + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.updateSpace", + "type": "Function", + "tags": [], + "label": "updateSpace", + "description": [], + "signature": [ + "(space: ", + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.Space", + "text": "Space" + }, + ") => Promise" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.updateSpace.$1", + "type": "Object", + "tags": [], + "label": "space", + "description": [], + "signature": [ + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.Space", + "text": "Space" + } + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.deleteSpace", + "type": "Function", + "tags": [], + "label": "deleteSpace", + "description": [], + "signature": [ + "(space: ", + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.Space", + "text": "Space" + }, + ") => Promise" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.deleteSpace.$1", + "type": "Object", + "tags": [], + "label": "space", + "description": [], + "signature": [ + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.Space", + "text": "Space" + } + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.disableLegacyUrlAliases", + "type": "Function", + "tags": [], + "label": "disableLegacyUrlAliases", + "description": [], + "signature": [ + "(aliases: ", + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.LegacyUrlAliasTarget", + "text": "LegacyUrlAliasTarget" + }, + "[]) => Promise" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.disableLegacyUrlAliases.$1", + "type": "Array", + "tags": [], + "label": "aliases", + "description": [], + "signature": [ + { + "pluginId": "spaces", + "scope": "common", + "docId": "kibSpacesPluginApi", + "section": "def-common.LegacyUrlAliasTarget", + "text": "LegacyUrlAliasTarget" + }, + "[]" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.copySavedObjects", + "type": "Function", + "tags": [], + "label": "copySavedObjects", + "description": [], + "signature": [ + "(objects: SavedObjectTarget[], spaces: string[], includeReferences: boolean, createNewCopies: boolean, overwrite: boolean) => Promise<", + { + "pluginId": "spaces", + "scope": "public", + "docId": "kibSpacesPluginApi", + "section": "def-public.CopySavedObjectsToSpaceResponse", + "text": "CopySavedObjectsToSpaceResponse" + }, + ">" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.copySavedObjects.$1", + "type": "Array", + "tags": [], + "label": "objects", + "description": [], + "signature": [ + "SavedObjectTarget[]" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.copySavedObjects.$2", + "type": "Array", + "tags": [], + "label": "spaces", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.copySavedObjects.$3", + "type": "boolean", + "tags": [], + "label": "includeReferences", + "description": [], + "signature": [ + "boolean" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.copySavedObjects.$4", + "type": "boolean", + "tags": [], + "label": "createNewCopies", + "description": [], + "signature": [ + "boolean" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.copySavedObjects.$5", + "type": "boolean", + "tags": [], + "label": "overwrite", + "description": [], + "signature": [ + "boolean" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.resolveCopySavedObjectsErrors", + "type": "Function", + "tags": [], + "label": "resolveCopySavedObjectsErrors", + "description": [], + "signature": [ + "(objects: SavedObjectTarget[], retries: unknown, includeReferences: boolean, createNewCopies: boolean) => Promise<", + { + "pluginId": "spaces", + "scope": "public", + "docId": "kibSpacesPluginApi", + "section": "def-public.CopySavedObjectsToSpaceResponse", + "text": "CopySavedObjectsToSpaceResponse" + }, + ">" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.resolveCopySavedObjectsErrors.$1", + "type": "Array", + "tags": [], + "label": "objects", + "description": [], + "signature": [ + "SavedObjectTarget[]" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.resolveCopySavedObjectsErrors.$2", + "type": "Unknown", + "tags": [], + "label": "retries", + "description": [], + "signature": [ + "unknown" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.resolveCopySavedObjectsErrors.$3", + "type": "boolean", + "tags": [], + "label": "includeReferences", + "description": [], + "signature": [ + "boolean" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.resolveCopySavedObjectsErrors.$4", + "type": "boolean", + "tags": [], + "label": "createNewCopies", + "description": [], + "signature": [ + "boolean" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.getShareSavedObjectPermissions", + "type": "Function", + "tags": [], + "label": "getShareSavedObjectPermissions", + "description": [], + "signature": [ + "(type: string) => Promise<{ shareToAllSpaces: boolean; }>" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.getShareSavedObjectPermissions.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.getShareableReferences", + "type": "Function", + "tags": [], + "label": "getShareableReferences", + "description": [], + "signature": [ + "(objects: SavedObjectTarget[]) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", + "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" + }, + ">" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.getShareableReferences.$1", + "type": "Array", + "tags": [], + "label": "objects", + "description": [], + "signature": [ + "SavedObjectTarget[]" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.updateSavedObjectsSpaces", + "type": "Function", + "tags": [], + "label": "updateSavedObjectsSpaces", + "description": [], + "signature": [ + "(objects: SavedObjectTarget[], spacesToAdd: string[], spacesToRemove: string[]) => Promise" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.updateSavedObjectsSpaces.$1", + "type": "Array", + "tags": [], + "label": "objects", + "description": [], + "signature": [ + "SavedObjectTarget[]" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.updateSavedObjectsSpaces.$2", + "type": "Array", + "tags": [], + "label": "spacesToAdd", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.updateSavedObjectsSpaces.$3", + "type": "Array", + "tags": [], + "label": "spacesToRemove", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesManager.redirectToSpaceSelector", + "type": "Function", + "tags": [], + "label": "redirectToSpaceSelector", + "description": [], + "signature": [ + "() => void" + ], + "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], "functions": [ { "parentPluginId": "spaces", @@ -158,6 +850,39 @@ } ], "interfaces": [ + { + "parentPluginId": "spaces", + "id": "def-public.CopySavedObjectsToSpaceResponse", + "type": "Interface", + "tags": [], + "label": "CopySavedObjectsToSpaceResponse", + "description": [], + "path": "x-pack/plugins/spaces/public/copy_saved_objects_to_space/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.CopySavedObjectsToSpaceResponse.Unnamed", + "type": "IndexSignature", + "tags": [], + "label": "[spaceId: string]: SavedObjectsImportResponse", + "description": [], + "signature": [ + "[spaceId: string]: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsImportResponse", + "text": "SavedObjectsImportResponse" + } + ], + "path": "x-pack/plugins/spaces/public/copy_saved_objects_to_space/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "spaces", "id": "def-public.CopyToSpaceFlyoutProps", @@ -1679,7 +2404,13 @@ "label": "spacesManager", "description": [], "signature": [ - "SpacesManager" + { + "pluginId": "spaces", + "scope": "public", + "docId": "kibSpacesPluginApi", + "section": "def-public.SpacesManager", + "text": "SpacesManager" + } ], "path": "x-pack/plugins/spaces/public/spaces_context/types.ts", "deprecated": false diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index 32ab497a3071d..740263db2b051 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -18,7 +18,7 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 208 | 0 | 21 | 1 | +| 248 | 0 | 61 | 0 | ## Client @@ -31,6 +31,9 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit ### Functions +### Classes + + ### Interfaces diff --git a/api_docs/timelines.json b/api_docs/timelines.json index be0092d827819..c0b592e5db830 100644 --- a/api_docs/timelines.json +++ b/api_docs/timelines.json @@ -2617,9 +2617,9 @@ }, "; description?: string | null | undefined; example?: string | number | null | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", "IFieldSubType", - " | undefined; type?: string | undefined; })[]; id: string; title: string; filters?: ", + " | undefined; type?: string | undefined; })[]; title: string; id: string; filters?: ", "Filter", - "[] | undefined; sort: ", + "[] | undefined; dataViewId: string | null; sort: ", "SortColumnTimeline", "[]; version: string | null; isLoading: boolean; filterManager?: ", { @@ -2645,7 +2645,7 @@ }, "; description?: string | null | undefined; example?: string | number | null | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", "IFieldSubType", - " | undefined; type?: string | undefined; })[]; savedObjectId: string | null; dataViewId: string | null; unit?: ((n: number) => React.ReactNode) | undefined; dataProviders: ", + " | undefined; type?: string | undefined; })[]; savedObjectId: string | null; unit?: ((n: number) => React.ReactNode) | undefined; dataProviders: ", { "pluginId": "timelines", "scope": "common", @@ -5403,13 +5403,7 @@ "label": "authFilter", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.JsonObject", - "text": "JsonObject" - }, + "JsonObject", " | undefined" ], "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/all/index.ts", @@ -5731,13 +5725,7 @@ "label": "authFilter", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.JsonObject", - "text": "JsonObject" - }, + "JsonObject", " | undefined" ], "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/details/index.ts", @@ -6558,7 +6546,7 @@ "label": "DataProvidersAnd", "description": [], "signature": [ - "{ type?: ", + "{ id: string; type?: ", { "pluginId": "timelines", "scope": "common", @@ -6566,7 +6554,7 @@ "section": "def-common.DataProviderType", "text": "DataProviderType" }, - " | undefined; id: string; name: string; enabled: boolean; excluded: boolean; kqlQuery: string; queryMatch: ", + " | undefined; name: string; enabled: boolean; excluded: boolean; kqlQuery: string; queryMatch: ", { "pluginId": "timelines", "scope": "common", @@ -6602,7 +6590,7 @@ "label": "DocValueFields", "description": [], "signature": [ - "SearchDocValueField" + "QueryDslFieldAndFormat" ], "path": "x-pack/plugins/timelines/common/search_strategy/common/index.ts", "deprecated": false, @@ -6616,7 +6604,7 @@ "label": "EMPTY_DOCVALUE_FIELD", "description": [], "signature": [ - "SearchDocValueField", + "QueryDslFieldAndFormat", "[]" ], "path": "x-pack/plugins/timelines/common/search_strategy/index_fields/index.ts", @@ -6913,7 +6901,7 @@ "; filterQuery: string | ", "ESQuery", " | undefined; docValueFields?: ", - "SearchDocValueField", + "QueryDslFieldAndFormat", "[] | undefined; factoryQueryType?: ", "TimelineEventsQueries", " | undefined; entityType?: ", diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index 7d4261b9d82b8..3193308f9544c 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -18,7 +18,7 @@ Contact [Security solution](https://github.com/orgs/elastic/teams/security-solut | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 442 | 1 | 378 | 34 | +| 442 | 1 | 336 | 34 | ## Client diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 95260249acf39..64b2210e4f64f 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -18,7 +18,7 @@ Contact [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting- | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 246 | 0 | 237 | 18 | +| 246 | 0 | 234 | 18 | ## Client diff --git a/api_docs/ui_actions_enhanced.json b/api_docs/ui_actions_enhanced.json index 0918efd2c2ac5..a7d9dfff60bc7 100644 --- a/api_docs/ui_actions_enhanced.json +++ b/api_docs/ui_actions_enhanced.json @@ -1578,13 +1578,7 @@ "text": "SerializedAction" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">, triggers: string[]) => Promise" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1608,13 +1602,7 @@ "text": "SerializedAction" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1659,13 +1647,7 @@ "text": "SerializedAction" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">, triggers: string[]) => Promise" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1705,13 +1687,7 @@ "text": "SerializedAction" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1892,13 +1868,7 @@ "text": "SerializedAction" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">; }[]>" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts", @@ -3093,13 +3063,7 @@ "text": "ActionFactory" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ", object, ", { "pluginId": "uiActionsEnhanced", @@ -3244,13 +3208,7 @@ "label": "BaseActionConfig", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", "deprecated": false, @@ -3325,13 +3283,7 @@ "text": "SerializedAction" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">; }" ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", @@ -3815,13 +3767,7 @@ "label": "BaseActionConfig", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", "deprecated": false, @@ -3882,13 +3828,7 @@ "text": "SerializedAction" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">; }" ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", @@ -4002,13 +3942,7 @@ "label": "BaseActionConfig", "description": [], "signature": [ - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - } + "SerializableRecord" ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", "deprecated": false, @@ -4069,13 +4003,7 @@ "text": "SerializedAction" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">; }" ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index 3a7877a3e389e..41f95f7367cb8 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 203 | 0 | 145 | 9 | +| 203 | 0 | 141 | 9 | ## Client diff --git a/api_docs/vis_type_pie.json b/api_docs/vis_type_pie.json index 0bb24caeb5558..8bd3ecb8404ad 100644 --- a/api_docs/vis_type_pie.json +++ b/api_docs/vis_type_pie.json @@ -22,7 +22,13 @@ "text": "VisTypeDefinition" }, "<", - "PieVisParams", + { + "pluginId": "expressionPie", + "scope": "common", + "docId": "kibExpressionPiePluginApi", + "section": "def-common.PieVisParams", + "text": "PieVisParams" + }, ">" ], "path": "src/plugins/vis_types/pie/public/vis_type/index.ts", diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index a79f9a3ec3324..5f752866a9cf8 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -18,7 +18,7 @@ Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 12 | 0 | 12 | 2 | +| 12 | 0 | 12 | 1 | ## Client diff --git a/api_docs/visualizations.json b/api_docs/visualizations.json index cd71e0dd19352..46fa87dff03f9 100644 --- a/api_docs/visualizations.json +++ b/api_docs/visualizations.json @@ -1253,13 +1253,7 @@ "text": "FieldFormatParams" }, "> | undefined; source?: string | undefined; sourceParams?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; }; id: string; name: string; }[]; type: \"datatable\"; rows: ", { "pluginId": "expressions", @@ -1335,13 +1329,7 @@ "text": "SavedVisState" }, "<", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">" ], "path": "src/plugins/visualizations/public/legacy/vis_update_state.d.ts", @@ -2265,13 +2253,7 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }[]" ], "path": "src/plugins/visualizations/public/vis.ts", @@ -2298,21 +2280,9 @@ "text": "EsQuerySortValue" }, "[] | undefined; highlight?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; highlightAll?: boolean | undefined; trackTotalHits?: number | boolean | undefined; aggs?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }[] | undefined; from?: number | undefined; size?: number | undefined; source?: boolean | ", "Fields", " | undefined; version?: boolean | undefined; fields?: ", @@ -4288,13 +4258,7 @@ "description": [], "signature": [ "{ title: string; type: string; params: TVisParams; aggs: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }[]; }" ], "path": "src/plugins/visualizations/common/types.ts", @@ -4439,7 +4403,7 @@ "label": "VisualizeEmbeddableContract", "description": [], "signature": [ - "{ readonly type: \"visualization\"; readonly id: string; getDescription: () => string; destroy: () => void; readonly parent?: ", + "{ readonly id: string; readonly type: \"visualization\"; getDescription: () => string; destroy: () => void; readonly parent?: ", { "pluginId": "embeddable", "scope": "public", @@ -4631,7 +4595,7 @@ "label": "VisualizeEmbeddableFactoryContract", "description": [], "signature": [ - "{ readonly type: \"visualization\"; create: (input: ", + "{ create: (input: ", { "pluginId": "visualizations", "scope": "public", @@ -4691,7 +4655,7 @@ "VisualizeEmbeddable", " | ", "DisabledLabEmbeddable", - " | undefined>; isEditable: () => Promise; getDisplayName: () => string; createFromSavedObject: (savedObjectId: string, input: Partial<", + " | undefined>; readonly type: \"visualization\"; isEditable: () => Promise; getDisplayName: () => string; createFromSavedObject: (savedObjectId: string, input: Partial<", { "pluginId": "visualizations", "scope": "public", @@ -5590,13 +5554,7 @@ "text": "FieldFormatParams" }, "> | undefined; source?: string | undefined; sourceParams?: ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; }; id: string; name: string; }[]; type: \"datatable\"; rows: ", { "pluginId": "expressions", @@ -5704,13 +5662,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/visualizations/common/expression_functions/range.ts", @@ -5776,13 +5728,7 @@ "text": "Adapters" }, ", ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", ">>" ], "path": "src/plugins/visualizations/common/expression_functions/vis_dimension.ts", @@ -6016,13 +5962,7 @@ "description": [], "signature": [ "{ title: string; type: string; params: TVisParams; aggs: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - { - "pluginId": "@kbn/utility-types", - "scope": "server", - "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.SerializableRecord", - "text": "SerializableRecord" - }, + "SerializableRecord", " | undefined; schema?: string | undefined; }[]; }" ], "path": "src/plugins/visualizations/common/types.ts", diff --git a/docs/CHANGELOG.asciidoc b/docs/CHANGELOG.asciidoc index b63e6fbc94117..721567ff4c5ff 100644 --- a/docs/CHANGELOG.asciidoc +++ b/docs/CHANGELOG.asciidoc @@ -10,11 +10,303 @@ Review important information about the {kib} 8.0.0 releases. +* <> * <> * <> * <> -- +[[release-notes-8.0.0-rc1]] +== {kib} 8.0.0-rc1 + +coming::[8.0.0-rc1] + +Review the {kib} 8.0.0-rc1 changes, then use the <> to complete the upgrade. + +[float] +[[breaking-changes-8.0.0-rc1]] +=== Breaking changes + +Breaking changes can prevent your application from optimal operation and performance. +Before you upgrade, review the breaking changes, then mitigate the impact to your application. + +// tag::notable-breaking-changes[] + +[discrete] +[[breaking-118854]] +.Splits package policy `upgrade` endpoint for Fleet +[%collapsible] +==== +*Details* + +For package policy upgrades, the packagePolicy `upgrade` endpoint format supports a mutative upgrade operation (when `dryRun: false`) and a read-only dry run operation (when `dryRun: true`): + +[source,text] +-- + POST /package_policies/upgrade + { + packagePolicyIds: [...], + dryRun: false + } +-- + +For more information, refer to {kibana-pull}118854[#118854]. + +*Impact* + +The endpoint is now split into two separate endpoints: + +[source,text] +-- + POST /package_policies/upgrade + { + packagePolicyIds: [...] + } + + POST /package_policies/upgrade/dry_run + { + packagePolicyIds: [...] + } +-- +==== + +[discrete] +[[breaking-119945]] +.Removes APM jobs from Machine Learning +[%collapsible] +==== +*Details* + +APM Node.js and RUM JavaScript anomaly detection job modules have been removed. For more information, refer to {kibana-pull}119945[#119945]. + +*Impact* + +When you upgrade to 8.0.0, you are unable to create and view the APM Node.js and RUM JavaScript jobs in Machine Learning. +==== + +[discrete] +[[breaking-118300]] +.Fails migrations for unknown types +[%collapsible] +==== +*Details* + +Unknown saved object types now cause {kib} migrations to fail. For more information, refer to {kibana-issue}107678[#107678]. + +*Impact* + +To complete the migration, re enable plugins or delete documents from the index in the previous version. +==== + +[discrete] +[[breaking-116821]] +.Removes deprecated config fields from Logs and Metrics APIs and saved objects +[%collapsible] +==== +*Details* + +On the Logs and Metrics UIs, references to the following API and saved object deprecated fields have been removed: + +* `timestamp` +* `tiebreaker` +* `container` +* `pod` +* `host` + +For more information, refer to {kibana-pull}116821[#116821] and {kibana-pull}115874[#115874]. + +*Impact* + +When you upgrade to 8.0.0, you are unable to use references to the deprecated fields. +==== + +// end::notable-breaking-changes[] + +To review the breaking changes in previous versions, refer to the following: + +<> | <> | +<> + +[float] +[[deprecations-8.0.0-rc1]] +=== Deprecations + +Deprecated functionality does not have an immediate impact on your application, but we strongly recommend you make the necessary updates after you complete the upgrade. + +[discrete] +[[deprecation-120689]] +.Renames the `autocreate` data view APM setting +[%collapsible] +==== +*Details* + +The `xpack.apm.autocreateApmIndexPattern` APM setting has been removed. For more information, refer to {kibana-pull}120689[#120689]. + +*Impact* + +To automatically create data views in APM, use `xpack.apm.autoCreateApmDataView`. +==== + +[discrete] +[[deprecation-119494]] +.Updates Fleet API responses for consistency +[%collapsible] +==== +*Details* + +To make sure all Fleet API GET resposes return `items`, the following have been updated: + +* `/api/fleet/enrollment-api-keys` +* `/api/fleet/agents` + +For more information, refer to {kibana-pull}119494[#119494]. + +*Impact* + +When you upgrade to 8.0.0, use the following API changes: + +* Use `enrollment_api_keys` instead of `enrollment-api-keys`. + +* Use `agent_status` instead of `agent-status`. + +* Use `service_tokens` instead of `service-tokens`. + +* `check-permissions` is no longer supported. + +* Use `/epm/packages/{packageName}/{version}` instead of `/epm/packages/{pkgkey}`. + +* Use `items[]` or `item` instead of `response[]` in the following: + +[source,text] +-- +/epm/packages/ +/epm/packages/{pkgkey} +/epm/categories +/epm/packages/_bulk +/epm/packages/limited +-- +==== + +To review the depcrecations in previous versions, refer to the <>. + +[float] +[[features-8.0.0-rc1]] +=== Features +{kib} 8.0.0-rc1 adds the following new and notable features. + +Elastic Security:: +For the Elastic Security 8.0.0 release information, refer to {security-guide}/release-notes.html[_Elastic Security Solution Release Notes_]. +Management:: +Display managed badge for transforms {kibana-pull}117679[#117679] +Monitoring:: +Enterprise Search Stack Monitoring {kibana-pull}114303[#114303] +Observability:: +* Adds ability to create agent keys in APM settings {kibana-pull}120373[#120373] +* Adds Agent key table in APM settings {kibana-pull}119543[#119543] +* Allows users to set Download Speed, Upload Speed, and Latency for their synthetic monitors {kibana-pull}118594[#118594] + +[[enhancements-and-bug-fixes-v8.0.0-rc1]] +=== Enhancements and bug fixes + +For detailed information about the 8.0.0-rc1 release, review the enhancements and bug fixes. + +[float] +[[enhancement-v8.0.0-rc1]] +=== Enhancements +Canvas:: +Reverts By-Value Embeddables {kibana-pull}117613[#117613] +Discover:: +Adds multi-layer time axis for opt-out only {kibana-pull}115853[#115853] +Elastic Security:: +For the Elastic Security 8.0.0 release information, refer to {security-guide}/release-notes.html[_Elastic Security Solution Release Notes_]. +Fleet:: +Adds consistent `_meta` property to all Fleet ES assets {kibana-pull}119380[#119380] +Kibana Home & Add Data:: +Moves overview page and link to the accordion solution title {kibana-pull}114018[#114018] +Lens & Visualizations:: +* Handle removal of deprecated date histogram interval in *Vega* {kibana-pull}109090[#109090] +* Adds value labels to Heatmap in *Lens* {kibana-pull}106406[#106406] +Machine Learning:: +* Adds support for `force` stop deployment {kibana-pull}118563[#118563] +* Refactors data view loading to remove unnecessary searches {kibana-pull}116455[#116455] +Observability:: +* Service maps: Adds sparklines to the detail popover {kibana-pull}120021[#120021] +* Offer users upgrade to multi-metric job {kibana-pull}119980[#119980] +* Display relevant anomalies from multi-metric job {kibana-pull}119709[#119709] +* Adds service icon for the originating service in traces table {kibana-pull}119421[#119421] +* Auto attachment for java agent beta in APM integration settings {kibana-pull}119131[#119131] +* Errors: Enhancements to the Errors list page (part II) {kibana-pull}118878[#118878] +* Store Alerts View table state in localStorage {kibana-pull}118207[#118207] +* Handle other values popup when correlated value is not in top 10 {kibana-pull}118069[#118069] +* Adds links to navigate from alerts table to rule {kibana-pull}118035[#118035] +* Reinstates ML multi-metric job {kibana-pull}117836[#117836] +* Re-enables metric-based UI {kibana-pull}117021[#117021] +* Make Alerts page use shared {kib} time range {kibana-pull}115192[#115192] +* Adds enabled toggle {kibana-pull}119994[#119994] +* Adds missing tooltip to the report metric badge in *Exploratory View* {kibana-pull}119940[#119940] +* Adds step duration in step list {kibana-pull}116266[#116266] +Platform:: +Moves developer architecture docs to user docs {kibana-pull}119125[#119125] +Reporting:: +* Decouples screenshotting plugin from the reporting {kibana-pull}120110[#120110] +* Updates the design of the *Reports* management UI, including the addition of a link to {kib} app where the report was generated {kibana-pull}111412[#111412] +Security:: +Adds ability to clone role mappings {kibana-pull}118434[#118434] +Adds user logout audit events {kibana-pull}121455[#121455] + +[float] +[[fixes-v8.0.0-rc1]] +=== Bug Fixes +Canvas:: +* Fixes Error overflow {kibana-pull}122158[#122158] +* Fixes expression input {kibana-pull}121490[#121490] +* Hides edit menu when in view-only mode {kibana-pull}118779[#118779] +Dashboard:: +* Allow text wrapping for panel titles and dashboard descriptions for PDF generation {kibana-pull}121360[#121360] +* Page now resets to zero when rows per page is changed on *Add from Library* window {kibana-pull}118627[#118627] +* Fixes full screen error when pressing back arrow in browser {kibana-pull}118113[#118113] +Elastic Security:: +For the Elastic Security 8.0.0 release information, refer to {security-guide}/release-notes.html[_Elastic Security Solution Release Notes_]. +Fleet:: +* Adds `installed_kibana_space_id` to `epm-packages` saved objects {kibana-pull}120517[#120517] +* Handle Saved Object ID changes {kibana-pull}119527[#119527] +* Fixes upgradeable agents filter {kibana-pull}119338[#119338] +Lens & Visualizations:: +* Enables normal mode for percentage charts in *Lens* {kibana-pull}120197[#120197] +* Fixes existing fields query for epoch_millis dates in *Lens* {kibana-pull}119508[#119508] +* Include frozen indices in *Lens* {kibana-pull}118555[#118555] +* Fixes focus on legend action popovers in *Lens* {kibana-pull}115066[#115066] +Machine Learning:: +* Fixes data view search based on title {kibana-pull}120737[#120737] +* Data frame analytics wizard: Only allow data view creation if job will be started immediately {kibana-pull}120042[#120042] +* Fixes anomaly detection module manifest queries to ignore frozen and cold data tiers {kibana-pull}119635[#119635] +* Catches syntax error in job wizard editor {kibana-pull}119457[#119457] +* Fixes error handling for missing data view in data frame analytics wizard {kibana-pull}119455[#119455] +* Ensures auto refresh interval is used in Data Frame Analytics list {kibana-pull}117959[#117959] +* Ignores frozen indices in data recognizer {kibana-pull}117208[#117208] +Management:: +* Fixes data grid column actions button when histogram charts are visible {kibana-pull}120202[#120202] +* Disables delete data view for data frame analytics and transforms wizards {kibana-pull}119732[#119732] +* Check {kib} capabilities for all saving, editing, and deleting {kibana-pull}118480[#118480] +* Adds autocomplete for search_after and pit in search query {kibana-pull}117864[#117864] +* Autocomplete for t_test aggregation {kibana-pull}117782[#117782] +* Disables create data view for data frame analytics and transforms wizards {kibana-pull}117690[#117690] +Maps:: +* Fixes an issue where drawings do not show when there is a global filter {kibana-pull}121239[#121239] +* Use minimum symbol size if meta is not loaded {kibana-pull}119119[#119119] +* Do not fail migration when JSON.parse fails {kibana-pull}117342[#117342] +* Do not allow label overlap {kibana-pull}116190[#116190] +Monitoring:: +Correct linear regression formula {kibana-pull}120222[#120222] +Observability:: +* Renames alerting types in Infra {kibana-pull}121061[#121061] +* Renames occurrences of `alert_type` to `rule_type` in Infra {kibana-pull}120455[#120455] +* Fixes failing alerts table pagination functional tests {kibana-pull}119985[#119985] +* Switch to _source for updating documents instead of fields API {kibana-pull}118245[#118245] +* Fixes an issue where search terms with certain characters caused the APM UI to crash {kibana-pull}118063[#118063] +* Ignore unavailable indices for ML jobs {kibana-pull}117632[#117632] +* Disables the actions button when users have inadequate privileges {kibana-pull}117488[#117488] +* Replaces manual rate calculation with `rate` agg {kibana-pull}115651[#115651] +* Adds migration to fix incorrect action group spelling {kibana-pull}119626[#119626] +* Fixes bug with manage views button {kibana-pull}118547[#118547] +* Disables No Data checkboxes for doc count alerts {kibana-pull}117194[#117194] +* Prevent event propagation on step_duration {kibana-pull}122039[#122039] +* Disables the button to create alerts in Uptime when users do not have permissions to do so {kibana-pull}120379[#120379] +* Fixes a bug that prevented users from saving Uptime configurations when the `inspect` option was turned on {kibana-pull}119142[#119142] +* Adds a callout to informs users that they do not have permissions to create ML jobs for Uptime monitors {kibana-pull}117684[#117684] +Platform:: +Fixes font glitches in code editor {kibana-pull}121392[#121392] +Reporting:: +Fixes an issue where PDF and PNG reports break on Windows operating systems when the {kib} server hostname is `0.0.0.0` {kibana-pull}117022[#117022] + [[release-notes-8.0.0-beta1]] == {kib} 8.0.0-beta1 @@ -30,8 +322,6 @@ To review the breaking changes in previous versions, refer to the following: <> | <> -// tag::notable-breaking-changes[] - [float] [[alerting-breaking-changes-8.0.0-beta1]] ==== Alerting @@ -465,8 +755,6 @@ The legacy audit logger has been removed. For more information, refer to {kibana Audit logs will be written to the default location in the new ECS format. To change the output file, filter events, and more, use the <>. ==== -// end::notable-breaking-changes[] - [float] [[deprecations-8.0.0-beta1]] === Deprecations @@ -476,7 +764,7 @@ Deprecated functionality does not have an immediate impact on your application, To review the 8.0.0 depcrecations, refer to the <>. [float] -[[features-8.0.0]] +[[features-8.0.0-beta1]] === Features The 8.0.0-beta1 release adds the following new and notable features. diff --git a/docs/developer/contributing/development-functional-tests.asciidoc b/docs/developer/contributing/development-functional-tests.asciidoc index 4695a499ca6b6..1c44daf60f973 100644 --- a/docs/developer/contributing/development-functional-tests.asciidoc +++ b/docs/developer/contributing/development-functional-tests.asciidoc @@ -514,4 +514,13 @@ macOS users on a machine with a discrete graphics card may see significant speed * In the General tab, under the "Magic" section, ensure "GPU rendering" is checked * Open "Advanced GPU Settings..." * Uncheck the "Prefer integrated to discrete GPU" option -* Restart iTerm \ No newline at end of file +* Restart iTerm + +[discrete] +== Flaky Test Runner + +If your functional tests are flaky then the Operations team might skip them and ask that you make them less flaky before enabling them once again. This process usually involves looking at the failures which are logged on the relevant Github issue and finding incorrect assumptions or conditions which need to be awaited at some point in the test. To determine if your changes make the test fail less often you can run your tests in the Flaky Test Runner. This tool runs up to 500 executions of a specific ciGroup. To start a build of the Flaky Test Runner create a PR with your changes and then visit https://ci-stats.kibana.dev/trigger_flaky_test_runner, select your PR, choose the CI Group that your tests are in, and trigger the build. + +This will take you to Buildkite where your build will run and tell you if it failed in any execution. + +A flaky test may only fail once in 1000 runs, so keep this in mind and make sure you use enough executions to really prove that a test isn't flaky anymore. \ No newline at end of file diff --git a/docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md b/docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md index 1f2f013ba0f59..154332ccc76f3 100644 --- a/docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md +++ b/docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md @@ -193,7 +193,10 @@ readonly links: { readonly runtimeFields: string; }; readonly addData: string; - readonly kibana: string; + readonly kibana: { + readonly guide: string; + readonly autocompleteSuggestions: string; + }; readonly upgradeAssistant: { readonly overview: string; readonly batchReindex: string; @@ -218,6 +221,7 @@ readonly links: { readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; + readonly luceneQuery: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: string; @@ -246,6 +250,7 @@ readonly links: { cronExpressions: string; executeWatchActionModes: string; indexExists: string; + multiSearch: string; openIndex: string; putComponentTemplate: string; painlessExecute: string; @@ -254,8 +259,10 @@ readonly links: { putSnapshotLifecyclePolicy: string; putIndexTemplateV1: string; putWatch: string; + searchPreference: string; simulatePipeline: string; timeUnits: string; + unfreezeIndex: string; updateTransform: string; }>; readonly observability: Readonly<{ diff --git a/docs/development/core/public/kibana-plugin-core-public.doclinksstart.md b/docs/development/core/public/kibana-plugin-core-public.doclinksstart.md index e5fc10224e591..933c7c99486c7 100644 --- a/docs/development/core/public/kibana-plugin-core-public.doclinksstart.md +++ b/docs/development/core/public/kibana-plugin-core-public.doclinksstart.md @@ -17,5 +17,5 @@ export interface DocLinksStart | --- | --- | --- | | [DOC\_LINK\_VERSION](./kibana-plugin-core-public.doclinksstart.doc_link_version.md) | string | | | [ELASTIC\_WEBSITE\_URL](./kibana-plugin-core-public.doclinksstart.elastic_website_url.md) | string | | -| [links](./kibana-plugin-core-public.doclinksstart.links.md) | { readonly settings: string; readonly elasticStackGetStarted: string; readonly upgrade: { readonly upgradingElasticStack: string; }; readonly apm: { readonly kibanaSettings: string; readonly supportedServiceMaps: string; readonly customLinks: string; readonly droppedTransactionSpans: string; readonly upgrading: string; readonly metaData: string; }; readonly canvas: { readonly guide: string; }; readonly cloud: { readonly indexManagement: string; }; readonly console: { readonly guide: string; }; readonly dashboard: { readonly guide: string; readonly drilldowns: string; readonly drilldownsTriggerPicker: string; readonly urlDrilldownTemplateSyntax: string; readonly urlDrilldownVariables: string; }; readonly discover: Record<string, string>; readonly filebeat: { readonly base: string; readonly installation: string; readonly configuration: string; readonly elasticsearchOutput: string; readonly elasticsearchModule: string; readonly startup: string; readonly exportedFields: string; readonly suricataModule: string; readonly zeekModule: string; }; readonly auditbeat: { readonly base: string; readonly auditdModule: string; readonly systemModule: string; }; readonly metricbeat: { readonly base: string; readonly configure: string; readonly httpEndpoint: string; readonly install: string; readonly start: string; }; readonly appSearch: { readonly apiRef: string; readonly apiClients: string; readonly apiKeys: string; readonly authentication: string; readonly crawlRules: string; readonly curations: string; readonly duplicateDocuments: string; readonly entryPoints: string; readonly guide: string; readonly indexingDocuments: string; readonly indexingDocumentsSchema: string; readonly logSettings: string; readonly metaEngines: string; readonly precisionTuning: string; readonly relevanceTuning: string; readonly resultSettings: string; readonly searchUI: string; readonly security: string; readonly synonyms: string; readonly webCrawler: string; readonly webCrawlerEventLogs: string; }; readonly enterpriseSearch: { readonly configuration: string; readonly licenseManagement: string; readonly mailService: string; readonly usersAccess: string; }; readonly workplaceSearch: { readonly apiKeys: string; readonly box: string; readonly confluenceCloud: string; readonly confluenceServer: string; readonly customSources: string; readonly customSourcePermissions: string; readonly documentPermissions: string; readonly dropbox: string; readonly externalIdentities: string; readonly gitHub: string; readonly gettingStarted: string; readonly gmail: string; readonly googleDrive: string; readonly indexingSchedule: string; readonly jiraCloud: string; readonly jiraServer: string; readonly oneDrive: string; readonly permissions: string; readonly salesforce: string; readonly security: string; readonly serviceNow: string; readonly sharePoint: string; readonly slack: string; readonly synch: string; readonly zendesk: string; }; readonly heartbeat: { readonly base: string; }; readonly libbeat: { readonly getStarted: string; }; readonly logstash: { readonly base: string; }; readonly functionbeat: { readonly base: string; }; readonly winlogbeat: { readonly base: string; }; readonly aggs: { readonly composite: string; readonly composite\_missing\_bucket: string; readonly date\_histogram: string; readonly date\_range: string; readonly date\_format\_pattern: string; readonly filter: string; readonly filters: string; readonly geohash\_grid: string; readonly histogram: string; readonly ip\_range: string; readonly range: string; readonly significant\_terms: string; readonly terms: string; readonly terms\_doc\_count\_error: string; readonly avg: string; readonly avg\_bucket: string; readonly max\_bucket: string; readonly min\_bucket: string; readonly sum\_bucket: string; readonly cardinality: string; readonly count: string; readonly cumulative\_sum: string; readonly derivative: string; readonly geo\_bounds: string; readonly geo\_centroid: string; readonly max: string; readonly median: string; readonly min: string; readonly moving\_avg: string; readonly percentile\_ranks: string; readonly serial\_diff: string; readonly std\_dev: string; readonly sum: string; readonly top\_hits: string; }; readonly runtimeFields: { readonly overview: string; readonly mapping: string; }; readonly scriptedFields: { readonly scriptFields: string; readonly scriptAggs: string; readonly painless: string; readonly painlessApi: string; readonly painlessLangSpec: string; readonly painlessSyntax: string; readonly painlessWalkthrough: string; readonly luceneExpressions: string; }; readonly search: { readonly sessions: string; readonly sessionLimits: string; }; readonly indexPatterns: { readonly introduction: string; readonly fieldFormattersNumber: string; readonly fieldFormattersString: string; readonly runtimeFields: string; }; readonly addData: string; readonly kibana: string; readonly upgradeAssistant: { readonly overview: string; readonly batchReindex: string; readonly remoteReindex: string; }; readonly rollupJobs: string; readonly elasticsearch: Record<string, string>; readonly siem: { readonly privileges: string; readonly guide: string; readonly gettingStarted: string; readonly ml: string; readonly ruleChangeLog: string; readonly detectionsReq: string; readonly networkMap: string; readonly troubleshootGaps: string; }; readonly securitySolution: { readonly trustedApps: string; readonly eventFilters: string; }; readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: string; }; readonly date: { readonly dateMath: string; readonly dateMathIndexNames: string; }; readonly management: Record<string, string>; readonly ml: Record<string, string>; readonly transforms: Record<string, string>; readonly visualize: Record<string, string>; readonly apis: Readonly<{ bulkIndexAlias: string; byteSizeUnits: string; createAutoFollowPattern: string; createFollower: string; createIndex: string; createSnapshotLifecyclePolicy: string; createRoleMapping: string; createRoleMappingTemplates: string; createRollupJobsRequest: string; createApiKey: string; createPipeline: string; createTransformRequest: string; cronExpressions: string; executeWatchActionModes: string; indexExists: string; openIndex: string; putComponentTemplate: string; painlessExecute: string; painlessExecuteAPIContexts: string; putComponentTemplateMetadata: string; putSnapshotLifecyclePolicy: string; putIndexTemplateV1: string; putWatch: string; simulatePipeline: string; timeUnits: string; updateTransform: string; }>; readonly observability: Readonly<{ guide: string; infrastructureThreshold: string; logsThreshold: string; metricsThreshold: string; monitorStatus: string; monitorUptime: string; tlsCertificate: string; uptimeDurationAnomaly: string; }>; readonly alerting: Record<string, string>; readonly maps: Readonly<{ guide: string; importGeospatialPrivileges: string; gdalTutorial: string; }>; readonly monitoring: Record<string, string>; readonly security: Readonly<{ apiKeyServiceSettings: string; clusterPrivileges: string; elasticsearchSettings: string; elasticsearchEnableSecurity: string; elasticsearchEnableApiKeys: string; indicesPrivileges: string; kibanaTLS: string; kibanaPrivileges: string; mappingRoles: string; mappingRolesFieldRules: string; runAsPrivilege: string; }>; readonly spaces: Readonly<{ kibanaLegacyUrlAliases: string; kibanaDisableLegacyUrlAliasesApi: string; }>; readonly watcher: Record<string, string>; readonly ccs: Record<string, string>; readonly plugins: { azureRepo: string; gcsRepo: string; hdfsRepo: string; s3Repo: string; snapshotRestoreRepos: string; mapperSize: string; }; readonly snapshotRestore: Record<string, string>; readonly ingest: Record<string, string>; readonly fleet: Readonly<{ beatsAgentComparison: string; guide: string; fleetServer: string; fleetServerAddFleetServer: string; settings: string; settingsFleetServerHostSettings: string; settingsFleetServerProxySettings: string; troubleshooting: string; elasticAgent: string; datastreams: string; datastreamsNamingScheme: string; installElasticAgent: string; installElasticAgentStandalone: string; upgradeElasticAgent: string; upgradeElasticAgent712lower: string; learnMoreBlog: string; apiKeysLearnMore: string; onPremRegistry: string; }>; readonly ecs: { readonly guide: string; }; readonly clients: { readonly guide: string; readonly goOverview: string; readonly javaIndex: string; readonly jsIntro: string; readonly netGuide: string; readonly perlGuide: string; readonly phpGuide: string; readonly pythonGuide: string; readonly rubyOverview: string; readonly rustGuide: string; }; readonly endpoints: { readonly troubleshooting: string; }; } | | +| [links](./kibana-plugin-core-public.doclinksstart.links.md) | { readonly settings: string; readonly elasticStackGetStarted: string; readonly upgrade: { readonly upgradingElasticStack: string; }; readonly apm: { readonly kibanaSettings: string; readonly supportedServiceMaps: string; readonly customLinks: string; readonly droppedTransactionSpans: string; readonly upgrading: string; readonly metaData: string; }; readonly canvas: { readonly guide: string; }; readonly cloud: { readonly indexManagement: string; }; readonly console: { readonly guide: string; }; readonly dashboard: { readonly guide: string; readonly drilldowns: string; readonly drilldownsTriggerPicker: string; readonly urlDrilldownTemplateSyntax: string; readonly urlDrilldownVariables: string; }; readonly discover: Record<string, string>; readonly filebeat: { readonly base: string; readonly installation: string; readonly configuration: string; readonly elasticsearchOutput: string; readonly elasticsearchModule: string; readonly startup: string; readonly exportedFields: string; readonly suricataModule: string; readonly zeekModule: string; }; readonly auditbeat: { readonly base: string; readonly auditdModule: string; readonly systemModule: string; }; readonly metricbeat: { readonly base: string; readonly configure: string; readonly httpEndpoint: string; readonly install: string; readonly start: string; }; readonly appSearch: { readonly apiRef: string; readonly apiClients: string; readonly apiKeys: string; readonly authentication: string; readonly crawlRules: string; readonly curations: string; readonly duplicateDocuments: string; readonly entryPoints: string; readonly guide: string; readonly indexingDocuments: string; readonly indexingDocumentsSchema: string; readonly logSettings: string; readonly metaEngines: string; readonly precisionTuning: string; readonly relevanceTuning: string; readonly resultSettings: string; readonly searchUI: string; readonly security: string; readonly synonyms: string; readonly webCrawler: string; readonly webCrawlerEventLogs: string; }; readonly enterpriseSearch: { readonly configuration: string; readonly licenseManagement: string; readonly mailService: string; readonly usersAccess: string; }; readonly workplaceSearch: { readonly apiKeys: string; readonly box: string; readonly confluenceCloud: string; readonly confluenceServer: string; readonly customSources: string; readonly customSourcePermissions: string; readonly documentPermissions: string; readonly dropbox: string; readonly externalIdentities: string; readonly gitHub: string; readonly gettingStarted: string; readonly gmail: string; readonly googleDrive: string; readonly indexingSchedule: string; readonly jiraCloud: string; readonly jiraServer: string; readonly oneDrive: string; readonly permissions: string; readonly salesforce: string; readonly security: string; readonly serviceNow: string; readonly sharePoint: string; readonly slack: string; readonly synch: string; readonly zendesk: string; }; readonly heartbeat: { readonly base: string; }; readonly libbeat: { readonly getStarted: string; }; readonly logstash: { readonly base: string; }; readonly functionbeat: { readonly base: string; }; readonly winlogbeat: { readonly base: string; }; readonly aggs: { readonly composite: string; readonly composite\_missing\_bucket: string; readonly date\_histogram: string; readonly date\_range: string; readonly date\_format\_pattern: string; readonly filter: string; readonly filters: string; readonly geohash\_grid: string; readonly histogram: string; readonly ip\_range: string; readonly range: string; readonly significant\_terms: string; readonly terms: string; readonly terms\_doc\_count\_error: string; readonly avg: string; readonly avg\_bucket: string; readonly max\_bucket: string; readonly min\_bucket: string; readonly sum\_bucket: string; readonly cardinality: string; readonly count: string; readonly cumulative\_sum: string; readonly derivative: string; readonly geo\_bounds: string; readonly geo\_centroid: string; readonly max: string; readonly median: string; readonly min: string; readonly moving\_avg: string; readonly percentile\_ranks: string; readonly serial\_diff: string; readonly std\_dev: string; readonly sum: string; readonly top\_hits: string; }; readonly runtimeFields: { readonly overview: string; readonly mapping: string; }; readonly scriptedFields: { readonly scriptFields: string; readonly scriptAggs: string; readonly painless: string; readonly painlessApi: string; readonly painlessLangSpec: string; readonly painlessSyntax: string; readonly painlessWalkthrough: string; readonly luceneExpressions: string; }; readonly search: { readonly sessions: string; readonly sessionLimits: string; }; readonly indexPatterns: { readonly introduction: string; readonly fieldFormattersNumber: string; readonly fieldFormattersString: string; readonly runtimeFields: string; }; readonly addData: string; readonly kibana: { readonly guide: string; readonly autocompleteSuggestions: string; }; readonly upgradeAssistant: { readonly overview: string; readonly batchReindex: string; readonly remoteReindex: string; }; readonly rollupJobs: string; readonly elasticsearch: Record<string, string>; readonly siem: { readonly privileges: string; readonly guide: string; readonly gettingStarted: string; readonly ml: string; readonly ruleChangeLog: string; readonly detectionsReq: string; readonly networkMap: string; readonly troubleshootGaps: string; }; readonly securitySolution: { readonly trustedApps: string; readonly eventFilters: string; }; readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; readonly luceneQuery: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: string; }; readonly date: { readonly dateMath: string; readonly dateMathIndexNames: string; }; readonly management: Record<string, string>; readonly ml: Record<string, string>; readonly transforms: Record<string, string>; readonly visualize: Record<string, string>; readonly apis: Readonly<{ bulkIndexAlias: string; byteSizeUnits: string; createAutoFollowPattern: string; createFollower: string; createIndex: string; createSnapshotLifecyclePolicy: string; createRoleMapping: string; createRoleMappingTemplates: string; createRollupJobsRequest: string; createApiKey: string; createPipeline: string; createTransformRequest: string; cronExpressions: string; executeWatchActionModes: string; indexExists: string; multiSearch: string; openIndex: string; putComponentTemplate: string; painlessExecute: string; painlessExecuteAPIContexts: string; putComponentTemplateMetadata: string; putSnapshotLifecyclePolicy: string; putIndexTemplateV1: string; putWatch: string; searchPreference: string; simulatePipeline: string; timeUnits: string; unfreezeIndex: string; updateTransform: string; }>; readonly observability: Readonly<{ guide: string; infrastructureThreshold: string; logsThreshold: string; metricsThreshold: string; monitorStatus: string; monitorUptime: string; tlsCertificate: string; uptimeDurationAnomaly: string; }>; readonly alerting: Record<string, string>; readonly maps: Readonly<{ guide: string; importGeospatialPrivileges: string; gdalTutorial: string; }>; readonly monitoring: Record<string, string>; readonly security: Readonly<{ apiKeyServiceSettings: string; clusterPrivileges: string; elasticsearchSettings: string; elasticsearchEnableSecurity: string; elasticsearchEnableApiKeys: string; indicesPrivileges: string; kibanaTLS: string; kibanaPrivileges: string; mappingRoles: string; mappingRolesFieldRules: string; runAsPrivilege: string; }>; readonly spaces: Readonly<{ kibanaLegacyUrlAliases: string; kibanaDisableLegacyUrlAliasesApi: string; }>; readonly watcher: Record<string, string>; readonly ccs: Record<string, string>; readonly plugins: { azureRepo: string; gcsRepo: string; hdfsRepo: string; s3Repo: string; snapshotRestoreRepos: string; mapperSize: string; }; readonly snapshotRestore: Record<string, string>; readonly ingest: Record<string, string>; readonly fleet: Readonly<{ beatsAgentComparison: string; guide: string; fleetServer: string; fleetServerAddFleetServer: string; settings: string; settingsFleetServerHostSettings: string; settingsFleetServerProxySettings: string; troubleshooting: string; elasticAgent: string; datastreams: string; datastreamsNamingScheme: string; installElasticAgent: string; installElasticAgentStandalone: string; upgradeElasticAgent: string; upgradeElasticAgent712lower: string; learnMoreBlog: string; apiKeysLearnMore: string; onPremRegistry: string; }>; readonly ecs: { readonly guide: string; }; readonly clients: { readonly guide: string; readonly goOverview: string; readonly javaIndex: string; readonly jsIntro: string; readonly netGuide: string; readonly perlGuide: string; readonly phpGuide: string; readonly pythonGuide: string; readonly rubyOverview: string; readonly rustGuide: string; }; readonly endpoints: { readonly troubleshooting: string; }; } | | diff --git a/docs/user/dashboard/make-dashboards-interactive.asciidoc b/docs/user/dashboard/make-dashboards-interactive.asciidoc index 54a723f63e253..2c6fff7157b92 100644 --- a/docs/user/dashboard/make-dashboards-interactive.asciidoc +++ b/docs/user/dashboard/make-dashboards-interactive.asciidoc @@ -48,7 +48,7 @@ To create *Controls* panels: . Select the control panel type from the dropdown, then click *Add*. -. Enter the *Control Label*, then select the *{Data-Source}* and *Field*. +. Enter the *Control Label*, then select the *{data-source-caps}* and *Field*. . If you are adding a *Range slider*, enter the *Step Size* and *Decimal Places*. diff --git a/examples/embeddable_examples/public/book/book_embeddable.tsx b/examples/embeddable_examples/public/book/book_embeddable.tsx index 0f25d564e5580..024d9d90448eb 100644 --- a/examples/embeddable_examples/public/book/book_embeddable.tsx +++ b/examples/embeddable_examples/public/book/book_embeddable.tsx @@ -92,13 +92,11 @@ export class BookEmbeddable }; readonly getInputAsValueType = async (): Promise => { - const input = this.attributeService.getExplicitInputFromEmbeddable(this); - return this.attributeService.getInputAsValueType(input); + return this.attributeService.getInputAsValueType(this.getExplicitInput()); }; readonly getInputAsRefType = async (): Promise => { - const input = this.attributeService.getExplicitInputFromEmbeddable(this); - return this.attributeService.getInputAsRefType(input, { + return this.attributeService.getInputAsRefType(this.getExplicitInput(), { showSaveModal: true, saveModalTitle: this.getTitle(), }); diff --git a/examples/embeddable_examples/public/book/edit_book_action.tsx b/examples/embeddable_examples/public/book/edit_book_action.tsx index edf04901e4e0d..ab5694d7782fa 100644 --- a/examples/embeddable_examples/public/book/edit_book_action.tsx +++ b/examples/embeddable_examples/public/book/edit_book_action.tsx @@ -71,7 +71,7 @@ export const createEditBookAction = (getStartServices: () => Promise { const service = new DocLinksService(); const api = service.start({ injectedMetadata }); expect(api.DOC_LINK_VERSION).toEqual('test-branch'); - expect(api.links.kibana).toEqual( + expect(api.links.kibana.guide).toEqual( 'https://www.elastic.co/guide/en/kibana/test-branch/index.html' ); }); diff --git a/src/core/public/doc_links/doc_links_service.ts b/src/core/public/doc_links/doc_links_service.ts index ab0613280673b..0c4bebc0bfbe8 100644 --- a/src/core/public/doc_links/doc_links_service.ts +++ b/src/core/public/doc_links/doc_links_service.ts @@ -222,7 +222,10 @@ export class DocLinksService { runtimeFields: `${KIBANA_DOCS}managing-data-views.html#runtime-fields`, }, addData: `${KIBANA_DOCS}connect-to-elasticsearch.html`, - kibana: `${KIBANA_DOCS}index.html`, + kibana: { + guide: `${KIBANA_DOCS}index.html`, + autocompleteSuggestions: `${KIBANA_DOCS}kibana-concepts-analysts.html#autocomplete-suggestions`, + }, upgradeAssistant: { overview: `${KIBANA_DOCS}upgrade-assistant.html`, batchReindex: `${KIBANA_DOCS}batch-start-resume-reindex.html`, @@ -272,6 +275,7 @@ export class DocLinksService { mappingJoinFieldsPerformance: `${ELASTICSEARCH_DOCS}parent-join.html#_parent_join_and_performance`, mappingMeta: `${ELASTICSEARCH_DOCS}mapping-field-meta.html`, mappingMetaFields: `${ELASTICSEARCH_DOCS}mapping-meta-field.html`, + mappingMultifields: `${ELASTICSEARCH_DOCS}multi-fields.html`, mappingNormalizer: `${ELASTICSEARCH_DOCS}normalizer.html`, mappingNorms: `${ELASTICSEARCH_DOCS}norms.html`, mappingNullValue: `${ELASTICSEARCH_DOCS}null-value.html`, @@ -295,6 +299,7 @@ export class DocLinksService { remoteClusersProxySettings: `${ELASTICSEARCH_DOCS}remote-clusters-settings.html#remote-cluster-proxy-settings`, scriptParameters: `${ELASTICSEARCH_DOCS}modules-scripting-using.html#prefer-params`, shardAllocationSettings: `${ELASTICSEARCH_DOCS}modules-cluster.html#cluster-shard-allocation-settings`, + sortSearch: `${ELASTICSEARCH_DOCS}sort-search-results.html`, transportSettings: `${ELASTICSEARCH_DOCS}modules-network.html#common-network-settings`, typesRemoval: `${ELASTICSEARCH_DOCS}removal-of-types.html`, setupUpgrade: `${ELASTICSEARCH_DOCS}setup-upgrade.html`, @@ -317,6 +322,7 @@ export class DocLinksService { query: { eql: `${ELASTICSEARCH_DOCS}eql.html`, kueryQuerySyntax: `${KIBANA_DOCS}kuery-query.html`, + luceneQuery: `${ELASTICSEARCH_DOCS}query-dsl-query-string-query.html`, luceneQuerySyntax: `${ELASTICSEARCH_DOCS}query-dsl-query-string-query.html#query-string-syntax`, percolate: `${ELASTICSEARCH_DOCS}query-dsl-percolate-query.html`, queryDsl: `${ELASTICSEARCH_DOCS}query-dsl.html`, @@ -472,6 +478,7 @@ export class DocLinksService { cronExpressions: `${ELASTICSEARCH_DOCS}cron-expressions.html`, executeWatchActionModes: `${ELASTICSEARCH_DOCS}watcher-api-execute-watch.html#watcher-api-execute-watch-action-mode`, indexExists: `${ELASTICSEARCH_DOCS}indices-exists.html`, + multiSearch: `${ELASTICSEARCH_DOCS}search-multi-search.html`, openIndex: `${ELASTICSEARCH_DOCS}indices-open-close.html`, putComponentTemplate: `${ELASTICSEARCH_DOCS}indices-component-template.html`, painlessExecute: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/painless/${DOC_LINK_VERSION}/painless-execute-api.html`, @@ -481,15 +488,17 @@ export class DocLinksService { putIndexTemplateV1: `${ELASTICSEARCH_DOCS}indices-templates-v1.html`, putSnapshotLifecyclePolicy: `${ELASTICSEARCH_DOCS}slm-api-put-policy.html`, putWatch: `${ELASTICSEARCH_DOCS}watcher-api-put-watch.html`, + searchPreference: `${ELASTICSEARCH_DOCS}search-search.html#search-preference`, simulatePipeline: `${ELASTICSEARCH_DOCS}simulate-pipeline-api.html`, timeUnits: `${ELASTICSEARCH_DOCS}api-conventions.html#time-units`, + unfreezeIndex: `${ELASTICSEARCH_DOCS}unfreeze-index-api.html`, updateTransform: `${ELASTICSEARCH_DOCS}update-transform.html`, }, plugins: { - azureRepo: `${PLUGIN_DOCS}repository-azure.html`, - gcsRepo: `${PLUGIN_DOCS}repository-gcs.html`, + azureRepo: `${ELASTICSEARCH_DOCS}repository-azure.html`, + gcsRepo: `${ELASTICSEARCH_DOCS}repository-gcs.html`, hdfsRepo: `${PLUGIN_DOCS}repository-hdfs.html`, - s3Repo: `${PLUGIN_DOCS}repository-s3.html`, + s3Repo: `${ELASTICSEARCH_DOCS}repository-s3.html`, snapshotRestoreRepos: `${PLUGIN_DOCS}repository.html`, mapperSize: `${PLUGIN_DOCS}mapper-size-usage.html`, }, @@ -783,7 +792,10 @@ export interface DocLinksStart { readonly runtimeFields: string; }; readonly addData: string; - readonly kibana: string; + readonly kibana: { + readonly guide: string; + readonly autocompleteSuggestions: string; + }; readonly upgradeAssistant: { readonly overview: string; readonly batchReindex: string; @@ -808,6 +820,7 @@ export interface DocLinksStart { readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; + readonly luceneQuery: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: string; @@ -836,6 +849,7 @@ export interface DocLinksStart { cronExpressions: string; executeWatchActionModes: string; indexExists: string; + multiSearch: string; openIndex: string; putComponentTemplate: string; painlessExecute: string; @@ -844,8 +858,10 @@ export interface DocLinksStart { putSnapshotLifecyclePolicy: string; putIndexTemplateV1: string; putWatch: string; + searchPreference: string; simulatePipeline: string; timeUnits: string; + unfreezeIndex: string; updateTransform: string; }>; readonly observability: Readonly<{ diff --git a/src/core/public/public.api.md b/src/core/public/public.api.md index a664e671d396d..e4280f7cf9046 100644 --- a/src/core/public/public.api.md +++ b/src/core/public/public.api.md @@ -676,7 +676,10 @@ export interface DocLinksStart { readonly runtimeFields: string; }; readonly addData: string; - readonly kibana: string; + readonly kibana: { + readonly guide: string; + readonly autocompleteSuggestions: string; + }; readonly upgradeAssistant: { readonly overview: string; readonly batchReindex: string; @@ -701,6 +704,7 @@ export interface DocLinksStart { readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; + readonly luceneQuery: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: string; @@ -729,6 +733,7 @@ export interface DocLinksStart { cronExpressions: string; executeWatchActionModes: string; indexExists: string; + multiSearch: string; openIndex: string; putComponentTemplate: string; painlessExecute: string; @@ -737,8 +742,10 @@ export interface DocLinksStart { putSnapshotLifecyclePolicy: string; putIndexTemplateV1: string; putWatch: string; + searchPreference: string; simulatePipeline: string; timeUnits: string; + unfreezeIndex: string; updateTransform: string; }>; readonly observability: Readonly<{ diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index 7c76b73a27ee4..4115f20f85a41 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -77,6 +77,6 @@ export const LICENSE_OVERRIDES = { 'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts '@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint '@elastic/ems-client@8.0.0': ['Elastic License 2.0'], - '@elastic/eui@43.1.1': ['SSPL-1.0 OR Elastic License 2.0'], + '@elastic/eui@44.0.0': ['SSPL-1.0 OR Elastic License 2.0'], 'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry }; diff --git a/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.ts b/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.ts index 6ebec4b118c76..8a4d16ae3bfbd 100644 --- a/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.ts +++ b/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.ts @@ -17,7 +17,10 @@ import { EXPRESSION_HEATMAP_LEGEND_NAME, } from '../constants'; -const convertToVisDimension = (columns: DatatableColumn[], accessor: string) => { +const convertToVisDimension = ( + columns: DatatableColumn[], + accessor: string +): ExpressionValueVisDimension | undefined => { const column = columns.find((c) => c.id === accessor); if (!column) return; return { @@ -27,7 +30,7 @@ const convertToVisDimension = (columns: DatatableColumn[], accessor: string) => params: { ...column.meta.params?.params }, }, type: 'vis_dimension', - } as ExpressionValueVisDimension; + }; }; const prepareHeatmapLogTable = ( @@ -70,12 +73,14 @@ export const heatmapFunction = (): HeatmapExpressionFunctionDefinition => ({ help: i18n.translate('expressionHeatmap.function.legendConfig.help', { defaultMessage: 'Configure the chart legend.', }), + default: `{${EXPRESSION_HEATMAP_LEGEND_NAME}}`, }, gridConfig: { types: [EXPRESSION_HEATMAP_GRID_NAME], help: i18n.translate('expressionHeatmap.function.gridConfig.help', { defaultMessage: 'Configure the heatmap layout.', }), + default: `{${EXPRESSION_HEATMAP_GRID_NAME}}`, }, showTooltip: { types: ['boolean'], @@ -118,6 +123,7 @@ export const heatmapFunction = (): HeatmapExpressionFunctionDefinition => ({ help: i18n.translate('expressionHeatmap.function.args.valueAccessorHelpText', { defaultMessage: 'The id of the value column or the corresponding dimension', }), + required: true, }, // not supported yet, small multiples accessor splitRowAccessor: { diff --git a/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts b/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts index 17513555d394d..7ade1793f1f6c 100644 --- a/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts +++ b/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts @@ -20,7 +20,7 @@ export const heatmapGridConfig: ExpressionFunctionDefinition< name: EXPRESSION_HEATMAP_GRID_NAME, aliases: [], type: EXPRESSION_HEATMAP_GRID_NAME, - help: `Configure the heatmap layout `, + help: `Configure the heatmap layout`, inputTypes: ['null'], args: { // grid @@ -38,20 +38,6 @@ export const heatmapGridConfig: ExpressionFunctionDefinition< }), required: false, }, - cellHeight: { - types: ['number'], - help: i18n.translate('expressionHeatmap.function.args.grid.cellHeight.help', { - defaultMessage: 'Specifies the grid cell height', - }), - required: false, - }, - cellWidth: { - types: ['number'], - help: i18n.translate('expressionHeatmap.function.args.grid.cellWidth.help', { - defaultMessage: 'Specifies the grid cell width', - }), - required: false, - }, // cells isCellLabelVisible: { types: ['boolean'], @@ -66,20 +52,6 @@ export const heatmapGridConfig: ExpressionFunctionDefinition< defaultMessage: 'Specifies whether or not the Y-axis labels are visible.', }), }, - yAxisLabelWidth: { - types: ['number'], - help: i18n.translate('expressionHeatmap.function.args.grid.yAxisLabelWidth.help', { - defaultMessage: 'Specifies the width of the Y-axis labels.', - }), - required: false, - }, - yAxisLabelColor: { - types: ['string'], - help: i18n.translate('expressionHeatmap.function.args.grid.yAxisLabelColor.help', { - defaultMessage: 'Specifies the color of the Y-axis labels.', - }), - required: false, - }, // X-axis isXAxisLabelVisible: { types: ['boolean'], diff --git a/src/plugins/chart_expressions/expression_heatmap/common/types/expression_functions.ts b/src/plugins/chart_expressions/expression_heatmap/common/types/expression_functions.ts index a983da669c56d..b99f7c13bc202 100644 --- a/src/plugins/chart_expressions/expression_heatmap/common/types/expression_functions.ts +++ b/src/plugins/chart_expressions/expression_heatmap/common/types/expression_functions.ts @@ -48,14 +48,10 @@ export interface HeatmapGridConfig { // grid strokeWidth?: number; strokeColor?: string; - cellHeight?: number; - cellWidth?: number; // cells isCellLabelVisible: boolean; // Y-axis isYAxisLabelVisible: boolean; - yAxisLabelWidth?: number; - yAxisLabelColor?: string; // X-axis isXAxisLabelVisible: boolean; } diff --git a/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx b/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx index 9f99c5f6d44bc..f1fbbccc3c20f 100644 --- a/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx +++ b/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx @@ -258,7 +258,7 @@ export const HeatmapComponent: FC = memo( const percentageNumber = (Math.abs(value - min) / (max - min)) * 100; value = parseInt(percentageNumber.toString(), 10) / 100; } - return metricFormatter.convert(value); + return `${metricFormatter.convert(value) ?? ''}`; }; const { colors, ranges } = computeColorRanges( @@ -415,7 +415,8 @@ export const HeatmapComponent: FC = memo( name: yAxisColumn?.name ?? '', ...(yAxisColumn ? { - formatter: (v: number | string) => formatFactory(yAxisColumn.meta.params).convert(v), + formatter: (v: number | string) => + `${formatFactory(yAxisColumn.meta.params).convert(v) ?? ''}`, } : {}), }, @@ -424,7 +425,7 @@ export const HeatmapComponent: FC = memo( // eui color subdued textColor: chartTheme.axes?.tickLabel?.fill ?? `#6a717d`, padding: xAxisColumn?.name ? 8 : 0, - formatter: (v: number | string) => xValuesFormatter.convert(v), + formatter: (v: number | string) => `${xValuesFormatter.convert(v) ?? ''}`, name: xAxisColumn?.name ?? '', }, brushMask: { diff --git a/src/plugins/dashboard/public/application/hooks/use_dashboard_app_state.ts b/src/plugins/dashboard/public/application/hooks/use_dashboard_app_state.ts index cb5c7483f261a..8c58eab0ded83 100644 --- a/src/plugins/dashboard/public/application/hooks/use_dashboard_app_state.ts +++ b/src/plugins/dashboard/public/application/hooks/use_dashboard_app_state.ts @@ -8,9 +8,9 @@ import _ from 'lodash'; import { History } from 'history'; -import { debounceTime } from 'rxjs/operators'; +import { debounceTime, switchMap } from 'rxjs/operators'; import { useCallback, useEffect, useMemo, useState } from 'react'; -import { BehaviorSubject, combineLatest, Subject } from 'rxjs'; +import { BehaviorSubject, combineLatest, Observable, Subject } from 'rxjs'; import { DashboardConstants } from '../..'; import { ViewMode } from '../../services/embeddable'; @@ -261,37 +261,47 @@ export const useDashboardAppState = ({ dashboardAppState.$onDashboardStateChange, dashboardBuildContext.$checkForUnsavedChanges, ]) - .pipe(debounceTime(DashboardConstants.CHANGE_CHECK_DEBOUNCE)) - .subscribe((states) => { - const [lastSaved, current] = states; - const unsavedChanges = diffDashboardState(lastSaved, current); - - const savedTimeChanged = - lastSaved.timeRestore && - (!areTimeRangesEqual( - { - from: savedDashboard?.timeFrom, - to: savedDashboard?.timeTo, - }, - timefilter.getTime() - ) || - !areRefreshIntervalsEqual( - savedDashboard?.refreshInterval, - timefilter.getRefreshInterval() - )); - - /** - * changes to the dashboard should only be considered 'unsaved changes' when - * editing the dashboard - */ - const hasUnsavedChanges = - current.viewMode === ViewMode.EDIT && - (Object.keys(unsavedChanges).length > 0 || savedTimeChanged); - setDashboardAppState((s) => ({ ...s, hasUnsavedChanges })); - - unsavedChanges.viewMode = current.viewMode; // always push view mode into session store. - dashboardSessionStorage.setState(savedDashboardId, unsavedChanges); - }); + .pipe( + debounceTime(DashboardConstants.CHANGE_CHECK_DEBOUNCE), + switchMap((states) => { + return new Observable((observer) => { + const [lastSaved, current] = states; + diffDashboardState({ + getEmbeddable: (id: string) => dashboardContainer.untilEmbeddableLoaded(id), + originalState: lastSaved, + newState: current, + }).then((unsavedChanges) => { + if (observer.closed) return; + const savedTimeChanged = + lastSaved.timeRestore && + (!areTimeRangesEqual( + { + from: savedDashboard?.timeFrom, + to: savedDashboard?.timeTo, + }, + timefilter.getTime() + ) || + !areRefreshIntervalsEqual( + savedDashboard?.refreshInterval, + timefilter.getRefreshInterval() + )); + + /** + * changes to the dashboard should only be considered 'unsaved changes' when + * editing the dashboard + */ + const hasUnsavedChanges = + current.viewMode === ViewMode.EDIT && + (Object.keys(unsavedChanges).length > 0 || savedTimeChanged); + setDashboardAppState((s) => ({ ...s, hasUnsavedChanges })); + + unsavedChanges.viewMode = current.viewMode; // always push view mode into session store. + dashboardSessionStorage.setState(savedDashboardId, unsavedChanges); + }); + }); + }) + ) + .subscribe(); /** * initialize the last saved state, and build a callback which can be used to update diff --git a/src/plugins/dashboard/public/application/lib/diff_dashboard_state.test.ts b/src/plugins/dashboard/public/application/lib/diff_dashboard_state.test.ts new file mode 100644 index 0000000000000..9668999d20911 --- /dev/null +++ b/src/plugins/dashboard/public/application/lib/diff_dashboard_state.test.ts @@ -0,0 +1,166 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import { Filter } from '@kbn/es-query'; + +import { DashboardOptions, DashboardState } from '../../types'; +import { diffDashboardState } from './diff_dashboard_state'; +import { EmbeddableInput, IEmbeddable, ViewMode } from '../../services/embeddable'; + +const testFilter: Filter = { + meta: { + alias: null, + disabled: false, + negate: false, + }, + query: { query: 'hi' }, +}; + +const getEmbeddable = (id: string) => + Promise.resolve({ + getExplicitInputIsEqual: (previousInput: EmbeddableInput) => true, + } as unknown as IEmbeddable); + +const getDashboardState = (state?: Partial): DashboardState => { + const defaultState: DashboardState = { + description: 'This is a dashboard which is very neat', + query: { query: '', language: 'kql' }, + title: 'A very neat dashboard', + viewMode: ViewMode.VIEW, + fullScreenMode: false, + filters: [testFilter], + timeRestore: false, + tags: [], + options: { + hidePanelTitles: false, + useMargins: true, + syncColors: false, + }, + panels: { + panel_1: { + type: 'panel_type', + gridData: { w: 0, h: 0, x: 0, y: 0, i: 'panel_1' }, + panelRefName: 'panel_panel_1', + explicitInput: { + id: 'panel_1', + }, + }, + panel_2: { + type: 'panel_type', + gridData: { w: 0, h: 0, x: 0, y: 0, i: 'panel_2' }, + panelRefName: 'panel_panel_2', + explicitInput: { + id: 'panel_1', + }, + }, + }, + }; + return { ...defaultState, ...state }; +}; + +const getKeysFromDiff = async (partialState?: Partial): Promise => + Object.keys( + await diffDashboardState({ + originalState: getDashboardState(), + newState: getDashboardState(partialState), + getEmbeddable, + }) + ); + +describe('Dashboard state diff function', () => { + it('finds no difference in equal states', async () => { + expect(await getKeysFromDiff()).toEqual([]); + }); + + it('diffs simple state keys correctly', async () => { + expect( + ( + await getKeysFromDiff({ + timeRestore: true, + title: 'what a cool new title', + description: 'what a cool new description', + query: { query: 'woah a query', language: 'kql' }, + }) + ).sort() + ).toEqual(['description', 'query', 'timeRestore', 'title']); + }); + + it('picks up differences in dashboard options', async () => { + expect( + await getKeysFromDiff({ + options: { + hidePanelTitles: false, + useMargins: false, + syncColors: false, + }, + }) + ).toEqual(['options']); + }); + + it('considers undefined and false to be equivalent in dashboard options', async () => { + expect( + await getKeysFromDiff({ + options: { + useMargins: true, + syncColors: undefined, + } as unknown as DashboardOptions, + }) + ).toEqual([]); + }); + + it('calls getExplicitInputIsEqual on each panel', async () => { + const mockedGetEmbeddable = jest.fn().mockImplementation((id) => getEmbeddable(id)); + await diffDashboardState({ + originalState: getDashboardState(), + newState: getDashboardState(), + getEmbeddable: mockedGetEmbeddable, + }); + expect(mockedGetEmbeddable).toHaveBeenCalledTimes(2); + }); + + it('short circuits panels comparison when one panel returns false', async () => { + const mockedGetEmbeddable = jest.fn().mockImplementation((id) => { + if (id === 'panel_1') { + return Promise.resolve({ + getExplicitInputIsEqual: (previousInput: EmbeddableInput) => false, + } as unknown as IEmbeddable); + } + getEmbeddable(id); + }); + + await diffDashboardState({ + originalState: getDashboardState(), + newState: getDashboardState(), + getEmbeddable: mockedGetEmbeddable, + }); + expect(mockedGetEmbeddable).toHaveBeenCalledTimes(1); + }); + + it('skips individual panel comparisons if panel ids are different', async () => { + const mockedGetEmbeddable = jest.fn().mockImplementation((id) => getEmbeddable(id)); + const stateDiff = await diffDashboardState({ + originalState: getDashboardState(), + newState: getDashboardState({ + panels: { + panel_1: { + type: 'panel_type', + gridData: { w: 0, h: 0, x: 0, y: 0, i: 'panel_1' }, + panelRefName: 'panel_panel_1', + explicitInput: { + id: 'panel_1', + }, + }, + // panel 2 has been deleted + }, + }), + getEmbeddable: mockedGetEmbeddable, + }); + expect(mockedGetEmbeddable).not.toHaveBeenCalled(); + expect(Object.keys(stateDiff)).toEqual(['panels']); + }); +}); diff --git a/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts b/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts index b64b6a24877de..264c8fcb1de2e 100644 --- a/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts +++ b/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts @@ -6,158 +6,168 @@ * Side Public License, v 1. */ -import _ from 'lodash'; -import { DashboardPanelState } from '..'; -import { esFilters, Filter } from '../../services/data'; -import { EmbeddableInput } from '../../services/embeddable'; -import { - DashboardContainerInput, - DashboardOptions, - DashboardPanelMap, - DashboardState, -} from '../../types'; +import { xor, omit, isEmpty } from 'lodash'; +import fastIsEqual from 'fast-deep-equal'; +import { compareFilters, COMPARE_ALL_OPTIONS, Filter, isFilterPinned } from '@kbn/es-query'; + +import { DashboardContainerInput } from '../..'; import { controlGroupInputIsEqual } from './dashboard_control_group'; +import { DashboardOptions, DashboardPanelMap, DashboardState } from '../../types'; +import { IEmbeddable } from '../../services/embeddable'; -interface DashboardDiffCommon { - [key: string]: unknown; -} +const stateKeystoIgnore = [ + 'expandedPanelId', + 'fullScreenMode', + 'savedQuery', + 'viewMode', + 'tags', +] as const; +type DashboardStateToCompare = Omit; -type DashboardDiffCommonFilters = DashboardDiffCommon & { filters: Filter[] }; +const inputKeystoIgnore = ['searchSessionId', 'lastReloadRequestTime', 'executionContext'] as const; +type DashboardInputToCompare = Omit; +/** + * The diff dashboard Container method is used to sync redux state and the dashboard container input. + * It should eventually be replaced with a usage of the dashboardContainer.isInputEqual function + **/ export const diffDashboardContainerInput = ( originalInput: DashboardContainerInput, newInput: DashboardContainerInput -) => { - return commonDiffFilters( - originalInput as unknown as DashboardDiffCommonFilters, - newInput as unknown as DashboardDiffCommonFilters, - ['searchSessionId', 'lastReloadRequestTime', 'executionContext'] - ); +): Partial => { + const { filters: originalFilters, ...commonOriginal } = omit(originalInput, inputKeystoIgnore); + const { filters: newFilters, ...commonNew } = omit(newInput, inputKeystoIgnore); + + const commonInputDiff: Partial = commonDiff(commonOriginal, commonNew); + const filtersAreEqual = getFiltersAreEqual(originalInput.filters, newInput.filters); + + return { + ...commonInputDiff, + ...(filtersAreEqual ? {} : { filters: newInput.filters }), + }; }; -export const diffDashboardState = ( - original: DashboardState, - newState: DashboardState -): Partial => { - const common = commonDiffFilters( - original as unknown as DashboardDiffCommonFilters, - newState as unknown as DashboardDiffCommonFilters, - [ - 'viewMode', - 'panels', - 'options', - 'fullScreenMode', - 'savedQuery', - 'expandedPanelId', - 'controlGroupInput', - ], - true +/** + * The diff dashboard state method compares dashboard state keys to determine which state keys + * have changed, and therefore should be backed up. + **/ +export const diffDashboardState = async ({ + originalState, + newState, + getEmbeddable, +}: { + originalState: DashboardState; + newState: DashboardState; + getEmbeddable: (id: string) => Promise; +}): Promise> => { + const { + controlGroupInput: originalControlGroupInput, + options: originalOptions, + filters: originalFilters, + panels: originalPanels, + ...commonCompareOriginal + } = omit(originalState, stateKeystoIgnore); + const { + controlGroupInput: newControlGroupInput, + options: newOptions, + filters: newFilters, + panels: newPanels, + ...commonCompareNew + } = omit(newState, stateKeystoIgnore); + + const commonStateDiff: Partial = commonDiff( + commonCompareOriginal, + commonCompareNew + ); + + const panelsAreEqual = await getPanelsAreEqual( + originalState.panels, + newState.panels, + getEmbeddable + ); + const optionsAreEqual = getOptionsAreEqual(originalState.options, newState.options); + const filtersAreEqual = getFiltersAreEqual(originalState.filters, newState.filters, true); + const controlGroupIsEqual = controlGroupInputIsEqual( + originalState.controlGroupInput, + newState.controlGroupInput ); return { - ...common, - ...(panelsAreEqual(original.panels, newState.panels) ? {} : { panels: newState.panels }), - ...(optionsAreEqual(original.options, newState.options) ? {} : { options: newState.options }), - ...(controlGroupInputIsEqual(original.controlGroupInput, newState.controlGroupInput) - ? {} - : { controlGroupInput: newState.controlGroupInput }), + ...commonStateDiff, + ...(panelsAreEqual ? {} : { panels: newState.panels }), + ...(filtersAreEqual ? {} : { filters: newState.filters }), + ...(optionsAreEqual ? {} : { options: newState.options }), + ...(controlGroupIsEqual ? {} : { controlGroupInput: newState.controlGroupInput }), }; }; -const optionsAreEqual = (optionsA: DashboardOptions, optionsB: DashboardOptions): boolean => { +const getFiltersAreEqual = ( + filtersA: Filter[], + filtersB: Filter[], + ignorePinned?: boolean +): boolean => { + return compareFilters( + filtersA, + ignorePinned ? filtersB.filter((f) => !isFilterPinned(f)) : filtersB, + COMPARE_ALL_OPTIONS + ); +}; + +const getOptionsAreEqual = (optionsA: DashboardOptions, optionsB: DashboardOptions): boolean => { const optionKeys = [ ...(Object.keys(optionsA) as Array), ...(Object.keys(optionsB) as Array), ]; for (const key of optionKeys) { - if (Boolean(optionsA[key]) !== Boolean(optionsB[key])) { - return false; - } + if (Boolean(optionsA[key]) !== Boolean(optionsB[key])) return false; } return true; }; -const panelsAreEqual = (panelsA: DashboardPanelMap, panelsB: DashboardPanelMap): boolean => { - const embeddableIdsA = Object.keys(panelsA); - const embeddableIdsB = Object.keys(panelsB); - if ( - embeddableIdsA.length !== embeddableIdsB.length || - _.xor(embeddableIdsA, embeddableIdsB).length > 0 - ) { +const getPanelsAreEqual = async ( + originalPanels: DashboardPanelMap, + newPanels: DashboardPanelMap, + getEmbeddable: (id: string) => Promise +): Promise => { + const originalEmbeddableIds = Object.keys(originalPanels); + const newEmbeddableIds = Object.keys(newPanels); + + const embeddableIdDiff = xor(originalEmbeddableIds, newEmbeddableIds); + if (embeddableIdDiff.length > 0) { return false; } + // embeddable ids are equal so let's compare individual panels. - for (const id of embeddableIdsA) { - const panelCommonDiff = commonDiff( - panelsA[id] as unknown as DashboardDiffCommon, - panelsB[id] as unknown as DashboardDiffCommon, - ['panelRefName', 'explicitInput'] - ); - if ( - Object.keys(panelCommonDiff).length > 0 || - !explicitInputIsEqual(panelsA[id].explicitInput, panelsB[id].explicitInput) - ) { - return false; - } - } - return true; -}; + for (const embeddableId of newEmbeddableIds) { + const { + explicitInput: originalExplicitInput, + panelRefName: panelRefA, + ...commonPanelDiffOriginal + } = originalPanels[embeddableId]; + const { + explicitInput: newExplicitInput, + panelRefName: panelRefB, + ...commonPanelDiffNew + } = newPanels[embeddableId]; -/** - * Need to compare properties of explicitInput *directly* in order to handle special comparisons for 'title' - * and 'hidePanelTitles.' For example, if some object 'obj1' has 'obj1[title] = undefined' and some other - * object `obj2' simply does not have the key `title,' we want obj1 to still equal obj2 - in normal comparisons - * without this special case, `obj1 != obj2.' - * @param originalInput - * @param newInput - */ -const explicitInputIsEqual = ( - originalInput: EmbeddableInput, - newInput: EmbeddableInput -): boolean => { - const diffs = commonDiff(originalInput, newInput, [ - 'hidePanelTitles', - 'title', - ]); - const hidePanelsAreEqual = - Boolean(originalInput.hidePanelTitles) === Boolean(newInput.hidePanelTitles); - const titlesAreEqual = originalInput.title === newInput.title; - return Object.keys(diffs).length === 0 && hidePanelsAreEqual && titlesAreEqual; -}; + if (!isEmpty(commonDiff(commonPanelDiffOriginal, commonPanelDiffNew))) return false; -const commonDiffFilters = ( - originalObj: DashboardDiffCommonFilters, - newObj: DashboardDiffCommonFilters, - omitKeys: string[], - ignorePinned?: boolean -): Partial => { - const filtersAreDifferent = () => - !esFilters.compareFilters( - originalObj.filters, - ignorePinned ? newObj.filters.filter((f) => !esFilters.isFilterPinned(f)) : newObj.filters, - esFilters.COMPARE_ALL_OPTIONS - ); - const otherDifferences = commonDiff(originalObj, newObj, [...omitKeys, 'filters']); - return _.cloneDeep({ - ...otherDifferences, - ...(filtersAreDifferent() ? { filters: newObj.filters } : {}), - }); + // the position and type of this embeddable is equal. Now we compare the embeddable input + const embeddable = await getEmbeddable(embeddableId); + if (!(await embeddable.getExplicitInputIsEqual(originalExplicitInput))) return false; + } + return true; }; -const commonDiff = ( - originalObj: DashboardDiffCommon, - newObj: DashboardDiffCommon, - omitKeys: string[] -) => { +const commonDiff = (originalObj: Partial, newObj: Partial) => { const differences: Partial = {}; - const keys = [...Object.keys(originalObj), ...Object.keys(newObj)].filter( - (key) => !omitKeys.includes(key) - ); - keys.forEach((key) => { - if (key === undefined) return; - if (!_.isEqual(originalObj[key], newObj[key])) { - (differences as { [key: string]: unknown })[key] = newObj[key]; - } - }); + const keys = [ + ...(Object.keys(originalObj) as Array), + ...(Object.keys(newObj) as Array), + ]; + for (const key of keys) { + if (key === undefined) continue; + if (!fastIsEqual(originalObj[key], newObj[key])) differences[key] = newObj[key]; + } return differences; }; diff --git a/src/plugins/dashboard/public/application/lib/index.ts b/src/plugins/dashboard/public/application/lib/index.ts index 845cfcb096c51..58f962591b67c 100644 --- a/src/plugins/dashboard/public/application/lib/index.ts +++ b/src/plugins/dashboard/public/application/lib/index.ts @@ -11,6 +11,7 @@ export { getDashboardIdFromUrl } from './url'; export { saveDashboard } from './save_dashboard'; export { migrateAppState } from './migrate_app_state'; export { addHelpMenuToAppChrome } from './help_menu_util'; +export { diffDashboardState } from './diff_dashboard_state'; export { getTagsFromSavedDashboard } from './dashboard_tagging'; export { syncDashboardUrlState } from './sync_dashboard_url_state'; export { DashboardSessionStorage } from './dashboard_session_storage'; @@ -19,7 +20,6 @@ export { attemptLoadDashboardByTitle } from './load_dashboard_by_title'; export { syncDashboardFilterState } from './sync_dashboard_filter_state'; export { syncDashboardIndexPatterns } from './sync_dashboard_index_patterns'; export { syncDashboardContainerInput } from './sync_dashboard_container_input'; -export { diffDashboardContainerInput, diffDashboardState } from './diff_dashboard_state'; export { loadDashboardHistoryLocationState } from './load_dashboard_history_location_state'; export { buildDashboardContainer, tryDestroyDashboardContainer } from './build_dashboard_container'; export { diff --git a/src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels.scss b/src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels.scss index 29a62a16db213..990a5ac5a66ba 100644 --- a/src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels.scss +++ b/src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels.scss @@ -33,6 +33,7 @@ &__header { padding: 0 !important; + @include euiTextBreakWord; } &__content { diff --git a/src/plugins/discover/public/embeddable/saved_search_grid.tsx b/src/plugins/discover/public/embeddable/saved_search_grid.tsx index aa15ccb79da8b..f0423eac4f963 100644 --- a/src/plugins/discover/public/embeddable/saved_search_grid.tsx +++ b/src/plugins/discover/public/embeddable/saved_search_grid.tsx @@ -12,6 +12,7 @@ import { DiscoverGrid, DiscoverGridProps } from '../components/discover_grid/dis import { getServices } from '../kibana_services'; import { TotalDocuments } from '../application/main/components/total_documents/total_documents'; import { ElasticSearchHit } from '../types'; +import { KibanaContextProvider } from '../../../kibana_react/public'; export interface DiscoverGridEmbeddableProps extends DiscoverGridProps { totalHitCount: number; @@ -22,25 +23,33 @@ export const DataGridMemoized = React.memo((props: DiscoverGridProps) => ( )); export function DiscoverGridEmbeddable(props: DiscoverGridEmbeddableProps) { + const services = getServices(); const [expandedDoc, setExpandedDoc] = useState(undefined); return ( - - {props.totalHitCount !== 0 && ( - - + + + {props.totalHitCount !== 0 && ( + + + + )} + + - )} - - - - + + ); } diff --git a/src/plugins/embeddable/public/index.ts b/src/plugins/embeddable/public/index.ts index c6beccd5e3365..f3759ffdb39e5 100644 --- a/src/plugins/embeddable/public/index.ts +++ b/src/plugins/embeddable/public/index.ts @@ -65,6 +65,8 @@ export { VALUE_CLICK_TRIGGER, ViewMode, withEmbeddableSubscription, + genericEmbeddableInputIsEqual, + omitGenericEmbeddableInput, isSavedObjectEmbeddableInput, isRangeSelectTriggerContext, isValueClickTriggerContext, diff --git a/src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx b/src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx index 749b968f633bd..3826162aa6590 100644 --- a/src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx +++ b/src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx @@ -15,8 +15,6 @@ import { EmbeddableInput, SavedObjectEmbeddableInput, isSavedObjectEmbeddableInput, - IEmbeddable, - Container, EmbeddableFactoryNotFoundError, EmbeddableFactory, } from '../index'; @@ -134,11 +132,6 @@ export class AttributeService< return isSavedObjectEmbeddableInput(input); }; - public getExplicitInputFromEmbeddable(embeddable: IEmbeddable): ValType | RefType { - return ((embeddable.getRoot() as Container).getInput()?.panels?.[embeddable.id] - ?.explicitInput ?? embeddable.getInput()) as ValType | RefType; - } - getInputAsValueType = async (input: ValType | RefType): Promise => { if (!this.inputIsRefType(input)) { return input as ValType; diff --git a/src/plugins/embeddable/public/lib/containers/container.ts b/src/plugins/embeddable/public/lib/containers/container.ts index 06133fb2160c0..a032126396d4f 100644 --- a/src/plugins/embeddable/public/lib/containers/container.ts +++ b/src/plugins/embeddable/public/lib/containers/container.ts @@ -7,6 +7,7 @@ */ import uuid from 'uuid'; +import { isEqual, xor } from 'lodash'; import { merge, Subscription } from 'rxjs'; import { startWith, pairwise } from 'rxjs/operators'; import { @@ -16,6 +17,7 @@ import { ErrorEmbeddable, EmbeddableFactory, IEmbeddable, + isErrorEmbeddable, } from '../embeddables'; import { IContainer, ContainerInput, ContainerOutput, PanelState } from './i_container'; import { PanelNotFoundError, EmbeddableFactoryNotFoundError } from '../errors'; @@ -195,6 +197,32 @@ export abstract class Container< }); } + public async getExplicitInputIsEqual(lastInput: TContainerInput) { + const { panels: lastPanels, ...restOfLastInput } = lastInput; + const { panels: currentPanels, ...restOfCurrentInput } = this.getInput(); + const otherInputIsEqual = isEqual(restOfLastInput, restOfCurrentInput); + if (!otherInputIsEqual) return false; + + const embeddableIdsA = Object.keys(lastPanels); + const embeddableIdsB = Object.keys(currentPanels); + if ( + embeddableIdsA.length !== embeddableIdsB.length || + xor(embeddableIdsA, embeddableIdsB).length > 0 + ) { + return false; + } + // embeddable ids are equal so let's compare individual panels. + for (const id of embeddableIdsA) { + const currentEmbeddable = await this.untilEmbeddableLoaded(id); + const lastPanelInput = lastPanels[id].explicitInput; + if (isErrorEmbeddable(currentEmbeddable)) continue; + if (!(await currentEmbeddable.getExplicitInputIsEqual(lastPanelInput))) { + return false; + } + } + return true; + } + protected createNewPanelState< TEmbeddableInput extends EmbeddableInput, TEmbeddable extends IEmbeddable diff --git a/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts b/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts new file mode 100644 index 0000000000000..01d776610f947 --- /dev/null +++ b/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts @@ -0,0 +1,109 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import { ViewMode } from '..'; +import { KibanaExecutionContext } from '../../../../../core/types'; +import { EmbeddableInput, omitGenericEmbeddableInput, genericEmbeddableInputIsEqual } from '.'; + +const getGenericEmbeddableState = (state?: Partial): EmbeddableInput => { + const defaultState: EmbeddableInput = { + lastReloadRequestTime: 1, + executionContext: {} as KibanaExecutionContext, + searchSessionId: 'what a session', + hidePanelTitles: false, + disabledActions: [], + disableTriggers: false, + enhancements: undefined, + syncColors: false, + viewMode: ViewMode.VIEW, + title: 'So Very Generic', + id: 'soVeryGeneric', + }; + return { ...defaultState, ...state }; +}; + +test('Omitting generic embeddable input omits all generic input keys', () => { + const superEmbeddableSpecificInput = { + SuperInputKeyA: 'I am so specific', + SuperInputKeyB: 'I am extremely specific', + }; + const fullInput = { ...getGenericEmbeddableState(), ...superEmbeddableSpecificInput }; + const omittedState = omitGenericEmbeddableInput(fullInput); + + const genericInputKeysToRemove: Array = [ + 'lastReloadRequestTime', + 'executionContext', + 'searchSessionId', + 'hidePanelTitles', + 'disabledActions', + 'disableTriggers', + 'enhancements', + 'syncColors', + 'viewMode', + 'title', + 'id', + ]; + for (const key of genericInputKeysToRemove) { + expect((omittedState as unknown as EmbeddableInput)[key]).toBeUndefined(); + } + + expect(omittedState.SuperInputKeyA).toBeDefined(); + expect(omittedState.SuperInputKeyB).toBeDefined(); +}); + +describe('Generic embeddable input diff function', () => { + it('considers blank string title to be distinct from undefined title', () => { + const genericInputWithUndefinedTitle = getGenericEmbeddableState(); + genericInputWithUndefinedTitle.title = undefined; + expect( + genericEmbeddableInputIsEqual( + getGenericEmbeddableState({ title: '' }), + genericInputWithUndefinedTitle + ) + ).toBe(false); + }); + + it('considers missing title key to be equal to input with undefined title', () => { + const genericInputWithUndefinedTitle = getGenericEmbeddableState(); + genericInputWithUndefinedTitle.title = undefined; + const genericInputWithDeletedTitle = getGenericEmbeddableState(); + delete genericInputWithDeletedTitle.title; + expect( + genericEmbeddableInputIsEqual(genericInputWithDeletedTitle, genericInputWithUndefinedTitle) + ).toBe(true); + }); + + it('considers hide panel titles false to be equal to hide panel titles undefined', () => { + const genericInputWithUndefinedShowPanelTitles = getGenericEmbeddableState(); + genericInputWithUndefinedShowPanelTitles.hidePanelTitles = undefined; + expect( + genericEmbeddableInputIsEqual( + getGenericEmbeddableState(), + genericInputWithUndefinedShowPanelTitles + ) + ).toBe(true); + }); + + it('ignores differences in viewMode', () => { + expect( + genericEmbeddableInputIsEqual( + getGenericEmbeddableState(), + getGenericEmbeddableState({ viewMode: ViewMode.EDIT }) + ) + ).toBe(true); + }); + + it('ignores differences in searchSessionId', () => { + expect( + genericEmbeddableInputIsEqual( + getGenericEmbeddableState(), + getGenericEmbeddableState({ searchSessionId: 'What a lovely session!' }) + ) + ).toBe(true); + }); +}); diff --git a/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts b/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts new file mode 100644 index 0000000000000..a396ed324a949 --- /dev/null +++ b/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts @@ -0,0 +1,69 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import fastIsEqual from 'fast-deep-equal'; +import { pick, omit } from 'lodash'; +import { EmbeddableInput } from '.'; + +// list out the keys from the EmbeddableInput type to allow lodash to pick them later +const allGenericInputKeys: Readonly> = [ + 'lastReloadRequestTime', + 'executionContext', + 'searchSessionId', + 'hidePanelTitles', + 'disabledActions', + 'disableTriggers', + 'enhancements', + 'syncColors', + 'viewMode', + 'title', + 'id', +] as const; + +const genericInputKeysToCompare = [ + 'hidePanelTitles', + 'disabledActions', + 'disableTriggers', + 'enhancements', + 'syncColors', + 'title', + 'id', +] as const; + +// type used to ensure that only keys present in EmbeddableInput are extracted +type GenericEmbedableInputToCompare = Pick< + EmbeddableInput, + typeof genericInputKeysToCompare[number] +>; + +export const omitGenericEmbeddableInput = < + I extends Partial = Partial +>( + input: I +): Omit => omit(input, allGenericInputKeys); + +export const genericEmbeddableInputIsEqual = ( + currentInput: Partial, + lastInput: Partial +) => { + const { + title: currentTitle, + hidePanelTitles: currentHidePanelTitles, + ...current + } = pick(currentInput as GenericEmbedableInputToCompare, genericInputKeysToCompare); + const { + title: lastTitle, + hidePanelTitles: lastHidePanelTitles, + ...last + } = pick(lastInput as GenericEmbedableInputToCompare, genericInputKeysToCompare); + + if (currentTitle !== lastTitle) return false; + if (Boolean(currentHidePanelTitles) !== Boolean(lastHidePanelTitles)) return false; + if (!fastIsEqual(current, last)) return false; + return true; +}; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable.tsx b/src/plugins/embeddable/public/lib/embeddables/embeddable.tsx index de1a723590683..c8c0aea80e1e2 100644 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable.tsx +++ b/src/plugins/embeddable/public/lib/embeddables/embeddable.tsx @@ -6,7 +6,8 @@ * Side Public License, v 1. */ -import { cloneDeep, isEqual } from 'lodash'; +import fastIsEqual from 'fast-deep-equal'; +import { cloneDeep } from 'lodash'; import * as Rx from 'rxjs'; import { merge } from 'rxjs'; import { debounceTime, distinctUntilChanged, map, skip } from 'rxjs/operators'; @@ -15,11 +16,11 @@ import { Adapters } from '../types'; import { IContainer } from '../containers'; import { EmbeddableOutput, IEmbeddable } from './i_embeddable'; import { EmbeddableInput, ViewMode } from '../../../common/types'; +import { genericEmbeddableInputIsEqual, omitGenericEmbeddableInput } from './diff_embeddable_input'; function getPanelTitle(input: EmbeddableInput, output: EmbeddableOutput) { return input.hidePanelTitles ? '' : input.title === undefined ? output.defaultTitle : input.title; } - export abstract class Embeddable< TEmbeddableInput extends EmbeddableInput = EmbeddableInput, TEmbeddableOutput extends EmbeddableOutput = EmbeddableOutput @@ -131,6 +132,33 @@ export abstract class Embeddable< return this.output; } + public async getExplicitInputIsEqual( + lastExplicitInput: Partial + ): Promise { + const currentExplicitInput = this.getExplicitInput(); + return ( + genericEmbeddableInputIsEqual(lastExplicitInput, currentExplicitInput) && + fastIsEqual( + omitGenericEmbeddableInput(lastExplicitInput), + omitGenericEmbeddableInput(currentExplicitInput) + ) + ); + } + + public getExplicitInput() { + const root = this.getRoot(); + if (root.getIsContainer()) { + return ( + (root.getInput().panels?.[this.id]?.explicitInput as TEmbeddableInput) ?? this.getInput() + ); + } + return this.getInput(); + } + + public getPersistableInput() { + return this.getExplicitInput(); + } + public getInput(): Readonly { return this.input; } @@ -213,7 +241,7 @@ export abstract class Embeddable< ...this.output, ...outputChanges, }; - if (!isEqual(this.output, newOutput)) { + if (!fastIsEqual(this.output, newOutput)) { this.output = newOutput; this.output$.next(this.output); } @@ -230,7 +258,7 @@ export abstract class Embeddable< } private onResetInput(newInput: TEmbeddableInput) { - if (!isEqual(this.input, newInput)) { + if (!fastIsEqual(this.input, newInput)) { const oldLastReloadRequestTime = this.input.lastReloadRequestTime; this.input = newInput; this.input$.next(newInput); diff --git a/src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts b/src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts index b53f036024259..0ee288cb4b8c6 100644 --- a/src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts +++ b/src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts @@ -103,6 +103,20 @@ export interface IEmbeddable< **/ getInput(): Readonly; + /** + * Because embeddables can inherit input from their parents, they also need a way to separate their own + * input from input which is inherited. If the embeddable does not have a parent, getExplicitInput + * and getInput should return the same. + **/ + getExplicitInput(): Readonly>; + + /** + * Some embeddables contain input that should not be persisted anywhere beyond their own state. This method + * is a way for containers to separate input to store from input which can be ephemeral. In most cases, this + * will be the same as getExplicitInput + **/ + getPersistableInput(): Readonly>; + /** * Output state is: * @@ -170,4 +184,9 @@ export interface IEmbeddable< * List of triggers that this embeddable will execute. */ supportedTriggers(): string[]; + + /** + * Used to diff explicit embeddable input + */ + getExplicitInputIsEqual(lastInput: Partial): Promise; } diff --git a/src/plugins/embeddable/public/lib/embeddables/index.ts b/src/plugins/embeddable/public/lib/embeddables/index.ts index 1745c64c73bf5..0c1048af9182c 100644 --- a/src/plugins/embeddable/public/lib/embeddables/index.ts +++ b/src/plugins/embeddable/public/lib/embeddables/index.ts @@ -18,3 +18,4 @@ export { EmbeddableRoot } from './embeddable_root'; export * from '../../../common/lib/saved_object_embeddable'; export type { EmbeddableRendererProps } from './embeddable_renderer'; export { EmbeddableRenderer, useEmbeddableFactory } from './embeddable_renderer'; +export { genericEmbeddableInputIsEqual, omitGenericEmbeddableInput } from './diff_embeddable_input'; diff --git a/src/plugins/expressions/common/execution/execution.ts b/src/plugins/expressions/common/execution/execution.ts index 6c0b1cf9fa2c0..6bd3d5584ff78 100644 --- a/src/plugins/expressions/common/execution/execution.ts +++ b/src/plugins/expressions/common/execution/execution.ts @@ -224,7 +224,7 @@ export class Execution< inspectorAdapters.tables[name] = datatable; }, isSyncColorsEnabled: () => execution.params.syncColors!, - ...execution.params.extraContext, + ...execution.executor.context, getExecutionContext: () => execution.params.executionContext, }; diff --git a/src/plugins/expressions/common/executor/container.ts b/src/plugins/expressions/common/executor/container.ts index c8e24974126ff..91d4247a97cce 100644 --- a/src/plugins/expressions/common/executor/container.ts +++ b/src/plugins/expressions/common/executor/container.ts @@ -28,16 +28,11 @@ export const defaultState: ExecutorState = { export interface ExecutorPureTransitions { addFunction: (state: ExecutorState) => (fn: ExpressionFunction) => ExecutorState; addType: (state: ExecutorState) => (type: ExpressionType) => ExecutorState; - extendContext: (state: ExecutorState) => (extraContext: Record) => ExecutorState; } export const pureTransitions: ExecutorPureTransitions = { addFunction: (state) => (fn) => ({ ...state, functions: { ...state.functions, [fn.name]: fn } }), addType: (state) => (type) => ({ ...state, types: { ...state.types, [type.name]: type } }), - extendContext: (state) => (extraContext) => ({ - ...state, - context: { ...state.context, ...extraContext }, - }), }; export interface ExecutorPureSelectors { diff --git a/src/plugins/expressions/common/executor/executor.test.ts b/src/plugins/expressions/common/executor/executor.test.ts index 60f0f0da4e152..7e314788b03fd 100644 --- a/src/plugins/expressions/common/executor/executor.test.ts +++ b/src/plugins/expressions/common/executor/executor.test.ts @@ -88,36 +88,6 @@ describe('Executor', () => { const executor = new Executor(); expect(executor.context).toEqual({}); }); - - test('can extend context', () => { - const executor = new Executor(); - executor.extendContext({ - foo: 'bar', - }); - expect(executor.context).toEqual({ - foo: 'bar', - }); - }); - - test('can extend context multiple times with multiple keys', () => { - const executor = new Executor(); - const abortSignal = {}; - const env = {}; - - executor.extendContext({ - foo: 'bar', - }); - executor.extendContext({ - abortSignal, - env, - }); - - expect(executor.context).toEqual({ - foo: 'bar', - abortSignal, - env, - }); - }); }); describe('execution', () => { @@ -140,9 +110,8 @@ describe('Executor', () => { }); test('Execution inherits context from Executor', () => { - const executor = new Executor(); const foo = {}; - executor.extendContext({ foo }); + const executor = new Executor({ context: { foo }, functions: {}, types: {} }); const execution = executor.createExecution('foo bar="baz"'); expect(execution.context).toHaveProperty('foo', foo); diff --git a/src/plugins/expressions/common/executor/executor.ts b/src/plugins/expressions/common/executor/executor.ts index 3b727b5dd63a4..01b54d13f8a76 100644 --- a/src/plugins/expressions/common/executor/executor.ts +++ b/src/plugins/expressions/common/executor/executor.ts @@ -178,10 +178,6 @@ export class Executor = Record) { - this.container.transitions.extendContext(extraContext); - } - public get context(): Record { return { ...(this.parent?.context ?? {}), @@ -210,13 +206,8 @@ export class Executor = Record { const executionParams = { + params, executor: this, - params: { - ...params, - // for canvas we are passing this in, - // canvas should be refactored to not pass any extra context in - extraContext: this.context, - }, } as ExecutionParams; if (typeof ast === 'string') executionParams.expression = ast; diff --git a/src/plugins/expressions/common/service/expressions_services.ts b/src/plugins/expressions/common/service/expressions_services.ts index 453ea656ec43b..416edbea61dfe 100644 --- a/src/plugins/expressions/common/service/expressions_services.ts +++ b/src/plugins/expressions/common/service/expressions_services.ts @@ -148,8 +148,6 @@ export interface ExpressionExecutionParams { inspectorAdapters?: Adapters; executionContext?: KibanaExecutionContext; - - extraContext?: object; } /** diff --git a/src/plugins/expressions/public/plugin.ts b/src/plugins/expressions/public/plugin.ts index ccbeab791fe2c..4991d6bcc4f40 100644 --- a/src/plugins/expressions/public/plugin.ts +++ b/src/plugins/expressions/public/plugin.ts @@ -39,17 +39,7 @@ export class ExpressionsPublicPlugin implements Plugin +

+ + + +
+ + + + + } + pageTitle={ + + Great tutorial + +   + + + + } + /> + +`; + +exports[`props Beats badge should show 1`] = ` + +
+ + + +
+ + + + + } + pageTitle={ + + Great tutorial + +   + + + +   + + + + + + } + /> +
+`; + exports[`props exportedFieldsUrl 1`] = `
diff --git a/src/plugins/home/public/application/components/tutorial/introduction.js b/src/plugins/home/public/application/components/tutorial/introduction.js index 59c1454579e23..fbd1eaabb3efe 100644 --- a/src/plugins/home/public/application/components/tutorial/introduction.js +++ b/src/plugins/home/public/application/components/tutorial/introduction.js @@ -16,9 +16,11 @@ import { EuiPageHeader, EuiButtonEmpty, EuiSpacer, + EuiBadge, } from '@elastic/eui'; import { FormattedMessage, injectI18n } from '@kbn/i18n-react'; +import { TutorialsCategory } from '../../../../common/constants'; function IntroductionUI({ description, @@ -30,6 +32,7 @@ function IntroductionUI({ intl, notices, basePath, + category, }) { let rightSideItems; if (previewUrl) { @@ -98,6 +101,18 @@ function IntroductionUI({ {betaBadge} )} + + {category === TutorialsCategory.LOGGING || category === TutorialsCategory.METRICS ? ( + <> +   + + + + + ) : null} } description={ diff --git a/src/plugins/home/public/application/components/tutorial/introduction.test.js b/src/plugins/home/public/application/components/tutorial/introduction.test.js index 49293fa13b015..70b4856a8b2fd 100644 --- a/src/plugins/home/public/application/components/tutorial/introduction.test.js +++ b/src/plugins/home/public/application/components/tutorial/introduction.test.js @@ -11,6 +11,7 @@ import { shallowWithIntl } from '@kbn/test/jest'; import { Introduction } from './introduction'; import { httpServiceMock } from '../../../../../../core/public/mocks'; +import { TutorialsCategory } from '../../../../common/constants'; const basePathMock = httpServiceMock.createBasePath(); @@ -73,4 +74,30 @@ describe('props', () => { ); expect(component).toMatchSnapshot(); // eslint-disable-line }); + + test('Beats badge should show', () => { + const component = shallowWithIntl( + + ); + expect(component).toMatchSnapshot(); + }); + + test('Beats badge should not show', () => { + const component = shallowWithIntl( + + ); + expect(component).toMatchSnapshot(); + }); }); diff --git a/src/plugins/home/public/application/components/tutorial/tutorial.js b/src/plugins/home/public/application/components/tutorial/tutorial.js index 14043338a9429..00cbf013856da 100644 --- a/src/plugins/home/public/application/components/tutorial/tutorial.js +++ b/src/plugins/home/public/application/components/tutorial/tutorial.js @@ -414,6 +414,7 @@ class TutorialUi extends React.Component { content = (
({ uiSettings: { get: jest.fn() }, docLinks: { links: { - kibana: 'kibana_docs_url', + kibana: { + guide: 'kibana_docs_url', + }, }, }, }, diff --git a/src/plugins/kibana_overview/public/components/overview/overview.tsx b/src/plugins/kibana_overview/public/components/overview/overview.tsx index f27047a207af9..398ce4d60a605 100644 --- a/src/plugins/kibana_overview/public/components/overview/overview.tsx +++ b/src/plugins/kibana_overview/public/components/overview/overview.tsx @@ -101,7 +101,7 @@ export const Overview: FC = ({ newsFetchResult, solutions, features }) => }), }, }, - docsLink: docLinks.links.kibana, + docsLink: docLinks.links.kibana.guide, }; // Show card for console if none of the manage data plugins are available, most likely in OSS diff --git a/src/plugins/shared_ux/.storybook/decorators.tsx b/src/plugins/shared_ux/.storybook/decorators.tsx new file mode 100644 index 0000000000000..c17af2cda0406 --- /dev/null +++ b/src/plugins/shared_ux/.storybook/decorators.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 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 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import { DecoratorFn } from '@storybook/react'; +import { ServicesProvider } from '../public/services'; +import { servicesFactory } from '../public/services/storybook'; + +/** + * A Storybook decorator that provides the Shared UX `ServicesProvider` with Storybook-specific + * implementations to stories. + */ +export const servicesDecorator: DecoratorFn = (storyFn) => ( + {storyFn()} +); diff --git a/src/plugins/shared_ux/.storybook/preview.ts b/src/plugins/shared_ux/.storybook/preview.ts new file mode 100644 index 0000000000000..e4be2592482f3 --- /dev/null +++ b/src/plugins/shared_ux/.storybook/preview.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 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 or the Server + * Side Public License, v 1. + */ + +import { addDecorator } from '@storybook/react'; +import { servicesDecorator } from './decorators'; + +addDecorator(servicesDecorator); diff --git a/src/plugins/shared_ux/common/index.ts b/src/plugins/shared_ux/common/index.ts index 25e4f74fde516..92dee001d9012 100755 --- a/src/plugins/shared_ux/common/index.ts +++ b/src/plugins/shared_ux/common/index.ts @@ -6,5 +6,8 @@ * Side Public License, v 1. */ +/** The ID of the Shared UX plugin. */ export const PLUGIN_ID = 'sharedUX'; + +/** The name of the Shared UX plugin. */ export const PLUGIN_NAME = 'sharedUX'; diff --git a/src/plugins/shared_ux/jest.config.js b/src/plugins/shared_ux/jest.config.js new file mode 100644 index 0000000000000..bc8d67e5ac35b --- /dev/null +++ b/src/plugins/shared_ux/jest.config.js @@ -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 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 or the Server + * Side Public License, v 1. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../..', + roots: ['/src/plugins/shared_ux'], + transform: { + '^.+\\.stories\\.tsx?$': '@storybook/addon-storyshots/injectFileName', + }, + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/shared_ux', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/shared_ux/{common,public,server}/**/*.{js,ts,tsx}'], +}; diff --git a/src/plugins/shared_ux/public/components/exit_full_screen_button/__snapshots__/exit_full_screen_button.test.tsx.snap b/src/plugins/shared_ux/public/components/exit_full_screen_button/__snapshots__/exit_full_screen_button.test.tsx.snap new file mode 100644 index 0000000000000..abf76f9da48ce --- /dev/null +++ b/src/plugins/shared_ux/public/components/exit_full_screen_button/__snapshots__/exit_full_screen_button.test.tsx.snap @@ -0,0 +1,109 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[` is rendered 1`] = ` + + + +
+ +

+ In full screen mode, press ESC to exit. +

+
+ +
+
+
+
+`; diff --git a/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.component.tsx b/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.component.tsx new file mode 100644 index 0000000000000..311f2236c34a0 --- /dev/null +++ b/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.component.tsx @@ -0,0 +1,80 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import React, { MouseEventHandler, HTMLAttributes } from 'react'; +import { + EuiScreenReaderOnly, + EuiFlexGroup, + EuiFlexItem, + EuiIcon, + useEuiTheme, + makeHighContrastColor, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { css } from '@emotion/react'; +import cx from 'classnames'; + +import './exit_full_screen_button.scss'; + +const text = i18n.translate('sharedUX.exitFullScreenButton.exitFullScreenModeButtonText', { + defaultMessage: 'Exit full screen', +}); + +const description = i18n.translate('sharedUX.exitFullScreenButton.fullScreenModeDescription', { + defaultMessage: 'In full screen mode, press ESC to exit.', +}); + +/** + * Props for the Exit Full Screen button component. + */ +export interface Props extends Pick, 'className'> { + onClick: MouseEventHandler; +} + +/** + * A presentational component that renders a button designed to exit "full screen" mode. + */ +export const ExitFullScreenButton = ({ onClick, className }: Props) => { + const { euiTheme } = useEuiTheme(); + const { colors, size, border } = euiTheme; + + const buttonCSS = css` + padding: ${size.xs} ${size.s}; + background: ${colors.fullShade}; + border-radius: ${border.radius.small}; + height: ${size.xl}; + color: ${makeHighContrastColor(colors.emptyShade)(colors.fullShade)}; + outline-color: ${colors.emptyShade}; + `; + + return ( +
+ +

{description}

+
+ +
+ ); +}; diff --git a/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.mdx b/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.mdx new file mode 100644 index 0000000000000..82f1eb0fde1ba --- /dev/null +++ b/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.mdx @@ -0,0 +1,20 @@ +--- +id: sharedUX/Components/ExitFullScreenButton +slug: /shared-ux/components/exit-full-screen-button +title: Exit Full Screen Button +summary: A button that floats over the plugin workspace and allows one to exit "full screen" mode. +tags: ['shared-ux', 'component'] +date: 2021-12-28 +--- + +> This documentation is in-progress. + +When a plugin moves to "full screen" mode, the Kibana Chrome can be hidden entirely. This button floats over the plugin workspace and allows someone to exit full screen mode and restore the Kibana Chrome. + +The pure component, `exit_full_screen_button.tsx`, contains the base styles and behaviors. + +The connected component, `exit_full_screen_button.tsx`, uses services from the `shared_ux` plugin to show and hide the Kibana chrome. You must wrap your plugin app in the `ServicesContext` provided by the start contract of the `shared_ux` plugin to use it. + +This component is provided with `React.lazy` to avoid bundle bloat. + +This component is not currently eligible for promotion to EUI. diff --git a/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.scss b/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.scss new file mode 100644 index 0000000000000..7eef5bdf45fd5 --- /dev/null +++ b/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.scss @@ -0,0 +1,12 @@ + +/** + * This file is a stop-gap measure to ensure that EUI mixins that haven't been converted from Emotion + * are still applied. This should be replaced once `EuiButton` and other mixin functionality are + * fully converted to Emotion. + * + * see: https://github.com/elastic/kibana/issues/122594 + */ +.exitFullScreenButton { + @include euiButton; + @include euiBottomShadow; +} diff --git a/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.stories.tsx b/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.stories.tsx new file mode 100644 index 0000000000000..e530a4303e6af --- /dev/null +++ b/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.stories.tsx @@ -0,0 +1,40 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import { action } from '@storybook/addon-actions'; + +import { ExitFullScreenButton as ExitFullScreenButtonComponent } from './exit_full_screen_button.component'; +import { ExitFullScreenButton } from './exit_full_screen_button'; +import mdx from './exit_full_screen_button.mdx'; + +export default { + title: 'Exit Full Screen Button', + description: + 'A button that floats over the plugin workspace and allows one to exit "full screen" mode.', + parameters: { + docs: { + page: mdx, + }, + }, +}; + +export const ConnectedComponent = ({ toggleChrome = true }: { toggleChrome: boolean }) => { + return ; +}; + +ConnectedComponent.argTypes = { + toggleChrome: { + control: 'boolean', + defaultValue: true, + }, +}; + +export const PureComponent = () => { + return ; +}; diff --git a/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.test.tsx b/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.test.tsx new file mode 100644 index 0000000000000..dc634810a5794 --- /dev/null +++ b/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.test.tsx @@ -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 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 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import { mount as enzymeMount, ReactWrapper } from 'enzyme'; +import { keys } from '@elastic/eui'; + +import { ServicesProvider, SharedUXServices } from '../../services'; +import { servicesFactory } from '../../services/mocks'; +import { ExitFullScreenButton } from './exit_full_screen_button'; + +describe('', () => { + let services: SharedUXServices; + let mount: (element: JSX.Element) => ReactWrapper; + + beforeEach(() => { + services = servicesFactory(); + mount = (element: JSX.Element) => + enzymeMount({element}); + }); + + afterEach(() => { + jest.resetAllMocks(); + }); + + test('is rendered', () => { + const component = mount(); + + expect(component).toMatchSnapshot(); + }); + + test('passing `false` to toggleChrome does not toggle chrome', () => { + const component = mount(); + expect(services.platform.setIsFullscreen).toHaveBeenCalledTimes(0); + component.unmount(); + expect(services.platform.setIsFullscreen).toHaveBeenCalledTimes(0); + }); + + describe('onExit', () => { + const onExitHandler = jest.fn(); + let component: ReactWrapper; + + beforeEach(() => { + component = mount(); + }); + + test('is called when the button is pressed', () => { + expect(services.platform.setIsFullscreen).toHaveBeenLastCalledWith(false); + + component.find('button').simulate('click'); + + expect(onExitHandler).toHaveBeenCalledTimes(1); + + component.unmount(); + + expect(services.platform.setIsFullscreen).toHaveBeenLastCalledWith(true); + }); + + test('is called when the ESC key is pressed', () => { + expect(services.platform.setIsFullscreen).toHaveBeenLastCalledWith(false); + + const escapeKeyEvent = new KeyboardEvent('keydown', { key: keys.ESCAPE } as any); + document.dispatchEvent(escapeKeyEvent); + + expect(onExitHandler).toHaveBeenCalledTimes(1); + + component.unmount(); + + expect(services.platform.setIsFullscreen).toHaveBeenLastCalledWith(true); + }); + }); +}); diff --git a/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.tsx b/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.tsx new file mode 100644 index 0000000000000..eb941593bdf1a --- /dev/null +++ b/src/plugins/shared_ux/public/components/exit_full_screen_button/exit_full_screen_button.tsx @@ -0,0 +1,76 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import React, { useCallback, useEffect } from 'react'; +import { useEuiTheme, keys } from '@elastic/eui'; +import { css } from '@emotion/react'; + +import { ExitFullScreenButton as Component } from './exit_full_screen_button.component'; +import { usePlatformService } from '../../services'; + +/** + * Props for the service-enabled Exit Full Screen button component. + */ +export interface Props { + /** Optional handler to call when one exits full-screen mode. */ + onExit?: () => void; + /** Should the button toggle the Chrome visibility? */ + toggleChrome?: boolean; +} + +/** + * A service-enabled component that provides Kibana-specific functionality to the `ExitFullScreenButton` + * component. Use of this component requires both the `EuiTheme` context as well as the Shared UX + * `ServicesProvider`. + * + * See shared-ux/public/services for information. + */ +export const ExitFullScreenButton = ({ onExit = () => {}, toggleChrome = false }: Props) => { + const { euiTheme } = useEuiTheme(); + const { setIsFullscreen } = usePlatformService(); + + const onClick = useCallback(() => { + if (toggleChrome) { + setIsFullscreen(true); + } + onExit(); + }, [onExit, setIsFullscreen, toggleChrome]); + + const onKeyDown = useCallback( + (e: KeyboardEvent) => { + if (e.key === keys.ESCAPE) { + onClick(); + } + }, + [onClick] + ); + + useEffect(() => { + document.addEventListener('keydown', onKeyDown, false); + + if (toggleChrome) { + setIsFullscreen(false); + } + + // cleanup the listener + return () => { + document.removeEventListener('keydown', onKeyDown, false); + }; + }, [onKeyDown, toggleChrome, setIsFullscreen]); + + // override the z-index: 1 applied to all non-eui elements that are in :focus via kui + // see packages/kbn-ui-framework/src/global_styling/reset/_reset.scss + const buttonCSS = css` + bottom: ${euiTheme.size.s}; + left: ${euiTheme.size.s}; + position: fixed; + z-index: 5; + `; + + return ; +}; diff --git a/src/plugins/shared_ux/public/components/exit_full_screen_button/index.ts b/src/plugins/shared_ux/public/components/exit_full_screen_button/index.ts new file mode 100644 index 0000000000000..0baf60d8499ca --- /dev/null +++ b/src/plugins/shared_ux/public/components/exit_full_screen_button/index.ts @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ +/* eslint-disable import/no-default-export */ + +import { ExitFullScreenButton } from './exit_full_screen_button'; +export { ExitFullScreenButton } from './exit_full_screen_button'; + +/** + * Exporting the ExitFullScreenButton component as a default export so it can be + * loaded by React.lazy. + */ +export default ExitFullScreenButton; diff --git a/src/plugins/shared_ux/public/components/index.ts b/src/plugins/shared_ux/public/components/index.ts new file mode 100644 index 0000000000000..f3c25ca023e8d --- /dev/null +++ b/src/plugins/shared_ux/public/components/index.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 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 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import { withSuspense } from './utility'; + +/** + * The Lazily-loaded `ExitFullScreenButton` component. Consumers should use `React.Suspennse` or the + * `withSuspense` HOC to load this component. + */ +export const LazyExitFullScreenButton = React.lazy(() => import('./exit_full_screen_button')); + +/** + * A `ExitFullScreenButton` component that is wrapped by the `withSuspense` HOC. This component can + * be used directly by consumers and will load the `LazyExitFullScreenButton` component lazily with + * a predefined fallback and error boundary. + */ +export const ExitFullScreenButton = withSuspense(LazyExitFullScreenButton); diff --git a/src/plugins/shared_ux/public/components/utility/fallback.tsx b/src/plugins/shared_ux/public/components/utility/fallback.tsx new file mode 100644 index 0000000000000..721f562d33040 --- /dev/null +++ b/src/plugins/shared_ux/public/components/utility/fallback.tsx @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import { EuiLoadingSpinner } from '@elastic/eui'; +import { css } from '@emotion/react'; + +/** + * A simple implementation of `React.Suspense.fallback` that renders a loading spinner. + */ +export const Fallback = () => { + const divCSS = css` + text-align: center; + `; + + return ( +
+ +
+ ); +}; diff --git a/src/plugins/shared_ux/public/components/utility/index.ts b/src/plugins/shared_ux/public/components/utility/index.ts new file mode 100644 index 0000000000000..4e930810a6895 --- /dev/null +++ b/src/plugins/shared_ux/public/components/utility/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +export { Fallback } from './fallback'; +export { withSuspense } from './with_suspense'; diff --git a/src/plugins/shared_ux/public/components/utility/with_suspense.tsx b/src/plugins/shared_ux/public/components/utility/with_suspense.tsx new file mode 100644 index 0000000000000..cd9a02c2d6bb4 --- /dev/null +++ b/src/plugins/shared_ux/public/components/utility/with_suspense.tsx @@ -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 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 or the Server + * Side Public License, v 1. + */ + +import React, { Suspense, ComponentType, ReactElement, Ref } from 'react'; +import { EuiErrorBoundary } from '@elastic/eui'; + +import { Fallback } from './fallback'; + +/** + * A HOC which supplies React.Suspense with a fallback component, and a `EuiErrorBoundary` to contain errors. + * @param Component A component deferred by `React.lazy` + * @param fallback A fallback component to render while things load; default is `Fallback` from SharedUX. + */ +export const withSuspense =

( + Component: ComponentType

, + fallback: ReactElement | null = +) => + React.forwardRef((props: P, ref: Ref) => ( + + + + + + )); diff --git a/src/plugins/shared_ux/public/index.ts b/src/plugins/shared_ux/public/index.ts index f68c6d148011e..e6a2f925c5120 100755 --- a/src/plugins/shared_ux/public/index.ts +++ b/src/plugins/shared_ux/public/index.ts @@ -8,8 +8,12 @@ import { SharedUXPlugin } from './plugin'; +/** + * Creates the Shared UX plugin. + */ export function plugin() { return new SharedUXPlugin(); } export type { SharedUXPluginSetup, SharedUXPluginStart } from './types'; +export { ExitFullScreenButton, LazyExitFullScreenButton } from './components'; diff --git a/src/plugins/shared_ux/public/plugin.ts b/src/plugins/shared_ux/public/plugin.ts deleted file mode 100755 index eb60c1a23e6ad..0000000000000 --- a/src/plugins/shared_ux/public/plugin.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 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 or the Server - * Side Public License, v 1. - */ - -import { CoreSetup, CoreStart, Plugin } from '../../../core/public'; -import { SharedUXPluginSetup, SharedUXPluginStart } from './types'; - -export class SharedUXPlugin implements Plugin { - public setup(_core: CoreSetup): SharedUXPluginSetup { - return {}; - } - - public start(_core: CoreStart): SharedUXPluginStart { - return {}; - } - - public stop() {} -} diff --git a/src/plugins/shared_ux/public/plugin.tsx b/src/plugins/shared_ux/public/plugin.tsx new file mode 100755 index 0000000000000..1d2840566d4d9 --- /dev/null +++ b/src/plugins/shared_ux/public/plugin.tsx @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import { CoreSetup, CoreStart, Plugin } from '../../../core/public'; +import { + SharedUXPluginSetup, + SharedUXPluginStart, + SharedUXPluginStartDeps, + SharedUXPluginSetupDeps, +} from './types'; + +import { ServicesProvider } from './services'; +import { servicesFactory } from './services/kibana'; + +/** + * The Kibana plugin for Shared User Experience (Shared UX). + */ +export class SharedUXPlugin implements Plugin { + public setup( + _coreSetup: CoreSetup, + _setupPlugins: SharedUXPluginSetupDeps + ): SharedUXPluginSetup { + return {}; + } + + public start(coreStart: CoreStart, startPlugins: SharedUXPluginStartDeps): SharedUXPluginStart { + const services = servicesFactory({ coreStart, startPlugins }); + + return { + ServicesContext: ({ children }) => ( + {children} + ), + }; + } + + public stop() {} +} diff --git a/src/plugins/shared_ux/public/services/index.tsx b/src/plugins/shared_ux/public/services/index.tsx new file mode 100644 index 0000000000000..acc8b9294d1df --- /dev/null +++ b/src/plugins/shared_ux/public/services/index.tsx @@ -0,0 +1,47 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import React, { FC, createContext, useContext } from 'react'; +import { SharedUXPlatformService } from './platform'; +import { servicesFactory } from './stub'; + +/** + * A collection of services utilized by SharedUX. This serves as a thin + * abstraction layer between services provided by Kibana and other plugins + * while allowing this plugin to be developed independently of those contracts. + * + * It also allows us to "swap out" differenct implementations of these services + * for different environments, (e.g. Jest, Storybook, etc.) + */ +export interface SharedUXServices { + platform: SharedUXPlatformService; +} + +// The React Context used to provide the services to the SharedUX components. +const ServicesContext = createContext(servicesFactory()); + +/** + * The `React.Context` Provider component for the `SharedUXServices` context. Any + * plugin or environemnt that consumes SharedUX components needs to wrap their React + * tree with this provider. + */ +export const ServicesProvider: FC = ({ children, ...services }) => ( + {children} +); + +/** + * React hook for accessing the pre-wired `SharedUXServices`. + */ +export function useServices() { + return useContext(ServicesContext); +} + +/** + * React hook for accessing the pre-wired `SharedUXPlatformService`. + */ +export const usePlatformService = () => useServices().platform; diff --git a/src/plugins/shared_ux/public/services/kibana/index.ts b/src/plugins/shared_ux/public/services/kibana/index.ts new file mode 100644 index 0000000000000..f7c4cd7b2c56d --- /dev/null +++ b/src/plugins/shared_ux/public/services/kibana/index.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 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 or the Server + * Side Public License, v 1. + */ + +import type { SharedUXServices } from '..'; +import type { SharedUXPluginStartDeps } from '../../types'; +import type { KibanaPluginServiceFactory } from '../types'; +import { platformServiceFactory } from './platform'; + +/** + * A factory function for creating a Kibana-based implementation of `SharedUXServices`. + */ +export const servicesFactory: KibanaPluginServiceFactory< + SharedUXServices, + SharedUXPluginStartDeps +> = (params) => ({ + platform: platformServiceFactory(params), +}); diff --git a/src/plugins/shared_ux/public/services/kibana/platform.ts b/src/plugins/shared_ux/public/services/kibana/platform.ts new file mode 100644 index 0000000000000..9872149ee02f2 --- /dev/null +++ b/src/plugins/shared_ux/public/services/kibana/platform.ts @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import { SharedUXPluginStartDeps } from '../../types'; +import { KibanaPluginServiceFactory } from '../types'; +import { SharedUXPlatformService } from '../platform'; + +/** + * A factory function for creating a Kibana-based implementation of `SharedUXPlatformService`. + */ +export type PlatformServiceFactory = KibanaPluginServiceFactory< + SharedUXPlatformService, + SharedUXPluginStartDeps +>; + +/** + * A factory function for creating a Kibana-based implementation of `SharedUXPlatformService`. + */ +export const platformServiceFactory: PlatformServiceFactory = ({ coreStart }) => ({ + setIsFullscreen: (isVisible: boolean) => coreStart.chrome.setIsVisible(isVisible), +}); diff --git a/src/plugins/shared_ux/public/services/mocks/index.ts b/src/plugins/shared_ux/public/services/mocks/index.ts new file mode 100644 index 0000000000000..14d38a484e53b --- /dev/null +++ b/src/plugins/shared_ux/public/services/mocks/index.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 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 or the Server + * Side Public License, v 1. + */ + +export type { MockPlatformServiceFactory } from './platform.mock'; +export { platformServiceFactory } from './platform.mock'; + +import type { SharedUXServices } from '../.'; +import { PluginServiceFactory } from '../types'; +import { platformServiceFactory } from './platform.mock'; + +/** + * A factory function for creating a Jest-based implementation of `SharedUXServices`. + */ +export const servicesFactory: PluginServiceFactory = () => ({ + platform: platformServiceFactory(), +}); diff --git a/src/plugins/shared_ux/public/services/mocks/platform.mock.ts b/src/plugins/shared_ux/public/services/mocks/platform.mock.ts new file mode 100644 index 0000000000000..c36d63cfcacbe --- /dev/null +++ b/src/plugins/shared_ux/public/services/mocks/platform.mock.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 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 or the Server + * Side Public License, v 1. + */ + +import type { PluginServiceFactory } from '../types'; +import type { SharedUXPlatformService } from '../platform'; + +/** + * A factory function for creating a Jest-based implementation of `SharedUXPlatformService`. + */ +export type MockPlatformServiceFactory = PluginServiceFactory; + +/** + * A factory function for creating a Jest-based implementation of `SharedUXPlatformService`. + */ +export const platformServiceFactory: MockPlatformServiceFactory = () => ({ + setIsFullscreen: jest.fn(), +}); diff --git a/src/plugins/shared_ux/public/services/platform.ts b/src/plugins/shared_ux/public/services/platform.ts new file mode 100644 index 0000000000000..52f88a1133c8b --- /dev/null +++ b/src/plugins/shared_ux/public/services/platform.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 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 or the Server + * Side Public License, v 1. + */ + +/** + * A services providing methods to interact with the Platform in which this plugin is + * running, (almost always Kibana). + * + * Rather than provide the entire `CoreStart` contract to components, we provide simplified + * abstractions around a use case specific to Shared UX. This way, we know exactly how the + * `CoreStart` and other plugins are used, like specifically which methods. This makes + * mocking and refactoring easier when upstream dependencies change. + */ +export interface SharedUXPlatformService { + /** + * Sets the fullscreen state of the chrome. + */ + setIsFullscreen: (isFullscreen: boolean) => void; +} diff --git a/src/plugins/shared_ux/public/services/storybook/index.ts b/src/plugins/shared_ux/public/services/storybook/index.ts new file mode 100644 index 0000000000000..8ea03317e53a2 --- /dev/null +++ b/src/plugins/shared_ux/public/services/storybook/index.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import type { SharedUXServices } from '../.'; +import { PluginServiceFactory } from '../types'; +import { platformServiceFactory } from './platform'; + +/** + * A factory function for creating a Storybook-based implementation of `SharedUXServices`. + */ +export const servicesFactory: PluginServiceFactory = (params) => ({ + platform: platformServiceFactory(params), +}); diff --git a/src/plugins/shared_ux/public/services/storybook/platform.ts b/src/plugins/shared_ux/public/services/storybook/platform.ts new file mode 100644 index 0000000000000..8d7645ee441ca --- /dev/null +++ b/src/plugins/shared_ux/public/services/storybook/platform.ts @@ -0,0 +1,24 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import { action } from '@storybook/addon-actions'; + +import { PluginServiceFactory } from '../types'; +import { SharedUXPlatformService } from '../platform'; + +/** + * A factory function for creating a Storybook-based implementation of `SharedUXPlatformService`. + */ +export type PlatformServiceFactory = PluginServiceFactory; + +/** + * A factory function for creating a Storybook-based implementation of `SharedUXPlatformService`. + */ +export const platformServiceFactory: PlatformServiceFactory = () => ({ + setIsFullscreen: action('setIsChromeVisible'), +}); diff --git a/src/plugins/shared_ux/public/services/stub/index.ts b/src/plugins/shared_ux/public/services/stub/index.ts new file mode 100644 index 0000000000000..8a5afe8cdcafb --- /dev/null +++ b/src/plugins/shared_ux/public/services/stub/index.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import type { SharedUXServices } from '../.'; +import { PluginServiceFactory } from '../types'; +import { platformServiceFactory } from './platform'; + +/** + * A factory function for creating a simple stubbed implemetation of `SharedUXServices`. + */ +export const servicesFactory: PluginServiceFactory = () => ({ + platform: platformServiceFactory(), +}); diff --git a/src/plugins/shared_ux/public/services/stub/platform.ts b/src/plugins/shared_ux/public/services/stub/platform.ts new file mode 100644 index 0000000000000..90fa8edb3e06e --- /dev/null +++ b/src/plugins/shared_ux/public/services/stub/platform.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 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 or the Server + * Side Public License, v 1. + */ + +import { PluginServiceFactory } from '../types'; +import { SharedUXPlatformService } from '../platform'; + +/** + * A factory function for creating a simple stubbed implementation of `SharedUXPlatformService`. + */ +export type PlatformServiceFactory = PluginServiceFactory; + +/** + * A factory function for creating a simple stubbed implementation of `SharedUXPlatformService`. + */ +export const platformServiceFactory: PlatformServiceFactory = () => ({ + setIsFullscreen: (_isFullscreen) => {}, +}); diff --git a/src/plugins/shared_ux/public/services/types.ts b/src/plugins/shared_ux/public/services/types.ts new file mode 100644 index 0000000000000..2645d5303a33b --- /dev/null +++ b/src/plugins/shared_ux/public/services/types.ts @@ -0,0 +1,42 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import { BehaviorSubject } from 'rxjs'; +import { CoreStart, AppUpdater, PluginInitializerContext } from 'src/core/public'; + +/** + * A factory function for creating one or more services. + * + * The `S` generic determines the shape of the API being produced. + * The `Parameters` generic determines what parameters are expected to + * create the service. + */ +export type PluginServiceFactory = (params: Parameters) => S; + +/** + * Parameters necessary to create a Kibana-based service, (e.g. during Plugin + * startup or setup). + * + * The `Start` generic refers to the specific Plugin `TPluginsStart`. + */ +export interface KibanaPluginServiceParams { + coreStart: CoreStart; + startPlugins: Start; + appUpdater?: BehaviorSubject; + initContext?: PluginInitializerContext; +} + +/** + * A factory function for creating a Kibana-based service. + * + * The `Service` generic determines the shape of the Service being produced. + * The `Start` generic refers to the specific Plugin `TPluginsStart`. + */ +export type KibanaPluginServiceFactory = ( + params: KibanaPluginServiceParams +) => Service; diff --git a/src/plugins/shared_ux/public/types.ts b/src/plugins/shared_ux/public/types/index.ts old mode 100755 new mode 100644 similarity index 50% rename from src/plugins/shared_ux/public/types.ts rename to src/plugins/shared_ux/public/types/index.ts index c27cba3a866ca..767dbf1aa10a4 --- a/src/plugins/shared_ux/public/types.ts +++ b/src/plugins/shared_ux/public/types/index.ts @@ -6,14 +6,26 @@ * Side Public License, v 1. */ -// eslint-disable-next-line @typescript-eslint/no-empty-interface +/* eslint-disable @typescript-eslint/no-empty-interface */ + +import { FC } from 'react'; + +/** @internal */ export interface SharedUXPluginSetup {} -// eslint-disable-next-line @typescript-eslint/no-empty-interface -export interface SharedUXPluginStart {} +/** + * The Shared UX plugin public contract, containing prewired components, services, and + * other constructs useful to consumers. + */ +export interface SharedUXPluginStart { + /** + * A React component that provides a pre-wired `React.Context` which connects components to Shared UX services. + */ + ServicesContext: FC<{}>; +} -// eslint-disable-next-line @typescript-eslint/no-empty-interface +/** @internal */ export interface SharedUXPluginSetupDeps {} -// eslint-disable-next-line @typescript-eslint/no-empty-interface +/** @internal */ export interface SharedUXPluginStartDeps {} diff --git a/src/plugins/shared_ux/public/types/mdx.d.ts b/src/plugins/shared_ux/public/types/mdx.d.ts new file mode 100644 index 0000000000000..b4633af9cb87d --- /dev/null +++ b/src/plugins/shared_ux/public/types/mdx.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 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 or the Server + * Side Public License, v 1. + */ + +// Importing MDX files requires a type definition not currently included in the stack. +declare module '*.mdx' { + let MDXComponent: (props: any) => JSX.Element; + // eslint-disable-next-line import/no-default-export + export default MDXComponent; +} diff --git a/src/plugins/shared_ux/server/types.ts b/src/plugins/shared_ux/server/types.ts index dca8b131fe5de..b16a18467d309 100755 --- a/src/plugins/shared_ux/server/types.ts +++ b/src/plugins/shared_ux/server/types.ts @@ -6,8 +6,10 @@ * Side Public License, v 1. */ -// eslint-disable-next-line @typescript-eslint/no-empty-interface +/* eslint-disable @typescript-eslint/no-empty-interface */ + +/** @internal */ export interface SharedUXPluginSetup {} -// eslint-disable-next-line @typescript-eslint/no-empty-interface +/** @internal */ export interface SharedUXPluginStart {} diff --git a/src/plugins/telemetry/server/plugin.ts b/src/plugins/telemetry/server/plugin.ts index cfd91af73d747..73c61ea1c5038 100644 --- a/src/plugins/telemetry/server/plugin.ts +++ b/src/plugins/telemetry/server/plugin.ts @@ -32,7 +32,7 @@ import { } from './collectors'; import type { TelemetryConfigType } from './config'; import { FetcherTask } from './fetcher'; -import { getTelemetrySavedObject } from './telemetry_repository'; +import { getTelemetrySavedObject, TelemetrySavedObject } from './telemetry_repository'; import { getTelemetryOptIn, getTelemetryChannelEndpoint } from '../common/telemetry_config'; interface TelemetryPluginsDepsSetup { @@ -149,7 +149,12 @@ export class TelemetryPlugin implements Plugin = { title: i18n.translate('visTypeTable.tableVisEditorConfig.schemas.bucketTitle', { defaultMessage: 'Split rows', }), - aggFilter: ['!filter', '!sampler', '!diversified_sampler', '!multi_terms'], + aggFilter: [ + '!filter', + '!sampler', + '!diversified_sampler', + '!multi_terms', + '!significant_text', + ], }, { group: AggGroupNames.Buckets, @@ -72,7 +78,13 @@ export const tableVisTypeDefinition: VisTypeDefinition = { }), min: 0, max: 1, - aggFilter: ['!filter', '!sampler', '!diversified_sampler', '!multi_terms'], + aggFilter: [ + '!filter', + '!sampler', + '!diversified_sampler', + '!multi_terms', + '!significant_text', + ], }, ], }, diff --git a/src/plugins/vis_types/xy/public/utils/compute_percentage_data.test.ts b/src/plugins/vis_types/xy/public/utils/compute_percentage_data.test.ts new file mode 100644 index 0000000000000..835b6918f196f --- /dev/null +++ b/src/plugins/vis_types/xy/public/utils/compute_percentage_data.test.ts @@ -0,0 +1,216 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ + +import { computePercentageData } from './compute_percentage_data'; + +const rowsOneMetric = [ + { + 'col-0-4': 'Kibana Airlines', + 'col-1-1': 85, + }, + { + 'col-0-4': 'ES-Air', + 'col-1-1': 84, + }, + { + 'col-0-4': 'Logstash Airways', + 'col-1-1': 82, + }, + { + 'col-0-4': 'JetBeats', + 'col-1-1': 81, + }, +]; + +const twoMetricsRows = [ + { + 'col-0-4': 'ES-Air', + 'col-1-5': 10, + 'col-2-1': 71, + 'col-3-1': 1, + }, + { + 'col-0-4': 'ES-Air', + 'col-1-5': 9, + 'col-2-1': 14, + 'col-3-1': 1, + }, + { + 'col-0-4': 'Kibana Airlines', + 'col-1-5': 5, + 'col-2-1': 71, + 'col-3-1': 0, + }, + { + 'col-0-4': 'Kibana Airlines', + 'col-1-5': 8, + 'col-2-1': 13, + 'col-3-1': 1, + }, + { + 'col-0-4': 'JetBeats', + 'col-1-5': 11, + 'col-2-1': 72, + 'col-3-1': 0, + }, + { + 'col-0-4': 'JetBeats', + 'col-1-5': 12, + 'col-2-1': 9, + 'col-3-1': 0, + }, + { + 'col-0-4': 'Logstash Airways', + 'col-1-5': 5, + 'col-2-1': 71, + 'col-3-1': 1, + }, + { + 'col-0-4': 'Logstash Airways', + 'col-1-5': 7, + 'col-2-1': 10, + 'col-3-1': 0, + }, +]; + +describe('computePercentageData', () => { + it('returns ratio 1 if there is only one metric in the axis', () => { + const data = computePercentageData(rowsOneMetric, 'col-0-4', ['col-1-1']); + expect(data).toStrictEqual([ + { + 'col-0-4': 'Kibana Airlines', + 'col-1-1': 1, + }, + { + 'col-0-4': 'ES-Air', + 'col-1-1': 1, + }, + { + 'col-0-4': 'Logstash Airways', + 'col-1-1': 1, + }, + { + 'col-0-4': 'JetBeats', + 'col-1-1': 1, + }, + ]); + }); + + it('returns correct ratio if there are two metrics in the same axis with no small multiples', () => { + const data = computePercentageData(twoMetricsRows, 'col-0-4', ['col-1-5', 'col-2-1']); + expect(data).toStrictEqual([ + { + 'col-0-4': 'ES-Air', + 'col-1-5': 0.09615384615384616, + 'col-2-1': 0.6826923076923077, + 'col-3-1': 1, + }, + { + 'col-0-4': 'ES-Air', + 'col-1-5': 0.08653846153846152, + 'col-2-1': 0.1346153846153846, + 'col-3-1': 1, + }, + { + 'col-0-4': 'Kibana Airlines', + 'col-1-5': 0.05154639175257732, + 'col-2-1': 0.7319587628865979, + 'col-3-1': 0, + }, + { + 'col-0-4': 'Kibana Airlines', + 'col-1-5': 0.08247422680412371, + 'col-2-1': 0.13402061855670103, + 'col-3-1': 1, + }, + { + 'col-0-4': 'JetBeats', + 'col-1-5': 0.10576923076923078, + 'col-2-1': 0.6923076923076923, + 'col-3-1': 0, + }, + { + 'col-0-4': 'JetBeats', + 'col-1-5': 0.11538461538461539, + 'col-2-1': 0.08653846153846154, + 'col-3-1': 0, + }, + { + 'col-0-4': 'Logstash Airways', + 'col-1-5': 0.05376344086021506, + 'col-2-1': 0.7634408602150539, + 'col-3-1': 1, + }, + { + 'col-0-4': 'Logstash Airways', + 'col-1-5': 0.07526881720430108, + 'col-2-1': 0.10752688172043012, + 'col-3-1': 0, + }, + ]); + }); + + it('returns correct ratio if there are two metrics in the same axis with small multiples', () => { + const data = computePercentageData( + twoMetricsRows, + 'col-0-4', + ['col-1-5', 'col-2-1'], + 'col-3-1' + ); + expect(data).toStrictEqual([ + { + 'col-0-4': 'ES-Air', + 'col-1-5': 0.09615384615384616, + 'col-2-1': 0.6826923076923077, + 'col-3-1': 1, + }, + { + 'col-0-4': 'ES-Air', + 'col-1-5': 0.08653846153846152, + 'col-2-1': 0.1346153846153846, + 'col-3-1': 1, + }, + { + 'col-0-4': 'Kibana Airlines', + 'col-1-5': 0.06578947368421052, + 'col-2-1': 0.9342105263157895, + 'col-3-1': 0, + }, + { + 'col-0-4': 'Kibana Airlines', + 'col-1-5': 0.38095238095238093, + 'col-2-1': 0.619047619047619, + 'col-3-1': 1, + }, + { + 'col-0-4': 'JetBeats', + 'col-1-5': 0.10576923076923078, + 'col-2-1': 0.6923076923076923, + 'col-3-1': 0, + }, + { + 'col-0-4': 'JetBeats', + 'col-1-5': 0.11538461538461539, + 'col-2-1': 0.08653846153846154, + 'col-3-1': 0, + }, + { + 'col-0-4': 'Logstash Airways', + 'col-1-5': 0.06578947368421052, + 'col-2-1': 0.9342105263157894, + 'col-3-1': 1, + }, + { + 'col-0-4': 'Logstash Airways', + 'col-1-5': 0.411764705882353, + 'col-2-1': 0.5882352941176472, + 'col-3-1': 0, + }, + ]); + }); +}); diff --git a/src/plugins/vis_types/xy/public/utils/compute_percentage_data.ts b/src/plugins/vis_types/xy/public/utils/compute_percentage_data.ts new file mode 100644 index 0000000000000..67e04a980d3c9 --- /dev/null +++ b/src/plugins/vis_types/xy/public/utils/compute_percentage_data.ts @@ -0,0 +1,66 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 or the Server + * Side Public License, v 1. + */ +import { groupBy } from 'lodash'; +import { Accessor, AccessorFn } from '@elastic/charts'; +import { DatatableRow } from '../../../../expressions/public'; + +export const computePercentageData = ( + rows: DatatableRow[], + xAccessor: Accessor | AccessorFn, + yAccessors: string[], + splitChartAccessor?: string | null +) => { + // Group by xAccessor + const groupedData = groupBy(rows, function (row) { + return row[String(xAccessor)]; + }); + // In case of small multiples, I need to group by xAccessor and splitChartAccessor + if (splitChartAccessor) { + for (const key in groupedData) { + if (Object.prototype.hasOwnProperty.call(groupedData, key)) { + const groupedBySplitData = groupBy(groupedData[key], splitChartAccessor); + for (const newGroupKey in groupedBySplitData) { + if (Object.prototype.hasOwnProperty.call(groupedBySplitData, newGroupKey)) { + groupedData[`${key}-${newGroupKey}`] = groupedBySplitData[newGroupKey]; + } + } + } + } + } + // sum up all the yAccessors per group + const sums: Record = {}; + for (const key in groupedData) { + if (Object.prototype.hasOwnProperty.call(groupedData, key)) { + let sum = 0; + const array = groupedData[key]; + array.forEach((row) => { + for (const yAccessor of yAccessors) { + sum += row[yAccessor]; + } + }); + sums[key] = sum; + } + } + // compute the ratio of each group + rows.forEach((row) => { + const groupValue = splitChartAccessor + ? `${row[String(xAccessor)]}-${row[splitChartAccessor]}` + : row[String(xAccessor)]; + const sum = sums[groupValue] ?? 0; + let metricsSum = 0; + for (const yAccessor of yAccessors) { + metricsSum += row[yAccessor]; + } + const computedMetric = metricsSum / sum; + for (const yAccessor of yAccessors) { + row[yAccessor] = (computedMetric / metricsSum) * row[yAccessor]; + } + }); + + return rows; +}; diff --git a/src/plugins/vis_types/xy/public/utils/render_all_series.tsx b/src/plugins/vis_types/xy/public/utils/render_all_series.tsx index 4d71cf454cfd6..e2672380c390f 100644 --- a/src/plugins/vis_types/xy/public/utils/render_all_series.tsx +++ b/src/plugins/vis_types/xy/public/utils/render_all_series.tsx @@ -7,7 +7,6 @@ */ import React from 'react'; - import { AreaSeries, CurveType, @@ -19,14 +18,14 @@ import { AccessorFn, ColorVariant, LabelOverflowConstraint, - computeRatioByGroups, } from '@elastic/charts'; import { DatatableRow } from '../../../../expressions/public'; import { ChartType } from '../../common'; -import { SeriesParam, VisConfig } from '../types'; +import { SeriesParam, VisConfig, Aspect } from '../types'; import { isValidSeriesForDimension } from './accessors'; +import { computePercentageData } from './compute_percentage_data'; /** * Matches vislib curve to elastic charts @@ -69,8 +68,33 @@ export const renderAllSeries = ( timeZone: string, xAccessor: Accessor | AccessorFn, splitSeriesAccessors: Array -) => - seriesParams.map( +) => { + let percentageModeComputedData: DatatableRow[] = []; + yAxes.forEach((yAxis) => { + const scale = yAxis.scale; + // find the series that are positioned on this axis + const series = seriesParams.filter((seriesParam) => seriesParam.valueAxis === yAxis.groupId); + const yAspects: Aspect[] = []; + series.forEach((seriesParam) => { + const aggId = seriesParam.data.id; + const accessorsInSeries = aspects.y.filter((aspect) => aspect.aggId === aggId); + yAspects.push(...accessorsInSeries); + }); + const yAccessors = yAspects.map((aspect) => { + return aspect.accessor; + }) as string[]; + if (scale.mode === 'percentage') { + const splitChartAccessor = aspects.splitColumn?.accessor || aspects.splitRow?.accessor; + percentageModeComputedData = computePercentageData( + data, + xAccessor, + yAccessors, + splitChartAccessor + ); + } + }); + + return seriesParams.map( ({ show, valueAxis: groupId, @@ -91,24 +115,9 @@ export const renderAllSeries = ( const id = `${type}-${yAccessors[0]}`; const yAxisScale = yAxes.find(({ groupId: axisGroupId }) => axisGroupId === groupId)?.scale; - // compute percentage mode data - const splitChartAccessor = aspects.splitColumn?.accessor || aspects.splitRow?.accessor; - const groupAccessors = [String(xAccessor)]; - if (splitChartAccessor) { - groupAccessors.push(splitChartAccessor); - } - let computedData = data; - if (yAxisScale?.mode === 'percentage') { - yAccessors.forEach((accessor) => { - computedData = computeRatioByGroups( - computedData, - groupAccessors, - (d) => d[accessor], - accessor - ); - }); - } + const isStacked = mode === 'stacked'; + const stackMode = yAxisScale?.mode === 'normal' ? undefined : yAxisScale?.mode; // needed to seperate stacked and non-stacked bars into unique pseudo groups const pseudoGroupId = isStacked ? `__pseudo_stacked_group-${groupId}__` : groupId; @@ -131,7 +140,9 @@ export const renderAllSeries = ( xAccessor={xAccessor} yAccessors={yAccessors} splitSeriesAccessors={splitSeriesAccessors} - data={computedData} + data={ + !isStacked && yAxisScale?.mode === 'percentage' ? percentageModeComputedData : data + } timeZone={timeZone} stackAccessors={isStacked ? ['__any_value__'] : undefined} enableHistogramMode={enableHistogramMode} @@ -171,7 +182,9 @@ export const renderAllSeries = ( markSizeAccessor={markSizeAccessor} markFormat={aspects.z?.formatter} splitSeriesAccessors={splitSeriesAccessors} - data={computedData} + data={ + !isStacked && yAxisScale?.mode === 'percentage' ? percentageModeComputedData : data + } stackAccessors={isStacked ? ['__any_value__'] : undefined} displayValueSettings={{ showValueLabel, @@ -201,3 +214,4 @@ export const renderAllSeries = ( } } ); +}; diff --git a/test/common/services/security/role.ts b/test/common/services/security/role.ts index 420bed027f317..98cf597fc76d4 100644 --- a/test/common/services/security/role.ts +++ b/test/common/services/security/role.ts @@ -34,11 +34,9 @@ export class Role { path: `/api/security/role/${name}`, method: 'DELETE', }); - if (status !== 204 && status !== 404) { + if (status !== 204) { throw new Error( - `Expected status code of 204 or 404, received ${status} ${statusText}: ${util.inspect( - data - )}` + `Expected status code of 204, received ${status} ${statusText}: ${util.inspect(data)}` ); } } diff --git a/test/functional/apps/discover/_data_grid_doc_table.ts b/test/functional/apps/discover/_data_grid_doc_table.ts index f4019ba1eb31c..0721c45c1f9fa 100644 --- a/test/functional/apps/discover/_data_grid_doc_table.ts +++ b/test/functional/apps/discover/_data_grid_doc_table.ts @@ -17,7 +17,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); const kibanaServer = getService('kibanaServer'); const monacoEditor = getService('monacoEditor'); - const PageObjects = getPageObjects(['common', 'discover', 'header', 'timePicker']); + const dashboardAddPanel = getService('dashboardAddPanel'); + const PageObjects = getPageObjects(['common', 'discover', 'header', 'timePicker', 'dashboard']); const defaultSettings = { defaultIndex: 'logstash-*', 'doc_table:legacy': false, @@ -32,6 +33,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional'); await kibanaServer.uiSettings.replace(defaultSettings); await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings(); + }); + + beforeEach(async () => { await PageObjects.common.navigateToApp('discover'); }); @@ -101,6 +105,54 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { ); }); + it('should show popover with expanded cell content by click on expand button on embeddable', async () => { + log.debug('open popover with expanded cell content to get json from the editor'); + await PageObjects.timePicker.setDefaultAbsoluteRange(); + await PageObjects.discover.waitUntilSearchingHasFinished(); + await PageObjects.discover.saveSearch('expand-cell-search'); + + await PageObjects.common.navigateToApp('dashboard'); + await PageObjects.dashboard.gotoDashboardLandingPage(); + await PageObjects.dashboard.clickNewDashboard(); + await PageObjects.header.waitUntilLoadingHasFinished(); + await dashboardAddPanel.addSavedSearch('expand-cell-search'); + + await retry.waitForWithTimeout('timestamp matches expected doc', 5000, async () => { + const cell = await dataGrid.getCellElement(0, 2); + const text = await cell.getVisibleText(); + log.debug(`row document timestamp: ${text}`); + return text === 'Sep 22, 2015 @ 23:50:13.253'; + }); + const docCell = await dataGrid.getCellElement(0, 3); + await docCell.click(); + const expandCellContentButton = await docCell.findByClassName( + 'euiDataGridRowCell__expandButtonIcon' + ); + await expandCellContentButton.click(); + + let expandDocId = ''; + + await retry.waitForWithTimeout('expandDocId to be valid', 5000, async () => { + const text = await monacoEditor.getCodeEditorValue(); + return (expandDocId = JSON.parse(text)._id) === 'AU_x3_g4GFA8no6QjkYX'; + }); + log.debug(`expanded document id: ${expandDocId}`); + + await dataGrid.clickRowToggle(); + await find.clickByCssSelectorWhenNotDisabled('#kbn_doc_viewer_tab_1'); + + await retry.waitForWithTimeout( + 'document id in flyout matching the expanded document id', + 5000, + async () => { + const text = await monacoEditor.getCodeEditorValue(); + const flyoutJson = JSON.parse(text); + log.debug(`flyout document id: ${flyoutJson._id}`); + return flyoutJson._id === expandDocId; + } + ); + }); + describe('expand a document row', function () { const rowToInspect = 1; diff --git a/test/functional/apps/discover/_discover.ts b/test/functional/apps/discover/_discover.ts index 7becb217c877a..03a8dbcffa2d9 100644 --- a/test/functional/apps/discover/_discover.ts +++ b/test/functional/apps/discover/_discover.ts @@ -38,8 +38,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { after(async () => { await kibanaServer.savedObjects.clean({ types: ['search', 'index-pattern'] }); }); - // FLAKY: https://github.com/elastic/kibana/issues/86602 - describe.skip('query', function () { + describe('query', function () { const queryName1 = 'Query # 1'; it('should show correct time range string by timepicker', async function () { @@ -121,8 +120,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { ); return actualCount === expectedCount; }); - const prevRowData = await PageObjects.discover.getDocTableField(1); - log.debug(`The first timestamp value in doc table before brushing: ${prevRowData}`); + let prevRowData = ''; + // to make sure the table is already rendered + await retry.try(async () => { + prevRowData = await PageObjects.discover.getDocTableField(1); + log.debug(`The first timestamp value in doc table before brushing: ${prevRowData}`); + }); + await PageObjects.discover.brushHistogram(); await PageObjects.discover.waitUntilSearchingHasFinished(); await retry.waitFor('chart rendering complete after being brushed', async () => { diff --git a/test/functional/services/data_grid.ts b/test/functional/services/data_grid.ts index d49ef5fa0990a..ca031116ec417 100644 --- a/test/functional/services/data_grid.ts +++ b/test/functional/services/data_grid.ts @@ -155,7 +155,7 @@ export class DataGridService extends FtrService { options: SelectOptions = { isAnchorRow: false, rowIndex: 0 } ): Promise { const row = await this.getRow(options); - const toggle = await row[0]; + const toggle = await row[0].findByTestSubject('~docTableExpandToggleColumn'); await toggle.click(); } diff --git a/x-pack/plugins/alerting/server/index.ts b/x-pack/plugins/alerting/server/index.ts index 5d4bd0b52eddb..36ee1f8ee9676 100644 --- a/x-pack/plugins/alerting/server/index.ts +++ b/x-pack/plugins/alerting/server/index.ts @@ -39,6 +39,7 @@ export type { IAbortableEsClient, IAbortableClusterClient, } from './lib/create_abortable_es_client_factory'; +export { createAbortableEsClientFactory } from './lib/create_abortable_es_client_factory'; export { ReadOperations, AlertingAuthorizationFilterType, diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations.test.ts b/x-pack/plugins/alerting/server/saved_objects/migrations.test.ts index 08312d0be0419..5e2d8efedbcb3 100644 --- a/x-pack/plugins/alerting/server/saved_objects/migrations.test.ts +++ b/x-pack/plugins/alerting/server/saved_objects/migrations.test.ts @@ -11,6 +11,7 @@ import { RawRule } from '../types'; import { SavedObjectUnsanitizedDoc } from 'kibana/server'; import { encryptedSavedObjectsMock } from '../../../encrypted_saved_objects/server/mocks'; import { migrationMocks } from 'src/core/server/mocks'; +import { RuleType, ruleTypeMappings } from '@kbn/securitysolution-rules'; const migrationContext = migrationMocks.createContext(); const encryptedSavedObjectsSetup = encryptedSavedObjectsMock.createSetup(); @@ -2056,6 +2057,37 @@ describe('successful migrations', () => { ); }); + test('doesnt change AAD rule params if not a siem.signals rule', () => { + const migration800 = getMigrations(encryptedSavedObjectsSetup, isPreconfigured)['8.0.0']; + const alert = getMockData( + { params: { outputIndex: 'output-index', type: 'query' }, alertTypeId: 'not.siem.signals' }, + true + ); + expect(migration800(alert, migrationContext).attributes.alertTypeId).toEqual( + 'not.siem.signals' + ); + expect(migration800(alert, migrationContext).attributes.enabled).toEqual(true); + expect(migration800(alert, migrationContext).attributes.params.outputIndex).toEqual( + 'output-index' + ); + }); + + test.each(Object.keys(ruleTypeMappings) as RuleType[])( + 'Changes AAD rule params accordingly if rule is a siem.signals %p rule', + (ruleType) => { + const migration800 = getMigrations(encryptedSavedObjectsSetup, isPreconfigured)['8.0.0']; + const alert = getMockData( + { params: { outputIndex: 'output-index', type: ruleType }, alertTypeId: 'siem.signals' }, + true + ); + expect(migration800(alert, migrationContext).attributes.alertTypeId).toEqual( + ruleTypeMappings[ruleType] + ); + expect(migration800(alert, migrationContext).attributes.enabled).toEqual(false); + expect(migration800(alert, migrationContext).attributes.params.outputIndex).toEqual(''); + } + ); + describe('Metrics Inventory Threshold rule', () => { test('Migrates incorrect action group spelling', () => { const migration800 = getMigrations(encryptedSavedObjectsSetup, isPreconfigured)['8.0.0']; diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations.ts b/x-pack/plugins/alerting/server/saved_objects/migrations.ts index 6736fd3573adb..e664095e8c846 100644 --- a/x-pack/plugins/alerting/server/saved_objects/migrations.ts +++ b/x-pack/plugins/alerting/server/saved_objects/migrations.ts @@ -131,7 +131,7 @@ export function getMigrations( (doc: SavedObjectUnsanitizedDoc): doc is SavedObjectUnsanitizedDoc => true, pipeMigrations( addThreatIndicatorPathToThreatMatchRules, - addRACRuleTypes, + addSecuritySolutionAADRuleTypes, fixInventoryThresholdGroupId ) ); @@ -652,7 +652,7 @@ function setLegacyId(doc: SavedObjectUnsanitizedDoc): SavedObjectUnsani }; } -function addRACRuleTypes( +function addSecuritySolutionAADRuleTypes( doc: SavedObjectUnsanitizedDoc ): SavedObjectUnsanitizedDoc { const ruleType = doc.attributes.params.type; @@ -662,6 +662,7 @@ function addRACRuleTypes( attributes: { ...doc.attributes, alertTypeId: ruleTypeMappings[ruleType], + enabled: false, params: { ...doc.attributes.params, outputIndex: '', diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx index 93ee75d852e5d..1c421032ac7d3 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx @@ -88,8 +88,8 @@ export function WaterfallWithSummary({ return ( <> - - + +

{i18n.translate('xpack.apm.transactionDetails.traceSampleTitle', { @@ -97,6 +97,8 @@ export function WaterfallWithSummary({ })}
+ + {traceSamples && ( ({ + name: 'heatmap', + displayName: 'Heatmap', + type: 'chart', + help: 'Heatmap visualization', + icon: 'heatmap', + expression: `filters +| demodata +| head 10 +| heatmap xAccessor={visdimension "age"} yAccessor={visdimension "project"} valueAccessor={visdimension "cost"} +| render`, +}); diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/index.ts b/x-pack/plugins/canvas/canvas_plugin_src/elements/index.ts index b73957b500196..f4383bb3e3251 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/elements/index.ts +++ b/x-pack/plugins/canvas/canvas_plugin_src/elements/index.ts @@ -33,6 +33,7 @@ import { verticalProgressBar } from './vertical_progress_bar'; import { verticalProgressPill } from './vertical_progress_pill'; import { tagCloud } from './tag_cloud'; import { metricVis } from './metric_vis'; +import { heatmap } from './heatmap'; import { SetupInitializer } from '../plugin'; import { ElementFactory } from '../../types'; @@ -63,6 +64,7 @@ const elementSpecs = [ verticalProgressBar, verticalProgressPill, tagCloud, + heatmap, ]; const initializeElementFactories = [metricElementInitializer]; diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx new file mode 100644 index 0000000000000..70a9d0dd2ed93 --- /dev/null +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx @@ -0,0 +1,56 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { FC } from 'react'; +import PropTypes from 'prop-types'; +import { + EuiColorPicker, + EuiFlexGroup, + EuiFlexItem, + EuiSetColorMethod, + useColorPickerState, +} from '@elastic/eui'; +import { templateFromReactComponent } from '../../../../public/lib/template_from_react_component'; +import { withDebounceArg } from '../../../../public/components/with_debounce_arg'; +import { ArgumentStrings } from '../../../../i18n'; + +const { Color: strings } = ArgumentStrings; + +interface Props { + onValueChange: (value: string) => void; + argValue: string; +} + +const ColorPicker: FC = ({ onValueChange, argValue }) => { + const [color, setColor, errors] = useColorPickerState(argValue); + + const pickColor: EuiSetColorMethod = (value, meta) => { + setColor(value, meta); + onValueChange(value); + }; + + return ( + + + + + + ); +}; + +ColorPicker.propTypes = { + argValue: PropTypes.any.isRequired, + onValueChange: PropTypes.func.isRequired, +}; + +export const colorPicker = () => ({ + name: 'color_picker', + displayName: strings.getDisplayName(), + help: strings.getHelp(), + simpleTemplate: templateFromReactComponent(withDebounceArg(ColorPicker)), + default: '"#000"', +}); diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts new file mode 100644 index 0000000000000..e3ad6cf7972b5 --- /dev/null +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/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 { colorPicker } from './color_picker'; diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js index f300957c39525..987fd11c5faef 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js @@ -39,7 +39,7 @@ const getMathValue = (argValue, columns) => { // TODO: Garbage, we could make a much nicer math form that can handle way more. const DatacolumnArgInput = ({ onValueChange, - columns, + resolved: { columns }, argValue, renderError, argId, @@ -123,7 +123,9 @@ const DatacolumnArgInput = ({ }; DatacolumnArgInput.propTypes = { - columns: PropTypes.array.isRequired, + resolved: PropTypes.shape({ + columns: PropTypes.array.isRequired, + }).isRequired, onValueChange: PropTypes.func.isRequired, typeInstance: PropTypes.object.isRequired, renderError: PropTypes.func.isRequired, diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/index.ts b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/index.ts index c6a220062227e..40e98d18a706e 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/index.ts +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/index.ts @@ -32,6 +32,7 @@ import { textarea } from './textarea'; // @ts-expect-error untyped local import { toggle } from './toggle'; import { visdimension } from './vis_dimension'; +import { colorPicker } from './color_picker'; import { SetupInitializer } from '../../plugin'; @@ -51,6 +52,7 @@ export const args = [ textarea, toggle, visdimension, + colorPicker, ]; export const initializers = [dateFormatInitializer, numberFormatInitializer]; diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number.js b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number.js index cf360c5d648ab..2dfe1b1b6797e 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number.js +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number.js @@ -9,6 +9,7 @@ import React, { useState, useEffect, useCallback } from 'react'; import PropTypes from 'prop-types'; import { EuiFieldNumber, EuiButton, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; import { templateFromReactComponent } from '../../../public/lib/template_from_react_component'; +import { withDebounceArg } from '../../../public/components/with_debounce_arg'; import { ArgumentStrings } from '../../../i18n'; const { Number: strings } = ArgumentStrings; @@ -28,8 +29,11 @@ const NumberArgInput = ({ argId, argValue, typeInstance, onValueChange }) => { const onChange = useCallback( (ev) => { - const onChangeFn = confirm ? setValue : onValueChange; - onChangeFn(ev.target.value); + const { value } = ev.target; + setValue(value); + if (!confirm) { + onValueChange(value); + } }, [confirm, onValueChange] ); @@ -62,6 +66,6 @@ export const number = () => ({ name: 'number', displayName: strings.getDisplayName(), help: strings.getHelp(), - simpleTemplate: templateFromReactComponent(NumberArgInput), + simpleTemplate: templateFromReactComponent(withDebounceArg(NumberArgInput)), default: '0', }); diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js index aa9d510d32ad2..230d6d4a38998 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js @@ -5,18 +5,27 @@ * 2.0. */ -import React from 'react'; +import React, { useState, useCallback } from 'react'; import PropTypes from 'prop-types'; import { EuiRange } from '@elastic/eui'; +import { withDebounceArg } from '../../../public/components/with_debounce_arg'; import { templateFromReactComponent } from '../../../public/lib/template_from_react_component'; import { ArgumentStrings } from '../../../i18n'; const { Percentage: strings } = ArgumentStrings; const PercentageArgInput = ({ onValueChange, argValue }) => { - const handleChange = (ev) => { - return onValueChange(ev.target.value / 100); - }; + const [value, setValue] = useState(argValue); + + const handleChange = useCallback( + (ev) => { + const { value } = ev.target; + const numberVal = Number(value) / 100; + setValue(numberVal); + onValueChange(numberVal); + }, + [onValueChange] + ); return ( { max={100} showLabels showInput - value={argValue * 100} + value={value * 100} onChange={handleChange} /> ); @@ -41,5 +50,5 @@ export const percentage = () => ({ name: 'percentage', displayName: strings.getDisplayName(), help: strings.getHelp(), - simpleTemplate: templateFromReactComponent(PercentageArgInput), + simpleTemplate: templateFromReactComponent(withDebounceArg(PercentageArgInput, 50)), }); diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/range.js b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/range.js index e178191764ae8..a8ea45d672aa4 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/range.js +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/range.js @@ -5,19 +5,28 @@ * 2.0. */ -import React from 'react'; +import React, { useState, useCallback } from 'react'; import PropTypes from 'prop-types'; import { EuiRange } from '@elastic/eui'; import { templateFromReactComponent } from '../../../public/lib/template_from_react_component'; +import { withDebounceArg } from '../../../public/components/with_debounce_arg'; import { ArgumentStrings } from '../../../i18n'; const { Range: strings } = ArgumentStrings; const RangeArgInput = ({ typeInstance, onValueChange, argValue }) => { const { min, max, step } = typeInstance.options; - const handleChange = (ev) => { - return onValueChange(Number(ev.target.value)); - }; + const [value, setValue] = useState(argValue); + + const handleChange = useCallback( + (ev) => { + const { value } = ev.target; + const numberVal = Number(value); + setValue(numberVal); + onValueChange(numberVal); + }, + [onValueChange] + ); return ( { step={step} showLabels showInput - value={argValue} + value={value} onChange={handleChange} /> ); @@ -50,5 +59,5 @@ export const range = () => ({ name: 'range', displayName: strings.getDisplayName(), help: strings.getHelp(), - simpleTemplate: templateFromReactComponent(RangeArgInput), + simpleTemplate: templateFromReactComponent(withDebounceArg(RangeArgInput, 50)), }); diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/string.js b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/string.js index e5b9ab049a3b9..cba96fd42e9eb 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/string.js +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/string.js @@ -9,6 +9,8 @@ import React, { useState, useEffect, useCallback } from 'react'; import PropTypes from 'prop-types'; import { EuiFlexItem, EuiFlexGroup, EuiFieldText, EuiButton } from '@elastic/eui'; import { templateFromReactComponent } from '../../../public/lib/template_from_react_component'; +import { withDebounceArg } from '../../../public/components/with_debounce_arg'; + import { ArgumentStrings } from '../../../i18n'; const { String: strings } = ArgumentStrings; @@ -23,8 +25,11 @@ const StringArgInput = ({ argValue, typeInstance, onValueChange, argId }) => { const onChange = useCallback( (ev) => { - const onChangeFn = confirm ? setValue : onValueChange; - onChangeFn(ev.target.value); + const { value } = ev.target; + setValue(value); + if (!confirm) { + onValueChange(value); + } }, [confirm, onValueChange] ); @@ -56,5 +61,5 @@ export const string = () => ({ name: 'string', displayName: strings.getDisplayName(), help: strings.getHelp(), - simpleTemplate: templateFromReactComponent(StringArgInput), + simpleTemplate: templateFromReactComponent(withDebounceArg(StringArgInput)), }); diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js index a39b151a11f0b..8cc301aa5ed9c 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js @@ -9,18 +9,22 @@ import React, { useState, useEffect, useCallback } from 'react'; import PropTypes from 'prop-types'; import { EuiFormRow, EuiTextArea, EuiSpacer, EuiButton } from '@elastic/eui'; import { templateFromReactComponent } from '../../../public/lib/template_from_react_component'; +import { withDebounceArg } from '../../../public/components/with_debounce_arg'; import { ArgumentStrings } from '../../../i18n'; const { Textarea: strings } = ArgumentStrings; const TextAreaArgInput = ({ argValue, typeInstance, onValueChange, renderError, argId }) => { const confirm = typeInstance?.options?.confirm; - const [value, setValue] = useState(); + const [value, setValue] = useState(argValue); const onChange = useCallback( (ev) => { - const onChangeFn = confirm ? setValue : onValueChange; - onChangeFn(ev.target.value); + const { value } = ev.target; + setValue(value); + if (!confirm) { + onValueChange(value); + } }, [confirm, onValueChange] ); @@ -68,5 +72,5 @@ export const textarea = () => ({ name: 'textarea', displayName: strings.getDisplayName(), help: strings.getHelp(), - template: templateFromReactComponent(TextAreaArgInput), + template: templateFromReactComponent(withDebounceArg(TextAreaArgInput)), }); diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx index 312457b658ad9..94831be2e003a 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx @@ -10,27 +10,25 @@ import { EuiButton, EuiFlexGroup, EuiFlexItem, EuiSelect } from '@elastic/eui'; import { DatatableColumn, ExpressionAstExpression } from 'src/plugins/expressions'; import { templateFromReactComponent } from '../../../public/lib/template_from_react_component'; import { ArgumentStrings } from '../../../i18n'; +import { ResolvedArgProps, ResolvedColumns } from '../../../public/expression_types/arg'; const { VisDimension: strings } = ArgumentStrings; -interface VisDimensionArgInputProps { +type VisDimensionArgInputProps = { onValueChange: (value: ExpressionAstExpression) => void; argValue: ExpressionAstExpression; - argId?: string; - columns: DatatableColumn[]; typeInstance: { options?: { confirm?: string; }; }; -} +} & ResolvedArgProps; const VisDimensionArgInput: React.FC = ({ argValue, typeInstance, onValueChange, - argId, - columns, + resolved: { columns }, }) => { const [value, setValue] = useState(argValue); const confirm = typeInstance?.options?.confirm; @@ -75,7 +73,7 @@ const VisDimensionArgInput: React.FC = ({ return ( - + {confirm && ( diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts b/x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts new file mode 100644 index 0000000000000..ed8c86b4b0f36 --- /dev/null +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts @@ -0,0 +1,56 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { get } from 'lodash'; +import { getState, getValue } from '../../../public/lib/resolved_arg'; +import { ModelStrings } from '../../../i18n'; +import { ResolvedColumns } from '../../../public/expression_types/arg'; + +const { HeatmapGrid: strings } = ModelStrings; + +export const heatmapGrid = () => ({ + name: 'heatmap_grid', + displayName: strings.getDisplayName(), + args: [ + { + name: 'strokeWidth', + displayName: strings.getStrokeWidthDisplayName(), + help: strings.getStrokeWidthHelp(), + argType: 'number', + }, + { + name: 'strokeColor', + displayName: strings.getStrokeColorDisplayName(), + help: strings.getStrokeColorDisplayName(), + argType: 'color_picker', + }, + { + name: 'isCellLabelVisible', + displayName: strings.getIsCellLabelVisibleDisplayName(), + help: strings.getIsCellLabelVisibleHelp(), + argType: 'toggle', + }, + { + name: 'isYAxisLabelVisible', + displayName: strings.getIsYAxisLabelVisibleDisplayName(), + help: strings.getIsYAxisLabelVisibleHelp(), + argType: 'toggle', + }, + { + name: 'isXAxisLabelVisible', + displayName: strings.getIsXAxisLabelVisibleDisplayName(), + help: strings.getIsXAxisLabelVisibleHelp(), + argType: 'toggle', + }, + ], + resolve({ context }: any): ResolvedColumns { + if (getState(context) !== 'ready') { + return { columns: [] }; + } + return { columns: get(getValue(context), 'columns', []) }; + }, +}); diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts b/x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts new file mode 100644 index 0000000000000..44f81435b4926 --- /dev/null +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_legend.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { get } from 'lodash'; +import { getState, getValue } from '../../../public/lib/resolved_arg'; +import { ModelStrings } from '../../../i18n'; +import { ResolvedColumns } from '../../../public/expression_types/arg'; + +const { HeatmapLegend: strings } = ModelStrings; + +export const heatmapLegend = () => ({ + name: 'heatmap_legend', + displayName: strings.getDisplayName(), + args: [ + { + name: 'isVisible', + displayName: strings.getIsVisibleDisplayName(), + help: strings.getIsVisibleHelp(), + argType: 'toggle', + default: true, + }, + { + name: 'position', + displayName: strings.getPositionDisplayName(), + help: strings.getPositionHelp(), + argType: 'select', + default: 'right', + options: { + choices: [ + { value: 'top', name: strings.getPositionTopOption() }, + { value: 'right', name: strings.getPositionRightOption() }, + { value: 'bottom', name: strings.getPositionBottomOption() }, + { value: 'left', name: strings.getPositionLeftOption() }, + ], + }, + }, + { + name: 'maxLines', + displayName: strings.getMaxLinesDisplayName(), + help: strings.getMaxLinesHelp(), + argType: 'number', + default: 10, + }, + { + name: 'shouldTruncate', + displayName: strings.getShouldTruncateDisplayName(), + help: strings.getShouldTruncateHelp(), + argType: 'toggle', + }, + ], + resolve({ context }: any): ResolvedColumns { + if (getState(context) !== 'ready') { + return { columns: [] }; + } + return { columns: get(getValue(context), 'columns', []) }; + }, +}); diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/index.js b/x-pack/plugins/canvas/canvas_plugin_src/uis/models/index.js index 8fadc9e2e6c8a..82a0fbfbb3a45 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/index.js +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/models/index.js @@ -9,5 +9,7 @@ import { pointseries } from './point_series'; import { math } from './math'; import { tagcloud } from './tagcloud'; import { metricVis } from './metric_vis'; +import { heatmapLegend } from './heatmap_legend'; +import { heatmapGrid } from './heatmap_grid'; -export const modelSpecs = [pointseries, math, tagcloud, metricVis]; +export const modelSpecs = [pointseries, math, tagcloud, metricVis, heatmapLegend, heatmapGrid]; diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/metric_vis.ts b/x-pack/plugins/canvas/canvas_plugin_src/uis/models/metric_vis.ts index 9796c4553978e..403522399e363 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/metric_vis.ts +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/models/metric_vis.ts @@ -6,6 +6,7 @@ */ import { get } from 'lodash'; +import { ResolvedColumns } from '../../../public/expression_types/arg'; import { ViewStrings } from '../../../i18n'; import { getState, getValue } from '../../../public/lib/resolved_arg'; @@ -70,7 +71,7 @@ export const metricVis = () => ({ argType: 'toggle', }, ], - resolve({ context }: any) { + resolve({ context }: any): ResolvedColumns { if (getState(context) !== 'ready') { return { columns: [] }; } diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/tagcloud.ts b/x-pack/plugins/canvas/canvas_plugin_src/uis/models/tagcloud.ts index 11cad3461c025..d210d5dee1e6c 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/tagcloud.ts +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/models/tagcloud.ts @@ -6,6 +6,7 @@ */ import { get } from 'lodash'; +import { ResolvedColumns } from '../../../public/expression_types/arg'; import { ViewStrings } from '../../../i18n'; import { getState, getValue } from '../../../public/lib/resolved_arg'; @@ -82,7 +83,7 @@ export const tagcloud = () => ({ default: true, }, ], - resolve({ context }: any) { + resolve({ context }: any): ResolvedColumns { if (getState(context) !== 'ready') { return { columns: [] }; } diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/heatmap.ts b/x-pack/plugins/canvas/canvas_plugin_src/uis/views/heatmap.ts new file mode 100644 index 0000000000000..dba1165377b7f --- /dev/null +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/views/heatmap.ts @@ -0,0 +1,100 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor 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 { get } from 'lodash'; +import { ResolvedColumns } from '../../../public/expression_types/arg'; + +import { ViewStrings } from '../../../i18n'; +import { getState, getValue } from '../../../public/lib/resolved_arg'; + +const { Heatmap: strings } = ViewStrings; + +export const heatmap = () => ({ + name: 'heatmap', + displayName: strings.getDisplayName(), + args: [ + { + name: 'xAccessor', + displayName: strings.getXAccessorDisplayName(), + help: strings.getXAccessorHelp(), + argType: 'vis_dimension', + default: `{visdimension}`, + }, + { + name: 'yAccessor', + displayName: strings.getYAccessorDisplayName(), + help: strings.getYAccessorHelp(), + argType: 'vis_dimension', + default: `{visdimension}`, + }, + { + name: 'valueAccessor', + displayName: strings.getValueAccessorDisplayName(), + help: strings.getValueAccessorHelp(), + argType: 'vis_dimension', + default: `{visdimension}`, + }, + { + name: 'splitRowAccessor', + displayName: strings.getSplitRowAccessorDisplayName(), + help: strings.getSplitRowAccessorHelp(), + argType: 'vis_dimension', + default: `{visdimension}`, + }, + { + name: 'splitColumnAccessor', + displayName: strings.getSplitColumnAccessorDisplayName(), + help: strings.getSplitColumnAccessorHelp(), + argType: 'vis_dimension', + default: `{visdimension}`, + }, + { + name: 'showTooltip', + displayName: strings.getShowTooltipDisplayName(), + help: strings.getShowTooltipHelp(), + argType: 'toggle', + default: true, + }, + { + name: 'highlightInHover', + displayName: strings.getHighlightInHoverDisplayName(), + help: strings.getHighlightInHoverHelp(), + argType: 'toggle', + }, + { + name: 'lastRangeIsRightOpen', + displayName: strings.getLastRangeIsRightOpenDisplayName(), + help: strings.getLastRangeIsRightOpenHelp(), + argType: 'toggle', + default: true, + }, + { + name: 'palette', + argType: 'stops_palette', + }, + { + name: 'legend', + displayName: strings.getLegendDisplayName(), + help: strings.getLegendHelp(), + type: 'model', + argType: 'heatmap_legend', + }, + { + name: 'gridConfig', + displayName: strings.getGridConfigDisplayName(), + help: strings.getGridConfigHelp(), + type: 'model', + argType: 'heatmap_grid', + }, + ], + resolve({ context }: any): ResolvedColumns { + if (getState(context) !== 'ready') { + return { columns: [] }; + } + return { columns: get(getValue(context), 'columns', []) }; + }, +}); diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/index.ts b/x-pack/plugins/canvas/canvas_plugin_src/uis/views/index.ts index 74ad909648235..faa277224839e 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/index.ts +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/views/index.ts @@ -32,6 +32,8 @@ import { shape } from './shape'; import { table } from './table'; // @ts-expect-error untyped local import { timefilterControl } from './timefilterControl'; +import { heatmap } from './heatmap'; + import { SetupInitializer } from '../../plugin'; export const viewSpecs = [ @@ -48,6 +50,7 @@ export const viewSpecs = [ shape, table, timefilterControl, + heatmap, ]; export const viewInitializers = [metricInitializer]; diff --git a/x-pack/plugins/canvas/i18n/elements/element_strings.ts b/x-pack/plugins/canvas/i18n/elements/element_strings.ts index c97dd1b434d51..a1497707a14a2 100644 --- a/x-pack/plugins/canvas/i18n/elements/element_strings.ts +++ b/x-pack/plugins/canvas/i18n/elements/element_strings.ts @@ -238,4 +238,12 @@ export const getElementStrings = (): ElementStringDict => ({ defaultMessage: 'Metric visualization', }), }, + heatmap: { + displayName: i18n.translate('xpack.canvas.elements.heatmapDisplayName', { + defaultMessage: 'Heatmap', + }), + help: i18n.translate('xpack.canvas.elements.heatmapHelpText', { + defaultMessage: 'Heatmap visualization', + }), + }, }); diff --git a/x-pack/plugins/canvas/i18n/ui.ts b/x-pack/plugins/canvas/i18n/ui.ts index 4856de96885e7..8029688d8a1c5 100644 --- a/x-pack/plugins/canvas/i18n/ui.ts +++ b/x-pack/plugins/canvas/i18n/ui.ts @@ -244,6 +244,16 @@ export const ArgumentStrings = { defaultMessage: 'Custom', }), }, + Color: { + getDisplayName: () => + i18n.translate('xpack.canvas.uis.arguments.colorTitle', { + defaultMessage: 'Color', + }), + getHelp: () => + i18n.translate('xpack.canvas.uis.arguments.colorLabel', { + defaultMessage: 'Color picker', + }), + }, Percentage: { getDisplayName: () => i18n.translate('xpack.canvas.uis.arguments.percentageTitle', { @@ -591,6 +601,106 @@ export const ModelStrings = { defaultMessage: 'Data along the vertical axis. Usually a number', }), }, + HeatmapLegend: { + getDisplayName: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.title', { + defaultMessage: "Configure the heatmap chart's legend", + }), + getIsVisibleDisplayName: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.args.isVisibleTitle', { + defaultMessage: 'Show legend', + }), + getIsVisibleHelp: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.args.isVisibleLabel', { + defaultMessage: 'Specifies whether or not the legend is visible', + }), + getPositionDisplayName: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.args.positionTitle', { + defaultMessage: 'Legend Position', + }), + getPositionHelp: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.args.positionLabel', { + defaultMessage: 'Specifies the legend position.', + }), + getPositionTopOption: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.args.positionTopLabel', { + defaultMessage: 'Top', + }), + getPositionBottomOption: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.args.positionBottomLabel', { + defaultMessage: 'Bottom', + }), + getPositionLeftOption: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.args.positionLeftLabel', { + defaultMessage: 'Left', + }), + getPositionRightOption: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.args.positionRightLabel', { + defaultMessage: 'Right', + }), + getMaxLinesDisplayName: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.args.maxLinesTitle', { + defaultMessage: 'Legend maximum lines', + }), + getMaxLinesHelp: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.args.maxLinesLabel', { + defaultMessage: 'Specifies the number of lines per legend item.', + }), + getShouldTruncateDisplayName: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.args.shouldTruncateTitle', { + defaultMessage: 'Truncate label', + }), + getShouldTruncateHelp: () => + i18n.translate('xpack.canvas.uis.models.heatmap_legend.args.shouldTruncateLabel', { + defaultMessage: 'Specifies whether or not the legend items should be truncated', + }), + }, + HeatmapGrid: { + getDisplayName: () => + i18n.translate('xpack.canvas.uis.models.heatmap_grid.title', { + defaultMessage: 'Configure the heatmap layout', + }), + getStrokeWidthDisplayName: () => + i18n.translate('xpack.canvas.uis.models.heatmap_grid.args.strokeWidthTitle', { + defaultMessage: 'Stroke width', + }), + getStrokeWidthHelp: () => + i18n.translate('xpack.canvas.uis.models.heatmap_grid.args.strokeWidthLabel', { + defaultMessage: 'Specifies the grid stroke width', + }), + getStrokeColorDisplayName: () => + i18n.translate('xpack.canvas.uis.models.heatmap_grid.args.strokeColorTitle', { + defaultMessage: 'Stroke color', + }), + getStrokeColorHelp: () => + i18n.translate('xpack.canvas.uis.models.heatmap_grid.args.strokeColorLabel', { + defaultMessage: 'Specifies the grid stroke color', + }), + getIsCellLabelVisibleDisplayName: () => + i18n.translate('xpack.canvas.uis.models.heatmap_grid.args.isCellLabelVisibleTitle', { + defaultMessage: 'Show cell label', + }), + getIsCellLabelVisibleHelp: () => + i18n.translate('xpack.canvas.uis.models.heatmap_grid.args.isCellLabelVisibleLabel', { + defaultMessage: 'Specifies whether or not the cell label is visible', + }), + getIsYAxisLabelVisibleDisplayName: () => + i18n.translate('xpack.canvas.uis.models.heatmap_grid.args.isYAxisLabelVisibleTile', { + defaultMessage: 'Show Y-axis labels', + }), + getIsYAxisLabelVisibleHelp: () => + i18n.translate('xpack.canvas.uis.models.heatmap_grid.args.isYAxisLabelVisibleLabel', { + defaultMessage: 'Specifies whether or not the Y-axis labels are visible', + }), + getIsXAxisLabelVisibleDisplayName: () => + i18n.translate('xpack.canvas.uis.models.heatmap_grid.args.isXAxisLabelVisibleTile', { + defaultMessage: 'Show X-axis labels', + }), + getIsXAxisLabelVisibleHelp: () => + i18n.translate('xpack.canvas.uis.models.heatmap_grid.args.isXAxisLabelVisibleLabel', { + defaultMessage: 'Specifies whether or not the X-axis labels are visible', + }), + }, }; export const TransformStrings = { @@ -1349,4 +1459,91 @@ export const ViewStrings = { defaultMessage: 'Background', }), }, + Heatmap: { + getDisplayName: () => + i18n.translate('xpack.canvas.uis.views.heatmapTitle', { + defaultMessage: 'Heatmap Visualization', + }), + getXAccessorDisplayName: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.xAccessorDisplayName', { + defaultMessage: 'X-axis', + }), + getXAccessorHelp: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.xAccessorHelp', { + defaultMessage: 'The name of the x axis column or the corresponding dimension', + }), + getYAccessorDisplayName: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.yAccessorDisplayName', { + defaultMessage: 'Y-axis', + }), + getYAccessorHelp: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.yAccessorHelp', { + defaultMessage: 'The name of the y axis column or the corresponding dimension', + }), + getValueAccessorDisplayName: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.valueAccessorDisplayName', { + defaultMessage: 'Value', + }), + getValueAccessorHelp: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.valueAccessorHelp', { + defaultMessage: 'The name of the value column or the corresponding dimension', + }), + getLegendHelp: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.legendHelp', { + defaultMessage: "Configure the heatmap chart's legend", + }), + getLegendDisplayName: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.legendDisplayName', { + defaultMessage: 'Heatmap legend', + }), + getGridConfigHelp: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.gridConfigHelp', { + defaultMessage: 'Configure the heatmap layout', + }), + getGridConfigDisplayName: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.gridConfigDisplayName', { + defaultMessage: 'Heatmap layout configuration', + }), + getSplitRowAccessorDisplayName: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.splitRowAccessorDisplayName', { + defaultMessage: 'Split row', + }), + getSplitRowAccessorHelp: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.plitRowAccessorHelp', { + defaultMessage: 'The id of the split row or the corresponding dimension', + }), + getSplitColumnAccessorDisplayName: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.splitColumnAccessorDisplayName', { + defaultMessage: 'Split column', + }), + getSplitColumnAccessorHelp: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.splitColumnAccessorHelp', { + defaultMessage: 'The id of the split column or the corresponding dimension', + }), + getShowTooltipDisplayName: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.showTooltipDisplayName', { + defaultMessage: 'Show tooltip', + }), + getShowTooltipHelp: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.showTooltipHelp', { + defaultMessage: 'Show tooltip on hover', + }), + getHighlightInHoverDisplayName: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.highlightInHoverDisplayName', { + defaultMessage: 'Hightlight on hover', + }), + getHighlightInHoverHelp: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.highlightInHoverHelp', { + defaultMessage: + 'When this is enabled, it highlights the ranges of the same color on legend hover', + }), + getLastRangeIsRightOpenDisplayName: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.lastRangeIsRightOpenDisplayName', { + defaultMessage: 'Last range is right open', + }), + getLastRangeIsRightOpenHelp: () => + i18n.translate('xpack.canvas.uis.views.heatmap.args.lastRangeIsRightOpenHelp', { + defaultMessage: 'If is set to true, the last range value will be right open', + }), + }, }; diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx b/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx index 0368cd3d9facf..9f05ac278405c 100644 --- a/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx +++ b/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx @@ -11,7 +11,6 @@ import { EuiButtonIcon } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { Popover } from '../popover'; import { ArgAdd } from '../arg_add'; -import type { Arg } from '../../expression_types/arg'; const strings = { getAddAriaLabel: () => @@ -20,8 +19,10 @@ const strings = { }), }; -interface ArgOptions { - arg: Arg; +export interface ArgOptions { + name?: string; + displayName?: string; + help?: string; onValueAdd: () => void; } @@ -49,9 +50,9 @@ export const ArgAddPopover: FC = ({ options }) => { {({ closePopover }) => options.map((opt) => ( { opt.onValueAdd(); closePopover(); diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/index.ts b/x-pack/plugins/canvas/public/components/arg_add_popover/index.ts index b5744b3ab27f9..1eae5058e7d35 100644 --- a/x-pack/plugins/canvas/public/components/arg_add_popover/index.ts +++ b/x-pack/plugins/canvas/public/components/arg_add_popover/index.ts @@ -6,3 +6,4 @@ */ export { ArgAddPopover } from './arg_add_popover'; +export type { ArgOptions } from './arg_add_popover'; diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_template_form.tsx b/x-pack/plugins/canvas/public/components/arg_form/arg_template_form.tsx index af58e624d1b3d..952c4fa66e9d0 100644 --- a/x-pack/plugins/canvas/public/components/arg_form/arg_template_form.tsx +++ b/x-pack/plugins/canvas/public/components/arg_form/arg_template_form.tsx @@ -9,10 +9,11 @@ import React, { useState, useEffect, useCallback, useRef, memo, ReactPortal } fr import deepEqual from 'react-fast-compare'; import usePrevious from 'react-use/lib/usePrevious'; import useEffectOnce from 'react-use/lib/useEffectOnce'; +import { ExpressionAstExpression, ExpressionValue } from 'src/plugins/expressions'; import { ExpressionFormHandlers } from '../../../common/lib/expression_form_handlers'; import { UpdatePropsRef } from '../../../types/arguments'; -interface ArgTemplateFormProps { +export interface ArgTemplateFormProps { template?: ( domNode: HTMLElement, config: ArgTemplateFormProps['argumentProps'], @@ -24,10 +25,13 @@ interface ArgTemplateFormProps { label?: string; setLabel: (label: string) => void; expand?: boolean; + argValue: any; setExpand?: (expand: boolean) => void; - onValueRemove?: (argName: string, argIndex: string) => void; + onValueRemove?: () => void; + onValueChange: (value: any) => void; resetErrorState: () => void; renderError: () => void; + argResolver: (ast: ExpressionAstExpression) => Promise; }; handlers?: { [key: string]: (...args: any[]) => any }; error?: unknown; diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot b/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot index d47ecf71b2293..6b63ef2602dc0 100644 --- a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot @@ -38,7 +38,9 @@ exports[`Storyshots components/Assets/AssetManager no assets 1`] = `
- Manage workpad assets +

+ Manage workpad assets +

- Manage workpad assets +

+ Manage workpad assets +

{ @@ -52,7 +52,6 @@ const mapStateToProps = (state) => ({ }); const mapDispatchToProps = (dispatch) => ({ - dispatchArgumentAtIndex: (props) => (arg) => dispatch(setArgumentAtIndex({ ...props, arg })), dispatchAstAtIndex: ({ index, element, pageId }) => (ast) => { @@ -63,7 +62,7 @@ const mapDispatchToProps = (dispatch) => ({ const mergeProps = (stateProps, dispatchProps, ownProps) => { const { element, pageId, functionDefinitions } = stateProps; - const { dispatchArgumentAtIndex, dispatchAstAtIndex } = dispatchProps; + const { dispatchAstAtIndex } = dispatchProps; const getDataTableFunctionsByName = (name) => functionDefinitions.find((fn) => fn.name === name && fn.type === 'datatable'); @@ -106,11 +105,6 @@ const mergeProps = (stateProps, dispatchProps, ownProps) => { element, index: datasourceAst && datasourceAst.expressionIndex, }), - setDatasourceArgs: dispatchArgumentAtIndex({ - pageId, - element, - index: datasourceAst && datasourceAst.expressionIndex, - }), }; }; diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx b/x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx index 8e625db94b498..868693905abe0 100644 --- a/x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx +++ b/x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx @@ -13,13 +13,15 @@ type FunctionFormComponentProps = RenderArgData; export const FunctionFormComponent: FunctionComponent = (props) => { const passedProps = { name: props.name, + removable: props.removable, argResolver: props.argResolver, args: props.args, + id: props.id, + nestedFunctionsArgs: props.nestedFunctionsArgs, argType: props.argType, argTypeDef: props.argTypeDef, filterGroups: props.filterGroups, context: props.context, - expressionIndex: props.expressionIndex, expressionType: props.expressionType, nextArgType: props.nextArgType, nextExpressionType: props.nextExpressionType, @@ -27,6 +29,7 @@ export const FunctionFormComponent: FunctionComponent void; } -export const FunctionFormContextPending: React.FunctionComponent< - FunctionFormContextPendingProps -> = (props) => { +export const FunctionFormContextPending: FC = (props) => { const { contextExpression, expressionType, context, updateContext } = props; const prevContextExpression = usePrevious(contextExpression); const fetchContext = useCallback( diff --git a/x-pack/plugins/canvas/public/components/function_form/index.tsx b/x-pack/plugins/canvas/public/components/function_form/index.tsx index 2494396d3712b..1194943f385e4 100644 --- a/x-pack/plugins/canvas/public/components/function_form/index.tsx +++ b/x-pack/plugins/canvas/public/components/function_form/index.tsx @@ -19,8 +19,8 @@ import { getId } from '../../lib/get_id'; import { createAsset } from '../../state/actions/assets'; import { fetchContext, - setArgumentAtIndex, - addArgumentValueAtIndex, + setArgument as setArgumentValue, + addArgumentValue, deleteArgumentAtIndex, // @ts-expect-error untyped local } from '../../state/actions/elements'; @@ -34,24 +34,29 @@ import { getAssets } from '../../state/selectors/assets'; // @ts-expect-error unconverted lib import { findExistingAsset } from '../../lib/find_existing_asset'; import { FunctionForm as Component } from './function_form'; -import { ArgType, ArgTypeDef } from '../../expression_types/types'; +import { Args, ArgType, ArgTypeDef } from '../../expression_types/types'; import { State, ExpressionContext, CanvasElement, AssetType } from '../../../types'; interface FunctionFormProps { name: string; argResolver: (ast: ExpressionAstExpression) => Promise; - args: Record> | null; + args: Args; + nestedFunctionsArgs: Args; argType: ArgType; argTypeDef: ArgTypeDef; expressionIndex: number; nextArgType?: ArgType; + path: string; + parentPath: string; + removable?: boolean; } export const FunctionForm: React.FunctionComponent = (props) => { - const { expressionIndex, argType, nextArgType } = props; + const { expressionIndex, ...restProps } = props; + const { nextArgType, path, parentPath, argType } = restProps; const dispatch = useDispatch(); const context = useSelector( - (state) => getContextForIndex(state, expressionIndex), + (state) => getContextForIndex(state, parentPath, expressionIndex), deepEqual ); const element = useSelector( @@ -67,55 +72,33 @@ export const FunctionForm: React.FunctionComponent = (props) const addArgument = useCallback( (argName: string, argValue: string | Ast | null) => () => { - dispatch( - addArgumentValueAtIndex({ - index: expressionIndex, - element, - pageId, - argName, - value: argValue, - }) - ); + dispatch(addArgumentValue({ element, pageId, argName, value: argValue, path })); }, - [dispatch, element, expressionIndex, pageId] + [dispatch, element, pageId, path] ); - const updateContext = useCallback( - () => dispatch(fetchContext(expressionIndex, element)), - [dispatch, element, expressionIndex] - ); + const updateContext = useCallback(() => { + return dispatch(fetchContext(expressionIndex, element, false, parentPath)); + }, [dispatch, element, expressionIndex, parentPath]); const setArgument = useCallback( (argName: string, valueIndex: number) => (value: string | Ast | null) => { - dispatch( - setArgumentAtIndex({ - index: expressionIndex, - element, - pageId, - argName, - value, - valueIndex, - }) - ); + dispatch(setArgumentValue({ element, pageId, argName, value, valueIndex, path })); }, - [dispatch, element, expressionIndex, pageId] + [dispatch, element, pageId, path] ); const deleteArgument = useCallback( (argName: string, argIndex: number) => () => { - dispatch( - deleteArgumentAtIndex({ - index: expressionIndex, - element, - pageId, - argName, - argIndex, - }) - ); + dispatch(deleteArgumentAtIndex({ element, pageId, argName, argIndex, path })); }, - [dispatch, element, expressionIndex, pageId] + [dispatch, element, pageId, path] ); + const deleteParentArgument = useCallback(() => { + dispatch(deleteArgumentAtIndex({ element, pageId, path: parentPath })); + }, [dispatch, element, pageId, parentPath]); + const onAssetAddDispatch = useCallback( (type: AssetType['type'], content: AssetType['value']) => { // make the ID here and pass it into the action @@ -138,9 +121,11 @@ export const FunctionForm: React.FunctionComponent = (props) }, [assets, onAssetAddDispatch] ); + return ( = (props) updateContext={updateContext} onValueChange={setArgument} onValueRemove={deleteArgument} + onContainerRemove={deleteParentArgument} onAssetAdd={onAssetAdd} /> ); diff --git a/x-pack/plugins/canvas/public/components/function_form_list/index.js b/x-pack/plugins/canvas/public/components/function_form_list/index.js index 94de0a8838af7..6048ac360386c 100644 --- a/x-pack/plugins/canvas/public/components/function_form_list/index.js +++ b/x-pack/plugins/canvas/public/components/function_form_list/index.js @@ -9,62 +9,185 @@ import { compose, withProps } from 'recompose'; import { get } from 'lodash'; import { toExpression } from '@kbn/interpreter'; import { interpretAst } from '../../lib/run_interpreter'; -import { modelRegistry, viewRegistry, transformRegistry } from '../../expression_types'; +import { getArgTypeDef } from '../../lib/args'; import { FunctionFormList as Component } from './function_form_list'; function normalizeContext(chain) { if (!Array.isArray(chain) || !chain.length) { return null; } - return { - type: 'expression', - chain, - }; + return { type: 'expression', chain }; } function getExpression(ast) { return ast != null && ast.type === 'expression' ? toExpression(ast) : ast; } -function getArgTypeDef(fn) { - return modelRegistry.get(fn) || viewRegistry.get(fn) || transformRegistry.get(fn); +const isPureArgumentType = (arg) => !arg.type || arg.type === 'argument'; + +const reduceArgsByCondition = (argsObject, isMatchingCondition) => + Object.keys(argsObject).reduce((acc, argName) => { + if (isMatchingCondition(argName)) { + return { ...acc, [argName]: argsObject[argName] }; + } + return acc; + }, {}); + +const createComponentsWithContext = () => ({ mapped: [], context: [] }); + +const getPureArgs = (argTypeDef, args) => { + const pureArgumentsView = argTypeDef.args.filter((arg) => isPureArgumentType(arg)); + const pureArgumentsNames = pureArgumentsView.map((arg) => arg.name); + const pureArgs = reduceArgsByCondition(args, (argName) => pureArgumentsNames.includes(argName)); + return { args: pureArgs, argumentsView: pureArgumentsView }; +}; + +const getComplexArgs = (argTypeDef, args) => { + const complexArgumentsView = argTypeDef.args.filter((arg) => !isPureArgumentType(arg)); + const complexArgumentsNames = complexArgumentsView.map((arg) => arg.name); + const complexArgs = reduceArgsByCondition(args, (argName) => + complexArgumentsNames.includes(argName) + ); + return { args: complexArgs, argumentsView: complexArgumentsView }; +}; + +const mergeComponentsAndContexts = ( + { context = [], mapped = [] }, + { context: nextContext = [], mapped: nextMapped = [] } +) => ({ + mapped: [...mapped, ...nextMapped], + context: [...context, ...nextContext], +}); + +const buildPath = (prevPath = '', argName, index, removable = false) => { + const newPath = index === undefined ? argName : `${argName}.${index}`; + return { path: prevPath.length ? `${prevPath}.${newPath}` : newPath, removable }; +}; + +const componentFactory = ({ + args, + argsWithExprFunctions, + argType, + argTypeDef, + argumentsView, + argUiConfig, + prevContext, + expressionIndex, + nextArg, + path, + parentPath, + removable, +}) => ({ + args, + nestedFunctionsArgs: argsWithExprFunctions, + argType: argType.function, + argTypeDef: Object.assign(argTypeDef, { + args: argumentsView, + name: argUiConfig?.name ?? argTypeDef.name, + displayName: argUiConfig?.displayName ?? argTypeDef.displayName, + help: argUiConfig?.help ?? argTypeDef.name, + }), + argResolver: (argAst) => interpretAst(argAst, prevContext), + contextExpression: getExpression(prevContext), + expressionIndex, // preserve the index in the AST + nextArgType: nextArg && nextArg.function, + path, + parentPath, + removable, +}); + +/** + * Converts expression functions at the arguments for the expression, to the array of UI component configurations. + * @param {Ast['chain'][number]['arguments']} complexArgs - expression's arguments, which are expression functions. + * @param {object[]} complexArgumentsViews - argument UI views/models/tranforms. + * @param {string} argumentPath - path at the AST to the current expression. + * @returns flatten array of the arguments UI configurations. + */ +const transformNestedFunctionsToUIConfig = (complexArgs, complexArgumentsViews, argumentPath) => + Object.keys(complexArgs).reduce((current, argName) => { + const next = complexArgs[argName] + .map(({ chain }, index) => + transformFunctionsToUIConfig( + chain, + buildPath(argumentPath, argName, index, true), + complexArgumentsViews?.find((argView) => argView.name === argName) + ) + ) + .reduce( + (current, next) => mergeComponentsAndContexts(current, next), + createComponentsWithContext() + ); + return mergeComponentsAndContexts(current, next); + }, createComponentsWithContext()); + +/** + * Converts chain of expressions to the array of UI component configurations. + * Recursively loops through the AST, detects expression functions inside + * the expression chain of the top and nested levels, finds view/model/transform definition + * for the found expression functions, splits arguments of the expression for two categories: simple and expression functions. + * After, recursively loops through the nested expression functions, creates UI component configurations and flatten them to the array. + * + * @param {Ast['chain']} functionsChain - chain of expression functions. + * @param {{ path: string, removable: boolean }} functionMeta - saves the path to the current expressions chain at the original AST + * and saves the information about that it can be removed (is an argument of the other expression). + * @param {object} argUiConfig - Argument UI configuration of the element, which contains current expressions chain. It can be view, model, transform or argument. + * @returns UI component configurations of expressions, found at AST. + */ +function transformFunctionsToUIConfig(functionsChain, { path, removable }, argUiConfig) { + const parentPath = path; + const argumentsPath = path ? `${path}.chain` : `chain`; + return functionsChain.reduce((current, argType, i) => { + const argumentPath = `${argumentsPath}.${i}.arguments`; + const argTypeDef = getArgTypeDef(argType.function); + current.context = current.context.concat(argType); + + // filter out argTypes that shouldn't be in the sidebar + if (!argTypeDef) { + return current; + } + + const { argumentsView, args } = getPureArgs(argTypeDef, argType.arguments); + const { argumentsView: exprFunctionsViews, args: argsWithExprFunctions } = getComplexArgs( + argTypeDef, + argType.arguments + ); + + // wrap each part of the chain in ArgType, passing in the previous context + const component = componentFactory({ + args, + argsWithExprFunctions, + argType, + argTypeDef, + argumentsView, + argUiConfig, + prevContext: normalizeContext(current.context), + expressionIndex: i, // preserve the index in the AST + nextArg: functionsChain[i + 1] || null, + path: argumentPath, + parentPath, + removable, + }); + + const components = transformNestedFunctionsToUIConfig( + argsWithExprFunctions, + exprFunctionsViews, + argumentPath + ); + + return mergeComponentsAndContexts(current, { + ...components, + mapped: [component, ...components.mapped], + }); + }, createComponentsWithContext()); } const functionFormItems = withProps((props) => { const selectedElement = props.element; - const FunctionFormChain = get(selectedElement, 'ast.chain', []); - + const functionsChain = get(selectedElement, 'ast.chain', []); // map argTypes from AST, attaching nextArgType if one exists - const FunctionFormListItems = FunctionFormChain.reduce( - (acc, argType, i) => { - const argTypeDef = getArgTypeDef(argType.function); - const prevContext = normalizeContext(acc.context); - const nextArg = FunctionFormChain[i + 1] || null; - - // filter out argTypes that shouldn't be in the sidebar - if (argTypeDef) { - // wrap each part of the chain in ArgType, passing in the previous context - const component = { - args: argType.arguments, - argType: argType.function, - argTypeDef: argTypeDef, - argResolver: (argAst) => interpretAst(argAst, prevContext), - contextExpression: getExpression(prevContext), - expressionIndex: i, // preserve the index in the AST - nextArgType: nextArg && nextArg.function, - }; - - acc.mapped.push(component); - } - - acc.context = acc.context.concat(argType); - return acc; - }, - { mapped: [], context: [] } - ); - + const functionsListItems = transformFunctionsToUIConfig(functionsChain, buildPath('', 'ast')); return { - functionFormItems: FunctionFormListItems.mapped, + functionFormItems: functionsListItems.mapped, }; }); diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot b/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot index 23202a7a1fb88..9500da484c626 100644 --- a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot @@ -38,7 +38,9 @@ exports[`Storyshots components/SavedElementsModal no custom elements 1`] = `
- My elements +

+ My elements +

- My elements +

+ My elements +

- My elements +

+ My elements +

, debouncePeriod: number = 150): FC => + ({ argValue, onValueChange, ...restProps }) => { + const [localArgValue, setArgValue] = useState(argValue); + + const [, cancel] = useDebounce( + () => { + if (localArgValue === argValue || deepEqual(localArgValue, argValue)) { + return; + } + + onValueChange(localArgValue); + }, + debouncePeriod, + [localArgValue] + ); + + useEffect(() => { + return () => { + cancel(); + }; + }, [cancel]); + + return ; + }; diff --git a/x-pack/plugins/canvas/public/expression_types/arg.ts b/x-pack/plugins/canvas/public/expression_types/arg.ts index 9c46f4d1e2b99..4ebf470995838 100644 --- a/x-pack/plugins/canvas/public/expression_types/arg.ts +++ b/x-pack/plugins/canvas/public/expression_types/arg.ts @@ -11,13 +11,14 @@ import { Ast } from '@kbn/interpreter'; // @ts-expect-error unconverted components import { ArgForm } from '../components/arg_form'; import { argTypeRegistry } from './arg_type_registry'; -import type { ArgType, ArgTypeDef, ExpressionType } from './types'; +import type { Args, ArgType, ArgTypeDef, ArgValue, ExpressionType } from './types'; import { AssetType, CanvasElement, ExpressionAstExpression, ExpressionValue, ExpressionContext, + DatatableColumn, } from '../../types'; import { BaseFormProps } from './base_form'; @@ -26,6 +27,7 @@ interface ArtOwnProps { multi?: boolean; required?: boolean; types?: string[]; + type?: 'model' | 'argument'; default?: string | null; resolve?: (...args: any[]) => any; options?: { @@ -38,10 +40,25 @@ interface ArtOwnProps { shapes?: string[]; }; } -export type ArgProps = ArtOwnProps & BaseFormProps; +export type ArgUiConfig = ArtOwnProps & BaseFormProps; + +export interface ResolvedColumns { + columns: DatatableColumn[]; +} +export interface ResolvedLabels { + labels: string[]; +} + +export interface ResolvedDataurl { + dataurl: string; +} + +export interface ResolvedArgProps { + resolved: T; +} export interface DataArg { - argValue?: string | Ast | null; + argValue?: ArgValue | null; skipRender?: boolean; label?: string; valueIndex: number; @@ -50,16 +67,15 @@ export interface DataArg { contextExpression?: string; name: string; argResolver: (ast: ExpressionAstExpression) => Promise; - args: Record> | null; + args: Args; argType: ArgType; argTypeDef?: ArgTypeDef; filterGroups: string[]; context?: ExpressionContext; - expressionIndex: number; expressionType: ExpressionType; nextArgType?: ArgType; nextExpressionType?: ExpressionType; - onValueAdd: (argName: string, argValue: string | Ast | null) => () => void; + onValueAdd: (argName: string, argValue: ArgValue | null) => () => void; onAssetAdd: (type: AssetType['type'], content: AssetType['value']) => string; onValueChange: (value: Ast | string) => void; onValueRemove: () => void; @@ -81,7 +97,7 @@ export class Arg { displayName?: string; help?: string; - constructor(props: ArgProps) { + constructor(props: ArgUiConfig) { const argType = argTypeRegistry.get(props.argType); if (!argType) { throw new Error(`Invalid arg type: ${props.argType}`); @@ -117,26 +133,32 @@ export class Arg { } // TODO: Document what these otherProps are. Maybe make them named arguments? - render(data: DataArg) { - const { onValueChange, onValueRemove, argValue, key, label, ...otherProps } = data; + render(data: DataArg & ResolvedArgProps) { + const { onValueChange, onValueRemove, key, label, ...otherProps } = data; + const resolvedProps = this.resolve?.(otherProps); + const { argValue, onAssetAdd, resolved, filterGroups, argResolver } = otherProps; + const argId = key; // This is everything the arg_type template needs to render const templateProps = { - ...otherProps, - ...this.resolve?.(otherProps), - onValueChange, argValue, + argId, + onAssetAdd, + onValueChange, typeInstance: this, + resolved: { ...resolved, ...resolvedProps }, + argResolver, + filterGroups, }; const formProps = { key, argTypeInstance: this, - valueMissing: this.required && argValue == null, + valueMissing: this.required && data.argValue == null, label, onValueChange, onValueRemove, templateProps, - argId: key, + argId, options: this.options, }; diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx b/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx index 2b2155833949b..10b6f1b17f4aa 100644 --- a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx +++ b/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx @@ -49,7 +49,7 @@ class Interactive extends React.Component<{}, { argValue: ExpressionAstExpressio action('onValueChange')(argValue); this.setState({ argValue }); }} - labels={array('Series Labels', ['label1', 'label2'])} + resolved={{ labels: array('Series Labels', ['label1', 'label2']) }} typeInstance={{ name: radios('Type Instance', { default: 'defaultStyle', custom: 'custom' }, 'custom'), options: { @@ -74,7 +74,7 @@ storiesOf('arguments/SeriesStyle/components', module) .add('extended: defaults', () => ( { action('onValueChange')(argValue); @@ -64,6 +65,7 @@ storiesOf('arguments/SeriesStyle/components', module) argValue={defaultExpression} onValueChange={action('onValueChange')} workpad={getDefaultWorkpad()} + resolved={{ labels: [] }} typeInstance={{ name: 'defaultStyle', }} @@ -72,7 +74,7 @@ storiesOf('arguments/SeriesStyle/components', module) .add('simple: defaults', () => ( ( void; typeInstance?: { name: string; @@ -34,10 +34,15 @@ export interface Props { include: string[]; }; }; -} +} & ResolvedArgProps; export const ExtendedTemplate: FunctionComponent = (props) => { - const { typeInstance, onValueChange, labels, argValue } = props; + const { + typeInstance, + onValueChange, + resolved: { labels }, + argValue, + } = props; const chain = get(argValue, 'chain.0', {}); const chainArgs = get(chain, 'arguments', {}); const selectedSeries = get(chainArgs, 'label.0', ''); @@ -141,5 +146,7 @@ ExtendedTemplate.propTypes = { onValueChange: PropTypes.func.isRequired, argValue: PropTypes.any.isRequired, typeInstance: PropTypes.object, - labels: PropTypes.array.isRequired, + resolved: PropTypes.shape({ + labels: PropTypes.array.isRequired, + }).isRequired, }; diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.tsx b/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.tsx index 8dcfbfe8aba4c..d54e6fdb60040 100644 --- a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.tsx +++ b/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.tsx @@ -10,6 +10,7 @@ import PropTypes from 'prop-types'; import { EuiFlexGroup, EuiFlexItem, EuiLink, EuiButtonIcon, EuiText } from '@elastic/eui'; import immutable from 'object-path-immutable'; import { get } from 'lodash'; +import { ResolvedArgProps, ResolvedLabels } from '../../arg'; import { ColorPickerPopover } from '../../../components/color_picker_popover'; import { TooltipIcon, IconType } from '../../../components/tooltip_icon'; import { ExpressionAstExpression, CanvasWorkpad } from '../../../../types'; @@ -23,18 +24,23 @@ interface Arguments { } type Argument = keyof Arguments; -interface Props { +type Props = { argValue: ExpressionAstExpression; - labels?: string[]; onValueChange: (argValue: ExpressionAstExpression) => void; typeInstance: { name: string; }; workpad: CanvasWorkpad; -} +} & ResolvedArgProps; export const SimpleTemplate: FunctionComponent = (props) => { - const { typeInstance, argValue, onValueChange, labels, workpad } = props; + const { + typeInstance, + argValue, + onValueChange, + resolved: { labels }, + workpad, + } = props; const { name } = typeInstance; const chain = get(argValue, 'chain.0', {}); const chainArgs = get(chain, 'arguments', {}); @@ -107,7 +113,9 @@ SimpleTemplate.displayName = 'SeriesStyleArgSimpleInput'; SimpleTemplate.propTypes = { argValue: PropTypes.any.isRequired, - labels: PropTypes.array, + resolved: PropTypes.shape({ + labels: PropTypes.array.isRequired, + }).isRequired, onValueChange: PropTypes.func.isRequired, workpad: PropTypes.shape({ colors: PropTypes.array.isRequired, diff --git a/x-pack/plugins/canvas/public/expression_types/function_form.tsx b/x-pack/plugins/canvas/public/expression_types/function_form.tsx index b2fbfa387b49f..f66cfd301c7d8 100644 --- a/x-pack/plugins/canvas/public/expression_types/function_form.tsx +++ b/x-pack/plugins/canvas/public/expression_types/function_form.tsx @@ -6,65 +6,71 @@ */ import React, { ReactElement } from 'react'; -import { EuiCallOut } from '@elastic/eui'; +import { EuiButtonIcon, EuiCallOut, EuiFlexGroup, EuiFormRow, EuiToolTip } from '@elastic/eui'; import { isPlainObject, uniq, last, compact } from 'lodash'; import { Ast, fromExpression } from '@kbn/interpreter'; -import { ArgAddPopover } from '../components/arg_add_popover'; +import { ArgAddPopover, ArgOptions } from '../components/arg_add_popover'; // @ts-expect-error unconverted components import { SidebarSection } from '../components/sidebar/sidebar_section'; // @ts-expect-error unconverted components import { SidebarSectionTitle } from '../components/sidebar/sidebar_section_title'; import { BaseForm, BaseFormProps } from './base_form'; -import { Arg, ArgProps } from './arg'; -import { ArgType, ArgTypeDef, ExpressionType } from './types'; +import { Arg, ArgUiConfig, ResolvedArgProps } from './arg'; +import { ArgDisplayType, Args, ArgType, ArgTypeDef, ArgValue, ExpressionType } from './types'; +import { Model, Transform, View } from '../expression_types'; import { AssetType, CanvasElement, - DatatableColumn, ExpressionAstExpression, ExpressionContext, ExpressionValue, } from '../../types'; +import { buildDefaultArgExpr, getArgTypeDef } from '../lib/args'; -export interface DataArg { +export interface ArgWithValues { arg: Arg | undefined; - argValues?: Array; - skipRender?: boolean; - label?: 'string'; + argValues?: Array; } export type RenderArgData = BaseFormProps & { argType: ArgType; + removable?: boolean; + type?: ArgDisplayType; argTypeDef?: ArgTypeDef; - args: Record> | null; + args: Args; + id: string; + nestedFunctionsArgs: Args; argResolver: (ast: ExpressionAstExpression) => Promise; context?: ExpressionContext; contextExpression?: string; - expressionIndex: number; expressionType: ExpressionType; filterGroups: string[]; nextArgType?: ArgType; nextExpressionType?: ExpressionType; - onValueAdd: (argName: string, argValue: string | Ast | null) => () => void; + onValueAdd: (argName: string, argValue: ArgValue | null) => () => void; onValueChange: (argName: string, argIndex: number) => (value: string | Ast) => void; onValueRemove: (argName: string, argIndex: number) => () => void; + onContainerRemove: () => void; onAssetAdd: (type: AssetType['type'], content: AssetType['value']) => string; updateContext: (element?: CanvasElement) => void; typeInstance?: ExpressionType; - columns?: DatatableColumn[]; }; export type RenderArgProps = { typeInstance: FunctionForm; -} & RenderArgData; +} & RenderArgData & + ResolvedArgProps; export type FunctionFormProps = { - args?: ArgProps[]; + args?: ArgUiConfig[]; resolve?: (...args: any[]) => any; } & BaseFormProps; export class FunctionForm extends BaseForm { - args: ArgProps[]; + /** + * UI arguments config + */ + args: ArgUiConfig[]; resolve: (...args: any[]) => any; constructor(props: FunctionFormProps) { @@ -74,23 +80,21 @@ export class FunctionForm extends BaseForm { this.resolve = props.resolve || (() => ({})); } - renderArg(props: RenderArgProps, dataArg: DataArg) { - const { onValueRemove, onValueChange, ...passedProps } = props; - const { arg, argValues, skipRender, label } = dataArg; - const { argType, expressionIndex } = passedProps; - + renderArg(argWithValues: ArgWithValues, props: RenderArgProps) { + const { onValueRemove, onValueChange, onContainerRemove, id, ...passedProps } = props; + const { arg, argValues } = argWithValues; // TODO: show some information to the user than an argument was skipped - if (!arg || skipRender) { + if (!arg) { return null; } + const renderArgWithProps = ( argValue: string | Ast | null, valueIndex: number ): ReactElement | null => arg.render({ - key: `${argType}-${expressionIndex}-${arg.name}-${valueIndex}`, + key: `${id}.${arg.name}.${valueIndex}`, ...passedProps, - label, valueIndex, onValueChange: onValueChange(arg.name, valueIndex), onValueRemove: onValueRemove(arg.name, valueIndex), @@ -107,75 +111,166 @@ export class FunctionForm extends BaseForm { return argValues && argValues.map(renderArgWithProps); } - // TODO: Argument adding isn't very good, we should improve this UI - getAddableArg(props: RenderArgProps, dataArg: DataArg) { - const { onValueAdd } = props; - const { arg, argValues, skipRender } = dataArg; + getArgDescription({ name, displayName, help }: Arg | ArgTypeDef, argUiConfig: ArgUiConfig) { + return { + name: argUiConfig.name ?? name ?? '', + displayName: argUiConfig.displayName ?? displayName, + help: argUiConfig.help ?? help, + }; + } + + getAddableArgComplex( + argUiConfig: ArgUiConfig, + argValues: Array, + onValueAdd: RenderArgProps['onValueAdd'] + ) { + if (argValues && !argUiConfig.multi) { + return null; + } + + const argExpression = buildDefaultArgExpr(argUiConfig); + + const arg = getArgTypeDef(argUiConfig.argType); + if (!arg || argExpression === undefined) { + return null; + } + + const value = argExpression === null ? null : fromExpression(argExpression, 'argument'); + + return { + ...this.getArgDescription(arg, argUiConfig), + onValueAdd: onValueAdd(argUiConfig.name, value), + }; + } + + getAddableArgSimple( + argUiConfig: ArgUiConfig, + argValues: Array, + onValueAdd: RenderArgProps['onValueAdd'] + ) { + const arg = new Arg(argUiConfig); // skip arguments that aren't defined in the expression type schema - if (!arg || arg.required || skipRender) { + if (!arg || arg.required) { return null; } + if (argValues && !arg.multi) { return null; } - const value = arg.default == null ? null : fromExpression(arg.default, 'argument'); - return { arg, onValueAdd: onValueAdd(arg.name, value) }; + const value = + arg.default === null || arg.default === undefined + ? null + : fromExpression(arg.default, 'argument'); + return { ...this.getArgDescription(arg, argUiConfig), onValueAdd: onValueAdd(arg.name, value) }; } - resolveArg(...args: unknown[]) { - // basically a no-op placeholder - return {}; + getAddableArgs( + simpleFunctionArgs: RenderArgData['args'] = {}, + nestedFunctionsArgs: RenderArgData['nestedFunctionsArgs'] = {}, + onValueAdd: RenderArgData['onValueAdd'] + ) { + const simpleArgs = simpleFunctionArgs === null ? {} : simpleFunctionArgs; + const complexArgs = nestedFunctionsArgs === null ? {} : nestedFunctionsArgs; + const addableArgs = this.args.reduce((addable, arg) => { + if (!arg.type || arg.type === 'argument') { + const addableArg = this.getAddableArgSimple(arg, simpleArgs[arg.name], onValueAdd); + return addableArg ? [...addable, addableArg] : addable; + } + + const addableArg = this.getAddableArgComplex(arg, complexArgs[arg.name], onValueAdd); + return addableArg ? [...addable, addableArg] : addable; + }, []); + + return addableArgs; } - render(data: RenderArgData) { - if (!data) { - data = { - args: null, - argTypeDef: undefined, - } as RenderArgData; + getArgsWithValues(args: RenderArgData['args'], argTypeDef: RenderArgData['argTypeDef']) { + let argInstances: Arg[] = []; + if (this.isExpressionFunctionForm(argTypeDef)) { + const argNames = argTypeDef.args.map(({ name }) => name); + argInstances = this.args + .filter((arg) => argNames.includes(arg.name)) + .map((argSpec) => new Arg(argSpec)); + } else { + argInstances = this.args.map((argSpec) => new Arg(argSpec)); } - const { args, argTypeDef } = data; - // Don't instaniate these until render time, to give the registries a chance to populate. - const argInstances = this.args.map((argSpec) => new Arg(argSpec)); if (args === null || !isPlainObject(args)) { throw new Error(`Form "${this.name}" expects "args" object`); } - // get a mapping of arg values from the expression and from the renderable's schema - const argNames = uniq(argInstances.map((arg) => arg.name).concat(Object.keys(args))); - const dataArgs = argNames.map((argName) => { + const argNames = uniq(this.args.map((arg) => arg.name).concat(Object.keys(args))); + + return argNames.map((argName) => { const arg = argInstances.find((argument) => argument.name === argName); // if arg is not multi, only preserve the last value found // otherwise, leave the value alone (including if the arg is not defined) const isMulti = arg && arg.multi; const argValues = args[argName] && !isMulti ? [last(args[argName]) ?? null] : args[argName]; + return { arg, argValues }; }); + } - // props are passed to resolve and the returned object is mixed into the template props - const props = { ...data, ...this.resolve(data), typeInstance: this }; + resolveArg(...args: unknown[]) { + // basically a no-op placeholder + return {}; + } + + private isExpressionFunctionForm( + argTypeDef?: ArgTypeDef + ): argTypeDef is View | Model | Transform { + return ( + !!argTypeDef && + (argTypeDef instanceof View || argTypeDef instanceof Model || argTypeDef instanceof Transform) + ); + } + + render(data: RenderArgData = { args: null, argTypeDef: undefined } as RenderArgData) { + const { args, argTypeDef, nestedFunctionsArgs = {}, removable } = data; + const argsWithValues = this.getArgsWithValues(args, argTypeDef); try { + // props are passed to resolve and the returned object is mixed into the template props + const props: RenderArgProps = { ...data, resolved: this.resolve(data), typeInstance: this }; + // allow a hook to override the data args - const resolvedDataArgs = dataArgs.map((d) => ({ ...d, ...this.resolveArg(d, props) })); + const resolvedArgsWithValues = argsWithValues.map((argWithValues) => ({ + ...argWithValues, + ...this.resolveArg(argWithValues, props), + })); const argumentForms = compact( - resolvedDataArgs.map((dataArg) => this.renderArg(props, dataArg)) - ); - const addableArgs = compact( - resolvedDataArgs.map((dataArg) => this.getAddableArg(props, dataArg)) + resolvedArgsWithValues.map((argWithValues) => this.renderArg(argWithValues, props)) ); + const addableArgs = this.getAddableArgs(args, nestedFunctionsArgs, props.onValueAdd); if (!addableArgs.length && !argumentForms.length) { return null; } - return ( - {addableArgs.length === 0 ? null : } + + + {removable && ( + + { + props.onContainerRemove(); + }} + iconType="cross" + iconSize="s" + aria-label={'Remove'} + className="canvasArg__remove" + /> + + )} + {addableArgs.length === 0 ? null : } + + {argumentForms} diff --git a/x-pack/plugins/canvas/public/expression_types/types.ts b/x-pack/plugins/canvas/public/expression_types/types.ts index 704dae83c8a55..493d63c0871a4 100644 --- a/x-pack/plugins/canvas/public/expression_types/types.ts +++ b/x-pack/plugins/canvas/public/expression_types/types.ts @@ -5,12 +5,14 @@ * 2.0. */ +import { Ast } from '@kbn/interpreter'; import type { Transform } from './transform'; import type { View } from './view'; import type { Datasource } from './datasource'; import type { Model } from './model'; export type ArgType = string; +export type ArgDisplayType = 'model' | 'argument'; export type ArgTypeDef = View | Model | Transform | Datasource; @@ -20,3 +22,6 @@ export type { Arg } from './arg'; export type ExpressionType = View | Model | Transform; export type { RenderArgData } from './function_form'; + +export type ArgValue = string | Ast; +export type Args = Record> | null; diff --git a/x-pack/plugins/canvas/public/lib/args.ts b/x-pack/plugins/canvas/public/lib/args.ts new file mode 100644 index 0000000000000..01067ca00ce0b --- /dev/null +++ b/x-pack/plugins/canvas/public/lib/args.ts @@ -0,0 +1,71 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor 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 { fromExpression, toExpression } from '@kbn/interpreter'; +import { + modelRegistry, + viewRegistry, + transformRegistry, + Model, + View, + Transform, +} from '../expression_types'; +import { ArgUiConfig } from '../expression_types/arg'; + +type ArgType = Model | View | Transform; + +export function getArgTypeDef(fn: string): ArgType { + return modelRegistry.get(fn) || viewRegistry.get(fn) || transformRegistry.get(fn); +} + +const buildArg = (arg: ArgUiConfig, expr: string) => `${arg.name}=${formatExpr(expr)}`; + +const filterValidArguments = (args: Array) => + args.filter((arg) => arg !== undefined); + +const formatExpr = (expr: string) => { + if (isWithBrackets(expr)) { + const exprWithoutBrackets = removeFigureBrackets(expr); + return toExpression(fromExpression(exprWithoutBrackets)); + } + return expr; +}; + +const removeFigureBrackets = (expr: string) => { + if (isWithBrackets(expr)) { + return expr.substring(1, expr.length - 1); + } + return expr; +}; + +const isWithBrackets = (expr: string) => expr[0] === '{' && expr[expr.length - 1] === '}'; + +export function buildDefaultArgExpr(argUiConfig: ArgUiConfig): string | undefined { + const argConfig = getArgTypeDef(argUiConfig.argType); + if (argUiConfig.default) { + return buildArg(argUiConfig, argUiConfig.default); + } + if (!argConfig) { + return undefined; + } + + const defaultArgs = argConfig.args.map((arg) => { + const argConf = getArgTypeDef(arg.argType); + + if (arg.default && argConf && Array.isArray(argConf.args)) { + return buildArg(arg, arg.default); + } + return buildDefaultArgExpr(arg); + }); + + const validArgs = filterValidArguments(defaultArgs); + const defExpr = validArgs.length + ? `{${argUiConfig.argType} ${validArgs.join(' ')}}` + : `{${argUiConfig.argType}}`; + + return defExpr; +} diff --git a/x-pack/plugins/canvas/public/state/actions/elements.js b/x-pack/plugins/canvas/public/state/actions/elements.js index 4b14e17a2d105..bcc02c3cbc2cd 100644 --- a/x-pack/plugins/canvas/public/state/actions/elements.js +++ b/x-pack/plugins/canvas/public/state/actions/elements.js @@ -7,7 +7,7 @@ import { createAction } from 'redux-actions'; import immutable from 'object-path-immutable'; -import { get, pick, cloneDeep, without } from 'lodash'; +import { get, pick, cloneDeep, without, last } from 'lodash'; import { toExpression, safeElementFromExpression } from '@kbn/interpreter'; import { createThunk } from '../../lib/create_thunk'; import { @@ -30,8 +30,8 @@ const { actionsElements: strings } = ErrorStrings; const { set, del } = immutable; -export function getSiblingContext(state, elementId, checkIndex) { - const prevContextPath = [elementId, 'expressionContext', checkIndex]; +export function getSiblingContext(state, elementId, checkIndex, path = ['ast.chain']) { + const prevContextPath = [elementId, 'expressionContext', ...path, checkIndex]; const prevContextValue = getResolvedArgsValue(state, prevContextPath); // if a value is found, return it, along with the index it was found at @@ -49,7 +49,7 @@ export function getSiblingContext(state, elementId, checkIndex) { } // walk back up to find the closest cached context available - return getSiblingContext(state, elementId, prevContextIndex); + return getSiblingContext(state, elementId, prevContextIndex, path); } function getBareElement(el, includeId = false) { @@ -71,8 +71,9 @@ export const flushContextAfterIndex = createAction('flushContextAfterIndex'); export const fetchContext = createThunk( 'fetchContext', - ({ dispatch, getState }, index, element, fullRefresh = false) => { - const chain = get(element, 'ast.chain'); + ({ dispatch, getState }, index, element, fullRefresh = false, path) => { + const pathToTarget = [...path.split('.'), 'chain']; + const chain = get(element, pathToTarget); const invalidIndex = chain ? index >= chain.length : true; if (!element || !chain || invalidIndex) { @@ -81,22 +82,18 @@ export const fetchContext = createThunk( // cache context as the previous index const contextIndex = index - 1; - const contextPath = [element.id, 'expressionContext', contextIndex]; + const contextPath = [element.id, 'expressionContext', path, contextIndex]; // set context state to loading - dispatch( - args.setLoading({ - path: contextPath, - }) - ); + dispatch(args.setLoading({ path: contextPath })); // function to walk back up to find the closest context available - const getContext = () => getSiblingContext(getState(), element.id, contextIndex - 1); + const getContext = () => getSiblingContext(getState(), element.id, contextIndex - 1, [path]); const { index: prevContextIndex, context: prevContextValue } = fullRefresh !== true ? getContext() : {}; // modify the ast chain passed to the interpreter - const astChain = element.ast.chain.filter((exp, i) => { + const astChain = chain.filter((exp, i) => { if (prevContextValue != null) { return i > prevContextIndex && i < index; } @@ -104,22 +101,10 @@ export const fetchContext = createThunk( }); const variables = getWorkpadVariablesAsObject(getState()); - + const elementWithNewAst = set(element, pathToTarget, astChain); // get context data from a partial AST - return interpretAst( - { - ...element.ast, - chain: astChain, - }, - variables, - prevContextValue - ).then((value) => { - dispatch( - args.setValue({ - path: contextPath, - value, - }) - ); + return interpretAst(elementWithNewAst.ast, variables, prevContextValue).then((value) => { + dispatch(args.setValue({ path: contextPath, value })); }); } ); @@ -359,57 +344,71 @@ export const setAstAtIndex = createThunk( } ); -// index here is the top-level argument in the expression. for example in the expression -// demodata().pointseries().plot(), demodata is 0, pointseries is 1, and plot is 2 -// argIndex is the index in multi-value arguments, and is optional. excluding it will cause -// the entire argument from be set to the passed value -export const setArgumentAtIndex = createThunk('setArgumentAtIndex', ({ dispatch }, args) => { - const { index, argName, value, valueIndex, element, pageId } = args; - let selector = `ast.chain.${index}.arguments.${argName}`; +/** + * Updating the value of the given argument of the element's expression. + * @param {string} args.path - the path to the argument at the AST. Example: "ast.chain.0.arguments.some_arg.chain.1.arguments". + * @param {string} args.argName - the argument name at the AST. + * @param {number} args.valueIndex - the index of the value in the array of argument's values. + * @param {any} args.value - the value to be set to the AST. + * @param {any} args.element - the element, which contains the expression. + * @param {any} args.pageId - the workpad's page, where element is located. + */ +export const setArgument = createThunk('setArgument', ({ dispatch }, args) => { + const { argName, value, valueIndex, element, pageId, path } = args; + let selector = `${path}.${argName}`; if (valueIndex != null) { selector += '.' + valueIndex; } const newElement = set(element, selector, value); - const newAst = get(newElement, ['ast', 'chain', index]); - dispatch(setAstAtIndex(index, newAst, element, pageId)); + const pathTerms = path.split('.'); + const argumentChainPath = pathTerms.slice(0, 3); + const argumnentChainIndex = last(argumentChainPath); + const newAst = get(newElement, argumentChainPath); + dispatch(setAstAtIndex(argumnentChainIndex, newAst, element, pageId)); }); -// index here is the top-level argument in the expression. for example in the expression -// demodata().pointseries().plot(), demodata is 0, pointseries is 1, and plot is 2 -export const addArgumentValueAtIndex = createThunk( - 'addArgumentValueAtIndex', - ({ dispatch }, args) => { - const { index, argName, value, element } = args; - - const values = get(element, ['ast', 'chain', index, 'arguments', argName], []); - const newValue = values.concat(value); - - dispatch( - setArgumentAtIndex({ - ...args, - value: newValue, - }) - ); - } -); +/** + * Adding the value to the given argument of the element's expression. + * @param {string} args.path - the path to the argument at the AST. Example: "ast.chain.0.arguments.some_arg.chain.1.arguments". + * @param {string} args.argName - the argument name at the given path of the AST. + * @param {any} args.value - the value to be added to the array of argument's values at the AST. + * @param {any} args.element - the element, which contains the expression. + * @param {any} args.pageId - the workpad's page, where element is located. + */ +export const addArgumentValue = createThunk('addArgumentValue', ({ dispatch }, args) => { + const { argName, value, element, path } = args; + const values = get(element, [...path.split('.'), argName], []); + const newValue = values.concat(value); + dispatch( + setArgument({ + ...args, + value: newValue, + }) + ); +}); -// index here is the top-level argument in the expression. for example in the expression -// demodata().pointseries().plot(), demodata is 0, pointseries is 1, and plot is 2 -// argIndex is the index in multi-value arguments, and is optional. excluding it will remove -// the entire argument from the expresion export const deleteArgumentAtIndex = createThunk('deleteArgumentAtIndex', ({ dispatch }, args) => { - const { index, element, pageId, argName, argIndex } = args; - const curVal = get(element, ['ast', 'chain', index, 'arguments', argName]); - - const newElement = + const { element, pageId, argName, argIndex, path } = args; + const pathTerms = path.split('.'); + const argumentChainPath = pathTerms.slice(0, 3); + const argumnentChainIndex = last(argumentChainPath); + const curVal = get(element, [...pathTerms, argName]); + let newElement = argIndex != null && curVal.length > 1 ? // if more than one val, remove the specified val - del(element, `ast.chain.${index}.arguments.${argName}.${argIndex}`) + del(element, `${path}.${argName}.${argIndex}`) : // otherwise, remove the entire key - del(element, `ast.chain.${index}.arguments.${argName}`); + del(element, argName ? `${path}.${argName}` : path); + + const parentPath = pathTerms.slice(0, pathTerms.length - 1); + const updatedArgument = get(newElement, parentPath); + + if (Array.isArray(updatedArgument) && !updatedArgument.length) { + newElement = del(element, parentPath); + } - dispatch(setAstAtIndex(index, get(newElement, ['ast', 'chain', index]), element, pageId)); + dispatch(setAstAtIndex(argumnentChainIndex, get(newElement, argumentChainPath), element, pageId)); }); /* diff --git a/x-pack/plugins/canvas/public/state/actions/elements.test.js b/x-pack/plugins/canvas/public/state/actions/elements.test.js index f21567fd0677f..491f9716b0782 100644 --- a/x-pack/plugins/canvas/public/state/actions/elements.test.js +++ b/x-pack/plugins/canvas/public/state/actions/elements.test.js @@ -67,41 +67,48 @@ describe('getSiblingContext', () => { }, }; - it('should find context when a previous context value is found', () => { - // pointseries map - expect(getSiblingContext(state, 'element-foo', 2)).toEqual({ - index: 2, - context: { - type: 'pointseries', - columns: { - x: { type: 'string', role: 'dimension', expression: 'cost' }, - y: { type: 'string', role: 'dimension', expression: 'project' }, - color: { type: 'string', role: 'dimension', expression: 'project' }, + const stateWithDefaultPath = { + transient: { + resolvedArgs: { + 'element-foo': { + expressionContext: { + 'ast.chain': state.transient.resolvedArgs['element-foo'].expressionContext, + }, }, - rows: [ - { x: '200', y: 'tigers', color: 'tigers' }, - { x: '500', y: 'pandas', color: 'pandas' }, - ], }, - }); + }, + }; + + const expectedElement = { + index: 2, + context: { + type: 'pointseries', + columns: { + x: { type: 'string', role: 'dimension', expression: 'cost' }, + y: { type: 'string', role: 'dimension', expression: 'project' }, + color: { type: 'string', role: 'dimension', expression: 'project' }, + }, + rows: [ + { x: '200', y: 'tigers', color: 'tigers' }, + { x: '500', y: 'pandas', color: 'pandas' }, + ], + }, + }; + it('should find context when a previous context value is found', () => { + // pointseries map + expect(getSiblingContext(state, 'element-foo', 2, [])).toEqual(expectedElement); + expect(getSiblingContext(stateWithDefaultPath, 'element-foo', 2)).toEqual(expectedElement); + expect(getSiblingContext(stateWithDefaultPath, 'element-foo', 2, ['ast.chain'])).toEqual( + expectedElement + ); }); it('should find context when a previous context value is not found', () => { // pointseries map - expect(getSiblingContext(state, 'element-foo', 1000)).toEqual({ - index: 2, - context: { - type: 'pointseries', - columns: { - x: { type: 'string', role: 'dimension', expression: 'cost' }, - y: { type: 'string', role: 'dimension', expression: 'project' }, - color: { type: 'string', role: 'dimension', expression: 'project' }, - }, - rows: [ - { x: '200', y: 'tigers', color: 'tigers' }, - { x: '500', y: 'pandas', color: 'pandas' }, - ], - }, - }); + expect(getSiblingContext(state, 'element-foo', 1000, [])).toEqual(expectedElement); + expect(getSiblingContext(stateWithDefaultPath, 'element-foo', 1000)).toEqual(expectedElement); + expect(getSiblingContext(stateWithDefaultPath, 'element-foo', 1000, ['ast.chain'])).toEqual( + expectedElement + ); }); }); diff --git a/x-pack/plugins/canvas/public/state/selectors/workpad.ts b/x-pack/plugins/canvas/public/state/selectors/workpad.ts index a2c001d58cedd..ac94ccc562e88 100644 --- a/x-pack/plugins/canvas/public/state/selectors/workpad.ts +++ b/x-pack/plugins/canvas/public/state/selectors/workpad.ts @@ -456,7 +456,7 @@ export function getResolvedArgs(state: State, elementId: string, path: any): any return args; } -export function getSelectedResolvedArgs(state: State, path: any): any { +export function getSelectedResolvedArgs(state: State, path: Array): any { const elementId = getSelectedElementId(state); if (elementId) { @@ -464,8 +464,12 @@ export function getSelectedResolvedArgs(state: State, path: any): any { } } -export function getContextForIndex(state: State, index: number): ExpressionContext { - return getSelectedResolvedArgs(state, ['expressionContext', index - 1]); +export function getContextForIndex( + state: State, + parentPath: string, + index: number +): ExpressionContext { + return getSelectedResolvedArgs(state, ['expressionContext', parentPath, index - 1]); } export function getRefreshInterval(state: State): number { diff --git a/x-pack/plugins/cases/common/ui/types.ts b/x-pack/plugins/cases/common/ui/types.ts index 121d9aabb01fc..cfa91a9c57cab 100644 --- a/x-pack/plugins/cases/common/ui/types.ts +++ b/x-pack/plugins/cases/common/ui/types.ts @@ -250,7 +250,7 @@ export interface SignalEcs { } export type SignalEcsAAD = Exclude & { - rule?: Exclude & { uuid: string[] }; + rule?: Exclude & { parameters: Record; uuid: string[] }; building_block_type?: string[]; workflow_status?: string[]; }; diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/parse_interval.test.ts b/x-pack/plugins/data_visualizer/common/utils/parse_interval.test.ts similarity index 93% rename from x-pack/plugins/data_visualizer/public/application/common/util/parse_interval.test.ts rename to x-pack/plugins/data_visualizer/common/utils/parse_interval.test.ts index c259f82d12bfb..7d98680d98ddb 100644 --- a/x-pack/plugins/data_visualizer/public/application/common/util/parse_interval.test.ts +++ b/x-pack/plugins/data_visualizer/common/utils/parse_interval.test.ts @@ -5,9 +5,9 @@ * 2.0. */ -import { parseInterval } from '../../../../common/utils/parse_interval'; +import { parseInterval } from './parse_interval'; -describe('ML parse interval util', () => { +describe('parse interval util', () => { test('should correctly parse an interval containing a valid unit and value', () => { expect(parseInterval('1d')!.as('d')).toBe(1); expect(parseInterval('2y')!.as('y')).toBe(2); diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/utils.ts b/x-pack/plugins/data_visualizer/public/application/common/components/utils/utils.ts index 4396809da64bb..3dd889976eb11 100644 --- a/x-pack/plugins/data_visualizer/public/application/common/components/utils/utils.ts +++ b/x-pack/plugins/data_visualizer/public/application/common/components/utils/utils.ts @@ -6,7 +6,12 @@ */ import { isEqual } from 'lodash'; -import { AnalysisResult, InputOverrides, MB } from '../../../../../../file_upload/common'; +import { + AnalysisResult, + InputOverrides, + MB, + FILE_FORMATS, +} from '../../../../../../file_upload/common'; export const DEFAULT_LINES_TO_SAMPLE = 1000; const UPLOAD_SIZE_MB = 5; @@ -72,7 +77,7 @@ export function createUrlOverrides(overrides: InputOverrides, originalSettings: } } - if (formattedOverrides.format === '' && originalSettings.format === 'delimited') { + if (formattedOverrides.format === '' && originalSettings.format === FILE_FORMATS.DELIMITED) { if ( formattedOverrides.should_trim_fields !== '' || formattedOverrides.has_header_row !== '' || @@ -88,13 +93,19 @@ export function createUrlOverrides(overrides: InputOverrides, originalSettings: } } - if (formattedOverrides.format === '' && originalSettings.format === 'semi_structured_text') { + if ( + formattedOverrides.format === '' && + originalSettings.format === FILE_FORMATS.SEMI_STRUCTURED_TEXT + ) { if (formattedOverrides.grok_pattern !== '') { formattedOverrides.format = originalSettings.format; } } - if (formattedOverrides.format === 'ndjson' || originalSettings.format === 'ndjson') { + if ( + formattedOverrides.format === FILE_FORMATS.NDJSON || + originalSettings.format === FILE_FORMATS.NDJSON + ) { formattedOverrides.should_trim_fields = ''; formattedOverrides.has_header_row = ''; formattedOverrides.delimiter = ''; diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.test.ts b/x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.test.ts new file mode 100644 index 0000000000000..59678632ba6e6 --- /dev/null +++ b/x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.test.ts @@ -0,0 +1,65 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor 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 { getFieldsFromGrokPattern, replaceFieldInGrokPattern } from './grok_pattern'; + +const GROK_PATTERN = + '<%{INT:field}>%{INT:field2}: .*?: %{SYSLOGTIMESTAMP:timestamp}.*?: %.*?: .*? .*? .*? .*?%{IP:ipaddress}/%{INT:field3}, .*? .*?%{IP:ipaddress2}, .*?/%{BASE16NUM:field5} .*?/%{INT:field4}/%{NUMBER:field6}.*'; +const APACHE_LOG_PATTERN = '%{COMBINEDAPACHELOG}'; + +describe('grok pattern', () => { + it('should return the correct fields for normal grok pattern', () => { + const expectedFields = [ + { name: 'field', type: 'INT' }, + { name: 'field2', type: 'INT' }, + { name: 'timestamp', type: 'SYSLOGTIMESTAMP' }, + { name: 'ipaddress', type: 'IP' }, + { name: 'field3', type: 'INT' }, + { name: 'ipaddress2', type: 'IP' }, + { name: 'field5', type: 'BASE16NUM' }, + { name: 'field4', type: 'INT' }, + { name: 'field6', type: 'NUMBER' }, + ]; + const fields = getFieldsFromGrokPattern(GROK_PATTERN); + expect(fields).toEqual(expectedFields); + }); + + it('should return no fields for apache grok pattern', () => { + const fields = getFieldsFromGrokPattern(APACHE_LOG_PATTERN); + expect(fields).toEqual([]); + }); + + it('should rename the correct field', () => { + const index = 1; + const renamedField = 'field2_renamed'; + + const expectedGrokPattern = `<%{INT:field}>%{INT:${renamedField}}: .*?: %{SYSLOGTIMESTAMP:timestamp}.*?: %.*?: .*? .*? .*? .*?%{IP:ipaddress}/%{INT:field3}, .*? .*?%{IP:ipaddress2}, .*?/%{BASE16NUM:field5} .*?/%{INT:field4}/%{NUMBER:field6}.*`; + + const grokPattern = replaceFieldInGrokPattern(GROK_PATTERN, renamedField, index); + expect(grokPattern).toEqual(expectedGrokPattern); + }); + + it('should not rename the field if incorrect index is supplied', () => { + const index = 2; // wrong index + const renamedField = 'field2_renamed'; + + const expectedGrokPattern = `<%{INT:field}>%{INT:${renamedField}}: .*?: %{SYSLOGTIMESTAMP:timestamp}.*?: %.*?: .*? .*? .*? .*?%{IP:ipaddress}/%{INT:field3}, .*? .*?%{IP:ipaddress2}, .*?/%{BASE16NUM:field5} .*?/%{INT:field4}/%{NUMBER:field6}.*`; + + const grokPattern = replaceFieldInGrokPattern(GROK_PATTERN, renamedField, index); + expect(grokPattern).not.toEqual(expectedGrokPattern); + }); + + it('should not rename apache grok fields', () => { + const index = 1; + const renamedField = 'field2_renamed'; + + const expectedGrokPattern = APACHE_LOG_PATTERN; + + const grokPattern = replaceFieldInGrokPattern(APACHE_LOG_PATTERN, renamedField, index); + expect(grokPattern).toEqual(expectedGrokPattern); + }); +}); diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.ts b/x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.ts new file mode 100644 index 0000000000000..d039574f0535b --- /dev/null +++ b/x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.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. + */ + +const ALIAS_PATTERN = /^%{\w*?}$/; +const MATCH_FIELDS = /(%{\w*?:\w*?})/; +const MATCH_AND_CAPTURE_FIELDS = /%{(\w*?):(\w*?)}/; + +function isAliasPattern(pattern: string) { + // check to see if the pattern is a single alias pattern, + // e.g. %{COMBINEDAPACHELOG} + return (pattern.match(ALIAS_PATTERN) ?? []).length === 1; +} + +function splitGrok(grokPattern: string, filter: boolean = false) { + const grokList = grokPattern.split(MATCH_FIELDS); + return filter === true ? grokList.filter((d) => d[0] === '%' && d[1] === '{') : grokList; +} + +function getGrokField(field: string) { + if (field[0] !== '%' && field[1] !== '{') { + return { valid: false, type: '', name: '' }; + } + + const match = field.match(MATCH_AND_CAPTURE_FIELDS); + if (match === null) { + return { valid: false, type: '', name: '' }; + } + + const [, type, name] = match; + return { valid: true, type, name }; +} + +export function getFieldsFromGrokPattern(grokPattern: string) { + if (isAliasPattern(grokPattern)) { + return []; + } + + return splitGrok(grokPattern, true).map((d) => { + const { valid, name, type } = getGrokField(d); + if (valid === false) { + return { name: d, type }; + } + return { name, type }; + }); +} + +export function replaceFieldInGrokPattern(grokPattern: string, fieldName: string, index: number) { + if (isAliasPattern(grokPattern)) { + return grokPattern; + } + + let count = 0; + return splitGrok(grokPattern) + .map((d) => { + const { valid, type } = getGrokField(d); + if (valid) { + if (count === index) { + count++; + const newField = `%{${type}:${fieldName}}`; + const { valid: validNew } = getGrokField(newField); + // don't replace if new field is not valid + return validNew ? newField : d; + } + count++; + } + return d; + }) + .join(''); +} diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx b/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx index 6d06f3dee530a..b00266e5d3580 100644 --- a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx +++ b/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx @@ -9,7 +9,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; import React, { FC } from 'react'; import { EuiTitle, EuiSpacer, EuiDescriptionList } from '@elastic/eui'; -import { FindFileStructureResponse } from '../../../../../../file_upload/common'; +import { FindFileStructureResponse, FILE_FORMATS } from '../../../../../../file_upload/common'; export const AnalysisSummary: FC<{ results: FindFileStructureResponse }> = ({ results }) => { const items = createDisplayItems(results); @@ -60,7 +60,7 @@ function createDisplayItems(results: FindFileStructureResponse) { description: results.format, }); - if (results.format === 'delimited') { + if (results.format === FILE_FORMATS.DELIMITED) { items.push({ title: ( ({ label: o })); } export function getFormatOptions() { - return getOptions(FORMAT_OPTIONS); + return getOptions(Object.values(FILE_FORMATS)); } export function getTimestampFormatOptions() { diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js b/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js index 69f755889edd0..84e207dd5b01e 100644 --- a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js +++ b/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js @@ -23,6 +23,8 @@ import { EuiTextArea, } from '@elastic/eui'; +import { FILE_FORMATS } from '../../../../../../file_upload/common'; + import { getFormatOptions, getTimestampFormatOptions, @@ -32,6 +34,16 @@ import { } from './options'; import { isTimestampFormatValid } from './overrides_validation'; import { withKibana } from '../../../../../../../../src/plugins/kibana_react/public'; +import { replaceFieldInGrokPattern } from '../../../common/util/grok_pattern'; +import { + convertDelimiter, + convertDelimiterBack, + getColumnNames, + getGrokFieldNames, + isLinesToSampleValid, + LINES_TO_SAMPLE_VALUE_MIN, + LINES_TO_SAMPLE_VALUE_MAX, +} from './overrides_utils'; import { TIMESTAMP_OPTIONS, CUSTOM_DROPDOWN_OPTION } from './options/option_lists'; @@ -39,10 +51,6 @@ const formatOptions = getFormatOptions(); const timestampFormatOptions = getTimestampFormatOptions(); const delimiterOptions = getDelimiterOptions(); const quoteOptions = getQuoteOptions(); -// const charsetOptions = getCharsetOptions(); - -const LINES_TO_SAMPLE_VALUE_MIN = 3; -const LINES_TO_SAMPLE_VALUE_MAX = 1000000; class OverridesUI extends Component { constructor(props) { @@ -93,11 +101,14 @@ class OverridesUI extends Component { const { newColumnNames, originalColumnNames } = getColumnNames(columnNames, originalSettings); + const newGrokFieldNames = getGrokFieldNames(grokPattern, originalSettings.grokPattern); + const overrides = { charset: charset === undefined ? originalSettings.charset : charset, format: format === undefined ? originalSettings.format : format, hasHeaderRow: hasHeaderRow === undefined ? originalSettings.hasHeaderRow : hasHeaderRow, columnNames: newColumnNames, + grokFieldNames: newGrokFieldNames, delimiter: d, quote: quote === undefined ? originalSettings.quote : quote, shouldTrimFields: @@ -112,6 +123,7 @@ class OverridesUI extends Component { return { originalColumnNames, + originalGrokFieldNames: newGrokFieldNames, customDelimiter: customD === undefined ? '' : customD, customTimestampFormat: '', linesToSampleValid: true, @@ -224,8 +236,17 @@ class OverridesUI extends Component { this.setOverride({ columnNames }); }; + onGrokPatternFieldChange = (e, i) => { + const name = e.target.value; + const newGrokPattern = replaceFieldInGrokPattern(this.state.overrides.grokPattern, name, i); + const newGrokFieldNames = getGrokFieldNames(newGrokPattern, this.state.overrides.grokPattern); + this.setOverride({ grokPattern: newGrokPattern, grokFieldNames: newGrokFieldNames }); + }; + grokPatternChange = (e) => { - this.setOverride({ grokPattern: e.target.value }); + const newGrokPattern = e.target.value; + const newGrokFieldNames = getGrokFieldNames(newGrokPattern, this.state.overrides.grokPattern); + this.setOverride({ grokPattern: newGrokPattern, grokFieldNames: newGrokFieldNames }); }; onLinesToSampleChange = (e) => { @@ -247,6 +268,7 @@ class OverridesUI extends Component { customDelimiter, customTimestampFormat, originalColumnNames, + originalGrokFieldNames, linesToSampleValid, timestampFormatError, timestampFormatValid, @@ -263,6 +285,7 @@ class OverridesUI extends Component { shouldTrimFields, // charset, columnNames, + grokFieldNames, grokPattern, linesToSample, } = overrides; @@ -319,7 +342,7 @@ class OverridesUI extends Component { isClearable={false} /> - {format === 'delimited' && ( + {format === FILE_FORMATS.DELIMITED && ( )} - {format === 'semi_structured_text' && ( + {format === FILE_FORMATS.SEMI_STRUCTURED_TEXT && ( */} - {format === 'delimited' && originalColumnNames.length > 0 && ( + {format === FILE_FORMATS.DELIMITED && originalColumnNames.length > 0 && ( @@ -499,6 +522,29 @@ class OverridesUI extends Component { ))} )} + + {format === FILE_FORMATS.SEMI_STRUCTURED_TEXT && originalGrokFieldNames.length > 0 && ( + + + +

+ +

+
+ + {originalGrokFieldNames.map((f, i) => ( + + this.onGrokPatternFieldChange(e, i, grokPattern)} + /> + + ))} +
+ )} ); } @@ -517,75 +563,3 @@ function getSortedFields(fields) { .map((f) => ({ label: f })) .sort((a, b) => a.label.localeCompare(b.label, undefined, { numeric: true })); } - -// Some delimiter characters cannot be used as items in select list. -// so show a textual description of the character instead. -function convertDelimiter(d) { - switch (d) { - case ',': - return { - delimiter: 'comma', - }; - case '\t': - return { - delimiter: 'tab', - }; - case ';': - return { - delimiter: 'semicolon', - }; - case '|': - return { - delimiter: 'pipe', - }; - case ' ': - return { - delimiter: 'space', - }; - - default: - return { - delimiter: CUSTOM_DROPDOWN_OPTION, - customDelimiter: d, - }; - } -} - -// Convert the delimiter textual descriptions back to their real characters. -function convertDelimiterBack(delimiter, customDelimiter) { - switch (delimiter) { - case 'comma': - return ','; - case 'tab': - return '\t'; - case 'semicolon': - return ';'; - case 'pipe': - return '|'; - case 'space': - return ' '; - case CUSTOM_DROPDOWN_OPTION: - return customDelimiter; - - default: - return undefined; - } -} - -function getColumnNames(columnNames, originalSettings) { - const newColumnNames = - columnNames === undefined && originalSettings.columnNames !== undefined - ? [...originalSettings.columnNames] - : columnNames; - - const originalColumnNames = newColumnNames !== undefined ? [...newColumnNames] : []; - - return { - newColumnNames, - originalColumnNames, - }; -} - -function isLinesToSampleValid(linesToSample) { - return linesToSample > LINES_TO_SAMPLE_VALUE_MIN && linesToSample <= LINES_TO_SAMPLE_VALUE_MAX; -} diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js b/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js index 03679a2a65e65..aac12c386f346 100644 --- a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js +++ b/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js @@ -7,6 +7,7 @@ import { mountWithIntl, shallowWithIntl } from '@kbn/test/jest'; import React from 'react'; +import { FILE_FORMATS } from '../../../../../../file_upload/common/constants'; import { Overrides } from './overrides'; @@ -48,8 +49,8 @@ describe('Overrides', () => { }); test('render overrides and trigger a state change', () => { - const FORMAT_1 = 'delimited'; - const FORMAT_2 = 'ndjson'; + const FORMAT_1 = FILE_FORMATS.DELIMITED; + const FORMAT_2 = FILE_FORMATS.NDJSON; const props = getProps(); props.overrides.format = FORMAT_1; diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts b/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts new file mode 100644 index 0000000000000..5375c56edc2a0 --- /dev/null +++ b/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts @@ -0,0 +1,96 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor 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 { getFieldsFromGrokPattern } from '../../../common/util/grok_pattern'; +import { CUSTOM_DROPDOWN_OPTION } from './options/option_lists'; + +export const LINES_TO_SAMPLE_VALUE_MIN = 3; +export const LINES_TO_SAMPLE_VALUE_MAX = 1000000; + +// Some delimiter characters cannot be used as items in select list. +// so show a textual description of the character instead. +export function convertDelimiter(d: string) { + switch (d) { + case ',': + return { + delimiter: 'comma', + }; + case '\t': + return { + delimiter: 'tab', + }; + case ';': + return { + delimiter: 'semicolon', + }; + case '|': + return { + delimiter: 'pipe', + }; + case ' ': + return { + delimiter: 'space', + }; + + default: + return { + delimiter: CUSTOM_DROPDOWN_OPTION, + customDelimiter: d, + }; + } +} + +// Convert the delimiter textual descriptions back to their real characters. +export function convertDelimiterBack(delimiter: string, customDelimiter: string) { + switch (delimiter) { + case 'comma': + return ','; + case 'tab': + return '\t'; + case 'semicolon': + return ';'; + case 'pipe': + return '|'; + case 'space': + return ' '; + case CUSTOM_DROPDOWN_OPTION: + return customDelimiter; + + default: + return undefined; + } +} + +export function getColumnNames(columnNames: string | undefined, originalSettings: any) { + const newColumnNames = + columnNames === undefined && originalSettings.columnNames !== undefined + ? [...originalSettings.columnNames] + : columnNames; + + const originalColumnNames = newColumnNames !== undefined ? [...newColumnNames] : []; + + return { + newColumnNames, + originalColumnNames, + }; +} + +export function getGrokFieldNames(grokPattern: string, originalGrokPattern: string) { + if (originalGrokPattern === undefined) { + return []; + } + + if (grokPattern === undefined) { + return getFieldsFromGrokPattern(originalGrokPattern).map((f) => f.name); + } + + return getFieldsFromGrokPattern(grokPattern).map((f) => f.name); +} + +export function isLinesToSampleValid(linesToSample: number) { + return linesToSample > LINES_TO_SAMPLE_VALUE_MIN && linesToSample <= LINES_TO_SAMPLE_VALUE_MAX; +} diff --git a/x-pack/plugins/encrypted_saved_objects/server/crypto/index.ts b/x-pack/plugins/encrypted_saved_objects/server/crypto/index.ts index 532702f213192..c4eec06ae5877 100644 --- a/x-pack/plugins/encrypted_saved_objects/server/crypto/index.ts +++ b/x-pack/plugins/encrypted_saved_objects/server/crypto/index.ts @@ -8,6 +8,7 @@ export type { EncryptedSavedObjectTypeRegistration, SavedObjectDescriptor, + AttributeToEncrypt, } from './encrypted_saved_objects_service'; export { EncryptedSavedObjectsService, descriptorToArray } from './encrypted_saved_objects_service'; export { EncryptionError, EncryptionErrorOperation } from './encryption_error'; diff --git a/x-pack/plugins/encrypted_saved_objects/server/index.ts b/x-pack/plugins/encrypted_saved_objects/server/index.ts index 873c8c0d52cb5..fef302739b7ad 100644 --- a/x-pack/plugins/encrypted_saved_objects/server/index.ts +++ b/x-pack/plugins/encrypted_saved_objects/server/index.ts @@ -10,11 +10,19 @@ import type { PluginConfigDescriptor, PluginInitializerContext } from 'src/core/ import { ConfigSchema } from './config'; import { EncryptedSavedObjectsPlugin } from './plugin'; -export type { EncryptedSavedObjectTypeRegistration } from './crypto'; -export { EncryptionError } from './crypto'; +export type { EncryptedSavedObjectTypeRegistration, AttributeToEncrypt } from './crypto'; +export { EncryptionError, EncryptionErrorOperation } from './crypto'; export type { EncryptedSavedObjectsPluginSetup, EncryptedSavedObjectsPluginStart } from './plugin'; -export type { EncryptedSavedObjectsClient } from './saved_objects'; -export type { IsMigrationNeededPredicate } from './create_migration'; +export type { + EncryptedSavedObjectsClient, + EncryptedSavedObjectsClientOptions, + ClientInstanciator, +} from './saved_objects'; +export type { + IsMigrationNeededPredicate, + CreateEncryptedSavedObjectsMigrationFn, + CreateEncryptedSavedObjectsMigrationFnOpts, +} from './create_migration'; export const config: PluginConfigDescriptor = { schema: ConfigSchema, diff --git a/x-pack/plugins/enterprise_search/common/__mocks__/initial_app_data.ts b/x-pack/plugins/enterprise_search/common/__mocks__/initial_app_data.ts index bbb08d0ac2b66..dd6dd58d02f70 100644 --- a/x-pack/plugins/enterprise_search/common/__mocks__/initial_app_data.ts +++ b/x-pack/plugins/enterprise_search/common/__mocks__/initial_app_data.ts @@ -8,7 +8,6 @@ export const DEFAULT_INITIAL_APP_DATA = { kibanaVersion: '7.16.0', enterpriseSearchVersion: '7.16.0', - errorConnectingMessage: '', readOnlyMode: false, searchOAuth: { clientId: 'someUID', diff --git a/x-pack/plugins/enterprise_search/common/types/index.ts b/x-pack/plugins/enterprise_search/common/types/index.ts index 17b3eb17d31bd..57fe3f3807783 100644 --- a/x-pack/plugins/enterprise_search/common/types/index.ts +++ b/x-pack/plugins/enterprise_search/common/types/index.ts @@ -17,7 +17,6 @@ import { export interface InitialAppData { enterpriseSearchVersion?: string; kibanaVersion?: string; - errorConnectingMessage?: string; readOnlyMode?: boolean; searchOAuth?: SearchOAuth; configuredLimits?: ConfiguredLimits; diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/http_logic.mock.ts b/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/http_logic.mock.ts index e60f5a1a8ba12..24dcf601442ad 100644 --- a/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/http_logic.mock.ts +++ b/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/http_logic.mock.ts @@ -9,7 +9,7 @@ import { httpServiceMock } from 'src/core/public/mocks'; export const mockHttpValues = { http: httpServiceMock.createSetupContract(), - errorConnecting: false, + errorConnectingMessage: '', readOnlyMode: false, }; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/error_connecting/error_connecting.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/error_connecting/error_connecting.test.tsx index be17bfaeb7127..e1c9ea53c0c0b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/error_connecting/error_connecting.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/error_connecting/error_connecting.test.tsx @@ -15,10 +15,9 @@ import { ErrorConnecting } from './'; describe('ErrorConnecting', () => { it('renders', () => { - const wrapper = shallow(); + const wrapper = shallow(); const errorStatePrompt = wrapper.find(ErrorStatePrompt); expect(errorStatePrompt).toHaveLength(1); - expect(errorStatePrompt.prop('errorConnectingMessage')).toEqual('I am an error'); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/error_connecting/error_connecting.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/error_connecting/error_connecting.tsx index a01fb264935c1..84dcb07a07474 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/error_connecting/error_connecting.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/error_connecting/error_connecting.tsx @@ -13,16 +13,14 @@ import { ErrorStatePrompt } from '../../../shared/error_state'; import { SetAppSearchChrome as SetPageChrome } from '../../../shared/kibana_chrome'; import { SendAppSearchTelemetry as SendTelemetry } from '../../../shared/telemetry'; -export const ErrorConnecting: React.FC<{ errorConnectingMessage?: string }> = ({ - errorConnectingMessage, -}) => { +export const ErrorConnecting: React.FC = () => { return ( <> - + ); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/index.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/index.test.tsx index 2ffb1f80a3d32..9e45f833162c9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/index.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/index.test.tsx @@ -56,16 +56,15 @@ describe('AppSearch', () => { }); it('renders ErrorConnecting when Enterprise Search is unavailable', () => { - setMockValues({ errorConnecting: true }); - const wrapper = shallow(); + setMockValues({ errorConnectingMessage: '502 Bad Gateway' }); + const wrapper = shallow(); const errorConnection = wrapper.find(ErrorConnecting); expect(errorConnection).toHaveLength(1); - expect(errorConnection.prop('errorConnectingMessage')).toEqual('I am an error'); }); it('renders AppSearchConfigured when config.host is set & available', () => { - setMockValues({ errorConnecting: false, config: { host: 'some.url' } }); + setMockValues({ errorConnectingMessage: '', config: { host: 'some.url' } }); const wrapper = shallow(); expect(wrapper.find(AppSearchConfigured)).toHaveLength(1); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/index.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/index.tsx index 605d82d2af601..a7197cdca94f1 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/index.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/index.tsx @@ -44,8 +44,8 @@ import { export const AppSearch: React.FC = (props) => { const { config } = useValues(KibanaLogic); - const { errorConnecting } = useValues(HttpLogic); - const { enterpriseSearchVersion, kibanaVersion, errorConnectingMessage } = props; + const { errorConnectingMessage } = useValues(HttpLogic); + const { enterpriseSearchVersion, kibanaVersion } = props; const incompatibleVersions = isVersionMismatch(enterpriseSearchVersion, kibanaVersion); const showView = () => { @@ -58,8 +58,8 @@ export const AppSearch: React.FC = (props) => { kibanaVersion={kibanaVersion} /> ); - } else if (errorConnecting) { - return ; + } else if (errorConnectingMessage) { + return ; } return )} />; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search/components/error_connecting/error_connecting.test.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search/components/error_connecting/error_connecting.test.tsx index be17bfaeb7127..e1c9ea53c0c0b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search/components/error_connecting/error_connecting.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search/components/error_connecting/error_connecting.test.tsx @@ -15,10 +15,9 @@ import { ErrorConnecting } from './'; describe('ErrorConnecting', () => { it('renders', () => { - const wrapper = shallow(); + const wrapper = shallow(); const errorStatePrompt = wrapper.find(ErrorStatePrompt); expect(errorStatePrompt).toHaveLength(1); - expect(errorStatePrompt.prop('errorConnectingMessage')).toEqual('I am an error'); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search/components/error_connecting/error_connecting.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search/components/error_connecting/error_connecting.tsx index f9ffd6c992426..979847b4cf1c6 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search/components/error_connecting/error_connecting.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search/components/error_connecting/error_connecting.tsx @@ -12,12 +12,10 @@ import { KibanaPageTemplate } from '../../../../../../../../src/plugins/kibana_r import { ErrorStatePrompt } from '../../../shared/error_state'; import { SendEnterpriseSearchTelemetry as SendTelemetry } from '../../../shared/telemetry'; -export const ErrorConnecting: React.FC<{ errorConnectingMessage?: string }> = ({ - errorConnectingMessage, -}) => ( +export const ErrorConnecting: React.FC = () => ( - + ); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search/index.test.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search/index.test.tsx index a366057797925..4aef227582d31 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search/index.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search/index.test.tsx @@ -23,7 +23,7 @@ import { EnterpriseSearch } from './'; describe('EnterpriseSearch', () => { it('renders the Setup Guide and Product Selector', () => { setMockValues({ - errorConnecting: false, + errorConnectingMessage: '', config: { host: 'localhost' }, }); const wrapper = shallow(); @@ -34,19 +34,18 @@ describe('EnterpriseSearch', () => { it('renders the error connecting prompt only if host is configured', () => { setMockValues({ - errorConnecting: true, + errorConnectingMessage: '502 Bad Gateway', config: { host: 'localhost' }, }); - const wrapper = shallow(); + const wrapper = shallow(); expect(wrapper.find(VersionMismatchPage)).toHaveLength(0); const errorConnecting = wrapper.find(ErrorConnecting); expect(errorConnecting).toHaveLength(1); - expect(errorConnecting.prop('errorConnectingMessage')).toEqual('I am an error'); expect(wrapper.find(ProductSelector)).toHaveLength(0); setMockValues({ - errorConnecting: true, + errorConnectingMessage: '502 Bad Gateway', config: { host: '' }, }); rerender(wrapper); @@ -58,7 +57,7 @@ describe('EnterpriseSearch', () => { it('renders the version error message if versions mismatch and the host is configured', () => { setMockValues({ - errorConnecting: false, + errorConnectingMessage: '', config: { host: 'localhost' }, }); const wrapper = shallow( diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search/index.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search/index.tsx index ded5909a0fa43..5f1c7b5072be2 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search/index.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search/index.tsx @@ -26,12 +26,11 @@ export const EnterpriseSearch: React.FC = ({ workplaceSearch, enterpriseSearchVersion, kibanaVersion, - errorConnectingMessage, }) => { - const { errorConnecting } = useValues(HttpLogic); + const { errorConnectingMessage } = useValues(HttpLogic); const { config } = useValues(KibanaLogic); - const showErrorConnecting = !!(config.host && errorConnecting); + const showErrorConnecting = !!(config.host && errorConnectingMessage); const incompatibleVersions = !!( config.host && isVersionMismatch(enterpriseSearchVersion, kibanaVersion) ); @@ -46,7 +45,7 @@ export const EnterpriseSearch: React.FC = ({ /> ); } else if (showErrorConnecting) { - return ; + return ; } return ; diff --git a/x-pack/plugins/enterprise_search/public/applications/index.tsx b/x-pack/plugins/enterprise_search/public/applications/index.tsx index de112dd60863f..75c4131f2bf6c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/index.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/index.tsx @@ -40,7 +40,7 @@ export const renderApp = ( { params, core, plugins }: { params: AppMountParameters; core: CoreStart; plugins: PluginsStart }, { config, data }: { config: ClientConfigType; data: ClientData } ) => { - const { publicUrl, errorConnecting, ...initialData } = data; + const { publicUrl, errorConnectingMessage, ...initialData } = data; externalUrl.enterpriseSearchUrl = publicUrl || config.host || ''; resetContext({ createStore: true }); @@ -65,7 +65,7 @@ export const renderApp = ( }); const unmountHttpLogic = mountHttpLogic({ http: core.http, - errorConnecting, + errorConnectingMessage, readOnlyMode: initialData.readOnlyMode, }); const unmountFlashMessagesLogic = mountFlashMessagesLogic(); diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/error_state/error_state_prompt.test.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/error_state/error_state_prompt.test.tsx index 2d21ea7c61444..d40d3fd1b6637 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/error_state/error_state_prompt.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/error_state/error_state_prompt.test.tsx @@ -17,12 +17,18 @@ describe('ErrorState', () => { const values = { config: {}, cloud: { isCloudEnabled: true }, + errorConnectingMessage: '502 Bad Gateway', }; beforeAll(() => { setMockValues(values); }); + it('renders an error message', () => { + const wrapper = mountWithIntl(); + expect(wrapper.text()).toContain('502 Bad Gateway'); + }); + it('renders a cloud specific error on cloud deployments', () => { setMockValues({ ...values, @@ -44,9 +50,4 @@ describe('ErrorState', () => { expect(wrapper.find('[data-test-subj="CloudError"]').exists()).toBe(false); expect(wrapper.find('[data-test-subj="SelfManagedError"]').exists()).toBe(true); }); - - it('renders an error message', () => { - const wrapper = mountWithIntl(); - expect(wrapper.text()).toContain('I am an error'); - }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/error_state/error_state_prompt.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/error_state/error_state_prompt.tsx index fea43b902993d..c160ba5b2f837 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/error_state/error_state_prompt.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/error_state/error_state_prompt.tsx @@ -15,14 +15,14 @@ import { FormattedMessage } from '@kbn/i18n-react'; import { CloudSetup } from '../../../../../cloud/public'; +import { HttpLogic } from '../http'; import { KibanaLogic } from '../kibana'; import { EuiButtonTo, EuiLinkTo } from '../react_router_helpers'; import './error_state_prompt.scss'; -export const ErrorStatePrompt: React.FC<{ errorConnectingMessage?: string }> = ({ - errorConnectingMessage, -}) => { +export const ErrorStatePrompt: React.FC = () => { + const { errorConnectingMessage } = useValues(HttpLogic); const { config, cloud } = useValues(KibanaLogic); const isCloudEnabled = cloud.isCloudEnabled; diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.test.ts index 8e1b59096b180..4151cd67882ff 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.test.ts @@ -9,44 +9,53 @@ import { resetContext } from 'kea'; import { httpServiceMock } from 'src/core/public/mocks'; -import { HttpLogic, mountHttpLogic } from './http_logic'; +import { HttpLogic, HttpValues, mountHttpLogic } from './http_logic'; describe('HttpLogic', () => { const mockHttp = httpServiceMock.createSetupContract(); - const mount = () => mountHttpLogic({ http: mockHttp }); + const mount = (values: Partial = {}) => mountHttpLogic({ http: mockHttp, ...values }); beforeEach(() => { jest.clearAllMocks(); resetContext({}); }); + it('has the correct defaults', () => { + mount(); + + expect(HttpLogic.values).toEqual({ + http: mockHttp, + httpInterceptors: expect.any(Array), + errorConnectingMessage: '', + readOnlyMode: false, + }); + }); + describe('mounts', () => { it('sets values from props', () => { mountHttpLogic({ http: mockHttp, - errorConnecting: true, + errorConnectingMessage: '502 Bad Gateway', readOnlyMode: true, }); expect(HttpLogic.values).toEqual({ http: mockHttp, httpInterceptors: expect.any(Array), - errorConnecting: true, + errorConnectingMessage: '502 Bad Gateway', readOnlyMode: true, }); }); }); - describe('setErrorConnecting()', () => { - it('sets errorConnecting value', () => { - mount(); - expect(HttpLogic.values.errorConnecting).toEqual(false); - - HttpLogic.actions.setErrorConnecting(true); - expect(HttpLogic.values.errorConnecting).toEqual(true); + describe('onConnectionError', () => { + it('sets the error connecting flag and related message ', () => { + mount({ + errorConnectingMessage: '', + }); - HttpLogic.actions.setErrorConnecting(false); - expect(HttpLogic.values.errorConnecting).toEqual(false); + HttpLogic.actions.onConnectionError('500 Error'); + expect(HttpLogic.values.errorConnectingMessage).toEqual('500 Error'); }); }); @@ -88,28 +97,33 @@ describe('HttpLogic', () => { beforeEach(() => { interceptedResponse = mockHttp.intercept.mock.calls[0][0].responseError; - jest.spyOn(HttpLogic.actions, 'setErrorConnecting'); + jest.spyOn(HttpLogic.actions, 'onConnectionError'); }); - it('sets errorConnecting to true if the response header is true', async () => { + it('sets the connection error message if the response header is true', async () => { const httpResponse = { - response: { url: '/internal/app_search/engines', headers: { get: () => 'true' } }, + response: { + url: '/internal/app_search/engines', + headers: { get: () => 'true' }, + status: 500, + statusText: 'Error', + }, }; await expect(interceptedResponse(httpResponse)).rejects.toEqual(httpResponse); - expect(HttpLogic.actions.setErrorConnecting).toHaveBeenCalledWith(true); + expect(HttpLogic.actions.onConnectionError).toHaveBeenCalledWith('500 Error'); }); - it('sets errorConnecting to false if the response header is false', async () => { + it('takes no action if the response header is false', async () => { const httpResponse = { response: { - url: '/internal/workplace_search/overview', + url: '/internal/app_search/engines', headers: { get: () => 'false' }, }, }; await expect(interceptedResponse(httpResponse)).rejects.toEqual(httpResponse); - expect(HttpLogic.actions.setErrorConnecting).toHaveBeenCalledWith(false); + expect(HttpLogic.actions.onConnectionError).not.toHaveBeenCalled(); }); describe('isEnterpriseSearchApi check', () => { @@ -118,7 +132,7 @@ describe('HttpLogic', () => { afterEach(async () => { // Should always re-reject the promise and not call setErrorConnecting await expect(interceptedResponse(httpResponse)).rejects.toEqual(httpResponse); - expect(HttpLogic.actions.setErrorConnecting).not.toHaveBeenCalled(); + expect(HttpLogic.actions.onConnectionError).not.toHaveBeenCalled(); }); it('does not handle non-Enterprise Search API calls', async () => { diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.ts b/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.ts index d18408a78b0d8..9b9600e2ce8f4 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.ts @@ -11,16 +11,17 @@ import { HttpSetup, HttpInterceptorResponseError, HttpResponse } from 'src/core/ import { ERROR_CONNECTING_HEADER, READ_ONLY_MODE_HEADER } from '../../../../common/constants'; -interface HttpValues { +export interface HttpValues { http: HttpSetup; httpInterceptors: Function[]; - errorConnecting: boolean; + errorConnectingMessage: string; readOnlyMode: boolean; } + interface HttpActions { initializeHttpInterceptors(): void; + onConnectionError(errorConnectingMessage: string): { errorConnectingMessage: string }; setHttpInterceptors(httpInterceptors: Function[]): { httpInterceptors: Function[] }; - setErrorConnecting(errorConnecting: boolean): { errorConnecting: boolean }; setReadOnlyMode(readOnlyMode: boolean): { readOnlyMode: boolean }; } @@ -28,8 +29,8 @@ export const HttpLogic = kea>({ path: ['enterprise_search', 'http_logic'], actions: { initializeHttpInterceptors: () => null, + onConnectionError: (errorConnectingMessage) => ({ errorConnectingMessage }), setHttpInterceptors: (httpInterceptors) => ({ httpInterceptors }), - setErrorConnecting: (errorConnecting) => ({ errorConnecting }), setReadOnlyMode: (readOnlyMode) => ({ readOnlyMode }), }, reducers: ({ props }) => ({ @@ -40,10 +41,10 @@ export const HttpLogic = kea>({ setHttpInterceptors: (_, { httpInterceptors }) => httpInterceptors, }, ], - errorConnecting: [ - props.errorConnecting || false, + errorConnectingMessage: [ + props.errorConnectingMessage || '', { - setErrorConnecting: (_, { errorConnecting }) => errorConnecting, + onConnectionError: (_, { errorConnectingMessage }) => errorConnectingMessage, }, ], readOnlyMode: [ @@ -61,11 +62,9 @@ export const HttpLogic = kea>({ responseError: async (httpResponse) => { if (isEnterpriseSearchApi(httpResponse)) { const hasErrorConnecting = httpResponse.response!.headers.get(ERROR_CONNECTING_HEADER); - if (hasErrorConnecting === 'true') { - actions.setErrorConnecting(true); - } else { - actions.setErrorConnecting(false); + const { status, statusText } = httpResponse.response!; + actions.onConnectionError(`${status} ${statusText}`); } } @@ -112,7 +111,7 @@ export const HttpLogic = kea>({ */ interface HttpLogicProps { http: HttpSetup; - errorConnecting?: boolean; + errorConnectingMessage?: string; readOnlyMode?: boolean; } export const mountHttpLogic = (props: HttpLogicProps) => { diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.test.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.test.tsx index c8d3079b033c0..9725abcd6eba7 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.test.tsx @@ -88,14 +88,38 @@ describe('InlineEditableTable', () => { const reorderableTable = wrapper.find(ReorderableTable); expect(reorderableTable.exists()).toBe(true); expect(reorderableTable.prop('items')).toEqual(items); - expect(wrapper.find('[data-test-subj="actionButton"]').children().text()).toEqual('New row'); + expect( + wrapper.find('[data-test-subj="inlineEditableTableActionButton"]').children().text() + ).toEqual('New row'); + }); + + it('renders a title if one is provided', () => { + const wrapper = shallow( + Some Description

} /> + ); + expect(wrapper.find('[data-test-subj="inlineEditableTableTitle"]').exists()).toBe(true); + }); + + it('does not render a title if none is provided', () => { + const wrapper = shallow( + Some Description

} + /> + ); + expect(wrapper.find('[data-test-subj="inlineEditableTableTitle"]').exists()).toBe(false); }); it('renders a description if one is provided', () => { const wrapper = shallow( Some Description

} /> ); - expect(wrapper.find('[data-test-subj="description"]').exists()).toBe(true); + expect(wrapper.find('[data-test-subj="inlineEditableTableDescription"]').exists()).toBe(true); + }); + + it('renders no description if none is provided', () => { + const wrapper = shallow(); + expect(wrapper.find('[data-test-subj="inlineEditableTableDescription"]').exists()).toBe(false); }); it('can specify items in the table that are uneditable', () => { @@ -117,9 +141,9 @@ describe('InlineEditableTable', () => { const wrapper = shallow( ); - expect(wrapper.find('[data-test-subj="actionButton"]').children().text()).toEqual( - 'Add a new row custom text' - ); + expect( + wrapper.find('[data-test-subj="inlineEditableTableActionButton"]').children().text() + ).toEqual('Add a new row custom text'); }); describe('when a user is editing an unsaved item', () => { diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.tsx index 3c670264dff22..3ccd5f15e29e9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.tsx @@ -18,7 +18,6 @@ import { ReorderableTable } from '../reorderable_table'; import { ItemWithAnID } from '../types'; -import { EMPTY_ITEM } from './constants'; import { getUpdatedColumns } from './get_updated_columns'; import { InlineEditableTableLogic } from './inline_editable_table_logic'; import { FormErrors, InlineEditableTableColumn } from './types'; @@ -103,16 +102,16 @@ export const InlineEditableTableContents = ({ const isEditingItem = (item: Item) => item.id === editingItemId; const isActivelyEditing = (item: Item) => isEditing && isEditingItem(item); + const emptyItem = { id: null } as Item; const displayedItems = isEditingUnsavedItem ? uneditableItems - ? [EMPTY_ITEM, ...items] - : [...items, EMPTY_ITEM] + ? [emptyItem, ...items] + : [...items, emptyItem] : items; const updatedColumns = getUpdatedColumns({ columns, - // TODO We shouldn't need this cast here - displayedItems: displayedItems as Item[], + displayedItems, isActivelyEditing, canRemoveLastItem, isLoading, @@ -124,14 +123,16 @@ export const InlineEditableTableContents = ({ <> - -

{title}

-
+ {!!title && ( + +

{title}

+
+ )} {!!description && ( <> ({ disabled={isEditing} onClick={editNewItem} color="success" - data-test-subj="actionButton" + data-test-subj="inlineEditableTableActionButton" > {addButtonText || i18n.translate('xpack.enterpriseSearch.inlineEditableTable.newRowButtonLabel', { @@ -160,8 +161,7 @@ export const InlineEditableTableContents = ({ ({ diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.test.ts index 5a8a724076223..4b0f6b83ba5d0 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.test.ts @@ -27,14 +27,14 @@ describe('InlineEditableTableLogic', () => { const { mount } = new LogicMounter(InlineEditableTableLogic); const DEFAULT_VALUES = { - editingItemId: null, editingItemValue: null, fieldErrors: {}, - isEditing: false, rowErrors: [], }; const SELECTORS = { + editingItemId: null, + isEditing: false, doesEditingItemValueContainEmptyProperty: false, isEditingUnsavedItem: false, }; @@ -102,8 +102,6 @@ describe('InlineEditableTableLogic', () => { describe('editNewItem', () => { it('updates state to reflect a new item being edited', () => { const logic = mountLogic({ - isEditing: false, - editingItemId: 1, editingItemValue: { id: 1, foo: 'some foo', @@ -113,8 +111,6 @@ describe('InlineEditableTableLogic', () => { logic.actions.editNewItem(); expect(logicValuesWithoutSelectors(logic)).toEqual({ ...DEFAULT_VALUES, - isEditing: true, - editingItemId: null, editingItemValue: { // Note that new values do not yet have an id foo: '', @@ -127,8 +123,6 @@ describe('InlineEditableTableLogic', () => { describe('editExistingItem', () => { it('updates state to reflect the item that was passed being edited', () => { const logic = mountLogic({ - isEditing: false, - editingItemId: 1, editingItemValue: { id: 1, foo: '', @@ -142,8 +136,6 @@ describe('InlineEditableTableLogic', () => { }); expect(logicValuesWithoutSelectors(logic)).toEqual({ ...DEFAULT_VALUES, - isEditing: true, - editingItemId: 2, editingItemValue: { id: 2, foo: 'existing foo', @@ -208,11 +200,66 @@ describe('InlineEditableTableLogic', () => { }); describe('selectors', () => { + describe('isEditing', () => { + it('is true when the user is currently editing an item', () => { + const logic = mountLogic({ + editingItemValue: { + id: null, + foo: '', + }, + }); + + expect(logic.values.isEditing).toBe(true); + }); + + it('is false when the user is NOT currently editing an item', () => { + const logic = mountLogic({ + editingItemValue: null, + }); + + expect(logic.values.isEditing).toBe(false); + }); + }); + + describe('editingItemId', () => { + it('equals the id of the currently edited item', () => { + const logic = mountLogic({ + editingItemValue: { + id: 1, + foo: '', + }, + }); + + expect(logic.values.editingItemId).toBe(1); + }); + + it('equals null if the currently edited item is a new unsaved item', () => { + const logic = mountLogic({ + editingItemValue: { + id: null, + foo: '', + }, + }); + + expect(logic.values.editingItemId).toBe(null); + }); + + it('is null when the user is NOT currently editing an item', () => { + const logic = mountLogic({ + editingItemValue: null, + }); + + expect(logic.values.editingItemId).toBe(null); + }); + }); + describe('isEditingUnsavedItem', () => { it('is true when the user is currently editing an unsaved item', () => { const logic = mountLogic({ - isEditing: true, - editingItemId: null, + editingItemValue: { + id: null, + foo: '', + }, }); expect(logic.values.isEditingUnsavedItem).toBe(true); diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.ts b/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.ts index 04b5ceb998851..d62d894d18ef5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.ts @@ -35,7 +35,6 @@ const getUnsavedItemId = () => null; const doesIdMatchUnsavedId = (idToCheck: number) => idToCheck === getUnsavedItemId(); interface InlineEditableTableValues { - // TODO This could likely be a selector isEditing: boolean; // TODO we should editingItemValue have editingItemValue and editingItemId should be a selector editingItemId: Item['id'] | null; // editingItem is null when the user is editing a new but not saved item @@ -81,22 +80,6 @@ export const InlineEditableTableLogic = kea ({ rowErrors }), }), reducers: ({ props: { columns } }) => ({ - isEditing: [ - false, - { - doneEditing: () => false, - editNewItem: () => true, - editExistingItem: () => true, - }, - ], - editingItemId: [ - null, - { - doneEditing: () => null, - editNewItem: () => getUnsavedItemId(), - editExistingItem: (_, { item }) => item.id, - }, - ], editingItemValue: [ null, { @@ -124,6 +107,11 @@ export const InlineEditableTableLogic = kea ({ + editingItemId: [ + () => [selectors.editingItemValue], + (editingItemValue) => editingItemValue?.id ?? null, + ], + isEditing: [() => [selectors.editingItemValue], (editingItemValue) => !!editingItemValue], isEditingUnsavedItem: [ () => [selectors.isEditing, selectors.editingItemId], (isEditing, editingItemId) => { diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/index.test.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/index.test.tsx index 9fa2c211f1667..2a159430711f6 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/index.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/index.test.tsx @@ -49,13 +49,12 @@ describe('WorkplaceSearch', () => { }); it('renders ErrorState', () => { - setMockValues({ errorConnecting: true }); + setMockValues({ errorConnectingMessage: '502 Bad Gateway' }); - const wrapper = shallow(); + const wrapper = shallow(); const errorState = wrapper.find(ErrorState); expect(errorState).toHaveLength(1); - expect(errorState.prop('errorConnectingMessage')).toEqual('I am an error'); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/index.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/index.tsx index 41ad1670019ba..67e8126f6799d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/index.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/index.tsx @@ -50,8 +50,8 @@ import { SetupGuide } from './views/setup_guide'; export const WorkplaceSearch: React.FC = (props) => { const { config } = useValues(KibanaLogic); - const { errorConnecting } = useValues(HttpLogic); - const { enterpriseSearchVersion, kibanaVersion, errorConnectingMessage } = props; + const { errorConnectingMessage } = useValues(HttpLogic); + const { enterpriseSearchVersion, kibanaVersion } = props; const incompatibleVersions = isVersionMismatch(enterpriseSearchVersion, kibanaVersion); if (!config.host) { @@ -63,8 +63,8 @@ export const WorkplaceSearch: React.FC = (props) => { kibanaVersion={kibanaVersion} /> ); - } else if (errorConnecting) { - return ; + } else if (errorConnectingMessage) { + return ; } return ; diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.tsx index c302cc16a40cd..209cddb32081c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.tsx @@ -118,7 +118,7 @@ export const BlockedWindowItem: React.FC = ({ blockedWindow, index }) => options={syncOptions} onChange={(value) => setBlockedTimeWindow(index, 'jobType', value)} itemClassName="blockedWindowSelectItem" - popoverClassName="blockedWindowSelectPopover" + popoverProps={{ className: 'blockedWindowSelectPopover' }} />
diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/error_state/error_state.test.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/error_state/error_state.test.tsx index e4e14b19f1894..f3060db430071 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/error_state/error_state.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/error_state/error_state.test.tsx @@ -15,10 +15,9 @@ import { ErrorState } from './'; describe('ErrorState', () => { it('renders', () => { - const wrapper = shallow(); + const wrapper = shallow(); const prompt = wrapper.find(ErrorStatePrompt); expect(prompt).toHaveLength(1); - expect(prompt.prop('errorConnectingMessage')).toEqual('I am an error'); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/error_state/error_state.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/error_state/error_state.tsx index 493c37189ceb7..83ac3a26c44e5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/error_state/error_state.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/error_state/error_state.tsx @@ -15,9 +15,7 @@ import { SetWorkplaceSearchChrome as SetPageChrome } from '../../../shared/kiban import { SendWorkplaceSearchTelemetry as SendTelemetry } from '../../../shared/telemetry'; import { ViewContentHeader } from '../../components/shared/view_content_header'; -export const ErrorState: React.FC<{ errorConnectingMessage?: string }> = ({ - errorConnectingMessage, -}) => { +export const ErrorState: React.FC = () => { return ( <> @@ -25,7 +23,7 @@ export const ErrorState: React.FC<{ errorConnectingMessage?: string }> = ({ - + ); diff --git a/x-pack/plugins/enterprise_search/public/plugin.ts b/x-pack/plugins/enterprise_search/public/plugin.ts index 9a8ff64649f0e..bca1197d8bb5b 100644 --- a/x-pack/plugins/enterprise_search/public/plugin.ts +++ b/x-pack/plugins/enterprise_search/public/plugin.ts @@ -38,7 +38,6 @@ export interface ClientConfigType { } export interface ClientData extends InitialAppData { publicUrl?: string; - errorConnecting?: boolean; errorConnectingMessage?: string; } @@ -195,7 +194,6 @@ export class EnterpriseSearchPlugin implements Plugin { this.data = await http.get('/internal/enterprise_search/config_data'); this.hasInitialized = true; } catch (e) { - this.data.errorConnecting = true; this.data.errorConnectingMessage = `${e.res.status} ${e.message}`; } } diff --git a/x-pack/plugins/enterprise_search/server/lib/enterprise_search_config_api.test.ts b/x-pack/plugins/enterprise_search/server/lib/enterprise_search_config_api.test.ts index 0a0a097da10aa..f6e3280a8abb2 100644 --- a/x-pack/plugins/enterprise_search/server/lib/enterprise_search_config_api.test.ts +++ b/x-pack/plugins/enterprise_search/server/lib/enterprise_search_config_api.test.ts @@ -120,7 +120,6 @@ describe('callEnterpriseSearchConfigAPI', () => { expect(await callEnterpriseSearchConfigAPI(mockDependencies)).toEqual({ ...DEFAULT_INITIAL_APP_DATA, - errorConnectingMessage: undefined, kibanaVersion: '1.0.0', access: { hasAppSearchAccess: true, diff --git a/x-pack/plugins/file_upload/common/constants.ts b/x-pack/plugins/file_upload/common/constants.ts index 977f969647658..ce1c13e18c803 100644 --- a/x-pack/plugins/file_upload/common/constants.ts +++ b/x-pack/plugins/file_upload/common/constants.ts @@ -17,3 +17,10 @@ export const FILE_SIZE_DISPLAY_FORMAT = '0,0.[0] b'; // Value to use in the Elasticsearch index mapping meta data to identify the // index as having been created by the ML File Data Visualizer. export const INDEX_META_DATA_CREATED_BY = 'file-data-visualizer'; + +export const FILE_FORMATS = { + DELIMITED: 'delimited', + NDJSON: 'ndjson', + SEMI_STRUCTURED_TEXT: 'semi_structured_text', + // XML: 'xml', +}; diff --git a/x-pack/plugins/file_upload/public/importer/importer_factory.ts b/x-pack/plugins/file_upload/public/importer/importer_factory.ts index 8d9432c697fe1..0ad05676244be 100644 --- a/x-pack/plugins/file_upload/public/importer/importer_factory.ts +++ b/x-pack/plugins/file_upload/public/importer/importer_factory.ts @@ -8,6 +8,7 @@ import { MessageImporter } from './message_importer'; import { NdjsonImporter } from './ndjson_importer'; import { ImportFactoryOptions } from './types'; +import { FILE_FORMATS } from '../../common/constants'; export function importerFactory(format: string, options: ImportFactoryOptions) { switch (format) { @@ -15,10 +16,10 @@ export function importerFactory(format: string, options: ImportFactoryOptions) { // file into messages, then sending these to ES for further processing // in an ingest pipeline in documents containing a single "message" // field (like Filebeat does) - case 'delimited': - case 'semi_structured_text': + case FILE_FORMATS.DELIMITED: + case FILE_FORMATS.SEMI_STRUCTURED_TEXT: return new MessageImporter(options); - case 'ndjson': + case FILE_FORMATS.NDJSON: return new NdjsonImporter(); default: return; diff --git a/x-pack/plugins/fleet/.storybook/context/index.tsx b/x-pack/plugins/fleet/.storybook/context/index.tsx index 5fdf7011e97ae..68348a4d8d07a 100644 --- a/x-pack/plugins/fleet/.storybook/context/index.tsx +++ b/x-pack/plugins/fleet/.storybook/context/index.tsx @@ -116,6 +116,7 @@ export const StorybookContext: React.FC<{ storyContext?: StoryContext }> = ({ } as unknown as FleetConfigType; const extensions = {}; + const theme$ = EMPTY; const kibanaVersion = '1.2.3'; const setHeaderActionMenu = useCallback(() => {}, []); @@ -129,6 +130,7 @@ export const StorybookContext: React.FC<{ storyContext?: StoryContext }> = ({ startServices, extensions, setHeaderActionMenu, + theme$, }} > {storyChildren} diff --git a/x-pack/plugins/fleet/public/applications/fleet/app.tsx b/x-pack/plugins/fleet/public/applications/fleet/app.tsx index c9ccd797b2eec..9bf481ecf094a 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/app.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/app.tsx @@ -18,6 +18,8 @@ import useObservable from 'react-use/lib/useObservable'; import type { TopNavMenuData } from 'src/plugins/navigation/public'; +import { KibanaThemeProvider } from '../../../../../../src/plugins/kibana_react/public'; + import type { FleetConfigType, FleetStartServices } from '../../plugin'; import { KibanaContextProvider, @@ -209,10 +211,20 @@ export const FleetAppContext: React.FC<{ history: AppMountParameters['history']; kibanaVersion: string; extensions: UIExtensionsStorage; + theme$: AppMountParameters['theme$']; /** For testing purposes only */ routerHistory?: History; }> = memo( - ({ children, startServices, config, history, kibanaVersion, extensions, routerHistory }) => { + ({ + children, + startServices, + config, + history, + kibanaVersion, + extensions, + routerHistory, + theme$, + }) => { const isDarkMode = useObservable(startServices.uiSettings.get$('theme:darkMode')); return ( @@ -222,17 +234,22 @@ export const FleetAppContext: React.FC<{ - - - - - - {children} - - - - - + + + + + + + {children} + + + + + + diff --git a/x-pack/plugins/fleet/public/applications/fleet/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/index.tsx index 8942c13a0a69d..9c6319a92b2ee 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/index.tsx @@ -38,6 +38,7 @@ interface FleetAppProps { kibanaVersion: string; extensions: UIExtensionsStorage; setHeaderActionMenu: AppMountParameters['setHeaderActionMenu']; + theme$: AppMountParameters['theme$']; } const FleetApp = ({ basepath, @@ -47,6 +48,7 @@ const FleetApp = ({ kibanaVersion, extensions, setHeaderActionMenu, + theme$, }: FleetAppProps) => { return ( @@ -66,7 +69,7 @@ const FleetApp = ({ export function renderApp( startServices: FleetStartServices, - { element, appBasePath, history, setHeaderActionMenu }: AppMountParameters, + { element, appBasePath, history, setHeaderActionMenu, theme$ }: AppMountParameters, config: FleetConfigType, kibanaVersion: string, extensions: UIExtensionsStorage @@ -80,6 +83,7 @@ export function renderApp( kibanaVersion={kibanaVersion} extensions={extensions} setHeaderActionMenu={setHeaderActionMenu} + theme$={theme$} />, element ); diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx index c731936c775e5..5d71ef6c7a703 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx @@ -146,6 +146,8 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { inputs: [], }); + const [wasNewAgentPolicyCreated, setWasNewAgentPolicyCreated] = useState(false); + // Validation state const [validationResults, setValidationResults] = useState(); const [hasAgentPolicyError, setHasAgentPolicyError] = useState(false); @@ -276,6 +278,10 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { }, [packagePolicy, agentCount]); const doOnSaveNavigation = useRef(true); + const handleInlineAgentPolicyCreate = useCallback(() => { + setWasNewAgentPolicyCreated(true); + }, []); + // Detect if user left page useEffect(() => { return () => { @@ -295,12 +301,16 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { return; } + const packagePolicyPath = getPath('policy_details', { policyId: packagePolicy.policy_id }); + if (routeState?.onSaveNavigateTo && policy) { const [appId, options] = routeState.onSaveNavigateTo; if (options?.path) { const pathWithQueryString = appendOnSaveQueryParamsToPath({ - path: options.path, + // In cases where we created a new agent policy inline, we need to override the initial `path` + // value and navigate to the newly-created agent policy instead + path: wasNewAgentPolicyCreated ? packagePolicyPath : options.path, policy, mappingOptions: routeState.onSaveQueryParams, paramsToApply, @@ -310,10 +320,10 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { navigateToApp(...routeState.onSaveNavigateTo); } } else { - history.push(getPath('policy_details', { policyId: agentPolicy!.id })); + history.push(packagePolicyPath); } }, - [agentPolicy, getPath, navigateToApp, history, routeState] + [packagePolicy.policy_id, getPath, navigateToApp, history, routeState, wasNewAgentPolicyCreated] ); const onSubmit = useCallback(async () => { @@ -400,9 +410,16 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { agentPolicy={agentPolicy} updateAgentPolicy={updateAgentPolicy} setHasAgentPolicyError={setHasAgentPolicyError} + onNewAgentPolicyCreate={handleInlineAgentPolicyCreate} /> ), - [packageInfo, queryParamsPolicyId, agentPolicy, updateAgentPolicy] + [ + packageInfo, + queryParamsPolicyId, + agentPolicy, + updateAgentPolicy, + handleInlineAgentPolicyCreate, + ] ); const extensionView = useUIExtension(packagePolicy.package?.name ?? '', 'package-policy-create'); diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/step_select_agent_policy.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/step_select_agent_policy.tsx index c46ef8893fa40..3355fce7ff2a6 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/step_select_agent_policy.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/step_select_agent_policy.tsx @@ -45,12 +45,14 @@ export const StepSelectAgentPolicy: React.FunctionComponent<{ agentPolicy: AgentPolicy | undefined; updateAgentPolicy: (agentPolicy: AgentPolicy | undefined) => void; setHasAgentPolicyError: (hasError: boolean) => void; + onNewAgentPolicyCreate: () => void; }> = ({ packageInfo, agentPolicy, updateAgentPolicy, defaultAgentPolicyId, setHasAgentPolicyError, + onNewAgentPolicyCreate, }) => { const { isReady: isFleetReady } = useFleetStatus(); @@ -203,6 +205,7 @@ export const StepSelectAgentPolicy: React.FunctionComponent<{ onClose={(newAgentPolicy?: AgentPolicy) => { setIsCreateAgentPolicyFlyoutOpen(false); if (newAgentPolicy) { + onNewAgentPolicyCreate(); refreshAgentPolicies(); setSelectedPolicyId(newAgentPolicy.id); } diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/index.tsx new file mode 100644 index 0000000000000..8d9c17f1f53f3 --- /dev/null +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/index.tsx @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { HeaderLeftContent } from './left_content'; +export { HeaderRightContent } from './right_content'; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/left_content.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/left_content.tsx new file mode 100644 index 0000000000000..768d8f054532a --- /dev/null +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/left_content.tsx @@ -0,0 +1,97 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor 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 { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { + EuiFlexGroup, + EuiIconTip, + EuiFlexItem, + EuiButtonEmpty, + EuiTitle, + EuiSpacer, + EuiText, +} from '@elastic/eui'; + +import { useLink } from '../../../../../hooks'; +import type { AgentPolicy } from '../../../../../types'; +import { Loading } from '../../../../../components'; + +interface HeaderLeftContentProps { + isLoading: boolean; + policyId: string; + agentPolicy?: AgentPolicy | null; +} + +export const HeaderLeftContent: React.FunctionComponent = ({ + isLoading, + policyId, + agentPolicy, +}) => { + const { getHref } = useLink(); + + return ( + + + + + + + + {isLoading ? ( + + ) : ( + + + +

+ {(agentPolicy && agentPolicy.name) || ( + + )} +

+
+
+ {agentPolicy?.is_managed && ( + + + + )} +
+ )} +
+ + {agentPolicy && agentPolicy.description ? ( + + + + {agentPolicy.description} + + + ) : null} +
+ ); +}; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.stories.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.stories.tsx new file mode 100644 index 0000000000000..d59b00abc311f --- /dev/null +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.stories.tsx @@ -0,0 +1,70 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor 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 { HeaderRightContent as Component } from './right_content'; + +export default { + component: Component, + title: 'Sections/Fleet/AgentPolicyDetails/Header/RightContent', +}; + +export const HeaderRightContent = () => { + return ( +
+ {}} + isAddAgentHelpPopoverOpen={false} + setIsAddAgentHelpPopoverOpen={() => {}} + agentPolicy={ + { + id: 'test123', + revision: 1, + updated_at: new Date().toISOString(), + package_policies: ['test1', 'test2'], + } as any + } + agentStatus={ + { + total: 0, + } as any + } + /> +
+ ); +}; + +export const HeaderRightContentWithManagedPolicy = () => { + return ( +
+ {}} + isAddAgentHelpPopoverOpen={false} + setIsAddAgentHelpPopoverOpen={() => {}} + agentPolicy={ + { + id: 'test123', + revision: 1, + updated_at: new Date().toISOString(), + package_policies: ['test1', 'test2'], + is_managed: true, + } as any + } + agentStatus={ + { + total: 0, + } as any + } + /> +
+ ); +}; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.tsx new file mode 100644 index 0000000000000..06f999cb596c0 --- /dev/null +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.tsx @@ -0,0 +1,170 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor 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 { i18n } from '@kbn/i18n'; +import { FormattedDate, FormattedMessage } from '@kbn/i18n-react'; +import styled from 'styled-components'; +import { useHistory } from 'react-router-dom'; +import { + EuiFlexGroup, + EuiI18nNumber, + EuiFlexItem, + EuiDescriptionList, + EuiDescriptionListTitle, + EuiDescriptionListDescription, + EuiLink, +} from '@elastic/eui'; + +import { useLink } from '../../../../../hooks'; +import type { AgentPolicy, GetAgentStatusResponse } from '../../../../../types'; +import { AgentPolicyActionMenu, LinkedAgentCount } from '../../../components'; +import { AddAgentHelpPopover } from '../../../../../components'; + +export interface HeaderRightContentProps { + isLoading: boolean; + policyId: string; + agentPolicy?: AgentPolicy | null; + agentStatus?: GetAgentStatusResponse['results']; + addAgent: () => void; + onCancelEnrollment?: () => void; + isAddAgentHelpPopoverOpen: boolean; + setIsAddAgentHelpPopoverOpen: (state: boolean) => void; +} + +const Divider = styled.div` + width: 0; + height: 100%; + border-left: ${(props) => props.theme.eui.euiBorderThin}; +`; + +export const HeaderRightContent: React.FunctionComponent = ({ + isLoading, + policyId, + agentPolicy, + agentStatus, + addAgent, + onCancelEnrollment, + isAddAgentHelpPopoverOpen, + setIsAddAgentHelpPopoverOpen, +}) => { + const { getPath } = useLink(); + const history = useHistory(); + + if (!agentPolicy) { + return null; + } + const addAgentLink = ( + + + + ); + + return ( + + {[ + { + label: i18n.translate('xpack.fleet.policyDetails.summary.revision', { + defaultMessage: 'Revision', + }), + content: agentPolicy?.revision ?? 0, + }, + { isDivider: true }, + { + label: i18n.translate('xpack.fleet.policyDetails.summary.integrations', { + defaultMessage: 'Integrations', + }), + content: ( + + ), + }, + { isDivider: true }, + { + label: i18n.translate('xpack.fleet.policyDetails.summary.usedBy', { + defaultMessage: 'Agents', + }), + content: + agentStatus && agentStatus!.total ? ( + + ) : agentPolicy?.is_managed ? ( + + ) : ( + { + setIsAddAgentHelpPopoverOpen(false); + }} + /> + ), + }, + { isDivider: true }, + { + label: i18n.translate('xpack.fleet.policyDetails.summary.lastUpdated', { + defaultMessage: 'Last updated on', + }), + content: + (agentPolicy && ( + + )) || + '', + }, + { isDivider: true }, + { + content: agentPolicy && ( + { + history.push(getPath('policy_details', { policyId: newAgentPolicy.id })); + }} + onCancelEnrollment={onCancelEnrollment} + /> + ), + }, + ].map((item, index) => ( + + {item.isDivider ?? false ? ( + + ) : item.label ? ( + + + {item.label} + + + {item.content} + + + ) : ( + item.content + )} + + ))} + + ); +}; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/index.ts b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/index.ts index 9b40fb39ec912..2d1a4020bb9a9 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/index.ts +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/index.ts @@ -8,3 +8,4 @@ export { PackagePoliciesTable } from './package_policies/package_policies_table'; export { PackagePoliciesView } from './package_policies'; export { SettingsView } from './settings'; +export * from './header'; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/index.tsx index b7aca72e8979c..e684e8f05c8f6 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/index.tsx @@ -5,27 +5,12 @@ * 2.0. */ -import React, { useMemo, useState } from 'react'; -import { Redirect, useRouteMatch, Switch, Route, useHistory, useLocation } from 'react-router-dom'; +import React, { useMemo, useState, useCallback } from 'react'; +import { Redirect, useRouteMatch, Switch, Route, useLocation } from 'react-router-dom'; import { i18n } from '@kbn/i18n'; -import { FormattedMessage, FormattedDate } from '@kbn/i18n-react'; -import { - EuiButtonEmpty, - EuiDescriptionList, - EuiDescriptionListDescription, - EuiDescriptionListTitle, - EuiFlexGroup, - EuiFlexItem, - EuiI18nNumber, - EuiIconTip, - EuiLink, - EuiPortal, - EuiSpacer, - EuiText, - EuiTitle, -} from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { EuiPortal } from '@elastic/eui'; import type { Props as EuiTabProps } from '@elastic/eui/src/components/tabs/tab'; -import styled from 'styled-components'; import type { AgentPolicy, AgentPolicyDetailsDeployAgentAction } from '../../../types'; import { FLEET_ROUTING_PATHS } from '../../../constants'; @@ -38,25 +23,22 @@ import { useFleetStatus, useIntraAppState, } from '../../../hooks'; -import { Loading, Error, AgentEnrollmentFlyout, AddAgentHelpPopover } from '../../../components'; +import { Loading, Error, AgentEnrollmentFlyout } from '../../../components'; import { WithHeaderLayout } from '../../../layouts'; -import { LinkedAgentCount, AgentPolicyActionMenu } from '../components'; import { useGetAgentStatus, AgentStatusRefreshContext } from './hooks'; -import { PackagePoliciesView, SettingsView } from './components'; - -const Divider = styled.div` - width: 0; - height: 100%; - border-left: ${(props) => props.theme.eui.euiBorderThin}; -`; +import { + PackagePoliciesView, + SettingsView, + HeaderRightContent, + HeaderLeftContent, +} from './components'; export const AgentPolicyDetailsPage: React.FunctionComponent = () => { const { params: { policyId, tabId = '' }, } = useRouteMatch<{ policyId: string; tabId?: string }>(); - const history = useHistory(); - const { getHref, getPath } = useLink(); + const { getHref } = useLink(); const agentPolicyRequest = useGetOneAgentPolicy(policyId); const agentPolicy = agentPolicyRequest.data ? agentPolicyRequest.data.item : null; const { isLoading, error, sendRequest: refreshAgentPolicy } = agentPolicyRequest; @@ -70,6 +52,7 @@ export const AgentPolicyDetailsPage: React.FunctionComponent = () => { const [isAddAgentHelpPopoverOpen, setIsAddAgentHelpPopoverOpen] = useState( openAddAgentHelpPopoverOpenByDefault ); + const agentStatusRequest = useGetAgentStatus(policyId); const { refreshAgentStatus } = agentStatusRequest; const { @@ -80,74 +63,6 @@ export const AgentPolicyDetailsPage: React.FunctionComponent = () => { const { isReady: isFleetReady } = useFleetStatus(); - const headerLeftContent = useMemo( - () => ( - - - - - - - - {isLoading ? ( - - ) : ( - - - -

- {(agentPolicy && agentPolicy.name) || ( - - )} -

-
-
- {agentPolicy?.is_managed && ( - - - - )} -
- )} -
- - {agentPolicy && agentPolicy.description ? ( - - - - {agentPolicy.description} - - - ) : null} -
- ), - [getHref, isLoading, agentPolicy, policyId] - ); - const onCancelEnrollment = useMemo(() => { if (routeState && routeState.onDoneNavigateTo && isFleetReady) { const [appId, options] = routeState.onDoneNavigateTo; @@ -157,118 +72,10 @@ export const AgentPolicyDetailsPage: React.FunctionComponent = () => { return undefined; }, [isFleetReady, navigateToApp, routeState]); - const addAgentLink = ( - { - setIsAddAgentHelpPopoverOpen(false); - setIsEnrollmentFlyoutOpen(true); - }} - > - - - ); - const headerRightContent = useMemo( - () => - agentPolicy ? ( - - {[ - { - label: i18n.translate('xpack.fleet.policyDetails.summary.revision', { - defaultMessage: 'Revision', - }), - content: agentPolicy?.revision ?? 0, - }, - { isDivider: true }, - { - label: i18n.translate('xpack.fleet.policyDetails.summary.integrations', { - defaultMessage: 'Integrations', - }), - content: ( - - ), - }, - { isDivider: true }, - { - label: i18n.translate('xpack.fleet.policyDetails.summary.usedBy', { - defaultMessage: 'Agents', - }), - content: - agentStatus && agentStatus!.total ? ( - - ) : ( - { - setIsAddAgentHelpPopoverOpen(false); - }} - /> - ), - }, - { isDivider: true }, - { - label: i18n.translate('xpack.fleet.policyDetails.summary.lastUpdated', { - defaultMessage: 'Last updated on', - }), - content: - (agentPolicy && ( - - )) || - '', - }, - { isDivider: true }, - { - content: agentPolicy && ( - { - history.push(getPath('policy_details', { policyId: newAgentPolicy.id })); - }} - onCancelEnrollment={onCancelEnrollment} - /> - ), - }, - ].map((item, index) => ( - - {item.isDivider ?? false ? ( - - ) : item.label ? ( - - - {item.label} - - - {item.content} - - - ) : ( - item.content - )} - - ))} - - ) : undefined, - /* eslint-disable-next-line react-hooks/exhaustive-deps */ - [agentPolicy, policyId, agentStatus, isAddAgentHelpPopoverOpen] - ); + const addAgent = useCallback(() => { + setIsAddAgentHelpPopoverOpen(false); + setIsEnrollmentFlyoutOpen(true); + }, []); const headerTabs = useMemo(() => { return [ @@ -355,6 +162,21 @@ export const AgentPolicyDetailsPage: React.FunctionComponent = () => { onCancelEnrollment, policyId, ]); + const headerLeftContent = ( + + ); + const headerRightContent = ( + + ); return ( diff --git a/x-pack/plugins/fleet/public/applications/integrations/app.tsx b/x-pack/plugins/fleet/public/applications/integrations/app.tsx index eca2c0c0612c7..e4724ca13b411 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/app.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/app.tsx @@ -22,6 +22,8 @@ import { } from '../../../../../../src/plugins/kibana_react/public'; import { EuiThemeProvider } from '../../../../../../src/plugins/kibana_react/common'; +import { KibanaThemeProvider } from '../../../../../../src/plugins/kibana_react/public'; + import { AgentPolicyContextProvider } from './hooks'; import { INTEGRATIONS_ROUTING_PATHS, pagePathGetters } from './constants'; @@ -43,6 +45,7 @@ export const IntegrationsAppContext: React.FC<{ kibanaVersion: string; extensions: UIExtensionsStorage; setHeaderActionMenu: AppMountParameters['setHeaderActionMenu']; + theme$: AppMountParameters['theme$']; /** For testing purposes only */ routerHistory?: History; // TODO remove }> = memo( @@ -54,6 +57,7 @@ export const IntegrationsAppContext: React.FC<{ kibanaVersion, extensions, setHeaderActionMenu, + theme$, }) => { const isDarkMode = useObservable(startServices.uiSettings.get$('theme:darkMode')); @@ -64,22 +68,27 @@ export const IntegrationsAppContext: React.FC<{ - - - - - - - - - {children} - - - - - - - + + + + + + + + + + {children} + + + + + + + + diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/header/header.tsx b/x-pack/plugins/fleet/public/applications/integrations/components/header/header.tsx index e87c63e98ef28..b594171a7bae0 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/components/header/header.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/components/header/header.tsx @@ -15,11 +15,13 @@ import { DeploymentDetails } from './deployment_details'; export const IntegrationsHeader = ({ setHeaderActionMenu, + theme$, }: { setHeaderActionMenu: AppMountParameters['setHeaderActionMenu']; + theme$: AppMountParameters['theme$']; }) => { return ( - + diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/header/header_portal.tsx b/x-pack/plugins/fleet/public/applications/integrations/components/header/header_portal.tsx index d3dbbcf9628ec..ed6a94ff077dc 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/components/header/header_portal.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/components/header/header_portal.tsx @@ -14,14 +14,15 @@ import { toMountPoint } from '../../../../../../../../src/plugins/kibana_react/p export interface Props { setHeaderActionMenu: AppMountParameters['setHeaderActionMenu']; + theme$: AppMountParameters['theme$']; } -export const HeaderPortal: FC = ({ children, setHeaderActionMenu }) => { +export const HeaderPortal: FC = ({ children, setHeaderActionMenu, theme$ }) => { const portalNode = useMemo(() => createPortalNode(), []); useEffect(() => { setHeaderActionMenu((element) => { - const mount = toMountPoint(); + const mount = toMountPoint(, { theme$ }); return mount(element); }); @@ -29,7 +30,7 @@ export const HeaderPortal: FC = ({ children, setHeaderActionMenu }) => { portalNode.unmount(); setHeaderActionMenu(undefined); }; - }, [portalNode, setHeaderActionMenu]); + }, [portalNode, setHeaderActionMenu, theme$]); return {children}; }; diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx b/x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx index 90a2231da40c6..832397cbc93fd 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx @@ -10,6 +10,8 @@ import React, { useCallback, useState } from 'react'; import { useHistory } from 'react-router-dom'; import { FormattedMessage } from '@kbn/i18n-react'; import type { NotificationsStart } from 'src/core/public'; +import type { Observable } from 'rxjs'; +import type { CoreTheme } from 'kibana/public'; import { toMountPoint } from '../../../../../../../src/plugins/kibana_react/public'; import type { PackageInfo } from '../../../types'; @@ -30,7 +32,13 @@ type InstallPackageProps = Pick & { }; type SetPackageInstallStatusProps = Pick & PackageInstallItem; -function usePackageInstall({ notifications }: { notifications: NotificationsStart }) { +function usePackageInstall({ + notifications, + theme$, +}: { + notifications: NotificationsStart; + theme$: Observable; +}) { const history = useHistory(); const { getPath } = useLink(); const [packages, setPackage] = useState({}); @@ -77,13 +85,15 @@ function usePackageInstall({ notifications }: { notifications: NotificationsStar id="xpack.fleet.integrations.packageInstallErrorTitle" defaultMessage="Failed to install {title} package" values={{ title }} - /> + />, + { theme$ } ), text: toMountPoint( + />, + { theme$ } ), iconType: 'alert', }); @@ -102,19 +112,28 @@ function usePackageInstall({ notifications }: { notifications: NotificationsStar id="xpack.fleet.integrations.packageInstallSuccessTitle" defaultMessage="Installed {title}" values={{ title }} - /> + />, + { theme$ } ), text: toMountPoint( + />, + { theme$ } ), }); } }, - [getPackageInstallStatus, notifications.toasts, setPackageInstallStatus, getPath, history] + [ + getPackageInstallStatus, + notifications.toasts, + setPackageInstallStatus, + getPath, + history, + theme$, + ] ); const uninstallPackage = useCallback( @@ -135,13 +154,15 @@ function usePackageInstall({ notifications }: { notifications: NotificationsStar id="xpack.fleet.integrations.packageUninstallErrorTitle" defaultMessage="Failed to uninstall {title} package" values={{ title }} - /> + />, + { theme$ } ), text: toMountPoint( + />, + { theme$ } ), iconType: 'alert', }); @@ -154,14 +175,16 @@ function usePackageInstall({ notifications }: { notifications: NotificationsStar id="xpack.fleet.integrations.packageUninstallSuccessTitle" defaultMessage="Uninstalled {title}" values={{ title }} - /> + />, + { theme$ } ), text: toMountPoint( + />, + { theme$ } ), }); if (redirectToVersion !== version) { @@ -172,7 +195,7 @@ function usePackageInstall({ notifications }: { notifications: NotificationsStar } } }, - [notifications.toasts, setPackageInstallStatus, getPath, history] + [notifications.toasts, setPackageInstallStatus, getPath, history, theme$] ); return { diff --git a/x-pack/plugins/fleet/public/applications/integrations/index.tsx b/x-pack/plugins/fleet/public/applications/integrations/index.tsx index 620cf83fd762d..1edf5775e3df3 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/index.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/index.tsx @@ -38,6 +38,7 @@ interface IntegrationsAppProps { kibanaVersion: string; extensions: UIExtensionsStorage; setHeaderActionMenu: AppMountParameters['setHeaderActionMenu']; + theme$: AppMountParameters['theme$']; } const IntegrationsApp = ({ basepath, @@ -47,6 +48,7 @@ const IntegrationsApp = ({ kibanaVersion, extensions, setHeaderActionMenu, + theme$, }: IntegrationsAppProps) => { return ( @@ -65,7 +68,7 @@ const IntegrationsApp = ({ export function renderApp( startServices: FleetStartServices, - { element, appBasePath, history, setHeaderActionMenu }: AppMountParameters, + { element, appBasePath, history, setHeaderActionMenu, theme$ }: AppMountParameters, config: FleetConfigType, kibanaVersion: string, extensions: UIExtensionsStorage, @@ -81,6 +84,7 @@ export function renderApp( kibanaVersion={kibanaVersion} extensions={extensions} setHeaderActionMenu={setHeaderActionMenu} + theme$={theme$} /> , element diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx index bc6958e9b4a4f..507ed57006c4a 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx @@ -10,6 +10,7 @@ import { Redirect, Route, Switch, useLocation, useParams, useHistory } from 'rea import styled from 'styled-components'; import type { EuiToolTipProps } from '@elastic/eui'; import { + EuiBadge, EuiBetaBadge, EuiButton, EuiButtonEmpty, @@ -209,11 +210,22 @@ export function Detail() { - - - {/* Render space in place of package name while package info loads to prevent layout from jumping around */} -

{integrationInfo?.title || packageInfo?.title || '\u00A0'}

-
+ + + + + {/* Render space in place of package name while package info loads to prevent layout from jumping around */} +

{integrationInfo?.title || packageInfo?.title || '\u00A0'}

+
+
+ + + {i18n.translate('xpack.fleet.epm.elasticAgentBadgeLabel', { + defaultMessage: 'Elastic Agent', + })} + + +
{packageInfo?.release && packageInfo.release !== 'ga' ? ( @@ -596,7 +608,7 @@ export function Detail() { - + diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx index a28f63c3f9163..09db4208f40fc 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx @@ -22,6 +22,9 @@ import { import { i18n } from '@kbn/i18n'; +import type { Observable } from 'rxjs'; +import type { CoreTheme } from 'kibana/public'; + import type { PackageInfo, UpgradePackagePolicyDryRunResponse } from '../../../../../types'; import { InstallStatus } from '../../../../../types'; import { @@ -90,9 +93,10 @@ const LatestVersionLink = ({ name, version }: { name: string; version: string }) interface Props { packageInfo: PackageInfo; + theme$: Observable; } -export const SettingsPage: React.FC = memo(({ packageInfo }: Props) => { +export const SettingsPage: React.FC = memo(({ packageInfo, theme$ }: Props) => { const { name, title, removable, latestVersion, version, keepPoliciesUpToDate } = packageInfo; const [dryRunData, setDryRunData] = useState(); const [isUpgradingPackagePolicies, setIsUpgradingPackagePolicies] = useState(false); @@ -291,6 +295,7 @@ export const SettingsPage: React.FC = memo(({ packageInfo }: Props) => { dryRunData={dryRunData} isUpgradingPackagePolicies={isUpgradingPackagePolicies} setIsUpgradingPackagePolicies={setIsUpgradingPackagePolicies} + theme$={theme$} />

diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx index 0ade85354bdd7..2bab9286a9b17 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx @@ -18,6 +18,8 @@ import { EuiConfirmModal, EuiSpacer, } from '@elastic/eui'; +import type { Observable } from 'rxjs'; +import type { CoreTheme } from 'kibana/public'; import type { GetAgentPoliciesResponse, @@ -43,6 +45,7 @@ interface UpdateButtonProps extends Pick>; + theme$: Observable; } /* @@ -73,6 +76,7 @@ export const UpdateButton: React.FunctionComponent = ({ setIsUpgradingPackagePolicies = () => {}, title, version, + theme$, }) => { const history = useHistory(); const { getPath } = useLink(); @@ -174,14 +178,16 @@ export const UpdateButton: React.FunctionComponent = ({ id="xpack.fleet.integrations.packageUpdateSuccessTitle" defaultMessage="Updated {title} and upgraded policies" values={{ title }} - /> + />, + { theme$ } ), text: toMountPoint( + />, + { theme$ } ), }); @@ -197,6 +203,7 @@ export const UpdateButton: React.FunctionComponent = ({ setIsUpgradingPackagePolicies, title, version, + theme$, ]); const updateModal = ( diff --git a/x-pack/plugins/fleet/public/mock/create_test_renderer.tsx b/x-pack/plugins/fleet/public/mock/create_test_renderer.tsx index ad07e020eadd9..22b58c14fb072 100644 --- a/x-pack/plugins/fleet/public/mock/create_test_renderer.tsx +++ b/x-pack/plugins/fleet/public/mock/create_test_renderer.tsx @@ -13,6 +13,8 @@ import { render as reactRender, act } from '@testing-library/react'; import { renderHook } from '@testing-library/react-hooks'; import type { RenderHookResult } from '@testing-library/react-hooks'; +import { themeServiceMock } from 'src/core/public/mocks'; + import { KibanaContextProvider } from '../../../../../src/plugins/kibana_react/public'; import { ScopedHistory } from '../../../../../src/core/public'; import { FleetAppContext } from '../applications/fleet/app'; @@ -24,7 +26,6 @@ import { createConfigurationMock } from './plugin_configuration'; import { createStartMock } from './plugin_interfaces'; import { createStartServices } from './fleet_start_services'; import type { MockedFleetStart, MockedFleetStartServices } from './types'; - type UiRender = (ui: React.ReactElement, options?: RenderOptions) => RenderResult; /** @@ -83,6 +84,7 @@ export const createFleetTestRendererMock = (): TestRenderer => { kibanaVersion={testRendererMocks.kibanaVersion} extensions={extensions} routerHistory={testRendererMocks.history} + theme$={themeServiceMock.createTheme$()} > {children}
@@ -138,6 +140,7 @@ export const createIntegrationsTestRendererMock = (): TestRenderer => { kibanaVersion={testRendererMocks.kibanaVersion} extensions={extensions} routerHistory={testRendererMocks.history} + theme$={themeServiceMock.createTheme$()} setHeaderActionMenu={() => {}} > {children} diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/client_integration/app/app.helpers.tsx b/x-pack/plugins/index_lifecycle_management/__jest__/client_integration/app/app.helpers.tsx index ff9980c1d2777..8d55a3e093a31 100644 --- a/x-pack/plugins/index_lifecycle_management/__jest__/client_integration/app/app.helpers.tsx +++ b/x-pack/plugins/index_lifecycle_management/__jest__/client_integration/app/app.helpers.tsx @@ -8,6 +8,7 @@ import React from 'react'; import { act } from 'react-dom/test-utils'; import { registerTestBed, TestBed, TestBedConfig } from '@kbn/test/jest'; +import { docLinksServiceMock } from 'src/core/public/mocks'; import { KibanaContextProvider } from '../../../../../../src/plugins/kibana_react/public'; import { createBreadcrumbsMock } from '../../../public/application/services/breadcrumbs.mock'; import { licensingMock } from '../../../../licensing/public/mocks'; @@ -17,7 +18,13 @@ const breadcrumbService = createBreadcrumbsMock(); const AppWithContext = (props: any) => { return ( - + ); diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/init_test_bed.tsx b/x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/init_test_bed.tsx index 54d68edc7382f..251ff234c230e 100644 --- a/x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/init_test_bed.tsx +++ b/x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/init_test_bed.tsx @@ -7,6 +7,7 @@ import React from 'react'; import { registerTestBed, TestBedConfig } from '@kbn/test/jest'; +import { docLinksServiceMock } from 'src/core/public/mocks'; import '../helpers/global_mocks'; @@ -35,6 +36,7 @@ const EditPolicyContainer = ({ appServicesContext, ...rest }: any) => { services={{ breadcrumbService, license: licensingMock.createLicense({ license: { type: 'enterprise' } }), + docLinks: docLinksServiceMock.createStartContract(), getUrlForApp: () => {}, ...appServicesContext, }} diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/policy_table.test.tsx b/x-pack/plugins/index_lifecycle_management/__jest__/policy_table.test.tsx index cf25b1c335ae9..1a45b2c6d93dc 100644 --- a/x-pack/plugins/index_lifecycle_management/__jest__/policy_table.test.tsx +++ b/x-pack/plugins/index_lifecycle_management/__jest__/policy_table.test.tsx @@ -14,6 +14,7 @@ import { findTestSubject, takeMountedSnapshot } from '@elastic/eui/lib/test'; import { fatalErrorsServiceMock, injectedMetadataServiceMock, + docLinksServiceMock, } from '../../../../src/core/public/mocks'; import { HttpService } from '../../../../src/core/public/http'; import { usageCollectionPluginMock } from '../../../../src/plugins/usage_collection/public/mocks'; @@ -99,7 +100,9 @@ const testSort = (headerName: string) => { const TestComponent = ({ testPolicies }: { testPolicies: PolicyFromES[] }) => { return ( - '' }}> + '', docLinks: docLinksServiceMock.createStartContract() }} + > diff --git a/x-pack/plugins/index_lifecycle_management/public/application/index.tsx b/x-pack/plugins/index_lifecycle_management/public/application/index.tsx index 933a2fd28e07f..5dd0ca5f1c409 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/index.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/index.tsx @@ -15,6 +15,7 @@ import { UnmountCallback, CoreTheme, } from 'src/core/public'; +import { DocLinksStart } from 'kibana/public'; import { CloudSetup, @@ -35,6 +36,7 @@ export const renderApp = ( breadcrumbService: BreadcrumbService, license: ILicense, theme$: Observable, + docLinks: DocLinksStart, cloud?: CloudSetup ): UnmountCallback => { const { getUrlForApp } = application; @@ -42,7 +44,9 @@ export const renderApp = ( - + diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/learn_more_link.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/learn_more_link.tsx index 5e7923898a99a..660cc753623c9 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/learn_more_link.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/learn_more_link.tsx @@ -9,8 +9,6 @@ import React, { ReactNode } from 'react'; import { EuiLink } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; -import { createDocLink } from '../../../services/documentation'; - interface Props { docPath: string; text?: ReactNode; @@ -23,7 +21,7 @@ export const LearnMoreLink: React.FunctionComponent = ({ docPath, text }) ); return ( - + {content} ); diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx index 3e67cabf570a4..8905200779d23 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx @@ -11,7 +11,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; import { i18n } from '@kbn/i18n'; import { EuiSpacer, EuiCallOut, EuiTextColor, EuiSwitch, EuiText } from '@elastic/eui'; -import { useFormData } from '../../../../../../shared_imports'; +import { useFormData, useKibana } from '../../../../../../shared_imports'; import { i18nTexts } from '../../../i18n_texts'; @@ -52,6 +52,8 @@ export const HotPhase: FunctionComponent = () => { const showEmptyRolloverFieldsError = useRolloverValueRequiredValidation(); + const { docLinks } = useKibana().services; + return ( { defaultMessage="Learn more" /> } - docPath="ilm-rollover.html" + docPath={docLinks.links.elasticsearch.ilmRollover} />

diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_custom_attributes_messages.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_custom_attributes_messages.tsx index d31818e3557b1..01f10cf2d98ce 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_custom_attributes_messages.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_custom_attributes_messages.tsx @@ -10,9 +10,6 @@ import { EuiLink } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import { DocLinksStart } from 'src/core/public'; - -import { getNodeAllocationMigrationLink } from '../../../../../../../services/documentation'; - export interface Props { docLinks: DocLinksStart; } @@ -28,7 +25,11 @@ export const nodeAllocationMigrationGuidance = ({ docLinks }: Props) => ( defaultMessage="To allocate data to particular data nodes, {roleBasedGuidance} or configure custom node attributes in elasticsearch.yml." values={{ roleBasedGuidance: ( - + {i18n.translate( 'xpack.indexLifecycleMgmt.editPolicy.defaultToDataNodesDescription.migrationGuidanceMessage', { diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_allocation.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_allocation.tsx index 323f5144ac837..a2bad060a5893 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_allocation.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_allocation.tsx @@ -11,7 +11,7 @@ import { get } from 'lodash'; import { FormattedMessage } from '@kbn/i18n-react'; import { EuiButtonEmpty, EuiText, EuiSpacer } from '@elastic/eui'; -import { SelectField, useFormData } from '../../../../../../../../shared_imports'; +import { SelectField, useFormData, useKibana } from '../../../../../../../../shared_imports'; import { UseField } from '../../../../../form'; @@ -21,18 +21,6 @@ import { NodeAttrsDetails } from './node_attrs_details'; import { SharedProps } from './types'; -const learnMoreLink = ( - - } - docPath="modules-cluster.html#cluster-shard-allocation-settings" - /> -); - const i18nTexts = { allocateToDataNodesOption: i18n.translate( 'xpack.indexLifecycleMgmt.editPolicy.nodeAllocation.allocateToDataNodesOption', @@ -52,7 +40,8 @@ export const NodeAllocation: FunctionComponent = ({ const [formData] = useFormData({ watch: [allocationNodeAttributePath], }); - + const { docLinks } = useKibana().services; + const shardAllocationSettingsUrl = docLinks.links.elasticsearch.shardAllocationSettings; const selectedAllocationNodeAttribute = get(formData, allocationNodeAttributePath); const [selectedNodeAttrsForDetails, setSelectedNodeAttrsForDetails] = useState( @@ -79,7 +68,6 @@ export const NodeAllocation: FunctionComponent = ({ } nodeAllocationOptions = nodeAllocationOptions.concat(nodeOptions); - return ( <> @@ -87,7 +75,19 @@ export const NodeAllocation: FunctionComponent = ({ + } + docPath={shardAllocationSettingsUrl} + /> + ), + }} />

diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/forcemerge_field.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/forcemerge_field.tsx index d6f5e97c166e4..04a57fd2d9ace 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/forcemerge_field.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/forcemerge_field.tsx @@ -10,8 +10,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; import uuid from 'uuid'; import { EuiCheckbox, EuiSpacer, EuiFlexGroup, EuiFlexItem, EuiIconTip } from '@elastic/eui'; -import { NumericField } from '../../../../../../shared_imports'; - +import { NumericField, useKibana } from '../../../../../../shared_imports'; import { i18nTexts } from '../../../i18n_texts'; import { useEditPolicyContext } from '../../../edit_policy_context'; @@ -31,6 +30,8 @@ export const ForcemergeField: React.FunctionComponent = ({ phase }) => { return policy.phases[phase]?.actions?.forcemerge != null; }, [policy, phase]); + const { docLinks } = useKibana().services; + return ( = ({ phase }) => { id="xpack.indexLifecycleMgmt.editPolicy.forceMerge.enableExplanationText" defaultMessage="Reduce the number of segments in each index shard and clean up deleted documents." />{' '} - + } titleSize="xs" diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/index_priority_field.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/index_priority_field.tsx index 1665e4a360ad0..309e283c14d7c 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/index_priority_field.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/index_priority_field.tsx @@ -17,6 +17,7 @@ import { useEditPolicyContext } from '../../../edit_policy_context'; import { UseField } from '../../../form'; import { LearnMoreLink, DescribedFormRow } from '../..'; +import { useKibana } from '../../../../../../shared_imports'; interface Props { phase: PhaseExceptDelete; @@ -33,6 +34,8 @@ export const IndexPriorityField: FunctionComponent = ({ phase }) => { ); }, [isNewPolicy, policy.phases, phase]); + const { docLinks } = useKibana().services; + return ( = ({ phase }) => { defaultMessage="Set the priority for recovering your indices after a node restart. Indices with higher priorities are recovered before indices with lower priorities." />{' '} - + } titleSize="xs" diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/readonly_field.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/readonly_field.tsx index 85805f1a266af..4283f357bff88 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/readonly_field.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/readonly_field.tsx @@ -10,12 +10,13 @@ import { FormattedMessage } from '@kbn/i18n-react'; import { EuiTextColor } from '@elastic/eui'; import { LearnMoreLink } from '../../learn_more_link'; import { ToggleFieldWithDescribedFormRow } from '../../described_form_row'; - +import { useKibana } from '../../../../../../shared_imports'; interface Props { phase: 'hot' | 'warm' | 'cold'; } export const ReadonlyField: React.FunctionComponent = ({ phase }) => { + const { docLinks } = useKibana().services; return ( = ({ phase }) => { id="xpack.indexLifecycleMgmt.editPolicy.readonlyDescription" defaultMessage="Enable to make the index and index metadata read only, disable to allow writes and metadata changes." />{' '} - + } fullWidth diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_field.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_field.tsx index 3cfb83878812f..ac15441a49590 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_field.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_field.tsx @@ -25,7 +25,11 @@ export interface Props { canBeDisabled?: boolean; } -const geti18nTexts = (phase: Props['phase']) => { +const geti18nTexts = ( + phase: Props['phase'], + fullyMountedSearchableSnapshotLink: string, + partiallyMountedSearchableSnapshotLink: string +) => { switch (phase) { // Hot and cold phases both create fully mounted snapshots. case 'hot': @@ -42,7 +46,7 @@ const geti18nTexts = (phase: Props['phase']) => { id="xpack.indexLifecycleMgmt.editPolicy.fullyMountedSearchableSnapshotField.description" defaultMessage="Convert to a fully-mounted index that contains a complete copy of your data and is backed by a snapshot. You can reduce the number of replicas and rely on the snapshot for resiliency. {learnMoreLink}" values={{ - learnMoreLink: , + learnMoreLink: , }} /> ), @@ -66,9 +70,7 @@ const geti18nTexts = (phase: Props['phase']) => { id="xpack.indexLifecycleMgmt.editPolicy.frozenPhase.partiallyMountedSearchableSnapshotField.description" defaultMessage="Convert to a partially-mounted index that caches the index metadata. Data is retrieved from the snapshot as needed to process search requests. This minimizes the index footprint while keeping all of your data fully searchable. {learnMoreLink}" values={{ - learnMoreLink: ( - - ), + learnMoreLink: , }} /> ), @@ -85,7 +87,7 @@ export const SearchableSnapshotField: FunctionComponent = ({ canBeDisabled = true, }) => { const { - services: { cloud, getUrlForApp }, + services: { cloud, docLinks, getUrlForApp }, } = useKibana(); const { policy, license, isNewPolicy } = useEditPolicyContext(); const { isUsingSearchableSnapshotInHotPhase } = useConfiguration(); @@ -109,8 +111,14 @@ export const SearchableSnapshotField: FunctionComponent = ({ policy.phases[phase]?.actions?.searchable_snapshot?.snapshot_repository ) ); - - const i18nTexts = geti18nTexts(phase); + const fullyMountedSearchableSnapshotLink = docLinks.links.elasticsearch.ilmSearchableSnapshot; + const partiallyMountedSearchableSnapshotLink = + docLinks.links.elasticsearch.searchableSnapshotSharedCache; + const i18nTexts = geti18nTexts( + phase, + fullyMountedSearchableSnapshotLink, + partiallyMountedSearchableSnapshotLink + ); useEffect(() => { if (isDisabledDueToLicense) { diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/shrink_field.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/shrink_field.tsx index 9439afd1c071d..adcc33fdc8697 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/shrink_field.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/shrink_field.tsx @@ -19,6 +19,7 @@ import { i18nTexts } from '../../../i18n_texts'; import { LearnMoreLink, DescribedFormRow } from '../../'; import { byteSizeUnits } from '../../../constants'; import { UnitField } from './unit_field'; +import { useKibana } from '../../../../../../shared_imports'; interface Props { phase: 'hot' | 'warm'; @@ -35,6 +36,7 @@ export const ShrinkField: FunctionComponent = ({ phase }) => { const path = `phases.${phase}.actions.shrink.${ isUsingShardSize ? 'max_primary_shard_size' : 'number_of_shards' }`; + const { docLinks } = useKibana().services; return ( = ({ phase }) => { id="xpack.indexLifecycleMgmt.editPolicy.shrinkIndexExplanationText" defaultMessage="Shrink the index to a new index with fewer primary shards." />{' '} - + } titleSize="xs" diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/snapshot_policies_field.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/snapshot_policies_field.tsx index 89e43b2675854..791a70ae6212d 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/snapshot_policies_field.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/snapshot_policies_field.tsx @@ -29,7 +29,7 @@ const waitForSnapshotFormField = 'phases.delete.actions.wait_for_snapshot.policy export const SnapshotPoliciesField: React.FunctionComponent = () => { const { - services: { getUrlForApp }, + services: { docLinks, getUrlForApp }, } = useKibana(); const { error, isLoading, data, resendRequest } = useLoadSnapshotPolicies(); const [formData] = useFormData({ @@ -159,7 +159,7 @@ export const SnapshotPoliciesField: React.FunctionComponent = () => { id="xpack.indexLifecycleMgmt.editPolicy.deletePhase.waitForSnapshotDescription" defaultMessage="Specify a snapshot policy to be executed before the deletion of the index. This ensures that a snapshot of the deleted index is available." />{' '} - + } titleSize="xs" diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.tsx index b04445162e48b..d56f69248e2c1 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.tsx @@ -11,6 +11,8 @@ import { FormattedMessage } from '@kbn/i18n-react'; import React, { FunctionComponent, memo } from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiTitle, EuiText, EuiIconTip } from '@elastic/eui'; +import { useKibana } from '../../../../../shared_imports'; + import { PhaseExceptDelete } from '../../../../../../common/types'; import { @@ -141,6 +143,8 @@ export const Timeline: FunctionComponent = memo( ) : null; + const { docLinks } = useKibana().services; + return ( @@ -151,7 +155,7 @@ export const Timeline: FunctionComponent = memo( {i18nTexts.description}   { } = useEditPolicyContext(); const { - services: { cloud }, + services: { cloud, docLinks }, } = useKibana(); const [isClonedPolicy, setIsClonedPolicy] = useState(false); @@ -166,11 +165,7 @@ export const EditPolicy: React.FunctionComponent = () => { } bottomBorder rightSideItems={[ - + = ( } ); + const { docLinks } = useKibana().services; + return ( = ( all indices which match the index template." />{' '} `${_esDocBasePath}${docPath}`; -export const getNodeAllocationMigrationLink = ({ links }: DocLinksStart) => - `${links.elasticsearch.migrateIndexAllocationFilters}`; diff --git a/x-pack/plugins/index_lifecycle_management/public/plugin.tsx b/x-pack/plugins/index_lifecycle_management/public/plugin.tsx index d59fd4f20e63f..7700518506cea 100644 --- a/x-pack/plugins/index_lifecycle_management/public/plugin.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/plugin.tsx @@ -11,7 +11,6 @@ import { CoreSetup, PluginInitializerContext, Plugin } from 'src/core/public'; import { FeatureCatalogueCategory } from '../../../../src/plugins/home/public'; import { PLUGIN } from '../common/constants'; import { init as initHttp } from './application/services/http'; -import { init as initDocumentation } from './application/services/documentation'; import { init as initUiMetric } from './application/services/ui_metric'; import { init as initNotification } from './application/services/notification'; import { BreadcrumbService } from './application/services/breadcrumbs'; @@ -55,8 +54,8 @@ export class IndexLifecycleManagementPlugin const { chrome: { docTitle }, i18n: { Context: I18nContext }, - docLinks: { ELASTIC_WEBSITE_URL, DOC_LINK_VERSION }, application, + docLinks, } = coreStart; const license = await licensing.license$.pipe(first()).toPromise(); @@ -64,11 +63,6 @@ export class IndexLifecycleManagementPlugin docTitle.change(PLUGIN.TITLE); this.breadcrumbService.setup(setBreadcrumbs); - // Initialize additional services. - initDocumentation( - `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/reference/${DOC_LINK_VERSION}/` - ); - const { renderApp } = await import('./application'); const unmountAppCallback = renderApp( @@ -79,6 +73,7 @@ export class IndexLifecycleManagementPlugin this.breadcrumbService, license, theme$, + docLinks, cloud ); diff --git a/x-pack/plugins/index_lifecycle_management/public/types.ts b/x-pack/plugins/index_lifecycle_management/public/types.ts index 0339d124e1279..6c8239fd44da3 100644 --- a/x-pack/plugins/index_lifecycle_management/public/types.ts +++ b/x-pack/plugins/index_lifecycle_management/public/types.ts @@ -6,6 +6,7 @@ */ import { ApplicationStart } from 'kibana/public'; +import { DocLinksStart } from 'src/core/public'; import { HomePublicPluginSetup } from '../../../../src/plugins/home/public'; import { UsageCollectionSetup } from '../../../../src/plugins/usage_collection/public'; import { ManagementSetup } from '../../../../src/plugins/management/public'; @@ -40,4 +41,5 @@ export interface AppServicesContext { license: ILicense; cloud?: CloudSetup; getUrlForApp: ApplicationStart['getUrlForApp']; + docLinks: DocLinksStart; } diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processors/inference.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processors/inference.tsx index 7cb0243c61e34..550ed8927985f 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processors/inference.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processors/inference.tsx @@ -27,43 +27,29 @@ import { FieldsConfig, to, from, EDITOR_PX_HEIGHT } from './shared'; const { emptyField, isJsonField } = fieldValidators; const INFERENCE_CONFIG_DOCS = { - regression: { + documentation: { linkLabel: i18n.translate( - 'xpack.ingestPipelines.pipelineEditor.inferenceForm.inferenceConfigField.regressionLinkLabel', - { defaultMessage: 'regression' } - ), - }, - classification: { - linkLabel: i18n.translate( - 'xpack.ingestPipelines.pipelineEditor.inferenceForm.inferenceConfigField.classificationLinkLabel', - { defaultMessage: 'classification' } + 'xpack.ingestPipelines.pipelineEditor.inferenceForm.inferenceConfigField.documentationLinkLabel', + { defaultMessage: 'documentation' } ), }, }; -const getInferenceConfigHelpText = ( - regressionDocsLink: string, - classificationDocsLink: string -): React.ReactNode => { +function getInferenceConfigHelpText(documentationDocsLink: string): React.ReactNode { return ( - {INFERENCE_CONFIG_DOCS.regression.linkLabel} -
- ), - classification: ( - - {INFERENCE_CONFIG_DOCS.classification.linkLabel} + documentation: ( + + {INFERENCE_CONFIG_DOCS.documentation.linkLabel} ), }} /> ); -}; +} const fieldsConfig: FieldsConfig = { /* Required fields config */ @@ -151,8 +137,7 @@ const fieldsConfig: FieldsConfig = { export const Inference: FunctionComponent = () => { const { services } = useKibana(); - const regressionDocsLink = services.documentation.getRegressionUrl(); - const classificationDocsLink = services.documentation.getClassificationUrl(); + const documentationDocsLink = services.documentation.getDocumentationUrl(); return ( <> @@ -182,7 +167,7 @@ export const Inference: FunctionComponent = () => { { }} > id).join('-') + '-' + pagination.pageSize, - } - : {}) - } aria-label={dataGridAriaLabel} data-test-subj="lnsDataTable" rowHeightsOptions={ diff --git a/x-pack/plugins/lens/public/embeddable/embeddable.tsx b/x-pack/plugins/lens/public/embeddable/embeddable.tsx index d31b3ab0cfdf5..22acfb7aa063f 100644 --- a/x-pack/plugins/lens/public/embeddable/embeddable.tsx +++ b/x-pack/plugins/lens/public/embeddable/embeddable.tsx @@ -610,16 +610,14 @@ export class Embeddable }; public getInputAsRefType = async (): Promise => { - const input = this.deps.attributeService.getExplicitInputFromEmbeddable(this); - return this.deps.attributeService.getInputAsRefType(input, { + return this.deps.attributeService.getInputAsRefType(this.getExplicitInput(), { showSaveModal: true, saveModalTitle: this.getTitle(), }); }; public getInputAsValueType = async (): Promise => { - const input = this.deps.attributeService.getExplicitInputFromEmbeddable(this); - return this.deps.attributeService.getInputAsValueType(input); + return this.deps.attributeService.getInputAsValueType(this.getExplicitInput()); }; // same API as Visualize diff --git a/x-pack/plugins/lens/public/heatmap_visualization/visualization.test.ts b/x-pack/plugins/lens/public/heatmap_visualization/visualization.test.ts index 6e61bb684fa91..9a463efae6a2d 100644 --- a/x-pack/plugins/lens/public/heatmap_visualization/visualization.test.ts +++ b/x-pack/plugins/lens/public/heatmap_visualization/visualization.test.ts @@ -432,14 +432,10 @@ describe('heatmap', () => { // grid strokeWidth: [], strokeColor: [], - cellHeight: [], - cellWidth: [], // cells isCellLabelVisible: [false], // Y-axis isYAxisLabelVisible: [true], - yAxisLabelWidth: [], - yAxisLabelColor: [], // X-axis isXAxisLabelVisible: [true], }, diff --git a/x-pack/plugins/lens/public/heatmap_visualization/visualization.tsx b/x-pack/plugins/lens/public/heatmap_visualization/visualization.tsx index 0ba31b7f15231..108e9b3ffb952 100644 --- a/x-pack/plugins/lens/public/heatmap_visualization/visualization.tsx +++ b/x-pack/plugins/lens/public/heatmap_visualization/visualization.tsx @@ -356,18 +356,10 @@ export const getHeatmapVisualization = ({ strokeColor: state.gridConfig.strokeColor ? [state.gridConfig.strokeColor] : [], - cellHeight: state.gridConfig.cellHeight ? [state.gridConfig.cellHeight] : [], - cellWidth: state.gridConfig.cellWidth ? [state.gridConfig.cellWidth] : [], // cells isCellLabelVisible: [state.gridConfig.isCellLabelVisible], // Y-axis isYAxisLabelVisible: [state.gridConfig.isYAxisLabelVisible], - yAxisLabelWidth: state.gridConfig.yAxisLabelWidth - ? [state.gridConfig.yAxisLabelWidth] - : [], - yAxisLabelColor: state.gridConfig.yAxisLabelColor - ? [state.gridConfig.yAxisLabelColor] - : [], // X-axis isXAxisLabelVisible: state.gridConfig.isXAxisLabelVisible ? [state.gridConfig.isXAxisLabelVisible] diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/advanced_options.tsx b/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/advanced_options.tsx index ffd75163e7871..087d2e51f6dd5 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/advanced_options.tsx +++ b/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/advanced_options.tsx @@ -16,6 +16,7 @@ export function AdvancedOptions(props: { onClick: () => void; showInPopover: boolean; inlineElement: React.ReactElement | null; + helpPopup?: string | null; }>; }) { const [popoverOpen, setPopoverOpen] = useState(false); diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/dimension_editor.tsx b/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/dimension_editor.tsx index 6a06130d1cced..2b85e37243237 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/dimension_editor.tsx +++ b/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/dimension_editor.tsx @@ -533,99 +533,6 @@ export function DimensionEditor(props: DimensionEditorProps) { {...services} /> )} - - {!currentFieldIsInvalid && !incompleteInfo && selectedColumn && ( - { - setStateWrapper( - setTimeScaling(columnId, state.layers[layerId], DEFAULT_TIME_SCALE) - ); - }, - showInPopover: Boolean( - operationDefinitionMap[selectedColumn.operationType].timeScalingMode && - operationDefinitionMap[selectedColumn.operationType].timeScalingMode !== - 'disabled' && - Object.values(state.layers[layerId].columns).some( - (col) => col.operationType === 'date_histogram' - ) && - !selectedColumn.timeScale - ), - inlineElement: ( - - ), - }, - { - title: i18n.translate('xpack.lens.indexPattern.filterBy.label', { - defaultMessage: 'Filter by', - }), - dataTestSubj: 'indexPattern-filter-by-enable', - onClick: () => { - setFilterByOpenInitally(true); - setStateWrapper(setFilter(columnId, state.layers[layerId], defaultFilter)); - }, - showInPopover: Boolean( - operationDefinitionMap[selectedColumn.operationType].filterable && - !selectedColumn.filter - ), - inlineElement: - operationDefinitionMap[selectedColumn.operationType].filterable && - selectedColumn.filter ? ( - - ) : null, - }, - { - title: i18n.translate('xpack.lens.indexPattern.timeShift.label', { - defaultMessage: 'Time shift', - }), - dataTestSubj: 'indexPattern-time-shift-enable', - onClick: () => { - setTimeShiftFocused(true); - setStateWrapper(setTimeShift(columnId, state.layers[layerId], '')); - }, - showInPopover: Boolean( - operationDefinitionMap[selectedColumn.operationType].shiftable && - selectedColumn.timeShift === undefined && - (currentIndexPattern.timeFieldName || - Object.values(state.layers[layerId].columns).some( - (col) => col.operationType === 'date_histogram' - )) - ), - inlineElement: - operationDefinitionMap[selectedColumn.operationType].shiftable && - selectedColumn.timeShift !== undefined ? ( - - ) : null, - }, - ]} - /> - )}
); @@ -736,6 +643,109 @@ export function DimensionEditor(props: DimensionEditorProps) { /> {TabContent} + {!isFullscreen && + !currentFieldIsInvalid && + !incompleteInfo && + selectedColumn && + temporaryState === 'none' && + selectedOperationDefinition && ( +
+ { + setStateWrapper( + setTimeScaling(columnId, state.layers[layerId], DEFAULT_TIME_SCALE) + ); + }, + showInPopover: Boolean( + selectedOperationDefinition.timeScalingMode && + selectedOperationDefinition.timeScalingMode !== 'disabled' && + Object.values(state.layers[layerId].columns).some( + (col) => col.operationType === 'date_histogram' + ) && + !selectedColumn.timeScale + ), + inlineElement: ( + + ), + }, + { + title: i18n.translate('xpack.lens.indexPattern.filterBy.label', { + defaultMessage: 'Filter by', + }), + dataTestSubj: 'indexPattern-filter-by-enable', + onClick: () => { + setFilterByOpenInitally(true); + setStateWrapper(setFilter(columnId, state.layers[layerId], defaultFilter)); + }, + showInPopover: Boolean( + selectedOperationDefinition.filterable && !selectedColumn.filter + ), + inlineElement: + selectedOperationDefinition.filterable && selectedColumn.filter ? ( + + ) : null, + }, + { + title: i18n.translate('xpack.lens.indexPattern.timeShift.label', { + defaultMessage: 'Time shift', + }), + dataTestSubj: 'indexPattern-time-shift-enable', + onClick: () => { + setTimeShiftFocused(true); + setStateWrapper(setTimeShift(columnId, state.layers[layerId], '')); + }, + showInPopover: Boolean( + selectedOperationDefinition.shiftable && + selectedColumn.timeShift === undefined && + (currentIndexPattern.timeFieldName || + Object.values(state.layers[layerId].columns).some( + (col) => col.operationType === 'date_histogram' + )) + ), + inlineElement: + selectedOperationDefinition.shiftable && + selectedColumn.timeShift !== undefined ? ( + + ) : null, + }, + ]} + /> +
+ )} + {!isFullscreen && !currentFieldIsInvalid && (
{!incompleteInfo && selectedColumn && temporaryState === 'none' && ( diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/filtering.tsx b/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/filtering.tsx index b8440feae1a49..11e9110171f40 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/filtering.tsx +++ b/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/filtering.tsx @@ -16,6 +16,7 @@ import { EuiFlexItem, EuiFlexGroup, EuiPopoverProps, + EuiIconTip, } from '@elastic/eui'; import type { Query } from 'src/plugins/data/public'; import { GenericIndexPatternColumn, operationDefinitionMap } from '../operations'; @@ -53,6 +54,7 @@ export function Filtering({ updateLayer, indexPattern, isInitiallyOpen, + helpMessage, }: { selectedColumn: GenericIndexPatternColumn; indexPattern: IndexPattern; @@ -60,6 +62,7 @@ export function Filtering({ layer: IndexPatternLayer; updateLayer: (newLayer: IndexPatternLayer) => void; isInitiallyOpen: boolean; + helpMessage: string | null; }) { const inputFilter = selectedColumn.filter; const [queryInput, setQueryInput] = useState(inputFilter ?? defaultFilter); @@ -92,13 +95,26 @@ export function Filtering({ indexPattern ); + const labelNode = helpMessage ? ( + <> + {filterByLabel}{' '} + + + ) : ( + filterByLabel + ); + return ( - + { return { @@ -24,6 +25,12 @@ jest.mock('../../layer_helpers', () => { }; }); +interface PartialColumnParams { + kql?: string; + lucene?: string; + shift?: string; +} + const operationDefinitionMap: Record = { average: { input: 'field', @@ -60,7 +67,7 @@ const operationDefinitionMap: Record = { count: { input: 'field', filterable: true, - buildColumn: ({ field }: { field: IndexPatternField }) => ({ + buildColumn: ({ field }: { field: IndexPatternField }, columnsParams: PartialColumnParams) => ({ label: 'avg', dataType: 'number', operationType: 'count', @@ -68,6 +75,7 @@ const operationDefinitionMap: Record = { isBucketed: false, scale: 'ratio', timeScale: false, + filter: getFilter(undefined, columnsParams), }), getPossibleOperationForField: () => ({ scale: 'ratio' }), } as unknown as GenericOperationDefinition, @@ -78,7 +86,10 @@ const operationDefinitionMap: Record = { moving_average: { input: 'fullReference', operationParams: [{ name: 'window', type: 'number', required: true }], - buildColumn: ({ references }: { references: string[] }) => ({ + buildColumn: ( + { references }: { references: string[] }, + columnsParams: PartialColumnParams + ) => ({ label: 'moving_average', dataType: 'number', operationType: 'moving_average', @@ -87,9 +98,11 @@ const operationDefinitionMap: Record = { timeScale: false, params: { window: 5 }, references, + filter: getFilter(undefined, columnsParams), }), getErrorMessage: () => ['mock error'], getPossibleOperationForField: () => ({ scale: 'ratio' }), + filterable: true, } as unknown as GenericOperationDefinition, cumulative_sum: { input: 'fullReference', @@ -246,7 +259,7 @@ describe('formula', () => { }); }); - it('it should move over lucene arguments without', () => { + it('it should move over lucene arguments if set', () => { expect( formulaOperation.buildColumn({ previousColumn: { @@ -415,25 +428,30 @@ describe('formula', () => { let indexPattern: IndexPattern; let currentColumn: FormulaIndexPatternColumn; - function testIsBrokenFormula(formula: string) { + function testIsBrokenFormula( + formula: string, + columnParams: Partial> = {} + ) { + const mergedColumn = { ...currentColumn, ...columnParams }; + const mergedLayer = { ...layer, columns: { ...layer.columns, col1: mergedColumn } }; expect( regenerateLayerFromAst( formula, - layer, + mergedLayer, 'col1', - currentColumn, + mergedColumn, indexPattern, operationDefinitionMap ).newLayer ).toEqual({ - ...layer, + ...mergedLayer, columns: { - ...layer.columns, + ...mergedLayer.columns, col1: { - ...currentColumn, + ...mergedColumn, label: formula, params: { - ...currentColumn.params, + ...mergedColumn.params, formula, isFormulaBroken: true, }, @@ -639,6 +657,19 @@ describe('formula', () => { testIsBrokenFormula(formula); }); + it('returns a filter type error if query types mismatch between column filter and inner formula one', () => { + const formulas = [ + `count(kql='bytes > 4000')`, + `count(lucene='bytes:[400 TO *]') + count(kql='bytes > 4000')`, + `moving_average(average(bytes), kql='bytes: *', window=7)`, + `moving_average(sum(bytes, kql='bytes: *'), window=7)`, + ]; + + for (const formula of formulas) { + testIsBrokenFormula(formula, { filter: { language: 'lucene', query: 'bytes:[400 TO *]' } }); + } + }); + it('returns the locations of each function', () => { expect( regenerateLayerFromAst( @@ -655,12 +686,99 @@ describe('formula', () => { col1X2: { min: 42, max: 50 }, }); }); + + it('add the formula filter to supported operations', () => { + const filter = { language: 'kuery', query: 'bytes > 4000' }; + const mergedColumn = { ...currentColumn, filter }; + const mergedLayer = { ...layer, columns: { ...layer.columns, col1: mergedColumn } }; + const formula = 'moving_average(average(bytes), window=7) + count()'; + + const { newLayer } = regenerateLayerFromAst( + formula, + mergedLayer, + 'col1', + mergedColumn, + indexPattern, + operationDefinitionMap + ); + // average and math are not filterable in the mocks + expect(newLayer.columns).toEqual( + expect.objectContaining({ + col1: expect.objectContaining({ + label: formula, + filter, + }), + col1X1: expect.objectContaining({ + operationType: 'moving_average', + filter, + }), + col1X2: expect.objectContaining({ + operationType: 'count', + filter, + }), + }) + ); + + expect(newLayer.columns).toEqual( + expect.objectContaining({ + col1X0: expect.not.objectContaining({ + filter, + }), + col1X3: expect.not.objectContaining({ + filter, + }), + }) + ); + }); + it('prepend formula filter to supported operations', () => { + const filter = { language: 'kuery', query: 'bytes > 4000' }; + const innerFilter = 'bytes > 5000'; + const mergedColumn = { ...currentColumn, filter }; + const mergedLayer = { ...layer, columns: { ...layer.columns, col1: mergedColumn } }; + const formula = `moving_average(average(bytes), window=7, kql='${innerFilter}') + count(kql='${innerFilter}')`; + + const { newLayer } = regenerateLayerFromAst( + formula, + mergedLayer, + 'col1', + mergedColumn, + indexPattern, + operationDefinitionMap + ); + // average and math are not filterable in the mocks + expect(newLayer.columns).toEqual( + expect.objectContaining({ + col1: expect.objectContaining({ + label: formula, + filter, + }), + col1X1: expect.objectContaining({ + operationType: 'moving_average', + filter: { + ...filter, + query: `(${filter.query}) AND (${innerFilter})`, + }, + }), + col1X2: expect.objectContaining({ + operationType: 'count', + filter: { + ...filter, + query: `(${filter.query}) AND (${innerFilter})`, + }, + }), + }) + ); + }); }); describe('getErrorMessage', () => { let indexPattern: IndexPattern; - function getNewLayerWithFormula(formula: string, isBroken = true): IndexPatternLayer { + function getNewLayerWithFormula( + formula: string, + isBroken = true, + columnParams: Partial> = {} + ): IndexPatternLayer { return { columns: { col1: { @@ -671,6 +789,7 @@ describe('formula', () => { scale: 'ratio', params: { formula, isFormulaBroken: isBroken }, references: [], + ...columnParams, } as FormulaIndexPatternColumn, }, columnOrder: [], @@ -1331,5 +1450,77 @@ invalid: " }); }); } + + it('returns error if formula filter has not same type of inner operations filter', () => { + const formulas = [ + { formula: `count(kql='bytes > 4000')`, operation: 'count' }, + { + formula: `count(lucene='bytes:[400 TO *]') + sum(bytes, kql='bytes > 4000')`, + operation: 'sum', + }, + { + formula: `moving_average(average(bytes), kql='bytes: *', window=7)`, + operation: 'moving_average', + }, + { formula: `moving_average(sum(bytes, kql='bytes: *'), window=7)`, operation: 'sum' }, + ]; + + for (const { formula, operation } of formulas) { + expect( + formulaOperation.getErrorMessage!( + getNewLayerWithFormula(formula, true, { + filter: { language: 'lucene', query: 'bytes:[400 TO *]' }, + }), + 'col1', + indexPattern, + operationDefinitionMap + ) + ).toEqual([ + `The Formula filter of type "lucene" is not compatible with the inner filter of type "kql" from the ${operation} operation.`, + ]); + } + }); + + it('return multiple errors if formula filter has not same type of multiple inner operations filter', () => { + expect( + formulaOperation.getErrorMessage!( + getNewLayerWithFormula( + `count(kql='bytes > 4000') + sum(bytes, kql='bytes > 4000')`, + true, + { + filter: { language: 'lucene', query: 'bytes:[400 TO *]' }, + } + ), + 'col1', + indexPattern, + operationDefinitionMap + ) + ).toEqual([ + `The Formula filter of type "lucene" is not compatible with the inner filter of type "kql" from the count operation.`, + `The Formula filter of type "lucene" is not compatible with the inner filter of type "kql" from the sum operation.`, + ]); + }); + + it('returns no error if formula filter and operation inner filters are compatible', () => { + const formulas = [ + `count(kql='bytes > 4000')`, + `count(kql='bytes > 4000') + sum(bytes, kql='bytes > 4000')`, + `moving_average(average(bytes), kql='bytes: *', window=7)`, + `moving_average(sum(bytes, kql='bytes: *'), window=7)`, + ]; + + for (const formula of formulas) { + expect( + formulaOperation.getErrorMessage!( + getNewLayerWithFormula(formula, true, { + filter: { language: 'kuery', query: 'bytes > 4000' }, + }), + 'col1', + indexPattern, + operationDefinitionMap + ) + ).toEqual(undefined); + } + }); }); }); diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/formula.tsx b/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/formula.tsx index 5842cde4fea31..15c49a7336c7e 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/formula.tsx +++ b/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/formula.tsx @@ -6,16 +6,16 @@ */ import { i18n } from '@kbn/i18n'; -import { OperationDefinition } from '../index'; -import { ReferenceBasedIndexPatternColumn } from '../column_types'; -import { IndexPattern } from '../../../types'; +import type { OperationDefinition } from '../index'; +import type { ReferenceBasedIndexPatternColumn } from '../column_types'; +import type { IndexPattern } from '../../../types'; import { runASTValidation, tryToParse } from './validation'; import { WrappedFormulaEditor } from './editor'; import { regenerateLayerFromAst } from './parse'; import { generateFormula } from './generate'; import { filterByVisibleOperation } from './util'; import { getManagedColumnsFrom } from '../../layer_helpers'; -import { isColumnFormatted } from '../helpers'; +import { getFilter, isColumnFormatted } from '../helpers'; const defaultLabel = i18n.translate('xpack.lens.indexPattern.formulaLabel', { defaultMessage: 'Formula', @@ -43,6 +43,11 @@ export const formulaOperation: OperationDefinition column.params.formula ?? defaultLabel, input: 'managedReference', hidden: true, + filterable: { + helpMessage: i18n.translate('xpack.lens.indexPattern.formulaFilterableHelpText', { + defaultMessage: 'The provided filter will be applied to the entire formula.', + }), + }, getDisabledStatus(indexPattern: IndexPattern) { return undefined; }, @@ -58,7 +63,7 @@ export const formulaOperation: OperationDefinition message); @@ -134,6 +139,10 @@ export const formulaOperation: OperationDefinition { diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/parse.ts b/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/parse.ts index ead2467416ce2..ee245cc06bff9 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/parse.ts +++ b/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/parse.ts @@ -8,12 +8,12 @@ import { i18n } from '@kbn/i18n'; import { isObject } from 'lodash'; import type { TinymathAST, TinymathVariable, TinymathLocation } from '@kbn/tinymath'; -import { +import type { OperationDefinition, GenericOperationDefinition, GenericIndexPatternColumn, } from '../index'; -import { IndexPattern, IndexPatternLayer } from '../../../types'; +import type { IndexPattern, IndexPatternLayer } from '../../../types'; import { mathOperation } from './math'; import { documentField } from '../../../document_field'; import { runASTValidation, shouldHaveFieldArgument, tryToParse } from './validation'; @@ -22,8 +22,9 @@ import { findVariables, getOperationParams, groupArgsByType, + mergeWithGlobalFilter, } from './util'; -import { FormulaIndexPatternColumn } from './formula'; +import type { FormulaIndexPatternColumn } from './formula'; import { getColumnOrder } from '../../layer_helpers'; function getManagedId(mainId: string, index: number) { @@ -43,7 +44,13 @@ function parseAndExtract( return { extracted: [], isValid: false }; } // before extracting the data run the validation task and throw if invalid - const errors = runASTValidation(root, layer, indexPattern, operationDefinitionMap); + const errors = runASTValidation( + root, + layer, + indexPattern, + operationDefinitionMap, + layer.columns[columnId] + ); if (errors.length) { return { extracted: [], isValid: false }; } @@ -73,6 +80,7 @@ function extractColumns( label: string ): Array<{ column: GenericIndexPatternColumn; location?: TinymathLocation }> { const columns: Array<{ column: GenericIndexPatternColumn; location?: TinymathLocation }> = []; + const globalFilter = layer.columns[idPrefix].filter; function parseNode(node: TinymathAST) { if (typeof node === 'number' || node.type !== 'function') { @@ -103,7 +111,11 @@ function extractColumns( ? indexPattern.getFieldByName(fieldName.value)! : documentField; - const mappedParams = getOperationParams(nodeOperation, namedArguments || []); + const mappedParams = mergeWithGlobalFilter( + nodeOperation, + getOperationParams(nodeOperation, namedArguments || []), + globalFilter + ); const newCol = ( nodeOperation as OperationDefinition @@ -141,7 +153,11 @@ function extractColumns( mathColumn.label = label; } - const mappedParams = getOperationParams(nodeOperation, namedArguments || []); + const mappedParams = mergeWithGlobalFilter( + nodeOperation, + getOperationParams(nodeOperation, namedArguments || []), + globalFilter + ); const newCol = ( nodeOperation as OperationDefinition ).buildColumn( diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/util.ts b/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/util.ts index db267bfb0d564..e26fa61c5e2dc 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/util.ts +++ b/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/util.ts @@ -13,6 +13,7 @@ import type { TinymathNamedArgument, TinymathVariable, } from 'packages/kbn-tinymath'; +import type { Query } from 'src/plugins/data/public'; import type { OperationDefinition, GenericIndexPatternColumn, @@ -48,6 +49,28 @@ export function getValueOrName(node: TinymathAST) { return node.name; } +export function mergeWithGlobalFilter( + operation: + | OperationDefinition + | OperationDefinition, + mappedParams: Record, + globalFilter?: Query +) { + if (globalFilter && operation.filterable) { + const languageKey = 'kql' in mappedParams ? 'kql' : 'lucene'; + if (mappedParams[languageKey]) { + // ignore the initial empty string case + if (globalFilter.query) { + mappedParams[languageKey] = `(${globalFilter.query}) AND (${mappedParams[languageKey]})`; + } + } else { + const language = globalFilter.language === 'kuery' ? 'kql' : globalFilter.language; + mappedParams[language] = globalFilter.query as string; + } + } + return mappedParams; +} + export function getOperationParams( operation: | OperationDefinition diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts b/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts index 559e03c4fe9ea..c7743619b43bb 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts +++ b/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts @@ -10,6 +10,7 @@ import { i18n } from '@kbn/i18n'; import { parse, TinymathLocation, TinymathVariable } from '@kbn/tinymath'; import type { TinymathAST, TinymathFunction, TinymathNamedArgument } from '@kbn/tinymath'; import { luceneStringToDsl, toElasticsearchQuery, fromKueryExpression } from '@kbn/es-query'; +import type { Query } from 'src/plugins/data/public'; import { findMathNodes, findVariables, @@ -84,6 +85,10 @@ interface ValidationErrors { message: string; type: { text: string }; }; + filtersTypeConflict: { + message: string; + type: { operation: string; outerType: string; innerType: string }; + }; } type ErrorTypes = keyof ValidationErrors; @@ -323,6 +328,13 @@ function getMessageFromId({ values: { text: out.text }, }); break; + case 'filtersTypeConflict': + message = i18n.translate('xpack.lens.indexPattern.formulaOperationFiltersTypeConflicts', { + defaultMessage: + 'The Formula filter of type "{outerType}" is not compatible with the inner filter of type "{innerType}" from the {operation} operation.', + values: { operation: out.operation, outerType: out.outerType, innerType: out.innerType }, + }); + break; // case 'mathRequiresFunction': // message = i18n.translate('xpack.lens.indexPattern.formulaMathRequiresFunctionLabel', { // defaultMessage; 'The function {name} requires an Elasticsearch function', @@ -372,11 +384,12 @@ export function runASTValidation( ast: TinymathAST, layer: IndexPatternLayer, indexPattern: IndexPattern, - operations: Record + operations: Record, + currentColumn: GenericIndexPatternColumn ) { return [ ...checkMissingVariableOrFunctions(ast, layer, indexPattern, operations), - ...runFullASTValidation(ast, layer, indexPattern, operations), + ...runFullASTValidation(ast, layer, indexPattern, operations, currentColumn), ]; } @@ -483,6 +496,38 @@ function checkSingleQuery(namedArguments: TinymathNamedArgument[] | undefined) { : undefined; } +function validateFiltersArguments( + node: TinymathFunction, + nodeOperation: + | OperationDefinition + | OperationDefinition, + namedArguments: TinymathNamedArgument[] | undefined, + globalFilters?: Query +) { + const errors = []; + const { conflicts, innerType, outerType } = hasFiltersConflicts( + nodeOperation, + namedArguments, + globalFilters + ); + if (conflicts) { + if (innerType && outerType) { + errors.push( + getMessageFromId({ + messageId: 'filtersTypeConflict', + values: { + operation: node.name, + innerType, + outerType, + }, + locations: node.location ? [node.location] : [], + }) + ); + } + } + return errors; +} + function validateNameArguments( node: TinymathFunction, nodeOperation: @@ -552,13 +597,15 @@ function runFullASTValidation( ast: TinymathAST, layer: IndexPatternLayer, indexPattern: IndexPattern, - operations: Record + operations: Record, + currentColumn?: GenericIndexPatternColumn ): ErrorWrapper[] { const missingVariables = findVariables(ast).filter( // filter empty string as well? ({ value }) => !indexPattern.getFieldByName(value) && !layer.columns[value] ); const missingVariablesSet = new Set(missingVariables.map(({ value }) => value)); + const globalFilter = currentColumn?.filter; function validateNode(node: TinymathAST): ErrorWrapper[] { if (!isObject(node) || node.type !== 'function') { @@ -664,9 +711,14 @@ function runFullASTValidation( namedArguments, indexPattern ); - if (argumentsErrors.length) { - errors.push(...argumentsErrors); - } + + const filtersErrors = validateFiltersArguments( + node, + nodeOperation, + namedArguments, + globalFilter + ); + errors.push(...argumentsErrors, ...filtersErrors); } return errors; } @@ -729,18 +781,19 @@ function runFullASTValidation( firstArg, returnedType: undefined, }); - if (fieldErrors.length) { - errors.push(...fieldErrors); - } const argumentsErrors = validateNameArguments( node, nodeOperation, namedArguments, indexPattern ); - if (argumentsErrors.length) { - errors.push(...argumentsErrors); - } + const filtersErrors = validateFiltersArguments( + node, + nodeOperation, + namedArguments, + globalFilter + ); + errors.push(...fieldErrors, ...argumentsErrors, ...filtersErrors); } } return errors.concat(validateNode(functions[0])); @@ -824,6 +877,26 @@ function getDuplicateParams(params: TinymathNamedArgument[] = []) { return []; } +export function hasFiltersConflicts( + operation: + | OperationDefinition + | OperationDefinition, + params: TinymathNamedArgument[] = [], + globalFilter?: Query +) { + const paramsObj = getOperationParams(operation, params); + if (!operation.filterable || !globalFilter || !(paramsObj.kql || paramsObj.lucene)) { + return { conflicts: false }; + } + const language = globalFilter.language === 'kuery' ? 'kql' : globalFilter.language; + const conflicts = !(language in paramsObj); + return { + conflicts, + innerType: paramsObj.lucene ? 'lucene' : 'kql', + outerType: language, + }; +} + export function validateParams( operation: | OperationDefinition diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/index.ts b/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/index.ts index 275ad1798c788..ccf86be7d2b08 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/index.ts +++ b/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/index.ts @@ -293,7 +293,7 @@ interface BaseOperationDefinitionProps { * This flag is used by the formula to assign the kql= and lucene= named arguments and set up * autocomplete. */ - filterable?: boolean; + filterable?: boolean | { helpMessage: string }; shiftable?: boolean; getHelpMessage?: (props: HelpProps) => React.ReactNode; diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.tsx b/x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.tsx index e11a560c8755f..a7488ab13da6c 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.tsx +++ b/x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.tsx @@ -48,8 +48,10 @@ import { IStyleProperty } from '../properties/style_property'; import { SymbolizeAsProperty } from '../properties/symbolize_as_property'; import { LabelBorderSizeProperty } from '../properties/label_border_size_property'; import { StaticTextProperty } from '../properties/static_text_property'; +import { DynamicTextProperty } from '../properties/dynamic_text_property'; import { StaticSizeProperty } from '../properties/static_size_property'; import { IVectorLayer } from '../../../layers/vector_layer'; +import { getHasLabel } from '../style_util'; export interface StyleProperties { [key: string]: IStyleProperty; @@ -167,14 +169,6 @@ export class VectorStyleEditor extends Component { return iconSize.isDynamic() || (iconSize as StaticSizeProperty).getOptions().size > 0; } - _hasLabel() { - const label = this.props.styleProperties[VECTOR_STYLES.LABEL_TEXT]; - return label.isDynamic() - ? label.isComplete() - : (label as StaticTextProperty).getOptions().value != null && - (label as StaticTextProperty).getOptions().value.length; - } - _hasLabelBorder() { const labelBorderSize = this.props.styleProperties[ VECTOR_STYLES.LABEL_BORDER_SIZE @@ -258,7 +252,11 @@ export class VectorStyleEditor extends Component { } _renderLabelProperties() { - const hasLabel = this._hasLabel(); + const hasLabel = getHasLabel( + this.props.styleProperties[VECTOR_STYLES.LABEL_TEXT] as + | StaticTextProperty + | DynamicTextProperty + ); const hasLabelBorder = this._hasLabelBorder(); return ( diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_util.ts b/x-pack/plugins/maps/public/classes/styles/vector/style_util.ts index 7290b9c1301fd..467fd6b3621a2 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/style_util.ts +++ b/x-pack/plugins/maps/public/classes/styles/vector/style_util.ts @@ -8,6 +8,8 @@ import { i18n } from '@kbn/i18n'; import { MB_LOOKUP_FUNCTION, VECTOR_SHAPE_TYPE, VECTOR_STYLES } from '../../../../common/constants'; import { Category } from '../../../../common/descriptor_types'; +import { StaticTextProperty } from './properties/static_text_property'; +import { DynamicTextProperty } from './properties/dynamic_text_property'; export function getOtherCategoryLabel() { return i18n.translate('xpack.maps.styles.categorical.otherCategoryLabel', { @@ -107,3 +109,10 @@ export function makeMbClampedNumberExpression({ fallback, ]; } + +export function getHasLabel(label: StaticTextProperty | DynamicTextProperty) { + return label.isDynamic() + ? label.isComplete() + : (label as StaticTextProperty).getOptions().value != null && + (label as StaticTextProperty).getOptions().value.length; +} diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style.tsx b/x-pack/plugins/maps/public/classes/styles/vector/vector_style.tsx index 840cecc8daee5..f031b3cd22105 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/vector_style.tsx +++ b/x-pack/plugins/maps/public/classes/styles/vector/vector_style.tsx @@ -10,7 +10,12 @@ import React, { CSSProperties, ReactElement } from 'react'; import { FeatureIdentifier, Map as MbMap } from '@kbn/mapbox-gl'; import { FeatureCollection } from 'geojson'; import { StyleProperties, VectorStyleEditor } from './components/vector_style_editor'; -import { getDefaultStaticProperties, LINE_STYLES, POLYGON_STYLES } from './vector_style_defaults'; +import { + getDefaultStaticProperties, + LABEL_STYLES, + LINE_STYLES, + POLYGON_STYLES, +} from './vector_style_defaults'; import { DEFAULT_ICON, FIELD_ORIGIN, @@ -25,7 +30,7 @@ import { import { StyleMeta } from './style_meta'; import { VectorIcon } from './components/legend/vector_icon'; import { VectorStyleLegend } from './components/legend/vector_style_legend'; -import { isOnlySingleFeatureType } from './style_util'; +import { isOnlySingleFeatureType, getHasLabel } from './style_util'; import { StaticStyleProperty } from './properties/static_style_property'; import { DynamicStyleProperty, IDynamicStyleProperty } from './properties/dynamic_style_property'; import { DynamicSizeProperty } from './properties/dynamic_size_property'; @@ -745,12 +750,18 @@ export class VectorStyle implements IVectorStyle { } _getLegendDetailStyleProperties = () => { + const hasLabel = getHasLabel(this._labelStyleProperty); return this.getDynamicPropertiesArray().filter((styleProperty) => { const styleName = styleProperty.getStyleName(); if ([VECTOR_STYLES.ICON_ORIENTATION, VECTOR_STYLES.LABEL_TEXT].includes(styleName)) { return false; } + if (!hasLabel && LABEL_STYLES.includes(styleName)) { + // do not render legend for label styles when there is no label + return false; + } + if (this._getIsLinesOnly()) { return LINE_STYLES.includes(styleName); } diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.ts b/x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.ts index feeef0a2aab14..a264ae36d88af 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.ts +++ b/x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.ts @@ -37,6 +37,12 @@ export const POLYGON_STYLES = [ VECTOR_STYLES.LINE_COLOR, VECTOR_STYLES.LINE_WIDTH, ]; +export const LABEL_STYLES = [ + VECTOR_STYLES.LABEL_SIZE, + VECTOR_STYLES.LABEL_COLOR, + VECTOR_STYLES.LABEL_BORDER_COLOR, + VECTOR_STYLES.LABEL_BORDER_SIZE, +]; export function getDefaultStaticProperties( mapColors: string[] = [] diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_circle.ts b/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_circle.ts index 998329a78bfbb..c555b67eebac2 100644 --- a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_circle.ts +++ b/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_circle.ts @@ -15,7 +15,24 @@ import { Feature, GeoJSON, Position } from 'geojson'; const DRAW_CIRCLE_RADIUS = 'draw-circle-radius'; -export const DRAW_CIRCLE_RADIUS_MB_FILTER = ['==', 'meta', DRAW_CIRCLE_RADIUS]; +export const DRAW_CIRCLE_RADIUS_LABEL_STYLE = { + id: 'gl-draw-radius-label', + type: 'symbol', + filter: ['==', 'meta', DRAW_CIRCLE_RADIUS], + layout: { + 'text-anchor': 'right', + 'text-field': '{radiusLabel}', + 'text-size': 16, + 'text-offset': [-1, 0], + 'text-ignore-placement': true, + 'text-allow-overlap': true, + }, + paint: { + 'text-color': '#fbb03b', + 'text-halo-color': 'rgba(0, 0, 0, 1)', + 'text-halo-width': 2, + }, +}; export interface DrawCircleProperties { center: Position; @@ -148,7 +165,7 @@ export const DrawCircle = { radiusLabel = `${Math.round(state.circle.properties.radiusKm)} km`; } - // display radius label, requires custom 'symbol' style with DRAW_CIRCLE_RADIUS_MB_FILTER filter + // display radius label, requires custom style: DRAW_CIRCLE_RADIUS_LABEL_STYLE display({ type: 'Feature', properties: { diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_control.tsx b/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_control.tsx index ce4fcd8f12560..11b8c80e9fdec 100644 --- a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_control.tsx +++ b/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_control.tsx @@ -10,16 +10,16 @@ import React, { Component } from 'react'; // @ts-expect-error import MapboxDraw from '@mapbox/mapbox-gl-draw'; // @ts-expect-error +import mapboxDrawStyles from '@mapbox/mapbox-gl-draw/src/lib/theme'; +// @ts-expect-error import DrawRectangle from 'mapbox-gl-draw-rectangle-mode'; import type { Map as MbMap } from '@kbn/mapbox-gl'; import { Feature } from 'geojson'; import { MapMouseEvent } from '@kbn/mapbox-gl'; import { DRAW_SHAPE } from '../../../../common/constants'; -import { DrawCircle, DRAW_CIRCLE_RADIUS_MB_FILTER } from './draw_circle'; +import { DrawCircle, DRAW_CIRCLE_RADIUS_LABEL_STYLE } from './draw_circle'; import { DrawTooltip } from './draw_tooltip'; -const GL_DRAW_RADIUS_LABEL_LAYER_ID = 'gl-draw-radius-label'; - const mbModeEquivalencies = new Map([ ['simple_select', DRAW_SHAPE.SIMPLE_SELECT], ['draw_rectangle', DRAW_SHAPE.BOUNDS], @@ -50,6 +50,7 @@ export class DrawControl extends Component { private _mbDrawControl = new MapboxDraw({ displayControlsDefault: false, modes: mbDrawModes, + styles: [...mapboxDrawStyles, DRAW_CIRCLE_RADIUS_LABEL_STYLE], }); componentDidUpdate() { @@ -97,7 +98,9 @@ export class DrawControl extends Component { }; _removeDrawControl() { - if (!this._mbDrawControlAdded) { + // Do not remove draw control after mbMap.remove is called, causes execeptions and mbMap.remove cleans up all map resources. + const isMapRemoved = !this.props.mbMap.loaded(); + if (!this._mbDrawControlAdded || isMapRemoved) { return; } @@ -107,7 +110,6 @@ export class DrawControl extends Component { if (this.props.onClick) { this.props.mbMap.off('click', this._onClick); } - this.props.mbMap.removeLayer(GL_DRAW_RADIUS_LABEL_LAYER_ID); this.props.mbMap.removeControl(this._mbDrawControl); this._mbDrawControlAdded = false; } @@ -119,25 +121,6 @@ export class DrawControl extends Component { if (!this._mbDrawControlAdded) { this.props.mbMap.addControl(this._mbDrawControl); - this.props.mbMap.addLayer({ - id: GL_DRAW_RADIUS_LABEL_LAYER_ID, - type: 'symbol', - source: 'mapbox-gl-draw-hot', - filter: DRAW_CIRCLE_RADIUS_MB_FILTER, - layout: { - 'text-anchor': 'right', - 'text-field': '{radiusLabel}', - 'text-size': 16, - 'text-offset': [-1, 0], - 'text-ignore-placement': true, - 'text-allow-overlap': true, - }, - paint: { - 'text-color': '#fbb03b', - 'text-halo-color': 'rgba(0, 0, 0, 1)', - 'text-halo-width': 2, - }, - }); this._mbDrawControlAdded = true; this.props.mbMap.getCanvas().style.cursor = 'crosshair'; this.props.mbMap.on('draw.modechange', this._onModeChange); diff --git a/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx b/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx index 67ec6bb02596c..40ee17d176706 100644 --- a/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx +++ b/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx @@ -9,6 +9,7 @@ import { i18n } from '@kbn/i18n'; import _ from 'lodash'; import React from 'react'; import { Provider } from 'react-redux'; +import fastIsEqual from 'fast-deep-equal'; import { render, unmountComponentAtNode } from 'react-dom'; import { Subscription } from 'rxjs'; import { Unsubscribe } from 'redux'; @@ -18,7 +19,9 @@ import { Embeddable, IContainer, ReferenceOrValueEmbeddable, + genericEmbeddableInputIsEqual, VALUE_CLICK_TRIGGER, + omitGenericEmbeddableInput, } from '../../../../../src/plugins/embeddable/public'; import { ActionExecutionContext } from '../../../../../src/plugins/ui_actions/public'; import { @@ -210,16 +213,26 @@ export class MapEmbeddable } public async getInputAsRefType(): Promise { - const input = getMapAttributeService().getExplicitInputFromEmbeddable(this); - return getMapAttributeService().getInputAsRefType(input, { + return getMapAttributeService().getInputAsRefType(this.getExplicitInput(), { showSaveModal: true, saveModalTitle: this.getTitle(), }); } + public async getExplicitInputIsEqual( + lastExplicitInput: Partial + ): Promise { + const currentExplicitInput = this.getExplicitInput(); + if (!genericEmbeddableInputIsEqual(lastExplicitInput, currentExplicitInput)) return false; + + // generic embeddable input is equal, now we compare map specific input elements, ignoring 'mapBuffer'. + const lastMapInput = omitGenericEmbeddableInput(_.omit(lastExplicitInput, 'mapBuffer')); + const currentMapInput = omitGenericEmbeddableInput(_.omit(currentExplicitInput, 'mapBuffer')); + return fastIsEqual(lastMapInput, currentMapInput); + } + public async getInputAsValueType(): Promise { - const input = getMapAttributeService().getExplicitInputFromEmbeddable(this); - return getMapAttributeService().getInputAsValueType(input); + return getMapAttributeService().getInputAsValueType(this.getExplicitInput()); } public getDescription() { diff --git a/x-pack/plugins/maps/server/plugin.ts b/x-pack/plugins/maps/server/plugin.ts index ec9b3652fddbd..71d86aa85680a 100644 --- a/x-pack/plugins/maps/server/plugin.ts +++ b/x-pack/plugins/maps/server/plugin.ts @@ -98,6 +98,9 @@ export class MapsPlugin implements Plugin { embeddableType: MAP_SAVED_OBJECT_TYPE, embeddableConfig: { isLayerTOCOpen: false, + hiddenLayers: [], + mapCenter: { lat: 45.88578, lon: -15.07605, zoom: 2.11 }, + openTOCDetails: [], }, }); @@ -124,6 +127,9 @@ export class MapsPlugin implements Plugin { embeddableType: MAP_SAVED_OBJECT_TYPE, embeddableConfig: { isLayerTOCOpen: true, + hiddenLayers: [], + mapCenter: { lat: 48.72307, lon: -115.18171, zoom: 4.28 }, + openTOCDetails: [], }, }); @@ -148,6 +154,9 @@ export class MapsPlugin implements Plugin { embeddableType: MAP_SAVED_OBJECT_TYPE, embeddableConfig: { isLayerTOCOpen: false, + hiddenLayers: [], + mapCenter: { lat: 42.16337, lon: -88.92107, zoom: 3.64 }, + openTOCDetails: [], }, }); diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx b/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx index fe07c6800c0e8..b1f7bd0a48225 100644 --- a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx +++ b/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx @@ -41,7 +41,6 @@ export const ModelBounds: FC = ({ modelData }) => { yAccessors={['modelUpper']} y0Accessors={['modelLower']} data={model} - stackAccessors={['time']} curve={CurveType.CURVE_MONOTONE_X} areaSeriesStyle={areaSeriesStyle} color={MODEL_COLOR} diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.test.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.test.ts index 9dc27b84bef0e..9c636edaac197 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.test.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.test.ts @@ -482,6 +482,11 @@ describe('Lens Attribute', () => { }); }); + it('should not use global filters when there is more than one series', function () { + const multiSeriesLensAttr = new LensAttributes([layerConfig, layerConfig]).getJSON(); + expect(multiSeriesLensAttr.state.query.query).toEqual('transaction.duration.us < 60000000'); + }); + describe('Layer breakdowns', function () { it('should return breakdown column', function () { const layerConfig1: LayerConfig = { @@ -521,8 +526,8 @@ describe('Lens Attribute', () => { expect(lnsAttr.layers.layer0).toEqual({ columnOrder: [ - 'x-axis-column-layer0', 'breakdown-column-layer0', + 'x-axis-column-layer0', 'y-axis-column-layer0', 'y-axis-column-layer0X0', 'y-axis-column-layer0X1', diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts index 6d912e18f180f..f873b1eb5cbab 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts @@ -102,6 +102,7 @@ export class LensAttributes { visualization: XYState; layerConfigs: LayerConfig[]; isMultiSeries: boolean; + globalFilter?: { query: string; language: string }; constructor(layerConfigs: LayerConfig[]) { this.layers = {}; @@ -119,10 +120,27 @@ export class LensAttributes { this.layerConfigs = layerConfigs; this.isMultiSeries = layerConfigs.length > 1; + this.globalFilter = this.getGlobalFilter(this.isMultiSeries); this.layers = this.getLayers(); this.visualization = this.getXyState(); } + getGlobalFilter(isMultiSeries: boolean) { + if (isMultiSeries) { + return undefined; + } + const defaultLayerFilter = this.layerConfigs[0].seriesConfig.query + ? ` and ${this.layerConfigs[0].seriesConfig.query.query}` + : ''; + return { + query: `${this.getLayerFilters( + this.layerConfigs[0], + this.layerConfigs.length + )}${defaultLayerFilter}`, + language: 'kuery', + }; + } + getBreakdownColumn({ sourceField, layerId, @@ -676,10 +694,10 @@ export class LensAttributes { layers[layerId] = { columnOrder: [ - `x-axis-column-${layerId}`, ...(breakdown && sourceField !== USE_BREAK_DOWN_COLUMN && breakdown !== PERCENTILE ? [`breakdown-column-${layerId}`] : []), + `x-axis-column-${layerId}`, `y-axis-column-${layerId}`, ...Object.keys(this.getChildYAxises(layerConfig, layerId, columnFilter)), ], @@ -770,7 +788,7 @@ export class LensAttributes { new Set([...this.layerConfigs.map(({ indexPattern }) => indexPattern.id)]) ); - const query = this.layerConfigs[0].seriesConfig.query; + const query = this.globalFilter || this.layerConfigs[0].seriesConfig.query; return { title: 'Prefilled from exploratory view app', diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute.ts index cfbd2a5df0358..1a9c87fc826bd 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute.ts @@ -155,7 +155,8 @@ export const sampleAttribute = { filters: [], query: { language: 'kuery', - query: 'transaction.duration.us < 60000000', + query: + 'transaction.type: page-load and processor.event: transaction and transaction.type : * and transaction.duration.us < 60000000', }, visualization: { axisTitlesVisibilitySettings: { diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute_cwv.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute_cwv.ts index 4563509eeb19a..5f373de200897 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute_cwv.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute_cwv.ts @@ -95,7 +95,8 @@ export const sampleAttributeCoreWebVital = { filters: [], query: { language: 'kuery', - query: 'transaction.type: "page-load"', + query: + 'transaction.type: page-load and processor.event: transaction and transaction.type: "page-load"', }, visualization: { axisTitlesVisibilitySettings: { diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute_kpi.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute_kpi.ts index 668049dcc122b..415b2eb0d4c7a 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute_kpi.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute_kpi.ts @@ -57,7 +57,7 @@ export const sampleAttributeKpi = { filters: [], query: { language: 'kuery', - query: '', + query: 'transaction.type: page-load and processor.event: transaction', }, visualization: { axisTitlesVisibilitySettings: { diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/data_type_select.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/data_type_select.tsx index e17d0f9afad4e..778a4737e81b4 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/data_type_select.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/data_type_select.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { useState } from 'react'; +import React, { useState, useCallback } from 'react'; import { EuiButton, EuiPopover, @@ -33,6 +33,10 @@ export function DataTypesSelect({ seriesId, series }: Props) { const { setSeries, reportType } = useSeriesStorage(); const [showOptions, setShowOptions] = useState(false); + const focusButton = useCallback((ref: HTMLButtonElement) => { + ref?.focus(); + }, []); + const onDataTypeChange = (dataType: AppDataType) => { if (String(dataType) !== SELECT_DATA_TYPE) { setSeries(seriesId, { @@ -72,6 +76,7 @@ export function DataTypesSelect({ seriesId, series }: Props) { onClick={() => setShowOptions((prevState) => !prevState)} fill size="s" + buttonRef={focusButton} > {SELECT_DATA_TYPE_LABEL} diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/report_metric_options.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/report_metric_options.tsx index e3e63af94118e..5eec147379d25 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/report_metric_options.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/report_metric_options.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { useState } from 'react'; +import React, { useState, useCallback } from 'react'; import { EuiToolTip, EuiPopover, @@ -44,6 +44,10 @@ export function ReportMetricOptions({ seriesId, series, seriesConfig }: Props) { }); }; + const focusButton = useCallback((ref: HTMLButtonElement) => { + ref?.focus(); + }, []); + if (!series.dataType) { return null; } @@ -107,6 +111,7 @@ export function ReportMetricOptions({ seriesId, series, seriesConfig }: Props) { fill size="s" isLoading={!indexPattern && loading} + buttonRef={focusButton} > {SELECT_REPORT_METRIC_LABEL} diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/views/add_series_button.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/views/add_series_button.tsx index c4542a47e8291..4c1bc1d7fe3bb 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/views/add_series_button.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/views/add_series_button.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { useEffect, useState } from 'react'; +import React, { useEffect, useState, useRef } from 'react'; import { EuiToolTip, EuiButton } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; @@ -18,6 +18,7 @@ import { useExploratoryView } from '../contexts/exploratory_view_config'; export function AddSeriesButton() { const [editorItems, setEditorItems] = useState([]); + const addSeriesButtonRef = useRef(null); const { getSeries, allSeries, setSeries, reportType } = useSeriesStorage(); const { loading, indexPatterns } = useAppIndexPatternContext(); @@ -32,6 +33,9 @@ export function AddSeriesButton() { const prevSeries = allSeries?.[0]; const name = `${NEW_SERIES_KEY}-${editorItems.length + 1}`; const nextSeries = { name } as SeriesUrl; + if (addSeriesButtonRef?.current) { + addSeriesButtonRef.current.blur(); + } const nextSeriesId = allSeries.length; @@ -73,6 +77,7 @@ export function AddSeriesButton() { isDisabled={isAddDisabled} iconType="plusInCircle" size="s" + buttonRef={addSeriesButtonRef} > {i18n.translate('xpack.observability.expView.seriesBuilder.addSeries', { defaultMessage: 'Add series', diff --git a/x-pack/plugins/osquery/cypress/cypress.json b/x-pack/plugins/osquery/cypress/cypress.json index 7be05c59b317e..a793470e578ee 100644 --- a/x-pack/plugins/osquery/cypress/cypress.json +++ b/x-pack/plugins/osquery/cypress/cypress.json @@ -1,10 +1,10 @@ { "baseUrl": "http://localhost:5620", - "defaultCommandTimeout": 6000, - "execTimeout": 12000, + "defaultCommandTimeout": 60000, + "execTimeout": 120000, "pageLoadTimeout": 12000, "retries": { - "runMode": 2 + "runMode": 0 }, "screenshotsFolder": "../../../target/kibana-osquery/cypress/screenshots", "trashAssetsBeforeRuns": false, @@ -12,5 +12,10 @@ "videosFolder": "../../../target/kibana-osquery/cypress/videos", "viewportHeight": 900, "viewportWidth": 1440, - "experimentalStudio": true + "experimentalStudio": true, + "env": { + "cypress-react-selector": { + "root": "#osquery-app" + } + } } diff --git a/x-pack/plugins/osquery/cypress/fixtures/saved_objects/saved_query.ndjson b/x-pack/plugins/osquery/cypress/fixtures/saved_objects/saved_query.ndjson new file mode 100644 index 0000000000000..2f9dd45dae620 --- /dev/null +++ b/x-pack/plugins/osquery/cypress/fixtures/saved_objects/saved_query.ndjson @@ -0,0 +1,32 @@ +{ + "attributes": { + "created_at": "2021-12-21T08:54:07.802Z", + "created_by": "elastic", + "description": "Test saved query description", + "ecs_mapping": [ + { + "key": "labels", + "value": { + "field": "hours" + } + }, + { + "key": "message", + "value": { + "field": "seconds" + } + } + ], + "id": "Saved-Query-Id", + "interval": "3600", + "query": "select * from uptime;", + "updated_at": "2021-12-21T08:54:38.648Z", + "updated_by": "elastic" + }, + "coreMigrationVersion": "8.1.0", + "id": "8eae68b0-623b-11ec-8b00-d5db3ac3cda1", + "references": [], + "type": "osquery-saved-query", + "updated_at": "2021-12-21T08:54:38.653Z", + "version": "Wzg5MywxXQ==" +} diff --git a/x-pack/plugins/osquery/cypress/integration/integration.spec.ts b/x-pack/plugins/osquery/cypress/integration/integration.spec.ts deleted file mode 100644 index 99de19e0bbddb..0000000000000 --- a/x-pack/plugins/osquery/cypress/integration/integration.spec.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 { FLEET_AGENT_POLICIES, navigateTo } from '../tasks/navigation'; -import { addIntegration } from '../tasks/integrations'; -import { checkResults, inputQuery, selectAllAgents, submitQuery } from '../tasks/live_query'; -import { login } from '../tasks/login'; - -describe('Add Integration', () => { - const integration = 'Osquery Manager'; - - before(() => { - login(); - }); - - it.skip('should open Osquery app', () => { - cy.visit('/app/osquery/live_queries'); - cy.wait(3000); - cy.contains('Live queries history', { timeout: 60000 }); - cy.contains('New live query').click(); - cy.wait(3000); - cy.contains('Saved queries').click(); - cy.wait(3000); - cy.contains('Saved queries', { timeout: 60000 }); - cy.contains('Add saved query').click(); - cy.wait(3000); - cy.contains('Packs').click(); - cy.wait(3000); - cy.contains('Packs', { timeout: 60000 }); - cy.contains('Add pack').click(); - cy.wait(3000); - }); - - it('should display Osquery integration in the Policies list once installed ', () => { - addAndVerifyIntegration(); - }); - - it.skip('should run live query', () => { - navigateTo('/app/osquery/live_queries/new'); - cy.wait(1000); - selectAllAgents(); - inputQuery(); - submitQuery(); - checkResults(); - }); - - function addAndVerifyIntegration() { - navigateTo(FLEET_AGENT_POLICIES); - cy.contains('Default Fleet Server policy').click(); - cy.contains('Add integration').click(); - - cy.contains(integration).click(); - addIntegration(); - cy.contains('osquery_manager-'); - } -}); diff --git a/x-pack/plugins/osquery/cypress/integration/superuser/add_integration.spec.ts b/x-pack/plugins/osquery/cypress/integration/superuser/add_integration.spec.ts new file mode 100644 index 0000000000000..7b117b7cd5ff3 --- /dev/null +++ b/x-pack/plugins/osquery/cypress/integration/superuser/add_integration.spec.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 { FLEET_AGENT_POLICIES } from '../../tasks/navigation'; +import { addIntegration } from '../../tasks/integrations'; + +import { login } from '../../tasks/login'; + +describe('Super User - Add Integration', () => { + const integration = 'Osquery Manager'; + beforeEach(() => { + login(); + }); + + it('should display Osquery integration in the Policies list once installed ', () => { + cy.visit(FLEET_AGENT_POLICIES); + cy.contains('Default Fleet Server policy').click(); + cy.contains('Add integration').click(); + cy.contains(integration).click(); + addIntegration(); + cy.contains('osquery_manager-'); + }); +}); diff --git a/x-pack/plugins/osquery/cypress/integration/superuser/live_query.spec.ts b/x-pack/plugins/osquery/cypress/integration/superuser/live_query.spec.ts new file mode 100644 index 0000000000000..dde93b391d12b --- /dev/null +++ b/x-pack/plugins/osquery/cypress/integration/superuser/live_query.spec.ts @@ -0,0 +1,52 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { login } from '../../tasks/login'; +import { navigateTo } from '../../tasks/navigation'; +import { + checkResults, + inputQuery, + selectAllAgents, + submitQuery, + typeInECSFieldInput, + typeInOsqueryFieldInput, +} from '../../tasks/live_query'; + +describe('Super User - Live Query', () => { + beforeEach(() => { + login(); + navigateTo('/app/osquery'); + }); + + it('should run query and enable ecs mapping', () => { + cy.contains('New live query').click(); + selectAllAgents(); + inputQuery('select * from uptime;'); + submitQuery(); + + checkResults(); + cy.react('EuiDataGridHeaderCellWrapper', { + props: { id: 'osquery.days', index: 1 }, + }); + cy.react('EuiDataGridHeaderCellWrapper', { + props: { id: 'osquery.hours', index: 2 }, + }); + + cy.react('EuiAccordion', { props: { buttonContent: 'Advanced' } }).click(); + typeInECSFieldInput('message{downArrow}{enter}'); + typeInOsqueryFieldInput('days{downArrow}{enter}'); + submitQuery(); + + checkResults(); + cy.react('EuiDataGridHeaderCellWrapper', { + props: { id: 'message', index: 1 }, + }); + cy.react('EuiDataGridHeaderCellWrapper', { + props: { id: 'osquery.days', index: 2 }, + }).react('EuiIconIndexMapping'); + }); +}); diff --git a/x-pack/plugins/osquery/cypress/integration/superuser/metrics.spec.ts b/x-pack/plugins/osquery/cypress/integration/superuser/metrics.spec.ts new file mode 100644 index 0000000000000..e1b0eec698593 --- /dev/null +++ b/x-pack/plugins/osquery/cypress/integration/superuser/metrics.spec.ts @@ -0,0 +1,54 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor 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 { navigateTo } from '../../tasks/navigation'; +import { login } from '../../tasks/login'; +import { checkResults, inputQuery, submitQuery } from '../../tasks/live_query'; +import { ArchiverMethod, runKbnArchiverScript } from '../../tasks/archiver'; + +describe('Super User - Metrics', () => { + beforeEach(() => { + login(); + navigateTo('/app/osquery'); + }); + before(() => { + runKbnArchiverScript(ArchiverMethod.LOAD, 'saved_query'); + }); + after(() => { + runKbnArchiverScript(ArchiverMethod.UNLOAD, 'saved_query'); + }); + + it('should be able to run the query', () => { + cy.get('[data-test-subj="toggleNavButton"]').click(); + cy.contains('Metrics').click(); + + cy.wait(1000); + + cy.get('[data-test-subj="nodeContainer"]').click(); + cy.contains('Osquery').click(); + inputQuery('select * from uptime;'); + + submitQuery(); + checkResults(); + }); + it('should be able to run the previously saved query', () => { + cy.get('[data-test-subj="toggleNavButton"]').click(); + cy.get('[data-test-subj="collapsibleNavAppLink"').contains('Metrics').click(); + + cy.wait(500); + cy.get('[data-test-subj="nodeContainer"]').click(); + cy.contains('Osquery').click(); + + cy.get('[data-test-subj="comboBoxInput"]').first().click(); + cy.wait(500); + cy.get('div[role=listBox]').should('have.lengthOf.above', 0); + cy.get('[data-test-subj="comboBoxInput"]').first().type('{downArrow}{enter}'); + + submitQuery(); + checkResults(); + }); +}); diff --git a/x-pack/plugins/osquery/cypress/integration/superuser/packs.spec.ts b/x-pack/plugins/osquery/cypress/integration/superuser/packs.spec.ts new file mode 100644 index 0000000000000..02af440ba0e6a --- /dev/null +++ b/x-pack/plugins/osquery/cypress/integration/superuser/packs.spec.ts @@ -0,0 +1,107 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { navigateTo } from '../../tasks/navigation'; +import { + deleteAndConfirm, + findAndClickButton, + findFormFieldByRowsLabelAndType, + inputQuery, +} from '../../tasks/live_query'; +import { login } from '../../tasks/login'; +import { ArchiverMethod, runKbnArchiverScript } from '../../tasks/archiver'; +import { preparePack } from '../../tasks/packs'; + +describe('SuperUser - Packs', () => { + const SAVED_QUERY_ID = 'Saved-Query-Id'; + const PACK_NAME = 'Pack-name'; + const NEW_QUERY_NAME = 'new-query-name'; + + before(() => { + runKbnArchiverScript(ArchiverMethod.LOAD, 'saved_query'); + }); + beforeEach(() => { + login(); + navigateTo('/app/osquery'); + }); + + after(() => { + runKbnArchiverScript(ArchiverMethod.UNLOAD, 'saved_query'); + }); + + it('should add a pack from a saved query', () => { + cy.contains('Packs').click(); + findAndClickButton('Add pack'); + findFormFieldByRowsLabelAndType('Name', PACK_NAME); + findFormFieldByRowsLabelAndType('Description (optional)', 'Pack description'); + findFormFieldByRowsLabelAndType( + 'Scheduled agent policies (optional)', + 'Default Fleet Server policy' + ); + cy.react('List').first().click(); + findAndClickButton('Add query'); + cy.contains('Attach next query'); + cy.react('EuiComboBox', { props: { placeholder: 'Search for saved queries' } }) + .click() + .type(SAVED_QUERY_ID); + cy.react('List').first().click(); + cy.react('EuiFormRow', { props: { label: 'Interval (s)' } }) + .click() + .clear() + .type('10'); + cy.react('EuiFlyoutFooter').react('EuiButton').contains('Save').click(); + cy.react('EuiTableRow').contains(SAVED_QUERY_ID); + findAndClickButton('Save pack'); + cy.contains('Save and deploy changes'); + findAndClickButton('Save and deploy changes'); + cy.contains(PACK_NAME); + }); + + it('to click the edit button and edit pack', () => { + preparePack(PACK_NAME, SAVED_QUERY_ID); + findAndClickButton('Edit'); + cy.contains(`Edit ${PACK_NAME}`); + findAndClickButton('Add query'); + cy.contains('Attach next query'); + inputQuery('select * from uptime'); + findFormFieldByRowsLabelAndType('ID', NEW_QUERY_NAME); + cy.react('EuiFlyoutFooter').react('EuiButton').contains('Save').click(); + cy.react('EuiTableRow').contains(NEW_QUERY_NAME); + findAndClickButton('Update pack'); + cy.contains('Save and deploy changes'); + findAndClickButton('Save and deploy changes'); + }); + // THIS TESTS TAKES TOO LONG FOR NOW - LET ME THINK IT THROUGH + // it('to click the icon and visit discover', () => { + // preparePack(PACK_NAME, SAVED_QUERY_ID); + // cy.react('CustomItemAction', { + // props: { index: 0, item: { id: SAVED_QUERY_ID } }, + // }).click(); + // cy.get('[data-test-subj="superDatePickerToggleQuickMenuButton"').click(); + // cy.get('[data-test-subj="superDatePickerToggleRefreshButton"').click(); + // cy.get('[data-test-subj="superDatePickerRefreshIntervalInput"').clear().type('10'); + // cy.get('button').contains('Apply').click(); + // cy.get('[data-test-subj="discoverDocTable"]', { timeout: 60000 }).contains( + // `pack_${PACK_NAME}_${SAVED_QUERY_ID}` + // ); + // }); + // it('by clicking in Lens button', () => { + // preparePack(PACK_NAME, SAVED_QUERY_ID); + // cy.react('CustomItemAction', { + // props: { index: 1, item: { id: SAVED_QUERY_ID } }, + // }).click(); + // cy.get('[data-test-subj="lnsWorkspace"]'); + // cy.get('[data-test-subj="breadcrumbs"]').contains( + // `Action pack_${PACK_NAME}_${SAVED_QUERY_ID} results` + // ); + // }); + it('to click delete button', () => { + preparePack(PACK_NAME, SAVED_QUERY_ID); + findAndClickButton('Edit'); + deleteAndConfirm('pack'); + }); +}); diff --git a/x-pack/plugins/osquery/cypress/integration/superuser/saved_queries.spec.ts b/x-pack/plugins/osquery/cypress/integration/superuser/saved_queries.spec.ts new file mode 100644 index 0000000000000..146083e279d6a --- /dev/null +++ b/x-pack/plugins/osquery/cypress/integration/superuser/saved_queries.spec.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 { navigateTo } from '../../tasks/navigation'; +import { + checkResults, + DEFAULT_QUERY, + deleteAndConfirm, + findFormFieldByRowsLabelAndType, + inputQuery, + selectAllAgents, + submitQuery, +} from '../../tasks/live_query'; +import { login } from '../../tasks/login'; + +describe('Super User - Saved queries', () => { + const SAVED_QUERY_ID = 'Saved-Query-Id'; + const SAVED_QUERY_DESCRIPTION = 'Saved Query Description'; + + beforeEach(() => { + login(); + navigateTo('/app/osquery'); + }); + + it('should save the query', () => { + cy.contains('New live query').click(); + selectAllAgents(); + inputQuery(DEFAULT_QUERY); + submitQuery(); + checkResults(); + cy.contains('Save for later').click(); + cy.contains('Save query'); + findFormFieldByRowsLabelAndType('ID', SAVED_QUERY_ID); + findFormFieldByRowsLabelAndType('Description', SAVED_QUERY_DESCRIPTION); + cy.react('EuiButtonDisplay').contains('Save').click(); + }); + + it('should view query details in status', () => { + cy.contains('New live query'); + cy.react('ActionTableResultsButton').first().click(); + cy.wait(1000); + cy.contains(DEFAULT_QUERY); + checkResults(); + cy.react('EuiTab', { props: { id: 'status' } }).click(); + cy.wait(1000); + cy.react('EuiTableRow').should('have.lengthOf', 1); + cy.contains('Successful').siblings().contains(1); + }); + + it('should display a previously saved query and run it', () => { + cy.contains('Saved queries').click(); + cy.contains(SAVED_QUERY_ID); + cy.react('PlayButtonComponent', { + props: { savedQuery: { attributes: { id: SAVED_QUERY_ID } } }, + }).click(); + selectAllAgents(); + submitQuery(); + }); + + it('should edit the saved query', () => { + cy.contains('Saved queries').click(); + cy.contains(SAVED_QUERY_ID); + cy.react('CustomItemAction', { + props: { index: 1, item: { attributes: { id: SAVED_QUERY_ID } } }, + }).click(); + findFormFieldByRowsLabelAndType('Description', ' Edited'); + cy.react('EuiButton').contains('Update query').click(); + cy.contains(`${SAVED_QUERY_DESCRIPTION} Edited`); + }); + + it('should delete the saved query', () => { + cy.contains('Saved queries').click(); + cy.contains(SAVED_QUERY_ID); + cy.react('CustomItemAction', { + props: { index: 1, item: { attributes: { id: SAVED_QUERY_ID } } }, + }).click(); + deleteAndConfirm('query'); + cy.contains(SAVED_QUERY_ID); + }); +}); diff --git a/x-pack/plugins/osquery/cypress/integration/t1_analyst/live_query.spec.ts b/x-pack/plugins/osquery/cypress/integration/t1_analyst/live_query.spec.ts new file mode 100644 index 0000000000000..11c78560d25fe --- /dev/null +++ b/x-pack/plugins/osquery/cypress/integration/t1_analyst/live_query.spec.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { login } from '../../tasks/login'; +import { navigateTo } from '../../tasks/navigation'; +import { ROLES } from '../../test'; +import { ArchiverMethod, runKbnArchiverScript } from '../../tasks/archiver'; + +describe('T1 Analyst - Live Query', () => { + beforeEach(() => { + login(ROLES.t1_analyst); + }); + + describe('should run a live query', () => { + before(() => { + runKbnArchiverScript(ArchiverMethod.LOAD, 'saved_query'); + }); + after(() => { + runKbnArchiverScript(ArchiverMethod.UNLOAD, 'saved_query'); + }); + it('when passed as a saved query ', () => { + navigateTo('/app/osquery/saved_queries'); + cy.waitForReact(1000); + }); + }); +}); diff --git a/x-pack/plugins/osquery/cypress/support/index.ts b/x-pack/plugins/osquery/cypress/support/index.ts index 139c18d1aa73f..5fe2342cc5c72 100644 --- a/x-pack/plugins/osquery/cypress/support/index.ts +++ b/x-pack/plugins/osquery/cypress/support/index.ts @@ -22,6 +22,8 @@ // https://on.cypress.io/configuration // *********************************************************** +// eslint-disable-next-line import/no-extraneous-dependencies +import 'cypress-react-selector'; // Import commands.js using ES2015 syntax: import './commands'; // import './coverage'; diff --git a/x-pack/plugins/osquery/cypress/tasks/archiver.ts b/x-pack/plugins/osquery/cypress/tasks/archiver.ts new file mode 100644 index 0000000000000..d0efef9b8192d --- /dev/null +++ b/x-pack/plugins/osquery/cypress/tasks/archiver.ts @@ -0,0 +1,24 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export enum ArchiverMethod { + SAVE = 'save', + LOAD = 'load', + UNLOAD = 'unload', +} + +export const runKbnArchiverScript = (method: ArchiverMethod, fileName: string) => { + const { + ELASTICSEARCH_USERNAME, + ELASTICSEARCH_PASSWORD, + hostname: HOSTNAME, + configport: PORT, + } = Cypress.env(); + const script = `node ../../../scripts/kbn_archiver.js --kibana-url http://${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}@${HOSTNAME}:${PORT} ${method} ./cypress/fixtures/saved_objects/${fileName}.ndjson`; + + cy.exec(script, { env: { NODE_TLS_REJECT_UNAUTHORIZED: 1 } }); +}; diff --git a/x-pack/plugins/osquery/cypress/tasks/live_query.ts b/x-pack/plugins/osquery/cypress/tasks/live_query.ts index d88a5573ed6d8..213f949ee84ed 100644 --- a/x-pack/plugins/osquery/cypress/tasks/live_query.ts +++ b/x-pack/plugins/osquery/cypress/tasks/live_query.ts @@ -5,16 +5,44 @@ * 2.0. */ -import { AGENT_FIELD, ALL_AGENTS_OPTION, LIVE_QUERY_EDITOR } from '../screens/live_query'; +import { LIVE_QUERY_EDITOR } from '../screens/live_query'; + +export const DEFAULT_QUERY = 'select * from processes;'; export const selectAllAgents = () => { - cy.get(AGENT_FIELD).first().click(); - return cy.get(ALL_AGENTS_OPTION).contains('All agents').click(); + cy.react('EuiComboBox', { props: { placeholder: 'Select agents or groups' } }).type('All agents'); + cy.react('EuiFilterSelectItem').contains('All agents').should('exist'); + cy.react('EuiComboBox', { props: { placeholder: 'Select agents or groups' } }).type( + '{downArrow}{enter}' + ); }; -export const inputQuery = () => cy.get(LIVE_QUERY_EDITOR).type('select * from processes;'); +export const inputQuery = (query: string) => cy.get(LIVE_QUERY_EDITOR).type(query); export const submitQuery = () => cy.contains('Submit').click(); export const checkResults = () => cy.get('[data-test-subj="dataGridRowCell"]', { timeout: 60000 }).should('have.lengthOf.above', 0); + +export const typeInECSFieldInput = (text: string) => + cy.get('[data-test-subj="ECS-field-input"]').click().type(text); +export const typeInOsqueryFieldInput = (text: string) => + cy.react('OsqueryColumnFieldComponent').first().react('ResultComboBox').click().type(text); + +export const findFormFieldByRowsLabelAndType = (label: string, text: string) => { + cy.react('EuiFormRow', { props: { label } }).type(text); +}; + +export const deleteAndConfirm = (type: string) => { + cy.react('EuiButton').contains(`Delete ${type}`).click(); + cy.contains(`Are you sure you want to delete this ${type}?`); + cy.react('EuiButton').contains('Confirm').click(); + cy.get('[data-test-subj="globalToastList"]') + .first() + .contains('Successfully deleted') + .contains(type); +}; + +export const findAndClickButton = (text: string) => { + cy.react('EuiButton').contains(text).click(); +}; diff --git a/x-pack/plugins/osquery/cypress/tasks/login.ts b/x-pack/plugins/osquery/cypress/tasks/login.ts index 7def73ffeb8cb..9dbdc40a35605 100644 --- a/x-pack/plugins/osquery/cypress/tasks/login.ts +++ b/x-pack/plugins/osquery/cypress/tasks/login.ts @@ -104,10 +104,10 @@ export const getCurlScriptEnvVars = () => ({ export const postRoleAndUser = (role: ROLES) => { const env = getCurlScriptEnvVars(); - const detectionsRoleScriptPath = `./server/lib/detection_engine/scripts/roles_users/${role}/post_detections_role.sh`; - const detectionsRoleJsonPath = `./server/lib/detection_engine/scripts/roles_users/${role}/detections_role.json`; - const detectionsUserScriptPath = `./server/lib/detection_engine/scripts/roles_users/${role}/post_detections_user.sh`; - const detectionsUserJsonPath = `./server/lib/detection_engine/scripts/roles_users/${role}/detections_user.json`; + const detectionsRoleScriptPath = `./scripts/roles_users/${role}/post_role.sh`; + const detectionsRoleJsonPath = `./scripts/roles_users/${role}/role.json`; + const detectionsUserScriptPath = `./scripts/roles_users/${role}/post_user.sh`; + const detectionsUserJsonPath = `./scripts/roles_users/${role}/user.json`; // post the role cy.exec(`bash ${detectionsRoleScriptPath} ${detectionsRoleJsonPath}`, { @@ -122,7 +122,7 @@ export const postRoleAndUser = (role: ROLES) => { export const deleteRoleAndUser = (role: ROLES) => { const env = getCurlScriptEnvVars(); - const detectionsUserDeleteScriptPath = `./server/lib/detection_engine/scripts/roles_users/${role}/delete_detections_user.sh`; + const detectionsUserDeleteScriptPath = `./scripts/roles_users/${role}/delete_user.sh`; // delete the role cy.exec(`bash ${detectionsUserDeleteScriptPath}`, { diff --git a/x-pack/plugins/osquery/cypress/tasks/navigation.ts b/x-pack/plugins/osquery/cypress/tasks/navigation.ts index 180c720f6feda..f1da34cd0fbad 100644 --- a/x-pack/plugins/osquery/cypress/tasks/navigation.ts +++ b/x-pack/plugins/osquery/cypress/tasks/navigation.ts @@ -15,8 +15,12 @@ export const NEW_LIVE_QUERY = 'app/osquery/live_queries/new'; export const OSQUERY_INTEGRATION_PAGE = '/app/fleet/integrations/osquery_manager/add-integration'; export const navigateTo = (page: string, opts?: Partial) => { cy.visit(page, opts); + cy.contains('Loading Elastic').should('exist'); + cy.contains('Loading Elastic').should('not.exist'); + // There's a security warning toast that seemingly makes ui elements in the bottom right unavailable, so we close it - return cy.get('[data-test-subj="toastCloseButton"]').click(); + cy.get('[data-test-subj="toastCloseButton"]', { timeout: 30000 }).click(); + cy.waitForReact(); }; export const openNavigationFlyout = () => { diff --git a/x-pack/plugins/osquery/cypress/tasks/packs.ts b/x-pack/plugins/osquery/cypress/tasks/packs.ts new file mode 100644 index 0000000000000..8fa680a5899a2 --- /dev/null +++ b/x-pack/plugins/osquery/cypress/tasks/packs.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. + */ + +export const preparePack = (packName: string, savedQueryId: string) => { + cy.contains('Packs').click(); + const createdPack = cy.contains(packName); + createdPack.click(); + cy.waitForReact(1000); + cy.react('EuiTableRow').contains(savedQueryId); +}; diff --git a/x-pack/plugins/osquery/cypress/tsconfig.json b/x-pack/plugins/osquery/cypress/tsconfig.json index 1adb067fe682e..cbb5b10c48aaf 100644 --- a/x-pack/plugins/osquery/cypress/tsconfig.json +++ b/x-pack/plugins/osquery/cypress/tsconfig.json @@ -10,7 +10,8 @@ "outDir": "target/types", "types": [ "cypress", - "node" + "node", + "cypress-react-selector" ], "resolveJsonModule": true, }, diff --git a/x-pack/plugins/osquery/public/actions/actions_table.tsx b/x-pack/plugins/osquery/public/actions/actions_table.tsx index b3464bad56340..d92d9ee117fde 100644 --- a/x-pack/plugins/osquery/public/actions/actions_table.tsx +++ b/x-pack/plugins/osquery/public/actions/actions_table.tsx @@ -19,11 +19,11 @@ interface ActionTableResultsButtonProps { actionId: string; } -const ActionTableResultsButton = React.memo(({ actionId }) => { +const ActionTableResultsButton: React.FC = ({ actionId }) => { const navProps = useRouterNavigate(`live_queries/${actionId}`); return ; -}); +}; ActionTableResultsButton.displayName = 'ActionTableResultsButton'; diff --git a/x-pack/plugins/osquery/public/agent_policies/use_agent_policy.ts b/x-pack/plugins/osquery/public/agent_policies/use_agent_policy.ts index 678ea76ea5e84..3e211bd683a9e 100644 --- a/x-pack/plugins/osquery/public/agent_policies/use_agent_policy.ts +++ b/x-pack/plugins/osquery/public/agent_policies/use_agent_policy.ts @@ -21,6 +21,7 @@ export const useAgentPolicy = ({ policyId, skip, silent }: UseAgentPolicy) => { const { http } = useKibana().services; const setErrorToast = useErrorToast(); + // eslint-disable-next-line @typescript-eslint/no-explicit-any return useQuery( ['agentPolicy', { policyId }], () => http.get(`/internal/osquery/fleet_wrapper/agent_policies/${policyId}`), diff --git a/x-pack/plugins/osquery/public/components/app.tsx b/x-pack/plugins/osquery/public/components/app.tsx index fe6d2de676d8b..9be63b33394ad 100644 --- a/x-pack/plugins/osquery/public/components/app.tsx +++ b/x-pack/plugins/osquery/public/components/app.tsx @@ -57,7 +57,7 @@ const OsqueryAppComponent = () => { } return ( - +
); }); diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_details.test.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_details.test.tsx index 97123d7d8e3eb..152e2f20b5e00 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_details.test.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_details.test.tsx @@ -200,6 +200,17 @@ describe('Policy Details', () => { expect(policyView.find('button#hostIsolationExceptions')).toHaveLength(0); }); + it('should not display the host isolation exceptions tab with no privileges and no data', async () => { + getHostIsolationExceptionItemsMock.mockReturnValue({ total: 0 }); + policyView = render(); + await asyncActions; + policyView.update(); + await waitFor(() => { + expect(getHostIsolationExceptionItemsMock).toHaveBeenCalled(); + }); + expect(policyView.find('button#hostIsolationExceptions')).toHaveLength(0); + }); + it('should display the host isolation exceptions tab with no privileges if there are assigned exceptions', async () => { // simulate existing assigned policies getHostIsolationExceptionItemsMock.mockReturnValue(getFoundExceptionListItemSchemaMock(1)); diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_details.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_details.tsx index b9dd3419062df..df660bedd3ab9 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_details.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_details.tsx @@ -12,10 +12,8 @@ import { EuiCallOut, EuiLoadingSpinner, EuiPageTemplate } from '@elastic/eui'; import { usePolicyDetailsSelector } from './policy_hooks'; import { policyDetails, agentStatusSummary, apiError } from '../store/policy_details/selectors'; import { AgentsSummary } from './agents_summary'; -import { useIsExperimentalFeatureEnabled } from '../../../../common/hooks/use_experimental_features'; import { PolicyTabs } from './tabs'; import { AdministrationListPage } from '../../../components/administration_list_page'; -import { PolicyFormLayout } from './policy_forms/components'; import { BackToExternalAppButton, BackToExternalAppButtonProps, @@ -26,10 +24,6 @@ import { useAppUrl } from '../../../../common/lib/kibana'; import { APP_UI_ID } from '../../../../../common/constants'; export const PolicyDetails = React.memo(() => { - // TODO: Remove this and related code when removing FF - const isTrustedAppsByPolicyEnabled = useIsExperimentalFeatureEnabled( - 'trustedAppsByPolicyEnabled' - ); const { state: routeState = {} } = useLocation(); const { getAppUrl } = useAppUrl(); @@ -106,13 +100,8 @@ export const PolicyDetails = React.memo(() => { ); } - // TODO: Remove this and related code when removing FF - if (isTrustedAppsByPolicyEnabled) { - return ; - } - - return ; - }, [isTrustedAppsByPolicyEnabled, policyApiError, policyItem]); + return ; + }, [policyApiError, policyItem]); return ( { headerBackComponent={backToEndpointList} actions={policyApiError ? undefined : headerRightContent} restrictWidth={true} - hasBottomBorder={!isTrustedAppsByPolicyEnabled} // TODO: Remove this and related code when removing FF + hasBottomBorder={false} > {pageBody} diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/tabs/policy_tabs.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/tabs/policy_tabs.tsx index a69b32d634d21..02e0da1d0b915 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/tabs/policy_tabs.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/tabs/policy_tabs.tsx @@ -65,7 +65,9 @@ export const PolicyTabs = React.memo(() => { }); const canSeeHostIsolationExceptions = - privileges.canIsolateHost || allPolicyHostIsolationExceptionsListRequest.data?.total !== 0; + privileges.canIsolateHost || + (allPolicyHostIsolationExceptionsListRequest.isFetched && + allPolicyHostIsolationExceptionsListRequest.data?.total !== 0); // move the use out of this route if they can't access it useEffect(() => { diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.test.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.test.tsx index 32568ec2b48ee..67b435f4873a1 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.test.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.test.tsx @@ -86,7 +86,6 @@ describe('when rendering the PolicyTrustedAppsList', () => { }); mockedApis = policyDetailsPageAllApiHttpMocks(appTestContext.coreStart.http); - appTestContext.setExperimentalFlag({ trustedAppsByPolicyEnabled: true }); waitForAction = appTestContext.middlewareSpy.waitForAction; componentRenderProps = {}; diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/state/trusted_apps_list_page_state.ts b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/state/trusted_apps_list_page_state.ts index 0dc82ef554d1c..292b982eebb47 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/state/trusted_apps_list_page_state.ts +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/state/trusted_apps_list_page_state.ts @@ -24,7 +24,6 @@ export interface TrustedAppsListData { totalItemsCount: number; filter: string; includedPolicies: string; - excludedPolicies: string; } export type ViewType = 'list' | 'grid'; @@ -39,8 +38,6 @@ export interface TrustedAppsListPageLocation { filter: string; // A string with comma dlimetered list of included policy IDs included_policies: string; - // A string with comma dlimetered list of excluded policy IDs - excluded_policies: string; } export interface TrustedAppsListPageState { diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/builders.ts b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/builders.ts index 8b1272be605be..363da5cd27390 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/builders.ts +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/builders.ts @@ -58,7 +58,6 @@ export const initialTrustedAppsPageState = (): TrustedAppsListPageState => ({ view_type: 'grid', filter: '', included_policies: '', - excluded_policies: '', }, active: false, forceRefresh: false, diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/middleware.ts b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/middleware.ts index 7701d8aaee420..cd39ee27353e9 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/middleware.ts +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/middleware.ts @@ -64,7 +64,6 @@ import { editingTrustedApp, getListItems, getCurrentLocationIncludedPolicies, - getCurrentLocationExcludedPolicies, } from './selectors'; import { parsePoliciesToKQL, parseQueryFilterToKQL } from '../../../common/utils'; import { toUpdateTrustedApp } from '../../../../../common/endpoint/service/trusted_apps/to_update_trusted_app'; @@ -98,7 +97,6 @@ const refreshListIfNeeded = async ( const pageSize = getCurrentLocationPageSize(store.getState()); const filter = getCurrentLocationFilter(store.getState()); const includedPolicies = getCurrentLocationIncludedPolicies(store.getState()); - const excludedPolicies = getCurrentLocationExcludedPolicies(store.getState()); const kuery = []; @@ -106,10 +104,7 @@ const refreshListIfNeeded = async ( if (filterKuery) kuery.push(filterKuery); const policiesKuery = - parsePoliciesToKQL( - includedPolicies ? includedPolicies.split(',') : [], - excludedPolicies ? excludedPolicies.split(',') : [] - ) || undefined; + parsePoliciesToKQL(includedPolicies ? includedPolicies.split(',') : []) || undefined; if (policiesKuery) kuery.push(policiesKuery); const response = await trustedAppsService.getTrustedAppsList({ @@ -129,7 +124,6 @@ const refreshListIfNeeded = async ( timestamp: Date.now(), filter, includedPolicies, - excludedPolicies, }, }) ); diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/reducer.test.ts b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/reducer.test.ts index 71bea62030676..5047608cbb4ec 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/reducer.test.ts +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/reducer.test.ts @@ -31,7 +31,7 @@ describe('reducer', () => { initialState, createUserChangedUrlAction( '/administration/trusted_apps', - '?page_index=5&page_size=50&show=create&view_type=list&filter=test&included_policies=global&excluded_policies=unassigned' + '?page_index=5&page_size=50&show=create&view_type=list&filter=test&included_policies=global' ) ); @@ -45,7 +45,6 @@ describe('reducer', () => { id: undefined, filter: 'test', included_policies: 'global', - excluded_policies: 'unassigned', }, active: true, }); @@ -61,7 +60,6 @@ describe('reducer', () => { view_type: 'grid', filter: '', included_policies: '', - excluded_policies: '', }, }, createUserChangedUrlAction( @@ -83,7 +81,6 @@ describe('reducer', () => { view_type: 'grid', filter: '', included_policies: '', - excluded_policies: '', }, }, createUserChangedUrlAction('/administration/trusted_apps') diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/selectors.test.ts b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/selectors.test.ts index 387a354fe38c4..4468d044827c0 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/selectors.test.ts +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/selectors.test.ts @@ -95,7 +95,6 @@ describe('selectors', () => { view_type: 'grid', filter: '', included_policies: '', - excluded_policies: '', }; expect(needsRefreshOfListData({ ...initialState, listView, active: true, location })).toBe( @@ -179,7 +178,6 @@ describe('selectors', () => { view_type: 'grid', filter: '', included_policies: '', - excluded_policies: '', }; expect(getCurrentLocationPageIndex({ ...initialState, location })).toBe(3); @@ -194,7 +192,6 @@ describe('selectors', () => { view_type: 'grid', filter: '', included_policies: '', - excluded_policies: '', }; expect(getCurrentLocationPageSize({ ...initialState, location })).toBe(20); diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/selectors.ts b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/selectors.ts index c780f48000879..743d8b84760ba 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/selectors.ts +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/store/selectors.ts @@ -85,12 +85,6 @@ export const getCurrentLocationIncludedPolicies = ( return state.location.included_policies; }; -export const getCurrentLocationExcludedPolicies = ( - state: Immutable -): string => { - return state.location.excluded_policies; -}; - export const getListTotalItemsCount = (state: Immutable): number => { return getLastLoadedResourceState(state.listView.listResourceState)?.data.totalItemsCount || 0; }; diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/test_utils/index.ts b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/test_utils/index.ts index cad8f606f85bb..3c2f177520271 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/test_utils/index.ts +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/test_utils/index.ts @@ -80,7 +80,6 @@ export const createTrustedAppsListData = ( totalItemsCount: fullPagination.totalItemCount, timestamp, filter: '', - excludedPolicies: '', includedPolicies: '', }; }; diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/create_trusted_app_flyout.tsx b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/create_trusted_app_flyout.tsx index d7404961fd71d..f76ac89474e7b 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/create_trusted_app_flyout.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/create_trusted_app_flyout.tsx @@ -51,7 +51,6 @@ import { useTestIdGenerator } from '../../../../components/hooks/use_test_id_gen import { useLicense } from '../../../../../common/hooks/use_license'; import { isGlobalEffectScope } from '../../state/type_guards'; import { NewTrustedApp } from '../../../../../../common/endpoint/types'; -import { useIsExperimentalFeatureEnabled } from '../../../../../common/hooks/use_experimental_features'; export type CreateTrustedAppFlyoutProps = Omit; export const CreateTrustedAppFlyout = memo( @@ -116,10 +115,6 @@ export const CreateTrustedAppFlyout = memo( [dispatch, formValues] ); - const isTrustedAppsByPolicyEnabled = useIsExperimentalFeatureEnabled( - 'trustedAppsByPolicyEnabled' - ); - const [wasByPolicy, setWasByPolicy] = useState(!isGlobalEffectScope(formValues.effectScope)); // set initial state of `wasByPolicy` that checks if the initial state of the exception was by policy or not useEffect(() => { @@ -133,21 +128,8 @@ export const CreateTrustedAppFlyout = memo( }, [formValues]); const showExpiredLicenseBanner = useMemo(() => { - return ( - isTrustedAppsByPolicyEnabled && - !isPlatinumPlus && - isEditMode && - wasByPolicy && - (!isGlobal || isFormDirty) - ); - }, [ - isTrustedAppsByPolicyEnabled, - isPlatinumPlus, - isEditMode, - isGlobal, - isFormDirty, - wasByPolicy, - ]); + return !isPlatinumPlus && isEditMode && wasByPolicy && (!isGlobal || isFormDirty); + }, [isPlatinumPlus, isEditMode, isGlobal, isFormDirty, wasByPolicy]); // If there was a failure trying to retrieve the Trusted App for edit item, // then redirect back to the list ++ show toast message. diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/create_trusted_app_form.tsx b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/create_trusted_app_form.tsx index 5f9b51d52e485..d9b1cc6624042 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/create_trusted_app_form.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/create_trusted_app_form.tsx @@ -33,7 +33,6 @@ import { hasSimpleExecutableName, } from '../../../../../../common/endpoint/service/trusted_apps/validations'; -import { useIsExperimentalFeatureEnabled } from '../../../../../common/hooks/use_experimental_features'; import { isGlobalEffectScope, isMacosLinuxTrustedAppCondition, @@ -238,10 +237,6 @@ export const CreateTrustedAppForm = memo( const dataTestSubj = formProps['data-test-subj']; - const isTrustedAppsByPolicyEnabled = useIsExperimentalFeatureEnabled( - 'trustedAppsByPolicyEnabled' - ); - const isPlatinumPlus = useLicense().isPlatinumPlus(); const isGlobal = useMemo(() => { @@ -519,7 +514,7 @@ export const CreateTrustedAppForm = memo( value={trustedApp.description} onChange={handleDomChangeEvents} fullWidth - compressed={isTrustedAppsByPolicyEnabled} + compressed maxLength={256} data-test-subj={getTestId('descriptionField')} /> @@ -577,7 +572,7 @@ export const CreateTrustedAppForm = memo( data-test-subj={getTestId('conditionsBuilder')} /> - {isTrustedAppsByPolicyEnabled && showAssignmentSection ? ( + {showAssignmentSection ? ( <> diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/trusted_apps_page.test.tsx b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/trusted_apps_page.test.tsx index 01330eb0e246c..ab0bbaa875a39 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/trusted_apps_page.test.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/trusted_apps_page.test.tsx @@ -20,16 +20,11 @@ import { HttpFetchOptions, HttpFetchOptionsWithPath } from 'kibana/public'; import { isFailedResourceState, isLoadedResourceState } from '../state'; import { forceHTMLElementOffsetWidth } from '../../../components/effected_policy_select/test_utils'; import { toUpdateTrustedApp } from '../../../../../common/endpoint/service/trusted_apps/to_update_trusted_app'; -import { useIsExperimentalFeatureEnabled } from '../../../../common/hooks/use_experimental_features'; import { licenseService } from '../../../../common/hooks/use_license'; import { FoundExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; import { EXCEPTION_LIST_ITEM_URL } from '@kbn/securitysolution-list-constants'; import { trustedAppsAllHttpMocks } from '../../mocks'; -// TODO: remove this mock when feature flag is removed -jest.mock('../../../../common/hooks/use_experimental_features'); -const useIsExperimentalFeatureEnabledMock = useIsExperimentalFeatureEnabled as jest.Mock; - jest.mock('../../../../common/hooks/use_license', () => { const licenseServiceInstance = { isPlatinumPlus: jest.fn(), @@ -173,7 +168,6 @@ describe('When on the Trusted Apps Page', () => { describe('the license is downgraded to gold or below and the user is editing a per policy TA', () => { beforeEach(async () => { (licenseService.isPlatinumPlus as jest.Mock).mockReturnValue(false); - useIsExperimentalFeatureEnabledMock.mockReturnValue(true); const originalFakeTrustedAppProvider = getFakeTrustedApp.getMockImplementation(); getFakeTrustedApp.mockImplementation(() => { @@ -198,7 +192,6 @@ describe('When on the Trusted Apps Page', () => { describe('the license is downgraded to gold or below and the user is adding a new TA', () => { beforeEach(async () => { (licenseService.isPlatinumPlus as jest.Mock).mockReturnValue(false); - useIsExperimentalFeatureEnabledMock.mockReturnValue(true); const originalFakeTrustedAppProvider = getFakeTrustedApp.getMockImplementation(); getFakeTrustedApp.mockImplementation(() => { @@ -467,7 +460,6 @@ describe('When on the Trusted Apps Page', () => { }); it('should have list of policies populated', async () => { - useIsExperimentalFeatureEnabledMock.mockReturnValue(true); const resetEnv = forceHTMLElementOffsetWidth(); const renderResult = await renderAndClickAddButton(); act(() => { @@ -700,23 +692,6 @@ describe('When on the Trusted Apps Page', () => { expect(flyoutAddButton.disabled).toBe(true); }); }); - - describe('and there is a feature flag for agents policy', () => { - it('should hide agents policy if feature flag is disabled', async () => { - useIsExperimentalFeatureEnabledMock.mockReturnValue(false); - const renderResult = await renderAndClickAddButton(); - expect( - renderResult.queryByTestId('addTrustedAppFlyout-createForm-policySelection') - ).toBeNull(); - }); - it('should display agents policy if feature flag is enabled', async () => { - useIsExperimentalFeatureEnabledMock.mockReturnValue(true); - const renderResult = await renderAndClickAddButton(); - expect( - renderResult.queryByTestId('addTrustedAppFlyout-createForm-policySelection') - ).toBeTruthy(); - }); - }); }); describe('and there are no trusted apps', () => { diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/trusted_apps_page.tsx b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/trusted_apps_page.tsx index 63cb52785ea96..7990fb66cd783 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/trusted_apps_page.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/trusted_apps_page.tsx @@ -33,13 +33,9 @@ import { EmptyState } from './components/empty_state'; import { SearchExceptions } from '../../../components/search_exceptions'; import { BackToExternalAppButton } from '../../../components/back_to_external_app_button'; import { ListPageRouteState } from '../../../../../common/endpoint/types'; -import { useIsExperimentalFeatureEnabled } from '../../../../common/hooks/use_experimental_features'; import { ManagementPageLoader } from '../../../components/management_page_loader'; export const TrustedAppsPage = memo(() => { - const isTrustedAppsByPolicyEnabled = useIsExperimentalFeatureEnabled( - 'trustedAppsByPolicyEnabled' - ); const dispatch = useDispatch>(); const { state: routeState } = useLocation(); const location = useTrustedAppsSelector(getCurrentLocation); @@ -49,10 +45,9 @@ export const TrustedAppsPage = memo(() => { const doEntriesExist = useTrustedAppsSelector(entriesExist); const didEntriesExist = useTrustedAppsSelector(prevEntriesExist); const navigationCallbackQuery = useTrustedAppsNavigateCallback( - (query: string, includedPolicies?: string, excludedPolicies?: string) => ({ + (query: string, includedPolicies?: string) => ({ filter: query, included_policies: includedPolicies, - excluded_policies: excludedPolicies, }) ); @@ -66,9 +61,9 @@ export const TrustedAppsPage = memo(() => { })); const handleOnSearch = useCallback( - (query: string, includedPolicies?: string, excludedPolicies?: string) => { + (query: string, includedPolicies?: string) => { dispatch({ type: 'trustedAppForceRefresh', payload: { forceRefresh: true } }); - navigationCallbackQuery(query, includedPolicies, excludedPolicies); + navigationCallbackQuery(query, includedPolicies); }, [dispatch, navigationCallbackQuery] ); @@ -120,9 +115,8 @@ export const TrustedAppsPage = memo(() => { defaultValue={location.filter} onSearch={handleOnSearch} placeholder={SEARCH_TRUSTED_APP_PLACEHOLDER} - hasPolicyFilter={isTrustedAppsByPolicyEnabled} + hasPolicyFilter={true} policyList={policyList} - defaultExcludedPolicies={location.excluded_policies} defaultIncludedPolicies={location.included_policies} /> { alpha: 1, visible: true, style: null, - type: 'VECTOR_TILE', + type: LAYER_TYPE.EMS_VECTOR_TILE, }, ...indexPatternIds.reduce((acc: object[], { title, id }) => { return [ @@ -184,7 +184,7 @@ export const getSourceLayer = ( maxZoom: 24, alpha: 1, visible: true, - type: 'VECTOR', + type: LAYER_TYPE.GEOJSON_VECTOR, query: { query: '', language: 'kuery' }, joins: [], }); @@ -248,7 +248,7 @@ export const getDestinationLayer = ( maxZoom: 24, alpha: 1, visible: true, - type: 'VECTOR', + type: LAYER_TYPE.GEOJSON_VECTOR, query: { query: '', language: 'kuery' }, }); @@ -332,6 +332,6 @@ export const getLineLayer = ( maxZoom: 24, alpha: 0.5, visible: true, - type: 'VECTOR', + type: LAYER_TYPE.GEOJSON_VECTOR, query: { query: '', language: 'kuery' }, }); diff --git a/x-pack/plugins/security_solution/public/overview/components/host_overview/__snapshots__/index.test.tsx.snap b/x-pack/plugins/security_solution/public/overview/components/host_overview/__snapshots__/index.test.tsx.snap index 5d7b2d5b85af6..2ba013744ca10 100644 --- a/x-pack/plugins/security_solution/public/overview/components/host_overview/__snapshots__/index.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/overview/components/host_overview/__snapshots__/index.test.tsx.snap @@ -194,6 +194,7 @@ exports[`Host Summary Component rendering it renders the default Host Summary 1` } docValueFields={Array []} endDate="2019-06-18T06:00:00.000Z" + hostName="testHostName" id="hostOverview" indexNames={Array []} isInDetailsSidePanel={false} @@ -398,6 +399,7 @@ exports[`Host Summary Component rendering it renders the panel view Host Summary } docValueFields={Array []} endDate="2019-06-18T06:00:00.000Z" + hostName="testHostName" id="hostOverview" indexNames={Array []} isInDetailsSidePanel={true} diff --git a/x-pack/plugins/security_solution/public/overview/components/host_overview/index.test.tsx b/x-pack/plugins/security_solution/public/overview/components/host_overview/index.test.tsx index e1c12ac6383a6..4e5418816ee9c 100644 --- a/x-pack/plugins/security_solution/public/overview/components/host_overview/index.test.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/host_overview/index.test.tsx @@ -6,13 +6,24 @@ */ import { shallow } from 'enzyme'; +import { render } from '@testing-library/react'; import React from 'react'; import '../../../common/mock/match_media'; import { TestProviders } from '../../../common/mock'; import { HostOverview } from './index'; +import { useHostsRiskScore } from '../../../common/containers/hosts_risk/use_hosts_risk_score'; import { mockData } from './mock'; import { mockAnomalies } from '../../../common/components/ml/mock'; + +jest.mock('../../../common/containers/hosts_risk/use_hosts_risk_score', () => ({ + useHostsRiskScore: jest.fn().mockReturnValue({ + result: [], + isModuleEnabled: false, + loading: true, + }), +})); + describe('Host Summary Component', () => { describe('rendering', () => { const mockProps = { @@ -27,6 +38,7 @@ describe('Host Summary Component', () => { loading: false, narrowDateRange: jest.fn(), startDate: '2019-06-15T06:00:00.000Z', + hostName: 'testHostName', }; test('it renders the default Host Summary', () => { @@ -53,5 +65,40 @@ describe('Host Summary Component', () => { expect(wrapper.find('HostOverview')).toMatchSnapshot(); }); + + test('it renders host risk score and level', () => { + const panelViewProps = { + ...mockProps, + isInDetailsSidePanel: true, + }; + const risk = 'very high hos risk'; + const riskScore = 9999999; + + (useHostsRiskScore as jest.Mock).mockReturnValue({ + result: [ + { + host: { + name: 'testHostmame', + }, + risk, + risk_stats: { + rule_risks: [], + risk_score: riskScore, + }, + }, + ], + isModuleEnabled: true, + loading: false, + }); + + const { getByTestId } = render( + + + + ); + + expect(getByTestId('host-risk-overview')).toHaveTextContent(risk); + expect(getByTestId('host-risk-overview')).toHaveTextContent(riskScore.toString()); + }); }); }); diff --git a/x-pack/plugins/security_solution/public/overview/components/host_overview/index.tsx b/x-pack/plugins/security_solution/public/overview/components/host_overview/index.tsx index 0708892affe13..65e85e99e87a0 100644 --- a/x-pack/plugins/security_solution/public/overview/components/host_overview/index.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/host_overview/index.tsx @@ -5,15 +5,15 @@ * 2.0. */ -import { EuiHorizontalRule } from '@elastic/eui'; +import { EuiFlexItem, EuiFlexGroup, EuiHorizontalRule } from '@elastic/eui'; import { euiLightVars as lightTheme, euiDarkVars as darkTheme, } from '@kbn/ui-shared-deps-src/theme'; import { getOr } from 'lodash/fp'; import React, { useCallback, useMemo } from 'react'; - -import { DocValueFields, HostItem } from '../../../../common/search_strategy'; +import styled from 'styled-components'; +import { DocValueFields, HostItem, HostRiskSeverity } from '../../../../common/search_strategy'; import { DEFAULT_DARK_MODE } from '../../../../common/constants'; import { DescriptionList } from '../../../../common/utility_types'; import { useUiSetting$ } from '../../../common/lib/kibana'; @@ -29,7 +29,7 @@ import { hasMlUserPermissions } from '../../../../common/machine_learning/has_ml import { useMlCapabilities } from '../../../common/components/ml/hooks/use_ml_capabilities'; import { AnomalyScores } from '../../../common/components/ml/score/anomaly_scores'; import { Anomalies, NarrowDateRange } from '../../../common/components/ml/types'; -import { OverviewWrapper } from '../../../common/components/page'; +import { DescriptionListStyled, OverviewWrapper } from '../../../common/components/page'; import { FirstLastSeenHost, FirstLastSeenHostType, @@ -38,6 +38,8 @@ import { import * as i18n from './translations'; import { EndpointOverview } from './endpoint_overview'; import { OverviewDescriptionList } from '../../../common/components/overview_description_list'; +import { useHostsRiskScore } from '../../../common/containers/hosts_risk/use_hosts_risk_score'; +import { HostRiskScore } from '../../../hosts/components/common/host_risk_score'; interface HostSummaryProps { contextID?: string; // used to provide unique draggable context when viewing in the side panel @@ -53,8 +55,14 @@ interface HostSummaryProps { startDate: string; endDate: string; narrowDateRange: NarrowDateRange; + hostName: string; } +const HostRiskOverviewWrapper = styled(EuiFlexGroup)` + padding-top: ${({ theme }) => theme.eui.euiSizeM}; + width: 50%; +`; + export const HostOverview = React.memo( ({ anomaliesData, @@ -70,10 +78,14 @@ export const HostOverview = React.memo( loading, narrowDateRange, startDate, + hostName, }) => { const capabilities = useMlCapabilities(); const userPermissions = hasMlUserPermissions(capabilities); const [darkMode] = useUiSetting$(DEFAULT_DARK_MODE); + const hostRisk = useHostsRiskScore({ + hostName, + }); const getDefaultRenderer = useCallback( (fieldName: string, fieldData: HostItem) => ( @@ -87,6 +99,40 @@ export const HostOverview = React.memo( [contextID, isDraggable] ); + const [hostRiskScore, hostRiskLevel] = useMemo(() => { + if (hostRisk?.isModuleEnabled) { + const hostRiskData = + hostRisk.result && hostRisk.result.length > 0 ? hostRisk.result[0] : undefined; + return [ + { + title: i18n.HOST_RISK_SCORE, + description: ( + <> + {hostRiskData ? Math.round(hostRiskData.risk_stats.risk_score) : getEmptyTagValue()} + + ), + }, + + { + title: i18n.HOST_RISK_CLASSIFICATION, + description: ( + <> + {hostRiskData ? ( + + ) : ( + getEmptyTagValue() + )} + + ), + }, + ]; + } + return [undefined, undefined]; + }, [hostRisk]); + const column: DescriptionList[] = useMemo( () => [ { @@ -231,6 +277,21 @@ export const HostOverview = React.memo( )} + {hostRiskScore && hostRiskLevel && ( + + + + + + + + + )} + {data && data.endpoint != null ? ( <> diff --git a/x-pack/plugins/security_solution/public/overview/components/host_overview/translations.ts b/x-pack/plugins/security_solution/public/overview/components/host_overview/translations.ts index c00a1b8e0a4b9..e4e47da524842 100644 --- a/x-pack/plugins/security_solution/public/overview/components/host_overview/translations.ts +++ b/x-pack/plugins/security_solution/public/overview/components/host_overview/translations.ts @@ -26,6 +26,20 @@ export const MAX_ANOMALY_SCORE_BY_JOB = i18n.translate( } ); +export const HOST_RISK_SCORE = i18n.translate( + 'xpack.securitySolution.host.details.overview.hostRiskScoreTitle', + { + defaultMessage: 'Host risk score', + } +); + +export const HOST_RISK_CLASSIFICATION = i18n.translate( + 'xpack.securitySolution.host.details.overview.hostRiskClassification', + { + defaultMessage: 'Host risk classification', + } +); + export const IP_ADDRESSES = i18n.translate( 'xpack.securitySolution.host.details.overview.ipAddressesTitle', { diff --git a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/navigate_to_host.tsx b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/navigate_to_host.tsx index 2c8e281b376d6..afa0cfe7e9ae8 100644 --- a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/navigate_to_host.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/navigate_to_host.tsx @@ -6,7 +6,7 @@ */ import React, { useCallback } from 'react'; -import { EuiButtonEmpty, EuiText } from '@elastic/eui'; +import { EuiButtonEmpty, EuiText, EuiToolTip } from '@elastic/eui'; import { APP_UI_ID, SecurityPageName } from '../../../../common/constants'; import { useKibana } from '../../../common/lib/kibana'; @@ -34,8 +34,10 @@ export const NavigateToHost: React.FC<{ name: string }> = ({ name }): JSX.Elemen [filterManager, name, navigateToApp] ); return ( - - {name} - + + + {name} + + ); }; diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/__snapshots__/index.test.tsx.snap b/x-pack/plugins/security_solution/public/timelines/components/side_panel/__snapshots__/index.test.tsx.snap new file mode 100644 index 0000000000000..4f059c90d51e1 --- /dev/null +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/__snapshots__/index.test.tsx.snap @@ -0,0 +1,1142 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Details Panel Component DetailsPanel:HostDetails: rendering it should render the Host Details view in the Details Panel when the panelView is hostDetail and the hostName is set 1`] = ` +.c3 { + color: #535966; +} + +.c2 dt { + font-size: 12px !important; +} + +.c2 dd { + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; +} + +.c2 dd > div { + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; +} + +.c1 { + position: relative; +} + +.c1 .euiButtonIcon { + position: absolute; + right: 12px; + top: 6px; + z-index: 2; +} + +.c0 { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.c0 > * { + max-width: 100%; +} + +.c0 .inspectButtonComponent { + pointer-events: none; + opacity: 0; + -webkit-transition: opacity 250ms ease; + transition: opacity 250ms ease; +} + +.c0:hover .inspectButtonComponent { + pointer-events: auto; + opacity: 1; +} + +.c4 { + padding: 16px; + background: rgba(250,251,253,0.9); + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 1000; +} + +.c5 { + height: 100%; +} + + + + + + + +
+ + +
+ + — + , + "title": "Host ID", + }, + Object { + "description": + — + , + "title": "First seen", + }, + Object { + "description": + — + , + "title": "Last seen", + }, + ] + } + key="0" + > + +
+ + — + , + "title": "Host ID", + }, + Object { + "description": + — + , + "title": "First seen", + }, + Object { + "description": + — + , + "title": "Last seen", + }, + ] + } + > + + — + , + "title": "Host ID", + }, + Object { + "description": + — + , + "title": "First seen", + }, + Object { + "description": + — + , + "title": "Last seen", + }, + ] + } + > +
+ +
+ Host ID +
+
+ +
+ + + — + + +
+
+ +
+ First seen +
+
+ +
+ + + — + + +
+
+ +
+ Last seen +
+
+ +
+ + + — + + +
+
+
+
+
+
+
+
+ , + "title": "IP addresses", + }, + Object { + "description": , + "title": "MAC addresses", + }, + Object { + "description": , + "title": "Platform", + }, + ] + } + key="1" + > + +
+ , + "title": "IP addresses", + }, + Object { + "description": , + "title": "MAC addresses", + }, + Object { + "description": , + "title": "Platform", + }, + ] + } + > + , + "title": "IP addresses", + }, + Object { + "description": , + "title": "MAC addresses", + }, + Object { + "description": , + "title": "Platform", + }, + ] + } + > +
+ +
+ IP addresses +
+
+ +
+ + + + — + + + +
+
+ +
+ MAC addresses +
+
+ +
+ + + + — + + + +
+
+ +
+ Platform +
+
+ +
+ + + + — + + + +
+
+
+
+
+
+
+
+ , + "title": "Operating system", + }, + Object { + "description": , + "title": "Family", + }, + Object { + "description": , + "title": "Version", + }, + Object { + "description": , + "title": "Architecture", + }, + ] + } + key="2" + > + +
+ , + "title": "Operating system", + }, + Object { + "description": , + "title": "Family", + }, + Object { + "description": , + "title": "Version", + }, + Object { + "description": , + "title": "Architecture", + }, + ] + } + > + , + "title": "Operating system", + }, + Object { + "description": , + "title": "Family", + }, + Object { + "description": , + "title": "Version", + }, + Object { + "description": , + "title": "Architecture", + }, + ] + } + > +
+ +
+ Operating system +
+
+ +
+ + + + — + + + +
+
+ +
+ Family +
+
+ +
+ + + + — + + + +
+
+ +
+ Version +
+
+ +
+ + + + — + + + +
+
+ +
+ Architecture +
+
+ +
+ + + + — + + + +
+
+
+
+
+
+
+
+ , + "title": "Cloud provider", + }, + Object { + "description": , + "title": "Region", + }, + Object { + "description": , + "title": "Instance ID", + }, + Object { + "description": , + "title": "Machine type", + }, + ] + } + key="3" + > + +
+ , + "title": "Cloud provider", + }, + Object { + "description": , + "title": "Region", + }, + Object { + "description": , + "title": "Instance ID", + }, + Object { + "description": , + "title": "Machine type", + }, + ] + } + > + , + "title": "Cloud provider", + }, + Object { + "description": , + "title": "Region", + }, + Object { + "description": , + "title": "Instance ID", + }, + Object { + "description": , + "title": "Machine type", + }, + ] + } + > +
+ +
+ Cloud provider +
+
+ +
+ + + + — + + + +
+
+ +
+ Region +
+
+ +
+ + + + — + + + +
+
+ +
+ Instance ID +
+
+ +
+ + + + — + + + +
+
+ +
+ Machine type +
+
+ +
+ + + + — + + + +
+
+
+
+
+
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+`; diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/host_details/__snapshots__/expandable_host.test.tsx.snap b/x-pack/plugins/security_solution/public/timelines/components/side_panel/host_details/__snapshots__/expandable_host.test.tsx.snap index e00b89e8837bc..be983d2320a95 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/host_details/__snapshots__/expandable_host.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/host_details/__snapshots__/expandable_host.test.tsx.snap @@ -102,6 +102,7 @@ exports[`Expandable Host Component ExpandableHostDetails: rendering it should re ] } endDate="2020-07-08T08:20:18.966Z" + hostName="testHostName" id="hostsDetailsQuery" indexNames={ Array [ diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/host_details/expandable_host.tsx b/x-pack/plugins/security_solution/public/timelines/components/side_panel/host_details/expandable_host.tsx index dae1f7add11e3..f19a63a5f3382 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/host_details/expandable_host.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/host_details/expandable_host.tsx @@ -101,6 +101,7 @@ export const ExpandableHostDetails = ({ to: fromTo.to, }); }} + hostName={hostName} /> )} diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/index.test.tsx b/x-pack/plugins/security_solution/public/timelines/components/side_panel/index.test.tsx index 54ceb71132fd0..5d43ce71263ea 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/index.test.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/index.test.tsx @@ -1029,1145 +1029,7 @@ describe('Details Panel Component', () => { ); - expect(wrapper.find('ExpandableHostDetails')).toMatchInlineSnapshot(` - .c3 { - color: #535966; - } - - .c2 dt { - font-size: 12px !important; - } - - .c2 dd { - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - } - - .c2 dd > div { - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - } - - .c1 { - position: relative; - } - - .c1 .euiButtonIcon { - position: absolute; - right: 12px; - top: 6px; - z-index: 2; - } - - .c0 { - width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - } - - .c0 > * { - max-width: 100%; - } - - .c0 .inspectButtonComponent { - pointer-events: none; - opacity: 0; - -webkit-transition: opacity 250ms ease; - transition: opacity 250ms ease; - } - - .c0:hover .inspectButtonComponent { - pointer-events: auto; - opacity: 1; - } - - .c4 { - padding: 16px; - background: rgba(250,251,253,0.9); - bottom: 0; - left: 0; - position: absolute; - right: 0; - top: 0; - z-index: 1000; - } - - .c5 { - height: 100%; - } - - - - - - - -
- - -
- - — - , - "title": "Host ID", - }, - Object { - "description": - — - , - "title": "First seen", - }, - Object { - "description": - — - , - "title": "Last seen", - }, - ] - } - key="0" - > - -
- - — - , - "title": "Host ID", - }, - Object { - "description": - — - , - "title": "First seen", - }, - Object { - "description": - — - , - "title": "Last seen", - }, - ] - } - > - - — - , - "title": "Host ID", - }, - Object { - "description": - — - , - "title": "First seen", - }, - Object { - "description": - — - , - "title": "Last seen", - }, - ] - } - > -
- -
- Host ID -
-
- -
- - - — - - -
-
- -
- First seen -
-
- -
- - - — - - -
-
- -
- Last seen -
-
- -
- - - — - - -
-
-
-
-
-
-
-
- , - "title": "IP addresses", - }, - Object { - "description": , - "title": "MAC addresses", - }, - Object { - "description": , - "title": "Platform", - }, - ] - } - key="1" - > - -
- , - "title": "IP addresses", - }, - Object { - "description": , - "title": "MAC addresses", - }, - Object { - "description": , - "title": "Platform", - }, - ] - } - > - , - "title": "IP addresses", - }, - Object { - "description": , - "title": "MAC addresses", - }, - Object { - "description": , - "title": "Platform", - }, - ] - } - > -
- -
- IP addresses -
-
- -
- - - - — - - - -
-
- -
- MAC addresses -
-
- -
- - - - — - - - -
-
- -
- Platform -
-
- -
- - - - — - - - -
-
-
-
-
-
-
-
- , - "title": "Operating system", - }, - Object { - "description": , - "title": "Family", - }, - Object { - "description": , - "title": "Version", - }, - Object { - "description": , - "title": "Architecture", - }, - ] - } - key="2" - > - -
- , - "title": "Operating system", - }, - Object { - "description": , - "title": "Family", - }, - Object { - "description": , - "title": "Version", - }, - Object { - "description": , - "title": "Architecture", - }, - ] - } - > - , - "title": "Operating system", - }, - Object { - "description": , - "title": "Family", - }, - Object { - "description": , - "title": "Version", - }, - Object { - "description": , - "title": "Architecture", - }, - ] - } - > -
- -
- Operating system -
-
- -
- - - - — - - - -
-
- -
- Family -
-
- -
- - - - — - - - -
-
- -
- Version -
-
- -
- - - - — - - - -
-
- -
- Architecture -
-
- -
- - - - — - - - -
-
-
-
-
-
-
-
- , - "title": "Cloud provider", - }, - Object { - "description": , - "title": "Region", - }, - Object { - "description": , - "title": "Instance ID", - }, - Object { - "description": , - "title": "Machine type", - }, - ] - } - key="3" - > - -
- , - "title": "Cloud provider", - }, - Object { - "description": , - "title": "Region", - }, - Object { - "description": , - "title": "Instance ID", - }, - Object { - "description": , - "title": "Machine type", - }, - ] - } - > - , - "title": "Cloud provider", - }, - Object { - "description": , - "title": "Region", - }, - Object { - "description": , - "title": "Instance ID", - }, - Object { - "description": , - "title": "Machine type", - }, - ] - } - > -
- -
- Cloud provider -
-
- -
- - - - — - - - -
-
- -
- Region -
-
- -
- - - - — - - - -
-
- -
- Instance ID -
-
- -
- - - - — - - - -
-
- -
- Machine type -
-
- -
- - - - — - - - -
-
-
-
-
-
-
-
- - - -
-
-
-
-
-
-
-
-
-
- `); + expect(wrapper.find('ExpandableHostDetails')).toMatchSnapshot(); }); }); diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.test.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.test.tsx index 4a49d15cefa26..06835e78b03e1 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.test.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.test.tsx @@ -126,7 +126,7 @@ describe('Actions', () => { test('it enables for eventType=signal', () => { const ecsData = { ...mockTimelineData[0].ecs, - kibana: { alert: { rule: { uuid: ['123'] } } }, + kibana: { alert: { rule: { uuid: ['123'], parameters: {} } } }, }; const wrapper = mount( diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx index 50e93e678e9c7..75ca399bf52d4 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx @@ -68,6 +68,7 @@ const ActionsComponent: React.FC = ({ const tGridEnabled = useIsExperimentalFeatureEnabled('tGridEnabled'); const emptyNotes: string[] = []; const getTimeline = useMemo(() => timelineSelectors.getTimelineByIdSelector(), []); + const alertIds = useMemo(() => [ecsData._id], [ecsData]); const onPinEvent: OnPinEvent = useCallback( (evtId) => dispatch(timelineActions.pinEvent({ id: timelineId, eventId: evtId })), @@ -166,6 +167,7 @@ const ActionsComponent: React.FC = ({ )} diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx index 127f404a40751..aa2905955210a 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx @@ -122,7 +122,7 @@ export const SearchOrFilter = React.memo( itemClassName={timelineSelectModeItemsClassName} onChange={handleChange} options={options} - popoverClassName={searchOrFilterPopoverClassName} + popoverProps={{ className: searchOrFilterPopoverClassName }} valueOfSelected={kqlMode} /> diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/super_select.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/super_select.tsx index 1922fb8a3b985..2e6b486cf3e91 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/super_select.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/super_select.tsx @@ -178,12 +178,12 @@ export class EuiSuperSelect extends Component extends Component [], diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_wrapper.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_wrapper.ts index 68b48ec169667..ac889ebc55cdf 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_wrapper.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_wrapper.ts @@ -284,7 +284,7 @@ export const createSecurityRuleTypeWrapper: CreateSecurityRuleTypeWrapper = errors: result.errors.concat(runResult.errors), lastLookbackDate: runResult.lastLookBackDate, searchAfterTimes: result.searchAfterTimes.concat(runResult.searchAfterTimes), - state: runState, + state: runResult.state, success: result.success && runResult.success, warning: warningMessages.length > 0, warningMessages, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.test.ts deleted file mode 100644 index 10a7f38fbf389..0000000000000 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.test.ts +++ /dev/null @@ -1,599 +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 moment from 'moment'; -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; -import { loggingSystemMock } from 'src/core/server/mocks'; -import { getAlertMock } from '../routes/__mocks__/request_responses'; -import { signalRulesAlertType } from './signal_rule_alert_type'; -import { alertsMock, AlertServicesMock } from '../../../../../alerting/server/mocks'; -import { - getListsClient, - getExceptions, - checkPrivileges, - createSearchAfterReturnType, -} from './utils'; -import { parseScheduleDates } from '@kbn/securitysolution-io-ts-utils'; -import { RuleExecutorOptions, SearchAfterAndBulkCreateReturnType } from './types'; -import { RuleAlertType } from '../rules/types'; -import { listMock } from '../../../../../lists/server/mocks'; -import { getListClientMock } from '../../../../../lists/server/services/lists/list_client.mock'; -import { getExceptionListClientMock } from '../../../../../lists/server/services/exception_lists/exception_list_client.mock'; -import { getExceptionListItemSchemaMock } from '../../../../../lists/common/schemas/response/exception_list_item_schema.mock'; -import type { TransportResult } from '@elastic/elasticsearch'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { elasticsearchClientMock } from 'src/core/server/elasticsearch/client/mocks'; -import { queryExecutor } from './executors/query'; -import { mlExecutor } from './executors/ml'; -import { getMlRuleParams, getQueryRuleParams } from '../schemas/rule_schemas.mock'; -import { errors } from '@elastic/elasticsearch'; -import { allowedExperimentalValues } from '../../../../common/experimental_features'; -import { scheduleNotificationActions } from '../notifications/schedule_notification_actions'; -import { ruleExecutionLogClientMock } from '../rule_execution_log/__mocks__/rule_execution_log_client'; -import { RuleExecutionStatus } from '../../../../common/detection_engine/schemas/common/schemas'; -import { scheduleThrottledNotificationActions } from '../notifications/schedule_throttle_notification_actions'; -import { eventLogServiceMock } from '../../../../../event_log/server/mocks'; -import { createMockConfig } from '../routes/__mocks__'; - -jest.mock('./utils', () => { - const original = jest.requireActual('./utils'); - return { - ...original, - getListsClient: jest.fn(), - getExceptions: jest.fn(), - sortExceptionItems: jest.fn(), - checkPrivileges: jest.fn(), - }; -}); -jest.mock('../notifications/schedule_notification_actions'); -jest.mock('./executors/query'); -jest.mock('./executors/ml'); -jest.mock('@kbn/securitysolution-io-ts-utils', () => { - const original = jest.requireActual('@kbn/securitysolution-io-ts-utils'); - return { - ...original, - parseScheduleDates: jest.fn(), - }; -}); -jest.mock('../notifications/schedule_throttle_notification_actions'); -const mockRuleExecutionLogClient = ruleExecutionLogClientMock.create(); - -jest.mock('../rule_execution_log/rule_execution_log_client', () => ({ - RuleExecutionLogClient: jest.fn().mockImplementation(() => mockRuleExecutionLogClient), -})); - -const getPayload = ( - ruleAlert: RuleAlertType, - services: AlertServicesMock -): RuleExecutorOptions => ({ - alertId: ruleAlert.id, - services, - name: ruleAlert.name, - tags: ruleAlert.tags, - params: { - ...ruleAlert.params, - }, - state: {}, - spaceId: '', - startedAt: new Date('2019-12-13T16:50:33.400Z'), - previousStartedAt: new Date('2019-12-13T16:40:33.400Z'), - createdBy: 'elastic', - updatedBy: 'elastic', - rule: { - name: ruleAlert.name, - tags: ruleAlert.tags, - consumer: 'foo', - producer: 'foo', - ruleTypeId: 'ruleType', - ruleTypeName: 'Name of rule', - enabled: true, - schedule: { - interval: '5m', - }, - actions: ruleAlert.actions, - createdBy: 'elastic', - updatedBy: 'elastic', - createdAt: new Date('2019-12-13T16:50:33.400Z'), - updatedAt: new Date('2019-12-13T16:50:33.400Z'), - throttle: null, - notifyWhen: null, - }, -}); - -// Deprecated -describe.skip('signal_rule_alert_type', () => { - const version = '8.0.0'; - const jobsSummaryMock = jest.fn(); - const mlMock = { - mlClient: { - callAsInternalUser: jest.fn(), - close: jest.fn(), - asScoped: jest.fn(), - }, - jobServiceProvider: jest.fn().mockReturnValue({ - jobsSummary: jobsSummaryMock, - }), - anomalyDetectorsProvider: jest.fn(), - mlSystemProvider: jest.fn(), - modulesProvider: jest.fn(), - resultsServiceProvider: jest.fn(), - alertingServiceProvider: jest.fn(), - }; - let payload: jest.Mocked; - let alert: ReturnType; - let logger: ReturnType; - let alertServices: AlertServicesMock; - let eventLogService: ReturnType; - - beforeEach(() => { - alertServices = alertsMock.createAlertServices(); - logger = loggingSystemMock.createLogger(); - eventLogService = eventLogServiceMock.create(); - (getListsClient as jest.Mock).mockReturnValue({ - listClient: getListClientMock(), - exceptionsClient: getExceptionListClientMock(), - }); - (getExceptions as jest.Mock).mockReturnValue([getExceptionListItemSchemaMock()]); - (checkPrivileges as jest.Mock).mockImplementation(async (_, indices) => { - return { - index: indices.reduce( - (acc: { index: { [x: string]: { read: boolean } } }, index: string) => { - return { - [index]: { - read: true, - }, - ...acc, - }; - }, - {} - ), - }; - }); - const executorReturnValue = createSearchAfterReturnType({ - createdSignalsCount: 10, - }); - (queryExecutor as jest.Mock).mockClear(); - (queryExecutor as jest.Mock).mockResolvedValue(executorReturnValue); - (mlExecutor as jest.Mock).mockClear(); - (mlExecutor as jest.Mock).mockResolvedValue(executorReturnValue); - (parseScheduleDates as jest.Mock).mockReturnValue(moment(100)); - const value: Partial> = { - statusCode: 200, - body: { - indices: ['index1', 'index2', 'index3', 'index4'], - fields: { - '@timestamp': { - // @ts-expect-error not full interface - date: { - indices: ['index1', 'index2', 'index3', 'index4'], - searchable: true, - aggregatable: false, - }, - }, - }, - }, - }; - alertServices.scopedClusterClient.asCurrentUser.fieldCaps.mockResolvedValue( - value as TransportResult - ); - const ruleAlert = getAlertMock(false, getQueryRuleParams()); - alertServices.savedObjectsClient.get.mockResolvedValue({ - id: 'id', - type: 'type', - references: [], - attributes: ruleAlert, - }); - - payload = getPayload(ruleAlert, alertServices) as jest.Mocked; - - alert = signalRulesAlertType({ - experimentalFeatures: allowedExperimentalValues, - logger, - eventsTelemetry: undefined, - version, - ml: mlMock, - lists: listMock.createSetup(), - config: createMockConfig(), - eventLogService, - }); - - mockRuleExecutionLogClient.logStatusChange.mockClear(); - (scheduleThrottledNotificationActions as jest.Mock).mockClear(); - }); - - describe('executor', () => { - it('should log success status if signals were created', async () => { - payload.previousStartedAt = null; - await alert.executor(payload); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenLastCalledWith( - expect.objectContaining({ - newStatus: RuleExecutionStatus.succeeded, - }) - ); - }); - - it('should warn about the gap between runs if gap is very large', async () => { - payload.previousStartedAt = moment(payload.startedAt).subtract(100, 'm').toDate(); - await alert.executor(payload); - expect(logger.warn).toHaveBeenCalled(); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenNthCalledWith( - 1, - expect.objectContaining({ - newStatus: RuleExecutionStatus['going to run'], - }) - ); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenNthCalledWith( - 2, - expect.objectContaining({ - newStatus: RuleExecutionStatus.failed, - metrics: { - executionGap: expect.any(Object), - }, - }) - ); - }); - - it('should set a warning for when rules cannot read ALL provided indices', async () => { - (checkPrivileges as jest.Mock).mockResolvedValueOnce({ - username: 'elastic', - has_all_requested: false, - cluster: {}, - index: { - 'myfa*': { - read: true, - }, - 'anotherindex*': { - read: true, - }, - 'some*': { - read: false, - }, - }, - application: {}, - }); - const newRuleAlert = getAlertMock(false, getQueryRuleParams()); - newRuleAlert.params.index = ['some*', 'myfa*', 'anotherindex*']; - payload = getPayload(newRuleAlert, alertServices) as jest.Mocked; - - await alert.executor(payload); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenNthCalledWith( - 2, - expect.objectContaining({ - newStatus: RuleExecutionStatus['partial failure'], - message: - 'This rule may not have the required read privileges to the following indices/index patterns: ["some*"]', - }) - ); - }); - - it('should set a failure status for when rules cannot read ANY provided indices', async () => { - (checkPrivileges as jest.Mock).mockResolvedValueOnce({ - username: 'elastic', - has_all_requested: false, - cluster: {}, - index: { - 'myfa*': { - read: false, - }, - 'some*': { - read: false, - }, - }, - application: {}, - }); - const newRuleAlert = getAlertMock(false, getQueryRuleParams()); - newRuleAlert.params.index = ['some*', 'myfa*', 'anotherindex*']; - payload = getPayload(newRuleAlert, alertServices) as jest.Mocked; - - await alert.executor(payload); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenNthCalledWith( - 2, - expect.objectContaining({ - newStatus: RuleExecutionStatus['partial failure'], - message: - 'This rule may not have the required read privileges to the following indices/index patterns: ["myfa*","some*"]', - }) - ); - }); - - it('should NOT warn about the gap between runs if gap small', async () => { - payload.previousStartedAt = moment().subtract(10, 'm').toDate(); - await alert.executor(payload); - expect(logger.warn).toHaveBeenCalledTimes(0); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenCalledTimes(2); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenNthCalledWith( - 1, - expect.objectContaining({ - newStatus: RuleExecutionStatus['going to run'], - }) - ); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenNthCalledWith( - 2, - expect.objectContaining({ - newStatus: RuleExecutionStatus.succeeded, - }) - ); - }); - - it('should call scheduleActions if signalsCount was greater than 0 and rule has actions defined', async () => { - const ruleAlert = getAlertMock(false, getQueryRuleParams()); - ruleAlert.actions = [ - { - actionTypeId: '.slack', - params: { - message: - 'Rule generated {{state.signals_count}} signals\n\n{{context.rule.name}}\n{{{context.results_link}}}', - }, - group: 'default', - id: '99403909-ca9b-49ba-9d7a-7e5320e68d05', - }, - ]; - - alertServices.savedObjectsClient.get.mockResolvedValue({ - id: 'id', - type: 'type', - references: [], - attributes: ruleAlert, - }); - - await alert.executor(payload); - }); - - it('should resolve results_link when meta is an empty object to use "/app/security"', async () => { - const ruleAlert = getAlertMock(false, getQueryRuleParams()); - ruleAlert.params.meta = {}; - ruleAlert.actions = [ - { - actionTypeId: '.slack', - params: { - message: - 'Rule generated {{state.signals_count}} signals\n\n{{context.rule.name}}\n{{{context.results_link}}}', - }, - group: 'default', - id: '99403909-ca9b-49ba-9d7a-7e5320e68d05', - }, - ]; - - const modifiedPayload = getPayload( - ruleAlert, - alertServices - ) as jest.Mocked; - - await alert.executor(modifiedPayload); - - expect(scheduleNotificationActions).toHaveBeenCalledWith( - expect.objectContaining({ - resultsLink: `/app/security/detections/rules/id/${ruleAlert.id}?timerange=(global:(linkTo:!(timeline),timerange:(from:100,kind:absolute,to:100)),timeline:(linkTo:!(global),timerange:(from:100,kind:absolute,to:100)))`, - }) - ); - }); - - it('should resolve results_link when meta is undefined use "/app/security"', async () => { - const ruleAlert = getAlertMock(false, getQueryRuleParams()); - delete ruleAlert.params.meta; - ruleAlert.actions = [ - { - actionTypeId: '.slack', - params: { - message: - 'Rule generated {{state.signals_count}} signals\n\n{{context.rule.name}}\n{{{context.results_link}}}', - }, - group: 'default', - id: '99403909-ca9b-49ba-9d7a-7e5320e68d05', - }, - ]; - - const modifiedPayload = getPayload( - ruleAlert, - alertServices - ) as jest.Mocked; - - await alert.executor(modifiedPayload); - - expect(scheduleNotificationActions).toHaveBeenCalledWith( - expect.objectContaining({ - resultsLink: `/app/security/detections/rules/id/${ruleAlert.id}?timerange=(global:(linkTo:!(timeline),timerange:(from:100,kind:absolute,to:100)),timeline:(linkTo:!(global),timerange:(from:100,kind:absolute,to:100)))`, - }) - ); - }); - - it('should resolve results_link with a custom link', async () => { - const ruleAlert = getAlertMock(false, getQueryRuleParams()); - ruleAlert.params.meta = { kibana_siem_app_url: 'http://localhost' }; - ruleAlert.actions = [ - { - actionTypeId: '.slack', - params: { - message: - 'Rule generated {{state.signals_count}} signals\n\n{{context.rule.name}}\n{{{context.results_link}}}', - }, - group: 'default', - id: '99403909-ca9b-49ba-9d7a-7e5320e68d05', - }, - ]; - - const modifiedPayload = getPayload( - ruleAlert, - alertServices - ) as jest.Mocked; - - await alert.executor(modifiedPayload); - - expect(scheduleNotificationActions).toHaveBeenCalledWith( - expect.objectContaining({ - resultsLink: `http://localhost/detections/rules/id/${ruleAlert.id}?timerange=(global:(linkTo:!(timeline),timerange:(from:100,kind:absolute,to:100)),timeline:(linkTo:!(global),timerange:(from:100,kind:absolute,to:100)))`, - }) - ); - }); - - describe('ML rule', () => { - it('should not call checkPrivileges if ML rule', async () => { - const ruleAlert = getAlertMock(false, getMlRuleParams()); - alertServices.savedObjectsClient.get.mockResolvedValue({ - id: 'id', - type: 'type', - references: [], - attributes: ruleAlert, - }); - payload = getPayload(ruleAlert, alertServices) as jest.Mocked; - payload.previousStartedAt = null; - (checkPrivileges as jest.Mock).mockClear(); - - await alert.executor(payload); - expect(checkPrivileges).toHaveBeenCalledTimes(0); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenLastCalledWith( - expect.objectContaining({ - newStatus: RuleExecutionStatus.succeeded, - }) - ); - }); - }); - }); - - describe('should catch error', () => { - it('when bulk indexing failed', async () => { - const result: SearchAfterAndBulkCreateReturnType = { - success: false, - warning: false, - searchAfterTimes: [], - bulkCreateTimes: [], - lastLookBackDate: null, - createdSignalsCount: 0, - createdSignals: [], - warningMessages: [], - errors: ['Error that bubbled up.'], - }; - (queryExecutor as jest.Mock).mockResolvedValue(result); - await alert.executor(payload); - expect(logger.error).toHaveBeenCalled(); - expect(logger.error.mock.calls[0][0]).toContain( - 'Bulk Indexing of signals failed: Error that bubbled up. name: "Detect Root/Admin Users" id: "04128c15-0d1b-4716-a4c5-46997ac7f3bd" rule id: "rule-1" signals index: ".siem-signals"' - ); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenLastCalledWith( - expect.objectContaining({ - newStatus: RuleExecutionStatus.failed, - }) - ); - }); - - it('when error was thrown', async () => { - (queryExecutor as jest.Mock).mockRejectedValue({}); - await alert.executor(payload); - expect(logger.error).toHaveBeenCalled(); - expect(logger.error.mock.calls[0][0]).toContain('An error occurred during rule execution'); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenLastCalledWith( - expect.objectContaining({ - newStatus: RuleExecutionStatus.failed, - }) - ); - }); - - it('and log failure with the default message', async () => { - (queryExecutor as jest.Mock).mockReturnValue( - elasticsearchClientMock.createErrorTransportRequestPromise( - new errors.ResponseError( - elasticsearchClientMock.createApiResponse({ - statusCode: 400, - body: { error: { type: 'some_error_type' } }, - }) - ) - ) - ); - await alert.executor(payload); - expect(logger.error).toHaveBeenCalled(); - expect(logger.error.mock.calls[0][0]).toContain('An error occurred during rule execution'); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenLastCalledWith( - expect.objectContaining({ - newStatus: RuleExecutionStatus.failed, - }) - ); - }); - - it('should call scheduleThrottledNotificationActions if result is false to prevent the throttle from being reset', async () => { - const result: SearchAfterAndBulkCreateReturnType = { - success: false, - warning: false, - searchAfterTimes: [], - bulkCreateTimes: [], - lastLookBackDate: null, - createdSignalsCount: 0, - createdSignals: [], - warningMessages: [], - errors: ['Error that bubbled up.'], - }; - (queryExecutor as jest.Mock).mockResolvedValue(result); - const ruleAlert = getAlertMock(false, getQueryRuleParams()); - ruleAlert.throttle = '1h'; - const payLoadWithThrottle = getPayload( - ruleAlert, - alertServices - ) as jest.Mocked; - payLoadWithThrottle.rule.throttle = '1h'; - alertServices.savedObjectsClient.get.mockResolvedValue({ - id: 'id', - type: 'type', - references: [], - attributes: ruleAlert, - }); - await alert.executor(payLoadWithThrottle); - expect(scheduleThrottledNotificationActions).toHaveBeenCalledTimes(1); - }); - - it('should NOT call scheduleThrottledNotificationActions if result is false and the throttle is not set', async () => { - const result: SearchAfterAndBulkCreateReturnType = { - success: false, - warning: false, - searchAfterTimes: [], - bulkCreateTimes: [], - lastLookBackDate: null, - createdSignalsCount: 0, - createdSignals: [], - warningMessages: [], - errors: ['Error that bubbled up.'], - }; - (queryExecutor as jest.Mock).mockResolvedValue(result); - await alert.executor(payload); - expect(scheduleThrottledNotificationActions).toHaveBeenCalledTimes(0); - }); - - it('should call scheduleThrottledNotificationActions if an error was thrown to prevent the throttle from being reset', async () => { - (queryExecutor as jest.Mock).mockRejectedValue({}); - const ruleAlert = getAlertMock(false, getQueryRuleParams()); - ruleAlert.throttle = '1h'; - const payLoadWithThrottle = getPayload( - ruleAlert, - alertServices - ) as jest.Mocked; - payLoadWithThrottle.rule.throttle = '1h'; - alertServices.savedObjectsClient.get.mockResolvedValue({ - id: 'id', - type: 'type', - references: [], - attributes: ruleAlert, - }); - await alert.executor(payLoadWithThrottle); - expect(scheduleThrottledNotificationActions).toHaveBeenCalledTimes(1); - }); - - it('should NOT call scheduleThrottledNotificationActions if an error was thrown to prevent the throttle from being reset if throttle is not defined', async () => { - const result: SearchAfterAndBulkCreateReturnType = { - success: false, - warning: false, - searchAfterTimes: [], - bulkCreateTimes: [], - lastLookBackDate: null, - createdSignalsCount: 0, - createdSignals: [], - warningMessages: [], - errors: ['Error that bubbled up.'], - }; - (queryExecutor as jest.Mock).mockRejectedValue(result); - await alert.executor(payload); - expect(scheduleThrottledNotificationActions).toHaveBeenCalledTimes(0); - }); - }); -}); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts deleted file mode 100644 index 4594ce212e0a9..0000000000000 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts +++ /dev/null @@ -1,596 +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. - */ -/* eslint-disable complexity */ - -import { Logger } from 'src/core/server'; -import isEmpty from 'lodash/isEmpty'; -import * as t from 'io-ts'; -import { validateNonExact, parseScheduleDates } from '@kbn/securitysolution-io-ts-utils'; -import { SIGNALS_ID } from '@kbn/securitysolution-rules'; - -import { DEFAULT_SEARCH_AFTER_PAGE_SIZE, SERVER_APP_ID } from '../../../../common/constants'; -import { isMlRule } from '../../../../common/machine_learning/helpers'; -import { - isThresholdRule, - isEqlRule, - isThreatMatchRule, - isQueryRule, -} from '../../../../common/detection_engine/utils'; -import { SetupPlugins } from '../../../plugin'; -import { getInputIndex } from './get_input_output_index'; -import { SignalRuleAlertTypeDefinition, ThresholdAlertState } from './types'; -import { - getListsClient, - getExceptions, - createSearchAfterReturnType, - checkPrivileges, - hasTimestampFields, - hasReadIndexPrivileges, - getRuleRangeTuples, - isMachineLearningParams, -} from './utils'; -import { siemRuleActionGroups } from './siem_rule_action_groups'; -import { - scheduleNotificationActions, - NotificationRuleTypeParams, -} from '../notifications/schedule_notification_actions'; -import { buildRuleMessageFactory } from './rule_messages'; -import { getNotificationResultsLink } from '../notifications/utils'; -import { TelemetryEventsSender } from '../../telemetry/sender'; -import { eqlExecutor } from './executors/eql'; -import { queryExecutor } from './executors/query'; -import { threatMatchExecutor } from './executors/threat_match'; -import { thresholdExecutor } from './executors/threshold'; -import { mlExecutor } from './executors/ml'; -import { - eqlRuleParams, - machineLearningRuleParams, - queryRuleParams, - threatRuleParams, - thresholdRuleParams, - ruleParams, - RuleParams, - savedQueryRuleParams, - CompleteRule, -} from '../schemas/rule_schemas'; -import { bulkCreateFactory } from './bulk_create_factory'; -import { wrapHitsFactory } from './wrap_hits_factory'; -import { wrapSequencesFactory } from './wrap_sequences_factory'; -import { ConfigType } from '../../../config'; -import { ExperimentalFeatures } from '../../../../common/experimental_features'; -import { injectReferences, extractReferences } from './saved_object_references'; -import { - IRuleExecutionLogClient, - RuleExecutionLogClient, - truncateMessageList, -} from '../rule_execution_log'; -import { RuleExecutionStatus } from '../../../../common/detection_engine/schemas/common/schemas'; -import { scheduleThrottledNotificationActions } from '../notifications/schedule_throttle_notification_actions'; -import { IEventLogService } from '../../../../../event_log/server'; - -export const signalRulesAlertType = ({ - logger, - eventsTelemetry, - experimentalFeatures, - version, - ml, - lists, - config, - eventLogService, - indexNameOverride, - ruleExecutionLogClientOverride, - refreshOverride, -}: { - logger: Logger; - eventsTelemetry: TelemetryEventsSender | undefined; - experimentalFeatures: ExperimentalFeatures; - version: string; - ml: SetupPlugins['ml'] | undefined; - lists: SetupPlugins['lists'] | undefined; - config: ConfigType; - eventLogService: IEventLogService; - indexNameOverride?: string; - refreshOverride?: string; - ruleExecutionLogClientOverride?: IRuleExecutionLogClient; -}): SignalRuleAlertTypeDefinition => { - const { alertMergeStrategy: mergeStrategy, alertIgnoreFields: ignoreFields } = config; - return { - id: SIGNALS_ID, - name: 'SIEM signal', - actionGroups: siemRuleActionGroups, - defaultActionGroupId: 'default', - useSavedObjectReferences: { - extractReferences: (params) => extractReferences({ logger, params }), - injectReferences: (params, savedObjectReferences) => - injectReferences({ logger, params, savedObjectReferences }), - }, - validate: { - params: { - validate: (object: unknown): RuleParams => { - const [validated, errors] = validateNonExact(object, ruleParams); - if (errors != null) { - throw new Error(errors); - } - if (validated == null) { - throw new Error('Validation of rule params failed'); - } - return validated; - }, - }, - }, - producer: SERVER_APP_ID, - minimumLicenseRequired: 'basic', - isExportable: false, - async executor({ - previousStartedAt, - startedAt, - state, - alertId, - services, - params, - spaceId, - updatedBy: updatedByUser, - rule, - }) { - const { ruleId, maxSignals, meta, outputIndex, timestampOverride, type } = params; - - const searchAfterSize = Math.min(maxSignals, DEFAULT_SEARCH_AFTER_PAGE_SIZE); - let hasError: boolean = false; - let result = createSearchAfterReturnType(); - - const ruleStatusClient = ruleExecutionLogClientOverride - ? ruleExecutionLogClientOverride - : new RuleExecutionLogClient({ - underlyingClient: config.ruleExecutionLog.underlyingClient, - savedObjectsClient: services.savedObjectsClient, - eventLogService, - logger, - }); - - const completeRule: CompleteRule = { - alertId, - ruleConfig: rule, - ruleParams: params, - }; - - const { - actions, - name, - schedule: { interval }, - ruleTypeId, - } = completeRule.ruleConfig; - - const refresh = refreshOverride ?? actions.length ? 'wait_for' : false; - const buildRuleMessage = buildRuleMessageFactory({ - id: alertId, - ruleId, - name, - index: indexNameOverride ?? outputIndex, - }); - - logger.debug(buildRuleMessage('[+] Starting Signal Rule execution')); - logger.debug(buildRuleMessage(`interval: ${interval}`)); - let wroteWarningStatus = false; - const basicLogArguments = { - spaceId, - ruleId: alertId, - ruleName: name, - ruleType: ruleTypeId, - }; - - await ruleStatusClient.logStatusChange({ - ...basicLogArguments, - newStatus: RuleExecutionStatus['going to run'], - }); - - const notificationRuleParams: NotificationRuleTypeParams = { - ...params, - name, - id: alertId, - }; - - // check if rule has permissions to access given index pattern - // move this collection of lines into a function in utils - // so that we can use it in create rules route, bulk, etc. - try { - if (!isMachineLearningParams(params)) { - const index = params.index; - const hasTimestampOverride = timestampOverride != null && !isEmpty(timestampOverride); - const inputIndices = await getInputIndex({ - services, - version, - index, - experimentalFeatures, - }); - const privileges = await checkPrivileges(services, inputIndices); - - wroteWarningStatus = await hasReadIndexPrivileges({ - ...basicLogArguments, - privileges, - logger, - buildRuleMessage, - ruleStatusClient, - }); - - if (!wroteWarningStatus) { - const timestampFieldCaps = await services.scopedClusterClient.asCurrentUser.fieldCaps({ - index, - fields: hasTimestampOverride - ? ['@timestamp', timestampOverride as string] - : ['@timestamp'], - include_unmapped: true, - }); - wroteWarningStatus = await hasTimestampFields({ - ...basicLogArguments, - timestampField: hasTimestampOverride ? (timestampOverride as string) : '@timestamp', - timestampFieldCapsResponse: timestampFieldCaps, - inputIndices, - ruleStatusClient, - logger, - buildRuleMessage, - }); - } - } - } catch (exc) { - const errorMessage = buildRuleMessage(`Check privileges failed to execute ${exc}`); - logger.error(errorMessage); - await ruleStatusClient.logStatusChange({ - ...basicLogArguments, - message: errorMessage, - newStatus: RuleExecutionStatus['partial failure'], - }); - wroteWarningStatus = true; - } - const { tuples, remainingGap } = getRuleRangeTuples({ - logger, - previousStartedAt, - from: params.from, - to: params.to, - interval, - maxSignals, - buildRuleMessage, - startedAt, - }); - - if (remainingGap.asMilliseconds() > 0) { - const gapString = remainingGap.humanize(); - const gapMessage = buildRuleMessage( - `${gapString} (${remainingGap.asMilliseconds()}ms) were not queried between this rule execution and the last execution, so signals may have been missed.`, - 'Consider increasing your look behind time or adding more Kibana instances.' - ); - logger.warn(gapMessage); - hasError = true; - - await ruleStatusClient.logStatusChange({ - ...basicLogArguments, - newStatus: RuleExecutionStatus.failed, - message: gapMessage, - metrics: { executionGap: remainingGap }, - }); - } - try { - const { listClient, exceptionsClient } = getListsClient({ - services, - updatedByUser, - spaceId, - lists, - savedObjectClient: services.savedObjectsClient, - }); - - const exceptionItems = await getExceptions({ - client: exceptionsClient, - lists: params.exceptionsList ?? [], - }); - - const bulkCreate = bulkCreateFactory( - logger, - services.scopedClusterClient.asCurrentUser, - buildRuleMessage, - refresh, - indexNameOverride - ); - - const wrapHits = wrapHitsFactory({ - completeRule, - signalsIndex: indexNameOverride ?? params.outputIndex, - mergeStrategy, - ignoreFields, - }); - - const wrapSequences = wrapSequencesFactory({ - completeRule, - signalsIndex: params.outputIndex, - mergeStrategy, - ignoreFields, - }); - - if (isMlRule(type)) { - const mlRuleCompleteRule = asTypeSpecificCompleteRule( - completeRule, - machineLearningRuleParams - ); - for (const tuple of tuples) { - result = await mlExecutor({ - completeRule: mlRuleCompleteRule, - tuple, - ml, - listClient, - exceptionItems, - services, - logger, - buildRuleMessage, - bulkCreate, - wrapHits, - }); - } - } else if (isThresholdRule(type)) { - const thresholdCompleteRule = asTypeSpecificCompleteRule( - completeRule, - thresholdRuleParams - ); - for (const tuple of tuples) { - result = await thresholdExecutor({ - completeRule: thresholdCompleteRule, - tuple, - exceptionItems, - experimentalFeatures, - services, - version, - logger, - buildRuleMessage, - startedAt, - state: state as ThresholdAlertState, - bulkCreate, - wrapHits, - }); - } - } else if (isThreatMatchRule(type)) { - const threatCompleteRule = asTypeSpecificCompleteRule(completeRule, threatRuleParams); - for (const tuple of tuples) { - result = await threatMatchExecutor({ - completeRule: threatCompleteRule, - tuple, - listClient, - exceptionItems, - experimentalFeatures, - services, - version, - searchAfterSize, - logger, - eventsTelemetry, - buildRuleMessage, - bulkCreate, - wrapHits, - }); - } - } else if (isQueryRule(type)) { - const queryCompleteRule = validateQueryRuleTypes(completeRule); - for (const tuple of tuples) { - result = await queryExecutor({ - completeRule: queryCompleteRule, - tuple, - listClient, - exceptionItems, - experimentalFeatures, - services, - version, - searchAfterSize, - logger, - eventsTelemetry, - buildRuleMessage, - bulkCreate, - wrapHits, - }); - } - } else if (isEqlRule(type)) { - const eqlCompleteRule = asTypeSpecificCompleteRule(completeRule, eqlRuleParams); - for (const tuple of tuples) { - result = await eqlExecutor({ - completeRule: eqlCompleteRule, - tuple, - exceptionItems, - experimentalFeatures, - services, - version, - searchAfterSize, - bulkCreate, - logger, - wrapHits, - wrapSequences, - }); - } - } - - if (result.warningMessages.length) { - const warningMessage = buildRuleMessage( - truncateMessageList(result.warningMessages).join() - ); - await ruleStatusClient.logStatusChange({ - ...basicLogArguments, - newStatus: RuleExecutionStatus['partial failure'], - message: warningMessage, - }); - } - - if (result.success) { - if (actions.length) { - const fromInMs = parseScheduleDates(`now-${interval}`)?.format('x'); - const toInMs = parseScheduleDates('now')?.format('x'); - const resultsLink = getNotificationResultsLink({ - from: fromInMs, - to: toInMs, - id: alertId, - kibanaSiemAppUrl: (meta as { kibana_siem_app_url?: string } | undefined) - ?.kibana_siem_app_url, - }); - - logger.debug( - buildRuleMessage(`Found ${result.createdSignalsCount} signals for notification.`) - ); - - if (completeRule.ruleConfig.throttle != null) { - await scheduleThrottledNotificationActions({ - alertInstance: services.alertInstanceFactory(alertId), - throttle: completeRule.ruleConfig.throttle, - startedAt, - id: alertId, - kibanaSiemAppUrl: (meta as { kibana_siem_app_url?: string } | undefined) - ?.kibana_siem_app_url, - outputIndex: indexNameOverride ?? outputIndex, - ruleId, - signals: result.createdSignals, - esClient: services.scopedClusterClient.asCurrentUser, - notificationRuleParams, - logger, - }); - } else if (result.createdSignalsCount) { - const alertInstance = services.alertInstanceFactory(alertId); - scheduleNotificationActions({ - alertInstance, - signalsCount: result.createdSignalsCount, - signals: result.createdSignals, - resultsLink, - ruleParams: notificationRuleParams, - }); - } - } - - logger.debug(buildRuleMessage('[+] Signal Rule execution completed.')); - logger.debug( - buildRuleMessage( - `[+] Finished indexing ${result.createdSignalsCount} signals into ${ - indexNameOverride ?? outputIndex - }` - ) - ); - if (!hasError && !wroteWarningStatus && !result.warning) { - await ruleStatusClient.logStatusChange({ - ...basicLogArguments, - newStatus: RuleExecutionStatus.succeeded, - message: 'succeeded', - metrics: { - indexingDurations: result.bulkCreateTimes, - searchDurations: result.searchAfterTimes, - lastLookBackDate: result.lastLookBackDate?.toISOString(), - }, - }); - } - - logger.debug( - buildRuleMessage( - `[+] Finished indexing ${result.createdSignalsCount} ${ - !isEmpty(tuples) - ? `signals searched between date ranges ${JSON.stringify(tuples, null, 2)}` - : '' - }` - ) - ); - } else { - // NOTE: Since this is throttled we have to call it even on an error condition, otherwise it will "reset" the throttle and fire early - if (completeRule.ruleConfig.throttle != null) { - await scheduleThrottledNotificationActions({ - alertInstance: services.alertInstanceFactory(alertId), - throttle: completeRule.ruleConfig.throttle ?? '', - startedAt, - id: completeRule.alertId, - kibanaSiemAppUrl: (meta as { kibana_siem_app_url?: string } | undefined) - ?.kibana_siem_app_url, - outputIndex, - ruleId, - signals: result.createdSignals, - esClient: services.scopedClusterClient.asCurrentUser, - notificationRuleParams, - logger, - }); - } - const errorMessage = buildRuleMessage( - 'Bulk Indexing of signals failed:', - truncateMessageList(result.errors).join() - ); - logger.error(errorMessage); - await ruleStatusClient.logStatusChange({ - ...basicLogArguments, - newStatus: RuleExecutionStatus.failed, - message: errorMessage, - metrics: { - indexingDurations: result.bulkCreateTimes, - searchDurations: result.searchAfterTimes, - lastLookBackDate: result.lastLookBackDate?.toISOString(), - }, - }); - } - } catch (error) { - // NOTE: Since this is throttled we have to call it even on an error condition, otherwise it will "reset" the throttle and fire early - if (completeRule.ruleConfig.throttle != null) { - await scheduleThrottledNotificationActions({ - alertInstance: services.alertInstanceFactory(alertId), - throttle: completeRule.ruleConfig.throttle ?? '', - startedAt, - id: completeRule.alertId, - kibanaSiemAppUrl: (meta as { kibana_siem_app_url?: string } | undefined) - ?.kibana_siem_app_url, - outputIndex, - ruleId, - signals: result.createdSignals, - esClient: services.scopedClusterClient.asCurrentUser, - notificationRuleParams, - logger, - }); - } - const errorMessage = error.message ?? '(no error message given)'; - const message = buildRuleMessage( - 'An error occurred during rule execution:', - `message: "${errorMessage}"` - ); - - logger.error(message); - await ruleStatusClient.logStatusChange({ - ...basicLogArguments, - newStatus: RuleExecutionStatus.failed, - message, - metrics: { - indexingDurations: result.bulkCreateTimes, - searchDurations: result.searchAfterTimes, - lastLookBackDate: result.lastLookBackDate?.toISOString(), - }, - }); - } - }, - }; -}; - -const validateQueryRuleTypes = (completeRule: CompleteRule) => { - if (completeRule.ruleParams.type === 'query') { - return asTypeSpecificCompleteRule(completeRule, queryRuleParams); - } else { - return asTypeSpecificCompleteRule(completeRule, savedQueryRuleParams); - } -}; - -/** - * This function takes a generic rule SavedObject and a type-specific schema for the rule params - * and validates the SavedObject params against the schema. If they validate, it returns a SavedObject - * where the params have been replaced with the validated params. This eliminates the need for logic that - * checks if the required type specific fields actually exist on the SO and prevents rule executors from - * accessing fields that only exist on other rule types. - * - * @param completeRule rule typed as an object with all fields from all different rule types - * @param schema io-ts schema for the specific rule type the SavedObject claims to be - */ -export const asTypeSpecificCompleteRule = ( - completeRule: CompleteRule, - schema: T -) => { - const [validated, errors] = validateNonExact(completeRule.ruleParams, schema); - if (validated == null || errors != null) { - throw new Error(`Rule attempted to execute with invalid params: ${errors}`); - } - return { - ...completeRule, - ruleParams: validated, - }; -}; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_signal_history.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_signal_history.ts index fe8d823fb8c2a..276431c3bc929 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_signal_history.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_signal_history.ts @@ -43,7 +43,6 @@ export const getThresholdSignalHistory = async ({ signalHistory: ThresholdSignalHistory; searchErrors: string[]; }> => { - // TODO: use ruleDataClient.getReader() const { searchResult, searchErrors } = await findPreviousThresholdSignals({ indexPattern, from, diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/__mocks__/index.ts b/x-pack/plugins/security_solution/server/lib/telemetry/__mocks__/index.ts index b6657e7753364..4d9b67af6c311 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/__mocks__/index.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/__mocks__/index.ts @@ -11,9 +11,6 @@ import { TelemetryReceiver } from '../receiver'; import { SecurityTelemetryTaskConfig } from '../task'; import { PackagePolicy } from '../../../../../fleet/common/types/models/package_policy'; -/** - * Creates a mocked Telemetry Events Sender - */ export const createMockTelemetryEventsSender = ( enableTelemetry?: boolean ): jest.Mocked => { @@ -37,6 +34,7 @@ export const createMockTelemetryReceiver = ( ): jest.Mocked => { return { start: jest.fn(), + fetchClusterInfo: jest.fn(), fetchLicenseInfo: jest.fn(), copyLicenseFields: jest.fn(), fetchFleetAgents: jest.fn(), @@ -49,9 +47,6 @@ export const createMockTelemetryReceiver = ( } as unknown as jest.Mocked; }; -/** - * Creates a mocked package policy - */ export const createMockPackagePolicy = (): jest.Mocked => { return { id: jest.fn(), @@ -65,9 +60,6 @@ export const createMockPackagePolicy = (): jest.Mocked => { } as unknown as jest.Mocked; }; -/** - * Creates a mocked Security Telemetry Task Config - */ export const createMockSecurityTelemetryTask = ( testType?: string, testLastTimestamp?: string @@ -83,9 +75,6 @@ export const createMockSecurityTelemetryTask = ( } as unknown as jest.Mocked; }; -/** - * Creates a mocked Task Instance - */ export const createMockTaskInstance = (testId: string, testType: string): ConcreteTaskInstance => { return { id: testId, diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/filters.ts b/x-pack/plugins/security_solution/server/lib/telemetry/filters.ts index 40377ba72547c..452717f1efb4f 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/filters.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/filters.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { TelemetryEvent } from './types'; +import type { TelemetryEvent } from './types'; export interface AllowlistFields { [key: string]: boolean | AllowlistFields; diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/helpers.test.ts b/x-pack/plugins/security_solution/server/lib/telemetry/helpers.test.ts index 77c78c4dba28d..cacb34dc8fa70 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/helpers.test.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/helpers.test.ts @@ -20,7 +20,7 @@ import { isPackagePolicyList, templateExceptionList, } from './helpers'; -import { ExceptionListItem } from './types'; +import type { ESClusterInfo, ESLicense, ExceptionListItem } from './types'; describe('test diagnostic telemetry scheduled task timing helper', () => { test('test -5 mins is returned when there is no previous task run', async () => { @@ -135,9 +135,20 @@ describe('test package policy type guard', () => { }); describe('list telemetry schema', () => { + const clusterInfo = { + cluster_uuid: 'stub_cluster', + cluster_name: 'stub_cluster', + } as ESClusterInfo; + const licenseInfo = { uid: 'stub_license' } as ESLicense; + test('detection rules document is correctly formed', () => { const data = [{ id: 'test_1' }] as ExceptionListItem[]; - const templatedItems = templateExceptionList(data, LIST_DETECTION_RULE_EXCEPTION); + const templatedItems = templateExceptionList( + data, + clusterInfo, + licenseInfo, + LIST_DETECTION_RULE_EXCEPTION + ); expect(templatedItems[0]?.detection_rule).not.toBeUndefined(); expect(templatedItems[0]?.endpoint_exception).toBeUndefined(); @@ -147,7 +158,12 @@ describe('list telemetry schema', () => { test('detection rules document is correctly formed with multiple entries', () => { const data = [{ id: 'test_2' }, { id: 'test_2' }] as ExceptionListItem[]; - const templatedItems = templateExceptionList(data, LIST_DETECTION_RULE_EXCEPTION); + const templatedItems = templateExceptionList( + data, + clusterInfo, + licenseInfo, + LIST_DETECTION_RULE_EXCEPTION + ); expect(templatedItems[0]?.detection_rule).not.toBeUndefined(); expect(templatedItems[1]?.detection_rule).not.toBeUndefined(); @@ -158,7 +174,12 @@ describe('list telemetry schema', () => { test('trusted apps document is correctly formed', () => { const data = [{ id: 'test_1' }] as ExceptionListItem[]; - const templatedItems = templateExceptionList(data, LIST_TRUSTED_APPLICATION); + const templatedItems = templateExceptionList( + data, + clusterInfo, + licenseInfo, + LIST_TRUSTED_APPLICATION + ); expect(templatedItems[0]?.detection_rule).toBeUndefined(); expect(templatedItems[0]?.endpoint_exception).toBeUndefined(); @@ -168,7 +189,12 @@ describe('list telemetry schema', () => { test('trusted apps document is correctly formed with multiple entries', () => { const data = [{ id: 'test_2' }, { id: 'test_2' }] as ExceptionListItem[]; - const templatedItems = templateExceptionList(data, LIST_TRUSTED_APPLICATION); + const templatedItems = templateExceptionList( + data, + clusterInfo, + licenseInfo, + LIST_TRUSTED_APPLICATION + ); expect(templatedItems[0]?.detection_rule).toBeUndefined(); expect(templatedItems[0]?.endpoint_exception).toBeUndefined(); @@ -179,7 +205,12 @@ describe('list telemetry schema', () => { test('endpoint exception document is correctly formed', () => { const data = [{ id: 'test_3' }] as ExceptionListItem[]; - const templatedItems = templateExceptionList(data, LIST_ENDPOINT_EXCEPTION); + const templatedItems = templateExceptionList( + data, + clusterInfo, + licenseInfo, + LIST_ENDPOINT_EXCEPTION + ); expect(templatedItems[0]?.detection_rule).toBeUndefined(); expect(templatedItems[0]?.endpoint_exception).not.toBeUndefined(); @@ -189,7 +220,12 @@ describe('list telemetry schema', () => { test('endpoint exception document is correctly formed with multiple entries', () => { const data = [{ id: 'test_4' }, { id: 'test_4' }, { id: 'test_4' }] as ExceptionListItem[]; - const templatedItems = templateExceptionList(data, LIST_ENDPOINT_EXCEPTION); + const templatedItems = templateExceptionList( + data, + clusterInfo, + licenseInfo, + LIST_ENDPOINT_EXCEPTION + ); expect(templatedItems[0]?.detection_rule).toBeUndefined(); expect(templatedItems[0]?.endpoint_event_filter).toBeUndefined(); @@ -201,7 +237,12 @@ describe('list telemetry schema', () => { test('endpoint event filters document is correctly formed', () => { const data = [{ id: 'test_5' }] as ExceptionListItem[]; - const templatedItems = templateExceptionList(data, LIST_ENDPOINT_EVENT_FILTER); + const templatedItems = templateExceptionList( + data, + clusterInfo, + licenseInfo, + LIST_ENDPOINT_EVENT_FILTER + ); expect(templatedItems[0]?.detection_rule).toBeUndefined(); expect(templatedItems[0]?.endpoint_event_filter).not.toBeUndefined(); @@ -211,7 +252,12 @@ describe('list telemetry schema', () => { test('endpoint event filters document is correctly formed with multiple entries', () => { const data = [{ id: 'test_6' }, { id: 'test_6' }] as ExceptionListItem[]; - const templatedItems = templateExceptionList(data, LIST_ENDPOINT_EVENT_FILTER); + const templatedItems = templateExceptionList( + data, + clusterInfo, + licenseInfo, + LIST_ENDPOINT_EVENT_FILTER + ); expect(templatedItems[0]?.detection_rule).toBeUndefined(); expect(templatedItems[0]?.endpoint_event_filter).not.toBeUndefined(); diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/helpers.ts b/x-pack/plugins/security_solution/server/lib/telemetry/helpers.ts index 62b632d4a0803..92ea33a7b07ed 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/helpers.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/helpers.ts @@ -9,7 +9,13 @@ import moment from 'moment'; import type { ExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; import { PackagePolicy } from '../../../../fleet/common/types/models/package_policy'; import { copyAllowlistedFields, exceptionListEventFields } from './filters'; -import { ExceptionListItem, ListTemplate, TelemetryEvent } from './types'; +import type { + ExceptionListItem, + ESClusterInfo, + ESLicense, + ListTemplate, + TelemetryEvent, +} from './types'; import { LIST_DETECTION_RULE_EXCEPTION, LIST_ENDPOINT_EXCEPTION, @@ -160,10 +166,18 @@ export const ruleExceptionListItemToTelemetryEvent = ( * @param listType * @returns lists telemetry schema */ -export const templateExceptionList = (listData: ExceptionListItem[], listType: string) => { +export const templateExceptionList = ( + listData: ExceptionListItem[], + clusterInfo: ESClusterInfo, + licenseInfo: ESLicense | undefined, + listType: string +) => { return listData.map((item) => { const template: ListTemplate = { '@timestamp': moment().toISOString(), + cluster_uuid: clusterInfo.cluster_uuid, + cluster_name: clusterInfo.cluster_name, + license_id: licenseInfo?.uid, }; // cast exception list type to a TelemetryEvent for allowlist filtering diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/receiver.ts b/x-pack/plugins/security_solution/server/lib/telemetry/receiver.ts index d3a0d0779b823..ac7d638f9a528 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/receiver.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/receiver.ts @@ -22,7 +22,7 @@ import { trustedApplicationToTelemetryEntry, ruleExceptionListItemToTelemetryEvent, } from './helpers'; -import { +import type { TelemetryEvent, ESLicense, ESClusterInfo, @@ -316,7 +316,7 @@ export class TelemetryReceiver { }; } - private async fetchClusterInfo(): Promise { + public async fetchClusterInfo(): Promise { if (this.esClient === undefined || this.esClient === null) { throw Error('elasticsearch client is unavailable: cannot retrieve cluster infomation'); } diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/sender.ts b/x-pack/plugins/security_solution/server/lib/telemetry/sender.ts index bd7e0b5bee84b..fbc42acca036b 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/sender.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/sender.ts @@ -21,7 +21,7 @@ import { TelemetryReceiver } from './receiver'; import { allowlistEventFields, copyAllowlistedFields } from './filters'; import { createTelemetryTaskConfigs } from './tasks'; import { createUsageCounterLabel } from './helpers'; -import { TelemetryEvent } from './types'; +import type { TelemetryEvent } from './types'; import { TELEMETRY_MAX_BUFFER_SIZE } from './constants'; import { SecurityTelemetryTask, SecurityTelemetryTaskConfig } from './task'; @@ -178,6 +178,7 @@ export class TelemetryEventsSender { telemetryUrl, 'alerts-endpoint', clusterInfo?.cluster_uuid, + clusterInfo?.cluster_name, clusterInfo?.version?.number, licenseInfo?.uid ); @@ -220,6 +221,7 @@ export class TelemetryEventsSender { telemetryUrl, channel, clusterInfo?.cluster_uuid, + clusterInfo?.cluster_name, clusterInfo?.version?.number, licenseInfo?.uid ); @@ -254,6 +256,7 @@ export class TelemetryEventsSender { telemetryUrl: string, channel: string, clusterUuid: string | undefined, + clusterName: string | undefined, clusterVersionNumber: string | undefined, licenseId: string | undefined ) { @@ -265,6 +268,7 @@ export class TelemetryEventsSender { headers: { 'Content-Type': 'application/x-ndjson', 'X-Elastic-Cluster-ID': clusterUuid, + 'X-Elastic-Cluster-Name': clusterName, 'X-Elastic-Stack-Version': clusterVersionNumber ? clusterVersionNumber : '8.0.0', ...(licenseId ? { 'X-Elastic-License-ID': licenseId } : {}), }, diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/detection_rule.ts b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/detection_rule.ts index dd4f2b60a44c9..baca71d100cf0 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/detection_rule.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/detection_rule.ts @@ -10,7 +10,7 @@ import { LIST_DETECTION_RULE_EXCEPTION, TELEMETRY_CHANNEL_LISTS } from '../const import { batchTelemetryRecords, templateExceptionList } from '../helpers'; import { TelemetryEventsSender } from '../sender'; import { TelemetryReceiver } from '../receiver'; -import { ExceptionListItem, RuleSearchResult } from '../types'; +import type { ExceptionListItem, ESClusterInfo, ESLicense, RuleSearchResult } from '../types'; import { TaskExecutionPeriod } from '../task'; export function createTelemetryDetectionRuleListsTaskConfig(maxTelemetryBatch: number) { @@ -27,6 +27,20 @@ export function createTelemetryDetectionRuleListsTaskConfig(maxTelemetryBatch: n sender: TelemetryEventsSender, taskExecutionPeriod: TaskExecutionPeriod ) => { + const [clusterInfoPromise, licenseInfoPromise] = await Promise.allSettled([ + receiver.fetchClusterInfo(), + receiver.fetchLicenseInfo(), + ]); + + const clusterInfo = + clusterInfoPromise.status === 'fulfilled' + ? clusterInfoPromise.value + : ({} as ESClusterInfo); + const licenseInfo = + licenseInfoPromise.status === 'fulfilled' + ? licenseInfoPromise.value + : ({} as ESLicense | undefined); + // Lists Telemetry: Detection Rules const { body: prebuiltRules } = await receiver.fetchDetectionRules(); @@ -69,6 +83,8 @@ export function createTelemetryDetectionRuleListsTaskConfig(maxTelemetryBatch: n const detectionRuleExceptionsJson = templateExceptionList( detectionRuleExceptions, + clusterInfo, + licenseInfo, LIST_DETECTION_RULE_EXCEPTION ); diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/diagnostic.ts b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/diagnostic.ts index fba96da63ecaf..fae6172c268f4 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/diagnostic.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/diagnostic.ts @@ -8,7 +8,7 @@ import { Logger } from 'src/core/server'; import { getPreviousDiagTaskTimestamp } from '../helpers'; import { TelemetryEventsSender } from '../sender'; -import { TelemetryEvent } from '../types'; +import type { TelemetryEvent } from '../types'; import { TelemetryReceiver } from '../receiver'; import { TaskExecutionPeriod } from '../task'; diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/endpoint.ts b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/endpoint.ts index a06aac19d313b..78f2889ac1d58 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/endpoint.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/endpoint.ts @@ -7,10 +7,12 @@ import { Logger } from 'src/core/server'; import { TelemetryEventsSender } from '../sender'; -import { +import type { EndpointMetricsAggregation, EndpointPolicyResponseAggregation, EndpointPolicyResponseDocument, + ESClusterInfo, + ESLicense, } from '../types'; import { TelemetryReceiver } from '../receiver'; import { TaskExecutionPeriod } from '../task'; @@ -52,6 +54,20 @@ export function createTelemetryEndpointTaskConfig(maxTelemetryBatch: number) { throw new Error('last execution timestamp is required'); } + const [clusterInfoPromise, licenseInfoPromise] = await Promise.allSettled([ + receiver.fetchClusterInfo(), + receiver.fetchLicenseInfo(), + ]); + + const clusterInfo = + clusterInfoPromise.status === 'fulfilled' + ? clusterInfoPromise.value + : ({} as ESClusterInfo); + const licenseInfo = + licenseInfoPromise.status === 'fulfilled' + ? licenseInfoPromise.value + : ({} as ESLicense | undefined); + const endpointData = await fetchEndpointData( receiver, taskExecutionPeriod.last, @@ -199,6 +215,9 @@ export function createTelemetryEndpointTaskConfig(maxTelemetryBatch: number) { return { '@timestamp': taskExecutionPeriod.current, + cluster_uuid: clusterInfo.cluster_uuid, + cluster_name: clusterInfo.cluster_name, + license_id: licenseInfo?.uid, endpoint_id: endpointAgentId, endpoint_version: endpoint.endpoint_version, endpoint_package_version: policyConfig?.package?.version || null, diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/security_lists.ts b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/security_lists.ts index 3fead5ae33be8..d27ab801197d6 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/security_lists.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/security_lists.ts @@ -16,6 +16,7 @@ import { LIST_TRUSTED_APPLICATION, TELEMETRY_CHANNEL_LISTS, } from '../constants'; +import type { ESClusterInfo, ESLicense } from '../types'; import { batchTelemetryRecords, templateExceptionList } from '../helpers'; import { TelemetryEventsSender } from '../sender'; import { TelemetryReceiver } from '../receiver'; @@ -37,11 +38,30 @@ export function createTelemetrySecurityListTaskConfig(maxTelemetryBatch: number) ) => { let count = 0; + const [clusterInfoPromise, licenseInfoPromise] = await Promise.allSettled([ + receiver.fetchClusterInfo(), + receiver.fetchLicenseInfo(), + ]); + + const clusterInfo = + clusterInfoPromise.status === 'fulfilled' + ? clusterInfoPromise.value + : ({} as ESClusterInfo); + const licenseInfo = + licenseInfoPromise.status === 'fulfilled' + ? licenseInfoPromise.value + : ({} as ESLicense | undefined); + // Lists Telemetry: Trusted Applications const trustedApps = await receiver.fetchTrustedApplications(); if (trustedApps?.data) { - const trustedAppsJson = templateExceptionList(trustedApps.data, LIST_TRUSTED_APPLICATION); + const trustedAppsJson = templateExceptionList( + trustedApps.data, + clusterInfo, + licenseInfo, + LIST_TRUSTED_APPLICATION + ); logger.debug(`Trusted Apps: ${trustedAppsJson}`); count += trustedAppsJson.length; @@ -54,7 +74,12 @@ export function createTelemetrySecurityListTaskConfig(maxTelemetryBatch: number) const epExceptions = await receiver.fetchEndpointList(ENDPOINT_LIST_ID); if (epExceptions?.data) { - const epExceptionsJson = templateExceptionList(epExceptions.data, LIST_ENDPOINT_EXCEPTION); + const epExceptionsJson = templateExceptionList( + epExceptions.data, + clusterInfo, + licenseInfo, + LIST_ENDPOINT_EXCEPTION + ); logger.debug(`EP Exceptions: ${epExceptionsJson}`); count += epExceptionsJson.length; @@ -67,7 +92,12 @@ export function createTelemetrySecurityListTaskConfig(maxTelemetryBatch: number) const epFilters = await receiver.fetchEndpointList(ENDPOINT_EVENT_FILTERS_LIST_ID); if (epFilters?.data) { - const epFiltersJson = templateExceptionList(epFilters.data, LIST_ENDPOINT_EVENT_FILTER); + const epFiltersJson = templateExceptionList( + epFilters.data, + clusterInfo, + licenseInfo, + LIST_ENDPOINT_EVENT_FILTER + ); logger.debug(`EP Event Filters: ${epFiltersJson}`); count += epFiltersJson.length; diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/types.ts b/x-pack/plugins/security_solution/server/lib/telemetry/types.ts index c65e40895de54..d7ba5fa34cf09 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/types.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/types.ts @@ -227,6 +227,9 @@ export interface ExceptionListItem { export interface ListTemplate { '@timestamp': string; + cluster_uuid: string; + cluster_name: string; + license_id: string | undefined; detection_rule?: TelemetryEvent; endpoint_exception?: TelemetryEvent; endpoint_event_filter?: TelemetryEvent; diff --git a/x-pack/plugins/security_solution/server/lib/timeline/routes/draft_timelines/clean_draft_timelines/index.ts b/x-pack/plugins/security_solution/server/lib/timeline/routes/draft_timelines/clean_draft_timelines/index.ts index 62770408af2fe..4ce18593a85cc 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/routes/draft_timelines/clean_draft_timelines/index.ts +++ b/x-pack/plugins/security_solution/server/lib/timeline/routes/draft_timelines/clean_draft_timelines/index.ts @@ -27,7 +27,7 @@ import { TimelineType } from '../../../../../../common/types/timeline'; export const cleanDraftTimelinesRoute = ( router: SecuritySolutionPluginRouter, - config: ConfigType, + _: ConfigType, security: SetupPlugins['security'] ) => { router.post( diff --git a/x-pack/plugins/security_solution/server/lib/timeline/routes/timelines/create_timelines/index.ts b/x-pack/plugins/security_solution/server/lib/timeline/routes/timelines/create_timelines/index.ts index d94039e3f9856..d20f1bca121c7 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/routes/timelines/create_timelines/index.ts +++ b/x-pack/plugins/security_solution/server/lib/timeline/routes/timelines/create_timelines/index.ts @@ -29,7 +29,7 @@ export * from './helpers'; export const createTimelinesRoute = ( router: SecuritySolutionPluginRouter, - config: ConfigType, + _: ConfigType, security: SetupPlugins['security'] ) => { router.post( diff --git a/x-pack/plugins/security_solution/server/lib/timeline/routes/timelines/patch_timelines/index.ts b/x-pack/plugins/security_solution/server/lib/timeline/routes/timelines/patch_timelines/index.ts index 9f892f4ee7edb..11daeb50027cc 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/routes/timelines/patch_timelines/index.ts +++ b/x-pack/plugins/security_solution/server/lib/timeline/routes/timelines/patch_timelines/index.ts @@ -23,7 +23,7 @@ import { CompareTimelinesStatus } from '../../../utils/compare_timelines_status' export const patchTimelinesRoute = ( router: SecuritySolutionPluginRouter, - config: ConfigType, + _: ConfigType, security: SetupPlugins['security'] ) => { router.patch( diff --git a/x-pack/plugins/security_solution/server/plugin.ts b/x-pack/plugins/security_solution/server/plugin.ts index dffb984763818..0b7285ca3d444 100644 --- a/x-pack/plugins/security_solution/server/plugin.ts +++ b/x-pack/plugins/security_solution/server/plugin.ts @@ -38,8 +38,6 @@ import { } from './lib/detection_engine/rule_types'; import { initRoutes } from './routes'; import { registerLimitedConcurrencyRoutes } from './routes/limited_concurrency'; -import { isAlertExecutor } from './lib/detection_engine/signals/types'; -import { signalRulesAlertType } from './lib/detection_engine/signals/signal_rule_alert_type'; import { ManifestTask } from './endpoint/lib/artifacts'; import { CheckMetadataTransformsTask } from './endpoint/lib/metadata'; import { initSavedObjects } from './saved_objects'; @@ -281,24 +279,9 @@ export class Plugin implements ISecuritySolutionPlugin { plugins.features.registerKibanaFeature(getKibanaPrivilegesFeaturePrivileges(ruleTypes)); plugins.features.registerKibanaFeature(getCasesKibanaFeature()); - // Continue to register legacy rules against alerting client exposed through rule-registry if (plugins.alerting != null) { - const signalRuleType = signalRulesAlertType({ - logger, - eventsTelemetry: this.telemetryEventsSender, - version: pluginContext.env.packageInfo.version, - ml: plugins.ml, - lists: plugins.lists, - config, - experimentalFeatures, - eventLogService, - }); const ruleNotificationType = legacyRulesNotificationAlertType({ logger }); - if (isAlertExecutor(signalRuleType)) { - plugins.alerting.registerType(signalRuleType); - } - if (legacyIsNotificationAlertExecutor(ruleNotificationType)) { plugins.alerting.registerType(ruleNotificationType); } diff --git a/x-pack/plugins/security_solution/server/usage/collector.ts b/x-pack/plugins/security_solution/server/usage/collector.ts index 3f64a6e5e227b..d091c2a6e5e8e 100644 --- a/x-pack/plugins/security_solution/server/usage/collector.ts +++ b/x-pack/plugins/security_solution/server/usage/collector.ts @@ -18,8 +18,8 @@ export interface UsageData { export async function getInternalSavedObjectsClient(core: CoreSetup) { return core.getStartServices().then(async ([coreStart]) => { - // note: we include the cases hidden types here otherwise we would not be able to query them. If at some point cases is not considered a hidden type this can be removed - return coreStart.savedObjects.createInternalRepository(SAVED_OBJECT_TYPES); + // note: we include the "cases" and "alert" hidden types here otherwise we would not be able to query them. If at some point cases and alert is not considered a hidden type this can be removed + return coreStart.savedObjects.createInternalRepository(['alert', ...SAVED_OBJECT_TYPES]); }); } @@ -124,6 +124,12 @@ export const registerCollector: RegisterCollector = ({ }, }, }, + legacy_notifications: { + total: { + type: 'long', + _meta: { description: 'Number of legacy notifications still in use' }, + }, + }, elastic_total: { enabled: { type: 'long', _meta: { description: 'Number of elastic rules enabled' } }, disabled: { diff --git a/x-pack/plugins/security_solution/server/usage/detections/detection_rule_helpers.test.ts b/x-pack/plugins/security_solution/server/usage/detections/detection_rule_helpers.test.ts index d1846caf4ec22..3c35296bafb46 100644 --- a/x-pack/plugins/security_solution/server/usage/detections/detection_rule_helpers.test.ts +++ b/x-pack/plugins/security_solution/server/usage/detections/detection_rule_helpers.test.ts @@ -7,7 +7,6 @@ import { initialDetectionRulesUsage, updateDetectionRuleUsage } from './detection_rule_helpers'; import { DetectionRuleMetric, DetectionRulesTypeUsage } from './types'; -import { v4 as uuid } from 'uuid'; const createStubRule = ( ruleType: string, @@ -16,13 +15,14 @@ const createStubRule = ( alertCount: number, caseCount: number ): DetectionRuleMetric => ({ - rule_name: uuid(), - rule_id: uuid(), + rule_name: 'rule-name', + rule_id: 'id-123', rule_type: ruleType, + rule_version: 1, enabled, elastic_rule: elasticRule, - created_on: uuid(), - updated_on: uuid(), + created_on: '2022-01-06T20:02:45.306Z', + updated_on: '2022-01-06T20:02:45.306Z', alert_count_daily: alertCount, cases_count_total: caseCount, }); @@ -30,118 +30,72 @@ const createStubRule = ( describe('Detections Usage and Metrics', () => { describe('Update metrics with rule information', () => { it('Should update elastic and eql rule metric total', async () => { - const initialUsage: DetectionRulesTypeUsage = initialDetectionRulesUsage; const stubRule = createStubRule('eql', true, true, 1, 1); - const usage = updateDetectionRuleUsage(stubRule, initialUsage); + const usage = updateDetectionRuleUsage(stubRule, initialDetectionRulesUsage); - expect(usage).toEqual( - expect.objectContaining({ - custom_total: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - elastic_total: { - alerts: 1, - cases: 1, - disabled: 0, - enabled: 1, - }, - eql: { - alerts: 1, - cases: 1, - disabled: 0, - enabled: 1, - }, - machine_learning: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - query: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - threat_match: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - threshold: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - }) - ); + expect(usage).toEqual({ + ...initialDetectionRulesUsage, + elastic_total: { + alerts: 1, + cases: 1, + disabled: 0, + enabled: 1, + }, + eql: { + alerts: 1, + cases: 1, + disabled: 0, + enabled: 1, + }, + }); }); it('Should update based on multiple metrics', async () => { - const initialUsage: DetectionRulesTypeUsage = initialDetectionRulesUsage; const stubEqlRule = createStubRule('eql', true, true, 1, 1); const stubQueryRuleOne = createStubRule('query', true, true, 5, 2); const stubQueryRuleTwo = createStubRule('query', true, false, 5, 2); const stubMachineLearningOne = createStubRule('machine_learning', false, false, 0, 10); const stubMachineLearningTwo = createStubRule('machine_learning', true, true, 22, 44); - let usage = updateDetectionRuleUsage(stubEqlRule, initialUsage); + let usage = updateDetectionRuleUsage(stubEqlRule, initialDetectionRulesUsage); usage = updateDetectionRuleUsage(stubQueryRuleOne, usage); usage = updateDetectionRuleUsage(stubQueryRuleTwo, usage); usage = updateDetectionRuleUsage(stubMachineLearningOne, usage); usage = updateDetectionRuleUsage(stubMachineLearningTwo, usage); - expect(usage).toEqual( - expect.objectContaining({ - custom_total: { - alerts: 5, - cases: 12, - disabled: 1, - enabled: 1, - }, - elastic_total: { - alerts: 28, - cases: 47, - disabled: 0, - enabled: 3, - }, - eql: { - alerts: 1, - cases: 1, - disabled: 0, - enabled: 1, - }, - machine_learning: { - alerts: 22, - cases: 54, - disabled: 1, - enabled: 1, - }, - query: { - alerts: 10, - cases: 4, - disabled: 0, - enabled: 2, - }, - threat_match: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - threshold: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - }) - ); + expect(usage).toEqual({ + ...initialDetectionRulesUsage, + custom_total: { + alerts: 5, + cases: 12, + disabled: 1, + enabled: 1, + }, + elastic_total: { + alerts: 28, + cases: 47, + disabled: 0, + enabled: 3, + }, + eql: { + alerts: 1, + cases: 1, + disabled: 0, + enabled: 1, + }, + machine_learning: { + alerts: 22, + cases: 54, + disabled: 1, + enabled: 1, + }, + query: { + alerts: 10, + cases: 4, + disabled: 0, + enabled: 2, + }, + }); }); }); }); diff --git a/x-pack/plugins/security_solution/server/usage/detections/detection_rule_helpers.ts b/x-pack/plugins/security_solution/server/usage/detections/detection_rule_helpers.ts index 0eb2a03e0c3a2..87e484ae2b3d4 100644 --- a/x-pack/plugins/security_solution/server/usage/detections/detection_rule_helpers.ts +++ b/x-pack/plugins/security_solution/server/usage/detections/detection_rule_helpers.ts @@ -15,11 +15,12 @@ import { SAVED_QUERY_RULE_TYPE_ID, } from '@kbn/securitysolution-rules'; import { ALERT_RULE_UUID } from '@kbn/rule-data-utils'; +import { LEGACY_NOTIFICATIONS_ID } from '../../../common/constants'; import { CASE_COMMENT_SAVED_OBJECT } from '../../../../cases/common/constants'; import { ElasticsearchClient, SavedObjectsClientContract } from '../../../../../../src/core/server'; import { isElasticRule } from './index'; -import { +import type { AlertsAggregationResponse, CasesSavedObject, DetectionRulesTypeUsage, @@ -27,8 +28,32 @@ import { DetectionRuleAdoption, RuleSearchParams, RuleSearchResult, + DetectionMetrics, } from './types'; +/** + * Initial detection metrics initialized. + */ +export const getInitialDetectionMetrics = (): DetectionMetrics => ({ + ml_jobs: { + ml_job_usage: { + custom: { + enabled: 0, + disabled: 0, + }, + elastic: { + enabled: 0, + disabled: 0, + }, + }, + ml_job_metrics: [], + }, + detection_rules: { + detection_rule_detail: [], + detection_rule_usage: initialDetectionRulesUsage, + }, +}); + /** * Default detection rule usage count, split by type + elastic/custom */ @@ -69,6 +94,9 @@ export const initialDetectionRulesUsage: DetectionRulesTypeUsage = { alerts: 0, cases: 0, }, + legacy_notifications: { + total: 0, + }, custom_total: { enabled: 0, disabled: 0, @@ -255,9 +283,23 @@ export const getDetectionRuleMetrics = async ( type: CASE_COMMENT_SAVED_OBJECT, page: 1, perPage: MAX_RESULTS_WINDOW, + namespaces: ['*'], filter: `${CASE_COMMENT_SAVED_OBJECT}.attributes.type: alert`, }); + // We get just 1 per a single page so we can get the total count to add to the rulesUsage. + // Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function. + const legacyNotificationsCount = ( + await savedObjectClient.find({ + type: 'alert', + page: 1, + namespaces: ['*'], + perPage: 1, + filter: `alert.attributes.alertTypeId: ${LEGACY_NOTIFICATIONS_ID}`, + }) + ).total; + rulesUsage = { ...rulesUsage, legacy_notifications: { total: legacyNotificationsCount } }; + const casesCache = cases.saved_objects.reduce((cache, { attributes: casesObject }) => { const ruleId = casesObject.rule.id; @@ -282,7 +324,7 @@ export const getDetectionRuleMetrics = async ( rule_name: hit._source?.alert.name, rule_id: hit._source?.alert.params.ruleId, rule_type: hit._source?.alert.params.type, - rule_version: hit._source?.alert.params.version, + rule_version: Number(hit._source?.alert.params.version), enabled: hit._source?.alert.enabled, elastic_rule: isElastic, created_on: hit._source?.alert.createdAt, diff --git a/x-pack/plugins/security_solution/server/usage/detections/detections.mocks.ts b/x-pack/plugins/security_solution/server/usage/detections/detections.mocks.ts index c4ab55127f5d3..11d5c8e0fda25 100644 --- a/x-pack/plugins/security_solution/server/usage/detections/detections.mocks.ts +++ b/x-pack/plugins/security_solution/server/usage/detections/detections.mocks.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { SearchResponse } from '@elastic/elasticsearch/lib/api/types'; + export const getMockJobSummaryResponse = () => [ { id: 'linux_anomalous_network_activity_ecs', @@ -287,7 +289,9 @@ export const getMockMlDatafeedStatsResponse = () => ({ ], }); -export const getMockRuleSearchResponse = (immutableTag: string = '__internal_immutable:true') => ({ +export const getMockRuleSearchResponse = ( + immutableTag: string = '__internal_immutable:true' +): SearchResponse => ({ took: 2, timed_out: false, _shards: { @@ -387,7 +391,7 @@ export const getMockRuleSearchResponse = (immutableTag: string = '__internal_imm }, }); -export const getMockRuleAlertsResponse = (docCount: number) => ({ +export const getMockRuleAlertsResponse = (docCount: number): SearchResponse => ({ took: 7, timed_out: false, _shards: { diff --git a/x-pack/plugins/security_solution/server/usage/detections/detections.test.ts b/x-pack/plugins/security_solution/server/usage/detections/detections.test.ts index 3e60691011fe9..7793552510c75 100644 --- a/x-pack/plugins/security_solution/server/usage/detections/detections.test.ts +++ b/x-pack/plugins/security_solution/server/usage/detections/detections.test.ts @@ -12,7 +12,6 @@ import { } from '../../../../../../src/core/server/mocks'; import { mlServicesMock } from '../../lib/machine_learning/mocks'; import { fetchDetectionsMetrics } from './index'; -import { initialMlJobsUsage } from './detection_ml_helpers'; import { getMockJobSummaryResponse, getMockListModulesResponse, @@ -23,286 +22,165 @@ import { getMockRuleAlertsResponse, getMockAlertCasesResponse, } from './detections.mocks'; - -const savedObjectsClient = savedObjectsClientMock.create(); +import { getInitialDetectionMetrics, initialDetectionRulesUsage } from './detection_rule_helpers'; +import { DetectionMetrics } from './types'; +// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import { elasticsearchClientMock } from 'src/core/server/elasticsearch/client/mocks'; describe('Detections Usage and Metrics', () => { let esClientMock: jest.Mocked; let mlMock: ReturnType; + let savedObjectsClient: ReturnType; describe('getDetectionRuleMetrics()', () => { beforeEach(() => { esClientMock = elasticsearchServiceMock.createClusterClient().asInternalUser; mlMock = mlServicesMock.createSetupContract(); + savedObjectsClient = savedObjectsClientMock.create(); }); it('returns zeroed counts if calls are empty', async () => { const result = await fetchDetectionsMetrics('', '', esClientMock, savedObjectsClient, mlMock); - - expect(result).toEqual( - expect.objectContaining({ - detection_rules: { - detection_rule_detail: [], - detection_rule_usage: { - query: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - threshold: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - eql: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - machine_learning: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - threat_match: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - elastic_total: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - custom_total: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - }, - }, - ml_jobs: { ml_job_metrics: [], ml_job_usage: initialMlJobsUsage }, - }) - ); + expect(result).toEqual(getInitialDetectionMetrics()); }); it('returns information with rule, alerts and cases', async () => { - (esClientMock.search as jest.Mock) - .mockReturnValueOnce({ body: getMockRuleSearchResponse() }) - .mockReturnValue({ body: getMockRuleAlertsResponse(3400) }); - (savedObjectsClient.find as jest.Mock).mockReturnValue(getMockAlertCasesResponse()); - + esClientMock.search + .mockResolvedValueOnce( + elasticsearchClientMock.createApiResponse({ body: getMockRuleSearchResponse() }) + ) + .mockResolvedValue( + elasticsearchClientMock.createApiResponse({ body: getMockRuleAlertsResponse(3400) }) + ); + savedObjectsClient.find.mockResolvedValue(getMockAlertCasesResponse()); const result = await fetchDetectionsMetrics('', '', esClientMock, savedObjectsClient, mlMock); - expect(result).toEqual( - expect.objectContaining({ - detection_rules: { - detection_rule_detail: [ - { - alert_count_daily: 3400, - cases_count_total: 1, - created_on: '2021-03-23T17:15:59.634Z', - elastic_rule: true, - enabled: false, - rule_id: '5370d4cd-2bb3-4d71-abf5-1e1d0ff5a2de', - rule_name: 'Azure Diagnostic Settings Deletion', - rule_type: 'query', - rule_version: 4, - updated_on: '2021-03-23T17:15:59.634Z', - }, - ], - detection_rule_usage: { - custom_total: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - elastic_total: { - alerts: 3400, - cases: 1, - disabled: 1, - enabled: 0, - }, - eql: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - machine_learning: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - query: { - alerts: 3400, - cases: 1, - disabled: 1, - enabled: 0, - }, - threat_match: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - threshold: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, + expect(result).toEqual({ + ...getInitialDetectionMetrics(), + detection_rules: { + detection_rule_detail: [ + { + alert_count_daily: 3400, + cases_count_total: 1, + created_on: '2021-03-23T17:15:59.634Z', + elastic_rule: true, + enabled: false, + rule_id: '5370d4cd-2bb3-4d71-abf5-1e1d0ff5a2de', + rule_name: 'Azure Diagnostic Settings Deletion', + rule_type: 'query', + rule_version: 4, + updated_on: '2021-03-23T17:15:59.634Z', + }, + ], + detection_rule_usage: { + ...initialDetectionRulesUsage, + query: { + enabled: 0, + disabled: 1, + alerts: 3400, + cases: 1, + }, + elastic_total: { + alerts: 3400, + cases: 1, + disabled: 1, + enabled: 0, + }, + legacy_notifications: { + total: 4, }, }, - ml_jobs: { ml_job_metrics: [], ml_job_usage: initialMlJobsUsage }, - }) - ); + }, + }); }); it('returns information with on non elastic prebuilt rule', async () => { - (esClientMock.search as jest.Mock) - .mockReturnValueOnce({ body: getMockRuleSearchResponse('not_immutable') }) - .mockReturnValue({ body: getMockRuleAlertsResponse(800) }); - (savedObjectsClient.find as jest.Mock).mockReturnValue(getMockAlertCasesResponse()); - + esClientMock.search + .mockResolvedValueOnce( + elasticsearchClientMock.createApiResponse({ + body: getMockRuleSearchResponse('not_immutable'), + }) + ) + .mockResolvedValue( + elasticsearchClientMock.createApiResponse({ body: getMockRuleAlertsResponse(800) }) + ); + savedObjectsClient.find.mockResolvedValue(getMockAlertCasesResponse()); const result = await fetchDetectionsMetrics('', '', esClientMock, savedObjectsClient, mlMock); - expect(result).toEqual( - expect.objectContaining({ - detection_rules: { - detection_rule_detail: [], // *should not* contain custom detection rule details - detection_rule_usage: { - custom_total: { - alerts: 800, - cases: 1, - disabled: 1, - enabled: 0, - }, - elastic_total: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - eql: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - machine_learning: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - query: { - alerts: 800, - cases: 1, - disabled: 1, - enabled: 0, - }, - threat_match: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - threshold: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, + expect(result).toEqual({ + ...getInitialDetectionMetrics(), + detection_rules: { + detection_rule_detail: [], // *should not* contain custom detection rule details + detection_rule_usage: { + ...initialDetectionRulesUsage, + custom_total: { + alerts: 800, + cases: 1, + disabled: 1, + enabled: 0, + }, + query: { + alerts: 800, + cases: 1, + disabled: 1, + enabled: 0, + }, + legacy_notifications: { + total: 4, }, }, - ml_jobs: { ml_job_metrics: [], ml_job_usage: initialMlJobsUsage }, - }) - ); + }, + }); }); it('returns information with rule, no alerts and no cases', async () => { - (esClientMock.search as jest.Mock) - .mockReturnValueOnce({ body: getMockRuleSearchResponse() }) - .mockReturnValue({ body: getMockRuleAlertsResponse(0) }); - (savedObjectsClient.find as jest.Mock).mockReturnValue(getMockAlertCasesResponse()); - + esClientMock.search + .mockResolvedValueOnce( + elasticsearchClientMock.createApiResponse({ body: getMockRuleSearchResponse() }) + ) + .mockResolvedValue( + elasticsearchClientMock.createApiResponse({ body: getMockRuleAlertsResponse(0) }) + ); + savedObjectsClient.find.mockResolvedValue(getMockAlertCasesResponse()); const result = await fetchDetectionsMetrics('', '', esClientMock, savedObjectsClient, mlMock); - expect(result).toEqual( - expect.objectContaining({ - detection_rules: { - detection_rule_detail: [ - { - alert_count_daily: 0, - cases_count_total: 1, - created_on: '2021-03-23T17:15:59.634Z', - elastic_rule: true, - enabled: false, - rule_id: '5370d4cd-2bb3-4d71-abf5-1e1d0ff5a2de', - rule_name: 'Azure Diagnostic Settings Deletion', - rule_type: 'query', - rule_version: 4, - updated_on: '2021-03-23T17:15:59.634Z', - }, - ], - detection_rule_usage: { - custom_total: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - elastic_total: { - alerts: 0, - cases: 1, - disabled: 1, - enabled: 0, - }, - eql: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - machine_learning: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - query: { - alerts: 0, - cases: 1, - disabled: 1, - enabled: 0, - }, - threat_match: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, - threshold: { - alerts: 0, - cases: 0, - disabled: 0, - enabled: 0, - }, + expect(result).toEqual({ + ...getInitialDetectionMetrics(), + detection_rules: { + detection_rule_detail: [ + { + alert_count_daily: 0, + cases_count_total: 1, + created_on: '2021-03-23T17:15:59.634Z', + elastic_rule: true, + enabled: false, + rule_id: '5370d4cd-2bb3-4d71-abf5-1e1d0ff5a2de', + rule_name: 'Azure Diagnostic Settings Deletion', + rule_type: 'query', + rule_version: 4, + updated_on: '2021-03-23T17:15:59.634Z', + }, + ], + detection_rule_usage: { + ...initialDetectionRulesUsage, + elastic_total: { + alerts: 0, + cases: 1, + disabled: 1, + enabled: 0, + }, + query: { + alerts: 0, + cases: 1, + disabled: 1, + enabled: 0, + }, + legacy_notifications: { + total: 4, }, }, - ml_jobs: { ml_job_metrics: [], ml_job_usage: initialMlJobsUsage }, - }) - ); + }, + }); }); }); @@ -310,6 +188,7 @@ describe('Detections Usage and Metrics', () => { beforeEach(() => { esClientMock = elasticsearchServiceMock.createClusterClient().asInternalUser; mlMock = mlServicesMock.createSetupContract(); + savedObjectsClient = savedObjectsClientMock.create(); }); it('returns an empty array if there is no data', async () => { @@ -318,12 +197,7 @@ describe('Detections Usage and Metrics', () => { jobStats: null, } as unknown as ReturnType); const result = await fetchDetectionsMetrics('', '', esClientMock, savedObjectsClient, mlMock); - - expect(result).toEqual( - expect.objectContaining({ - ml_jobs: { ml_job_metrics: [], ml_job_usage: initialMlJobsUsage }, - }) - ); + expect(result).toEqual(getInitialDetectionMetrics()); }); it('returns an ml job telemetry object from anomaly detectors provider', async () => { diff --git a/x-pack/plugins/security_solution/server/usage/detections/types.ts b/x-pack/plugins/security_solution/server/usage/detections/types.ts index 635ff47d0067a..ed0e8a4e5e99f 100644 --- a/x-pack/plugins/security_solution/server/usage/detections/types.ts +++ b/x-pack/plugins/security_solution/server/usage/detections/types.ts @@ -65,6 +65,7 @@ export interface DetectionRulesTypeUsage { threat_match: FeatureTypeUsage; elastic_total: FeatureTypeUsage; custom_total: FeatureTypeUsage; + legacy_notifications: LegacyNotifications; } export interface MlJobsUsage { @@ -121,6 +122,7 @@ export interface DetectionRuleMetric { rule_name: string; rule_id: string; rule_type: string; + rule_version: number; enabled: boolean; elastic_rule: boolean; created_on: string; @@ -160,3 +162,11 @@ export interface DetectionRuleAdoption { detection_rule_detail: DetectionRuleMetric[]; detection_rule_usage: DetectionRulesTypeUsage; } + +/** + * The legacy notifications that are still in use. + * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function + */ +export interface LegacyNotifications { + total: number; +} diff --git a/x-pack/plugins/spaces/public/copy_saved_objects_to_space/index.ts b/x-pack/plugins/spaces/public/copy_saved_objects_to_space/index.ts index 2443c8443c091..cfeb238ce987a 100644 --- a/x-pack/plugins/spaces/public/copy_saved_objects_to_space/index.ts +++ b/x-pack/plugins/spaces/public/copy_saved_objects_to_space/index.ts @@ -6,4 +6,8 @@ */ export { getCopyToSpaceFlyoutComponent } from './components'; -export type { CopyToSpaceFlyoutProps, CopyToSpaceSavedObjectTarget } from './types'; +export type { + CopyToSpaceFlyoutProps, + CopyToSpaceSavedObjectTarget, + CopySavedObjectsToSpaceResponse, +} from './types'; diff --git a/x-pack/plugins/spaces/public/index.ts b/x-pack/plugins/spaces/public/index.ts index 86f1afd234be3..6571e2e22fb75 100644 --- a/x-pack/plugins/spaces/public/index.ts +++ b/x-pack/plugins/spaces/public/index.ts @@ -15,9 +15,12 @@ export type { Space, GetAllSpacesPurpose, GetSpaceResult } from '../common'; export type { SpacesData, SpacesDataEntry, SpacesApi } from './types'; +export type { SpacesManager } from './spaces_manager'; + export type { CopyToSpaceFlyoutProps, CopyToSpaceSavedObjectTarget, + CopySavedObjectsToSpaceResponse, } from './copy_saved_objects_to_space'; export type { LegacyUrlConflictProps, EmbeddableLegacyUrlConflictProps } from './legacy_urls'; diff --git a/x-pack/plugins/stack_alerts/server/alert_types/es_query/alert_type.test.ts b/x-pack/plugins/stack_alerts/server/alert_types/es_query/alert_type.test.ts index 1ea9a9a4827b8..6b424adaa54ab 100644 --- a/x-pack/plugins/stack_alerts/server/alert_types/es_query/alert_type.test.ts +++ b/x-pack/plugins/stack_alerts/server/alert_types/es_query/alert_type.test.ts @@ -134,7 +134,7 @@ describe('alertType', () => { const alertServices: AlertServicesMock = alertsMock.createAlertServices(); const searchResult: ESSearchResponse = generateResults([]); - alertServices.scopedClusterClient.asCurrentUser.search.mockResolvedValueOnce( + alertServices.search.asCurrentUser.search.mockResolvedValueOnce( elasticsearchClientMock.createSuccessTransportRequestPromise(searchResult) ); @@ -212,7 +212,7 @@ describe('alertType', () => { 'time-field': newestDocumentTimestamp - 2000, }, ]); - alertServices.scopedClusterClient.asCurrentUser.search.mockResolvedValueOnce( + alertServices.search.asCurrentUser.search.mockResolvedValueOnce( elasticsearchClientMock.createSuccessTransportRequestPromise(searchResult) ); @@ -284,7 +284,7 @@ describe('alertType', () => { const previousTimestamp = Date.now(); const newestDocumentTimestamp = previousTimestamp + 1000; - alertServices.scopedClusterClient.asCurrentUser.search.mockResolvedValueOnce( + alertServices.search.asCurrentUser.search.mockResolvedValueOnce( elasticsearchClientMock.createSuccessTransportRequestPromise( generateResults([ { @@ -354,7 +354,7 @@ describe('alertType', () => { const oldestDocumentTimestamp = Date.now(); - alertServices.scopedClusterClient.asCurrentUser.search.mockResolvedValueOnce( + alertServices.search.asCurrentUser.search.mockResolvedValueOnce( elasticsearchClientMock.createSuccessTransportRequestPromise( generateResults([ { @@ -434,7 +434,7 @@ describe('alertType', () => { const oldestDocumentTimestamp = Date.now(); - alertServices.scopedClusterClient.asCurrentUser.search.mockResolvedValueOnce( + alertServices.search.asCurrentUser.search.mockResolvedValueOnce( elasticsearchClientMock.createSuccessTransportRequestPromise( generateResults([ { @@ -496,7 +496,7 @@ describe('alertType', () => { }); const newestDocumentTimestamp = oldestDocumentTimestamp + 5000; - alertServices.scopedClusterClient.asCurrentUser.search.mockResolvedValueOnce( + alertServices.search.asCurrentUser.search.mockResolvedValueOnce( elasticsearchClientMock.createSuccessTransportRequestPromise( generateResults([ { @@ -541,7 +541,7 @@ describe('alertType', () => { const oldestDocumentTimestamp = Date.now(); - alertServices.scopedClusterClient.asCurrentUser.search.mockResolvedValueOnce( + alertServices.search.asCurrentUser.search.mockResolvedValueOnce( elasticsearchClientMock.createSuccessTransportRequestPromise( generateResults( [ @@ -623,7 +623,7 @@ describe('alertType', () => { const oldestDocumentTimestamp = Date.now(); - alertServices.scopedClusterClient.asCurrentUser.search.mockResolvedValueOnce( + alertServices.search.asCurrentUser.search.mockResolvedValueOnce( elasticsearchClientMock.createSuccessTransportRequestPromise( generateResults( [ diff --git a/x-pack/plugins/stack_alerts/server/alert_types/es_query/alert_type.ts b/x-pack/plugins/stack_alerts/server/alert_types/es_query/alert_type.ts index 3f64e78ba6161..9dca9e9c3fc61 100644 --- a/x-pack/plugins/stack_alerts/server/alert_types/es_query/alert_type.ts +++ b/x-pack/plugins/stack_alerts/server/alert_types/es_query/alert_type.ts @@ -160,9 +160,10 @@ export function getAlertType(logger: Logger): RuleType< > ) { const { alertId, name, services, params, state } = options; + const { alertInstanceFactory, search } = services; const previousTimestamp = state.latestTimestamp; - const esClient = services.scopedClusterClient.asCurrentUser; + const abortableEsClient = search.asCurrentUser; const { parsedQuery, dateStart, dateEnd } = getSearchParams(params); const compareFn = ComparatorFns.get(params.thresholdComparator); @@ -223,7 +224,7 @@ export function getAlertType(logger: Logger): RuleType< logger.debug(`alert ${ES_QUERY_ID}:${alertId} "${name}" query - ${JSON.stringify(query)}`); - const { body: searchResult } = await esClient.search(query); + const { body: searchResult } = await abortableEsClient.search(query); logger.debug( `alert ${ES_QUERY_ID}:${alertId} "${name}" result - ${JSON.stringify(searchResult)}` @@ -254,7 +255,7 @@ export function getAlertType(logger: Logger): RuleType< }; const actionContext = addMessages(options, baseContext, params); - const alertInstance = options.services.alertInstanceFactory(ConditionMetAlertInstanceId); + const alertInstance = alertInstanceFactory(ConditionMetAlertInstanceId); alertInstance // store the params we would need to recreate the query that led to this alert instance .replaceState({ latestTimestamp: timestamp, dateStart, dateEnd }) diff --git a/x-pack/plugins/stack_alerts/server/alert_types/index_threshold/alert_type.ts b/x-pack/plugins/stack_alerts/server/alert_types/index_threshold/alert_type.ts index 3630b9a680e81..e31744e770462 100644 --- a/x-pack/plugins/stack_alerts/server/alert_types/index_threshold/alert_type.ts +++ b/x-pack/plugins/stack_alerts/server/alert_types/index_threshold/alert_type.ts @@ -134,6 +134,7 @@ export function getAlertType( options: AlertExecutorOptions ) { const { alertId, name, services, params } = options; + const { alertInstanceFactory, search } = services; const compareFn = ComparatorFns.get(params.thresholdComparator); if (compareFn == null) { @@ -147,7 +148,7 @@ export function getAlertType( ); } - const esClient = services.scopedClusterClient.asCurrentUser; + const abortableEsClient = search.asCurrentUser; const date = new Date().toISOString(); // the undefined values below are for config-schema optional types const queryParams: TimeSeriesQuery = { @@ -169,7 +170,7 @@ export function getAlertType( await data ).timeSeriesQuery({ logger, - esClient, + abortableEsClient, query: queryParams, }); logger.debug(`alert ${ID}:${alertId} "${name}" query result: ${JSON.stringify(result)}`); @@ -207,7 +208,7 @@ export function getAlertType( conditions: humanFn, }; const actionContext = addMessages(options, baseContext, params); - const alertInstance = options.services.alertInstanceFactory(instanceId); + const alertInstance = alertInstanceFactory(instanceId); alertInstance.scheduleActions(ActionGroupId, actionContext); logger.debug(`scheduled actionGroup: ${JSON.stringify(actionContext)}`); } 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 4940463920872..02ad35bd0916c 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -7101,6 +7101,16 @@ } } }, + "legacy_notifications": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "Number of legacy notifications still in use" + } + } + } + }, "elastic_total": { "properties": { "enabled": { diff --git a/x-pack/plugins/timelines/common/ecs/index.ts b/x-pack/plugins/timelines/common/ecs/index.ts index 28cd03deeed1d..faac79cfc2e74 100644 --- a/x-pack/plugins/timelines/common/ecs/index.ts +++ b/x-pack/plugins/timelines/common/ecs/index.ts @@ -32,7 +32,7 @@ import { ThreatEcs } from './threat'; import { Ransomware } from './ransomware'; export type SignalEcsAAD = Exclude & { - rule?: Exclude & { uuid: string[] }; + rule?: Exclude & { parameters: Record; uuid: string[] }; building_block_type?: string[]; workflow_status?: string[]; }; diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index a130b52ab53ca..17bef6a686dec 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -1956,15 +1956,11 @@ "expressionMetricVis.function.metric.help": "メトリックディメンションの構成です。", "expressionMetricVis.function.percentageMode.help": "百分率モードでメトリックを表示します。colorRange を設定する必要があります。", "expressionMetricVis.function.showLabels.help": "メトリック値の下にラベルを表示します。", - "expressionHeatmap.function.args.grid.cellHeight.help": "指定网格单元格高度", - "expressionHeatmap.function.args.grid.cellWidth.help": "指定网格单元格宽度", "expressionHeatmap.function.args.grid.isCellLabelVisible.help": "指定单元格标签是否可见。", "expressionHeatmap.function.args.grid.isXAxisLabelVisible.help": "指定 X 轴标签是否可见。", "expressionHeatmap.function.args.grid.isYAxisLabelVisible.help": "指定 Y 轴标签是否可见。", "expressionHeatmap.function.args.grid.strokeColor.help": "指定网格笔画颜色", "expressionHeatmap.function.args.grid.strokeWidth.help": "指定网格笔画宽度", - "expressionHeatmap.function.args.grid.yAxisLabelColor.help": "指定 Y 轴标签的颜色。", - "expressionHeatmap.function.args.grid.yAxisLabelWidth.help": "指定 Y 轴标签的宽度。", "expressionHeatmap.function.args.legend.isVisible.help": "指定图例是否可见。", "expressionHeatmap.function.args.legend.maxLines.help": "指定每个图例项的行数。", "expressionHeatmap.function.args.legend.position.help": "指定图例位置。", @@ -4182,6 +4178,19 @@ "visTypePie.editors.pie.showTopLevelOnlyLabel": "トップレベルのみ表示", "visTypePie.editors.pie.showValuesLabel": "値を表示", "visTypePie.editors.pie.valueFormatsLabel": "値", + "visTypePie.labelPositions.insideOrOutsideText": "内部または外部", + "visTypePie.labelPositions.insideText": "内部", + "visTypePie.legendPositions.bottomText": "一番下", + "visTypePie.legendPositions.leftText": "左", + "visTypePie.legendPositions.rightText": "右", + "visTypePie.legendPositions.topText": "トップ", + "visTypePie.pie.metricTitle": "スライスサイズ", + "visTypePie.pie.pieDescription": "全体に対する比率でデータを比較します。", + "visTypePie.pie.pieTitle": "円", + "visTypePie.pie.segmentTitle": "スライスの分割", + "visTypePie.pie.splitTitle": "チャートを分割", + "visTypePie.valuesFormats.percent": "割合を表示", + "visTypePie.valuesFormats.value": "値を表示", "expressionPie.pieVis.function.dimension.buckets": "スライス", "expressionPie.pieVis.function.args.addLegendHelpText": "グラフ凡例を表示", "expressionPie.pieVis.function.args.addTooltipHelpText": "スライスにカーソルを置いたときにツールチップを表示", @@ -4209,24 +4218,11 @@ "expressionPie.pieLabels.function.args.values.help": "スライス内の値を定義します", "expressionPie.pieLabels.function.args.valuesFormat.help": "値の形式を定義します", "expressionPie.pieVis.function.help": "パイビジュアライゼーション", - "visTypePie.labelPositions.insideOrOutsideText": "内部または外部", - "visTypePie.labelPositions.insideText": "内部", "expressionPie.legend.filterForValueButtonAriaLabel": "値でフィルター", "expressionPie.legend.filterOptionsLegend": "{legendDataLabel}、フィルターオプション", "expressionPie.legend.filterOutValueButtonAriaLabel": "値を除外", - "visTypePie.legendPositions.bottomText": "一番下", - "visTypePie.legendPositions.leftText": "左", - "visTypePie.legendPositions.rightText": "右", - "visTypePie.legendPositions.topText": "トップ", "expressionPie.negativeValuesFound": "円/ドーナツグラフは負の値では表示できません。", "expressionPie.noResultsFoundTitle": "結果が見つかりませんでした", - "visTypePie.pie.metricTitle": "スライスサイズ", - "visTypePie.pie.pieDescription": "全体に対する比率でデータを比較します。", - "visTypePie.pie.pieTitle": "円", - "visTypePie.pie.segmentTitle": "スライスの分割", - "visTypePie.pie.splitTitle": "チャートを分割", - "visTypePie.valuesFormats.percent": "割合を表示", - "visTypePie.valuesFormats.value": "値を表示", "visTypeTable.defaultAriaLabel": "データ表ビジュアライゼーション", "visTypeTable.function.adimension.buckets": "バケット", "visTypeTable.function.args.bucketsHelpText": "バケットディメンション構成", @@ -13558,10 +13554,7 @@ "xpack.ingestPipelines.pipelineEditor.inferenceForm.fieldMapHelpText": "ドキュメントフィールド名をモデルの既知のフィールド名にマッピングします。モデルのどのマッピングよりも優先されます。", "xpack.ingestPipelines.pipelineEditor.inferenceForm.fieldMapInvalidJSONError": "無効なJSON", "xpack.ingestPipelines.pipelineEditor.inferenceForm.fieldMapLabel": "フィールドマップ(任意)", - "xpack.ingestPipelines.pipelineEditor.inferenceForm.inferenceConfigField.classificationLinkLabel": "分類", - "xpack.ingestPipelines.pipelineEditor.inferenceForm.inferenceConfigField.regressionLinkLabel": "回帰", "xpack.ingestPipelines.pipelineEditor.inferenceForm.inferenceConfigLabel": "推論構成(任意)", - "xpack.ingestPipelines.pipelineEditor.inferenceForm.inferenceConfigurationHelpText": "推論タイプとオプションが含まれます。{regression}と{classification}の2種類あります。", "xpack.ingestPipelines.pipelineEditor.inferenceForm.modelIDFieldHelpText": "推論するモデルのID。", "xpack.ingestPipelines.pipelineEditor.inferenceForm.modelIDFieldLabel": "モデルID", "xpack.ingestPipelines.pipelineEditor.inferenceForm.patternRequiredError": "モデルID値は必須です。", @@ -26220,18 +26213,12 @@ "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexButton.runReindexLabel": "再インデックスの開始", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexButton.tryAgainLabel": "再試行", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexDescription": "再インデックス中はインデックスが読み取り専用です。再インデックスが完了するまでは、ドキュメントの追加、更新、削除ができません。新しいクラスターを再インデックスする必要がある場合は、再インデックスAPIを使用します。{docsLink}", - "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.aliasSwapStepTitle": "元のインデックスをエイリアスと交換します。", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.cancelButton.cancelLabel": "キャンセル", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.cancelButton.cancelledLabel": "キャンセル済み", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.cancelButton.cancellingLabel": "キャンセル中…", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.cancelButton.errorLabel": "キャンセルできませんでした", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.cancelledTitle": "再インデックスはキャンセルされました。", - "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.createIndexStepTitle": "新しいインデックスを作成します。", - "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.inProgress.aliasSwapStepTitle": "元のインデックスをエイリアスと交換しています。", - "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.inProgress.createIndexStepTitle": "新しいインデックスを作成しています。", - "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.inProgress.readonlyStepTitle": "元のインデックスを読み取り専用に設定しています。", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.inProgress.reindexingDocumentsStepTitle": "ドキュメントを再インデックスしています。", - "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.readonlyStepTitle": "元のインデックスを読み取り専用に設定します。", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.reindexingDocumentsStepTitle": "ドキュメントのインデックスを作成します。", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklistTitle": "プロセスを再インデックス中", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingFailedCalloutTitle": "再インデックスエラー", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 080bcf6663cfb..0e8b56520bfea 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -1964,15 +1964,11 @@ "expressionMetric.functions.metricHelpText": "在标签上显示数字。", "expressionMetric.renderer.metric.displayName": "指标", "expressionMetric.renderer.metric.helpDescription": "在标签上呈现数字", - "expressionHeatmap.function.args.grid.cellHeight.help": "指定网格单元格高度", - "expressionHeatmap.function.args.grid.cellWidth.help": "指定网格单元格宽度", "expressionHeatmap.function.args.grid.isCellLabelVisible.help": "指定单元格标签是否可见。", "expressionHeatmap.function.args.grid.isXAxisLabelVisible.help": "指定 X 轴标签是否可见。", "expressionHeatmap.function.args.grid.isYAxisLabelVisible.help": "指定 Y 轴标签是否可见。", "expressionHeatmap.function.args.grid.strokeColor.help": "指定网格笔画颜色", "expressionHeatmap.function.args.grid.strokeWidth.help": "指定网格笔画宽度", - "expressionHeatmap.function.args.grid.yAxisLabelColor.help": "指定 Y 轴标签的颜色。", - "expressionHeatmap.function.args.grid.yAxisLabelWidth.help": "指定 Y 轴标签的宽度。", "expressionHeatmap.function.args.legend.isVisible.help": "指定图例是否可见。", "expressionHeatmap.function.args.legend.maxLines.help": "指定每个图例项的行数。", "expressionHeatmap.function.args.legend.position.help": "指定图例位置。", @@ -4214,6 +4210,19 @@ "visTypePie.editors.pie.showTopLevelOnlyLabel": "仅显示顶级", "visTypePie.editors.pie.showValuesLabel": "显示值", "visTypePie.editors.pie.valueFormatsLabel": "值", + "visTypePie.labelPositions.insideOrOutsideText": "内部或外部", + "visTypePie.labelPositions.insideText": "内部", + "visTypePie.legendPositions.bottomText": "底部", + "visTypePie.legendPositions.leftText": "左", + "visTypePie.legendPositions.rightText": "右", + "visTypePie.legendPositions.topText": "顶部", + "visTypePie.pie.metricTitle": "切片大小", + "visTypePie.pie.pieDescription": "以整体的比例比较数据。", + "visTypePie.pie.pieTitle": "饼图", + "visTypePie.pie.segmentTitle": "拆分切片", + "visTypePie.pie.splitTitle": "拆分图表", + "visTypePie.valuesFormats.percent": "显示百分比", + "visTypePie.valuesFormats.value": "显示值", "expressionPie.pieVis.function.dimension.buckets": "切片", "expressionPie.pieVis.function.args.addLegendHelpText": "显示图表图例", "expressionPie.pieVis.function.args.addTooltipHelpText": "在切片上悬浮时显示工具提示", @@ -4241,24 +4250,11 @@ "expressionPie.pieLabels.function.args.values.help": "定义切片内的值", "expressionPie.pieLabels.function.args.valuesFormat.help": "定义值的格式", "expressionPie.pieVis.function.help": "饼图可视化", - "visTypePie.labelPositions.insideOrOutsideText": "内部或外部", - "visTypePie.labelPositions.insideText": "内部", "expressionPie.legend.filterForValueButtonAriaLabel": "筛留值", "expressionPie.legend.filterOptionsLegend": "{legendDataLabel}, 筛选选项", "expressionPie.legend.filterOutValueButtonAriaLabel": "筛除值", - "visTypePie.legendPositions.bottomText": "底部", - "visTypePie.legendPositions.leftText": "左", - "visTypePie.legendPositions.rightText": "右", - "visTypePie.legendPositions.topText": "顶部", "expressionPie.negativeValuesFound": "饼图/圆环图无法使用负值进行呈现。", "expressionPie.noResultsFoundTitle": "找不到结果", - "visTypePie.pie.metricTitle": "切片大小", - "visTypePie.pie.pieDescription": "以整体的比例比较数据。", - "visTypePie.pie.pieTitle": "饼图", - "visTypePie.pie.segmentTitle": "拆分切片", - "visTypePie.pie.splitTitle": "拆分图表", - "visTypePie.valuesFormats.percent": "显示百分比", - "visTypePie.valuesFormats.value": "显示值", "visTypeTable.defaultAriaLabel": "数据表可视化", "visTypeTable.function.adimension.buckets": "存储桶", "visTypeTable.function.args.bucketsHelpText": "存储桶维度配置", @@ -13738,10 +13734,7 @@ "xpack.ingestPipelines.pipelineEditor.inferenceForm.fieldMapHelpText": "将文档字段名称映射到模型的已知字段名称。优先于模型中的任何映射。", "xpack.ingestPipelines.pipelineEditor.inferenceForm.fieldMapInvalidJSONError": "JSON 无效", "xpack.ingestPipelines.pipelineEditor.inferenceForm.fieldMapLabel": "字段映射(可选)", - "xpack.ingestPipelines.pipelineEditor.inferenceForm.inferenceConfigField.classificationLinkLabel": "分类", - "xpack.ingestPipelines.pipelineEditor.inferenceForm.inferenceConfigField.regressionLinkLabel": "回归", "xpack.ingestPipelines.pipelineEditor.inferenceForm.inferenceConfigLabel": "推理配置(可选)", - "xpack.ingestPipelines.pipelineEditor.inferenceForm.inferenceConfigurationHelpText": "包含推理类型及其选项。有两种类型:{regression} 和 {classification}。", "xpack.ingestPipelines.pipelineEditor.inferenceForm.modelIDFieldHelpText": "推理所根据的模型的 ID。", "xpack.ingestPipelines.pipelineEditor.inferenceForm.modelIDFieldLabel": "模型 ID", "xpack.ingestPipelines.pipelineEditor.inferenceForm.patternRequiredError": "需要模型 ID 值。", @@ -26673,18 +26666,12 @@ "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexButton.runReindexLabel": "启动重新索引", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexButton.tryAgainLabel": "重试", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexDescription": "重新索引期间,索引将处于只读状态。在重新索引完成之前,您无法添加、更新或删除文档。如果需要重新索引到新集群,请使用重新索引 API。{docsLink}", - "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.aliasSwapStepTitle": "交换具有别名的原始索引。", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.cancelButton.cancelLabel": "取消", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.cancelButton.cancelledLabel": "已取消", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.cancelButton.cancellingLabel": "正在取消……", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.cancelButton.errorLabel": "无法取消", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.cancelledTitle": "重新索引已取消。", - "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.createIndexStepTitle": "创建新索引。", - "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.inProgress.aliasSwapStepTitle": "正在交换具有别名的原始索引。", - "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.inProgress.createIndexStepTitle": "正在创建新索引。", - "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.inProgress.readonlyStepTitle": "正在将原始索引设置为只读。", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.inProgress.reindexingDocumentsStepTitle": "正在重新索引文档。", - "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.readonlyStepTitle": "将原始索引设置为只读。", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklist.reindexingDocumentsStepTitle": "索引文档。", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingChecklistTitle": "重新索引过程", "xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingFailedCalloutTitle": "重新索引错误", diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.test.ts b/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.test.ts index 5afe37df536a6..c0528cf85bd5b 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.test.ts +++ b/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.test.ts @@ -11,8 +11,7 @@ import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import { loggingSystemMock } from '../../../../../../src/core/server/mocks'; import { Logger } from '../../../../../../src/core/server'; import { TimeSeriesQuery, timeSeriesQuery, getResultFromEs } from './time_series_query'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { elasticsearchClientMock } from '../../../../../../src/core/server/elasticsearch/client/mocks'; +import { alertsMock } from '../../../../alerting/server/mocks'; const DefaultQueryParams: TimeSeriesQuery = { index: 'index-name', @@ -30,16 +29,16 @@ const DefaultQueryParams: TimeSeriesQuery = { }; describe('timeSeriesQuery', () => { - const esClient = elasticsearchClientMock.createClusterClient().asScoped().asCurrentUser; + const abortableEsClient = alertsMock.createAlertServices().search.asCurrentUser; const logger = loggingSystemMock.create().get() as jest.Mocked; const params = { logger, - esClient, + abortableEsClient, query: DefaultQueryParams, }; it('fails as expected when the callCluster call fails', async () => { - esClient.search = jest.fn().mockRejectedValue(new Error('woopsie')); + abortableEsClient.search = jest.fn().mockRejectedValue(new Error('woopsie')); await timeSeriesQuery(params); expect(logger.warn.mock.calls[0]).toMatchInlineSnapshot(` Array [ diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts b/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts index ca4c7c8acc5dc..5a3f902bf22fe 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts +++ b/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts @@ -6,8 +6,8 @@ */ import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; -import { Logger, ElasticsearchClient } from 'kibana/server'; -import { getEsErrorMessage } from '../../../../alerting/server'; +import { Logger } from 'kibana/server'; +import { getEsErrorMessage, IAbortableEsClient } from '../../../../alerting/server'; import { DEFAULT_GROUPS } from '../index'; import { getDateRangeInfo } from './date_range_info'; @@ -16,14 +16,14 @@ export type { TimeSeriesQuery, TimeSeriesResult } from './time_series_types'; export interface TimeSeriesQueryParameters { logger: Logger; - esClient: ElasticsearchClient; + abortableEsClient: IAbortableEsClient; query: TimeSeriesQuery; } export async function timeSeriesQuery( params: TimeSeriesQueryParameters ): Promise { - const { logger, esClient, query: queryParams } = params; + const { logger, abortableEsClient, query: queryParams } = params; const { index, timeWindowSize, timeWindowUnit, interval, timeField, dateStart, dateEnd } = queryParams; @@ -128,7 +128,7 @@ export async function timeSeriesQuery( // console.log('time_series_query.ts request\n', JSON.stringify(esQuery, null, 4)); try { - esResult = (await esClient.search(esQuery, { ignore: [404] })).body; + esResult = (await abortableEsClient.search(esQuery, { ignore: [404] })).body; } catch (err) { // console.log('time_series_query.ts error\n', JSON.stringify(err, null, 4)); logger.warn(`${logPrefix} error: ${getEsErrorMessage(err)}`); diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts b/x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts index 8b618b3ae3d49..1f1cc8d121c75 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts +++ b/x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts @@ -14,7 +14,7 @@ import { } from 'kibana/server'; import { Logger } from '../../../../../../src/core/server'; import { TimeSeriesQueryParameters } from '../lib/time_series_query'; - +import { createAbortableEsClientFactory } from '../../../../alerting/server'; import { TimeSeriesQuery, TimeSeriesQuerySchema, TimeSeriesResult } from '../lib/time_series_types'; export type { TimeSeriesQuery, TimeSeriesResult } from '../lib/time_series_types'; @@ -42,9 +42,13 @@ export function createTimeSeriesQueryRoute( ): Promise { logger.debug(`route ${path} request: ${JSON.stringify(req.body)}`); + const abortableEsClusterClient = createAbortableEsClientFactory({ + scopedClusterClient: ctx.core.elasticsearch.client, + abortController: new AbortController(), + }); const result = await timeSeriesQuery({ logger, - esClient: ctx.core.elasticsearch.client.asCurrentUser, + abortableEsClient: abortableEsClusterClient.asCurrentUser, query: req.body, }); diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/default_deprecation_flyout.test.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/default_deprecation_flyout.test.ts index fdd8a1c993937..5566ec1d17e2b 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/default_deprecation_flyout.test.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/default_deprecation_flyout.test.ts @@ -27,6 +27,16 @@ describe('Default deprecation flyout', () => { jobId: MOCK_JOB_ID, status: 'idle', }); + httpRequestsMockHelpers.setReindexStatusResponse({ + reindexOp: null, + warnings: [], + hasRequiredPrivileges: true, + meta: { + indexName: 'foo', + reindexName: 'reindexed-foo', + aliases: [], + }, + }); await act(async () => { testBed = await setupElasticsearchPage({ isReadOnlyMode: false }); diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/deprecations_list.test.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/deprecations_list.test.ts index 3b8a756b8e64c..49c084eb9f27d 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/deprecations_list.test.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/deprecations_list.test.ts @@ -34,6 +34,16 @@ describe('ES deprecations table', () => { jobId: MOCK_JOB_ID, status: 'idle', }); + httpRequestsMockHelpers.setReindexStatusResponse({ + reindexOp: null, + warnings: [], + hasRequiredPrivileges: true, + meta: { + indexName: 'foo', + reindexName: 'reindexed-foo', + aliases: [], + }, + }); await act(async () => { testBed = await setupElasticsearchPage({ isReadOnlyMode: false }); diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/index_settings_deprecation_flyout.test.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/index_settings_deprecation_flyout.test.ts index f62d24081ed56..f032c34040bfe 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/index_settings_deprecation_flyout.test.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/index_settings_deprecation_flyout.test.ts @@ -28,6 +28,16 @@ describe('Index settings deprecation flyout', () => { jobId: MOCK_JOB_ID, status: 'idle', }); + httpRequestsMockHelpers.setReindexStatusResponse({ + reindexOp: null, + warnings: [], + hasRequiredPrivileges: true, + meta: { + indexName: 'foo', + reindexName: 'reindexed-foo', + aliases: [], + }, + }); await act(async () => { testBed = await setupElasticsearchPage({ isReadOnlyMode: false }); diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/ml_snapshots_deprecation_flyout.test.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/ml_snapshots_deprecation_flyout.test.ts index b24cd5a69a28e..11bb27bb8b331 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/ml_snapshots_deprecation_flyout.test.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/ml_snapshots_deprecation_flyout.test.ts @@ -30,6 +30,16 @@ describe('Machine learning deprecation flyout', () => { jobId: MOCK_JOB_ID, status: 'idle', }); + httpRequestsMockHelpers.setReindexStatusResponse({ + reindexOp: null, + warnings: [], + hasRequiredPrivileges: true, + meta: { + indexName: 'foo', + reindexName: 'reindexed-foo', + aliases: [], + }, + }); await act(async () => { testBed = await setupElasticsearchPage({ isReadOnlyMode: false }); diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts index 3c6fe0e5f5329..25742958aa243 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts @@ -7,17 +7,28 @@ import { act } from 'react-dom/test-utils'; +import { ReindexStatus, ReindexStep, ReindexStatusResponse } from '../../../common/types'; import { setupEnvironment } from '../helpers'; import { ElasticsearchTestBed, setupElasticsearchPage } from './es_deprecations.helpers'; import { esDeprecationsMockResponse, MOCK_SNAPSHOT_ID, MOCK_JOB_ID } from './mocked_responses'; -import { ReindexStatus, ReindexStep } from '../../../common/types'; + +const defaultReindexStatusMeta: ReindexStatusResponse['meta'] = { + indexName: 'foo', + reindexName: 'reindexed-foo', + aliases: [], +}; // Note: The reindexing flyout UX is subject to change; more tests should be added here once functionality is built out describe('Reindex deprecation flyout', () => { let testBed: ElasticsearchTestBed; const { server, httpRequestsMockHelpers } = setupEnvironment(); + beforeAll(() => { + jest.useFakeTimers(); + }); + afterAll(() => { + jest.useRealTimers(); server.restore(); }); @@ -29,6 +40,16 @@ describe('Reindex deprecation flyout', () => { jobId: MOCK_JOB_ID, status: 'idle', }); + httpRequestsMockHelpers.setReindexStatusResponse({ + reindexOp: null, + warnings: [], + hasRequiredPrivileges: true, + meta: { + indexName: 'foo', + reindexName: 'reindexed-foo', + aliases: [], + }, + }); await act(async () => { testBed = await setupElasticsearchPage({ isReadOnlyMode: false }); @@ -54,6 +75,7 @@ describe('Reindex deprecation flyout', () => { reindexOp: null, warnings: [], hasRequiredPrivileges: true, + meta: defaultReindexStatusMeta, }); await act(async () => { @@ -113,6 +135,7 @@ describe('Reindex deprecation flyout', () => { }, warnings: [], hasRequiredPrivileges: true, + meta: defaultReindexStatusMeta, }); await act(async () => { @@ -137,6 +160,7 @@ describe('Reindex deprecation flyout', () => { }, warnings: [], hasRequiredPrivileges: true, + meta: defaultReindexStatusMeta, }); await act(async () => { @@ -148,7 +172,7 @@ describe('Reindex deprecation flyout', () => { await actions.table.clickDeprecationRowAt('reindex', 0); - expect(find('reindexChecklistTitle').text()).toEqual('Reindexing in progress… 31%'); + expect(find('reindexChecklistTitle').text()).toEqual('Reindexing in progress… 30%'); expect(exists('cancelReindexingDocumentsButton')).toBe(true); }); @@ -161,6 +185,7 @@ describe('Reindex deprecation flyout', () => { }, warnings: [], hasRequiredPrivileges: true, + meta: defaultReindexStatusMeta, }); await act(async () => { @@ -172,7 +197,7 @@ describe('Reindex deprecation flyout', () => { await actions.table.clickDeprecationRowAt('reindex', 0); - expect(find('reindexChecklistTitle').text()).toEqual('Reindexing in progress… 95%'); + expect(find('reindexChecklistTitle').text()).toEqual('Reindexing in progress… 90%'); expect(exists('cancelReindexingDocumentsButton')).toBe(false); }); @@ -185,19 +210,30 @@ describe('Reindex deprecation flyout', () => { }, warnings: [], hasRequiredPrivileges: true, + meta: defaultReindexStatusMeta, }); await act(async () => { testBed = await setupElasticsearchPage({ isReadOnlyMode: false }); }); - testBed.component.update(); - const { actions, find, exists } = testBed; + const { actions, find, exists, component } = testBed; + component.update(); await actions.table.clickDeprecationRowAt('reindex', 0); - expect(find('reindexChecklistTitle').text()).toEqual('Reindexing process'); + expect(find('reindexChecklistTitle').text()).toEqual('Reindexing in progress… 95%'); expect(exists('cancelReindexingDocumentsButton')).toBe(false); + + // We have put in place a "fake" fifth step to delete the original index + // In reality that was done in the last step (when the alias was created), + // but for the user we will display it as a separate reindex step + await act(async () => { + jest.advanceTimersByTime(1000); + }); + component.update(); + + expect(find('reindexChecklistTitle').text()).toEqual('Reindexing process'); }); }); }); diff --git a/x-pack/plugins/upgrade_assistant/common/types.ts b/x-pack/plugins/upgrade_assistant/common/types.ts index 89afa05dfe222..02e8880d117f1 100644 --- a/x-pack/plugins/upgrade_assistant/common/types.ts +++ b/x-pack/plugins/upgrade_assistant/common/types.ts @@ -28,6 +28,8 @@ export enum ReindexStep { reindexStarted = 40, reindexCompleted = 50, aliasCreated = 60, + originalIndexDeleted = 70, + existingAliasesUpdated = 80, } export enum ReindexStatus { @@ -41,7 +43,20 @@ export enum ReindexStatus { fetchFailed, } +export interface ReindexStatusResponse { + meta: { + indexName: string; + reindexName: string; + // Array of aliases pointing to the index being reindexed + aliases: string[]; + }; + warnings?: ReindexWarning[]; + reindexOp?: ReindexOperation; + hasRequiredPrivileges?: boolean; +} + export const REINDEX_OP_TYPE = 'upgrade-assistant-reindex-operation'; + export interface QueueSettings extends SavedObjectAttributes { /** * A Unix timestamp of when the reindex operation was enqueued. @@ -106,7 +121,8 @@ export interface ReindexOperation extends SavedObjectAttributes { export type ReindexSavedObject = SavedObject; // 7.0 -> 8.0 warnings -export type ReindexWarningTypes = 'customTypeName' | 'indexSetting'; +export type ReindexWarningTypes = 'customTypeName' | 'indexSetting' | 'replaceIndexWithAlias'; + export interface ReindexWarning { warningType: ReindexWarningTypes; /** diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/context.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/context.tsx index 2d34253d2c426..3d4459e7380b7 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/context.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/context.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { useEffect, createContext, useContext } from 'react'; +import React, { createContext, useContext } from 'react'; import { ApiService } from '../../../../lib/api'; import { useReindexStatus, ReindexState } from './use_reindex_state'; @@ -37,16 +37,11 @@ export const ReindexStatusProvider: React.FunctionComponent = ({ indexName, children, }) => { - const { reindexState, startReindex, cancelReindex, updateStatus } = useReindexStatus({ + const { reindexState, startReindex, cancelReindex } = useReindexStatus({ indexName, api, }); - useEffect(() => { - updateStatus(); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); - return ( { errorMessage: null, reindexWarnings: [], hasRequiredPrivileges: true, + meta: { + indexName: 'myIndex', + reindexName: 'reindexed-myIndex', + aliases: [], + }, } as ReindexState, }; diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/container.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/container.tsx index ab2ec0d633323..809f47b4a295f 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/container.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/container.tsx @@ -64,6 +64,7 @@ export const ReindexFlyout: React.FunctionComponent = ({ const flyoutContents = showWarningsStep ? ( setShowWarningsStep(false)} continueReindex={() => { setShowWarningsStep(false); diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx index 1ee4cf2453bdc..5bf9a394f9738 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx @@ -9,6 +9,7 @@ import { shallow } from 'enzyme'; import React from 'react'; import { ReindexStatus, ReindexStep } from '../../../../../../../common/types'; +import { LoadingState } from '../../../../types'; import type { ReindexState } from '../use_reindex_state'; import { ReindexProgress } from './progress'; @@ -22,6 +23,12 @@ describe('ReindexProgress', () => { status: ReindexStatus.inProgress, reindexTaskPercComplete: null, errorMessage: null, + loadingState: LoadingState.Success, + meta: { + indexName: 'foo', + reindexName: 'reindexed-foo', + aliases: [], + }, } as ReindexState } cancelReindex={jest.fn()} @@ -52,17 +59,29 @@ describe('ReindexProgress', () => { Object { "status": "inProgress", "title": + foo + , + } + } />, }, Object { "status": "incomplete", "title": + reindexed-foo + , + } + } />, }, Object { @@ -73,6 +92,12 @@ describe('ReindexProgress', () => { Object { "errorMessage": null, "lastCompletedStep": 0, + "loadingState": 1, + "meta": Object { + "aliases": Array [], + "indexName": "foo", + "reindexName": "reindexed-foo", + }, "reindexTaskPercComplete": null, "status": 0, } @@ -82,9 +107,32 @@ describe('ReindexProgress', () => { Object { "status": "incomplete", "title": + foo + , + "reindexName": + reindexed-foo + , + } + } + />, + }, + Object { + "status": "incomplete", + "title": + foo + , + } + } />, }, ] @@ -103,6 +151,12 @@ describe('ReindexProgress', () => { status: ReindexStatus.failed, reindexTaskPercComplete: 1, errorMessage: `This is an error that happened on alias switch`, + loadingState: LoadingState.Success, + meta: { + indexName: 'foo', + reindexName: 'reindexed-foo', + aliases: [], + }, } as ReindexState } cancelReindex={jest.fn()} diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx index a58f386216a80..ed5c603deefc1 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx @@ -7,7 +7,15 @@ import React, { ReactNode } from 'react'; -import { EuiCallOut, EuiFlexGroup, EuiFlexItem, EuiLink, EuiText, EuiTitle } from '@elastic/eui'; +import { + EuiCallOut, + EuiFlexGroup, + EuiFlexItem, + EuiLink, + EuiText, + EuiTitle, + EuiCode, +} from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import { ReindexStatus, ReindexStep } from '../../../../../../../common/types'; @@ -124,95 +132,168 @@ const ReindexingDocumentsStepTitle: React.FunctionComponent<{ }; const orderedSteps = Object.values(ReindexStep).sort() as number[]; -const getStepTitle = (step: ReindexStep, inProgress?: boolean): ReactNode => { + +const getStepTitle = ( + step: ReindexStep, + meta: ReindexState['meta'], + inProgress?: boolean +): ReactNode => { if (step === ReindexStep.readonly) { return inProgress ? ( {meta.indexName}, + }} /> ) : ( {meta.indexName}, + }} /> ); } + if (step === ReindexStep.newIndexCreated) { return inProgress ? ( {meta.reindexName}, + }} /> ) : ( {meta.reindexName}, + }} /> ); } + if (step === ReindexStep.aliasCreated) { return inProgress ? ( {meta.indexName}, + reindexName: {meta.reindexName}, + }} + /> + ) : ( + {meta.indexName}, + reindexName: {meta.reindexName}, + }} + /> + ); + } + + if (step === ReindexStep.originalIndexDeleted) { + return inProgress ? ( + {meta.indexName}, + }} + /> + ) : ( + {meta.indexName}, + }} + /> + ); + } + + if (step === ReindexStep.existingAliasesUpdated) { + return inProgress ? ( + {`[${meta.aliases.join(',')}]`}, + reindexName: {meta.reindexName}, + }} /> ) : ( {`[${meta.aliases.join(',')}]`}, + reindexName: {meta.reindexName}, + }} /> ); } }; +interface Props { + reindexState: ReindexState; + cancelReindex: () => void; +} + /** * Displays a list of steps in the reindex operation, the current status, a progress bar, * and any error messages that are encountered. */ -export const ReindexProgress: React.FunctionComponent<{ - reindexState: ReindexState; - cancelReindex: () => void; -}> = (props) => { +export const ReindexProgress: React.FunctionComponent = (props) => { const { errorMessage, lastCompletedStep = -1, status, reindexTaskPercComplete, + meta, } = props.reindexState; + const getProgressStep = (thisStep: ReindexStep): StepProgressStep => { const previousStep = orderedSteps[orderedSteps.indexOf(thisStep) - 1]; if (status === ReindexStatus.failed && lastCompletedStep === previousStep) { return { - title: getStepTitle(thisStep), + title: getStepTitle(thisStep, meta), status: 'failed', children: , }; } else if (status === ReindexStatus.paused && lastCompletedStep === previousStep) { return { - title: getStepTitle(thisStep), + title: getStepTitle(thisStep, meta), status: 'paused', children: , }; } else if (status === ReindexStatus.cancelled && lastCompletedStep === previousStep) { return { - title: getStepTitle(thisStep), + title: getStepTitle(thisStep, meta), status: 'cancelled', }; } else if (status === undefined || lastCompletedStep < previousStep) { return { - title: getStepTitle(thisStep), + title: getStepTitle(thisStep, meta), status: 'incomplete', }; } else if (lastCompletedStep === previousStep) { return { - title: getStepTitle(thisStep, true), + title: getStepTitle(thisStep, meta, true), status: 'inProgress', }; } else { return { - title: getStepTitle(thisStep), + title: getStepTitle(thisStep, meta), status: 'complete', }; } @@ -259,8 +340,15 @@ export const ReindexProgress: React.FunctionComponent<{ getProgressStep(ReindexStep.newIndexCreated), reindexingDocsStep, getProgressStep(ReindexStep.aliasCreated), + getProgressStep(ReindexStep.originalIndexDeleted), ]; + const hasExistingAliases = meta.aliases.length > 0; + + if (hasExistingAliases) { + steps.push(getProgressStep(ReindexStep.existingAliasesUpdated)); + } + return ( <> @@ -270,7 +358,11 @@ export const ReindexProgress: React.FunctionComponent<{ id="xpack.upgradeAssistant.checkupTab.reindexing.flyout.checklistStep.reindexingInProgressTitle" defaultMessage="Reindexing in progress… {percents}" values={{ - percents: getReindexProgressLabel(reindexTaskPercComplete, lastCompletedStep), + percents: getReindexProgressLabel( + reindexTaskPercComplete, + lastCompletedStep, + hasExistingAliases + ), }} /> ) : ( diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step.test.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step.test.tsx index 4eac1ec739cfc..bc944f7773ac7 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step.test.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step.test.tsx @@ -40,6 +40,11 @@ describe('WarningsFlyoutStep', () => { warnings: [] as ReindexWarning[], hideWarningsStep: jest.fn(), continueReindex: jest.fn(), + meta: { + indexName: 'foo', + reindexName: 'reindexed-foo', + aliases: [], + }, }; it('renders', () => { diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step_checkbox.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step_checkbox.tsx index abc7e513f785f..39b3a722055f8 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step_checkbox.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step_checkbox.tsx @@ -33,7 +33,7 @@ const WarningCheckbox: React.FunctionComponent<{ warningId: string; label: React.ReactNode; description: React.ReactNode; - documentationUrl: string; + documentationUrl?: string; onChange: (event: React.ChangeEvent) => void; }> = ({ isChecked, warningId, label, onChange, description, documentationUrl }) => ( <> @@ -47,20 +47,22 @@ const WarningCheckbox: React.FunctionComponent<{ onChange={onChange} /> - - - - } - position="right" - type="help" - /> - - + {documentationUrl !== undefined && ( + + + + } + position="right" + type="help" + /> + + + )}
@@ -158,3 +160,35 @@ export const DeprecatedSettingWarningCheckbox: React.FunctionComponent ); }; + +export const ReplaceIndexWithAliasWarningCheckbox: React.FunctionComponent< + WarningCheckboxProps +> = ({ isChecked, onChange, docLinks, id, meta }) => { + return ( + {meta?.indexName}, + reindexName: {meta?.reindexName}, + }} + /> + } + description={ + {meta?.indexName}, + reindexName: {meta?.reindexName}, + }} + /> + } + /> + ); +}; diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warnings_step.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warnings_step.tsx index 09cc8f103709a..97760b98e61ed 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warnings_step.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warnings_step.tsx @@ -20,11 +20,16 @@ import { } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; -import { ReindexWarning, ReindexWarningTypes } from '../../../../../../../common/types'; +import { + ReindexWarning, + ReindexWarningTypes, + ReindexStatusResponse, +} from '../../../../../../../common/types'; import { useAppContext } from '../../../../../app_context'; import { CustomTypeNameWarningCheckbox, DeprecatedSettingWarningCheckbox, + ReplaceIndexWithAliasWarningCheckbox, WarningCheckboxProps, } from './warning_step_checkbox'; @@ -37,6 +42,7 @@ const warningToComponentMap: { } = { customTypeName: CustomTypeNameWarningCheckbox, indexSetting: DeprecatedSettingWarningCheckbox, + replaceIndexWithAlias: ReplaceIndexWithAliasWarningCheckbox, }; export const idForWarning = (id: number) => `reindexWarning-${id}`; @@ -44,6 +50,7 @@ interface WarningsConfirmationFlyoutProps { hideWarningsStep: () => void; continueReindex: () => void; warnings: ReindexWarning[]; + meta: ReindexStatusResponse['meta']; } /** @@ -54,6 +61,7 @@ export const WarningsFlyoutStep: React.FunctionComponent { const { services: { @@ -124,7 +132,7 @@ export const WarningsFlyoutStep: React.FunctionComponent ); })} diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx index b181e666c17e2..68a754875a737 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx @@ -78,6 +78,7 @@ const i18nTexts = { export const ReindexResolutionCell: React.FunctionComponent = () => { const { reindexState } = useReindexContext(); + const hasExistingAliases = reindexState.meta.aliases.length > 0; if (reindexState.loadingState === LoadingState.Loading) { return ( @@ -104,7 +105,8 @@ export const ReindexResolutionCell: React.FunctionComponent = () => { {i18nTexts.reindexInProgressText}{' '} {getReindexProgressLabel( reindexState.reindexTaskPercComplete, - reindexState.lastCompletedStep + reindexState.lastCompletedStep, + hasExistingAliases )} diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx index e3a747e6615b8..9c1e5b932efdd 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx @@ -8,7 +8,7 @@ import { useRef, useCallback, useState, useEffect } from 'react'; import { - ReindexOperation, + ReindexStatusResponse, ReindexStatus, ReindexStep, ReindexWarning, @@ -27,20 +27,26 @@ export interface ReindexState { errorMessage: string | null; reindexWarnings?: ReindexWarning[]; hasRequiredPrivileges?: boolean; -} - -interface StatusResponse { - warnings?: ReindexWarning[]; - reindexOp?: ReindexOperation; - hasRequiredPrivileges?: boolean; + meta: { + indexName: string; + reindexName: string; + aliases: string[]; + }; } const getReindexState = ( reindexState: ReindexState, - { reindexOp, warnings, hasRequiredPrivileges }: StatusResponse + { reindexOp, warnings, hasRequiredPrivileges, meta: updatedMeta }: ReindexStatusResponse ) => { + const meta = { ...(updatedMeta ?? reindexState.meta) }; + // Once we have received an array of existing aliases, we won't update the meta value anymore because + // when we'll delete the original alias during the reindex process there won't be any aliases pointing + // to it anymore and the last reindex step (Update existing aliases) would be suddenly removed. + const aliases = + reindexState.meta.aliases.length > 0 ? reindexState.meta.aliases : updatedMeta.aliases; const newReindexState = { ...reindexState, + meta: { ...meta, aliases }, loadingState: LoadingState.Success, }; @@ -54,7 +60,23 @@ const getReindexState = ( if (reindexOp) { // Prevent the UI flickering back to inProgress after cancelling - newReindexState.lastCompletedStep = reindexOp.lastCompletedStep; + + let updateLastCompletedStep = true; + if ( + reindexOp.lastCompletedStep === ReindexStep.aliasCreated && + reindexOp.status !== ReindexStatus.completed + ) { + // "ReindexStep.aliasCreated" is the last step coming from the server + // There is a delay between the moment the server returns that the "lastCompletedStep" + // is "aliasCreated" and when the server marks reindexing as "completed". + // We will correct this timing error by only marking the "aliasCreated" step as done + // when the reindex status is "completed". + updateLastCompletedStep = false; + } + + if (updateLastCompletedStep) { + newReindexState.lastCompletedStep = reindexOp.lastCompletedStep; + } newReindexState.status = reindexOp.status; newReindexState.reindexTaskPercComplete = reindexOp.reindexTaskPercComplete; newReindexState.errorMessage = reindexOp.errorMessage; @@ -74,6 +96,11 @@ const getReindexState = ( reindexOp.status === ReindexStatus.inProgress ) { newReindexState.cancelLoadingState = CancelLoadingState.Loading; + } else if (newReindexState.status === ReindexStatus.completed) { + // The Elasticsearch reindex is complete. We will add one or two (depending if there are + // existing aliases that need to be updated) "fake" steps only for the UI. + // This will help our users understand what actually happened in the last step. + newReindexState.status = ReindexStatus.inProgress; } } @@ -85,6 +112,11 @@ export const useReindexStatus = ({ indexName, api }: { indexName: string; api: A loadingState: LoadingState.Loading, errorMessage: null, reindexTaskPercComplete: null, + meta: { + indexName, + reindexName: '', // will be known after fetching the reindexStatus + aliases: [], // will be known after fetching the reindexStatus + }, }); const pollIntervalIdRef = useRef | null>(null); @@ -97,6 +129,52 @@ export const useReindexStatus = ({ indexName, api }: { indexName: string; api: A } }, []); + /** + * When the server says that reindexing is complete we will fake + * one (or two in case there are existing aliases to update) extra steps in the UI + */ + const simulateExtraSteps = useCallback(() => { + const delay = 1000; + const hasExistingAliases = reindexState.meta.aliases.length > 0; + + // Mark "update existing aliases" as completed + const completeUpdateExistingAliasesStep = () => { + if (!isMounted.current) { + return; + } + + setReindexState((prevValue: ReindexState) => { + return { + ...prevValue, + status: ReindexStatus.completed, + lastCompletedStep: ReindexStep.existingAliasesUpdated, + }; + }); + }; + + // Mark "original index deleted" as completed + const completeDeleteOriginalIndexStep = () => { + if (!isMounted.current) { + return; + } + + setReindexState((prevValue: ReindexState) => { + return { + ...prevValue, + status: hasExistingAliases ? ReindexStatus.inProgress : ReindexStatus.completed, + lastCompletedStep: ReindexStep.originalIndexDeleted, + }; + }); + + if (hasExistingAliases) { + // Still one step to go! + setTimeout(completeUpdateExistingAliasesStep, delay); + } + }; + + setTimeout(completeDeleteOriginalIndexStep, delay); + }, [reindexState.meta.aliases.length]); + const updateStatus = useCallback(async () => { clearPollInterval(); @@ -114,15 +192,21 @@ export const useReindexStatus = ({ indexName, api }: { indexName: string; api: A return; } + if (data === null) { + return; + } + setReindexState((prevValue: ReindexState) => { return getReindexState(prevValue, data); }); - // Only keep polling if it exists and is in progress. if (data.reindexOp && data.reindexOp.status === ReindexStatus.inProgress) { + // Only keep polling if it exists and is in progress. pollIntervalIdRef.current = setTimeout(updateStatus, POLL_INTERVAL); + } else if (data.reindexOp && data.reindexOp.status === ReindexStatus.completed) { + simulateExtraSteps(); } - }, [clearPollInterval, api, indexName]); + }, [clearPollInterval, api, indexName, simulateExtraSteps]); const startReindex = useCallback(async () => { setReindexState((prevValue: ReindexState) => { @@ -153,7 +237,7 @@ export const useReindexStatus = ({ indexName, api }: { indexName: string; api: A } setReindexState((prevValue: ReindexState) => { - return getReindexState(prevValue, { reindexOp }); + return getReindexState(prevValue, { reindexOp, meta: prevValue.meta }); }); updateStatus(); }, [api, indexName, updateStatus]); @@ -179,6 +263,10 @@ export const useReindexStatus = ({ indexName, api }: { indexName: string; api: A } }, [api, indexName]); + useEffect(() => { + updateStatus(); + }, [updateStatus]); + useEffect(() => { isMounted.current = true; diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts b/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts index 5dcd49fa17958..f3c5680b56e20 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts +++ b/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts @@ -13,6 +13,7 @@ import { ClusterUpgradeState, ResponseError, SystemIndicesMigrationStatus, + ReindexStatusResponse, } from '../../../common/types'; import { API_BASE_PATH, @@ -209,7 +210,7 @@ export class ApiService { } public async getReindexStatus(indexName: string) { - return await this.sendRequest({ + return await this.sendRequest({ path: `${API_BASE_PATH}/reindex/${indexName}`, method: 'get', }); diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/utils.test.ts b/x-pack/plugins/upgrade_assistant/public/application/lib/utils.test.ts index 37392c832ecf5..b8eb245b631f6 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/lib/utils.test.ts +++ b/x-pack/plugins/upgrade_assistant/public/application/lib/utils.test.ts @@ -54,15 +54,53 @@ describe('getReindexProgressLabel', () => { expect(getReindexProgressLabel(0, ReindexStep.reindexStarted)).toBe('10%'); }); - it('returns 53% when the reindexing documents progress is 0.5', () => { - expect(getReindexProgressLabel(0.5, ReindexStep.reindexStarted)).toBe('53%'); + it('returns 50% when the reindexing documents progress is 0.5', () => { + expect(getReindexProgressLabel(0.5, ReindexStep.reindexStarted)).toBe('50%'); }); - it('returns 95% when the reindexing documents progress is 1', () => { - expect(getReindexProgressLabel(1, ReindexStep.reindexStarted)).toBe('95%'); + it('returns 90% when the reindexing documents progress is 1', () => { + expect(getReindexProgressLabel(1, ReindexStep.reindexStarted)).toBe('90%'); }); - it('returns 100% when alias has been switched', () => { - expect(getReindexProgressLabel(null, ReindexStep.aliasCreated)).toBe('100%'); + it('returns 95% when alias has been created', () => { + expect(getReindexProgressLabel(null, ReindexStep.aliasCreated)).toBe('95%'); + }); + + it('returns 100% when original index has been deleted', () => { + expect(getReindexProgressLabel(null, ReindexStep.originalIndexDeleted)).toBe('100%'); + }); + + describe('when there are existing aliases', () => { + const withExistingAliases = true; + + it('returns 48% when the reindexing documents progress is 0.5', () => { + expect(getReindexProgressLabel(0.5, ReindexStep.reindexStarted, withExistingAliases)).toBe( + '48%' + ); + }); + + it('returns 85% when the reindexing documents progress is 1', () => { + expect(getReindexProgressLabel(1, ReindexStep.reindexStarted, withExistingAliases)).toBe( + '85%' + ); + }); + + it('returns 90% when alias has been created', () => { + expect(getReindexProgressLabel(null, ReindexStep.aliasCreated, withExistingAliases)).toBe( + '90%' + ); + }); + + it('returns 95% when original index has been deleted', () => { + expect( + getReindexProgressLabel(null, ReindexStep.originalIndexDeleted, withExistingAliases) + ).toBe('95%'); + }); + + it('returns 100% when original index has been deleted', () => { + expect( + getReindexProgressLabel(null, ReindexStep.existingAliasesUpdated, withExistingAliases) + ).toBe('100%'); + }); }); }); diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/utils.ts b/x-pack/plugins/upgrade_assistant/public/application/lib/utils.ts index bdbc0949e368b..b13b20e7016f9 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/lib/utils.ts +++ b/x-pack/plugins/upgrade_assistant/public/application/lib/utils.ts @@ -37,15 +37,17 @@ export const getDeprecationsUpperLimit = (count: number) => { }; /* - * Reindexing task consists of 4 steps: making the index read-only, creating a new index, - * reindexing documents into the new index and switching alias from the old to the new index. - * Steps 1, 2 and 4 each contribute 5% to the overall progress. + * Reindexing task consists of 5 (or 6) steps: making the index read-only, creating a new index, + * reindexing documents into the new index, creating an alias to point to the newly created index, + * delete the original index, (optionally) update existing aliases to point to the new index. + * Steps 1, 2 and 4, 5 & 6 each contribute 5% to the overall progress. * Step 3 (reindexing documents) can take a long time for large indices and its progress is calculated - * between 10% and 95% of the overall progress depending on its completeness percentage. + * between 10% and 90% of the overall progress depending on its completeness percentage. */ export const getReindexProgressLabel = ( reindexTaskPercComplete: number | null, - lastCompletedStep: ReindexStep | undefined + lastCompletedStep: ReindexStep | undefined, + hasExistingAliases: boolean = false ): string => { let percentsComplete = 0; switch (lastCompletedStep) { @@ -66,16 +68,28 @@ export const getReindexProgressLabel = ( case ReindexStep.reindexStarted: { // step 3 started, 10-95% progress depending on progress of reindexing documents in ES percentsComplete = - reindexTaskPercComplete !== null ? 10 + Math.round(reindexTaskPercComplete * 85) : 10; + reindexTaskPercComplete !== null + ? 10 + Math.round(reindexTaskPercComplete * (hasExistingAliases ? 75 : 80)) + : 10; break; } case ReindexStep.reindexCompleted: { - // step 3 completed, only step 4 remaining, 95% progress - percentsComplete = 95; + // step 3 completed + percentsComplete = hasExistingAliases ? 85 : 90; break; } case ReindexStep.aliasCreated: { - // step 4 completed, 100% progress + // step 4 completed + percentsComplete = hasExistingAliases ? 90 : 95; + break; + } + case ReindexStep.originalIndexDeleted: { + // step 5 completed + percentsComplete = hasExistingAliases ? 95 : 100; + break; + } + case ReindexStep.existingAliasesUpdated: { + // step 6 completed, 100% progress percentsComplete = 100; break; } diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/index.ts b/x-pack/plugins/upgrade_assistant/server/lib/reindexing/index.ts index c1ff38b08678f..1ab6a26e90ffb 100644 --- a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/index.ts +++ b/x-pack/plugins/upgrade_assistant/server/lib/reindexing/index.ts @@ -7,3 +7,4 @@ export { reindexServiceFactory } from './reindex_service'; export { ReindexWorker } from './worker'; +export { generateNewIndexName } from './index_settings'; 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 b68faf7f75b99..268846a31d2bd 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 @@ -164,13 +164,17 @@ describe('reindexService', () => { }); const reindexWarnings = await service.detectReindexWarnings(indexName); - expect(reindexWarnings).toEqual([]); + expect(reindexWarnings).toEqual([ + { + warningType: 'replaceIndexWithAlias', + }, + ]); }); it('returns null if index does not exist', async () => { actions.getFlatSettings.mockResolvedValueOnce(null); const reindexWarnings = await service.detectReindexWarnings('myIndex'); - expect(reindexWarnings).toBeNull(); + expect(reindexWarnings).toBeUndefined(); }); }); 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 f9db1692ab1b7..db427161f50d3 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 @@ -42,7 +42,7 @@ export interface ReindexService { * Resolves to null if index does not exist. * @param indexName */ - detectReindexWarnings(indexName: string): Promise; + detectReindexWarnings(indexName: string): Promise; /** * Creates a new reindex operation for a given index. @@ -115,6 +115,8 @@ export interface ReindexService { * @param indexName */ cancelReindexing(indexName: string): Promise; + + getIndexAliases(indexName: string): any; } export const reindexServiceFactory = ( @@ -311,6 +313,14 @@ export const reindexServiceFactory = ( return reindexOp; }; + const getIndexAliases = async (indexName: string) => { + const { body: response } = await esClient.indices.getAlias({ + index: indexName, + }); + + return response[indexName]?.aliases ?? {}; + }; + /** * Creates an alias that points the old index to the new index, deletes the old index. * @param reindexOp @@ -318,11 +328,7 @@ export const reindexServiceFactory = ( const switchAlias = async (reindexOp: ReindexSavedObject) => { const { indexName, newIndexName, reindexOptions } = reindexOp.attributes; - const { body: response } = await esClient.indices.getAlias({ - index: indexName, - }); - - const existingAliases = response[indexName].aliases; + const existingAliases = await getIndexAliases(indexName); const extraAliases = Object.keys(existingAliases).map((aliasName) => ({ add: { index: newIndexName, alias: aliasName, ...existingAliases[aliasName] }, @@ -402,12 +408,21 @@ export const reindexServiceFactory = ( return resp.has_all_requested; }, - async detectReindexWarnings(indexName: string) { + async detectReindexWarnings(indexName: string): Promise { const flatSettings = await actions.getFlatSettings(indexName); + if (!flatSettings) { - return null; + return undefined; } else { - return getReindexWarnings(flatSettings); + return [ + // By default all reindexing operations will replace an index with an alias (with the same name) + // pointing to a newly created "reindexed" index. This is destructive as delete operations originally + // done on the index itself will now need to be done to the "reindexed-{indexName}" + { + warningType: 'replaceIndexWithAlias', + }, + ...getReindexWarnings(flatSettings), + ]; } }, @@ -602,5 +617,7 @@ export const reindexServiceFactory = ( return reindexOp; }, + + getIndexAliases, }; }; diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.test.ts b/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.test.ts index 9fcff5748a987..38a78f15f2b50 100644 --- a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.test.ts +++ b/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.test.ts @@ -23,6 +23,7 @@ const mockReindexService = { processNextStep: jest.fn(), resumeReindexOperation: jest.fn(), cancelReindexing: jest.fn(), + getIndexAliases: jest.fn().mockResolvedValue({}), }; jest.mock('../../lib/es_version_precheck', () => ({ versionCheckHandlerWrapper: (a: any) => a, @@ -31,6 +32,7 @@ jest.mock('../../lib/es_version_precheck', () => ({ jest.mock('../../lib/reindexing', () => { return { reindexServiceFactory: () => mockReindexService, + generateNewIndexName: () => 'reindexed-foo', }; }); @@ -159,7 +161,7 @@ describe('reindex API', () => { expect(resp.status).toEqual(200); const data = resp.payload; - expect(data.reindexOp).toBeNull(); + expect(data.reindexOp).toBeUndefined(); expect(data.warnings).toBeNull(); }); }); diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts b/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts index 30f7c77cf73ab..d5776cb161b4d 100644 --- a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts +++ b/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts @@ -9,8 +9,9 @@ import { schema } from '@kbn/config-schema'; import { errors } from '@elastic/elasticsearch'; import { API_BASE_PATH } from '../../../common/constants'; +import type { ReindexStatusResponse } from '../../../common/types'; import { versionCheckHandlerWrapper } from '../../lib/es_version_precheck'; -import { reindexServiceFactory, ReindexWorker } from '../../lib/reindexing'; +import { reindexServiceFactory, ReindexWorker, generateNewIndexName } from '../../lib/reindexing'; import { reindexActionsFactory } from '../../lib/reindexing/reindex_actions'; import { RouteDependencies } from '../../types'; import { mapAnyErrorToKibanaHttpResponse } from './map_any_error_to_kibana_http_response'; @@ -114,12 +115,21 @@ export function registerReindexIndicesRoutes( ? await reindexService.detectReindexWarnings(indexName) : []; - return response.ok({ - body: { - reindexOp: reindexOp ? reindexOp.attributes : null, - warnings, - hasRequiredPrivileges, + const indexAliases = await reindexService.getIndexAliases(indexName); + + const body: ReindexStatusResponse = { + reindexOp: reindexOp ? reindexOp.attributes : undefined, + warnings, + hasRequiredPrivileges, + meta: { + indexName, + reindexName: generateNewIndexName(indexName), + aliases: Object.keys(indexAliases), }, + }; + + return response.ok({ + body, }); } catch (error) { if (error instanceof errors.ResponseError) { diff --git a/x-pack/plugins/uptime/public/apps/uptime_page_template.tsx b/x-pack/plugins/uptime/public/apps/uptime_page_template.tsx index e522d28e50e69..275cd049d0e72 100644 --- a/x-pack/plugins/uptime/public/apps/uptime_page_template.tsx +++ b/x-pack/plugins/uptime/public/apps/uptime_page_template.tsx @@ -39,6 +39,10 @@ export const UptimePageTemplateComponent: React.FC .euiPageHeaderContent > .euiFlexGroup { flex-wrap: wrap; } + + .euiPageHeaderContent > .euiFlexGroup > .euiFlexItem { + align-items: center; + } `; }, [PageTemplateComponent]); diff --git a/x-pack/plugins/uptime/public/components/common/charts/__snapshots__/donut_chart.test.tsx.snap b/x-pack/plugins/uptime/public/components/common/charts/__snapshots__/donut_chart.test.tsx.snap index 0da5df84d309d..5f463751fae24 100644 --- a/x-pack/plugins/uptime/public/components/common/charts/__snapshots__/donut_chart.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/common/charts/__snapshots__/donut_chart.test.tsx.snap @@ -492,6 +492,26 @@ exports[`DonutChart component passes correct props without errors for valid prop "strokeWidth": 2, }, }, + "partition": Object { + "circlePadding": 4, + "fillLabel": Object { + "valueFont": Object { + "fontWeight": 700, + }, + }, + "fontFamily": "'Inter', 'Inter UI', -apple-system, BlinkMacSystemFont, + 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'", + "linkLabel": Object { + "fontSize": 11, + "maxCount": 5, + "textColor": "rgba(52, 55, 65, 1)", + }, + "maxFontSize": 16, + "minFontSize": 8, + "outerSizeRatio": 1, + "sectorLineStroke": "rgba(255, 255, 255, 1)", + "sectorLineWidth": 1.5, + }, "scales": Object { "barsPadding": 0.25, "histogramPadding": 0.05, diff --git a/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/actions.tsx b/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/actions.tsx index cf3606270f0bd..b0567b1723d9e 100644 --- a/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/actions.tsx +++ b/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/actions.tsx @@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n'; import { EuiButtonIcon, EuiFlexItem, EuiFlexGroup, EuiLoadingSpinner } from '@elastic/eui'; import { UptimeSettingsContext } from '../../../contexts'; import { useFetcher, FETCH_STATUS } from '../../../../../observability/public'; -import { deleteMonitor } from '../../../state/api/monitor_management'; +import { deleteMonitor } from '../../../state/api'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; interface Props { diff --git a/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_enabled.test.tsx b/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_enabled.test.tsx new file mode 100644 index 0000000000000..5130a8bfb5132 --- /dev/null +++ b/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_enabled.test.tsx @@ -0,0 +1,79 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { screen } from '@testing-library/react'; +import userEvent from '@testing-library/user-event'; +import { ConfigKey, DataStream, SyntheticsMonitor } from '../../../../common/runtime_types'; +import { render } from '../../../lib/helper/rtl_helpers'; +import { FETCH_STATUS } from '../../../../../observability/public'; +import { spyOnUseFetcher } from '../../../lib/helper/spy_use_fetcher'; +import { MonitorEnabled } from './monitor_enabled'; + +describe('', () => { + const setRefresh = jest.fn(); + const testMonitor = { + [ConfigKey.MONITOR_TYPE]: DataStream.HTTP, + [ConfigKey.ENABLED]: true, + } as unknown as SyntheticsMonitor; + + const assertMonitorEnabled = (button: HTMLButtonElement) => + expect(button).toHaveAttribute('aria-checked', 'true'); + const assertMonitorDisabled = (button: HTMLButtonElement) => + expect(button).toHaveAttribute('aria-checked', 'false'); + + let useFetcher: jest.SpyInstance; + + beforeEach(() => { + useFetcher?.mockClear(); + useFetcher = spyOnUseFetcher({}); + }); + + it('correctly renders "enabled" state', () => { + render(); + + const switchButton = screen.getByRole('switch') as HTMLButtonElement; + assertMonitorEnabled(switchButton); + }); + + it('correctly renders "disabled" state', () => { + render( + + ); + + const switchButton = screen.getByRole('switch') as HTMLButtonElement; + assertMonitorDisabled(switchButton); + }); + + it('toggles on click', () => { + render(); + + const switchButton = screen.getByRole('switch') as HTMLButtonElement; + userEvent.click(switchButton); + assertMonitorDisabled(switchButton); + userEvent.click(switchButton); + assertMonitorEnabled(switchButton); + }); + + it('is disabled while request is in progress', () => { + useFetcher.mockReturnValue({ + data: {}, + status: FETCH_STATUS.LOADING, + refetch: () => {}, + }); + + render(); + const switchButton = screen.getByRole('switch') as HTMLButtonElement; + userEvent.click(switchButton); + + expect(switchButton).toHaveAttribute('disabled'); + }); +}); diff --git a/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_enabled.tsx b/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_enabled.tsx new file mode 100644 index 0000000000000..4b3aba5d6a3ab --- /dev/null +++ b/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_enabled.tsx @@ -0,0 +1,113 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor 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 { EuiSwitch, EuiProgress, EuiSwitchEvent } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import React, { useEffect, useState } from 'react'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { FETCH_STATUS, useFetcher } from '../../../../../observability/public'; +import { ConfigKey, SyntheticsMonitor } from '../../../../common/runtime_types'; +import { setMonitor } from '../../../state/api'; + +interface Props { + id: string; + monitor: SyntheticsMonitor; + setRefresh: React.Dispatch>; +} + +export const MonitorEnabled = ({ id, monitor, setRefresh }: Props) => { + const [isEnabled, setIsEnabled] = useState(null); + + const { notifications } = useKibana(); + + const { status } = useFetcher(() => { + if (isEnabled !== null) { + return setMonitor({ id, monitor: { ...monitor, [ConfigKey.ENABLED]: isEnabled } }); + } + }, [isEnabled]); + + useEffect(() => { + if (status === FETCH_STATUS.FAILURE) { + notifications.toasts.danger({ + title: ( +

+ {getMonitorEnabledUpdateFailureMessage(monitor[ConfigKey.NAME])} +

+ ), + toastLifeTimeMs: 3000, + }); + setIsEnabled(null); + } else if (status === FETCH_STATUS.SUCCESS) { + notifications.toasts.success({ + title: ( +

+ {isEnabled + ? getMonitorEnabledSuccessLabel(monitor[ConfigKey.NAME]) + : getMonitorDisabledSuccessLabel(monitor[ConfigKey.NAME])} +

+ ), + toastLifeTimeMs: 3000, + }); + setRefresh(true); + } + }, [status]); // eslint-disable-line react-hooks/exhaustive-deps + + const enabled = isEnabled ?? monitor[ConfigKey.ENABLED]; + const isLoading = status === FETCH_STATUS.LOADING; + + const handleEnabledChange = (event: EuiSwitchEvent) => { + const checked = event.target.checked; + setIsEnabled(checked); + }; + + return ( +
+ + {isLoading ? ( + + ) : null} +
+ ); +}; + +const ENABLE_MONITOR_LABEL = i18n.translate('xpack.uptime.monitorManagement.enableMonitorLabel', { + defaultMessage: 'Enable monitor', +}); + +const DISABLE_MONITOR_LABEL = i18n.translate('xpack.uptime.monitorManagement.disableMonitorLabel', { + defaultMessage: 'Disable monitor', +}); + +const getMonitorEnabledSuccessLabel = (name: string) => + i18n.translate('xpack.uptime.monitorManagement.monitorEnabledSuccessMessage', { + defaultMessage: 'Monitor {name} enabled successfully.', + values: { name }, + }); + +const getMonitorDisabledSuccessLabel = (name: string) => + i18n.translate('xpack.uptime.monitorManagement.monitorDisabledSuccessMessage', { + defaultMessage: 'Monitor {name} disabled successfully.', + values: { name }, + }); + +const getMonitorEnabledUpdateFailureMessage = (name: string) => + i18n.translate('xpack.uptime.monitorManagement.monitorEnabledUpdateFailureMessage', { + defaultMessage: 'Unable to update monitor {name}.', + values: { name }, + }); diff --git a/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_list.tsx b/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_list.tsx index 813511b31761a..75c94c2d07d1e 100644 --- a/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_list.tsx +++ b/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_list.tsx @@ -7,12 +7,14 @@ import React, { useContext, useMemo, useCallback } from 'react'; import { i18n } from '@kbn/i18n'; import { EuiBasicTable, EuiPanel, EuiSpacer, EuiLink } from '@elastic/eui'; +import { SyntheticsMonitorSavedObject } from '../../../../common/types'; import { MonitorManagementList as MonitorManagementListState } from '../../../state/reducers/monitor_management'; -import { MonitorFields } from '../../../../common/runtime_types'; +import { MonitorFields, SyntheticsMonitor } from '../../../../common/runtime_types'; import { UptimeSettingsContext } from '../../../contexts'; import { Actions } from './actions'; import { MonitorLocations } from './monitor_locations'; import { MonitorTags } from './tags'; +import { MonitorEnabled } from './monitor_enabled'; import * as labels from '../../overview/monitor_list/translations'; interface Props { @@ -32,7 +34,8 @@ export const MonitorManagementList = ({ setPageSize, setPageIndex, }: Props) => { - const { monitors, total, perPage, page: pageIndex } = list as MonitorManagementListState['list']; + const { total, perPage, page: pageIndex } = list as MonitorManagementListState['list']; + const monitors = list.monitors as SyntheticsMonitorSavedObject[]; const { basePath } = useContext(UptimeSettingsContext); const pagination = useMemo( @@ -84,7 +87,7 @@ export const MonitorManagementList = ({ name: i18n.translate('xpack.uptime.monitorManagement.monitorList.monitorType', { defaultMessage: 'Monitor type', }), - render: ({ type }: Partial) => type, + render: ({ type }: SyntheticsMonitor) => type, }, { align: 'left' as const, @@ -92,7 +95,7 @@ export const MonitorManagementList = ({ name: i18n.translate('xpack.uptime.monitorManagement.monitorList.tags', { defaultMessage: 'Tags', }), - render: ({ tags }: Partial) => (tags ? : null), + render: ({ tags }: SyntheticsMonitor) => (tags ? : null), }, { align: 'left' as const, @@ -100,7 +103,7 @@ export const MonitorManagementList = ({ name: i18n.translate('xpack.uptime.monitorManagement.monitorList.locations', { defaultMessage: 'Locations', }), - render: ({ locations }: Partial) => + render: ({ locations }: SyntheticsMonitor) => locations ? : null, }, { @@ -109,8 +112,7 @@ export const MonitorManagementList = ({ name: i18n.translate('xpack.uptime.monitorManagement.monitorList.schedule', { defaultMessage: 'Schedule', }), - render: ({ schedule }: Partial) => - `@every ${schedule?.number}${schedule?.unit}`, + render: ({ schedule }: SyntheticsMonitor) => `@every ${schedule?.number}${schedule?.unit}`, }, { align: 'left' as const, @@ -118,9 +120,19 @@ export const MonitorManagementList = ({ name: i18n.translate('xpack.uptime.monitorManagement.monitorList.URL', { defaultMessage: 'URL', }), - render: (attributes: Partial) => attributes.urls || attributes.hosts, + render: (attributes: MonitorFields) => attributes.urls || attributes.hosts, truncateText: true, }, + { + align: 'left' as const, + field: 'attributes', + name: i18n.translate('xpack.uptime.monitorManagement.monitorList.enabled', { + defaultMessage: 'Enabled', + }), + render: (attributes: SyntheticsMonitor, record: SyntheticsMonitorSavedObject) => ( + + ), + }, { align: 'left' as const, field: 'id', diff --git a/x-pack/plugins/uptime/public/components/synthetics/check_steps/step_image.tsx b/x-pack/plugins/uptime/public/components/synthetics/check_steps/step_image.tsx index 8fbc26ac25692..e39a83599380b 100644 --- a/x-pack/plugins/uptime/public/components/synthetics/check_steps/step_image.tsx +++ b/x-pack/plugins/uptime/public/components/synthetics/check_steps/step_image.tsx @@ -16,14 +16,14 @@ interface Props { export const StepImage = ({ step }: Props) => { return ( - + - + {step.synthetics?.step?.name} diff --git a/x-pack/plugins/uptime/public/components/synthetics/check_steps/steps_list.test.tsx b/x-pack/plugins/uptime/public/components/synthetics/check_steps/steps_list.test.tsx index 3843ee013fe56..61535833822da 100644 --- a/x-pack/plugins/uptime/public/components/synthetics/check_steps/steps_list.test.tsx +++ b/x-pack/plugins/uptime/public/components/synthetics/check_steps/steps_list.test.tsx @@ -8,7 +8,8 @@ import React from 'react'; import { JourneyStep } from '../../../../common/runtime_types/ping'; import { StepsList } from './steps_list'; -import { render } from '../../../lib/helper/rtl_helpers'; +import { render, forDesktopOnly, forMobileOnly } from '../../../lib/helper/rtl_helpers'; +import { VIEW_PERFORMANCE } from '../../monitor/synthetics/translations'; describe('StepList component', () => { let steps: JourneyStep[]; @@ -80,7 +81,7 @@ describe('StepList component', () => { it('renders a link to the step detail view', () => { const { getByTitle, getByTestId } = render(); expect(getByTestId('step-detail-link')).toHaveAttribute('href', '/journey/fake-group/step/1'); - expect(getByTitle(`Failed`)); + expect(forDesktopOnly(getByTitle, 'title')(`Failed`)); }); it.each([ @@ -91,7 +92,7 @@ describe('StepList component', () => { const step = steps[0]; step.synthetics!.payload!.status = status; const { getByText } = render(); - expect(getByText(expectedStatus)); + expect(forDesktopOnly(getByText)(expectedStatus)); }); it('creates expected message for all succeeded', () => { @@ -149,4 +150,31 @@ describe('StepList component', () => { expect(getByTestId('row-fake-group')); expect(getByTestId('row-fake-group-1')); }); + + describe('Mobile Designs', () => { + // We don't need to resize the window here because EUI + // does all the manipulation of what is displayed through + // CSS. Therefore, it's enough to check what's actually + // rendered and its classes. + + it('renders the step name and index', () => { + const { getByText } = render(); + expect(forMobileOnly(getByText)('1. load page')).toBeInTheDocument(); + expect(forMobileOnly(getByText)('2. go to login')).toBeInTheDocument(); + }); + + it('does not render the link to view step details', async () => { + const { queryByText } = render(); + expect(forMobileOnly(queryByText)(VIEW_PERFORMANCE)).not.toBeInTheDocument(); + }); + + it('renders the status label', () => { + steps[0].synthetics!.payload!.status = 'succeeded'; + steps[1].synthetics!.payload!.status = 'skipped'; + + const { getByText } = render(); + expect(forMobileOnly(getByText)('Succeeded')).toBeInTheDocument(); + expect(forMobileOnly(getByText)('Skipped')).toBeInTheDocument(); + }); + }); }); diff --git a/x-pack/plugins/uptime/public/components/synthetics/check_steps/steps_list.tsx b/x-pack/plugins/uptime/public/components/synthetics/check_steps/steps_list.tsx index 2e2f863bdf7b5..da06121515581 100644 --- a/x-pack/plugins/uptime/public/components/synthetics/check_steps/steps_list.tsx +++ b/x-pack/plugins/uptime/public/components/synthetics/check_steps/steps_list.tsx @@ -5,7 +5,15 @@ * 2.0. */ -import { EuiBasicTable, EuiBasicTableColumn, EuiButtonIcon, EuiTitle } from '@elastic/eui'; +import { + EuiBasicTable, + EuiBasicTableColumn, + EuiButtonIcon, + EuiTitle, + EuiFlexItem, + EuiText, + RIGHT_ALIGNMENT, +} from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React, { MouseEvent, useState } from 'react'; import styled from 'styled-components'; @@ -89,12 +97,37 @@ export const StepsList = ({ data, error, loading }: Props) => { render: (pingStatus: string, item) => ( ), + mobileOptions: { + render: (item) => ( + + + + ), + width: '20%', + header: STATUS_LABEL, + enlarge: false, + }, }, { align: 'left', field: 'timestamp', name: STEP_NAME_LABEL, render: (_timestamp: string, item) => , + mobileOptions: { + render: (item: JourneyStep) => ( + + + {item.synthetics?.step?.index!}. {item.synthetics?.step?.name} + + + ), + header: 'Step', + enlarge: true, + }, }, { name: 'Step duration', @@ -107,6 +140,12 @@ export const StepsList = ({ data, error, loading }: Props) => { /> ); }, + mobileOptions: { + header: i18n.translate('xpack.uptime.pingList.stepDurationHeader', { + defaultMessage: 'Step duration', + }), + show: true, + }, }, { align: 'left', @@ -120,11 +159,12 @@ export const StepsList = ({ data, error, loading }: Props) => { {VIEW_PERFORMANCE} ), + mobileOptions: { show: false }, }, { - align: 'right', - width: '24px', + width: '40px', + align: RIGHT_ALIGNMENT, isExpander: true, render: (journeyStep: JourneyStep) => { return ( @@ -143,7 +183,6 @@ export const StepsList = ({ data, error, loading }: Props) => { const { monitor } = item; return { - height: '85px', 'data-test-subj': `row-${monitor.check_group}`, onClick: (evt: MouseEvent) => { const targetElem = evt.target as HTMLElement; diff --git a/x-pack/plugins/uptime/public/components/synthetics/status_badge.test.tsx b/x-pack/plugins/uptime/public/components/synthetics/status_badge.test.tsx index 500c680b91bf6..7f348720ecbef 100644 --- a/x-pack/plugins/uptime/public/components/synthetics/status_badge.test.tsx +++ b/x-pack/plugins/uptime/public/components/synthetics/status_badge.test.tsx @@ -30,4 +30,10 @@ describe('StatusBadge', () => { expect(getByText('3.')); expect(getByText('Skipped')); }); + + it('hides the step number on mobile', () => { + const { queryByText } = render(); + expect(queryByText('3.')).not.toBeInTheDocument(); + expect(queryByText('Skipped')).toBeInTheDocument(); + }); }); diff --git a/x-pack/plugins/uptime/public/components/synthetics/status_badge.tsx b/x-pack/plugins/uptime/public/components/synthetics/status_badge.tsx index b4c4e310abe6b..dbdeebac4d721 100644 --- a/x-pack/plugins/uptime/public/components/synthetics/status_badge.tsx +++ b/x-pack/plugins/uptime/public/components/synthetics/status_badge.tsx @@ -12,6 +12,7 @@ import { UptimeAppColors } from '../../apps/uptime_app'; import { UptimeThemeContext } from '../../contexts'; interface StatusBadgeProps { + isMobile?: boolean; status?: string; stepNo: number; } @@ -46,15 +47,17 @@ export function textFromStatus(status?: string) { } } -export const StatusBadge: FC = ({ status, stepNo }) => { +export const StatusBadge: FC = ({ status, stepNo, isMobile }) => { const theme = useContext(UptimeThemeContext); return ( - - - {stepNo}. - - + {!isMobile && ( + + + {stepNo}. + + + )} {textFromStatus(status)} diff --git a/x-pack/plugins/uptime/public/hooks/__snapshots__/use_url_params.test.tsx.snap b/x-pack/plugins/uptime/public/hooks/__snapshots__/use_url_params.test.tsx.snap index 71310e372bdf2..5bac7ff7caf76 100644 --- a/x-pack/plugins/uptime/public/hooks/__snapshots__/use_url_params.test.tsx.snap +++ b/x-pack/plugins/uptime/public/hooks/__snapshots__/use_url_params.test.tsx.snap @@ -197,7 +197,7 @@ exports[`useUrlParams deletes keys that do not have truthy values 1`] = ` }, ], }, - Symbol(Symbol.observable): [MockFunction], + "undefined": [MockFunction], } } > @@ -427,7 +427,7 @@ exports[`useUrlParams gets the expected values using the context 1`] = ` }, ], }, - Symbol(Symbol.observable): [MockFunction], + "undefined": [MockFunction], } } > diff --git a/x-pack/plugins/uptime/public/lib/helper/rtl_helpers.tsx b/x-pack/plugins/uptime/public/lib/helper/rtl_helpers.tsx index 3b13ab8016f43..a0de792c40d72 100644 --- a/x-pack/plugins/uptime/public/lib/helper/rtl_helpers.tsx +++ b/x-pack/plugins/uptime/public/lib/helper/rtl_helpers.tsx @@ -277,3 +277,38 @@ export const makeUptimePermissionsCore = ( }, }; }; + +// This function filters out the queried elements which appear only +// either on mobile or desktop. +// +// It does so by filtering those with the class passed as the `classWrapper`. +// For mobile, we filter classes which tell elements to be hidden on desktop. +// For desktop, we do the opposite. +// +// We have this function because EUI will manipulate the visibility of some +// elements through pure CSS, which we can't assert on tests. Therefore, +// we look for the corresponding class wrapper. +const finderWithClassWrapper = + (classWrapper: string) => + ( + getterFn: (f: MatcherFunction) => HTMLElement | null, + customAttribute?: keyof Element | keyof HTMLElement + ) => + (text: string): HTMLElement | null => + getterFn((_content: string, node: Nullish) => { + if (!node) return false; + // There are actually properties that are not in Element but which + // appear on the `node`, so we must cast the customAttribute as a keyof Element + const content = node[(customAttribute as keyof Element) ?? 'innerHTML']; + if (content === text && wrappedInClass(node, classWrapper)) return true; + return false; + }); + +const wrappedInClass = (element: HTMLElement | Element, classWrapper: string): boolean => { + if (element.className.includes(classWrapper)) return true; + if (element.parentElement) return wrappedInClass(element.parentElement, classWrapper); + return false; +}; + +export const forMobileOnly = finderWithClassWrapper('hideForDesktop'); +export const forDesktopOnly = finderWithClassWrapper('hideForMobile'); diff --git a/x-pack/plugins/uptime/public/pages/monitor_management/monitor_management.tsx b/x-pack/plugins/uptime/public/pages/monitor_management/monitor_management.tsx index a272583a2e7b7..0619f4d4bed1c 100644 --- a/x-pack/plugins/uptime/public/pages/monitor_management/monitor_management.tsx +++ b/x-pack/plugins/uptime/public/pages/monitor_management/monitor_management.tsx @@ -24,7 +24,7 @@ export const MonitorManagementPage: React.FC = () => { useEffect(() => { if (refresh) { dispatch(getMonitors({ page: pageIndex, perPage: pageSize })); - setRefresh(false); + setRefresh(false); // TODO: avoid extra re-rendering when `refresh` turn to false (pass down the handler instead) } }, [dispatch, refresh, pageIndex, pageSize]); diff --git a/x-pack/plugins/uptime/public/pages/synthetics/checks_navigation.tsx b/x-pack/plugins/uptime/public/pages/synthetics/checks_navigation.tsx index 435254ad882c4..48ca6061941b6 100644 --- a/x-pack/plugins/uptime/public/pages/synthetics/checks_navigation.tsx +++ b/x-pack/plugins/uptime/public/pages/synthetics/checks_navigation.tsx @@ -12,6 +12,7 @@ import { useHistory } from 'react-router-dom'; import moment from 'moment'; import { SyntheticsJourneyApiResponse } from '../../../common/runtime_types/ping'; import { getShortTimeStamp } from '../../components/overview/monitor_list/columns/monitor_status_column'; +import { useBreakpoints } from '../../../public/hooks/use_breakpoints'; interface Props { timestamp: string; @@ -20,11 +21,15 @@ interface Props { export const ChecksNavigation = ({ timestamp, details }: Props) => { const history = useHistory(); + const { down } = useBreakpoints(); + + const isMobile = down('s'); return ( - - + + { @@ -37,11 +42,14 @@ export const ChecksNavigation = ({ timestamp, details }: Props) => { /> - - {getShortTimeStamp(moment(timestamp))} + + + {getShortTimeStamp(moment(timestamp))} + - + => { +}): Promise => { if (id) { return await apiService.put(`${API_URLS.SYNTHETICS_MONITORS}/${id}`, monitor); } else { @@ -32,7 +31,6 @@ export const setMonitor = async ({ } }; -// TODO, change to monitor runtime type export const getMonitor = async ({ id }: { id: string }): Promise => { return await apiService.get(`${API_URLS.SYNTHETICS_MONITORS}/${id}`); }; diff --git a/x-pack/plugins/uptime/server/lib/synthetics_service/formatters/convert_to_data_stream.test.ts b/x-pack/plugins/uptime/server/lib/synthetics_service/formatters/convert_to_data_stream.test.ts new file mode 100644 index 0000000000000..d2031ffa2b5fe --- /dev/null +++ b/x-pack/plugins/uptime/server/lib/synthetics_service/formatters/convert_to_data_stream.test.ts @@ -0,0 +1,81 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { convertToDataStreamFormat } from './convert_to_data_stream'; + +describe('convertToDataStreamFormat', function () { + const testConfig = { + id: 'testId', + type: 'http', + enabled: true, + schedule: '@every 3m', + 'service.name': '', + tags: [], + timeout: '16', + name: 'Test Monitor', + urls: 'https://www.google.com', + max_redirects: '0', + password: '12345678', + proxy_url: '', + 'check.response.body.negative': [], + 'check.response.body.positive': [], + 'response.include_body': 'on_error', + 'check.response.headers': {}, + 'response.include_headers': true, + 'check.response.status': [], + 'check.request.body': { type: 'text', value: '' }, + 'check.request.headers': {}, + 'check.request.method': 'GET', + username: '', + }; + + it('parses correctly', function () { + const result = convertToDataStreamFormat(testConfig); + expect(result).toEqual({ + data_stream: { + namespace: 'default', + }, + enabled: true, + id: 'testId', + schedule: '@every 3m', + streams: [ + { + 'check.request.body': { + type: 'text', + value: '', + }, + 'check.request.headers': {}, + 'check.request.method': 'GET', + 'check.response.body.negative': [], + 'check.response.body.positive': [], + 'check.response.headers': {}, + 'check.response.status': [], + data_stream: { + dataset: 'http', + type: 'synthetics', + }, + enabled: true, + id: 'testId', + max_redirects: '0', + name: 'Test Monitor', + password: '12345678', + proxy_url: '', + 'response.include_body': 'on_error', + 'response.include_headers': true, + schedule: '@every 3m', + 'service.name': '', + tags: [], + timeout: '16', + type: 'http', + urls: 'https://www.google.com', + username: '', + }, + ], + type: 'http', + }); + }); +}); diff --git a/x-pack/plugins/uptime/server/lib/synthetics_service/formatters/convert_to_data_stream.ts b/x-pack/plugins/uptime/server/lib/synthetics_service/formatters/convert_to_data_stream.ts new file mode 100644 index 0000000000000..bcddd6fffba95 --- /dev/null +++ b/x-pack/plugins/uptime/server/lib/synthetics_service/formatters/convert_to_data_stream.ts @@ -0,0 +1,48 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { DataStream, MonitorFields } from '../../../../common/runtime_types'; + +interface DataStreamConfig { + type: DataStream; + id: string; + schedule: string; + enabled: boolean; + data_stream: { + namespace: 'default'; + }; + streams: [ + { + data_stream: { + dataset: DataStream; + type: 'synthetics'; + }; + } & Partial + ]; +} + +export function convertToDataStreamFormat(monitor: Record): DataStreamConfig { + return { + type: monitor.type, + id: monitor.id, + // Schedule is needed by service at root level as well + schedule: monitor.schedule, + enabled: monitor.enabled, + data_stream: { + namespace: monitor.namespace ?? 'default', + }, + streams: [ + { + data_stream: { + dataset: monitor.type, + type: 'synthetics', + }, + ...monitor, + }, + ], + }; +} diff --git a/x-pack/plugins/uptime/server/lib/synthetics_service/get_api_key.test.ts b/x-pack/plugins/uptime/server/lib/synthetics_service/get_api_key.test.ts index 540dfe150d037..f9ba0ce545bad 100644 --- a/x-pack/plugins/uptime/server/lib/synthetics_service/get_api_key.test.ts +++ b/x-pack/plugins/uptime/server/lib/synthetics_service/get_api_key.test.ts @@ -50,7 +50,7 @@ describe('getAPIKeyTest', function () { cluster: ['monitor', 'read_ilm', 'read_pipeline'], index: [ { - names: ['synthetics-*', 'heartbeat-*'], + names: ['synthetics-*'], privileges: ['view_index_metadata', 'create_doc', 'auto_configure'], }, ], diff --git a/x-pack/plugins/uptime/server/lib/synthetics_service/get_api_key.ts b/x-pack/plugins/uptime/server/lib/synthetics_service/get_api_key.ts index fbee9bc28fd8d..3cf37758b7cec 100644 --- a/x-pack/plugins/uptime/server/lib/synthetics_service/get_api_key.ts +++ b/x-pack/plugins/uptime/server/lib/synthetics_service/get_api_key.ts @@ -66,7 +66,7 @@ export const generateAndSaveAPIKey = async ({ cluster: ['monitor', 'read_ilm', 'read_pipeline'], index: [ { - names: ['synthetics-*', 'heartbeat-*'], + names: ['synthetics-*'], privileges: ['view_index_metadata', 'create_doc', 'auto_configure'], }, ], diff --git a/x-pack/plugins/uptime/server/lib/synthetics_service/service_api_client.ts b/x-pack/plugins/uptime/server/lib/synthetics_service/service_api_client.ts index bd5b0b13cc766..736e73da71134 100644 --- a/x-pack/plugins/uptime/server/lib/synthetics_service/service_api_client.ts +++ b/x-pack/plugins/uptime/server/lib/synthetics_service/service_api_client.ts @@ -11,6 +11,7 @@ import { catchError, tap } from 'rxjs/operators'; import { getServiceLocations } from './get_service_locations'; import { Logger } from '../../../../../../src/core/server'; import { MonitorFields, ServiceLocations } from '../../../common/runtime_types'; +import { convertToDataStreamFormat } from './formatters/convert_to_data_stream'; const TEST_SERVICE_USERNAME = 'localKibanaIntegrationTestsUser'; @@ -59,11 +60,14 @@ export class ServiceAPIClient { const callServiceEndpoint = (monitors: ServiceData['monitors'], url: string) => { // don't need to pass locations to heartbeat - monitors = monitors.map(({ locations, ...rest }) => rest); + const monitorsStreams = monitors.map(({ locations, ...rest }) => + convertToDataStreamFormat(rest) + ); + return axios({ method, url: url + '/monitors', - data: { monitors, output }, + data: { monitors: monitorsStreams, output }, headers: { Authorization: this.authorization, }, diff --git a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/migrations.ts b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/migrations.ts index 14c1679d3a1b2..baa9eeb3ce036 100644 --- a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/migrations.ts +++ b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/migrations.ts @@ -360,5 +360,18 @@ export default function createGetTests({ getService }: FtrProviderContext) { 'metrics.inventory_threshold.fired' ); }); + + it('8.0 migrates and disables pre-existing rules', async () => { + const response = await es.get<{ alert: RawRule }>( + { + index: '.kibana', + id: 'alert:38482620-ef1b-11eb-ad71-7de7959be71c', + }, + { meta: true } + ); + expect(response.statusCode).to.eql(200); + expect(response.body._source?.alert?.alertTypeId).to.be('siem.queryRule'); + expect(response.body._source?.alert?.enabled).to.be(false); + }); }); } diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/README.md b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/README.md index 6035675db4349..cfcf13e1d9f70 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/README.md +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/README.md @@ -1,3 +1,8 @@ These are tests for the telemetry rules within "security_solution/server/usage" * detection_rules - +* legacy_notifications + +Detection rules are tests around each of the rule types to affirm they work such as query, eql, etc... +Legacy notifications are tests around the legacy notification telemetry. Once legacy notifications are removed, +these tests can be removed too. + diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/detection_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/detection_rules.ts index a3dfaea64d2d4..bafc36c329eab 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/detection_rules.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/detection_rules.ts @@ -20,7 +20,6 @@ import { deleteAllAlerts, deleteSignalsIndex, getEqlRuleForSignalTesting, - getInitialDetectionMetrics, getRuleForSignalTesting, getSimpleMlRule, getSimpleThreatMatch, @@ -30,6 +29,7 @@ import { waitForRuleSuccessOrStatus, waitForSignalsToBePresent, } from '../../../utils'; +import { getInitialDetectionMetrics } from '../../../../../plugins/security_solution/server/usage/detections/detection_rule_helpers'; // eslint-disable-next-line import/no-default-export export default ({ getService }: FtrProviderContext) => { diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/index.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/index.ts index cf9db6373033a..21676d614bb20 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/index.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/index.ts @@ -13,6 +13,7 @@ export default ({ loadTestFile }: FtrProviderContext): void => { describe('', function () { this.tags('ciGroup11'); loadTestFile(require.resolve('./detection_rules')); + loadTestFile(require.resolve('./legacy_notifications')); }); }); }; diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/legacy_notifications.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/legacy_notifications.ts new file mode 100644 index 0000000000000..aa406519e2443 --- /dev/null +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/telemetry/legacy_notifications.ts @@ -0,0 +1,75 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import expect from '@kbn/expect'; +import { FtrProviderContext } from '../../../common/ftr_provider_context'; +import { + createRule, + createSignalsIndex, + deleteAllAlerts, + deleteSignalsIndex, + getSimpleRule, + getStats, + getWebHookAction, +} from '../../../utils'; + +// eslint-disable-next-line import/no-default-export +export default ({ getService }: FtrProviderContext) => { + const supertest = getService('supertest'); + const log = getService('log'); + const retry = getService('retry'); + + describe('legacy notification telemetry', async () => { + beforeEach(async () => { + await createSignalsIndex(supertest, log); + }); + + afterEach(async () => { + await deleteSignalsIndex(supertest, log); + await deleteAllAlerts(supertest, log); + }); + + it('should have 1 legacy notification when there is a rule on the default', async () => { + // create an connector/action + const { body: hookAction } = await supertest + .post('/api/actions/action') + .set('kbn-xsrf', 'true') + .send(getWebHookAction()) + .expect(200); + + // create a rule without actions + const createRuleBody = await createRule(supertest, log, getSimpleRule('rule-1')); + + // attach the legacy notification + await supertest + .post(`/internal/api/detection/legacy/notifications?alert_id=${createRuleBody.id}`) + .set('kbn-xsrf', 'true') + .send({ + name: 'Legacy notification with one action', + interval: '1h', + actions: [ + { + id: hookAction.id, + group: 'default', + params: { + message: + 'Hourly\nRule {{context.rule.name}} generated {{state.signals_count}} alerts', + }, + actionTypeId: hookAction.actionTypeId, + }, + ], + }) + .expect(200); + + await retry.try(async () => { + const stats = await getStats(supertest, log); + // NOTE: We have to do "above 0" until this bug is fixed: https://github.com/elastic/kibana/issues/122456 because other tests are accumulating non-cleaned up legacy actions/notifications and this number isn't reliable at the moment + expect(stats.detection_rules.detection_rule_usage.legacy_notifications.total).to.above(0); + }); + }); + }); +}; diff --git a/x-pack/test/detection_engine_api_integration/utils.ts b/x-pack/test/detection_engine_api_integration/utils.ts index 4797f614c930e..2ebaed7defe67 100644 --- a/x-pack/test/detection_engine_api_integration/utils.ts +++ b/x-pack/test/detection_engine_api_integration/utils.ts @@ -1833,72 +1833,6 @@ export const getOpenSignals = async ( */ export const getStatsUrl = (): string => '/api/telemetry/v2/clusters/_stats'; -/** - * Initial detection metrics initialized. - */ -export const getInitialDetectionMetrics = (): DetectionMetrics => ({ - ml_jobs: { - ml_job_usage: { - custom: { - enabled: 0, - disabled: 0, - }, - elastic: { - enabled: 0, - disabled: 0, - }, - }, - ml_job_metrics: [], - }, - detection_rules: { - detection_rule_detail: [], - detection_rule_usage: { - query: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - threshold: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - eql: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - machine_learning: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - threat_match: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - elastic_total: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - custom_total: { - enabled: 0, - disabled: 0, - alerts: 0, - cases: 0, - }, - }, - }, -}); - /** * Given a body this will return the detection metrics from it. * @param body The Stats body diff --git a/x-pack/test/functional/apps/canvas/reports.ts b/x-pack/test/functional/apps/canvas/reports.ts index ec8aa67a4a7fd..af747167bb681 100644 --- a/x-pack/test/functional/apps/canvas/reports.ts +++ b/x-pack/test/functional/apps/canvas/reports.ts @@ -47,7 +47,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); }); - describe('Print PDF button', () => { + // FLAKY: https://github.com/elastic/kibana/issues/122137 + describe.skip('Print PDF button', () => { it('downloaded PDF base64 string is correct with borders and logo', async function () { // Generating and then comparing reports can take longer than the default 60s timeout this.timeout(180000); diff --git a/x-pack/test/functional/apps/lens/formula.ts b/x-pack/test/functional/apps/lens/formula.ts index 2078836e2af8a..64cedd7e88e7c 100644 --- a/x-pack/test/functional/apps/lens/formula.ts +++ b/x-pack/test/functional/apps/lens/formula.ts @@ -287,5 +287,43 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(await PageObjects.lens.getDatatableCellText(0, 0)).to.eql('0'); expect(await PageObjects.lens.getDatatableCellText(0, 1)).to.eql('0'); }); + + it('should apply a global filter to the current formula', async () => { + await PageObjects.visualize.navigateToNewVisualization(); + await PageObjects.visualize.clickVisType('lens'); + await PageObjects.lens.goToTimeRange(); + await PageObjects.lens.switchToVisualization('lnsDatatable'); + + await PageObjects.lens.configureDimension({ + dimension: 'lnsDatatable_metrics > lns-empty-dimension', + operation: 'formula', + formula: `count()`, + keepOpen: true, + }); + + // check the numbers + await PageObjects.header.waitUntilLoadingHasFinished(); + expect(await PageObjects.lens.getDatatableCellText(0, 0)).to.eql('14,005'); + + // add an advanced filter by filter + await PageObjects.lens.enableFilter(); + await PageObjects.lens.setFilterBy('bytes > 4000'); + + // check that numbers changed + await PageObjects.header.waitUntilLoadingHasFinished(); + await retry.try(async () => { + expect(await PageObjects.lens.getDatatableCellText(0, 0)).to.eql('9,169'); + }); + + // now change the formula to add an inner filter to count + await PageObjects.lens.typeFormula(`count(kql=`); + + const input = await find.activeElement(); + await input.type(`bytes > 600000`); + // the autocomplete will add quotes and closing brakets, so do not worry about that + + await PageObjects.header.waitUntilLoadingHasFinished(); + expect(await PageObjects.lens.getDatatableCellText(0, 0)).to.eql('0'); + }); }); } diff --git a/x-pack/test/functional/apps/lens/metrics.ts b/x-pack/test/functional/apps/lens/metrics.ts index 4bc589b1a3b85..79f37df60cccf 100644 --- a/x-pack/test/functional/apps/lens/metrics.ts +++ b/x-pack/test/functional/apps/lens/metrics.ts @@ -37,21 +37,21 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await testSubjects.setValue('lnsPalettePanel_dynamicColoring_stop_value_1', '21000', { clearWithKeyboard: true, }); - await PageObjects.header.waitUntilLoadingHasFinished(); + await PageObjects.lens.waitForVisualization(); const styleObj = await PageObjects.lens.getMetricStyle(); expect(styleObj.color).to.be('rgb(32, 146, 128)'); }); it('should change the color when reverting the palette', async () => { await testSubjects.click('lnsPalettePanel_dynamicColoring_reverse'); - await PageObjects.header.waitUntilLoadingHasFinished(); + await PageObjects.lens.waitForVisualization(); const styleObj = await PageObjects.lens.getMetricStyle(); expect(styleObj.color).to.be('rgb(204, 86, 66)'); }); it('should reset the color stops when changing palette to a predefined one', async () => { await PageObjects.lens.changePaletteTo('temperature'); - await PageObjects.header.waitUntilLoadingHasFinished(); + await PageObjects.lens.waitForVisualization(); const styleObj = await PageObjects.lens.getMetricStyle(); expect(styleObj.color).to.be('rgb(235, 239, 245)'); }); diff --git a/x-pack/test/functional/apps/monitoring/elasticsearch/nodes_mb.js b/x-pack/test/functional/apps/monitoring/elasticsearch/nodes_mb.js index 1b0855e0ed12c..aa12619ca447c 100644 --- a/x-pack/test/functional/apps/monitoring/elasticsearch/nodes_mb.js +++ b/x-pack/test/functional/apps/monitoring/elasticsearch/nodes_mb.js @@ -175,38 +175,33 @@ export default function ({ getService, getPageObjects }) { }); it('should sort by name', async () => { + const sortedNamesAscending = ['whatever-01', 'whatever-02', 'whatever-03']; + const sortedNamesDescending = [...sortedNamesAscending].reverse(); + await nodesList.clickNameCol(); - await nodesList.clickNameCol(); + await retry.try(async () => { + expect(await nodesList.getNodeNames()).to.eql(sortedNamesDescending); + }); - // retry in case the table hasn't had time to re-render + await nodesList.clickNameCol(); await retry.try(async () => { - const nodesAll = await nodesList.getNodesAll(); - const tableData = [ - { name: 'whatever-01' }, - { name: 'whatever-02' }, - { name: 'whatever-03' }, - ]; - nodesAll.forEach((obj, node) => { - expect(nodesAll[node].name).to.be(tableData[node].name); - }); + expect(await nodesList.getNodeNames()).to.eql(sortedNamesAscending); }); }); - it('should sort by status', async () => { - await nodesList.clickStatusCol(); + // this is actually broken, see https://github.com/elastic/kibana/issues/122338 + it.skip('should sort by status', async () => { + const sortedStatusesAscending = ['Status: Offline', 'Status: Online', 'Status: Online']; + const sortedStatusesDescending = [...sortedStatusesAscending].reverse(); + await nodesList.clickStatusCol(); + await retry.try(async () => { + expect(await nodesList.getNodeStatuses()).to.eql(sortedStatusesDescending); + }); - // retry in case the table hasn't had time to re-render + await nodesList.clickStatusCol(); await retry.try(async () => { - const nodesAll = await nodesList.getNodesAll(); - const tableData = [ - { status: 'Status: Online' }, - { status: 'Status: Online' }, - { status: 'Status: Offline' }, - ]; - nodesAll.forEach((obj, node) => { - expect(nodesAll[node].status).to.be(tableData[node].status); - }); + expect(await nodesList.getNodeStatuses()).to.eql(sortedStatusesAscending); }); }); diff --git a/x-pack/test/functional/apps/saved_objects_management/import_saved_objects_between_versions.ts b/x-pack/test/functional/apps/saved_objects_management/import_saved_objects_between_versions.ts index 496eea6fb0b4d..2b20964965cdc 100644 --- a/x-pack/test/functional/apps/saved_objects_management/import_saved_objects_between_versions.ts +++ b/x-pack/test/functional/apps/saved_objects_management/import_saved_objects_between_versions.ts @@ -27,12 +27,15 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { if (parts.length !== 3) { throw new Error('text not loaded yet'); } - return Number.parseInt(parts[1], 10); + const count = Number.parseInt(parts[1], 10); + if (count === 0) { + throw new Error('text not loaded yet'); + } + return count; }); }; - // Failing: See https://github.com/elastic/kibana/issues/121968 - describe.skip('FOO Export import saved objects between versions', function () { + describe('Export import saved objects between versions', function () { before(async function () { await esArchiver.load('x-pack/test/functional/es_archives/empty_kibana'); await kibanaServer.uiSettings.replace({}); @@ -40,6 +43,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.settings.clickKibanaSavedObjects(); }); + beforeEach(async () => { + await PageObjects.savedObjects.waitTableIsLoaded(); + }); + after(async () => { await esArchiver.load('x-pack/test/functional/es_archives/empty_kibana'); }); diff --git a/x-pack/test/functional/apps/security/doc_level_security_roles.ts b/x-pack/test/functional/apps/security/doc_level_security_roles.ts index 88a16b002d7fb..69f25fbe3164f 100644 --- a/x-pack/test/functional/apps/security/doc_level_security_roles.ts +++ b/x-pack/test/functional/apps/security/doc_level_security_roles.ts @@ -15,6 +15,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const retry = getService('retry'); const log = getService('log'); const screenshot = getService('screenshots'); + const security = getService('security'); const PageObjects = getPageObjects(['security', 'common', 'header', 'discover', 'settings']); describe('dls', function () { @@ -75,9 +76,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const rowData = await PageObjects.discover.getDocTableIndex(1); expect(rowData).to.contain('EAST'); }); + after('logout', async () => { // NOTE: Logout needs to happen before anything else to avoid flaky behavior await PageObjects.security.forceLogout(); + await security.user.delete('userEast'); + await security.role.delete('myroleEast'); }); }); } diff --git a/x-pack/test/functional/es_archives/alerts/data.json b/x-pack/test/functional/es_archives/alerts/data.json index 249f14caf28f7..afa54208512f4 100644 --- a/x-pack/test/functional/es_archives/alerts/data.json +++ b/x-pack/test/functional/es_archives/alerts/data.json @@ -346,6 +346,7 @@ "consumer" : "alertsFixture", "params" : { "ruleId" : "4ec223b9-77fa-4895-8539-6b3e586a2858", + "type": "query", "exceptionsList" : [ { "id" : "endpoint_list", diff --git a/x-pack/test/functional/page_objects/lens_page.ts b/x-pack/test/functional/page_objects/lens_page.ts index f55b05bc65a05..0b0fc672e364b 100644 --- a/x-pack/test/functional/page_objects/lens_page.ts +++ b/x-pack/test/functional/page_objects/lens_page.ts @@ -468,12 +468,32 @@ export function LensPageProvider({ getService, getPageObjects }: FtrProviderCont await comboBox.setCustom('indexPattern-dimension-time-shift', shift); }, + async enableFilter() { + await testSubjects.click('indexPattern-advanced-popover'); + await retry.try(async () => { + await testSubjects.click('indexPattern-filter-by-enable'); + }); + }, + + async setFilterBy(queryString: string) { + this.typeFilter(queryString); + await retry.try(async () => { + await testSubjects.click('indexPattern-filters-existingFilterTrigger'); + }); + }, + + async typeFilter(queryString: string) { + const queryInput = await testSubjects.find('indexPattern-filters-queryStringInput'); + await queryInput.type(queryString); + }, + async hasFixAction() { return await testSubjects.exists('errorFixAction'); }, async useFixAction() { await testSubjects.click('errorFixAction'); + await this.waitForVisualization(); }, async isTopLevelAggregation() { @@ -490,8 +510,7 @@ export function LensPageProvider({ getService, getPageObjects }: FtrProviderCont */ async addFilterToAgg(queryString: string) { await testSubjects.click('lns-newBucket-add'); - const queryInput = await testSubjects.find('indexPattern-filters-queryStringInput'); - await queryInput.type(queryString); + this.typeFilter(queryString); // Problem here is that after typing in the queryInput a dropdown will fetch the server // with suggestions and show up. Depending on the cursor position and some other factors // pressing Enter at this point may lead to auto-complete the queryInput with random stuff from the diff --git a/x-pack/test/functional/services/monitoring/elasticsearch_nodes.js b/x-pack/test/functional/services/monitoring/elasticsearch_nodes.js index e94e85fc96486..5451464a9564d 100644 --- a/x-pack/test/functional/services/monitoring/elasticsearch_nodes.js +++ b/x-pack/test/functional/services/monitoring/elasticsearch_nodes.js @@ -66,7 +66,6 @@ export function MonitoringElasticsearchNodesProvider({ getService, getPageObject async clickNameCol() { await find.clickByCssSelector(`[data-test-subj="${SUBJ_TABLE_SORT_NAME_COL}"] > button`); - await find.byCssSelector('.euiBasicTable-loading'); await this.waitForTableToFinishLoading(); } @@ -117,10 +116,22 @@ export function MonitoringElasticsearchNodesProvider({ getService, getPageObject return PageObjects.monitoring.assertTableNoData(SUBJ_TABLE_NO_DATA); } + async getNodeNames() { + return await testSubjects.getVisibleTextAll(SUBJ_NODES_NAMES); + } + + async getNodeStatuses() { + return await testSubjects.getAttributeAll(SUBJ_NODES_STATUSES, 'alt'); + } + + async getNodeCpus() { + return trimAll(await testSubjects.getVisibleTextAll(SUBJ_NODES_CPUS)); + } + async getNodesAll() { - const names = await testSubjects.getVisibleTextAll(SUBJ_NODES_NAMES); - const statuses = await testSubjects.getAttributeAll(SUBJ_NODES_STATUSES, 'alt'); - const cpus = trimAll(await testSubjects.getVisibleTextAll(SUBJ_NODES_CPUS)); + const names = await this.getNodeNames(); + const statuses = await this.getNodeStatuses(); + const cpus = await this.getNodeCpus(); const loads = trimAll(await testSubjects.getVisibleTextAll(SUBJ_NODES_LOADS)); const memories = trimAll(await testSubjects.getVisibleTextAll(SUBJ_NODES_MEMS)); const disks = trimAll(await testSubjects.getVisibleTextAll(SUBJ_NODES_DISKS)); diff --git a/x-pack/test/osquery_cypress/config.ts b/x-pack/test/osquery_cypress/config.ts index 14898f81aac12..2bd39acfa1359 100644 --- a/x-pack/test/osquery_cypress/config.ts +++ b/x-pack/test/osquery_cypress/config.ts @@ -38,6 +38,9 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { '--csp.strict=false', // define custom kibana server args here `--elasticsearch.ssl.certificateAuthorities=${CA_CERT_PATH}`, + `--xpack.fleet.agents.elasticsearch.host=http://host.docker.internal:${kibanaCommonTestsConfig.get( + 'servers.elasticsearch.port' + )}`, ], }, }; diff --git a/x-pack/test/osquery_cypress/runner.ts b/x-pack/test/osquery_cypress/runner.ts index 6a3108d5544d9..c3a2aa777a1f7 100644 --- a/x-pack/test/osquery_cypress/runner.ts +++ b/x-pack/test/osquery_cypress/runner.ts @@ -80,7 +80,11 @@ function startOsqueryCypress(context: FtrProviderContext, cypressCommand: string env: { FORCE_COLOR: '1', // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_baseUrl: Url.format(config.get('servers.kibana')), + CYPRESS_baseUrl: Url.format({ + protocol: config.get('servers.kibana.protocol'), + hostname: config.get('servers.kibana.hostname'), + port: config.get('servers.kibana.port'), + }), // eslint-disable-next-line @typescript-eslint/naming-convention CYPRESS_protocol: config.get('servers.kibana.protocol'), // eslint-disable-next-line @typescript-eslint/naming-convention diff --git a/x-pack/test/security_solution_cypress/es_archives/auditbeat/data.json.gz b/x-pack/test/security_solution_cypress/es_archives/auditbeat/data.json.gz index f1a4baefa5adf..23c45b5e86499 100644 Binary files a/x-pack/test/security_solution_cypress/es_archives/auditbeat/data.json.gz and b/x-pack/test/security_solution_cypress/es_archives/auditbeat/data.json.gz differ diff --git a/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts b/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts index 0cf86e891e143..82079fd17b6c6 100644 --- a/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts +++ b/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts @@ -236,8 +236,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { ); }; - // Failing: See https://github.com/elastic/kibana/issues/100236 - describe.skip('When on the Endpoint Policy Details Page', function () { + describe('When on the Endpoint Policy Details Page', function () { let indexedData: IndexedHostsAndAlertsResponse; before(async () => { @@ -539,7 +538,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await pageObjects.policy.waitForCheckboxSelectionChange('policyWindowsEvent_dns', false); }); - it('should preserve updates done from the Fleet form', async () => { + // Failing: See https://github.com/elastic/kibana/issues/100236 + it.skip('should preserve updates done from the Fleet form', async () => { // Fleet has its own form inputs, like description. When those are updated, the changes // are also dispatched to the embedded endpoint Policy form. Update to the Endpoint Policy // form after that should preserve the changes done on the Fleet form diff --git a/x-pack/test/security_solution_endpoint/config.ts b/x-pack/test/security_solution_endpoint/config.ts index 2bfb231887ac2..b00df7732ea4f 100644 --- a/x-pack/test/security_solution_endpoint/config.ts +++ b/x-pack/test/security_solution_endpoint/config.ts @@ -44,8 +44,6 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { // always install Endpoint package by default when Fleet sets up `--xpack.fleet.packages.0.name=endpoint`, `--xpack.fleet.packages.0.version=latest`, - // TODO: Remove feature flags once we're good to go - '--xpack.securitySolution.enableExperimental=["trustedAppsByPolicyEnabled"]', ], }, layout: { diff --git a/x-pack/test/stack_functional_integration/apps/monitoring/_monitoring_metricbeat.js b/x-pack/test/stack_functional_integration/apps/monitoring/_monitoring_metricbeat.js index 79b3b98aafddd..7c1a93eef8fb6 100644 --- a/x-pack/test/stack_functional_integration/apps/monitoring/_monitoring_metricbeat.js +++ b/x-pack/test/stack_functional_integration/apps/monitoring/_monitoring_metricbeat.js @@ -13,6 +13,7 @@ export default ({ getService, getPageObjects }) => { const testSubjects = getService('testSubjects'); const isSaml = !!process.env.VM.includes('saml') || !!process.env.VM.includes('oidc'); const clusterOverview = getService('monitoringClusterOverview'); + const find = getService('find'); before(async () => { await browser.setWindowSize(1200, 800); @@ -30,6 +31,7 @@ export default ({ getService, getPageObjects }) => { }); it('should have Monitoring already enabled', async () => { + await find.clickByLinkText('elasticsearch'); await testSubjects.click('esOverview'); }); diff --git a/x-pack/test/upgrade_assistant_integration/upgrade_assistant/reindexing.js b/x-pack/test/upgrade_assistant_integration/upgrade_assistant/reindexing.js index d52f407e8483f..af2393d7b00d1 100644 --- a/x-pack/test/upgrade_assistant_integration/upgrade_assistant/reindexing.js +++ b/x-pack/test/upgrade_assistant_integration/upgrade_assistant/reindexing.js @@ -123,7 +123,10 @@ export default function ({ getService }) { it('shows no warnings', async () => { const resp = await supertest.get(`/api/upgrade_assistant/reindex/7.0-data`); - expect(resp.body.warnings.length).to.be(0); + // By default all reindexing operations will replace an index with an alias (with the same name) + // pointing to a newly created "reindexed" index. + expect(resp.body.warnings.length).to.be(1); + expect(resp.body.warnings[0].warningType).to.be('replaceIndexWithAlias'); }); it('reindexes old 7.0 index', async () => { diff --git a/yarn.lock b/yarn.lock index e3adc81008ffc..61d331ca5cb9f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -103,26 +103,6 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/core@7.4.5": - version "7.4.5" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.4.5.tgz#081f97e8ffca65a9b4b0fdc7e274e703f000c06a" - integrity sha512-OvjIh6aqXtlsA8ujtGKfC7LYWksYSX8yQcM8Ay3LuvVeQ63lcOKgoZWVqcpFwkd29aYU9rVx7jxhfhiEDV9MZA== - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/generator" "^7.4.4" - "@babel/helpers" "^7.4.4" - "@babel/parser" "^7.4.5" - "@babel/template" "^7.4.4" - "@babel/traverse" "^7.4.5" - "@babel/types" "^7.4.4" - convert-source-map "^1.1.0" - debug "^4.1.0" - json5 "^2.1.0" - lodash "^4.17.11" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" - "@babel/core@>=7.9.0", "@babel/core@^7.1.0", "@babel/core@^7.12.10", "@babel/core@^7.12.3", "@babel/core@^7.16.0", "@babel/core@^7.7.5": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.16.0.tgz#c4ff44046f5fe310525cc9eb4ef5147f0c5374d4" @@ -160,7 +140,7 @@ dependencies: eslint-rule-composer "^0.3.0" -"@babel/generator@^7.12.11", "@babel/generator@^7.12.5", "@babel/generator@^7.16.0", "@babel/generator@^7.4.4": +"@babel/generator@^7.12.11", "@babel/generator@^7.12.5", "@babel/generator@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.16.0.tgz#d40f3d1d5075e62d3500bccb67f3daa8a95265b2" integrity sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew== @@ -194,7 +174,7 @@ browserslist "^4.17.5" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.13.0", "@babel/helper-create-class-features-plugin@^7.16.0", "@babel/helper-create-class-features-plugin@^7.3.0": +"@babel/helper-create-class-features-plugin@^7.13.0", "@babel/helper-create-class-features-plugin@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.16.0.tgz#090d4d166b342a03a9fec37ef4fd5aeb9c7c6a4b" integrity sha512-XLwWvqEaq19zFlF5PTgOod4bUA+XbkR4WLQBct1bkzmxJGB0ZEJaoKF4c8cgH9oBtCDuYJ8BP5NB9uFiEgO5QA== @@ -386,7 +366,7 @@ "@babel/traverse" "^7.16.0" "@babel/types" "^7.16.0" -"@babel/helpers@^7.12.5", "@babel/helpers@^7.16.0", "@babel/helpers@^7.4.4": +"@babel/helpers@^7.12.5", "@babel/helpers@^7.16.0": version "7.16.3" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.16.3.tgz#27fc64f40b996e7074dc73128c3e5c3e7f55c43c" integrity sha512-Xn8IhDlBPhvYTvgewPKawhADichOsbkZuzN7qz2BusOM0brChsyXMDJvldWaYMMUNiCQdQzNEioXTp3sC8Nt8w== @@ -404,7 +384,7 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.12.11", "@babel/parser@^7.12.7", "@babel/parser@^7.14.7", "@babel/parser@^7.16.0", "@babel/parser@^7.16.3", "@babel/parser@^7.16.4", "@babel/parser@^7.4.5": +"@babel/parser@^7.1.0", "@babel/parser@^7.12.11", "@babel/parser@^7.12.7", "@babel/parser@^7.14.7", "@babel/parser@^7.16.0", "@babel/parser@^7.16.3", "@babel/parser@^7.16.4": version "7.16.4" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.4.tgz#d5f92f57cf2c74ffe9b37981c0e72fee7311372e" integrity sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng== @@ -425,7 +405,7 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" "@babel/plugin-proposal-optional-chaining" "^7.16.0" -"@babel/plugin-proposal-async-generator-functions@^7.16.4", "@babel/plugin-proposal-async-generator-functions@^7.2.0": +"@babel/plugin-proposal-async-generator-functions@^7.16.4": version "7.16.4" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.4.tgz#e606eb6015fec6fa5978c940f315eae4e300b081" integrity sha512-/CUekqaAaZCQHleSK/9HajvcD/zdnJiKRiuUFq8ITE+0HsPzquf53cpFiqAwl/UfmJbR6n5uGPQSPdrmKOvHHg== @@ -434,14 +414,6 @@ "@babel/helper-remap-async-to-generator" "^7.16.4" "@babel/plugin-syntax-async-generators" "^7.8.4" -"@babel/plugin-proposal-class-properties@7.3.0": - version "7.3.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.3.0.tgz#272636bc0fa19a0bc46e601ec78136a173ea36cd" - integrity sha512-wNHxLkEKTQ2ay0tnsam2z7fGZUi+05ziDJflEt3AZTP3oXLKHJp9HqhfroB/vdMvt3sda9fAbq7FsG8QPDrZBg== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.3.0" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-class-properties@^7.12.1", "@babel/plugin-proposal-class-properties@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.0.tgz#c029618267ddebc7280fa286e0f8ca2a278a2d1a" @@ -492,7 +464,7 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" -"@babel/plugin-proposal-json-strings@^7.16.0", "@babel/plugin-proposal-json-strings@^7.2.0": +"@babel/plugin-proposal-json-strings@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.0.tgz#cae35a95ed1d2a7fa29c4dc41540b84a72e9ab25" integrity sha512-kouIPuiv8mSi5JkEhzApg5Gn6hFyKPnlkO0a9YSzqRurH8wYzSlf6RJdzluAsbqecdW5pBvDJDfyDIUR/vLxvg== @@ -533,15 +505,7 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-transform-parameters" "^7.12.1" -"@babel/plugin-proposal-object-rest-spread@7.3.2": - version "7.3.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.2.tgz#6d1859882d4d778578e41f82cc5d7bf3d5daf6c1" - integrity sha512-DjeMS+J2+lpANkYLLO+m6GjoTMygYglKmRe6cDTbFv3L9i6mmiE8fe6B8MtCSLZpVXscD5kn7s6SgtHrDoBWoA== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-object-rest-spread" "^7.2.0" - -"@babel/plugin-proposal-object-rest-spread@^7.12.1", "@babel/plugin-proposal-object-rest-spread@^7.16.0", "@babel/plugin-proposal-object-rest-spread@^7.4.4": +"@babel/plugin-proposal-object-rest-spread@^7.12.1", "@babel/plugin-proposal-object-rest-spread@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.16.0.tgz#5fb32f6d924d6e6712810362a60e12a2609872e6" integrity sha512-LU/+jp89efe5HuWJLmMmFG0+xbz+I2rSI7iLc1AlaeSMDMOGzWlc5yJrMN1d04osXN4sSfpo4O+azkBNBes0jg== @@ -552,7 +516,7 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-transform-parameters" "^7.16.0" -"@babel/plugin-proposal-optional-catch-binding@^7.16.0", "@babel/plugin-proposal-optional-catch-binding@^7.2.0": +"@babel/plugin-proposal-optional-catch-binding@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.0.tgz#5910085811ab4c28b00d6ebffa4ab0274d1e5f16" integrity sha512-kicDo0A/5J0nrsCPbn89mTG3Bm4XgYi0CZtvex9Oyw7gGZE3HXGD0zpQNH+mo+tEfbo8wbmMvJftOwpmPy7aVw== @@ -595,7 +559,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.16.0" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-async-generators@^7.2.0", "@babel/plugin-syntax-async-generators@^7.8.4": +"@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== @@ -665,7 +629,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-json-strings@^7.2.0", "@babel/plugin-syntax-json-strings@^7.8.3": +"@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== @@ -679,7 +643,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-jsx@^7.10.4", "@babel/plugin-syntax-jsx@^7.12.1", "@babel/plugin-syntax-jsx@^7.16.0", "@babel/plugin-syntax-jsx@^7.2.0": +"@babel/plugin-syntax-jsx@^7.12.1", "@babel/plugin-syntax-jsx@^7.16.0", "@babel/plugin-syntax-jsx@^7.2.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.16.0.tgz#f9624394317365a9a88c82358d3f8471154698f1" integrity sha512-8zv2+xiPHwly31RK4RmnEYY5zziuF3O7W2kIDW+07ewWDh6Oi0dRq8kwvulRkFgt6DB97RlKs5c1y068iPlCUg== @@ -707,14 +671,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-object-rest-spread@7.8.3", "@babel/plugin-syntax-object-rest-spread@^7.2.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": +"@babel/plugin-syntax-object-rest-spread@7.8.3", "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-catch-binding@^7.2.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3": +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== @@ -749,14 +713,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-arrow-functions@^7.12.1", "@babel/plugin-transform-arrow-functions@^7.16.0", "@babel/plugin-transform-arrow-functions@^7.2.0": +"@babel/plugin-transform-arrow-functions@^7.12.1", "@babel/plugin-transform-arrow-functions@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.0.tgz#951706f8b449c834ed07bd474c0924c944b95a8e" integrity sha512-vIFb5250Rbh7roWARvCLvIJ/PtAU5Lhv7BtZ1u24COwpI9Ypjsh+bZcKk6rlIyalK+r0jOc1XQ8I4ovNxNrWrA== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-async-to-generator@^7.16.0", "@babel/plugin-transform-async-to-generator@^7.4.4": +"@babel/plugin-transform-async-to-generator@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.0.tgz#df12637f9630ddfa0ef9d7a11bc414d629d38604" integrity sha512-PbIr7G9kR8tdH6g8Wouir5uVjklETk91GMVSUq+VaOgiinbCkBP6Q7NN/suM/QutZkMJMvcyAriogcYAdhg8Gw== @@ -765,21 +729,21 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/helper-remap-async-to-generator" "^7.16.0" -"@babel/plugin-transform-block-scoped-functions@^7.16.0", "@babel/plugin-transform-block-scoped-functions@^7.2.0": +"@babel/plugin-transform-block-scoped-functions@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.0.tgz#c618763233ad02847805abcac4c345ce9de7145d" integrity sha512-V14As3haUOP4ZWrLJ3VVx5rCnrYhMSHN/jX7z6FAt5hjRkLsb0snPCmJwSOML5oxkKO4FNoNv7V5hw/y2bjuvg== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-block-scoping@^7.12.12", "@babel/plugin-transform-block-scoping@^7.16.0", "@babel/plugin-transform-block-scoping@^7.4.4": +"@babel/plugin-transform-block-scoping@^7.12.12", "@babel/plugin-transform-block-scoping@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.0.tgz#bcf433fb482fe8c3d3b4e8a66b1c4a8e77d37c16" integrity sha512-27n3l67/R3UrXfizlvHGuTwsRIFyce3D/6a37GRxn28iyTPvNXaW4XvznexRh1zUNLPjbLL22Id0XQElV94ruw== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-classes@^7.12.1", "@babel/plugin-transform-classes@^7.16.0", "@babel/plugin-transform-classes@^7.4.4": +"@babel/plugin-transform-classes@^7.12.1", "@babel/plugin-transform-classes@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.0.tgz#54cf5ff0b2242c6573d753cd4bfc7077a8b282f5" integrity sha512-HUxMvy6GtAdd+GKBNYDWCIA776byUQH8zjnfjxwT1P1ARv/wFu8eBDpmXQcLS/IwRtrxIReGiplOwMeyO7nsDQ== @@ -792,14 +756,14 @@ "@babel/helper-split-export-declaration" "^7.16.0" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.16.0", "@babel/plugin-transform-computed-properties@^7.2.0": +"@babel/plugin-transform-computed-properties@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.0.tgz#e0c385507d21e1b0b076d66bed6d5231b85110b7" integrity sha512-63l1dRXday6S8V3WFY5mXJwcRAnPYxvFfTlt67bwV1rTyVTM5zrp0DBBb13Kl7+ehkCVwIZPumPpFP/4u70+Tw== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-destructuring@^7.12.1", "@babel/plugin-transform-destructuring@^7.16.0", "@babel/plugin-transform-destructuring@^7.4.4": +"@babel/plugin-transform-destructuring@^7.12.1", "@babel/plugin-transform-destructuring@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.16.0.tgz#ad3d7e74584ad5ea4eadb1e6642146c590dee33c" integrity sha512-Q7tBUwjxLTsHEoqktemHBMtb3NYwyJPTJdM+wDwb0g8PZ3kQUIzNvwD5lPaqW/p54TXBc/MXZu9Jr7tbUEUM8Q== @@ -814,14 +778,14 @@ "@babel/helper-create-regexp-features-plugin" "^7.16.0" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-duplicate-keys@^7.16.0", "@babel/plugin-transform-duplicate-keys@^7.2.0": +"@babel/plugin-transform-duplicate-keys@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.0.tgz#8bc2e21813e3e89e5e5bf3b60aa5fc458575a176" integrity sha512-LIe2kcHKAZOJDNxujvmp6z3mfN6V9lJxubU4fJIGoQCkKe3Ec2OcbdlYP+vW++4MpxwG0d1wSDOJtQW5kLnkZQ== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-exponentiation-operator@^7.16.0", "@babel/plugin-transform-exponentiation-operator@^7.2.0": +"@babel/plugin-transform-exponentiation-operator@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.0.tgz#a180cd2881e3533cef9d3901e48dad0fbeff4be4" integrity sha512-OwYEvzFI38hXklsrbNivzpO3fh87skzx8Pnqi4LoSYeav0xHlueSoCJrSgTPfnbyzopo5b3YVAJkFIcUpK2wsw== @@ -837,14 +801,14 @@ "@babel/helper-plugin-utils" "^7.13.0" "@babel/plugin-syntax-flow" "^7.12.13" -"@babel/plugin-transform-for-of@^7.12.1", "@babel/plugin-transform-for-of@^7.16.0", "@babel/plugin-transform-for-of@^7.4.4": +"@babel/plugin-transform-for-of@^7.12.1", "@babel/plugin-transform-for-of@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.0.tgz#f7abaced155260e2461359bbc7c7248aca5e6bd2" integrity sha512-5QKUw2kO+GVmKr2wMYSATCTTnHyscl6sxFRAY+rvN7h7WB0lcG0o4NoV6ZQU32OZGVsYUsfLGgPQpDFdkfjlJQ== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-function-name@^7.16.0", "@babel/plugin-transform-function-name@^7.4.4": +"@babel/plugin-transform-function-name@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.0.tgz#02e3699c284c6262236599f751065c5d5f1f400e" integrity sha512-lBzMle9jcOXtSOXUpc7tvvTpENu/NuekNJVova5lCCWCV9/U1ho2HH2y0p6mBg8fPm/syEAbfaaemYGOHCY3mg== @@ -852,21 +816,21 @@ "@babel/helper-function-name" "^7.16.0" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-literals@^7.16.0", "@babel/plugin-transform-literals@^7.2.0": +"@babel/plugin-transform-literals@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.0.tgz#79711e670ffceb31bd298229d50f3621f7980cac" integrity sha512-gQDlsSF1iv9RU04clgXqRjrPyyoJMTclFt3K1cjLmTKikc0s/6vE3hlDeEVC71wLTRu72Fq7650kABrdTc2wMQ== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-member-expression-literals@^7.16.0", "@babel/plugin-transform-member-expression-literals@^7.2.0": +"@babel/plugin-transform-member-expression-literals@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.0.tgz#5251b4cce01eaf8314403d21aedb269d79f5e64b" integrity sha512-WRpw5HL4Jhnxw8QARzRvwojp9MIE7Tdk3ez6vRyUk1MwgjJN0aNpRoXainLR5SgxmoXx/vsXGZ6OthP6t/RbUg== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-modules-amd@^7.16.0", "@babel/plugin-transform-modules-amd@^7.2.0": +"@babel/plugin-transform-modules-amd@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.0.tgz#09abd41e18dcf4fd479c598c1cef7bd39eb1337e" integrity sha512-rWFhWbCJ9Wdmzln1NmSCqn7P0RAD+ogXG/bd9Kg5c7PKWkJtkiXmYsMBeXjDlzHpVTJ4I/hnjs45zX4dEv81xw== @@ -875,7 +839,7 @@ "@babel/helper-plugin-utils" "^7.14.5" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.16.0", "@babel/plugin-transform-modules-commonjs@^7.4.4": +"@babel/plugin-transform-modules-commonjs@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.0.tgz#add58e638c8ddc4875bd9a9ecb5c594613f6c922" integrity sha512-Dzi+NWqyEotgzk/sb7kgQPJQf7AJkQBWsVp1N6JWc1lBVo0vkElUnGdr1PzUBmfsCCN5OOFya3RtpeHk15oLKQ== @@ -885,7 +849,7 @@ "@babel/helper-simple-access" "^7.16.0" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.16.0", "@babel/plugin-transform-modules-systemjs@^7.4.4": +"@babel/plugin-transform-modules-systemjs@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.16.0.tgz#a92cf240afeb605f4ca16670453024425e421ea4" integrity sha512-yuGBaHS3lF1m/5R+6fjIke64ii5luRUg97N2wr+z1sF0V+sNSXPxXDdEEL/iYLszsN5VKxVB1IPfEqhzVpiqvg== @@ -896,7 +860,7 @@ "@babel/helper-validator-identifier" "^7.15.7" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-umd@^7.16.0", "@babel/plugin-transform-modules-umd@^7.2.0": +"@babel/plugin-transform-modules-umd@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.0.tgz#195f26c2ad6d6a391b70880effce18ce625e06a7" integrity sha512-nx4f6no57himWiHhxDM5pjwhae5vLpTK2zCnDH8+wNLJy0TVER/LJRHl2bkt6w9Aad2sPD5iNNoUpY3X9sTGDg== @@ -904,21 +868,21 @@ "@babel/helper-module-transforms" "^7.16.0" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-named-capturing-groups-regex@^7.16.0", "@babel/plugin-transform-named-capturing-groups-regex@^7.4.5": +"@babel/plugin-transform-named-capturing-groups-regex@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.0.tgz#d3db61cc5d5b97986559967cd5ea83e5c32096ca" integrity sha512-LogN88uO+7EhxWc8WZuQ8vxdSyVGxhkh8WTC3tzlT8LccMuQdA81e9SGV6zY7kY2LjDhhDOFdQVxdGwPyBCnvg== dependencies: "@babel/helper-create-regexp-features-plugin" "^7.16.0" -"@babel/plugin-transform-new-target@^7.16.0", "@babel/plugin-transform-new-target@^7.4.4": +"@babel/plugin-transform-new-target@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.0.tgz#af823ab576f752215a49937779a41ca65825ab35" integrity sha512-fhjrDEYv2DBsGN/P6rlqakwRwIp7rBGLPbrKxwh7oVt5NNkIhZVOY2GRV+ULLsQri1bDqwDWnU3vhlmx5B2aCw== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-object-super@^7.16.0", "@babel/plugin-transform-object-super@^7.2.0": +"@babel/plugin-transform-object-super@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.0.tgz#fb20d5806dc6491a06296ac14ea8e8d6fedda72b" integrity sha512-fds+puedQHn4cPLshoHcR1DTMN0q1V9ou0mUjm8whx9pGcNvDrVVrgw+KJzzCaiTdaYhldtrUps8DWVMgrSEyg== @@ -926,21 +890,21 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/helper-replace-supers" "^7.16.0" -"@babel/plugin-transform-parameters@^7.12.1", "@babel/plugin-transform-parameters@^7.16.0", "@babel/plugin-transform-parameters@^7.16.3", "@babel/plugin-transform-parameters@^7.4.4": +"@babel/plugin-transform-parameters@^7.12.1", "@babel/plugin-transform-parameters@^7.16.0", "@babel/plugin-transform-parameters@^7.16.3": version "7.16.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.3.tgz#fa9e4c874ee5223f891ee6fa8d737f4766d31d15" integrity sha512-3MaDpJrOXT1MZ/WCmkOFo7EtmVVC8H4EUZVrHvFOsmwkk4lOjQj8rzv8JKUZV4YoQKeoIgk07GO+acPU9IMu/w== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-property-literals@^7.16.0", "@babel/plugin-transform-property-literals@^7.2.0": +"@babel/plugin-transform-property-literals@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.0.tgz#a95c552189a96a00059f6776dc4e00e3690c78d1" integrity sha512-XLldD4V8+pOqX2hwfWhgwXzGdnDOThxaNTgqagOcpBgIxbUvpgU2FMvo5E1RyHbk756WYgdbS0T8y0Cj9FKkWQ== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-react-display-name@^7.0.0", "@babel/plugin-transform-react-display-name@^7.16.0": +"@babel/plugin-transform-react-display-name@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.16.0.tgz#9a0ad8aa8e8790883a7bd2736f66229a58125676" integrity sha512-FJFdJAqaCpndL+pIf0aeD/qlQwT7QXOvR6Cc8JPvNhKJBi2zc/DPc4g05Y3fbD/0iWAMQFGij4+Xw+4L/BMpTg== @@ -954,23 +918,7 @@ dependencies: "@babel/plugin-transform-react-jsx" "^7.16.0" -"@babel/plugin-transform-react-jsx-self@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.10.4.tgz#cd301a5fed8988c182ed0b9d55e9bd6db0bd9369" - integrity sha512-yOvxY2pDiVJi0axdTWHSMi5T0DILN+H+SaeJeACHKjQLezEzhLx9nEF9xgpBLPtkZsks9cnb5P9iBEi21En3gg== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-jsx" "^7.10.4" - -"@babel/plugin-transform-react-jsx-source@^7.0.0": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.10.5.tgz#34f1779117520a779c054f2cdd9680435b9222b4" - integrity sha512-wTeqHVkN1lfPLubRiZH3o73f4rfon42HpgxUSs86Nc+8QIcm/B9s8NNVXu/gwGcOyd7yDib9ikxoDLxJP0UiDA== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-jsx" "^7.10.4" - -"@babel/plugin-transform-react-jsx@^7.0.0", "@babel/plugin-transform-react-jsx@^7.12.1", "@babel/plugin-transform-react-jsx@^7.12.12", "@babel/plugin-transform-react-jsx@^7.16.0": +"@babel/plugin-transform-react-jsx@^7.12.1", "@babel/plugin-transform-react-jsx@^7.12.12", "@babel/plugin-transform-react-jsx@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.16.0.tgz#55b797d4960c3de04e07ad1c0476e2bc6a4889f1" integrity sha512-rqDgIbukZ44pqq7NIRPGPGNklshPkvlmvqjdx3OZcGPk4zGIenYkxDTvl3LsSL8gqcc3ZzGmXPE6hR/u/voNOw== @@ -989,31 +937,21 @@ "@babel/helper-annotate-as-pure" "^7.16.0" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-regenerator@^7.16.0", "@babel/plugin-transform-regenerator@^7.4.5": +"@babel/plugin-transform-regenerator@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.16.0.tgz#eaee422c84b0232d03aea7db99c97deeaf6125a4" integrity sha512-JAvGxgKuwS2PihiSFaDrp94XOzzTUeDeOQlcKzVAyaPap7BnZXK/lvMDiubkPTdotPKOIZq9xWXWnggUMYiExg== dependencies: regenerator-transform "^0.14.2" -"@babel/plugin-transform-reserved-words@^7.16.0", "@babel/plugin-transform-reserved-words@^7.2.0": +"@babel/plugin-transform-reserved-words@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.0.tgz#fff4b9dcb19e12619394bda172d14f2d04c0379c" integrity sha512-Dgs8NNCehHSvXdhEhln8u/TtJxfVwGYCgP2OOr5Z3Ar+B+zXicEOKNTyc+eca2cuEOMtjW6m9P9ijOt8QdqWkg== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-runtime@7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.2.0.tgz#566bc43f7d0aedc880eaddbd29168d0f248966ea" - integrity sha512-jIgkljDdq4RYDnJyQsiWbdvGeei/0MOTtSHKO/rfbd/mXBxNpdlulMx49L0HQ4pug1fXannxoqCI+fYSle9eSw== - dependencies: - "@babel/helper-module-imports" "^7.0.0" - "@babel/helper-plugin-utils" "^7.0.0" - resolve "^1.8.1" - semver "^5.5.1" - -"@babel/plugin-transform-runtime@^7.16.4": +"@babel/plugin-transform-runtime@^7.16.0", "@babel/plugin-transform-runtime@^7.16.4": version "7.16.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.16.4.tgz#f9ba3c7034d429c581e1bd41b4952f3db3c2c7e8" integrity sha512-pru6+yHANMTukMtEZGC4fs7XPwg35v8sj5CIEmE+gEkFljFiVJxEWxx/7ZDkTK+iZRYo1bFXBtfIN95+K3cJ5A== @@ -1025,14 +963,14 @@ babel-plugin-polyfill-regenerator "^0.3.0" semver "^6.3.0" -"@babel/plugin-transform-shorthand-properties@^7.12.1", "@babel/plugin-transform-shorthand-properties@^7.16.0", "@babel/plugin-transform-shorthand-properties@^7.2.0": +"@babel/plugin-transform-shorthand-properties@^7.12.1", "@babel/plugin-transform-shorthand-properties@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.0.tgz#090372e3141f7cc324ed70b3daf5379df2fa384d" integrity sha512-iVb1mTcD8fuhSv3k99+5tlXu5N0v8/DPm2mO3WACLG6al1CGZH7v09HJyUb1TtYl/Z+KrM6pHSIJdZxP5A+xow== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-spread@^7.12.1", "@babel/plugin-transform-spread@^7.16.0", "@babel/plugin-transform-spread@^7.2.0": +"@babel/plugin-transform-spread@^7.12.1", "@babel/plugin-transform-spread@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.0.tgz#d21ca099bbd53ab307a8621e019a7bd0f40cdcfb" integrity sha512-Ao4MSYRaLAQczZVp9/7E7QHsCuK92yHRrmVNRe/SlEJjhzivq0BSn8mEraimL8wizHZ3fuaHxKH0iwzI13GyGg== @@ -1040,21 +978,21 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" -"@babel/plugin-transform-sticky-regex@^7.16.0", "@babel/plugin-transform-sticky-regex@^7.2.0": +"@babel/plugin-transform-sticky-regex@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.0.tgz#c35ea31a02d86be485f6aa510184b677a91738fd" integrity sha512-/ntT2NljR9foobKk4E/YyOSwcGUXtYWv5tinMK/3RkypyNBNdhHUaq6Orw5DWq9ZcNlS03BIlEALFeQgeVAo4Q== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-template-literals@^7.12.1", "@babel/plugin-transform-template-literals@^7.16.0", "@babel/plugin-transform-template-literals@^7.4.4": +"@babel/plugin-transform-template-literals@^7.12.1", "@babel/plugin-transform-template-literals@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.0.tgz#a8eced3a8e7b8e2d40ec4ec4548a45912630d302" integrity sha512-Rd4Ic89hA/f7xUSJQk5PnC+4so50vBoBfxjdQAdvngwidM8jYIBVxBZ/sARxD4e0yMXRbJVDrYf7dyRtIIKT6Q== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-typeof-symbol@^7.16.0", "@babel/plugin-transform-typeof-symbol@^7.2.0": +"@babel/plugin-transform-typeof-symbol@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.0.tgz#8b19a244c6f8c9d668dca6a6f754ad6ead1128f2" integrity sha512-++V2L8Bdf4vcaHi2raILnptTBjGEFxn5315YU+e8+EqXIucA+q349qWngCLpUYqqv233suJ6NOienIVUpS9cqg== @@ -1077,7 +1015,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-unicode-regex@^7.16.0", "@babel/plugin-transform-unicode-regex@^7.4.4": +"@babel/plugin-transform-unicode-regex@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.0.tgz#293b80950177c8c85aede87cef280259fb995402" integrity sha512-jHLK4LxhHjvCeZDWyA9c+P9XH1sOxRd1RO9xMtDVRAOND/PczPqizEtVdx4TQF/wyPaewqpT+tgQFYMnN/P94A== @@ -1085,61 +1023,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.16.0" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/preset-env@7.4.5": - version "7.4.5" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.5.tgz#2fad7f62983d5af563b5f3139242755884998a58" - integrity sha512-f2yNVXM+FsR5V8UwcFeIHzHWgnhXg3NpRmy0ADvALpnhB0SLbCvrCRr4BLOUYbQNLS+Z0Yer46x9dJXpXewI7w== - dependencies: - "@babel/helper-module-imports" "^7.0.0" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-async-generator-functions" "^7.2.0" - "@babel/plugin-proposal-json-strings" "^7.2.0" - "@babel/plugin-proposal-object-rest-spread" "^7.4.4" - "@babel/plugin-proposal-optional-catch-binding" "^7.2.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" - "@babel/plugin-syntax-async-generators" "^7.2.0" - "@babel/plugin-syntax-json-strings" "^7.2.0" - "@babel/plugin-syntax-object-rest-spread" "^7.2.0" - "@babel/plugin-syntax-optional-catch-binding" "^7.2.0" - "@babel/plugin-transform-arrow-functions" "^7.2.0" - "@babel/plugin-transform-async-to-generator" "^7.4.4" - "@babel/plugin-transform-block-scoped-functions" "^7.2.0" - "@babel/plugin-transform-block-scoping" "^7.4.4" - "@babel/plugin-transform-classes" "^7.4.4" - "@babel/plugin-transform-computed-properties" "^7.2.0" - "@babel/plugin-transform-destructuring" "^7.4.4" - "@babel/plugin-transform-dotall-regex" "^7.4.4" - "@babel/plugin-transform-duplicate-keys" "^7.2.0" - "@babel/plugin-transform-exponentiation-operator" "^7.2.0" - "@babel/plugin-transform-for-of" "^7.4.4" - "@babel/plugin-transform-function-name" "^7.4.4" - "@babel/plugin-transform-literals" "^7.2.0" - "@babel/plugin-transform-member-expression-literals" "^7.2.0" - "@babel/plugin-transform-modules-amd" "^7.2.0" - "@babel/plugin-transform-modules-commonjs" "^7.4.4" - "@babel/plugin-transform-modules-systemjs" "^7.4.4" - "@babel/plugin-transform-modules-umd" "^7.2.0" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.4.5" - "@babel/plugin-transform-new-target" "^7.4.4" - "@babel/plugin-transform-object-super" "^7.2.0" - "@babel/plugin-transform-parameters" "^7.4.4" - "@babel/plugin-transform-property-literals" "^7.2.0" - "@babel/plugin-transform-regenerator" "^7.4.5" - "@babel/plugin-transform-reserved-words" "^7.2.0" - "@babel/plugin-transform-shorthand-properties" "^7.2.0" - "@babel/plugin-transform-spread" "^7.2.0" - "@babel/plugin-transform-sticky-regex" "^7.2.0" - "@babel/plugin-transform-template-literals" "^7.4.4" - "@babel/plugin-transform-typeof-symbol" "^7.2.0" - "@babel/plugin-transform-unicode-regex" "^7.4.4" - "@babel/types" "^7.4.4" - browserslist "^4.6.0" - core-js-compat "^3.1.1" - invariant "^2.2.2" - js-levenshtein "^1.1.3" - semver "^5.5.0" - -"@babel/preset-env@^7.12.11", "@babel/preset-env@^7.16.4": +"@babel/preset-env@^7.12.11", "@babel/preset-env@^7.16.0", "@babel/preset-env@^7.16.4": version "7.16.4" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.16.4.tgz#4f6ec33b2a3fe72d6bfdcdf3859500232563a2e3" integrity sha512-v0QtNd81v/xKj4gNKeuAerQ/azeNn/G1B1qMLeXOcV8+4TWlD2j3NV1u8q29SDFBXx/NBq5kyEAO+0mpRgacjA== @@ -1238,17 +1122,6 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/preset-react@7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.0.0.tgz#e86b4b3d99433c7b3e9e91747e2653958bc6b3c0" - integrity sha512-oayxyPS4Zj+hF6Et11BwuBkmpgT/zMxyuZgFrMeZID6Hdh3dGlk4sHCAhdBCpuCKW2ppBfl2uCCetlrUIJRY3w== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-transform-react-display-name" "^7.0.0" - "@babel/plugin-transform-react-jsx" "^7.0.0" - "@babel/plugin-transform-react-jsx-self" "^7.0.0" - "@babel/plugin-transform-react-jsx-source" "^7.0.0" - "@babel/preset-react@^7.12.10", "@babel/preset-react@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.16.0.tgz#f71d3e8dff5218478011df037fad52660ee6d82a" @@ -1300,14 +1173,14 @@ core-js-pure "^3.0.0" regenerator-runtime "^0.13.4" -"@babel/runtime@7.3.1", "@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.14.0", "@babel/runtime@^7.16.0", "@babel/runtime@^7.16.3", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.2", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.14.0", "@babel/runtime@^7.16.0", "@babel/runtime@^7.16.3", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.2", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2": version "7.16.3" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.3.tgz#b86f0db02a04187a3c17caa77de69840165d42d5" integrity sha512-WBwekcqacdY2e9AF/Q7WLFUWmdJGJTkbjqTjoMDgXkVZ3ZRUvOPsLb5KdwISoQVsbP+DQzVZW4Zhci0DvpbNTQ== dependencies: regenerator-runtime "^0.13.4" -"@babel/template@^7.12.7", "@babel/template@^7.16.0", "@babel/template@^7.3.3", "@babel/template@^7.4.4": +"@babel/template@^7.12.7", "@babel/template@^7.16.0", "@babel/template@^7.3.3": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.0.tgz#d16a35ebf4cd74e202083356fab21dd89363ddd6" integrity sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A== @@ -1384,49 +1257,49 @@ dependencies: "@cspotcode/source-map-consumer" "0.8.0" -"@cypress/browserify-preprocessor@3.0.1", "@cypress/browserify-preprocessor@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@cypress/browserify-preprocessor/-/browserify-preprocessor-3.0.1.tgz#ab86335b0c061d11f5ad7df03f06b1877b836f71" - integrity sha512-sErmFSEr5287bLMRl0POGnyFtJCs/lSk5yxrUIJUIHZ8eDvtTEr0V93xRgLjJVG54gJU4MbpHy1mRPA9VZbtQA== - dependencies: - "@babel/core" "7.4.5" - "@babel/plugin-proposal-class-properties" "7.3.0" - "@babel/plugin-proposal-object-rest-spread" "7.3.2" - "@babel/plugin-transform-runtime" "7.2.0" - "@babel/preset-env" "7.4.5" - "@babel/preset-react" "7.0.0" - "@babel/runtime" "7.3.1" - babel-plugin-add-module-exports "1.0.2" - babelify "10.0.0" - bluebird "3.5.3" - browserify "16.2.3" - coffeeify "3.0.1" - coffeescript "1.12.7" - debug "4.1.1" - fs-extra "9.0.0" - lodash.clonedeep "4.5.0" +"@cypress/browserify-preprocessor@3.0.2", "@cypress/browserify-preprocessor@^3.0.1": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@cypress/browserify-preprocessor/-/browserify-preprocessor-3.0.2.tgz#1dbecae394937aed47a3524cad47086c2ded8c50" + integrity sha512-y6mlFR+IR2cqcm3HabSp7AEcX9QfF1EUL4eOaw/7xexdhmdQU8ez6piyRopZQob4BK8oKTsc9PkupsU2rzjqMA== + dependencies: + "@babel/core" "^7.16.0" + "@babel/plugin-proposal-class-properties" "^7.16.0" + "@babel/plugin-proposal-object-rest-spread" "^7.16.0" + "@babel/plugin-transform-runtime" "^7.16.0" + "@babel/preset-env" "^7.16.0" + "@babel/preset-react" "^7.16.0" + "@babel/runtime" "^7.16.0" + babel-plugin-add-module-exports "^1.0.4" + babelify "^10.0.0" + bluebird "^3.7.2" + browserify "^16.2.3" + coffeeify "^3.0.1" + coffeescript "^1.12.7" + debug "^4.3.2" + fs-extra "^9.0.0" + lodash.clonedeep "^4.5.0" through2 "^2.0.0" - watchify "3.11.1" + watchify "^4.0.0" -"@cypress/code-coverage@^3.9.11": - version "3.9.11" - resolved "https://registry.yarnpkg.com/@cypress/code-coverage/-/code-coverage-3.9.11.tgz#5d7d6da548d561001602b30accc7fa90dc487072" - integrity sha512-SA+fPILiiE0UHlMAwuv592D+wbKKdLbXz7BAN2a2RvW4fLbkVn1dXLATUFYf/6LkKrLaXJ3RENsoW9JqjBLzeQ== +"@cypress/code-coverage@^3.9.12": + version "3.9.12" + resolved "https://registry.yarnpkg.com/@cypress/code-coverage/-/code-coverage-3.9.12.tgz#f1eab362a71734f997dfb870342cecff20dae23d" + integrity sha512-2QuDSQ2ovz2ZsbQImM917q+9JmEq4afC4kpgHe2o3rTQxUrs7CdHM84rT8XKl0gJIXmbMcNq2rZqe40/eFmCFw== dependencies: - "@cypress/browserify-preprocessor" "3.0.1" + "@cypress/browserify-preprocessor" "3.0.2" chalk "4.1.2" dayjs "1.10.7" - debug "4.3.2" + debug "4.3.3" execa "4.1.0" globby "11.0.4" istanbul-lib-coverage "3.0.0" js-yaml "3.14.1" nyc "15.1.0" -"@cypress/request@^2.88.6": - version "2.88.6" - resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.6.tgz#a970dd675befc6bdf8a8921576c01f51cc5798e9" - integrity sha512-z0UxBE/+qaESAHY9p9sM2h8Y4XqtsbDCt0/DPOrqA/RZgKi4PkxdpXyK4wCCnSk1xHqWHZZAE+gV6aDAR6+caQ== +"@cypress/request@^2.88.10": + version "2.88.10" + resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.10.tgz#b66d76b07f860d3a4b8d7a0604d020c662752cce" + integrity sha512-Zp7F+R93N0yZyG34GutyTNr+okam7s/Fzc1+i3kcqOP8vk6OuajuE9qZJ6Rs+10/1JFtXFYMdyarnU1rZuJesg== dependencies: aws-sign2 "~0.7.0" aws4 "^1.8.0" @@ -1435,8 +1308,7 @@ extend "~3.0.2" forever-agent "~0.6.1" form-data "~2.3.2" - har-validator "~5.1.3" - http-signature "~1.2.0" + http-signature "~1.3.6" is-typedarray "~1.0.0" isstream "~0.1.2" json-stringify-safe "~5.0.1" @@ -1633,10 +1505,10 @@ resolved "https://registry.yarnpkg.com/@elastic/eslint-plugin-eui/-/eslint-plugin-eui-0.0.2.tgz#56b9ef03984a05cc213772ae3713ea8ef47b0314" integrity sha512-IoxURM5zraoQ7C8f+mJb9HYSENiZGgRVcG4tLQxE61yHNNRDXtGDWTZh8N1KIHcsqN1CEPETjuzBXkJYF/fDiQ== -"@elastic/eui@43.1.1": - version "43.1.1" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-43.1.1.tgz#5a4526c0a3fad45dcbe470dc33d1d9b701904494" - integrity sha512-ilVAfhM2QtrA8RiG5vgVBOW5xqyjpDeMTH2c/Nf8vEYVgebmTnDAJuaDj5lHpk01oqt2jEEelZkD40XKY2376w== +"@elastic/eui@44.0.0": + version "44.0.0" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-44.0.0.tgz#5d2dde9715fce5448b7d98367fd274dce974fe0a" + integrity sha512-Co3hSmvHn91upvylKvk5IJDR02KL+hdLQcJWU5DfRxTUv3iua3ZLmCMwG3WeoV/XE7kTsxDlNslRO5I3hk5uWg== dependencies: "@types/chroma-js" "^2.0.0" "@types/lodash" "^4.14.160" @@ -7738,7 +7610,7 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" -anymatch@^3.0.0, anymatch@^3.0.3, anymatch@~3.1.1: +anymatch@^3.0.0, anymatch@^3.0.3, anymatch@^3.1.0, anymatch@~3.1.1: version "3.1.2" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== @@ -8389,13 +8261,6 @@ babel-loader@^8.2.2: make-dir "^3.1.0" schema-utils "^2.6.5" -babel-plugin-add-module-exports@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/babel-plugin-add-module-exports/-/babel-plugin-add-module-exports-1.0.2.tgz#96cd610d089af664f016467fc4567c099cce2d9c" - integrity sha512-4paN7RivvU3Rzju1vGSHWPjO8Y0rI6droWvSFKI6dvEQ4mvoV0zGojnlzVRfI6N8zISo6VERXt3coIuVmzuvNg== - optionalDependencies: - chokidar "^2.0.4" - babel-plugin-add-module-exports@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/babel-plugin-add-module-exports/-/babel-plugin-add-module-exports-1.0.4.tgz#6caa4ddbe1f578c6a5264d4d3e6c8a2720a7ca2b" @@ -8636,7 +8501,7 @@ babel-runtime@6.x, babel-runtime@^6.11.6, babel-runtime@^6.26.0: core-js "^2.4.0" regenerator-runtime "^0.11.0" -babelify@10.0.0: +babelify@^10.0.0: version "10.0.0" resolved "https://registry.yarnpkg.com/babelify/-/babelify-10.0.0.tgz#fe73b1a22583f06680d8d072e25a1e0d1d1d7fb5" integrity sha512-X40FaxyH7t3X+JFAKvb1H9wooWKLRCi8pg3m8poqtdZaIng+bjzp9RvKQCvRjF9isHiPkXspbbXT/zwXLtwgwg== @@ -8656,10 +8521,10 @@ bach@^1.0.0: async-settle "^1.0.0" now-and-later "^2.0.0" -backport@^6.1.3: - version "6.1.3" - resolved "https://registry.yarnpkg.com/backport/-/backport-6.1.3.tgz#48a0a8b8eadf422c475f816199390ef06fad16e0" - integrity sha512-LMSXgUOFI9G/Eu4hZDaC7uQwmpedGSxihxVpVcQYwxfdKgMAsYLRwf2R0uQZaWWzTepbpyN9SXvTR5FnacVSFA== +backport@6.1.5: + version "6.1.5" + resolved "https://registry.yarnpkg.com/backport/-/backport-6.1.5.tgz#2e8da121cd7ac89a51003f33fdd7febaa0a34202" + integrity sha512-fEn50S9P8mU3odGYZXNaj4LMTpio+zB2Vwq92wlu6u/fOQmkGvSxklp78NoAwSi8UBC3+vPa7G5zFp1uFLD6jg== dependencies: "@octokit/rest" "^18.12.0" axios "^0.24.0" @@ -8816,11 +8681,6 @@ bluebird-retry@^0.11.0: resolved "https://registry.yarnpkg.com/bluebird-retry/-/bluebird-retry-0.11.0.tgz#1289ab22cbbc3a02587baad35595351dd0c1c047" integrity sha1-EomrIsu8OgJYe6rTVZU1HdDBwEc= -bluebird@3.5.3: - version "3.5.3" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.3.tgz#7d01c6f9616c9a51ab0f8c549a79dfe6ec33efa7" - integrity sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw== - bluebird@3.7.2, bluebird@^3.3.5, bluebird@^3.4.1, bluebird@^3.5.0, bluebird@^3.5.1, bluebird@^3.5.5, bluebird@^3.7.1, bluebird@^3.7.2: version "3.7.2" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" @@ -9016,7 +8876,7 @@ browser-process-hrtime@^1.0.0: resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== -browser-resolve@^1.11.0, browser-resolve@^1.11.3, browser-resolve@^1.8.1: +browser-resolve@^1.11.3, browser-resolve@^1.8.1: version "1.11.3" resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-1.11.3.tgz#9b7cbb3d0f510e4cb86bdbd796124d28b5890af6" integrity sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ== @@ -9102,17 +8962,17 @@ browserify-zlib@^0.2.0, browserify-zlib@~0.2.0: dependencies: pako "~1.0.5" -browserify@16.2.3: - version "16.2.3" - resolved "https://registry.yarnpkg.com/browserify/-/browserify-16.2.3.tgz#7ee6e654ba4f92bce6ab3599c3485b1cc7a0ad0b" - integrity sha512-zQt/Gd1+W+IY+h/xX2NYMW4orQWhqSwyV+xsblycTtpOuB27h1fZhhNQuipJ4t79ohw4P4mMem0jp/ZkISQtjQ== +browserify@^16.2.3: + version "16.5.2" + resolved "https://registry.yarnpkg.com/browserify/-/browserify-16.5.2.tgz#d926835e9280fa5fd57f5bc301f2ef24a972ddfe" + integrity sha512-TkOR1cQGdmXU9zW4YukWzWVSJwrxmNdADFbqbE3HFgQWe5wqZmOawqZ7J/8MPCwk/W8yY7Y0h+7mOtcZxLP23g== dependencies: JSONStream "^1.0.3" assert "^1.4.0" browser-pack "^6.0.1" - browser-resolve "^1.11.0" + browser-resolve "^2.0.0" browserify-zlib "~0.2.0" - buffer "^5.0.2" + buffer "~5.2.1" cached-path-relative "^1.0.0" concat-stream "^1.6.0" console-browserify "^1.1.0" @@ -9130,8 +8990,8 @@ browserify@16.2.3: inherits "~2.0.1" insert-module-globals "^7.0.0" labeled-stream-splicer "^2.0.0" - mkdirp "^0.5.0" - module-deps "^6.0.0" + mkdirp-classic "^0.5.2" + module-deps "^6.2.3" os-browserify "~0.3.0" parents "^1.0.1" path-browserify "~0.0.0" @@ -9144,7 +9004,7 @@ browserify@16.2.3: shasum "^1.0.0" shell-quote "^1.6.1" stream-browserify "^2.0.0" - stream-http "^2.0.0" + stream-http "^3.0.0" string_decoder "^1.1.1" subarg "^1.0.0" syntax-error "^1.1.1" @@ -9156,10 +9016,10 @@ browserify@16.2.3: vm-browserify "^1.0.0" xtend "^4.0.0" -browserify@^16.1.0: - version "16.5.2" - resolved "https://registry.yarnpkg.com/browserify/-/browserify-16.5.2.tgz#d926835e9280fa5fd57f5bc301f2ef24a972ddfe" - integrity sha512-TkOR1cQGdmXU9zW4YukWzWVSJwrxmNdADFbqbE3HFgQWe5wqZmOawqZ7J/8MPCwk/W8yY7Y0h+7mOtcZxLP23g== +browserify@^17.0.0: + version "17.0.0" + resolved "https://registry.yarnpkg.com/browserify/-/browserify-17.0.0.tgz#4c48fed6c02bfa2b51fd3b670fddb805723cdc22" + integrity sha512-SaHqzhku9v/j6XsQMRxPyBrSP3gnwmE27gLJYZgMT2GeK3J0+0toN+MnuNYDfHwVGQfLiMZ7KSNSIXHemy905w== dependencies: JSONStream "^1.0.3" assert "^1.4.0" @@ -9173,31 +9033,31 @@ browserify@^16.1.0: constants-browserify "~1.0.0" crypto-browserify "^3.0.0" defined "^1.0.0" - deps-sort "^2.0.0" + deps-sort "^2.0.1" domain-browser "^1.2.0" duplexer2 "~0.1.2" - events "^2.0.0" + events "^3.0.0" glob "^7.1.0" has "^1.0.0" htmlescape "^1.1.0" https-browserify "^1.0.0" inherits "~2.0.1" - insert-module-globals "^7.0.0" + insert-module-globals "^7.2.1" labeled-stream-splicer "^2.0.0" mkdirp-classic "^0.5.2" module-deps "^6.2.3" os-browserify "~0.3.0" parents "^1.0.1" - path-browserify "~0.0.0" + path-browserify "^1.0.0" process "~0.11.0" punycode "^1.3.2" querystring-es3 "~0.2.0" read-only-stream "^2.0.0" readable-stream "^2.0.2" resolve "^1.1.4" - shasum "^1.0.0" + shasum-object "^1.0.0" shell-quote "^1.6.1" - stream-browserify "^2.0.0" + stream-browserify "^3.0.0" stream-http "^3.0.0" string_decoder "^1.1.1" subarg "^1.0.0" @@ -9206,7 +9066,7 @@ browserify@^16.1.0: timers-browserify "^1.0.1" tty-browserify "0.0.1" url "~0.11.0" - util "~0.10.1" + util "~0.12.0" vm-browserify "^1.0.0" xtend "^4.0.0" @@ -9220,7 +9080,7 @@ browserslist@4.14.2: escalade "^3.0.2" node-releases "^1.1.61" -browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.6.0: +browserslist@^4.0.0, browserslist@^4.12.0: version "4.17.1" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.1.tgz#a98d104f54af441290b7d592626dd541fa642eb9" integrity sha512-aLD0ZMDSnF4lUt4ZDNgqi5BUn9BZ7YdQdI/cYlILrhdSSZJLU9aNZoD5/NBmM4SK34APB2e83MOsRt1EnkuyaQ== @@ -9298,7 +9158,7 @@ buffer@^4.3.0: ieee754 "^1.1.4" isarray "^1.0.0" -buffer@^5.0.2, buffer@^5.2.0, buffer@^5.5.0: +buffer@^5.2.0, buffer@^5.5.0: version "5.6.0" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.6.0.tgz#a31749dc7d81d84db08abf937b6b8c4033f62786" integrity sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw== @@ -9786,7 +9646,7 @@ cheerio@^1.0.0-rc.10, cheerio@^1.0.0-rc.3: parse5-htmlparser2-tree-adapter "^6.0.1" tslib "^2.2.0" -chokidar@3.4.3, chokidar@^2.0.0, chokidar@^2.0.4, chokidar@^2.1.1, chokidar@^2.1.2, chokidar@^2.1.8, chokidar@^3.2.2, chokidar@^3.4.0, chokidar@^3.4.1, chokidar@^3.4.2, chokidar@^3.4.3: +chokidar@3.4.3, chokidar@^2.0.0, chokidar@^2.0.4, chokidar@^2.1.2, chokidar@^2.1.8, chokidar@^3.2.2, chokidar@^3.4.0, chokidar@^3.4.1, chokidar@^3.4.2, chokidar@^3.4.3: version "3.5.1" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.1.tgz#ee9ce7bbebd2b79f49f304799d5468e31e14e68a" integrity sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw== @@ -9830,10 +9690,10 @@ chrome-trace-event@^1.0.2: dependencies: tslib "^1.9.0" -chromedriver@^96.0.0: - version "96.0.0" - resolved "https://registry.yarnpkg.com/chromedriver/-/chromedriver-96.0.0.tgz#c8473498e4c94950fa168187b112019cce9e5c6c" - integrity sha512-4g6Hn5RHGsbaBmOrJbDlz/hdVPOc22eRsbvoAAMqkZxR2NJCcddHzCw2FAQeW8lX/C7xWVz3nyDsKX3fE9lIIw== +chromedriver@^97.0.0: + version "97.0.0" + resolved "https://registry.yarnpkg.com/chromedriver/-/chromedriver-97.0.0.tgz#7005b1a15a6456558d0fc4d5b72c98c12d1b033d" + integrity sha512-SZ9MW+/6/Ypz20CNdRKocsmRM2AJ/YwHaWpA1Np2QVPFUbhjhus6vBtqFD+l8M5qrktLWPQSjTwIsDckNfXIRg== dependencies: "@testim/chrome-version" "^1.0.7" axios "^0.21.2" @@ -10140,7 +10000,7 @@ code-point-at@^1.0.0: resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= -coffeeify@3.0.1: +coffeeify@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/coffeeify/-/coffeeify-3.0.1.tgz#5e2753000c50bd24c693115f33864248dd11136c" integrity sha512-Qjnr7UX6ldK1PHV7wCnv7AuCd4q19KTUtwJnu/6JRJB4rfm12zvcXtKdacUoePOKr1I4ka/ydKiwWpNAdsQb0g== @@ -10148,7 +10008,7 @@ coffeeify@3.0.1: convert-source-map "^1.3.0" through2 "^2.0.0" -coffeescript@1.12.7: +coffeescript@^1.12.7: version "1.12.7" resolved "https://registry.yarnpkg.com/coffeescript/-/coffeescript-1.12.7.tgz#e57ee4c4867cf7f606bfc4a0f2d550c0981ddd27" integrity sha512-pLXHFxQMPklVoEekowk8b3erNynC+DVJzChxS/LCBBgR6/8AJkHivkm//zbowcfc7BTCAjryuhx6gPqPRfsFoA== @@ -10643,7 +10503,7 @@ copy-webpack-plugin@^6.0.2: serialize-javascript "^3.1.0" webpack-sources "^1.4.3" -core-js-compat@^3.1.1, core-js-compat@^3.18.0, core-js-compat@^3.19.1, core-js-compat@^3.8.1: +core-js-compat@^3.18.0, core-js-compat@^3.19.1, core-js-compat@^3.8.1: version "3.19.1" resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.19.1.tgz#fe598f1a9bf37310d77c3813968e9f7c7bb99476" integrity sha512-Q/VJ7jAF/y68+aUsQJ/afPOewdsGkDtcMb40J8MbuWKlK3Y+wtHq8bTHKPj2WKWLIqmS5JhHs4CzHtz6pT2W6g== @@ -10666,10 +10526,10 @@ core-js@^2.4.0, core-js@^2.5.0, core-js@^2.6.9: resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2" integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A== -core-js@^3.0.4, core-js@^3.20.1, core-js@^3.6.5, core-js@^3.8.2, core-js@^3.8.3: - version "3.20.1" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.20.1.tgz#eb1598047b7813572f1dc24b7c6a95528c99eef3" - integrity sha512-btdpStYFQScnNVQ5slVcr858KP0YWYjV16eGJQw8Gg7CWtu/2qNvIM3qVRIR3n1pK2R9NNOrTevbvAYxajwEjg== +core-js@^3.0.4, core-js@^3.6.5, core-js@^3.8.2, core-js@^3.8.3, core-js@^3.20.2: + version "3.20.2" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.20.2.tgz#46468d8601eafc8b266bd2dd6bf9dee622779581" + integrity sha512-nuqhq11DcOAbFBV4zCbKeGbKQsUDRqTX0oqx7AttUBuqe3h20ixsE039QHelbL6P4h+9kytVqyEtyZ6gsiwEYw== core-util-is@1.0.2, core-util-is@^1.0.2, core-util-is@~1.0.0: version "1.0.2" @@ -11247,10 +11107,10 @@ cyclist@~0.2.2: resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640" integrity sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA= -cypress-axe@^0.13.0: - version "0.13.0" - resolved "https://registry.yarnpkg.com/cypress-axe/-/cypress-axe-0.13.0.tgz#3234e1a79a27701f2451fcf2f333eb74204c7966" - integrity sha512-fCIy7RiDCm7t30U3C99gGwQrUO307EYE1QqXNaf9ToK4DVqW8y5on+0a/kUHMrHdlls2rENF6TN9ZPpPpwLrnw== +cypress-axe@^0.14.0: + version "0.14.0" + resolved "https://registry.yarnpkg.com/cypress-axe/-/cypress-axe-0.14.0.tgz#5f5e70fb36b8cb3ba73a8ba01e9262ff1268d5e2" + integrity sha512-7Rdjnko0MjggCmndc1wECAkvQBIhuy+DRtjF7bd5YPZRFvubfMNvrxfqD8PWQmxm7MZE0ffS4Xr43V6ZmvLopg== cypress-cucumber-preprocessor@^2.5.2: version "2.5.5" @@ -11296,29 +11156,29 @@ cypress-react-selector@^2.3.13: dependencies: resq "1.10.1" -cypress-real-events@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/cypress-real-events/-/cypress-real-events-1.5.1.tgz#5eeb86d2a7aad9aa6d5271e288a23e46373915cd" - integrity sha512-Jwi/IJePcZrKyhdtVddaf+mqJrj3y1vpREMDgtWwz+oxvj5FbBpeU0ASu9zpB3bMbsMo7g//buopZIe4jx3iSA== +cypress-real-events@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/cypress-real-events/-/cypress-real-events-1.6.0.tgz#277024b62a324b6937760a700e831e795c021040" + integrity sha512-QxXm0JsQkCrb2uH+fMXNDQ5kNWTzX3OtndBafdsZmNV19j+6JuTK9n52B1YVxrDrr/qzPAojcHJc5PNoQvwp+w== cypress-recurse@^1.13.1: version "1.13.1" resolved "https://registry.yarnpkg.com/cypress-recurse/-/cypress-recurse-1.13.1.tgz#1d026d3381e4de7cf867a5ef592c4161da325fed" integrity sha512-re0djeUInv0JwxhFBSIiZmrJfvUaLTjK9jWsD0oqpnvG1UXGWR69rkXMtMK5HZhxkL7GSk9JiIpm49aWpOnsFA== -cypress@^8.5.0: - version "8.5.0" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-8.5.0.tgz#5712ca170913f8344bf167301205c4217c1eb9bd" - integrity sha512-MMkXIS+Ro2KETn4gAlG3tIc/7FiljuuCZP0zpd9QsRG6MZSyZW/l1J3D4iQM6WHsVxuX4rFChn5jPFlC2tNSvQ== +cypress@^9.2.0: + version "9.2.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-9.2.0.tgz#727c20b4662167890db81d5f6ba615231835b17d" + integrity sha512-Jn26Tprhfzh/a66Sdj9SoaYlnNX6Mjfmj5PHu2a7l3YHXhrgmavM368wjCmgrxC6KHTOv9SpMQGhAJn+upDViA== dependencies: - "@cypress/request" "^2.88.6" + "@cypress/request" "^2.88.10" "@cypress/xvfb" "^1.2.4" "@types/node" "^14.14.31" "@types/sinonjs__fake-timers" "^6.0.2" "@types/sizzle" "^2.3.2" arch "^2.2.0" blob-util "^2.0.2" - bluebird "^3.7.2" + bluebird "3.7.2" cachedir "^2.3.0" chalk "^4.1.0" check-more-types "^2.24.0" @@ -11346,7 +11206,6 @@ cypress@^8.5.0: ospath "^1.2.2" pretty-bytes "^5.6.0" proxy-from-env "1.0.0" - ramda "~0.27.1" request-progress "^3.0.0" supports-color "^8.1.1" tmp "~0.2.1" @@ -11795,6 +11654,13 @@ debug@4.3.2, debug@^4.3.2: dependencies: ms "2.1.2" +debug@4.3.3: + version "4.3.3" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" + integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== + dependencies: + ms "2.1.2" + debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" @@ -12108,7 +11974,7 @@ deprecation@^2.0.0, deprecation@^2.3.1: resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== -deps-sort@^2.0.0: +deps-sort@^2.0.0, deps-sort@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/deps-sort/-/deps-sort-2.0.1.tgz#9dfdc876d2bcec3386b6829ac52162cda9fa208d" integrity sha512-1orqXQr5po+3KI6kQb9A4jnXT1PBwggGl2d7Sq2xsnOeI9GPcE/tGcF9UiSZtZBM7MukY4cAh7MemS6tZYipfw== @@ -14582,16 +14448,6 @@ fs-constants@^1.0.0: resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra@9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.0.tgz#b6afc31036e247b2466dc99c29ae797d5d4580a3" - integrity sha512-pmEYSk3vYsG/bF651KPUXZ+hvjpgWYw/Gc7W9NFUe3ZVLczKKWIij3IKpOrQcdw4TILtibFslZ0UmR8Vvzig4g== - dependencies: - at-least-node "^1.0.0" - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^1.0.0" - fs-extra@^0.30.0: version "0.30.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0" @@ -16090,6 +15946,15 @@ http-signature@~1.2.0: jsprim "^1.2.2" sshpk "^1.7.0" +http-signature@~1.3.6: + version "1.3.6" + resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.3.6.tgz#cb6fbfdf86d1c974f343be94e87f7fc128662cf9" + integrity sha512-3adrsD6zqo4GsTqtO7FyrejHNv+NgiIfAfv68+jVlFmSr9OGy7zrxONceFRLKvnnZA5jbxQBX1u9PpB6Wi32Gw== + dependencies: + assert-plus "^1.0.0" + jsprim "^2.0.2" + sshpk "^1.14.1" + http2-wrapper@^1.0.0-beta.5.2: version "1.0.0-beta.5.2" resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.0-beta.5.2.tgz#8b923deb90144aea65cf834b016a340fc98556f3" @@ -16342,7 +16207,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3, inherits@~2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -16449,6 +16314,22 @@ insert-module-globals@^7.0.0: undeclared-identifiers "^1.1.2" xtend "^4.0.0" +insert-module-globals@^7.2.1: + version "7.2.1" + resolved "https://registry.yarnpkg.com/insert-module-globals/-/insert-module-globals-7.2.1.tgz#d5e33185181a4e1f33b15f7bf100ee91890d5cb3" + integrity sha512-ufS5Qq9RZN+Bu899eA9QCAYThY+gGW7oRkmb0vC93Vlyu/CFGcH0OYPEjVkDXA5FEbTt1+VWzdoOD3Ny9N+8tg== + dependencies: + JSONStream "^1.0.3" + acorn-node "^1.5.2" + combine-source-map "^0.8.0" + concat-stream "^1.6.1" + is-buffer "^1.1.0" + path-is-absolute "^1.0.1" + process "~0.11.0" + through2 "^2.0.0" + undeclared-identifiers "^1.1.2" + xtend "^4.0.0" + install-artifact-from-github@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/install-artifact-from-github/-/install-artifact-from-github-1.2.0.tgz#adcbd123c16a4337ec44ea76d0ebf253cc16b074" @@ -16812,6 +16693,11 @@ is-generator-fn@^2.0.0: resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.0.0.tgz#038c31b774709641bda678b1f06a4e3227c10b3e" integrity sha512-elzyIdM7iKoFHzcrndIqjYomImhxrFRnGP3galODoII4TB9gI7mZ+FnlLQmmjf27SxHS2gKEeyhX5/+YRS6H9g== +is-generator-function@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.7.tgz#d2132e529bb0000a7f80794d4bdf5cd5e5813522" + integrity sha512-YZc5EwyO4f2kWCax7oegfuSr9mFz1ZvieNYBEjmukLxgXfBUbxAWGVF7GZf0zidYtoBl3WvC07YK0wT76a+Rtw== + is-generator@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/is-generator/-/is-generator-1.0.3.tgz#c14c21057ed36e328db80347966c693f886389f3" @@ -18036,7 +17922,7 @@ js-cookie@^2.2.1: resolved "https://registry.yarnpkg.com/js-cookie/-/js-cookie-2.2.1.tgz#69e106dc5d5806894562902aa5baec3744e9b2b8" integrity sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ== -js-levenshtein@^1.1.3, js-levenshtein@^1.1.6: +js-levenshtein@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g== @@ -18211,7 +18097,7 @@ json-schema-traverse@^1.0.0: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== -json-schema@0.2.3, json-schema@^0.4.0: +json-schema@0.2.3, json-schema@0.4.0, json-schema@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== @@ -18269,7 +18155,7 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" -json5@^2.1.0, json5@^2.1.2, json5@^2.1.3: +json5@^2.1.2, json5@^2.1.3: version "2.2.0" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.0.tgz#2dfefe720c6ba525d9ebd909950f0515316c89a3" integrity sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA== @@ -18343,6 +18229,16 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" +jsprim@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-2.0.2.tgz#77ca23dbcd4135cd364800d22ff82c2185803d4d" + integrity sha512-gqXddjPqQ6G40VdnI6T6yObEC+pDNvyP95wdQhkWkg7crHH3km5qP1FsOXEkzEQwnz6gz5qGTn1c2Y52wP3OyQ== + dependencies: + assert-plus "1.0.0" + extsprintf "1.3.0" + json-schema "0.4.0" + verror "1.10.0" + jssha@^2.1.0: version "2.3.1" resolved "https://registry.yarnpkg.com/jssha/-/jssha-2.3.1.tgz#147b2125369035ca4b2f7d210dc539f009b3de9a" @@ -18869,7 +18765,7 @@ lodash.camelcase@^4.3.0: resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" integrity sha1-soqmKIorn8ZRA1x3EfZathkDMaY= -lodash.clonedeep@4.5.0, lodash.clonedeep@^4.5.0: +lodash.clonedeep@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= @@ -20081,7 +19977,7 @@ mock-http-server@1.3.0: multiparty "^4.1.2" underscore "^1.8.3" -module-deps@^6.0.0, module-deps@^6.2.3: +module-deps@^6.2.3: version "6.2.3" resolved "https://registry.yarnpkg.com/module-deps/-/module-deps-6.2.3.tgz#15490bc02af4b56cf62299c7c17cba32d71a96ee" integrity sha512-fg7OZaQBcL4/L+AK5f4iVqf9OMbCclXfy/znXRxTVhJSeW5AIlS9AwheYwDaXM3lVW7OBeaeUEY3gbaC6cLlSA== @@ -21700,7 +21596,7 @@ path-browserify@0.0.1, path-browserify@~0.0.0: resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" integrity sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ== -path-browserify@^1.0.1: +path-browserify@^1.0.0, path-browserify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz#d98454a9c3753d5790860f16f68867b9e46be1fd" integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== @@ -23137,7 +23033,7 @@ ramda@^0.26: resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.26.1.tgz#8d41351eb8111c55353617fc3bbffad8e4d35d06" integrity sha512-hLWjpy7EnsDBb0p+Z3B7rPi3GDeRG5ZtiI33kJhTt+ORCd38AbAIjB/9zRIUoeTbE/AVX5ZkU7m6bznsvrf8eQ== -ramda@^0.27.1, ramda@~0.27.1: +ramda@^0.27.1: version "0.27.1" resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.27.1.tgz#66fc2df3ef873874ffc2da6aa8984658abacf5c9" integrity sha512-PgIdVpn5y5Yns8vqb8FzBUEYn98V3xcPgawAkkgj0YJ0qDsnHCiNmZYfOGMgOvoB0eWFLpYbhxUR3mxfDIMvpw== @@ -24047,7 +23943,7 @@ read-pkg@^5.2.0: parse-json "^5.0.0" type-fest "^0.6.0" -"readable-stream@1 || 2", "readable-stream@2 || 3", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@^2.3.7, readable-stream@~2.3.3, readable-stream@~2.3.6: +"readable-stream@1 || 2", "readable-stream@2 || 3", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.7, readable-stream@~2.3.3, readable-stream@~2.3.6: version "2.3.7" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== @@ -24070,7 +23966,7 @@ readable-stream@1.0, "readable-stream@>=1.0.33-1 <1.1.0-0", readable-stream@~1.0 isarray "0.0.1" string_decoder "~0.10.x" -readable-stream@3, readable-stream@^3.0.2, readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: +readable-stream@3, readable-stream@^3.0.2, readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -24829,7 +24725,7 @@ resolve@1.1.7: resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@^1.1.10, resolve@^1.1.4, resolve@^1.1.5, resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.18.1, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.3.2, resolve@^1.3.3, resolve@^1.4.0, resolve@^1.7.1, resolve@^1.8.1: +resolve@^1.1.10, resolve@^1.1.4, resolve@^1.1.5, resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.18.1, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.3.2, resolve@^1.3.3, resolve@^1.4.0, resolve@^1.7.1: version "1.20.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== @@ -25284,10 +25180,10 @@ select-hose@^2.0.0: resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" integrity sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo= -selenium-webdriver@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/selenium-webdriver/-/selenium-webdriver-4.1.0.tgz#d11e5d43674e2718265a30684bcbf6ec734fd3bd" - integrity sha512-kUDH4N8WruYprTzvug4Pl73Th+WKb5YiLz8z/anOpHyUNUdM3UzrdTOxmSNaf9AczzBeY+qXihzku8D1lMaKOg== +selenium-webdriver@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/selenium-webdriver/-/selenium-webdriver-4.1.1.tgz#da083177d811f36614950e809e2982570f67d02e" + integrity sha512-Fr9e9LC6zvD6/j7NO8M1M/NVxFX67abHcxDJoP5w2KN/Xb1SyYLjMVPGgD14U2TOiKe4XKHf42OmFw9g2JgCBQ== dependencies: jszip "^3.6.0" tmp "^0.2.1" @@ -25321,7 +25217,7 @@ semver-greatest-satisfied-range@^1.1.0: dependencies: sver-compat "^1.5.0" -"semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: +"semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -26113,10 +26009,10 @@ sql-summary@^1.0.1: resolved "https://registry.yarnpkg.com/sql-summary/-/sql-summary-1.0.1.tgz#a2dddb5435bae294eb11424a7330dc5bafe09c2b" integrity sha512-IpCr2tpnNkP3Jera4ncexsZUp0enJBLr+pHCyTweMUBrbJsTgQeLWx1FXLhoBj/MvcnUQpkgOn2EY8FKOkUzww== -sshpk@^1.7.0: - version "1.15.2" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.15.2.tgz#c946d6bd9b1a39d0e8635763f5242d6ed6dcb629" - integrity sha512-Ra/OXQtuh0/enyl4ETZAfTaeksa6BXks5ZcjpSUNrjBr0DvrJKX+1fsKDPpT9TBXgHAFsa4510aNVgI8g/+SzA== +sshpk@^1.14.1, sshpk@^1.7.0: + version "1.16.1" + resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" + integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg== dependencies: asn1 "~0.2.3" assert-plus "^1.0.0" @@ -26312,6 +26208,14 @@ stream-browserify@^2.0.1: inherits "~2.0.1" readable-stream "^2.0.2" +stream-browserify@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" + integrity sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA== + dependencies: + inherits "~2.0.4" + readable-stream "^3.5.0" + stream-chopper@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/stream-chopper/-/stream-chopper-3.0.1.tgz#73791ae7bf954c297d6683aec178648efc61dd75" @@ -26340,17 +26244,6 @@ stream-exhaust@^1.0.1: resolved "https://registry.yarnpkg.com/stream-exhaust/-/stream-exhaust-1.0.2.tgz#acdac8da59ef2bc1e17a2c0ccf6c320d120e555d" integrity sha512-b/qaq/GlBK5xaq1yrK9/zFcyRSTNxmcZwFLGSTG0mXgZl/4Z6GgiyYOXOvY7N3eEvFRAG1bkDRz5EPGSvPYQlw== -stream-http@^2.0.0: - version "2.8.3" - resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" - integrity sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw== - dependencies: - builtin-status-codes "^3.0.0" - inherits "^2.0.1" - readable-stream "^2.3.6" - to-arraybuffer "^1.0.0" - xtend "^4.0.0" - stream-http@^2.7.2: version "2.8.0" resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.0.tgz#fd86546dac9b1c91aff8fc5d287b98fafb41bc10" @@ -28661,6 +28554,16 @@ util@~0.10.1: dependencies: inherits "2.0.3" +util@~0.12.0: + version "0.12.2" + resolved "https://registry.yarnpkg.com/util/-/util-0.12.2.tgz#54adb634c9e7c748707af2bf5a8c7ab640cbba2b" + integrity sha512-XE+MkWQvglYa+IOfBt5UFG93EmncEMP23UqpgDvVZVFBPxwmkK10QRp6pgU4xICPnWRf/t0zPv4noYSUq9gqUQ== + dependencies: + inherits "^2.0.3" + is-arguments "^1.0.4" + is-generator-function "^1.0.7" + safe-buffer "^5.1.2" + utila@^0.4.0, utila@~0.4: version "0.4.0" resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" @@ -29331,18 +29234,18 @@ warning@^4.0.2, warning@^4.0.3: dependencies: loose-envify "^1.0.0" -watchify@3.11.1: - version "3.11.1" - resolved "https://registry.yarnpkg.com/watchify/-/watchify-3.11.1.tgz#8e4665871fff1ef64c0430d1a2c9d084d9721881" - integrity sha512-WwnUClyFNRMB2NIiHgJU9RQPQNqVeFk7OmZaWf5dC5EnNa0Mgr7imBydbaJ7tGTuPM2hz1Cb4uiBvK9NVxMfog== +watchify@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/watchify/-/watchify-4.0.0.tgz#53b002d51e7b0eb640b851bb4de517a689973392" + integrity sha512-2Z04dxwoOeNxa11qzWumBTgSAohTC0+ScuY7XMenPnH+W2lhTcpEOJP4g2EIG/SWeLadPk47x++Yh+8BqPM/lA== dependencies: - anymatch "^2.0.0" - browserify "^16.1.0" - chokidar "^2.1.1" + anymatch "^3.1.0" + browserify "^17.0.0" + chokidar "^3.4.0" defined "^1.0.0" outpipe "^1.1.0" - through2 "^2.0.0" - xtend "^4.0.0" + through2 "^4.0.2" + xtend "^4.0.2" watchpack-chokidar2@^2.0.0: version "2.0.0"