@hatiolab/things-scene 2.7.19 → 2.7.20

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/things-scene.d.ts CHANGED
@@ -1,11 +1,14 @@
1
1
  declare module '@hatiolab/things-scene' {
2
2
  type Constructor<T = {}> = new (...args: any[]) => T
3
3
 
4
- type MODE_VIEW = 0
5
- type MODE_EDIT = 1
6
- type MODE_SHIFT = 2
4
+ const MODE_VIEW = 0
5
+ const MODE_EDIT = 1
6
+ const MODE_SHIFT = 2
7
7
 
8
- type SCENE_MODE = MODE_VIEW | MODE_EDIT
8
+ enum SCENE_MODE {
9
+ VIEW = 0,
10
+ EDIT = 1
11
+ }
9
12
 
10
13
  type FITMODE = 'both' | 'ratio' | 'width' | 'height' | 'center' | 'none'
11
14
  type DIMENSION = { x: number; y: number }