diff --git a/src/plugins/discover/public/plugin.ts b/src/plugins/discover/public/plugin.ts index a4c5bb78d649..9c3c340e6b9b 100644 --- a/src/plugins/discover/public/plugin.ts +++ b/src/plugins/discover/public/plugin.ts @@ -38,7 +38,6 @@ import { AppUpdater, CoreSetup, CoreStart, - DEFAULT_WORKSPACE_TEMPLATES, Plugin, PluginInitializerContext, } from 'opensearch-dashboards/public'; @@ -90,6 +89,7 @@ import { DiscoverUrlGenerator, } from './url_generator'; import { SearchEmbeddableFactory } from './application/embeddable'; +import { DEFAULT_WORKSPACE_TEMPLATES } from '../../../core/public'; declare module '../../share/public' { export interface UrlGeneratorStateMapping { diff --git a/src/plugins/visualize/public/plugin.ts b/src/plugins/visualize/public/plugin.ts index a5cbbfc849e3..f7c520a68deb 100644 --- a/src/plugins/visualize/public/plugin.ts +++ b/src/plugins/visualize/public/plugin.ts @@ -37,7 +37,6 @@ import { AppUpdater, CoreSetup, CoreStart, - DEFAULT_WORKSPACE_TEMPLATES, Plugin, PluginInitializerContext, ScopedHistory, @@ -71,6 +70,7 @@ import { } from './services'; import { visualizeFieldAction } from './actions/visualize_field_action'; import { createVisualizeUrlGenerator } from './url_generator'; +import { DEFAULT_WORKSPACE_TEMPLATES } from '../../../core/public'; export interface VisualizePluginStartDependencies { data: DataPublicPluginStart;