Skip to content

Commit

Permalink
[Move @kbn/config-schema to server] visualization plugins (#191775)
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo authored Aug 30, 2024
1 parent 32fb434 commit de32af6
Show file tree
Hide file tree
Showing 62 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion src/plugins/vis_types/gauge/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { PluginInitializerContext } from '@kbn/core/public';
import { GaugePublicConfig } from '../config';
import type { GaugePublicConfig } from '../server/config';
import { VisTypeGaugePlugin } from './plugin';

export function plugin(initializerContext: PluginInitializerContext<GaugePublicConfig>) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/gauge/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { CoreSetup, CoreStart, PluginInitializerContext } from '@kbn/core/public
import { VisualizationsSetup } from '@kbn/visualizations-plugin/public';
import { DataPublicPluginStart } from '@kbn/data-plugin/public';
import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
import { GaugePublicConfig } from '../config';
import type { GaugePublicConfig } from '../server/config';
import { LEGACY_GAUGE_CHARTS_LIBRARY } from '../common';
import { VisTypeGaugePluginSetup } from './types';
import { gaugeVisType, goalVisType } from './vis_type';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/plugins/vis_types/gauge/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { PluginInitializerContext, PluginConfigDescriptor } from '@kbn/core/server';
import { configSchema, GaugeConfig } from '../config';
import { configSchema, GaugeConfig } from './config';

export const config: PluginConfigDescriptor<GaugeConfig> = {
exposeToBrowser: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/gauge/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { schema } from '@kbn/config-schema';

import { CoreSetup, Plugin, PluginInitializerContext, UiSettingsParams } from '@kbn/core/server';
import type { VisualizationsServerSetup } from '@kbn/visualizations-plugin/server';
import { GaugeConfig } from '../config';
import { GaugeConfig } from './config';

import { LEGACY_GAUGE_CHARTS_LIBRARY } from '../common';

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/heatmap/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { PluginInitializerContext } from '@kbn/core/public';
import { HeatmapPublicConfig } from '../config';
import type { HeatmapPublicConfig } from '../server/config';
import { VisTypeHeatmapPlugin } from './plugin';

export { heatmapVisType } from './vis_type';
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/heatmap/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
import type { FieldFormatsStart } from '@kbn/field-formats-plugin/public';
import type { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public';
import type { DataPublicPluginStart } from '@kbn/data-plugin/public';
import { HeatmapPublicConfig } from '../config';
import type { HeatmapPublicConfig } from '../server/config';
import { LEGACY_HEATMAP_CHARTS_LIBRARY } from '../common';
import { heatmapVisType } from './vis_type';
import { setDataViewsStart } from './services';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/plugins/vis_types/heatmap/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, HeatmapConfig } from '../config';
import { configSchema, HeatmapConfig } from './config';

export const config: PluginConfigDescriptor<HeatmapConfig> = {
exposeToBrowser: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/heatmap/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { schema } from '@kbn/config-schema';

import { CoreSetup, Plugin, PluginInitializerContext, UiSettingsParams } from '@kbn/core/server';
import type { VisualizationsServerSetup } from '@kbn/visualizations-plugin/server';
import { HeatmapConfig } from '../config';
import { HeatmapConfig } from './config';

import { LEGACY_HEATMAP_CHARTS_LIBRARY } from '../common';

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/metric/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

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

export function plugin(initializerContext: PluginInitializerContext<MetricPublicConfig>) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/metric/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { PluginInitializerContext, CoreSetup, CoreStart, Plugin } from '@kbn/cor
import { VisualizationsSetup } from '@kbn/visualizations-plugin/public';
import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
import { createMetricVisTypeDefinition } from './metric_vis_type';
import { MetricPublicConfig } from '../config';
import type { MetricPublicConfig } from '../server/config';
import { setDataViewsStart } from './services';

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

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

export const config: PluginConfigDescriptor<MetricConfig> = {
exposeToBrowser: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/pie/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';
import { VisTypePiePlugin } from './plugin';
import type { PiePublicConfig } from '../config';
import type { PiePublicConfig } from '../server/config';

export { pieVisType } from './vis_type';
export type { Dimensions, Dimension } from './types';
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/pie/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { ChartsPluginSetup } from '@kbn/charts-plugin/public';
import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public';
import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
import { DataPublicPluginStart } from '@kbn/data-plugin/public';
import type { PiePublicConfig } from '../config';
import type { PiePublicConfig } from '../server/config';
import { pieVisType } from './vis_type';
import { setDataViewsStart } from './services';

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/plugins/vis_types/pie/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, PieConfig } from '../config';
import { configSchema, PieConfig } from './config';

export const config: PluginConfigDescriptor<PieConfig> = {
exposeToBrowser: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/pie/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import { CoreSetup, Plugin, PluginInitializerContext } from '@kbn/core/server';
import type { VisualizationsServerSetup } from '@kbn/visualizations-plugin/server';
import type { PieConfig } from '../config';
import type { PieConfig } from './config';

interface PluginSetupDependencies {
visualizations: VisualizationsServerSetup;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/table/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

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

export function plugin(initializerContext: PluginInitializerContext<TablePublicConfig>) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/table/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import type { VisualizationsSetup } from '@kbn/visualizations-plugin/public';
import type { UsageCollectionStart } from '@kbn/usage-collection-plugin/public';
import type { FieldFormatsStart } from '@kbn/field-formats-plugin/public';
import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
import { TablePublicConfig } from '../config';
import type { TablePublicConfig } from '../server/config';
import { setDataViewsStart, setFormatService } from './services';
import { registerTableVis } from './register_vis';

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

import { CoreSetup, PluginConfigDescriptor, PluginInitializerContext } from '@kbn/core/server';
import type { VisualizationsServerSetup } from '@kbn/visualizations-plugin/server';
import { configSchema, TableConfig } from '../config';
import { configSchema, TableConfig } from './config';
import { VIS_TYPE_TABLE } from '../common';

export const config: PluginConfigDescriptor<TableConfig> = {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/tagcloud/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

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

export function plugin(initializerContext: PluginInitializerContext<TagcloudPublicConfig>) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/tagcloud/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { VisualizationsSetup } from '@kbn/visualizations-plugin/public';
import { ChartsPluginSetup } from '@kbn/charts-plugin/public';
import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
import { getTagCloudVisTypeDefinition } from './tag_cloud_type';
import { TagcloudPublicConfig } from '../config';
import type { TagcloudPublicConfig } from '../server/config';
import { setDataViewsStart } from './services';

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

import { CoreSetup, PluginConfigDescriptor, PluginInitializerContext } from '@kbn/core/server';
import type { VisualizationsServerSetup } from '@kbn/visualizations-plugin/server';
import { configSchema, TagcloudConfig } from '../config';
import { configSchema, TagcloudConfig } from './config';

export const config: PluginConfigDescriptor<TagcloudConfig> = {
exposeToBrowser: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/timelion/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

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

export function plugin(initializerContext: PluginInitializerContext<TimelionPublicConfig>) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/timelion/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import {
import { getArgValueSuggestions } from './helpers/arg_value_suggestions';
import { getTimelionVisRenderer } from './timelion_vis_renderer';

import type { TimelionPublicConfig } from '../config';
import type { TimelionPublicConfig } from '../server/config';

/** @internal */
export interface TimelionVisDependencies extends Partial<CoreStart> {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/plugins/vis_types/timelion/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, TimelionConfig } from '../config';
import { configSchema, TimelionConfig } from './config';

export const config: PluginConfigDescriptor<TimelionConfig> = {
exposeToBrowser: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/timelion/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import type { PluginStart, DataRequestHandlerContext } from '@kbn/data-plugin/se
import type { PluginStart as DataViewPluginStart } from '@kbn/data-views-plugin/server';
import { CoreSetup, PluginInitializerContext, Plugin } from '@kbn/core/server';
import type { VisualizationsServerSetup } from '@kbn/visualizations-plugin/server';
import type { TimelionConfig } from '../config';
import type { TimelionConfig } from './config';
import { TIMELION_VIS_NAME } from '../common/constants';
import loadFunctions from './lib/load_functions';
import { functionsRoute } from './routes/functions';
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/timeseries/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

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

export function plugin(
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/timeseries/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import type { IUiSettingsClient } from '@kbn/core/public';
import type { HttpSetup } from '@kbn/core-http-browser';
import type { DocLinksStart } from '@kbn/core-doc-links-browser';
import type { IStorageWrapper } from '@kbn/kibana-utils-plugin/public';
import { VisTypeTimeseriesPublicConfig } from '../config';
import type { VisTypeTimeseriesPublicConfig } from '../server/config';

import { EditorController, TSVB_EDITOR_NAME } from './application/editor_controller';

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

import { PluginInitializerContext, PluginConfigDescriptor } from '@kbn/core/server';
import { VisTypeTimeseriesConfig, config as configSchema } from '../config';
import { VisTypeTimeseriesConfig, config as configSchema } from './config';

export type { VisTypeTimeseriesSetup } from './plugin';

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/timeseries/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import type { PluginStart as DataViewsPublicPluginStart } from '@kbn/data-views-
import type { FieldFormatsRegistry } from '@kbn/field-formats-plugin/common';
import type { VisualizationsServerSetup } from '@kbn/visualizations-plugin/server';
import { VIS_TYPE } from '../common/constants';
import { VisTypeTimeseriesConfig } from '../config';
import { VisTypeTimeseriesConfig } from './config';
import { getVisData } from './lib/get_vis_data';
import { visDataRoutes } from './routes/vis';
import { fieldsRoutes } from './routes/fields';
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/vega/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

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

export function plugin(initializerContext: PluginInitializerContext<ConfigSchema>) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/vega/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { createVegaFn } from './vega_fn';
import { createVegaTypeDefinition } from './vega_type';
import type { IServiceSettings } from './vega_view/vega_map_view/service_settings/service_settings_types';

import { ConfigSchema } from '../config';
import type { ConfigSchema } from '../server/config';

import { getVegaInspectorView } from './vega_inspector';
import { getVegaVisRenderer } from './vega_vis_renderer';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/plugins/vis_types/vega/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import { PluginConfigDescriptor, PluginInitializerContext } 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/vis_types/vislib/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type { UsageCollectionStart } from '@kbn/usage-collection-plugin/public';

import { LEGACY_HEATMAP_CHARTS_LIBRARY } from '@kbn/vis-type-heatmap-plugin/common';
import { LEGACY_GAUGE_CHARTS_LIBRARY } from '@kbn/vis-type-gauge-plugin/common';
import { VislibPublicConfig } from '../config';
import type { VislibPublicConfig } from '../server/config';
import { setAnalytics, setI18n, setUsageCollectionStart } from './services';
import { heatmapVisTypeDefinition } from './heatmap';

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

import { PluginConfigDescriptor } from '@kbn/core/server';
import { configSchema, VislibConfig } from '../config';
import { configSchema, VislibConfig } from './config';

export const config: PluginConfigDescriptor<VislibConfig> = {
exposeToBrowser: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/xy/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';
import { VisTypeXyPlugin as Plugin } from './plugin';
import type { XyPublicConfig } from '../config';
import type { XyPublicConfig } from '../server/config';

export type { VisTypeXyPluginSetup } from './plugin';

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/xy/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { CoreSetup, CoreStart, Plugin, PluginInitializerContext } from '@kb
import type { VisualizationsSetup } from '@kbn/visualizations-plugin/public';
import type { ChartsPluginSetup } from '@kbn/charts-plugin/public';
import type { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
import type { XyPublicConfig } from '../config';
import type { XyPublicConfig } from '../server/config';
import { setUISettings, setPalettesService, setDataViewsStart } from './services';

import { visTypesDefinitions } from './vis_types';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/plugins/vis_types/xy/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, XyConfig } from '../config';
import { configSchema, XyConfig } from './config';

export const config: PluginConfigDescriptor<XyConfig> = {
exposeToBrowser: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/xy/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import { CoreSetup, Plugin, PluginInitializerContext } from '@kbn/core/server';
import type { VisualizationsServerSetup } from '@kbn/visualizations-plugin/server';
import type { XyConfig } from '../config';
import type { XyConfig } from './config';

interface PluginSetupDependencies {
visualizations: VisualizationsServerSetup;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import { SOContentStorage } from '@kbn/content-management-utils';

import { Logger } from '@kbn/logging';
import { cmServicesDefinition } from '../../common/content_management/cm_services';
import { cmServicesDefinition } from './cm_services';
import type {
VisualizationContentType,
VisualizationCrudTypes,
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/graph/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { PluginInitializerContext } from '@kbn/core/public';
import { GraphPlugin } from './plugin';
import { ConfigSchema } from '../config';
import type { ConfigSchema } from '../server/config';

export const plugin = (initializerContext: PluginInitializerContext<ConfigSchema>) =>
new GraphPlugin(initializerContext);
2 changes: 1 addition & 1 deletion x-pack/plugins/graph/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import type { HomePublicPluginSetup, HomePublicPluginStart } from '@kbn/home-plu
import type { UnifiedSearchPublicPluginStart } from '@kbn/unified-search-plugin/public';
import { SavedObjectsManagementPluginStart } from '@kbn/saved-objects-management-plugin/public';
import { checkLicense } from '../common/check_license';
import { ConfigSchema } from '../config';
import type { ConfigSchema } from '../server/config';
import { CONTENT_ID, LATEST_VERSION } from '../common/content_management';

export interface GraphPluginSetupDependencies {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { Logger } from '@kbn/logging';
import { SOContentStorage } from '@kbn/content-management-utils';
import { cmServicesDefinition } from '../../common/content_management/cm_services';
import { cmServicesDefinition } from './cm_services';
import type { GraphCrudTypes } from '../../common/content_management';

const SO_TYPE = 'graph-workspace';
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/graph/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 '../config';
import { configSchema, ConfigSchema } from './config';

export const plugin = async (initializerContext: PluginInitializerContext) => {
const { GraphPlugin } = await import('./plugin');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
type LensSavedObjectAttributes,
type PartialLensSavedObject,
} from '../../common/content_management';
import { cmServicesDefinition } from '../../common/content_management/cm_services';
import { cmServicesDefinition } from './cm_services';

const searchArgsToSOFindOptions = (args: LensCrudTypes['SearchIn']): SavedObjectsFindOptions => {
const { query, contentTypeId, options } = args;
Expand Down

0 comments on commit de32af6

Please sign in to comment.