@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/package.json
CHANGED
package/src/api/entity/space.ts
CHANGED
|
@@ -544,6 +544,8 @@ export const PluginSpaceGetProperty = z.enum([
|
|
|
544
544
|
// Derived from brep
|
|
545
545
|
"planPoints",
|
|
546
546
|
"profile",
|
|
547
|
+
// Derived from adjacency manager
|
|
548
|
+
"adjacency",
|
|
547
549
|
])
|
|
548
550
|
|
|
549
551
|
/**
|
|
@@ -624,6 +626,11 @@ export const PluginSpaceGetResult = z
|
|
|
624
626
|
// Derived from brep
|
|
625
627
|
planPoints: z.array(PVec3),
|
|
626
628
|
profile: PProfile,
|
|
629
|
+
// Derived from adjacency manager
|
|
630
|
+
adjacency: z.array(z.object({
|
|
631
|
+
spaceId: z.string(),
|
|
632
|
+
value: z.number(),
|
|
633
|
+
})),
|
|
627
634
|
})
|
|
628
635
|
.partial()
|
|
629
636
|
|