@svar-ui/gantt-store 2.6.0 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -213,7 +213,7 @@ export interface IConfig {
213
213
  undo?: boolean;
214
214
  unscheduledTasks?: boolean;
215
215
  baselines?: boolean;
216
- rollups?: {
216
+ rollups?: boolean | {
217
217
  type: "all" | "closest";
218
218
  };
219
219
  markers?: IMarker[];
@@ -236,12 +236,18 @@ export interface IDataConfig extends IConfig {
236
236
  _sort?: TSort[];
237
237
  _weekStart?: Day;
238
238
  _markers?: IMarker[];
239
+ _rollups?: {
240
+ [key: TID]: Array<ITask>;
241
+ };
239
242
  _isFiltered?: boolean;
240
243
  _chartWidth?: number;
241
244
  _chartHeight?: number;
242
245
  _scrollSize?: number;
243
246
  }
244
- export interface IData extends Omit<IDataConfig, "tasks" | "links"> {
247
+ export interface IData extends Omit<IDataConfig, "tasks" | "links" | "rollups"> {
248
+ rollups?: false | {
249
+ type: "all" | "closest";
250
+ };
245
251
  zoom?: IZoomConfig;
246
252
  tasks: GanttDataTree;
247
253
  links: DataArray<ILink>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svar-ui/gantt-store",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "Internal state management used by SVAR Gantt component",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",