@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snaptrude/plugin-core",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -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