Skip to content

Commit

Permalink
Merge branch 'main' into remove_unused_types
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine authored Dec 27, 2024
2 parents 05a4281 + b4417c6 commit a8105b4
Show file tree
Hide file tree
Showing 3,774 changed files with 3,017 additions and 3,005 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
17 changes: 11 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand All @@ -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',
},
Expand All @@ -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',
},
Expand Down Expand Up @@ -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 }],
},
Expand Down
76 changes: 38 additions & 38 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ packages/core/user-settings/core-user-settings-server @elastic/kibana-security
packages/core/user-settings/core-user-settings-server-internal @elastic/kibana-security
packages/core/user-settings/core-user-settings-server-mocks @elastic/kibana-security
packages/deeplinks/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations
packages/deeplinks/search @elastic/search-kibana
packages/deeplinks/shared @elastic/appex-sharedux
packages/default-nav/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations
packages/home/sample_data_card @elastic/appex-sharedux
Expand Down Expand Up @@ -345,7 +344,6 @@ packages/kbn-i18n-react @elastic/kibana-core
packages/kbn-import-locator @elastic/kibana-operations
packages/kbn-import-resolver @elastic/kibana-operations
packages/kbn-interpreter @elastic/kibana-visualizations
packages/kbn-ipynb @elastic/search-kibana
packages/kbn-item-buffer @elastic/appex-sharedux
packages/kbn-jest-serializers @elastic/kibana-operations
packages/kbn-journeys @elastic/kibana-operations @elastic/appex-qa
Expand Down Expand Up @@ -414,12 +412,7 @@ packages/kbn-scout @elastic/appex-qa
packages/kbn-scout-info @elastic/appex-qa
packages/kbn-scout-reporting @elastic/appex-qa
packages/kbn-screenshotting-server @elastic/appex-sharedux
packages/kbn-search-api-keys-components @elastic/search-kibana
packages/kbn-search-api-keys-server @elastic/search-kibana
packages/kbn-search-api-panels @elastic/search-kibana
packages/kbn-search-connectors @elastic/search-kibana
packages/kbn-search-errors @elastic/kibana-data-discovery
packages/kbn-search-index-documents @elastic/search-kibana
packages/kbn-search-response-warnings @elastic/kibana-data-discovery
packages/kbn-search-types @elastic/kibana-data-discovery
packages/kbn-security-hardening @elastic/kibana-security
Expand All @@ -442,7 +435,6 @@ packages/kbn-timelion-grammar @elastic/kibana-visualizations
packages/kbn-tinymath @elastic/kibana-visualizations
packages/kbn-tooling-log @elastic/kibana-operations
packages/kbn-transpose-utils @elastic/kibana-visualizations
packages/kbn-try-in-console @elastic/search-kibana
packages/kbn-ts-projects @elastic/kibana-operations
packages/kbn-ts-type-check-cli @elastic/kibana-operations
packages/kbn-ui-actions-browser @elastic/appex-sharedux
Expand Down Expand Up @@ -476,7 +468,6 @@ packages/response-ops/rule_form @elastic/response-ops
packages/serverless/project_switcher @elastic/appex-sharedux
packages/serverless/settings/common @elastic/appex-sharedux @elastic/kibana-management
packages/serverless/settings/observability_project @elastic/appex-sharedux @elastic/kibana-management @elastic/obs-ux-management-team
packages/serverless/settings/search_project @elastic/search-kibana @elastic/kibana-management
packages/serverless/storybook/config @elastic/appex-sharedux
packages/serverless/types @elastic/appex-sharedux
packages/shared-ux/avatar/solution @elastic/appex-sharedux
Expand Down Expand Up @@ -558,6 +549,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
src/platform/packages/shared/deeplinks/search @elastic/search-kibana
src/platform/packages/shared/deeplinks/security @elastic/security-solution
src/platform/packages/shared/kbn-actions-types @elastic/response-ops
src/platform/packages/shared/kbn-alerting-types @elastic/response-ops
Expand Down Expand Up @@ -588,6 +580,8 @@ src/platform/packages/shared/kbn-react-hooks @elastic/obs-ux-logs-team
src/platform/packages/shared/kbn-router-utils @elastic/obs-ux-logs-team
src/platform/packages/shared/kbn-rrule @elastic/response-ops
src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team
src/platform/packages/shared/kbn-search-api-panels @elastic/search-kibana
src/platform/packages/shared/kbn-search-connectors @elastic/search-kibana
src/platform/packages/shared/kbn-securitysolution-ecs @elastic/security-threat-hunting-explore
src/platform/packages/shared/kbn-securitysolution-es-utils @elastic/security-detection-engine
src/platform/packages/shared/kbn-securitysolution-io-ts-types @elastic/security-detection-engine
Expand All @@ -601,12 +595,14 @@ src/platform/packages/shared/kbn-sse-utils-client @elastic/obs-knowledge-team
src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team
src/platform/packages/shared/kbn-timerange @elastic/obs-ux-logs-team
src/platform/packages/shared/kbn-triggers-actions-ui-types @elastic/response-ops
src/platform/packages/shared/kbn-try-in-console @elastic/search-kibana
src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team
src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management
src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team
src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management
src/platform/packages/shared/presentation/presentation_containers @elastic/kibana-presentation
src/platform/packages/shared/presentation/presentation_publishing @elastic/kibana-presentation
src/platform/packages/shared/serverless/settings/search_project @elastic/search-kibana @elastic/kibana-management
src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management
src/platform/plugins/private/input_control_vis @elastic/kibana-presentation
src/platform/plugins/private/links @elastic/kibana-presentation
Expand Down Expand Up @@ -758,11 +754,9 @@ x-pack/examples/third_party_vis_lens_example @elastic/kibana-visualizations
x-pack/examples/triggers_actions_ui_example @elastic/response-ops
x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux
x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra
x-pack/packages/kbn-ai-assistant @elastic/search-kibana
x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations
x-pack/packages/kbn-streams-schema @elastic/streams-program-team
x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team
x-pack/packages/search/shared_ui @elastic/search-kibana
x-pack/packages/security/api_key_management @elastic/kibana-security
x-pack/packages/security/authorization_core @elastic/kibana-security
x-pack/packages/security/authorization_core_common @elastic/kibana-security
Expand Down Expand Up @@ -813,6 +807,7 @@ x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infr
x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra
x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management
x-pack/platform/packages/shared/index-management/index_management_shared_types @elastic/kibana-management
x-pack/platform/packages/shared/kbn-ai-assistant @elastic/search-kibana
x-pack/platform/packages/shared/kbn-alerting-comparators @elastic/response-ops
x-pack/platform/packages/shared/kbn-cloud-security-posture/common @elastic/kibana-cloud-security-posture
x-pack/platform/packages/shared/kbn-data-forge @elastic/obs-ux-management-team
Expand Down Expand Up @@ -896,7 +891,6 @@ x-pack/plugins/custom_branding @elastic/appex-sharedux
x-pack/plugins/discover_enhanced @elastic/kibana-data-discovery
x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux
x-pack/plugins/encrypted_saved_objects @elastic/kibana-security
x-pack/plugins/enterprise_search @elastic/search-kibana
x-pack/plugins/features @elastic/kibana-core
x-pack/plugins/global_search @elastic/appex-sharedux
x-pack/plugins/global_search_bar @elastic/appex-sharedux
Expand All @@ -915,17 +909,8 @@ x-pack/plugins/observability_solution/profiling @elastic/obs-ux-infra_services-t
x-pack/plugins/observability_solution/profiling_data_access @elastic/obs-ux-infra_services-team
x-pack/plugins/reporting @elastic/appex-sharedux
x-pack/plugins/saved_objects_tagging @elastic/appex-sharedux
x-pack/plugins/search_assistant @elastic/search-kibana
x-pack/plugins/search_connectors @elastic/search-kibana
x-pack/plugins/search_homepage @elastic/search-kibana
x-pack/plugins/search_indices @elastic/search-kibana
x-pack/plugins/search_inference_endpoints @elastic/search-kibana
x-pack/plugins/search_notebooks @elastic/search-kibana
x-pack/plugins/search_playground @elastic/search-kibana
x-pack/plugins/search_solution/search_navigation @elastic/search-kibana
x-pack/plugins/security @elastic/kibana-security
x-pack/plugins/serverless @elastic/appex-sharedux
x-pack/plugins/serverless_search @elastic/search-kibana
x-pack/plugins/spaces @elastic/kibana-security
x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core
x-pack/plugins/upgrade_assistant @elastic/kibana-core
Expand Down Expand Up @@ -963,6 +948,21 @@ x-pack/solutions/observability/plugins/synthetics @elastic/obs-ux-management-tea
x-pack/solutions/observability/plugins/synthetics/e2e @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/uptime @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/ux @elastic/obs-ux-management-team
x-pack/solutions/search/packages/kbn-ipynb @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
x-pack/solutions/search/packages/kbn-search-index-documents @elastic/search-kibana
x-pack/solutions/search/packages/search/shared_ui @elastic/search-kibana
x-pack/solutions/search/plugins/enterprise_search @elastic/search-kibana
x-pack/solutions/search/plugins/search_assistant @elastic/search-kibana
x-pack/solutions/search/plugins/search_connectors @elastic/search-kibana
x-pack/solutions/search/plugins/search_homepage @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_notebooks @elastic/search-kibana
x-pack/solutions/search/plugins/search_playground @elastic/search-kibana
x-pack/solutions/search/plugins/search_solution/search_navigation @elastic/search-kibana
x-pack/solutions/search/plugins/serverless_search @elastic/search-kibana
x-pack/solutions/security/packages/data_table @elastic/security-threat-hunting-investigations
x-pack/solutions/security/packages/data-stream-adapter @elastic/security-threat-hunting
x-pack/solutions/security/packages/distribution_bar @elastic/kibana-cloud-security-posture
Expand Down Expand Up @@ -2005,7 +2005,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
Expand Down Expand Up @@ -2548,7 +2548,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
/x-pack/test/accessibility/apps/group3/enterprise_search.ts @elastic/search-kibana

# Security design
Expand Down Expand Up @@ -3336,21 +3336,21 @@ x-pack/solutions/observability/plugins/streams_app @elastic/streams-program-team
x-pack/solutions/observability/plugins/synthetics @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/uptime @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/ux @elastic/obs-ux-infra_services-team
x-pack/solutions/search/packages/kbn-ipynb @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
x-pack/solutions/search/packages/kbn-search-index-documents @elastic/search-kibana
x-pack/solutions/search/packages/search/shared_ui @elastic/search-kibana
x-pack/solutions/search/plugins/enterprise_search @elastic/search-kibana
x-pack/solutions/search/plugins/search_assistant @elastic/search-kibana
x-pack/solutions/search/plugins/search_connectors @elastic/search-kibana
x-pack/solutions/search/plugins/search_homepage @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_notebooks @elastic/search-kibana
x-pack/solutions/search/plugins/search_playground @elastic/search-kibana
x-pack/solutions/search/plugins/search_solution/search_navigation @elastic/search-kibana
x-pack/solutions/search/plugins/serverless_search @elastic/search-kibana
x-pack/solutions/search/x-pack/solutions/search/packages/kbn-ipynb @elastic/search-kibana
x-pack/solutions/search/x-pack/solutions/search/packages/kbn-search-api-keys-components @elastic/search-kibana
x-pack/solutions/search/x-pack/solutions/search/packages/kbn-search-api-keys-server @elastic/search-kibana
x-pack/solutions/search/x-pack/solutions/search/packages/kbn-search-index-documents @elastic/search-kibana
x-pack/solutions/search/solutions/search/packages/search/shared_ui @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/enterprise_search @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_assistant @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_connectors @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_homepage @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_indices @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_inference_endpoints @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_notebooks @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_playground @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_solution/search_navigation @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/serverless_search @elastic/search-kibana
x-pack/solutions/security/packages/data_table @elastic/security-threat-hunting-investigations
x-pack/solutions/security/packages/distribution_bar @elastic/kibana-cloud-security-posture
x-pack/solutions/security/packages/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,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": [
Expand All @@ -137,7 +137,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",
Expand Down
Loading

0 comments on commit a8105b4

Please sign in to comment.