diff --git a/src/plugins/no_data_page/public/plugin.ts b/src/plugins/no_data_page/public/plugin.ts index 910208f0f94b..dc7dff0e0781 100644 --- a/src/plugins/no_data_page/public/plugin.ts +++ b/src/plugins/no_data_page/public/plugin.ts @@ -8,7 +8,7 @@ import type { CoreSetup, CoreStart, Plugin, PluginInitializerContext } from '@kbn/core/public'; import type { NoDataPagePublicSetup, NoDataPagePublicStart } from './types'; -import type { NoDataPageConfig } from '../config'; +import type { NoDataPageConfig } from '../server/config'; export class NoDataPagePlugin implements Plugin { constructor(private initializerContext: PluginInitializerContext) {} diff --git a/src/plugins/no_data_page/config.ts b/src/plugins/no_data_page/server/config.ts similarity index 100% rename from src/plugins/no_data_page/config.ts rename to src/plugins/no_data_page/server/config.ts diff --git a/src/plugins/no_data_page/server/index.ts b/src/plugins/no_data_page/server/index.ts index ba02a016a967..cabe47bf65a3 100644 --- a/src/plugins/no_data_page/server/index.ts +++ b/src/plugins/no_data_page/server/index.ts @@ -8,7 +8,7 @@ import { PluginConfigDescriptor } from '@kbn/core-plugins-server'; -import { configSchema, NoDataPageConfig } from '../config'; +import { configSchema, NoDataPageConfig } from './config'; export const config: PluginConfigDescriptor = { exposeToBrowser: { diff --git a/src/plugins/no_data_page/tsconfig.json b/src/plugins/no_data_page/tsconfig.json index bab1c8c23edf..e92a0c156038 100644 --- a/src/plugins/no_data_page/tsconfig.json +++ b/src/plugins/no_data_page/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "outDir": "target/types" }, - "include": ["common/**/*", "public/**/*", "server/**/*", "config.ts"], + "include": ["common/**/*", "public/**/*", "server/**/*"], "kbn_references": [ "@kbn/core", "@kbn/core-plugins-browser", diff --git a/src/plugins/share/public/index.ts b/src/plugins/share/public/index.ts index f212081133b2..842f31bf11dc 100644 --- a/src/plugins/share/public/index.ts +++ b/src/plugins/share/public/index.ts @@ -8,7 +8,7 @@ import type { PluginInitializerContext } from '@kbn/core/public'; -export type { ConfigSchema } from '../common/config'; +export type { ConfigSchema } from '../server/config'; export { CSV_QUOTE_VALUES_SETTING, CSV_SEPARATOR_SETTING } from '../common/constants'; diff --git a/src/plugins/share/common/config.ts b/src/plugins/share/server/config.ts similarity index 100% rename from src/plugins/share/common/config.ts rename to src/plugins/share/server/config.ts diff --git a/src/plugins/share/server/index.ts b/src/plugins/share/server/index.ts index 5f61ba869381..c3bac70cc6e2 100644 --- a/src/plugins/share/server/index.ts +++ b/src/plugins/share/server/index.ts @@ -7,7 +7,7 @@ */ import { PluginConfigDescriptor, PluginInitializerContext } from '@kbn/core/server'; -import { ConfigSchema, configSchema } from '../common/config'; +import { ConfigSchema, configSchema } from './config'; export type { SharePublicSetup as SharePluginSetup,