mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
backport [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/search-kibana
(#202837) (#205215)
Backport #202837 to 8.x --------- Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
e4ca5b0e20
commit
d7c2caf486
3766 changed files with 2926 additions and 2970 deletions
17
.eslintrc.js
17
.eslintrc.js
|
@ -1596,7 +1596,7 @@ module.exports = {
|
|||
*/
|
||||
{
|
||||
// All files
|
||||
files: ['x-pack/plugins/enterprise_search/**/*.{ts,tsx}'],
|
||||
files: ['x-pack/solutions/search/plugins/enterprise_search/**/*.{ts,tsx}'],
|
||||
rules: {
|
||||
'import/order': [
|
||||
'error',
|
||||
|
@ -1648,7 +1648,7 @@ module.exports = {
|
|||
* Allows snake_case variables in the server, because that's how we return API properties
|
||||
*/
|
||||
{
|
||||
files: ['x-pack/plugins/enterprise_search/server/**/*.{ts,tsx}'],
|
||||
files: ['x-pack/solutions/search/plugins/enterprise_search/server/**/*.{ts,tsx}'],
|
||||
rules: {
|
||||
'@typescript-eslint/naming-convention': [
|
||||
'error',
|
||||
|
@ -1670,8 +1670,10 @@ module.exports = {
|
|||
},
|
||||
{
|
||||
// Source files only - allow `any` in test/mock files
|
||||
files: ['x-pack/plugins/enterprise_search/**/*.{ts,tsx}'],
|
||||
excludedFiles: ['x-pack/plugins/enterprise_search/**/*.{test,mock,test_helper}.{ts,tsx}'],
|
||||
files: ['x-pack/solutions/search/plugins/enterprise_search/**/*.{ts,tsx}'],
|
||||
excludedFiles: [
|
||||
'x-pack/solutions/search/plugins/enterprise_search/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
],
|
||||
rules: {
|
||||
'@typescript-eslint/no-explicit-any': 'error',
|
||||
},
|
||||
|
@ -1682,7 +1684,10 @@ module.exports = {
|
|||
*/
|
||||
{
|
||||
// All files
|
||||
files: ['x-pack/plugins/serverless_search/**/*.{ts,tsx}', 'packages/kbn-search-*'],
|
||||
files: [
|
||||
'x-pack/solutions/search/plugins/serverless_search/**/*.{ts,tsx}',
|
||||
'packages/kbn-search-*',
|
||||
],
|
||||
rules: {
|
||||
'@kbn/telemetry/event_generating_elements_should_be_instrumented': 'error',
|
||||
},
|
||||
|
@ -1961,7 +1966,7 @@ module.exports = {
|
|||
* Lints unnecessary backticks - @see https://github.com/prettier/eslint-config-prettier/blob/main/README.md#forbid-unnecessary-backticks
|
||||
*/
|
||||
{
|
||||
files: ['x-pack/plugins/enterprise_search/**/*.{ts,tsx}'],
|
||||
files: ['x-pack/solutions/search/plugins/enterprise_search/**/*.{ts,tsx}'],
|
||||
rules: {
|
||||
quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: false }],
|
||||
},
|
||||
|
|
46
.github/CODEOWNERS
vendored
46
.github/CODEOWNERS
vendored
|
@ -10,7 +10,7 @@ x-pack/platform/plugins/shared/actions @elastic/response-ops
|
|||
x-pack/test/alerting_api_integration/common/plugins/actions_simulators @elastic/response-ops
|
||||
src/platform/packages/shared/kbn-actions-types @elastic/response-ops
|
||||
src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management
|
||||
x-pack/packages/kbn-ai-assistant @elastic/search-kibana
|
||||
x-pack/platform/packages/shared/kbn-ai-assistant @elastic/search-kibana
|
||||
x-pack/platform/packages/shared/ai-assistant/common @elastic/search-kibana
|
||||
x-pack/platform/packages/shared/ai-assistant/icon @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant
|
||||
|
@ -375,7 +375,7 @@ src/platform/packages/shared/deeplinks/fleet @elastic/fleet
|
|||
src/platform/packages/shared/deeplinks/management @elastic/kibana-management
|
||||
src/platform/packages/shared/deeplinks/ml @elastic/ml-ui
|
||||
src/platform/packages/shared/deeplinks/observability @elastic/obs-ux-management-team
|
||||
packages/deeplinks/search @elastic/search-kibana
|
||||
src/platform/packages/shared/deeplinks/search @elastic/search-kibana
|
||||
src/platform/packages/shared/deeplinks/security @elastic/security-solution
|
||||
packages/deeplinks/shared @elastic/appex-sharedux
|
||||
packages/default-nav/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations
|
||||
|
@ -412,7 +412,7 @@ examples/embeddable_examples @elastic/kibana-presentation
|
|||
src/platform/plugins/shared/embeddable @elastic/kibana-presentation
|
||||
x-pack/examples/embedded_lens_example @elastic/kibana-visualizations
|
||||
x-pack/plugins/encrypted_saved_objects @elastic/kibana-security
|
||||
x-pack/plugins/enterprise_search @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/enterprise_search @elastic/search-kibana
|
||||
x-pack/solutions/observability/plugins/observability_solution/entities_data_access @elastic/obs-entities
|
||||
x-pack/platform/packages/shared/kbn-entities-schema @elastic/obs-entities
|
||||
x-pack/test/api_integration/apis/entity_manager/fixture_plugin @elastic/obs-entities
|
||||
|
@ -552,7 +552,7 @@ x-pack/solutions/observability/plugins/investigate_app @elastic/obs-ux-managemen
|
|||
x-pack/solutions/observability/plugins/investigate @elastic/obs-ux-management-team
|
||||
x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team
|
||||
src/platform/packages/shared/kbn-io-ts-utils @elastic/obs-knowledge-team
|
||||
packages/kbn-ipynb @elastic/search-kibana
|
||||
x-pack/solutions/search/packages/kbn-ipynb @elastic/search-kibana
|
||||
packages/kbn-jest-serializers @elastic/kibana-operations
|
||||
packages/kbn-journeys @elastic/kibana-operations @elastic/appex-qa
|
||||
packages/kbn-json-ast @elastic/kibana-operations
|
||||
|
@ -787,23 +787,23 @@ src/plugins/screenshot_mode @elastic/appex-sharedux
|
|||
x-pack/examples/screenshotting_example @elastic/appex-sharedux
|
||||
x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services
|
||||
packages/kbn-screenshotting-server @elastic/appex-sharedux
|
||||
packages/kbn-search-api-keys-components @elastic/search-kibana
|
||||
packages/kbn-search-api-keys-server @elastic/search-kibana
|
||||
packages/kbn-search-api-panels @elastic/search-kibana
|
||||
x-pack/plugins/search_assistant @elastic/search-kibana
|
||||
packages/kbn-search-connectors @elastic/search-kibana
|
||||
x-pack/plugins/search_connectors @elastic/search-kibana
|
||||
x-pack/solutions/search/packages/kbn-search-api-keys-components @elastic/search-kibana
|
||||
x-pack/solutions/search/packages/kbn-search-api-keys-server @elastic/search-kibana
|
||||
src/platform/packages/shared/kbn-search-api-panels @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/search_assistant @elastic/search-kibana
|
||||
src/platform/packages/shared/kbn-search-connectors @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/search_connectors @elastic/search-kibana
|
||||
packages/kbn-search-errors @elastic/kibana-data-discovery
|
||||
examples/search_examples @elastic/kibana-data-discovery
|
||||
x-pack/plugins/search_homepage @elastic/search-kibana
|
||||
packages/kbn-search-index-documents @elastic/search-kibana
|
||||
x-pack/plugins/search_indices @elastic/search-kibana
|
||||
x-pack/plugins/search_inference_endpoints @elastic/search-kibana
|
||||
x-pack/plugins/search_solution/search_navigation @elastic/search-kibana
|
||||
x-pack/plugins/search_notebooks @elastic/search-kibana
|
||||
x-pack/plugins/search_playground @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/search_homepage @elastic/search-kibana
|
||||
x-pack/solutions/search/packages/kbn-search-index-documents @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/search_indices @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/search_inference_endpoints @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/search_solution/search_navigation @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/search_notebooks @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/search_playground @elastic/search-kibana
|
||||
packages/kbn-search-response-warnings @elastic/kibana-data-discovery
|
||||
x-pack/packages/search/shared_ui @elastic/search-kibana
|
||||
x-pack/solutions/search/packages/search/shared_ui @elastic/search-kibana
|
||||
packages/kbn-search-types @elastic/kibana-data-discovery
|
||||
x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management
|
||||
x-pack/test/security_api_integration/packages/helpers @elastic/kibana-security
|
||||
|
@ -858,8 +858,8 @@ packages/serverless/settings/common @elastic/appex-sharedux @elastic/kibana-mana
|
|||
x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team
|
||||
packages/serverless/settings/observability_project @elastic/appex-sharedux @elastic/kibana-management @elastic/obs-ux-management-team
|
||||
packages/serverless/project_switcher @elastic/appex-sharedux
|
||||
x-pack/plugins/serverless_search @elastic/search-kibana
|
||||
packages/serverless/settings/search_project @elastic/search-kibana @elastic/kibana-management
|
||||
x-pack/solutions/search/plugins/serverless_search @elastic/search-kibana
|
||||
src/platform/packages/shared/serverless/settings/search_project @elastic/search-kibana @elastic/kibana-management
|
||||
src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management
|
||||
packages/serverless/storybook/config @elastic/appex-sharedux
|
||||
packages/serverless/types @elastic/appex-sharedux
|
||||
|
@ -979,7 +979,7 @@ packages/kbn-transpose-utils @elastic/kibana-visualizations
|
|||
x-pack/examples/triggers_actions_ui_example @elastic/response-ops
|
||||
x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops
|
||||
src/platform/packages/shared/kbn-triggers-actions-ui-types @elastic/response-ops
|
||||
packages/kbn-try-in-console @elastic/search-kibana
|
||||
src/platform/packages/shared/kbn-try-in-console @elastic/search-kibana
|
||||
packages/kbn-ts-projects @elastic/kibana-operations
|
||||
packages/kbn-ts-type-check-cli @elastic/kibana-operations
|
||||
src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-management-team
|
||||
|
@ -1530,7 +1530,7 @@ x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kib
|
|||
/x-pack/test/functional/apps/ingest_pipelines/feature_controls/ingest_pipelines_security.ts @elastic/search-kibana
|
||||
/x-pack/test/functional/page_objects/embedded_console.ts @elastic/search-kibana
|
||||
/x-pack/test/functional_enterprise_search/ @elastic/search-kibana
|
||||
/x-pack/plugins/enterprise_search/public/applications/shared/doc_links @elastic/platform-docs
|
||||
/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/doc_links @elastic/platform-docs
|
||||
/x-pack/test_serverless/api_integration/test_suites/search/serverless_search @elastic/search-kibana
|
||||
/x-pack/test_serverless/functional/test_suites/search/ @elastic/search-kibana
|
||||
/x-pack/test_serverless/functional/test_suites/search/config.ts @elastic/search-kibana @elastic/appex-qa
|
||||
|
@ -1931,7 +1931,7 @@ x-pack/solutions/security/plugins/security_solution/server/lib/security_integrat
|
|||
/x-pack/platform/plugins/private/monitoring/**/*.scss @elastic/observability-design
|
||||
|
||||
# Ent. Search design
|
||||
/x-pack/plugins/enterprise_search/**/*.scss @elastic/search-design
|
||||
/x-pack/solutions/search/plugins/enterprise_search/**/*.scss @elastic/search-design
|
||||
|
||||
# Security design
|
||||
/x-pack/plugins/endpoint/**/*.scss @elastic/security-design
|
||||
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -100,8 +100,8 @@ x-pack/platform/plugins/shared/fleet/cypress.config.d.ts
|
|||
x-pack/platform/plugins/shared/fleet/cypress.config.js
|
||||
x-pack/platform/plugins/shared/osquery/cypress.config.d.ts
|
||||
x-pack/platform/plugins/shared/osquery/cypress.config.js
|
||||
x-pack/plugins/enterprise_search/cypress.config.d.ts
|
||||
x-pack/plugins/enterprise_search/cypress.config.js
|
||||
x-pack/solutions/search/plugins/enterprise_search/cypress.config.d.ts
|
||||
x-pack/solutions/search/plugins/enterprise_search/cypress.config.js
|
||||
x-pack/solutions/security/plugins/security_solution/public/management/cypress.config.d.ts
|
||||
x-pack/solutions/security/plugins/security_solution/public/management/cypress.config.js
|
||||
x-pack/solutions/security/plugins/security_solution/public/management/cypress_endpoint.config.d.ts
|
||||
|
|
12
.i18nrc.json
12
.i18nrc.json
|
@ -109,15 +109,15 @@
|
|||
"savedObjects": "src/plugins/saved_objects",
|
||||
"savedObjectsFinder": "src/plugins/saved_objects_finder",
|
||||
"savedObjectsManagement": "src/plugins/saved_objects_management",
|
||||
"searchConnectors": "packages/kbn-search-connectors",
|
||||
"searchConnectorsPlugin": "x-pack/plugins/search_connectors",
|
||||
"searchConnectors": "src/platform/packages/shared/kbn-search-connectors",
|
||||
"searchConnectorsPlugin": "x-pack/solutions/search/plugins/search_connectors",
|
||||
"server": "src/legacy/server",
|
||||
"share": ["src/plugins/share", "packages/kbn-reporting-share"],
|
||||
"sharedUXPackages": "packages/shared-ux",
|
||||
"searchApiKeysComponents": "packages/kbn-search-api-keys-components",
|
||||
"searchApiPanels": "packages/kbn-search-api-panels/",
|
||||
"searchApiKeysComponents": "x-pack/solutions/search/packages/kbn-search-api-keys-components",
|
||||
"searchApiPanels": "src/platform/packages/shared/kbn-search-api-panels/",
|
||||
"searchErrors": "packages/kbn-search-errors",
|
||||
"searchIndexDocuments": "packages/kbn-search-index-documents",
|
||||
"searchIndexDocuments": "x-pack/solutions/search/packages/kbn-search-index-documents",
|
||||
"searchResponseWarnings": "packages/kbn-search-response-warnings",
|
||||
"searchTypes": "packages/kbn-search-types",
|
||||
"securitySolutionPackages": [
|
||||
|
@ -139,7 +139,7 @@
|
|||
"statusPage": "src/legacy/core_plugins/status_page",
|
||||
"telemetry": ["src/plugins/telemetry", "src/plugins/telemetry_management_section"],
|
||||
"timelion": ["src/plugins/vis_types/timelion"],
|
||||
"tryInConsole": "packages/kbn-try-in-console/",
|
||||
"tryInConsole": "src/platform/packages/shared/kbn-try-in-console/",
|
||||
"uiActions": ["src/plugins/ui_actions", "packages/kbn-ui-actions-browser"],
|
||||
"uiActionsEnhanced": "src/plugins/ui_actions_enhanced",
|
||||
"uiActionsExamples": "examples/ui_action_examples",
|
||||
|
|
|
@ -568,7 +568,7 @@ adds dynamic actions to every embeddables state, in order to support drilldowns.
|
|||
security and spaces filtering.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/enterprise_search/README.md[enterpriseSearch]
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/enterprise_search/README.md[enterpriseSearch]
|
||||
|This plugin provides Kibana user interfaces for managing the Enterprise Search solution and its products, App Search and Workplace Search.
|
||||
|
||||
|
||||
|
@ -817,35 +817,35 @@ Elastic.
|
|||
It uses Chromium and Puppeteer underneath to run the browser in headless mode.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/search_assistant/README.md[searchAssistant]
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_assistant/README.md[searchAssistant]
|
||||
|This holds the Search AI Assistant which targets Search users and Serverless Elasticsearch.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/search_connectors/README.mdx[searchConnectors]
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_connectors/README.mdx[searchConnectors]
|
||||
|This plugin contains common assets and endpoints for the use of connectors in Kibana. Primarily used by the enterprise_search and serverless_search plugins.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/search_homepage/README.mdx[searchHomepage]
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_homepage/README.mdx[searchHomepage]
|
||||
|The Search Homepage is a shared homepage for elasticsearch users.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/search_indices/README.mdx[searchIndices]
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_indices/README.mdx[searchIndices]
|
||||
|The Search Indices plugin is a shared set of pages for elasticsearch users across stack and serverless search solutions.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/search_inference_endpoints/README.md[searchInferenceEndpoints]
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_inference_endpoints/README.md[searchInferenceEndpoints]
|
||||
|The Inference Endpoints is a tool used to manage inference endpoints
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/search_solution/search_navigation/README.mdx[searchNavigation]
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_solution/search_navigation/README.mdx[searchNavigation]
|
||||
|The Search Navigation plugin is used to handle navigation for search solution plugins across both stack and serverless.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/search_notebooks/README.mdx[searchNotebooks]
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_notebooks/README.mdx[searchNotebooks]
|
||||
|This plugin contains endpoints and components for rendering search python notebooks in the persistent dev console.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/search_playground/README.md[searchPlayground]
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_playground/README.md[searchPlayground]
|
||||
|The Search Playground is a tool for developers to experiment with their own data using LLMs.
|
||||
|
||||
|
||||
|
@ -883,7 +883,7 @@ This plugin is only enabled when the application is built for serverless project
|
|||
|This plugin contains configuration and code used to create a Serverless Observability project. It leverages universal configuration and other APIs in the serverless plugin to configure Kibana.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/serverless_search/README.mdx[serverlessSearch]
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/serverless_search/README.mdx[serverlessSearch]
|
||||
|This plugin contains configuration and code used to create a Serverless Search project. It leverages universal configuration and other APIs in the serverless plugin to configure Kibana.
|
||||
|
||||
|
||||
|
|
42
package.json
42
package.json
|
@ -157,7 +157,7 @@
|
|||
"@kbn/actions-simulators-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/actions_simulators",
|
||||
"@kbn/actions-types": "link:src/platform/packages/shared/kbn-actions-types",
|
||||
"@kbn/advanced-settings-plugin": "link:src/plugins/advanced_settings",
|
||||
"@kbn/ai-assistant": "link:x-pack/packages/kbn-ai-assistant",
|
||||
"@kbn/ai-assistant": "link:x-pack/platform/packages/shared/kbn-ai-assistant",
|
||||
"@kbn/ai-assistant-common": "link:x-pack/platform/packages/shared/ai-assistant/common",
|
||||
"@kbn/ai-assistant-icon": "link:x-pack/platform/packages/shared/ai-assistant/icon",
|
||||
"@kbn/ai-assistant-management-plugin": "link:src/platform/plugins/shared/ai_assistant_management/selection",
|
||||
|
@ -444,7 +444,7 @@
|
|||
"@kbn/deeplinks-management": "link:src/platform/packages/shared/deeplinks/management",
|
||||
"@kbn/deeplinks-ml": "link:src/platform/packages/shared/deeplinks/ml",
|
||||
"@kbn/deeplinks-observability": "link:src/platform/packages/shared/deeplinks/observability",
|
||||
"@kbn/deeplinks-search": "link:packages/deeplinks/search",
|
||||
"@kbn/deeplinks-search": "link:src/platform/packages/shared/deeplinks/search",
|
||||
"@kbn/deeplinks-security": "link:src/platform/packages/shared/deeplinks/security",
|
||||
"@kbn/deeplinks-shared": "link:packages/deeplinks/shared",
|
||||
"@kbn/default-nav-analytics": "link:packages/default-nav/analytics",
|
||||
|
@ -475,7 +475,7 @@
|
|||
"@kbn/embeddable-plugin": "link:src/platform/plugins/shared/embeddable",
|
||||
"@kbn/embedded-lens-example-plugin": "link:x-pack/examples/embedded_lens_example",
|
||||
"@kbn/encrypted-saved-objects-plugin": "link:x-pack/plugins/encrypted_saved_objects",
|
||||
"@kbn/enterprise-search-plugin": "link:x-pack/plugins/enterprise_search",
|
||||
"@kbn/enterprise-search-plugin": "link:x-pack/solutions/search/plugins/enterprise_search",
|
||||
"@kbn/entities-data-access-plugin": "link:x-pack/solutions/observability/plugins/observability_solution/entities_data_access",
|
||||
"@kbn/entities-schema": "link:x-pack/platform/packages/shared/kbn-entities-schema",
|
||||
"@kbn/entity-manager-fixture-plugin": "link:x-pack/test/api_integration/apis/entity_manager/fixture_plugin",
|
||||
|
@ -594,7 +594,7 @@
|
|||
"@kbn/investigate-plugin": "link:x-pack/solutions/observability/plugins/investigate",
|
||||
"@kbn/investigation-shared": "link:x-pack/solutions/observability/packages/kbn-investigation-shared",
|
||||
"@kbn/io-ts-utils": "link:src/platform/packages/shared/kbn-io-ts-utils",
|
||||
"@kbn/ipynb": "link:packages/kbn-ipynb",
|
||||
"@kbn/ipynb": "link:x-pack/solutions/search/packages/kbn-ipynb",
|
||||
"@kbn/json-schemas": "link:x-pack/platform/packages/private/ml/json_schemas",
|
||||
"@kbn/kbn-health-gateway-status-plugin": "link:test/health_gateway/plugins/status",
|
||||
"@kbn/kbn-sample-panel-action-plugin": "link:test/plugin_functional/plugins/kbn_sample_panel_action",
|
||||
|
@ -796,23 +796,23 @@
|
|||
"@kbn/screenshotting-example-plugin": "link:x-pack/examples/screenshotting_example",
|
||||
"@kbn/screenshotting-plugin": "link:x-pack/platform/plugins/shared/screenshotting",
|
||||
"@kbn/screenshotting-server": "link:packages/kbn-screenshotting-server",
|
||||
"@kbn/search-api-keys-components": "link:packages/kbn-search-api-keys-components",
|
||||
"@kbn/search-api-keys-server": "link:packages/kbn-search-api-keys-server",
|
||||
"@kbn/search-api-panels": "link:packages/kbn-search-api-panels",
|
||||
"@kbn/search-assistant": "link:x-pack/plugins/search_assistant",
|
||||
"@kbn/search-connectors": "link:packages/kbn-search-connectors",
|
||||
"@kbn/search-connectors-plugin": "link:x-pack/plugins/search_connectors",
|
||||
"@kbn/search-api-keys-components": "link:x-pack/solutions/search/packages/kbn-search-api-keys-components",
|
||||
"@kbn/search-api-keys-server": "link:x-pack/solutions/search/packages/kbn-search-api-keys-server",
|
||||
"@kbn/search-api-panels": "link:src/platform/packages/shared/kbn-search-api-panels",
|
||||
"@kbn/search-assistant": "link:x-pack/solutions/search/plugins/search_assistant",
|
||||
"@kbn/search-connectors": "link:src/platform/packages/shared/kbn-search-connectors",
|
||||
"@kbn/search-connectors-plugin": "link:x-pack/solutions/search/plugins/search_connectors",
|
||||
"@kbn/search-errors": "link:packages/kbn-search-errors",
|
||||
"@kbn/search-examples-plugin": "link:examples/search_examples",
|
||||
"@kbn/search-homepage": "link:x-pack/plugins/search_homepage",
|
||||
"@kbn/search-index-documents": "link:packages/kbn-search-index-documents",
|
||||
"@kbn/search-indices": "link:x-pack/plugins/search_indices",
|
||||
"@kbn/search-inference-endpoints": "link:x-pack/plugins/search_inference_endpoints",
|
||||
"@kbn/search-navigation": "link:x-pack/plugins/search_solution/search_navigation",
|
||||
"@kbn/search-notebooks": "link:x-pack/plugins/search_notebooks",
|
||||
"@kbn/search-playground": "link:x-pack/plugins/search_playground",
|
||||
"@kbn/search-homepage": "link:x-pack/solutions/search/plugins/search_homepage",
|
||||
"@kbn/search-index-documents": "link:x-pack/solutions/search/packages/kbn-search-index-documents",
|
||||
"@kbn/search-indices": "link:x-pack/solutions/search/plugins/search_indices",
|
||||
"@kbn/search-inference-endpoints": "link:x-pack/solutions/search/plugins/search_inference_endpoints",
|
||||
"@kbn/search-navigation": "link:x-pack/solutions/search/plugins/search_solution/search_navigation",
|
||||
"@kbn/search-notebooks": "link:x-pack/solutions/search/plugins/search_notebooks",
|
||||
"@kbn/search-playground": "link:x-pack/solutions/search/plugins/search_playground",
|
||||
"@kbn/search-response-warnings": "link:packages/kbn-search-response-warnings",
|
||||
"@kbn/search-shared-ui": "link:x-pack/packages/search/shared_ui",
|
||||
"@kbn/search-shared-ui": "link:x-pack/solutions/search/packages/search/shared_ui",
|
||||
"@kbn/search-types": "link:packages/kbn-search-types",
|
||||
"@kbn/searchprofiler-plugin": "link:x-pack/platform/plugins/shared/searchprofiler",
|
||||
"@kbn/security-api-key-management": "link:x-pack/packages/security/api_key_management",
|
||||
|
@ -866,8 +866,8 @@
|
|||
"@kbn/serverless-observability": "link:x-pack/solutions/observability/plugins/serverless_observability",
|
||||
"@kbn/serverless-observability-settings": "link:packages/serverless/settings/observability_project",
|
||||
"@kbn/serverless-project-switcher": "link:packages/serverless/project_switcher",
|
||||
"@kbn/serverless-search": "link:x-pack/plugins/serverless_search",
|
||||
"@kbn/serverless-search-settings": "link:packages/serverless/settings/search_project",
|
||||
"@kbn/serverless-search": "link:x-pack/solutions/search/plugins/serverless_search",
|
||||
"@kbn/serverless-search-settings": "link:src/platform/packages/shared/serverless/settings/search_project",
|
||||
"@kbn/serverless-security-settings": "link:src/platform/packages/shared/serverless/settings/security_project",
|
||||
"@kbn/serverless-types": "link:packages/serverless/types",
|
||||
"@kbn/session-notifications-plugin": "link:test/plugin_functional/plugins/session_notifications",
|
||||
|
@ -970,7 +970,7 @@
|
|||
"@kbn/triggers-actions-ui-example-plugin": "link:x-pack/examples/triggers_actions_ui_example",
|
||||
"@kbn/triggers-actions-ui-plugin": "link:x-pack/platform/plugins/shared/triggers_actions_ui",
|
||||
"@kbn/triggers-actions-ui-types": "link:src/platform/packages/shared/kbn-triggers-actions-ui-types",
|
||||
"@kbn/try-in-console": "link:packages/kbn-try-in-console",
|
||||
"@kbn/try-in-console": "link:src/platform/packages/shared/kbn-try-in-console",
|
||||
"@kbn/typed-react-router-config": "link:src/platform/packages/shared/kbn-typed-react-router-config",
|
||||
"@kbn/ui-actions-browser": "link:packages/kbn-ui-actions-browser",
|
||||
"@kbn/ui-actions-enhanced-examples-plugin": "link:x-pack/examples/ui_actions_enhanced_examples",
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './types';
|
||||
export * from './components';
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test/jest_node',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-ipynb'],
|
||||
};
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './src/components/api_key_flyout_wrapper';
|
||||
export * from './src/components/api_key_form';
|
||||
export * from './src/hooks/use_search_api_key';
|
||||
export * from './src/providers/search_api_key_provider';
|
|
@ -1,20 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-search-api-keys-components'],
|
||||
coverageDirectory:
|
||||
'<rootDir>/target/kibana-coverage/jest/packages/kbn-search-api-keys-components',
|
||||
coverageReporters: ['text', 'html'],
|
||||
collectCoverageFrom: [
|
||||
'<rootDir>/packages/kbn-search-api-keys-components/public/{components,hooks}/**/*.{ts,tsx}',
|
||||
],
|
||||
};
|
|
@ -1,17 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export enum Status {
|
||||
uninitialized = 'uninitialized',
|
||||
loading = 'loading',
|
||||
showCreateButton = 'showCreateButton',
|
||||
showHiddenKey = 'showHiddenKey',
|
||||
showPreviewKey = 'showPreviewKey',
|
||||
showUserPrivilegesError = 'showUserPrivilegesError',
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export enum APIRoutes {
|
||||
API_KEYS = '/internal/search_api_keys',
|
||||
API_KEY_VALIDITY = '/internal/search_api_keys/validity',
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './src/routes/routes';
|
|
@ -1,17 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test/jest_node',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-search-api-keys-server'],
|
||||
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/packages/kbn-search-api-keys-server',
|
||||
coverageReporters: ['text', 'html'],
|
||||
collectCoverageFrom: ['<rootDir>/packages/kbn-search-api-keys-server/**/*.{ts,tsx}'],
|
||||
};
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-search-connectors'],
|
||||
};
|
|
@ -1,12 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './documents_overview';
|
||||
export * from './document_list';
|
||||
export * from './result';
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export const PERMANENTLY_TRUNCATED_FIELDS = ['dense_vector', 'sparse_vector'];
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export { Result } from './result';
|
||||
export {
|
||||
resultMetaData,
|
||||
resultToFieldFromMappingResponse,
|
||||
resultToFieldFromMappings as resultToField,
|
||||
reorderFieldsInImportance,
|
||||
} from './result_metadata';
|
|
@ -1,12 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './components';
|
||||
export * from './types';
|
||||
export * from './lib';
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './fetch_search_results';
|
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { Pagination } from '@elastic/eui';
|
||||
|
||||
export const DEFAULT_DOCS_PER_PAGE = 25;
|
||||
export const INDEX_DOCUMENTS_META_DEFAULT: Pagination = {
|
||||
pageIndex: 0,
|
||||
pageSize: DEFAULT_DOCS_PER_PAGE,
|
||||
totalItemCount: 0,
|
||||
};
|
||||
|
||||
export * from './pagination';
|
|
@ -12,7 +12,7 @@
|
|||
// If you wish for your Storybook to be built and included in CI, also add your
|
||||
// alias to .buildkite/scripts/steps/storybooks/build_and_upload.ts
|
||||
export const storybookAliases = {
|
||||
ai_assistant: 'x-pack/packages/kbn-ai-assistant/.storybook',
|
||||
ai_assistant: 'x-pack/platform/packages/shared/kbn-ai-assistant/.storybook',
|
||||
apm: 'x-pack/plugins/observability_solution/apm/.storybook',
|
||||
canvas: 'x-pack/platform/plugins/private/canvas/storybook',
|
||||
cases: 'src/platform/packages/shared/kbn-cases-components/.storybook',
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../../..',
|
||||
roots: ['<rootDir>/packages/deeplinks/search'],
|
||||
rootDir: '../../../../../..',
|
||||
roots: ['<rootDir>/src/platform/packages/shared/deeplinks/search'],
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"extends": "../../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-search-api-panels'],
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/src/platform/packages/shared/kbn-search-api-panels'],
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue