@plurid/plurid-data 0.0.0-15 → 0.0.0-18
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.
|
@@ -191,13 +191,25 @@ export interface PluridPubSubSubscribeMessageSpaceScaleWith {
|
|
|
191
191
|
topic: typeof PLURID_PUBSUB_TOPIC.SPACE_SCALE_WITH;
|
|
192
192
|
callback: PluridPubSubCallback<PluridPubSubDataValueNumber>;
|
|
193
193
|
}
|
|
194
|
+
export interface SpaceTransform {
|
|
195
|
+
rotationX: number;
|
|
196
|
+
rotationY: number;
|
|
197
|
+
translationX: number;
|
|
198
|
+
translationY: number;
|
|
199
|
+
translationZ: number;
|
|
200
|
+
scale: number;
|
|
201
|
+
}
|
|
202
|
+
export interface PluridPubSubMessageSpaceTransformData {
|
|
203
|
+
value: Partial<SpaceTransform>;
|
|
204
|
+
internal?: boolean;
|
|
205
|
+
}
|
|
194
206
|
export interface PluridPubSubPublishMessageSpaceTransform {
|
|
195
207
|
topic: typeof PLURID_PUBSUB_TOPIC.SPACE_TRANSFORM;
|
|
196
|
-
data?:
|
|
208
|
+
data?: PluridPubSubMessageSpaceTransformData;
|
|
197
209
|
}
|
|
198
210
|
export interface PluridPubSubSubscribeMessageSpaceTransform {
|
|
199
211
|
topic: typeof PLURID_PUBSUB_TOPIC.SPACE_TRANSFORM;
|
|
200
|
-
callback: PluridPubSubCallback<
|
|
212
|
+
callback: PluridPubSubCallback<PluridPubSubMessageSpaceTransformData>;
|
|
201
213
|
}
|
|
202
214
|
export interface PluridPubSubMessageViewAddPlaneData {
|
|
203
215
|
plane: string;
|
|
@@ -60,6 +60,12 @@ export interface PluridRouterProperties<C> {
|
|
|
60
60
|
* Replace the internal plurid plane with a custom implementation.
|
|
61
61
|
*/
|
|
62
62
|
customPlane?: C;
|
|
63
|
+
/**
|
|
64
|
+
* After router navigation scroll to the top.
|
|
65
|
+
*
|
|
66
|
+
* Default: `smooth`.
|
|
67
|
+
*/
|
|
68
|
+
scrollToTop?: boolean | 'instant' | 'smooth';
|
|
63
69
|
}
|
|
64
70
|
export interface PluridRouterStatic {
|
|
65
71
|
path: string;
|
|
@@ -23,6 +23,7 @@ export interface PluridStateSpace {
|
|
|
23
23
|
translationX: number;
|
|
24
24
|
translationY: number;
|
|
25
25
|
translationZ: number;
|
|
26
|
+
transform: string;
|
|
26
27
|
tree: TreePlane[];
|
|
27
28
|
activeUniverseID: string;
|
|
28
29
|
camera: Coordinates;
|
|
@@ -30,6 +31,9 @@ export interface PluridStateSpace {
|
|
|
30
31
|
spaceSize: SpaceSize;
|
|
31
32
|
view: PluridApplicationView;
|
|
32
33
|
culledView: PluridApplicationView;
|
|
34
|
+
activePlaneID: string;
|
|
35
|
+
isolatePlane: string;
|
|
36
|
+
lastClosedPlane: string;
|
|
33
37
|
}
|
|
34
38
|
export interface PluridStateThemes {
|
|
35
39
|
general: Theme;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurid/plurid-data",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-18",
|
|
4
4
|
"description": "Plurid Constants, Interfaces, Enumerations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurid",
|
|
@@ -48,17 +48,17 @@
|
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@plurid/plurid-themes": "0.0.0-2",
|
|
51
|
-
"@types/node": "^18.7.
|
|
52
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
53
|
-
"@typescript-eslint/parser": "^5.
|
|
51
|
+
"@types/node": "^18.7.14",
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "^5.36.1",
|
|
53
|
+
"@typescript-eslint/parser": "^5.36.1",
|
|
54
54
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
|
55
|
-
"eslint": "^8.
|
|
56
|
-
"rollup": "^2.
|
|
55
|
+
"eslint": "^8.23.0",
|
|
56
|
+
"rollup": "^2.79.0",
|
|
57
57
|
"rollup-plugin-terser": "^7.0.2",
|
|
58
|
-
"rollup-plugin-typescript2": "^0.
|
|
58
|
+
"rollup-plugin-typescript2": "^0.33.0",
|
|
59
59
|
"ts-node": "^10.9.1",
|
|
60
60
|
"ttypescript": "^1.5.13",
|
|
61
|
-
"typescript": "^4.
|
|
61
|
+
"typescript": "^4.8.2",
|
|
62
62
|
"typescript-transform-paths": "^3.3.1"
|
|
63
63
|
}
|
|
64
64
|
}
|