kibana/x-pack/plugins/lens/public/index.ts
Marco Liberati 3c6b85469b
[Lens] Move Lens functions to common (#105455)
* 🚚 First move batch to common

* 🚚 Second batch of move

* 🏷️ Import types only

* 🚚 Third batch

* 🚚 Fourth batch move

* 🚚 Another module moved

* 🚚 More function moved

* 🚚 Last bit of move

*  Reduce page load bundle size

* 🐛 Fix import issue

* 🐛 More import fix

*  Registered functions on the server

* 🐛 Expose datatable_column as well

*  Add server side expression test

* 🚚 Moved back render functions to public

*  Add a timezone arg to time_scale

* 🔥 Remove timezone arg

* 🔥 Remove server side code for now

* 👌 Integrated feedback

* 🚚 Move back datatable render function

* 🏷️ Fix imports

* 🏷️ Fix missing export

* 🚚 Move render functions back!

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-26 15:26:29 +02:00

64 lines
1.8 KiB
TypeScript

/*
* 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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { LensPlugin } from './plugin';
export type {
EmbeddableComponentProps,
TypedLensByValueInput,
} from './embeddable/embeddable_component';
export type { XYState } from './xy_visualization/types';
export type { DataType, OperationMetadata } from './types';
export type {
PieVisualizationState,
PieLayerState,
SharedPieLayerState,
MetricState,
AxesSettingsConfig,
XYLayerConfig,
LegendConfig,
SeriesType,
ValueLabelConfig,
YAxisMode,
XYCurveType,
YConfig,
} from '../common/expressions';
export type { DatatableVisualizationState } from './datatable_visualization/visualization';
export type {
IndexPatternPersistedState,
PersistedIndexPatternLayer,
IndexPatternColumn,
FieldBasedIndexPatternColumn,
OperationType,
IncompleteColumn,
FiltersIndexPatternColumn,
RangeIndexPatternColumn,
TermsIndexPatternColumn,
DateHistogramIndexPatternColumn,
MinIndexPatternColumn,
MaxIndexPatternColumn,
AvgIndexPatternColumn,
CardinalityIndexPatternColumn,
SumIndexPatternColumn,
MedianIndexPatternColumn,
PercentileIndexPatternColumn,
CountIndexPatternColumn,
LastValueIndexPatternColumn,
CumulativeSumIndexPatternColumn,
CounterRateIndexPatternColumn,
DerivativeIndexPatternColumn,
MovingAverageIndexPatternColumn,
FormulaIndexPatternColumn,
MathIndexPatternColumn,
OverallSumIndexPatternColumn,
} from './indexpattern_datasource/types';
export type { LensEmbeddableInput } from './embeddable';
export { LensPublicStart } from './plugin';
export const plugin = () => new LensPlugin();