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