Skip to content

Commit

Permalink
[Move @kbn/config-schema to server] presentation plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo committed Aug 29, 2024
1 parent 2853279 commit 50c1cca
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/plugins/input_control_vis/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import { PluginInitializerContext } from '@kbn/core/public';
import { InputControlVisPlugin as Plugin } from './plugin';
import { InputControlPublicConfig } from '../config';
import type { InputControlPublicConfig } from '../server/config';

export function plugin(initializerContext: PluginInitializerContext<InputControlPublicConfig>) {
return new Plugin(initializerContext);
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/input_control_vis/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { PANEL_BADGE_TRIGGER } from '@kbn/embeddable-plugin/public';
import { createInputControlVisFn } from './input_control_fn';
import { getInputControlVisRenderer } from './input_control_vis_renderer';
import { createInputControlVisTypeDefinition } from './input_control_vis_type';
import { InputControlPublicConfig } from '../config';
import type { InputControlPublicConfig } from '../server/config';
import { InputControlDeprecationBadge } from './deprecation_badge';

type InputControlVisCoreSetup = CoreSetup<InputControlVisPluginStartDependencies, void>;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/plugins/input_control_vis/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import type { CoreSetup, PluginConfigDescriptor, PluginInitializerContext } from '@kbn/core/server';
import type { VisualizationsServerSetup } from '@kbn/visualizations-plugin/server';

import { configSchema, InputControlConfig } from '../config';
import { configSchema, InputControlConfig } from './config';

export const config: PluginConfigDescriptor<InputControlConfig> = {
exposeToBrowser: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_type_markdown/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { VisualizationsSetup } from '@kbn/visualizations-plugin/public';

import { markdownVisDefinition } from './markdown_vis';
import { createMarkdownVisFn } from './markdown_fn';
import { ConfigSchema } from '../config';
import type { ConfigSchema } from '../server/config';
import { getMarkdownVisRenderer } from './markdown_renderer';

/** @internal */
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/plugins/vis_type_markdown/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import { PluginConfigDescriptor } from '@kbn/core/server';

import { configSchema, ConfigSchema } from '../config';
import { configSchema, ConfigSchema } from './config';

export const config: PluginConfigDescriptor<ConfigSchema> = {
schema: configSchema,
Expand Down

0 comments on commit 50c1cca

Please sign in to comment.