@archilogic/floor-plan-sdk 5.2.1 → 5.2.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/dist/fpe.d.ts +36 -1
- package/dist/fpe.js +1 -1
- package/dist/fpe.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/fpe.d.ts
CHANGED
|
@@ -142,6 +142,20 @@ declare type BooleanComparator = boolean | {
|
|
|
142
142
|
neq: boolean;
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
+
export declare interface BoundaryData {
|
|
146
|
+
profile: Vector2_2[];
|
|
147
|
+
segments: BoundarySegmentData[];
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
declare interface BoundarySegmentData {
|
|
151
|
+
points: [Vector2_2, Vector2_2];
|
|
152
|
+
element: {
|
|
153
|
+
id: string;
|
|
154
|
+
type: string;
|
|
155
|
+
} | null;
|
|
156
|
+
adjacentSpaceId: string | null;
|
|
157
|
+
}
|
|
158
|
+
|
|
145
159
|
export declare type BoundingBox2d = {
|
|
146
160
|
min: Vector2;
|
|
147
161
|
max: Vector2;
|
|
@@ -2629,7 +2643,9 @@ declare type ResourceScope =
|
|
|
2629
2643
|
| "token"
|
|
2630
2644
|
| "subscription"
|
|
2631
2645
|
| "graphql"
|
|
2632
|
-
| "extension"
|
|
2646
|
+
| "extension"
|
|
2647
|
+
| "webhook"
|
|
2648
|
+
| "component";
|
|
2633
2649
|
|
|
2634
2650
|
declare type Rgb = [number, number, number];
|
|
2635
2651
|
|
|
@@ -2687,6 +2703,7 @@ export declare interface SpaceData extends BaseData {
|
|
|
2687
2703
|
seatCapacity: number;
|
|
2688
2704
|
area: number;
|
|
2689
2705
|
elements: ElementData[];
|
|
2706
|
+
boundaries: BoundaryData[];
|
|
2690
2707
|
}
|
|
2691
2708
|
|
|
2692
2709
|
export declare interface SpaceFilter extends BaseFilter {
|
|
@@ -2831,6 +2848,11 @@ declare class SpaceGraphBasicMaterial extends SpaceGraphNodeBase {
|
|
|
2831
2848
|
colorSpecular: Rgb;
|
|
2832
2849
|
specularCoefficient: number;
|
|
2833
2850
|
opacity: number;
|
|
2851
|
+
textureDiffuse?: Texture;
|
|
2852
|
+
textureSpecular?: Texture;
|
|
2853
|
+
textureNormal?: Texture;
|
|
2854
|
+
textureAlpha?: Texture;
|
|
2855
|
+
dimensions?: [number, number];
|
|
2834
2856
|
constructor(id: string);
|
|
2835
2857
|
copyForClone(material: SpaceGraphBasicMaterial): void;
|
|
2836
2858
|
toJSON(): SpaceGraphMaterialResourceJson;
|
|
@@ -2842,6 +2864,11 @@ declare interface SpaceGraphBasicMaterialJson extends SpaceGraphMaterialBaseJson
|
|
|
2842
2864
|
colorSpecular?: Rgb;
|
|
2843
2865
|
specularCoefficient?: number;
|
|
2844
2866
|
opacity?: number;
|
|
2867
|
+
textureDiffuse?: Texture;
|
|
2868
|
+
textureSpecular?: Texture;
|
|
2869
|
+
textureNormal?: Texture;
|
|
2870
|
+
textureAlpha?: Texture;
|
|
2871
|
+
dimensions?: [number, number];
|
|
2845
2872
|
}
|
|
2846
2873
|
|
|
2847
2874
|
declare type SpaceGraphBasicMaterialType = typeof SpaceGraphBasicMaterialTypeValue;
|
|
@@ -3350,6 +3377,7 @@ export declare interface SpaceSelect extends BaseSelect {
|
|
|
3350
3377
|
area?: boolean;
|
|
3351
3378
|
seatCapacity?: boolean;
|
|
3352
3379
|
elements?: ElementQuery | boolean;
|
|
3380
|
+
boundaries?: boolean;
|
|
3353
3381
|
}
|
|
3354
3382
|
|
|
3355
3383
|
declare class SpatialGraphEdge extends SpatialGraphNodeBase {
|
|
@@ -3599,6 +3627,13 @@ export declare interface TextShape extends BaseShape {
|
|
|
3599
3627
|
fontSize?: number;
|
|
3600
3628
|
}
|
|
3601
3629
|
|
|
3630
|
+
declare type Texture = {
|
|
3631
|
+
type: 'texture:uri';
|
|
3632
|
+
uri: string;
|
|
3633
|
+
preview?: string;
|
|
3634
|
+
source?: string;
|
|
3635
|
+
};
|
|
3636
|
+
|
|
3602
3637
|
declare type TextureData = {
|
|
3603
3638
|
textureUrl: string;
|
|
3604
3639
|
applyFilter: TextureFilter;
|