Skip to content

Commit

Permalink
Revert unneeded changes to kibana_utils.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeelmers committed Aug 6, 2020
1 parent b75d8a7 commit 2652342
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/plugins/kibana_utils/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ export { distinctUntilChangedWithInitialValue } from './distinct_until_changed_w
export { url } from './url';
export { now } from './now';
export { calculateObjectHash } from './calculate_object_hash';
export { createStartServicesGetter, StartServicesGetter } from './core/create_start_service_getter';
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/

import { StartServicesAccessor } from 'src/core/public';
import { StartServicesAccessor } from '../../../../core/public';
import { createStartServicesGetter } from './create_start_service_getter';
import { Defer } from '../defer';
import { Defer } from '../../common/defer';

describe('createStartServicesGetter', () => {
test('throws if services are accessed before accessor resolves', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { CoreStart, StartServicesAccessor } from 'src/core/public';
import { CoreStart, StartServicesAccessor } from '../../../../core/public';

export interface StartServices<Plugins = unknown, OwnContract = unknown, Core = CoreStart> {
plugins: Plugins;
Expand Down
1 change: 1 addition & 0 deletions src/plugins/kibana_utils/public/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
*/

export * from './create_kibana_utils_core';
export * from './create_start_service_getter';
2 changes: 1 addition & 1 deletion src/plugins/kibana_utils/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export {
export { Configurable, CollectConfigProps } from './ui';
export { removeQueryParam, redirectWhenMissing } from './history';
export { applyDiff } from './state_management/utils/diff_object';
export { createStartServicesGetter, StartServicesGetter } from '../common';
export { createStartServicesGetter, StartServicesGetter } from './core/create_start_service_getter';

/** dummy plugin, we just want kibanaUtils to have its own bundle */
export function plugin() {
Expand Down
9 changes: 1 addition & 8 deletions src/plugins/kibana_utils/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,4 @@
* under the License.
*/

export {
createGetterSetter,
createStartServicesGetter,
Get,
Set,
StartServicesGetter,
url,
} from '../common';
export { Get, Set, createGetterSetter, url } from '../common';

0 comments on commit 2652342

Please sign in to comment.