diff --git a/src/plugins/home/public/application/kibana_services.ts b/src/plugins/home/public/application/kibana_services.ts index 14a1dfa794cc..9b699f2f84e5 100644 --- a/src/plugins/home/public/application/kibana_services.ts +++ b/src/plugins/home/public/application/kibana_services.ts @@ -28,7 +28,7 @@ import { TutorialService } from '../services/tutorials'; import { AddDataService } from '../services/add_data'; import { FeatureCatalogueRegistry } from '../services/feature_catalogue'; import { EnvironmentService } from '../services/environment'; -import { ConfigSchema } from '../../config'; +import type { ConfigSchema } from '../../server/config'; import type { WelcomeService } from '../services/welcome'; export interface HomeKibanaServices { diff --git a/src/plugins/home/public/plugin.ts b/src/plugins/home/public/plugin.ts index b002918c6a00..30ae716da886 100644 --- a/src/plugins/home/public/plugin.ts +++ b/src/plugins/home/public/plugin.ts @@ -23,7 +23,7 @@ import { SharePluginSetup, SharePluginStart } from '@kbn/share-plugin/public'; import type { CloudSetup, CloudStart } from '@kbn/cloud-plugin/public'; import { PLUGIN_ID, HOME_APP_BASE_PATH } from '../common/constants'; import { setServices } from './application/kibana_services'; -import { ConfigSchema } from '../config'; +import type { ConfigSchema } from '../server/config'; import { EnvironmentService, EnvironmentServiceSetup, diff --git a/src/plugins/home/config.ts b/src/plugins/home/server/config.ts similarity index 100% rename from src/plugins/home/config.ts rename to src/plugins/home/server/config.ts diff --git a/src/plugins/home/server/index.ts b/src/plugins/home/server/index.ts index d1763b2833b3..2413ae39f323 100644 --- a/src/plugins/home/server/index.ts +++ b/src/plugins/home/server/index.ts @@ -23,7 +23,7 @@ export type { ScopedTutorialContextFactory, } from './services'; import { PluginInitializerContext, PluginConfigDescriptor } from '@kbn/core/server'; -import { configSchema, ConfigSchema } from '../config'; +import { configSchema, ConfigSchema } from './config'; export const config: PluginConfigDescriptor = { exposeToBrowser: { diff --git a/src/plugins/home/tsconfig.json b/src/plugins/home/tsconfig.json index 01caa2a2c16c..7f8ce49f3c85 100644 --- a/src/plugins/home/tsconfig.json +++ b/src/plugins/home/tsconfig.json @@ -4,7 +4,7 @@ "outDir": "target/types", "isolatedModules": true }, - "include": ["common/**/*", "public/**/*", "server/**/*", "config.ts", ".storybook/**/*"], + "include": ["common/**/*", "public/**/*", "server/**/*", ".storybook/**/*"], "kbn_references": [ "@kbn/core", "@kbn/data-views-plugin",