From ac2232133bc9fa6e09222b9c8c5f177bbc49d76b Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Tue, 7 Jan 2025 11:14:48 +0100 Subject: [PATCH] Make `saved_objects_tagging` plugin shared --- .github/CODEOWNERS | 4 ++-- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- packages/kbn-relocate/utils/relocate.ts | 6 ++++-- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../{private => shared}/saved_objects_tagging/README.md | 4 ++-- .../saved_objects_tagging/common/assignments.ts | 0 .../saved_objects_tagging/common/capabilities.test.ts | 0 .../saved_objects_tagging/common/capabilities.ts | 0 .../saved_objects_tagging/common/constants.ts | 0 .../saved_objects_tagging/common/http_api_types.ts | 0 .../saved_objects_tagging/common/index.ts | 0 .../saved_objects_tagging/common/references.test.ts | 0 .../saved_objects_tagging/common/references.ts | 0 .../saved_objects_tagging/common/test_utils/index.ts | 0 .../saved_objects_tagging/common/types.ts | 0 .../saved_objects_tagging/common/validation.test.ts | 0 .../saved_objects_tagging/common/validation.ts | 0 .../saved_objects_tagging/jest.config.js | 6 +++--- .../{private => shared}/saved_objects_tagging/kibana.jsonc | 4 ++-- .../public/components/assign_flyout/assign_flyout.scss | 0 .../public/components/assign_flyout/assign_flyout.tsx | 0 .../components/assign_flyout/components/action_bar.tsx | 0 .../public/components/assign_flyout/components/footer.tsx | 0 .../public/components/assign_flyout/components/header.tsx | 0 .../public/components/assign_flyout/components/index.ts | 0 .../components/assign_flyout/components/result_list.tsx | 0 .../components/assign_flyout/components/search_bar.tsx | 0 .../public/components/assign_flyout/index.ts | 0 .../components/assign_flyout/lib/compute_changes.test.ts | 0 .../public/components/assign_flyout/lib/compute_changes.ts | 0 .../public/components/assign_flyout/lib/index.ts | 0 .../public/components/assign_flyout/lib/parse_query.test.ts | 0 .../public/components/assign_flyout/lib/parse_query.ts | 0 .../public/components/assign_flyout/open_assign_flyout.tsx | 0 .../public/components/assign_flyout/types.ts | 0 .../public/components/assign_flyout/utils.test.ts | 0 .../public/components/assign_flyout/utils.ts | 0 .../saved_objects_tagging/public/components/base/index.ts | 0 .../public/components/base/tag_badge.tsx | 0 .../public/components/base/tag_list.tsx | 0 .../public/components/base/tag_searchbar_option.tsx | 0 .../public/components/base/tag_selector.test.tsx | 0 .../public/components/base/tag_selector.tsx | 0 .../public/components/connected/index.ts | 0 .../connected/saved_object_save_modal_tag_selector.tsx | 0 .../public/components/connected/tag_list.tsx | 0 .../public/components/connected/tag_selector.tsx | 0 .../public/components/edition_modal/create_modal.test.tsx | 0 .../public/components/edition_modal/create_modal.tsx | 0 .../components/edition_modal/create_or_edit_modal.tsx | 0 .../public/components/edition_modal/edit_modal.tsx | 0 .../public/components/edition_modal/index.ts | 0 .../public/components/edition_modal/open_modal.tsx | 0 .../public/components/edition_modal/use_validation.ts | 0 .../public/components/edition_modal/utils.ts | 0 .../saved_objects_tagging/public/components/index.ts | 0 .../saved_objects_tagging/public/config.ts | 0 .../saved_objects_tagging/public/index.ts | 0 .../public/management/actions/assign.ts | 0 .../public/management/actions/delete.ts | 0 .../saved_objects_tagging/public/management/actions/edit.ts | 0 .../public/management/actions/index.test.ts | 0 .../public/management/actions/index.ts | 0 .../public/management/actions/types.ts | 0 .../public/management/bulk_actions/bulk_assign.ts | 0 .../public/management/bulk_actions/bulk_delete.test.ts | 0 .../public/management/bulk_actions/bulk_delete.ts | 0 .../public/management/bulk_actions/clear_selection.ts | 0 .../public/management/bulk_actions/index.test.ts | 0 .../public/management/bulk_actions/index.ts | 0 .../public/management/components/_action_bar.scss | 0 .../public/management/components/action_bar.tsx | 0 .../public/management/components/header.tsx | 0 .../public/management/components/index.ts | 0 .../public/management/components/table.tsx | 0 .../saved_objects_tagging/public/management/index.ts | 0 .../public/management/mount_section.tsx | 0 .../public/management/tag_management_page.tsx | 0 .../saved_objects_tagging/public/management/types.ts | 0 .../public/management/utils/get_tag_connections_url.test.ts | 0 .../public/management/utils/get_tag_connections_url.ts | 0 .../saved_objects_tagging/public/management/utils/index.ts | 0 .../saved_objects_tagging/public/mocks.ts | 0 .../saved_objects_tagging/public/plugin.test.ts | 0 .../saved_objects_tagging/public/plugin.ts | 0 .../public/services/assignments/assignment_service.mock.ts | 0 .../public/services/assignments/assignment_service.test.ts | 0 .../public/services/assignments/assignment_service.ts | 0 .../public/services/assignments/index.ts | 0 .../saved_objects_tagging/public/services/index.ts | 0 .../saved_objects_tagging/public/services/tags/errors.ts | 0 .../saved_objects_tagging/public/services/tags/index.ts | 0 .../public/services/tags/tags_cache.mock.ts | 0 .../public/services/tags/tags_cache.test.ts | 0 .../public/services/tags/tags_cache.ts | 0 .../public/services/tags/tags_client.mock.ts | 0 .../public/services/tags/tags_client.test.ts | 0 .../public/services/tags/tags_client.ts | 0 .../saved_objects_tagging/public/types.ts | 0 .../saved_objects_tagging/public/ui_api/components.ts | 0 .../public/ui_api/convert_name_to_reference.ts | 0 .../public/ui_api/get_search_bar_filter.test.ts | 0 .../public/ui_api/get_search_bar_filter.tsx | 0 .../public/ui_api/get_table_column_definition.test.ts | 0 .../public/ui_api/get_table_column_definition.tsx | 0 .../public/ui_api/get_tag_list.test.ts | 0 .../saved_objects_tagging/public/ui_api/get_tag_list.ts | 0 .../saved_objects_tagging/public/ui_api/index.ts | 0 .../public/ui_api/parse_search_query.test.ts | 0 .../public/ui_api/parse_search_query.ts | 0 .../saved_objects_tagging/public/utils.test.ts | 0 .../saved_objects_tagging/public/utils.ts | 0 .../saved_objects_tagging/server/config.ts | 0 .../saved_objects_tagging/server/features.ts | 0 .../saved_objects_tagging/server/index.ts | 0 .../saved_objects_tagging/server/mocks.ts | 0 .../saved_objects_tagging/server/plugin.test.mocks.ts | 0 .../saved_objects_tagging/server/plugin.test.ts | 0 .../saved_objects_tagging/server/plugin.ts | 0 .../saved_objects_tagging/server/request_handler_context.ts | 0 .../server/routes/assignments/find_assignable_objects.ts | 0 .../server/routes/assignments/get_assignable_types.ts | 0 .../server/routes/assignments/index.ts | 0 .../server/routes/assignments/update_tags_assignments.ts | 0 .../saved_objects_tagging/server/routes/index.ts | 0 .../server/routes/internal/bulk_delete.ts | 0 .../server/routes/internal/find_tags.ts | 0 .../saved_objects_tagging/server/routes/internal/index.ts | 0 .../server/routes/lib/get_connection_count.ts | 0 .../saved_objects_tagging/server/routes/lib/index.ts | 0 .../saved_objects_tagging/server/routes/tags/create_tag.ts | 0 .../saved_objects_tagging/server/routes/tags/delete_tag.ts | 0 .../server/routes/tags/get_all_tags.ts | 0 .../saved_objects_tagging/server/routes/tags/get_tag.ts | 0 .../saved_objects_tagging/server/routes/tags/index.ts | 0 .../saved_objects_tagging/server/routes/tags/update_tag.ts | 0 .../saved_objects_tagging/server/saved_objects/index.ts | 0 .../saved_objects_tagging/server/saved_objects/tag.ts | 0 .../server/services/assignments/assignment_service.mock.ts | 0 .../services/assignments/assignment_service.test.mocks.ts | 0 .../server/services/assignments/assignment_service.test.ts | 0 .../server/services/assignments/assignment_service.ts | 0 .../server/services/assignments/errors.test.ts | 0 .../server/services/assignments/errors.ts | 0 .../server/services/assignments/get_updatable_types.ts | 0 .../server/services/assignments/index.ts | 0 .../server/services/assignments/utils.test.ts | 0 .../server/services/assignments/utils.ts | 0 .../saved_objects_tagging/server/services/index.ts | 0 .../server/services/tags/errors.test.ts | 0 .../saved_objects_tagging/server/services/tags/errors.ts | 0 .../saved_objects_tagging/server/services/tags/index.ts | 0 .../server/services/tags/tags_client.mock.ts | 0 .../server/services/tags/tags_client.test.mocks.ts | 0 .../server/services/tags/tags_client.test.ts | 0 .../server/services/tags/tags_client.ts | 0 .../saved_objects_tagging/server/services/tags/utils.ts | 0 .../server/services/tags/validate_tag.test.mocks.ts | 0 .../server/services/tags/validate_tag.test.ts | 0 .../server/services/tags/validate_tag.ts | 0 .../saved_objects_tagging/server/types.ts | 0 .../server/usage/fetch_tag_usage_data.ts | 0 .../saved_objects_tagging/server/usage/index.ts | 0 .../saved_objects_tagging/server/usage/schema.test.ts | 0 .../saved_objects_tagging/server/usage/schema.ts | 0 .../server/usage/tag_usage_collector.ts | 0 .../saved_objects_tagging/server/usage/types.ts | 0 .../{private => shared}/saved_objects_tagging/tsconfig.json | 0 yarn.lock | 2 +- 171 files changed, 19 insertions(+), 17 deletions(-) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/README.md (85%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/common/assignments.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/common/capabilities.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/common/capabilities.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/common/constants.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/common/http_api_types.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/common/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/common/references.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/common/references.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/common/test_utils/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/common/types.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/common/validation.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/common/validation.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/jest.config.js (68%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/kibana.jsonc (94%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/assign_flyout.scss (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/assign_flyout.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/components/action_bar.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/components/footer.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/components/header.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/components/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/components/result_list.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/components/search_bar.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/lib/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/open_assign_flyout.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/types.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/utils.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/assign_flyout/utils.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/base/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/base/tag_badge.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/base/tag_list.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/base/tag_searchbar_option.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/base/tag_selector.test.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/base/tag_selector.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/connected/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/connected/saved_object_save_modal_tag_selector.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/connected/tag_list.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/connected/tag_selector.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/edition_modal/create_modal.test.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/edition_modal/create_modal.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/edition_modal/create_or_edit_modal.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/edition_modal/edit_modal.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/edition_modal/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/edition_modal/open_modal.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/edition_modal/use_validation.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/edition_modal/utils.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/components/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/config.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/actions/assign.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/actions/delete.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/actions/edit.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/actions/index.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/actions/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/actions/types.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/bulk_actions/bulk_assign.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/bulk_actions/bulk_delete.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/bulk_actions/bulk_delete.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/bulk_actions/clear_selection.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/bulk_actions/index.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/bulk_actions/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/components/_action_bar.scss (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/components/action_bar.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/components/header.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/components/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/components/table.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/mount_section.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/tag_management_page.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/types.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/utils/get_tag_connections_url.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/utils/get_tag_connections_url.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/management/utils/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/mocks.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/plugin.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/plugin.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/assignments/assignment_service.mock.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/assignments/assignment_service.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/assignments/assignment_service.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/assignments/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/tags/errors.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/tags/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/tags/tags_cache.mock.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/tags/tags_cache.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/tags/tags_cache.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/tags/tags_client.mock.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/tags/tags_client.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/services/tags/tags_client.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/types.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/ui_api/components.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/ui_api/convert_name_to_reference.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/ui_api/get_search_bar_filter.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/ui_api/get_search_bar_filter.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/ui_api/get_table_column_definition.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/ui_api/get_table_column_definition.tsx (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/ui_api/get_tag_list.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/ui_api/get_tag_list.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/ui_api/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/ui_api/parse_search_query.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/ui_api/parse_search_query.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/utils.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/public/utils.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/config.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/features.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/mocks.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/plugin.test.mocks.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/plugin.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/plugin.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/request_handler_context.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/assignments/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/internal/bulk_delete.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/internal/find_tags.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/internal/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/lib/get_connection_count.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/lib/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/tags/create_tag.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/tags/delete_tag.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/tags/get_all_tags.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/tags/get_tag.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/tags/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/routes/tags/update_tag.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/saved_objects/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/saved_objects/tag.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/assignments/assignment_service.mock.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/assignments/assignment_service.test.mocks.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/assignments/assignment_service.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/assignments/assignment_service.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/assignments/errors.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/assignments/errors.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/assignments/get_updatable_types.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/assignments/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/assignments/utils.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/assignments/utils.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/tags/errors.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/tags/errors.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/tags/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/tags/tags_client.mock.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/tags/tags_client.test.mocks.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/tags/tags_client.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/tags/tags_client.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/tags/utils.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/tags/validate_tag.test.mocks.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/tags/validate_tag.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/services/tags/validate_tag.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/types.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/usage/fetch_tag_usage_data.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/usage/index.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/usage/schema.test.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/usage/schema.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/usage/tag_usage_collector.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/server/usage/types.ts (100%) rename x-pack/platform/plugins/{private => shared}/saved_objects_tagging/tsconfig.json (100%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0df52424548b0..548cd79ec9086 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -854,7 +854,6 @@ x-pack/platform/plugins/private/remote_clusters @elastic/kibana-management x-pack/platform/plugins/private/reporting @elastic/appex-sharedux x-pack/platform/plugins/private/rollup @elastic/kibana-management x-pack/platform/plugins/private/runtime_fields @elastic/kibana-management -x-pack/platform/plugins/private/saved_objects_tagging @elastic/appex-sharedux x-pack/platform/plugins/private/snapshot_restore @elastic/kibana-management x-pack/platform/plugins/private/telemetry_collection_xpack @elastic/kibana-core x-pack/platform/plugins/private/transform @elastic/ml-ui @@ -894,6 +893,7 @@ x-pack/platform/plugins/shared/notifications @elastic/appex-sharedux x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs-ux-management-team +x-pack/platform/plugins/shared/saved_objects_tagging @elastic/appex-sharedux x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management x-pack/platform/plugins/shared/security @elastic/kibana-security @@ -3228,7 +3228,7 @@ x-pack/platform/plugins/private/remote_clusters @elastic/kibana-management x-pack/platform/plugins/private/reporting @elastic/appex-sharedux x-pack/platform/plugins/private/rollup @elastic/kibana-management x-pack/platform/plugins/private/runtime_fields @elastic/kibana-management -x-pack/platform/plugins/private/saved_objects_tagging @elastic/appex-sharedux +x-pack/platform/plugins/shared/saved_objects_tagging @elastic/appex-sharedux x-pack/platform/plugins/private/snapshot_restore @elastic/kibana-management x-pack/platform/plugins/private/telemetry_collection_xpack @elastic/kibana-core x-pack/platform/plugins/private/transform @elastic/ml-ui diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index af970f58432b3..9b4f42668ac0b 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -808,7 +808,7 @@ Elastic. |Welcome to the home of the runtime field editor and everything related to runtime fields! -|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/saved_objects_tagging/README.md[savedObjectsTagging] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/saved_objects_tagging/README.md[savedObjectsTagging] |Add tagging capability to saved objects diff --git a/package.json b/package.json index 4a189cc55ac00..b5187ccb9d403 100644 --- a/package.json +++ b/package.json @@ -790,7 +790,7 @@ "@kbn/saved-objects-plugin": "link:src/platform/plugins/shared/saved_objects", "@kbn/saved-objects-settings": "link:packages/kbn-saved-objects-settings", "@kbn/saved-objects-tagging-oss-plugin": "link:src/platform/plugins/shared/saved_objects_tagging_oss", - "@kbn/saved-objects-tagging-plugin": "link:x-pack/platform/plugins/private/saved_objects_tagging", + "@kbn/saved-objects-tagging-plugin": "link:x-pack/platform/plugins/shared/saved_objects_tagging", "@kbn/saved-search-component": "link:packages/kbn-saved-search-component", "@kbn/saved-search-plugin": "link:src/platform/plugins/shared/saved_search", "@kbn/screenshot-mode-example-plugin": "link:examples/screenshot_mode_example", diff --git a/packages/kbn-relocate/utils/relocate.ts b/packages/kbn-relocate/utils/relocate.ts index 1e833b8d2539a..ee2179a895834 100644 --- a/packages/kbn-relocate/utils/relocate.ts +++ b/packages/kbn-relocate/utils/relocate.ts @@ -92,12 +92,14 @@ export const calculateModuleTargetFolder = (module: Package): string => { }; export const isInTargetFolder = (module: Package, log: ToolingLog): boolean => { - if (!module.group || module.group === 'common' || !module.visibility) { + const { group, visibility } = module.manifest; + + if (!group || group === 'common' || !visibility) { log.warning(`The module '${module.id}' is missing the group/visibility information`); return false; } - const baseTargetFolders = TARGET_FOLDERS[`${module.group}:${module.visibility}`]; + const baseTargetFolders = TARGET_FOLDERS[`${group}:${visibility}`]; const baseTargetFolder = baseTargetFolders.find((candidate) => { return module.directory.includes(candidate); }); diff --git a/tsconfig.base.json b/tsconfig.base.json index 69ec3cc084e00..fea0ab3612e66 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1550,8 +1550,8 @@ "@kbn/saved-objects-settings/*": ["packages/kbn-saved-objects-settings/*"], "@kbn/saved-objects-tagging-oss-plugin": ["src/platform/plugins/shared/saved_objects_tagging_oss"], "@kbn/saved-objects-tagging-oss-plugin/*": ["src/platform/plugins/shared/saved_objects_tagging_oss/*"], - "@kbn/saved-objects-tagging-plugin": ["x-pack/platform/plugins/private/saved_objects_tagging"], - "@kbn/saved-objects-tagging-plugin/*": ["x-pack/platform/plugins/private/saved_objects_tagging/*"], + "@kbn/saved-objects-tagging-plugin": ["x-pack/platform/plugins/shared/saved_objects_tagging"], + "@kbn/saved-objects-tagging-plugin/*": ["x-pack/platform/plugins/shared/saved_objects_tagging/*"], "@kbn/saved-search-component": ["packages/kbn-saved-search-component"], "@kbn/saved-search-component/*": ["packages/kbn-saved-search-component/*"], "@kbn/saved-search-plugin": ["src/platform/plugins/shared/saved_search"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 9b858ffa6271d..fc3e4973f06d6 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -159,7 +159,7 @@ "xpack.snapshotRestore": "platform/plugins/private/snapshot_restore", "xpack.spaces": "platform/plugins/shared/spaces", "xpack.savedObjectsTagging": [ - "platform/plugins/private/saved_objects_tagging" + "platform/plugins/shared/saved_objects_tagging" ], "xpack.taskManager": "legacy/platform/plugins/shared/task_manager", "xpack.threatIntelligence": "solutions/security/plugins/threat_intelligence", diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/README.md b/x-pack/platform/plugins/shared/saved_objects_tagging/README.md similarity index 85% rename from x-pack/platform/plugins/private/saved_objects_tagging/README.md rename to x-pack/platform/plugins/shared/saved_objects_tagging/README.md index 68ac5fe507767..b62528b9d0c0a 100644 --- a/x-pack/platform/plugins/private/saved_objects_tagging/README.md +++ b/x-pack/platform/plugins/shared/saved_objects_tagging/README.md @@ -38,7 +38,7 @@ features.registerKibanaFeature({ ### Update the SOT telemetry collector schema to add the new type -The schema is located here: `x-pack/platform/plugins/private/saved_objects_tagging/server/usage/schema.ts`. You +The schema is located here: `x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/schema.ts`. You just need to add the name of the SO type you are adding. ```ts @@ -54,5 +54,5 @@ export const tagUsageCollectorSchema: MakeSchemaFrom = { ### Update the `taggableTypes` constant to add your type -Edit the `taggableTypes` list in `x-pack/platform/plugins/private/saved_objects_tagging/common/constants.ts` to add +Edit the `taggableTypes` list in `x-pack/platform/plugins/shared/saved_objects_tagging/common/constants.ts` to add the name of the type you are adding. diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/common/assignments.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/common/assignments.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/common/assignments.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/common/assignments.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/common/capabilities.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/common/capabilities.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/common/capabilities.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/common/capabilities.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/common/capabilities.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/common/capabilities.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/common/capabilities.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/common/capabilities.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/common/constants.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/common/constants.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/common/constants.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/common/constants.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/common/http_api_types.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/common/http_api_types.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/common/http_api_types.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/common/http_api_types.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/common/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/common/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/common/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/common/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/common/references.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/common/references.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/common/references.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/common/references.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/common/references.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/common/references.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/common/references.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/common/references.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/common/test_utils/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/common/test_utils/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/common/test_utils/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/common/test_utils/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/common/types.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/common/types.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/common/types.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/common/types.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/common/validation.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/common/validation.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/common/validation.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/common/validation.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/common/validation.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/common/validation.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/common/validation.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/common/validation.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/jest.config.js b/x-pack/platform/plugins/shared/saved_objects_tagging/jest.config.js similarity index 68% rename from x-pack/platform/plugins/private/saved_objects_tagging/jest.config.js rename to x-pack/platform/plugins/shared/saved_objects_tagging/jest.config.js index c2e776e813317..ae42c0c9fea22 100644 --- a/x-pack/platform/plugins/private/saved_objects_tagging/jest.config.js +++ b/x-pack/platform/plugins/shared/saved_objects_tagging/jest.config.js @@ -8,11 +8,11 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', - roots: ['/x-pack/platform/plugins/private/saved_objects_tagging'], + roots: ['/x-pack/platform/plugins/shared/saved_objects_tagging'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/platform/plugins/private/saved_objects_tagging', + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/saved_objects_tagging', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/platform/plugins/private/saved_objects_tagging/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/saved_objects_tagging/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/kibana.jsonc b/x-pack/platform/plugins/shared/saved_objects_tagging/kibana.jsonc similarity index 94% rename from x-pack/platform/plugins/private/saved_objects_tagging/kibana.jsonc rename to x-pack/platform/plugins/shared/saved_objects_tagging/kibana.jsonc index 3a2cdef308de0..599c9557e681f 100644 --- a/x-pack/platform/plugins/private/saved_objects_tagging/kibana.jsonc +++ b/x-pack/platform/plugins/shared/saved_objects_tagging/kibana.jsonc @@ -5,7 +5,7 @@ "@elastic/appex-sharedux" ], "group": "platform", - "visibility": "private", + "visibility": "shared", "plugin": { "id": "savedObjectsTagging", "browser": true, @@ -25,4 +25,4 @@ ], "requiredBundles": [] } -} \ No newline at end of file +} diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/assign_flyout.scss b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/assign_flyout.scss similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/assign_flyout.scss rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/assign_flyout.scss diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/assign_flyout.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/assign_flyout.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/assign_flyout.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/assign_flyout.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/action_bar.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/components/action_bar.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/action_bar.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/components/action_bar.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/footer.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/components/footer.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/footer.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/components/footer.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/header.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/components/header.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/header.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/components/header.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/components/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/components/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/result_list.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/components/result_list.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/result_list.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/components/result_list.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/search_bar.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/components/search_bar.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/search_bar.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/components/search_bar.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/lib/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/lib/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/open_assign_flyout.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/open_assign_flyout.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/open_assign_flyout.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/open_assign_flyout.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/types.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/types.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/types.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/types.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/utils.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/utils.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/utils.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/utils.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/utils.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/utils.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/utils.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/assign_flyout/utils.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/base/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/base/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_badge.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/base/tag_badge.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_badge.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/base/tag_badge.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_list.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/base/tag_list.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_list.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/base/tag_list.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_searchbar_option.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/base/tag_searchbar_option.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_searchbar_option.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/base/tag_searchbar_option.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_selector.test.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/base/tag_selector.test.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_selector.test.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/base/tag_selector.test.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_selector.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/base/tag_selector.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_selector.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/base/tag_selector.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/connected/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/connected/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/saved_object_save_modal_tag_selector.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/connected/saved_object_save_modal_tag_selector.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/saved_object_save_modal_tag_selector.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/connected/saved_object_save_modal_tag_selector.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/tag_list.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/connected/tag_list.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/tag_list.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/connected/tag_list.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/tag_selector.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/connected/tag_selector.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/tag_selector.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/connected/tag_selector.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/create_modal.test.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/create_modal.test.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/create_modal.test.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/create_modal.test.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/create_modal.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/create_modal.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/create_modal.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/create_modal.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/create_or_edit_modal.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/create_or_edit_modal.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/create_or_edit_modal.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/create_or_edit_modal.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/edit_modal.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/edit_modal.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/edit_modal.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/edit_modal.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/open_modal.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/open_modal.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/open_modal.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/open_modal.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/use_validation.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/use_validation.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/use_validation.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/use_validation.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/utils.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/utils.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/utils.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/edition_modal/utils.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/components/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/components/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/components/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/components/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/config.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/config.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/config.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/config.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/assign.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/actions/assign.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/assign.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/actions/assign.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/delete.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/actions/delete.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/delete.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/actions/delete.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/edit.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/actions/edit.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/edit.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/actions/edit.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/index.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/actions/index.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/index.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/actions/index.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/actions/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/actions/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/types.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/actions/types.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/types.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/actions/types.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/bulk_assign.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/bulk_actions/bulk_assign.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/bulk_assign.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/bulk_actions/bulk_assign.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/bulk_delete.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/bulk_actions/bulk_delete.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/bulk_delete.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/bulk_actions/bulk_delete.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/bulk_delete.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/bulk_actions/bulk_delete.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/bulk_delete.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/bulk_actions/bulk_delete.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/clear_selection.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/bulk_actions/clear_selection.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/clear_selection.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/bulk_actions/clear_selection.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/index.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/bulk_actions/index.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/index.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/bulk_actions/index.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/bulk_actions/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/bulk_actions/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/_action_bar.scss b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/components/_action_bar.scss similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/_action_bar.scss rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/components/_action_bar.scss diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/action_bar.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/components/action_bar.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/action_bar.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/components/action_bar.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/header.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/components/header.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/header.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/components/header.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/components/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/components/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/table.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/components/table.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/table.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/components/table.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/mount_section.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/mount_section.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/mount_section.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/mount_section.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/tag_management_page.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/tag_management_page.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/tag_management_page.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/tag_management_page.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/types.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/types.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/types.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/types.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/utils/get_tag_connections_url.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/utils/get_tag_connections_url.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/utils/get_tag_connections_url.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/utils/get_tag_connections_url.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/utils/get_tag_connections_url.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/utils/get_tag_connections_url.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/utils/get_tag_connections_url.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/utils/get_tag_connections_url.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/management/utils/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/management/utils/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/management/utils/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/management/utils/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/mocks.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/mocks.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/mocks.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/mocks.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/plugin.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/plugin.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/plugin.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/plugin.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/plugin.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/plugin.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/plugin.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/plugin.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/assignment_service.mock.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/assignments/assignment_service.mock.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/assignment_service.mock.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/assignments/assignment_service.mock.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/assignment_service.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/assignments/assignment_service.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/assignment_service.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/assignments/assignment_service.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/assignment_service.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/assignments/assignment_service.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/assignment_service.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/assignments/assignment_service.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/assignments/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/assignments/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/errors.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/errors.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/errors.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/errors.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_cache.mock.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/tags_cache.mock.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_cache.mock.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/tags_cache.mock.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_cache.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/tags_cache.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_cache.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/tags_cache.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_cache.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/tags_cache.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_cache.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/tags_cache.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_client.mock.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/tags_client.mock.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_client.mock.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/tags_client.mock.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_client.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/tags_client.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_client.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/tags_client.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_client.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/tags_client.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_client.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/services/tags/tags_client.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/types.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/types.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/types.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/types.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/components.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/components.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/components.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/components.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/convert_name_to_reference.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/convert_name_to_reference.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/convert_name_to_reference.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/convert_name_to_reference.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_search_bar_filter.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/get_search_bar_filter.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_search_bar_filter.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/get_search_bar_filter.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_search_bar_filter.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/get_search_bar_filter.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_search_bar_filter.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/get_search_bar_filter.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_table_column_definition.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/get_table_column_definition.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_table_column_definition.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/get_table_column_definition.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_table_column_definition.tsx b/x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/get_table_column_definition.tsx similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_table_column_definition.tsx rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/get_table_column_definition.tsx diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_tag_list.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/get_tag_list.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_tag_list.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/get_tag_list.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_tag_list.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/get_tag_list.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_tag_list.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/get_tag_list.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/parse_search_query.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/parse_search_query.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/parse_search_query.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/parse_search_query.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/parse_search_query.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/parse_search_query.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/parse_search_query.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/ui_api/parse_search_query.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/utils.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/utils.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/utils.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/utils.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/public/utils.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/public/utils.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/public/utils.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/public/utils.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/config.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/config.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/config.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/config.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/features.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/features.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/features.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/features.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/mocks.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/mocks.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/mocks.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/mocks.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/plugin.test.mocks.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/plugin.test.mocks.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/plugin.test.mocks.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/plugin.test.mocks.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/plugin.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/plugin.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/plugin.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/plugin.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/plugin.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/plugin.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/plugin.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/plugin.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/request_handler_context.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/request_handler_context.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/request_handler_context.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/request_handler_context.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/assignments/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/assignments/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/internal/bulk_delete.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/internal/bulk_delete.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/internal/bulk_delete.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/internal/bulk_delete.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/internal/find_tags.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/internal/find_tags.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/internal/find_tags.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/internal/find_tags.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/internal/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/internal/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/internal/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/internal/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/lib/get_connection_count.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/lib/get_connection_count.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/lib/get_connection_count.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/lib/get_connection_count.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/lib/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/lib/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/lib/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/lib/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/create_tag.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/tags/create_tag.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/create_tag.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/tags/create_tag.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/delete_tag.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/tags/delete_tag.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/delete_tag.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/tags/delete_tag.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/get_all_tags.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/tags/get_all_tags.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/get_all_tags.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/tags/get_all_tags.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/get_tag.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/tags/get_tag.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/get_tag.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/tags/get_tag.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/tags/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/tags/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/update_tag.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/tags/update_tag.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/update_tag.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/routes/tags/update_tag.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/saved_objects/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/saved_objects/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/saved_objects/tag.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/saved_objects/tag.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/saved_objects/tag.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/saved_objects/tag.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.mock.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/assignment_service.mock.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.mock.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/assignment_service.mock.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.test.mocks.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/assignment_service.test.mocks.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.test.mocks.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/assignment_service.test.mocks.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/assignment_service.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/assignment_service.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/assignment_service.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/assignment_service.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/errors.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/errors.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/errors.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/errors.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/errors.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/errors.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/errors.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/errors.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/get_updatable_types.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/get_updatable_types.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/get_updatable_types.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/get_updatable_types.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/utils.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/utils.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/utils.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/utils.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/utils.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/utils.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/utils.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/assignments/utils.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/errors.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/errors.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/errors.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/errors.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/errors.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/errors.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/errors.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/errors.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.mock.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/tags_client.mock.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.mock.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/tags_client.mock.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.test.mocks.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/tags_client.test.mocks.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.test.mocks.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/tags_client.test.mocks.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/tags_client.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/tags_client.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/tags_client.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/tags_client.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/utils.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/utils.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/utils.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/utils.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/validate_tag.test.mocks.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/validate_tag.test.mocks.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/validate_tag.test.mocks.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/validate_tag.test.mocks.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/validate_tag.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/validate_tag.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/validate_tag.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/validate_tag.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/validate_tag.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/validate_tag.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/validate_tag.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/services/tags/validate_tag.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/types.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/types.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/types.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/types.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/usage/fetch_tag_usage_data.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/fetch_tag_usage_data.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/usage/fetch_tag_usage_data.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/fetch_tag_usage_data.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/usage/index.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/index.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/usage/index.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/index.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/usage/schema.test.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/schema.test.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/usage/schema.test.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/schema.test.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/usage/schema.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/schema.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/usage/schema.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/schema.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/usage/tag_usage_collector.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/tag_usage_collector.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/usage/tag_usage_collector.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/tag_usage_collector.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/server/usage/types.ts b/x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/types.ts similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/server/usage/types.ts rename to x-pack/platform/plugins/shared/saved_objects_tagging/server/usage/types.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/tsconfig.json b/x-pack/platform/plugins/shared/saved_objects_tagging/tsconfig.json similarity index 100% rename from x-pack/platform/plugins/private/saved_objects_tagging/tsconfig.json rename to x-pack/platform/plugins/shared/saved_objects_tagging/tsconfig.json diff --git a/yarn.lock b/yarn.lock index 96c2821d5de88..027e7a4478c16 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6953,7 +6953,7 @@ version "0.0.0" uid "" -"@kbn/saved-objects-tagging-plugin@link:x-pack/platform/plugins/private/saved_objects_tagging": +"@kbn/saved-objects-tagging-plugin@link:x-pack/platform/plugins/shared/saved_objects_tagging": version "0.0.0" uid ""