diff --git a/src/plugins/vis_type_pie/public/pie_fn.ts b/src/plugins/vis_type_pie/public/pie_fn.ts index ff0758d1e5707..65ac648ca2868 100644 --- a/src/plugins/vis_type_pie/public/pie_fn.ts +++ b/src/plugins/vis_type_pie/public/pie_fn.ts @@ -9,7 +9,7 @@ import { i18n } from '@kbn/i18n'; import { ExpressionFunctionDefinition, Datatable, Render } from '../../expressions/common'; import { PieVisParams, PieVisConfig } from './types'; -import { prepareLogTable } from '../../visualizations/common'; +import { prepareLogTable } from '../../visualizations/public'; export const vislibPieName = 'pie_vis'; diff --git a/src/plugins/visualizations/common/expression_functions/index.ts b/src/plugins/visualizations/common/expression_functions/index.ts new file mode 100644 index 0000000000000..123fa28f18338 --- /dev/null +++ b/src/plugins/visualizations/common/expression_functions/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export * from './range'; +export * from './vis_dimension'; diff --git a/src/plugins/visualizations/common/index.ts b/src/plugins/visualizations/common/index.ts index 278af53c56503..bde292cb69697 100644 --- a/src/plugins/visualizations/common/index.ts +++ b/src/plugins/visualizations/common/index.ts @@ -9,3 +9,4 @@ /** @public types */ export * from './types'; export * from './prepare_log_table'; +export * from './expression_functions'; diff --git a/src/plugins/visualizations/public/index.ts b/src/plugins/visualizations/public/index.ts index adc674fecef28..a01a2477dd311 100644 --- a/src/plugins/visualizations/public/index.ts +++ b/src/plugins/visualizations/public/index.ts @@ -41,5 +41,5 @@ export { } from './types'; export { VisualizationListItem, VisualizationStage } from './vis_types/vis_type_alias_registry'; export { VISUALIZE_ENABLE_LABS_SETTING } from '../common/constants'; -export { SavedVisState, VisParams } from '../common'; +export { SavedVisState, VisParams, prepareLogTable } from '../common'; export { ExpressionValueVisDimension } from '../common/expression_functions/vis_dimension';