Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ import type {
LensApiStaticValueOperation,
} from './metric_ops';
import type { LensApiBucketOperations } from './bucket_ops';
import { partitionStateSchema } from './charts/partition';
import type { MosaicState } from './charts/mosaic';
import { mosaicStateSchema } from './charts/mosaic';
import type { TreemapState } from './charts/treemap';
import { treemapStateSchema } from './charts/treemap';
import type { WaffleState } from './charts/waffle';
import { waffleStateSchema } from './charts/waffle';
import type { PieState } from './charts/pie';
import { pieStateSchema } from './charts/pie';

/**
* We need to break the type inference here to avoid exceeding the ts compiler serialization limit.
Expand All @@ -51,9 +54,12 @@ export const _lensApiStateSchema: any = schema.oneOf([
gaugeStateSchema,
heatmapStateSchema,
tagcloudStateSchema,
partitionStateSchema,
regionMapStateSchema,
datatableStateSchema,
pieStateSchema,
mosaicStateSchema,
treemapStateSchema,
waffleStateSchema,
]);

export type LensApiState =
Expand Down
Loading