mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[8.x] [Index Management] [Onboarding] Create new package folder for index_management (#192594) (#193079)
# Backport This will backport the following commits from `main` to `8.x`: - [[Index Management] [Onboarding] Create new package folder for index_management (#192594)](https://github.com/elastic/kibana/pull/192594) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Saarika Bhasi","email":"55930906+saarikabhasi@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-09-13T11:46:00Z","message":"[Index Management] [Onboarding] Create new package folder for index_management (#192594)\n\n## Summary\r\n\r\nWe have to extract few components from `index_management` plugin to\r\nshared packages for onboarding project. These extracted files would be\r\nseparated into small subject matter packages within a common folder -\r\n`index-management` in `x-pack/packages/`.\r\n\r\n\r\nWhat is covered in this PR? \r\n\r\n* Created new folder `index-management` under [\r\nx-pack/packages/](https://github.com/elastic/kibana/tree/main/x-pack/packages)\r\nas a home for subject matter packages.\r\n* moved existing package -\r\n[@kbn/index-management](https://github.com/elastic/kibana/tree/main/x-pack/packages/index-management)\r\nunder `x-pack/packages/index-management`\r\n* update name of\r\n[@kbn/index-management](https://github.com/elastic/kibana/tree/main/x-pack/packages/index-management)\r\nto `@kbn/index-management-shared-types`\r\n* updated related files which use `@kbn/index-management` to use\r\n`@kbn/index-management-shared-types`\r\n\r\n**Note** \r\nExtracting components required for onboarding project will be part of\r\nanother PR","sha":"7264d3a548aef55017b58a1743c81cf1c2aa6c7a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","v9.0.0"],"number":192594,"url":"https://github.com/elastic/kibana/pull/192594","mergeCommit":{"message":"[Index Management] [Onboarding] Create new package folder for index_management (#192594)\n\n## Summary\r\n\r\nWe have to extract few components from `index_management` plugin to\r\nshared packages for onboarding project. These extracted files would be\r\nseparated into small subject matter packages within a common folder -\r\n`index-management` in `x-pack/packages/`.\r\n\r\n\r\nWhat is covered in this PR? \r\n\r\n* Created new folder `index-management` under [\r\nx-pack/packages/](https://github.com/elastic/kibana/tree/main/x-pack/packages)\r\nas a home for subject matter packages.\r\n* moved existing package -\r\n[@kbn/index-management](https://github.com/elastic/kibana/tree/main/x-pack/packages/index-management)\r\nunder `x-pack/packages/index-management`\r\n* update name of\r\n[@kbn/index-management](https://github.com/elastic/kibana/tree/main/x-pack/packages/index-management)\r\nto `@kbn/index-management-shared-types`\r\n* updated related files which use `@kbn/index-management` to use\r\n`@kbn/index-management-shared-types`\r\n\r\n**Note** \r\nExtracting components required for onboarding project will be part of\r\nanother PR","sha":"7264d3a548aef55017b58a1743c81cf1c2aa6c7a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/192594","number":192594,"mergeCommit":{"message":"[Index Management] [Onboarding] Create new package folder for index_management (#192594)\n\n## Summary\r\n\r\nWe have to extract few components from `index_management` plugin to\r\nshared packages for onboarding project. These extracted files would be\r\nseparated into small subject matter packages within a common folder -\r\n`index-management` in `x-pack/packages/`.\r\n\r\n\r\nWhat is covered in this PR? \r\n\r\n* Created new folder `index-management` under [\r\nx-pack/packages/](https://github.com/elastic/kibana/tree/main/x-pack/packages)\r\nas a home for subject matter packages.\r\n* moved existing package -\r\n[@kbn/index-management](https://github.com/elastic/kibana/tree/main/x-pack/packages/index-management)\r\nunder `x-pack/packages/index-management`\r\n* update name of\r\n[@kbn/index-management](https://github.com/elastic/kibana/tree/main/x-pack/packages/index-management)\r\nto `@kbn/index-management-shared-types`\r\n* updated related files which use `@kbn/index-management` to use\r\n`@kbn/index-management-shared-types`\r\n\r\n**Note** \r\nExtracting components required for onboarding project will be part of\r\nanother PR","sha":"7264d3a548aef55017b58a1743c81cf1c2aa6c7a"}}]}] BACKPORT-->
This commit is contained in:
parent
0d4429250b
commit
8acb1d7246
49 changed files with 49 additions and 46 deletions
|
@ -552,8 +552,8 @@
|
|||
"@kbn/iframe-embedded-plugin": "link:x-pack/test/functional_embedded/plugins/iframe_embedded",
|
||||
"@kbn/image-embeddable-plugin": "link:src/plugins/image_embeddable",
|
||||
"@kbn/index-lifecycle-management-plugin": "link:x-pack/plugins/index_lifecycle_management",
|
||||
"@kbn/index-management": "link:x-pack/packages/index-management",
|
||||
"@kbn/index-management-plugin": "link:x-pack/plugins/index_management",
|
||||
"@kbn/index-management-shared-types": "link:x-pack/packages/index-management/index_management_shared_types",
|
||||
"@kbn/index-patterns-test-plugin": "link:test/plugin_functional/plugins/index_patterns",
|
||||
"@kbn/inference-plugin": "link:x-pack/plugins/inference",
|
||||
"@kbn/inference_integration_flyout": "link:x-pack/packages/ml/inference_integration_flyout",
|
||||
|
|
|
@ -11,7 +11,7 @@ import type { CoreStart } from '@kbn/core/public';
|
|||
import type { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
|
||||
import type { AggregateQuery } from '@kbn/es-query';
|
||||
import type { ExpressionsStart } from '@kbn/expressions-plugin/public';
|
||||
import type { IndexManagementPluginSetup } from '@kbn/index-management';
|
||||
import type { IndexManagementPluginSetup } from '@kbn/index-management-shared-types';
|
||||
import type { FieldsMetadataPublicStart } from '@kbn/fields-metadata-plugin/public';
|
||||
|
||||
export interface TextBasedLanguagesEditorProps {
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"@kbn/data-plugin",
|
||||
"@kbn/expressions-plugin",
|
||||
"@kbn/data-views-plugin",
|
||||
"@kbn/index-management",
|
||||
"@kbn/index-management-shared-types",
|
||||
"@kbn/code-editor",
|
||||
"@kbn/shared-ux-markdown",
|
||||
"@kbn/fields-metadata-plugin",
|
||||
|
|
|
@ -11,7 +11,7 @@ import { BehaviorSubject } from 'rxjs';
|
|||
import type { CoreStart } from '@kbn/core/public';
|
||||
import type { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
|
||||
import type { ExpressionsStart } from '@kbn/expressions-plugin/public';
|
||||
import type { IndexManagementPluginSetup } from '@kbn/index-management';
|
||||
import type { IndexManagementPluginSetup } from '@kbn/index-management-shared-types';
|
||||
import type { FieldsMetadataPublicStart } from '@kbn/fields-metadata-plugin/public';
|
||||
|
||||
export let core: CoreStart;
|
||||
|
|
|
@ -11,7 +11,7 @@ import type { Plugin, CoreStart, CoreSetup } from '@kbn/core/public';
|
|||
import type { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
|
||||
import type { ExpressionsStart } from '@kbn/expressions-plugin/public';
|
||||
import type { DataPublicPluginStart } from '@kbn/data-plugin/public';
|
||||
import type { IndexManagementPluginSetup } from '@kbn/index-management';
|
||||
import type { IndexManagementPluginSetup } from '@kbn/index-management-shared-types';
|
||||
import type { UiActionsSetup, UiActionsStart } from '@kbn/ui-actions-plugin/public';
|
||||
import type { FieldsMetadataPublicStart } from '@kbn/fields-metadata-plugin/public';
|
||||
import {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"@kbn/core",
|
||||
"@kbn/expressions-plugin",
|
||||
"@kbn/data-views-plugin",
|
||||
"@kbn/index-management",
|
||||
"@kbn/index-management-shared-types",
|
||||
"@kbn/i18n",
|
||||
"@kbn/config-schema",
|
||||
"@kbn/esql-utils",
|
||||
|
|
|
@ -1010,10 +1010,10 @@
|
|||
"@kbn/import-resolver/*": ["packages/kbn-import-resolver/*"],
|
||||
"@kbn/index-lifecycle-management-plugin": ["x-pack/plugins/index_lifecycle_management"],
|
||||
"@kbn/index-lifecycle-management-plugin/*": ["x-pack/plugins/index_lifecycle_management/*"],
|
||||
"@kbn/index-management": ["x-pack/packages/index-management"],
|
||||
"@kbn/index-management/*": ["x-pack/packages/index-management/*"],
|
||||
"@kbn/index-management-plugin": ["x-pack/plugins/index_management"],
|
||||
"@kbn/index-management-plugin/*": ["x-pack/plugins/index_management/*"],
|
||||
"@kbn/index-management-shared-types": ["x-pack/packages/index-management/index_management_shared_types"],
|
||||
"@kbn/index-management-shared-types/*": ["x-pack/packages/index-management/index_management_shared_types/*"],
|
||||
"@kbn/index-patterns-test-plugin": ["test/plugin_functional/plugins/index_patterns"],
|
||||
"@kbn/index-patterns-test-plugin/*": ["test/plugin_functional/plugins/index_patterns/*"],
|
||||
"@kbn/inference_integration_flyout": ["x-pack/packages/ml/inference_integration_flyout"],
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# @kbn/index-management
|
||||
# @kbn/index-management-shared-types
|
||||
|
||||
Contains types and functions used and exported by the index management plugin. Primarily used to avoid cyclical dependencies.
|
|
@ -7,6 +7,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../../..',
|
||||
roots: ['<rootDir>/x-pack/packages/index-management'],
|
||||
rootDir: '../../../..',
|
||||
roots: ['<rootDir>/x-pack/packages/index-management/index_management_shared_types'],
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"type": "shared-common",
|
||||
"id": "@kbn/index-management",
|
||||
"id": "@kbn/index-management-shared-types",
|
||||
"owner": "@elastic/kibana-management"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "@kbn/index-management",
|
||||
"name": "@kbn/index-management-shared-types",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"license": "Elastic License 2.0"
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"extends": "../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
|
@ -24,7 +24,7 @@ import {
|
|||
import { DataPublicPluginStart } from '@kbn/data-plugin/public';
|
||||
|
||||
import { GuidedOnboardingPluginStart } from '@kbn/guided-onboarding-plugin/public';
|
||||
import { IndexMappingProps } from '@kbn/index-management';
|
||||
import { IndexMappingProps } from '@kbn/index-management-shared-types';
|
||||
import { LensPublicStart } from '@kbn/lens-plugin/public';
|
||||
import { MlPluginStart } from '@kbn/ml-plugin/public';
|
||||
import { ELASTICSEARCH_URL_PLACEHOLDER } from '@kbn/search-api-panels/constants';
|
||||
|
|
|
@ -25,7 +25,7 @@ import { DataPublicPluginStart } from '@kbn/data-plugin/public';
|
|||
import { GuidedOnboardingPluginStart } from '@kbn/guided-onboarding-plugin/public';
|
||||
import type { HomePublicPluginSetup } from '@kbn/home-plugin/public';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import type { IndexManagementPluginStart } from '@kbn/index-management';
|
||||
import type { IndexManagementPluginStart } from '@kbn/index-management-shared-types';
|
||||
import { LensPublicStart } from '@kbn/lens-plugin/public';
|
||||
import { LicensingPluginStart } from '@kbn/licensing-plugin/public';
|
||||
import { MlPluginStart } from '@kbn/ml-plugin/public';
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
"@kbn/search-playground",
|
||||
"@kbn/search-inference-endpoints",
|
||||
"@kbn/utility-types",
|
||||
"@kbn/index-management",
|
||||
"@kbn/index-management-shared-types",
|
||||
"@kbn/deeplinks-search",
|
||||
"@kbn/react-kibana-context-theme",
|
||||
"@kbn/search-types",
|
||||
|
|
|
@ -26,7 +26,7 @@ import {
|
|||
import { euiThemeVars } from '@kbn/ui-theme';
|
||||
|
||||
import { ApplicationStart } from '@kbn/core/public';
|
||||
import { Index, IndexDetailsTab } from '@kbn/index-management';
|
||||
import { Index, IndexDetailsTab } from '@kbn/index-management-shared-types';
|
||||
import { IlmExplainLifecycleLifecycleExplainManaged } from '@elastic/elasticsearch/lib/api/types';
|
||||
import { Phase } from '../../../common/types';
|
||||
import { getPolicyEditPath } from '../../application/services/navigation';
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
"@kbn/shared-ux-router",
|
||||
"@kbn/ui-theme",
|
||||
"@kbn/shared-ux-link-redirect-app",
|
||||
"@kbn/index-management",
|
||||
"@kbn/index-management-shared-types",
|
||||
"@kbn/react-kibana-context-render",
|
||||
"@kbn/unsaved-changes-prompt",
|
||||
"@kbn/shared-ux-table-persist",
|
||||
|
|
|
@ -54,6 +54,6 @@ export {
|
|||
|
||||
export { MAJOR_VERSION } from './plugin';
|
||||
|
||||
export { Section, IndexDetailsSection } from '@kbn/index-management';
|
||||
export type { IndexDetailsTab, IndexDetailsTabId } from '@kbn/index-management';
|
||||
export { Section, IndexDetailsSection } from '@kbn/index-management-shared-types';
|
||||
export type { IndexDetailsTab, IndexDetailsTabId } from '@kbn/index-management-shared-types';
|
||||
export * from './allow_auto_create';
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import type { EnrichSummary, EnrichPolicyType } from '@elastic/elasticsearch/lib/api/types';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management-shared-types';
|
||||
|
||||
export const getPolicyType = (policy: EnrichSummary): EnrichPolicyType => {
|
||||
if (policy.config.match) {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
export type { Index } from '@kbn/index-management';
|
||||
export type { Index } from '@kbn/index-management-shared-types';
|
||||
|
||||
export interface IndexModule {
|
||||
number_of_shards: number | string;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { Index } from '@kbn/index-management';
|
||||
import { Index } from '@kbn/index-management-shared-types';
|
||||
import { MlPluginStart } from '@kbn/ml-plugin/public';
|
||||
import { useState, useEffect } from 'react';
|
||||
import { normalize } from '../components/mappings_editor/lib';
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React, { createContext, useContext, useState } from 'react';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management-shared-types';
|
||||
|
||||
export type DraftPolicy = Partial<SerializedEnrichPolicy>;
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ import React, { useState, useMemo, useCallback } from 'react';
|
|||
import { i18n } from '@kbn/i18n';
|
||||
import { EuiSteps, EuiStepStatus, EuiCallOut, EuiSpacer } from '@elastic/eui';
|
||||
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management-shared-types';
|
||||
import { useAppContext } from '../../app_context';
|
||||
import { ConfigurationStep, FieldSelectionStep, CreateStep } from './steps';
|
||||
import { useCreatePolicyContext } from './create_policy_context';
|
||||
|
|
|
@ -21,7 +21,7 @@ import {
|
|||
EuiCodeBlock,
|
||||
} from '@elastic/eui';
|
||||
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management-shared-types';
|
||||
import { useCreatePolicyContext } from '../create_policy_context';
|
||||
import { serializeAsESPolicy, getESPolicyCreationApiCall } from '../../../../../common/lib';
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import {
|
|||
EuiButtonEmpty,
|
||||
} from '@elastic/eui';
|
||||
import { CodeEditor } from '@kbn/code-editor';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management-shared-types';
|
||||
|
||||
export interface Props {
|
||||
policy: SerializedEnrichPolicy;
|
||||
|
|
|
@ -12,7 +12,7 @@ import { RouteComponentProps } from 'react-router-dom';
|
|||
import { Location } from 'history';
|
||||
import { parse } from 'query-string';
|
||||
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management-shared-types';
|
||||
import { APP_WRAPPER_CLASS, useExecutionContext } from '../../../../shared_imports';
|
||||
import { useAppContext } from '../../../app_context';
|
||||
import { useRedirectPath } from '../../../hooks/redirect_path';
|
||||
|
|
|
@ -16,7 +16,7 @@ import {
|
|||
import { i18n } from '@kbn/i18n';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
import { reactRouterNavigate } from '@kbn/kibana-react-plugin/public';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management-shared-types';
|
||||
import { useEuiTablePersist, DEFAULT_PAGE_SIZE_OPTIONS } from '@kbn/shared-ux-table-persist';
|
||||
import { useAppContext } from '../../../../app_context';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import { CoreStart } from '@kbn/core/public';
|
||||
import { IndexMappingProps } from '@kbn/index-management';
|
||||
import { IndexMappingProps } from '@kbn/index-management-shared-types';
|
||||
import { AppDependencies } from '../../../../app_context';
|
||||
import { ExtensionsService } from '../../../../../services/extensions_service';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import { METRIC_TYPE } from '@kbn/analytics';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management-shared-types';
|
||||
import { IndicesStatsResponse } from '@elastic/elasticsearch/lib/api/types';
|
||||
import { InferenceAPIConfigResponse } from '@kbn/ml-trained-models-utils';
|
||||
import { MappingTypeMapping } from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
|
||||
|
|
|
@ -19,6 +19,6 @@ export type {
|
|||
IndexMappingProps,
|
||||
IndexManagementPluginSetup,
|
||||
IndexManagementPluginStart,
|
||||
} from '@kbn/index-management';
|
||||
} from '@kbn/index-management-shared-types';
|
||||
|
||||
export { getIndexListUri, getTemplateDetailsLink } from './application/services/routing';
|
||||
|
|
|
@ -15,7 +15,10 @@ import {
|
|||
PluginInitializerContext,
|
||||
ScopedHistory,
|
||||
} from '@kbn/core/public';
|
||||
import { IndexManagementPluginSetup, IndexManagementPluginStart } from '@kbn/index-management';
|
||||
import {
|
||||
IndexManagementPluginSetup,
|
||||
IndexManagementPluginStart,
|
||||
} from '@kbn/index-management-shared-types';
|
||||
import { setExtensionsService } from './application/store/selectors/extension_service';
|
||||
import { ExtensionsService } from './services/extensions_service';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import type { PublicMethodsOf } from '@kbn/utility-types';
|
||||
import { ExtensionsSetup } from '@kbn/index-management/src/services/extensions_service';
|
||||
import { ExtensionsSetup } from '@kbn/index-management-shared-types/src/services/extensions_service';
|
||||
import { ExtensionsService } from './extensions_service';
|
||||
|
||||
export type ExtensionsSetupMock = jest.Mocked<ExtensionsSetup>;
|
||||
|
|
|
@ -13,7 +13,7 @@ import {
|
|||
EmptyListContent,
|
||||
IndexContent,
|
||||
ExtensionsSetup,
|
||||
} from '@kbn/index-management';
|
||||
} from '@kbn/index-management-shared-types';
|
||||
import { IndexDetailsTab } from '../../common/constants';
|
||||
|
||||
export class ExtensionsService {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import { PublicApiServiceSetup } from '@kbn/index-management/src/services/public_api_service';
|
||||
import { PublicApiServiceSetup } from '@kbn/index-management-shared-types/src/services/public_api_service';
|
||||
|
||||
export type PublicApiServiceSetupMock = jest.Mocked<PublicApiServiceSetup>;
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
import { IScopedClusterClient } from '@kbn/core/server';
|
||||
import type { EnrichSummary } from '@elastic/elasticsearch/lib/api/types';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management-shared-types';
|
||||
import { getPolicyType } from '../../common/lib';
|
||||
|
||||
export const serializeEnrichmentPolicies = (
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import { IScopedClusterClient } from '@kbn/core/server';
|
||||
import { schema, TypeOf } from '@kbn/config-schema';
|
||||
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management';
|
||||
import type { SerializedEnrichPolicy } from '@kbn/index-management-shared-types';
|
||||
import { RouteDependencies } from '../../../types';
|
||||
import { addInternalBasePath } from '..';
|
||||
import { enrichPoliciesActions } from '../../../lib/enrich_policies';
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
"@kbn/monaco",
|
||||
"@kbn/console-plugin",
|
||||
"@kbn/shared-ux-utility",
|
||||
"@kbn/index-management",
|
||||
"@kbn/index-management-shared-types",
|
||||
"@kbn/utility-types",
|
||||
"@kbn/inference_integration_flyout",
|
||||
"@kbn/ml-plugin",
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import type { Index } from '@kbn/index-management';
|
||||
import type { Index } from '@kbn/index-management-shared-types';
|
||||
import { useQuery } from '@tanstack/react-query';
|
||||
import { useKibana } from '../use_kibana';
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
"@kbn/share-plugin",
|
||||
"@kbn/kibana-utils-plugin",
|
||||
"@kbn/shared-ux-router",
|
||||
"@kbn/index-management",
|
||||
"@kbn/index-management-shared-types",
|
||||
"@kbn/try-in-console",
|
||||
"@kbn/cloud-plugin",
|
||||
],
|
||||
|
|
|
@ -18,7 +18,7 @@ import {
|
|||
} from '@elastic/eui';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
import { CoreStart } from '@kbn/core/public';
|
||||
import { IndexContent } from '@kbn/index-management';
|
||||
import { IndexContent } from '@kbn/index-management-shared-types';
|
||||
|
||||
const IndexMappingsDocsLink: FunctionComponent<{ docLinks: CoreStart['docLinks'] }> = ({
|
||||
docLinks,
|
||||
|
|
|
@ -12,7 +12,7 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|||
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
|
||||
import { EuiLoadingSpinner } from '@elastic/eui';
|
||||
|
||||
import { IndexContent } from '@kbn/index-management';
|
||||
import { IndexContent } from '@kbn/index-management-shared-types';
|
||||
|
||||
import { ServerlessSearchPluginStartDependencies } from '../../../types';
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
"@kbn/core-logging-server-mocks",
|
||||
"@kbn/discover-plugin",
|
||||
"@kbn/search-connectors-plugin",
|
||||
"@kbn/index-management",
|
||||
"@kbn/index-management-shared-types",
|
||||
"@kbn/react-kibana-context-render",
|
||||
"@kbn/search-playground",
|
||||
"@kbn/security-api-key-management",
|
||||
|
|
|
@ -5302,7 +5302,7 @@
|
|||
version "0.0.0"
|
||||
uid ""
|
||||
|
||||
"@kbn/index-management@link:x-pack/packages/index-management":
|
||||
"@kbn/index-management-shared-types@link:x-pack/packages/index-management/index_management_shared_types":
|
||||
version "0.0.0"
|
||||
uid ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue