[kibana_utils] remove root index.ts file (#137003) (#137073)

* [kibana_utils] remove root-level index.ts file

* autofix all imports

(cherry picked from commit 676be86d9d)

Co-authored-by: Spencer <spencer@elastic.co>
This commit is contained in:
Kibana Machine 2022-07-25 10:09:40 -04:00 committed by GitHub
parent 5161a76289
commit 13cad61ce9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 13 deletions

View file

@ -107,6 +107,11 @@ module.exports = {
to: '@kbn/utility-types-jest',
disallowedMessage: `import from @kbn/utility-types-jest instead`
},
{
from: '@kbn/kibana-utils-plugin',
to: '@kbn/kibana-utils-plugin/common',
exact: true,
},
],
],

View file

@ -1,10 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
export type { StateContainer } from './common';
export { createStateContainer, of } from './common';

View file

@ -6,7 +6,7 @@
* Side Public License, v 1.
*/
import { of } from '@kbn/kibana-utils-plugin';
import { of } from '@kbn/kibana-utils-plugin/common';
import {
KibanaLocation,
Locator,

View file

@ -15,7 +15,7 @@ import {
CONTEXT_MENU_TRIGGER,
} from '@kbn/embeddable-plugin/public';
import { DatatableColumnType } from '@kbn/expressions-plugin/common';
import { of } from '@kbn/kibana-utils-plugin';
import { of } from '@kbn/kibana-utils-plugin/common';
import { createPoint, rowClickData, TestEmbeddable } from './test/data';
import { ROW_CLICK_TRIGGER } from '@kbn/ui-actions-plugin/public';

View file

@ -9,7 +9,7 @@ import { DynamicActionManager } from './dynamic_action_manager';
import { ActionStorage, MemoryActionStorage } from './dynamic_action_storage';
import { UiActionsService } from '@kbn/ui-actions-plugin/public';
import { ActionRegistry } from '@kbn/ui-actions-plugin/public/types';
import { of } from '@kbn/kibana-utils-plugin';
import { of } from '@kbn/kibana-utils-plugin/common';
import { UiActionsServiceEnhancements } from '../services';
import { ActionFactoryDefinition } from './action_factory_definition';
import { SerializedAction, SerializedEvent } from './types';