Cumulio dashboard migrations
Table of contents
From 3.x.x to 4.x.x
cumulio-dashboard.umd.js is removed from the package.
- ESM file is renamed to
index.js (older: cumulio-dashboard.esm.js) and CommonJS file is now called index.cjs
From 2.x.x to 3.x.x
- Filters are represented as a
FilterGroup array instead of a Filter array. FilterGroup is an object containing the list of filters and AND/OR condition describing their relation. FilterGroup also can have child groups to support complex filtering logic
{
id: string;
condition: 'and' | 'or';
filters: Filter[];
subGroups: FilterGroup[];
origin: string;
datasetId?: string;
itemId?: string;
}
{
expression: string;
parameters: [];
properties: {
id: string;
origin: string;
type: string;
itemId: string;
ignore?: string[];
}
}
getFilters() method response and changedFilters event data now contain filters as an array of FilterGroup objects instead of Filter objects
getFilters(): Promise<FilterGroup[]>
{
changed: FilterGroup[];
filters: FilterGroup[];
}
From 1.x.x to 2.x.x