@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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/types.d.ts +8 -2
- package/package.json +1 -1
package/dist/types/types.d.ts
CHANGED
|
@@ -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>;
|