mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Fix es_ui_shared imports (#62526)
This commit is contained in:
parent
102fa1b560
commit
f86dac77da
6 changed files with 9 additions and 11 deletions
|
@ -19,6 +19,10 @@
|
|||
|
||||
export { JsonEditor, OnJsonEditorUpdateHandler } from './components/json_editor';
|
||||
|
||||
export { SectionLoading } from './components/section_loading';
|
||||
|
||||
export { CronEditor, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR } from './components/cron_editor';
|
||||
|
||||
export {
|
||||
SendRequestConfig,
|
||||
SendRequestResponse,
|
||||
|
|
|
@ -11,7 +11,7 @@ import {
|
|||
WEEK,
|
||||
MONTH,
|
||||
YEAR,
|
||||
} from '../../../../../../src/plugins/es_ui_shared/public/components/cron_editor';
|
||||
} from '../../../../../../src/plugins/es_ui_shared/public';
|
||||
import { indexPatterns } from '../../../../../../src/plugins/data/public';
|
||||
import { setHttp } from '../../public/crud_app/services';
|
||||
import { mockHttpRequest, pageHelpers } from './helpers';
|
||||
|
|
|
@ -24,8 +24,7 @@ import {
|
|||
EuiTitle,
|
||||
} from '@elastic/eui';
|
||||
|
||||
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
|
||||
import { CronEditor } from '../../../../../../../../../src/plugins/es_ui_shared/public/components/cron_editor';
|
||||
import { CronEditor } from '../../../../../../../../../src/plugins/es_ui_shared/public';
|
||||
import { indexPatterns } from '../../../../../../../../../src/plugins/data/public';
|
||||
|
||||
import { indices } from '../../../../shared_imports';
|
||||
|
|
|
@ -8,8 +8,7 @@ import cloneDeep from 'lodash/lang/cloneDeep';
|
|||
import get from 'lodash/object/get';
|
||||
import pick from 'lodash/object/pick';
|
||||
|
||||
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
|
||||
import { WEEK } from '../../../../../../../../../src/plugins/es_ui_shared/public/components/cron_editor';
|
||||
import { WEEK } from '../../../../../../../../../src/plugins/es_ui_shared/public';
|
||||
|
||||
import { validateId } from './validate_id';
|
||||
import { validateIndexPattern } from './validate_index_pattern';
|
||||
|
|
|
@ -28,8 +28,7 @@ import { FormattedMessage } from '@kbn/i18n/react';
|
|||
import moment from 'moment-timezone';
|
||||
import _ from 'lodash';
|
||||
import { NotificationsStart } from 'src/core/public';
|
||||
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
|
||||
import { SectionLoading } from '../../../../../../../src/plugins/es_ui_shared/public/components/section_loading';
|
||||
import { SectionLoading } from '../../../../../../../src/plugins/es_ui_shared/public';
|
||||
import { ApiKey, ApiKeyToInvalidate } from '../../../../common/model';
|
||||
import { APIKeysAPIClient } from '../api_keys_api_client';
|
||||
import { DocumentationLinksService } from '../documentation_links';
|
||||
|
|
|
@ -10,9 +10,6 @@ export {
|
|||
UseRequestConfig,
|
||||
sendRequest,
|
||||
useRequest,
|
||||
} from '../../../../src/plugins/es_ui_shared/public';
|
||||
|
||||
export {
|
||||
CronEditor,
|
||||
DAY,
|
||||
} from '../../../../src/plugins/es_ui_shared/public/components/cron_editor';
|
||||
} from '../../../../src/plugins/es_ui_shared/public';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue