Skip to content

Commit

Permalink
[Move @kbn/config-schema to server] sharedux plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo committed Aug 29, 2024
1 parent 2853279 commit 90a42de
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/plugins/no_data_page/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<NoDataPagePublicSetup, NoDataPagePublicStart> {
constructor(private initializerContext: PluginInitializerContext<NoDataPageConfig>) {}
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/plugins/no_data_page/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<NoDataPageConfig> = {
exposeToBrowser: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/no_data_page/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/share/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/plugins/share/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 90a42de

Please sign in to comment.