@svar-ui/gantt-store 2.5.0 → 2.5.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.
@@ -123,7 +123,7 @@ export type IDataMethodsConfig = CombineTypes<{
123
123
  };
124
124
  ["zoom-scale"]: {
125
125
  dir: number;
126
- date: Date;
126
+ ratio?: number;
127
127
  offset?: number;
128
128
  };
129
129
  ["expand-scale"]: {
@@ -141,9 +141,7 @@ export interface IHistory {
141
141
  export interface ICriticalPathConfig {
142
142
  type: "strict" | "flexible";
143
143
  }
144
- export interface ICriticalTasks {
145
- [key: TID]: boolean;
146
- }
144
+ export type ICriticalTasks = Partial<Record<TID, boolean>>;
147
145
  type UnitFormatter = (date: Date) => string;
148
146
  export interface IUnitFormats {
149
147
  [unit: string]: UnitFormatter | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svar-ui/gantt-store",
3
- "version": "2.5.0",
3
+ "version": "2.5.2",
4
4
  "description": "Internal state management used by SVAR Gantt component",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",