cumul.io

Cumulio dashboard migrations

Table of contents

From 3.x.x to 4.x.x

From 2.x.x to 3.x.x

// FilterGroup
{
  id: string;
  condition: 'and' | 'or';
  filters: Filter[];
  subGroups: FilterGroup[];
  origin: string;
  datasetId?: string; // dataset id in case of dahsboard level filters
  itemId?: string; // chart id in case of chart level filters
}

// Filter
{
  expression: string;
  parameters: [];
  properties: {
    id: string;
    origin: string;
    type: string;
    itemId: string;
    ignore?: string[];
  }
}
getFilters(): Promise<FilterGroup[]>
// changedFilters event data
{
  changed: FilterGroup[]; // changed filters
  filters: FilterGroup[]; // all filters
  // ... other event properties
}

From 1.x.x to 2.x.x