@snaptrude/plugin-core 0.2.6 → 0.2.7
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 +6 -0
- package/dist/api/entity/space.d.ts +6 -0
- package/dist/api/entity/space.d.ts.map +1 -1
- package/dist/index.cjs +9 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/entity/space.ts +7 -0
package/dist/index.js
CHANGED
|
@@ -759,7 +759,9 @@ var PluginSpaceGetProperty = z10.enum([
|
|
|
759
759
|
"rotationQuaternion",
|
|
760
760
|
// Derived from brep
|
|
761
761
|
"planPoints",
|
|
762
|
-
"profile"
|
|
762
|
+
"profile",
|
|
763
|
+
// Derived from adjacency manager
|
|
764
|
+
"adjacency"
|
|
763
765
|
]);
|
|
764
766
|
var PluginSpaceGetArgs = z10.object({
|
|
765
767
|
spaceId: z10.string(),
|
|
@@ -801,7 +803,12 @@ var PluginSpaceGetResult = z10.object({
|
|
|
801
803
|
rotationQuaternion: PQuat.nullable(),
|
|
802
804
|
// Derived from brep
|
|
803
805
|
planPoints: z10.array(PVec3),
|
|
804
|
-
profile: PProfile
|
|
806
|
+
profile: PProfile,
|
|
807
|
+
// Derived from adjacency manager
|
|
808
|
+
adjacency: z10.array(z10.object({
|
|
809
|
+
spaceId: z10.string(),
|
|
810
|
+
value: z10.number()
|
|
811
|
+
}))
|
|
805
812
|
}).partial();
|
|
806
813
|
var PluginSpaceGetAllResult = z10.object({
|
|
807
814
|
spacesIds: z10.array(z10.string())
|