Skip to content

Commit

Permalink
[Move @kbn/config-schema to server] home (elastic#191780)
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo authored Aug 30, 2024
1 parent 37bd5f6 commit 6ce2d6b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/plugins/home/public/application/kibana_services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/home/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/plugins/home/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ConfigSchema> = {
exposeToBrowser: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/home/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6ce2d6b

Please sign in to comment.