Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Feb 7, 2022
1 parent 3ce46d8 commit 7468446
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions x-pack/plugins/canvas/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ export class CanvasPlugin implements Plugin {
},
});

const deps: CanvasSavedObjectTypeMigrationsDeps = {
expressions: expressionsFork,
};
const deps: CanvasSavedObjectTypeMigrationsDeps = { expressions: expressionsFork };
coreSetup.uiSettings.register(getUISettings());
coreSetup.savedObjects.registerType(customElementType(deps));
coreSetup.savedObjects.registerType(workpadTypeFactory(deps));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/

import {
customElementExpressionsMigrationsFactory,
templateWorkpadExpressionsMigrationsFactory,
workpadExpressionsMigrationsFactory,
} from './expressions';

import { CanvasSavedObjectTypeMigrationsDeps } from './types';
import { workpadMigrationsFactory as workpadMigrationsFactoryFn } from './workpad';
import { mergeMigrationFunctionMaps } from '../../../../../../src/plugins/kibana_utils/common';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { EmbeddableSetup } from 'src/plugins/embeddable/server';
import { ExpressionsService } from 'src/plugins/expressions/public';

export interface CanvasSavedObjectTypeMigrationsDeps {
Expand Down

0 comments on commit 7468446

Please sign in to comment.