gps-global-types 1.0.56 → 1.0.58

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.
@@ -98,16 +98,16 @@ export interface LegendBullet {
98
98
  label: string;
99
99
  }
100
100
  export type MSTLegend = Partial<Record<colorKey, LegendBullet[]>> & Partial<Record<dateKey, 'date'>>;
101
+ interface transformBulletExtension extends LegendBullet {
102
+ x: number;
103
+ y: number;
104
+ }
101
105
  export interface SnapshotType {
102
- _id: ObjectId;
103
- form: mstGlobalTypes;
106
+ name: string;
107
+ form?: mstGlobalTypes;
104
108
  legend: LegendBullet[];
105
- nodes: Record<ObjectId, LegendBullet>;
109
+ nodes: Record<ObjectId, transformBulletExtension>;
106
110
  scheme: string;
107
- transforms: Record<ObjectId, {
108
- x: number;
109
- y: number;
110
- }>;
111
111
  }
112
112
  /** /mst route RESULT
113
113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gps-global-types",
3
- "version": "1.0.56",
3
+ "version": "1.0.58",
4
4
  "description": "types shared between front-end and back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",