@archilogic/extension-sdk 0.9.0 → 0.10.0
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/CHANGELOG.md +12 -0
- package/dist/index.d.ts +17 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @archilogic/extension-sdk
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- dd8a02f: feat(extension-sdk): add getSpaceGraphJson method
|
|
8
|
+
|
|
9
|
+
## 0.9.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 602b7a0: fix(extension-sdk): bump space-graph-sdk
|
|
14
|
+
|
|
3
15
|
## 0.9.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -176,6 +176,20 @@ declare interface BooleanField extends BaseField {
|
|
|
176
176
|
default?: boolean;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
+
declare interface BoundaryData {
|
|
180
|
+
profile: Vector2[];
|
|
181
|
+
segments: BoundarySegmentData[];
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
declare interface BoundarySegmentData {
|
|
185
|
+
points: [Vector2, Vector2];
|
|
186
|
+
element: {
|
|
187
|
+
id: string;
|
|
188
|
+
type: string;
|
|
189
|
+
} | null;
|
|
190
|
+
adjacentSpaceId: string | null;
|
|
191
|
+
}
|
|
192
|
+
|
|
179
193
|
declare type BoundingBox3d = {
|
|
180
194
|
min: Vector3;
|
|
181
195
|
max: Vector3;
|
|
@@ -1116,6 +1130,7 @@ export declare type HostApi = {
|
|
|
1116
1130
|
selectNodes: (args: {
|
|
1117
1131
|
nodeIds: string[];
|
|
1118
1132
|
}) => Promise<NodeResult[]>;
|
|
1133
|
+
getSpaceGraphJson: () => Promise<SpaceGraphJson>;
|
|
1119
1134
|
getPath: (args: {
|
|
1120
1135
|
start: Vector2;
|
|
1121
1136
|
end: Vector2;
|
|
@@ -2854,6 +2869,7 @@ export declare interface SpaceData extends BaseData {
|
|
|
2854
2869
|
seatCapacity: number;
|
|
2855
2870
|
area: number;
|
|
2856
2871
|
elements: ElementData[];
|
|
2872
|
+
boundaries: BoundaryData[];
|
|
2857
2873
|
}
|
|
2858
2874
|
|
|
2859
2875
|
export declare interface SpaceFilter extends BaseFilter {
|
|
@@ -3543,6 +3559,7 @@ export declare interface SpaceSelect extends BaseSelect {
|
|
|
3543
3559
|
area?: boolean;
|
|
3544
3560
|
seatCapacity?: boolean;
|
|
3545
3561
|
elements?: ElementQuery | boolean;
|
|
3562
|
+
boundaries?: boolean;
|
|
3546
3563
|
}
|
|
3547
3564
|
|
|
3548
3565
|
declare class SpaceUpdate extends OperationBase {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@archilogic/extension-sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.10.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@archilogic/floor-plan-core": "^5.4.0",
|
|
39
|
-
"@archilogic/space-graph-sdk": "^0.
|
|
39
|
+
"@archilogic/space-graph-sdk": "^0.8.0",
|
|
40
40
|
"vite-plugin-static-copy": "^3.1.4"
|
|
41
41
|
},
|
|
42
42
|
"nx": {}
|