@shopware-ag/dive 1.16.1 → 1.16.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/README.md +226 -32
- package/build/dive.cjs +14 -6
- package/build/dive.cjs.map +1 -1
- package/build/dive.d.cts +28 -2
- package/build/dive.d.ts +28 -2
- package/build/dive.js +14 -6
- package/build/dive.js.map +1 -1
- package/package.json +14 -6
- package/src/com/actions/camera/computeencompassingview.ts +1 -0
- package/src/com/actions/camera/getcameratransform.ts +1 -0
- package/src/com/actions/camera/movecamera.ts +1 -0
- package/src/com/actions/camera/resetcamera.ts +1 -0
- package/src/com/actions/camera/setcameralayer.ts +1 -0
- package/src/com/actions/camera/setcameratransform.ts +1 -0
- package/src/com/actions/camera/zoomcamera.ts +1 -0
- package/src/com/actions/index.ts +2 -2
- package/src/com/actions/media/generatemedia.ts +1 -0
- package/src/com/actions/object/addobject.ts +1 -0
- package/src/com/actions/object/deleteobject.ts +1 -0
- package/src/com/actions/object/deselectobject.ts +1 -0
- package/src/com/actions/object/getallobjects.ts +1 -0
- package/src/com/actions/object/getobjects.ts +1 -0
- package/src/com/actions/object/model/dropit.ts +1 -0
- package/src/com/actions/object/model/modelloaded.ts +1 -0
- package/src/com/actions/object/model/placeonfloor.ts +1 -0
- package/src/com/actions/object/selectobject.ts +1 -0
- package/src/com/actions/object/setparent.ts +1 -0
- package/src/com/actions/object/updateobject.ts +1 -0
- package/src/com/actions/scene/exportscene.ts +1 -0
- package/src/com/actions/scene/getallscenedata.ts +1 -0
- package/src/com/actions/scene/setbackground.ts +1 -0
- package/src/com/actions/scene/updatescene.ts +1 -0
- package/src/com/actions/toolbox/select/setgizmomode.ts +1 -0
- package/src/com/actions/toolbox/transform/setgizmovisible.ts +1 -0
- package/src/com/actions/toolbox/usetool.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopware-ag/dive",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.2",
|
|
4
4
|
"description": "Shopware Spatial Framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./build/dive.cjs",
|
|
@@ -49,18 +49,26 @@
|
|
|
49
49
|
"prettier-plugin-multiline-arrays": "^3.0.6",
|
|
50
50
|
"ts-jest": "^29.1.2",
|
|
51
51
|
"ts-node": "^10.9.2",
|
|
52
|
+
"tsc": "^2.0.4",
|
|
52
53
|
"tsup": "^8.0.2",
|
|
53
54
|
"typescript": "^5.4.5",
|
|
54
55
|
"typescript-eslint": "^7.7.1"
|
|
55
56
|
},
|
|
56
57
|
"scripts": {
|
|
57
|
-
"build": "tsup
|
|
58
|
-
"
|
|
58
|
+
"build": "tsup",
|
|
59
|
+
"dev": "tsup --watch",
|
|
59
60
|
"lint": "eslint",
|
|
60
|
-
"
|
|
61
|
-
"
|
|
61
|
+
"lint:actions": "yarn lint:actions:transpile && yarn lint:actions:check && yarn lint:actions:cleanup",
|
|
62
|
+
"lint:actions:transpile": "yarn tsc --resolveJsonModule --esModuleInterop ci/lint/lint-actions.ts && mv ci/lint/lint-actions.js ci/lint/lint-actions.cjs",
|
|
63
|
+
"lint:actions:check": "yarn node ci/lint/lint-actions.cjs",
|
|
64
|
+
"lint:actions:cleanup": "node -e \"require('fs').unlinkSync('ci/lint/lint-actions.cjs')\"",
|
|
65
|
+
"prettier:check": "prettier --check .",
|
|
66
|
+
"prettier:fix": "prettier --write .",
|
|
62
67
|
"unit": "jest",
|
|
63
68
|
"coverage": "jest --coverage",
|
|
64
|
-
"
|
|
69
|
+
"generate-readme": "yarn generate-readme:transpile && yarn generate-readme:write && yarn generate-readme:cleanup",
|
|
70
|
+
"generate-readme:transpile": "yarn tsc --resolveJsonModule --esModuleInterop ci/readme/generate-readme.ts && mv ci/readme/generate-readme.js ci/readme/generate-readme.cjs",
|
|
71
|
+
"generate-readme:write": "node ci/readme/generate-readme.cjs",
|
|
72
|
+
"generate-readme:cleanup": "node -e \"require('fs').unlinkSync('ci/readme/generate-readme.cjs')\""
|
|
65
73
|
}
|
|
66
74
|
}
|
package/src/com/actions/index.ts
CHANGED
|
@@ -25,7 +25,7 @@ import USE_TOOL from './toolbox/usetool.ts';
|
|
|
25
25
|
import SET_PARENT from './object/setparent.ts';
|
|
26
26
|
import EXPORT_SCENE from './scene/exportscene.ts';
|
|
27
27
|
|
|
28
|
-
export
|
|
28
|
+
export interface Actions {
|
|
29
29
|
GET_ALL_SCENE_DATA: GET_ALL_SCENE_DATA;
|
|
30
30
|
GET_ALL_OBJECTS: GET_ALL_OBJECTS;
|
|
31
31
|
GET_OBJECTS: GET_OBJECTS;
|
|
@@ -52,4 +52,4 @@ export type Actions = {
|
|
|
52
52
|
GENERATE_MEDIA: GENERATE_MEDIA;
|
|
53
53
|
SET_PARENT: SET_PARENT;
|
|
54
54
|
EXPORT_SCENE: EXPORT_SCENE;
|
|
55
|
-
}
|
|
55
|
+
}
|