@snaptrude/plugin-core 0.9.6 → 0.9.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/api-manifest.full.json +8442 -0
  3. package/api-manifest.json +162 -6
  4. package/dist/api/core/io/import/index.d.ts +3 -1
  5. package/dist/api/core/io/import/index.d.ts.map +1 -1
  6. package/dist/api/design/create/bulk-items.d.ts +177 -0
  7. package/dist/api/design/create/bulk-items.d.ts.map +1 -0
  8. package/dist/api/design/create/index.d.ts +273 -8
  9. package/dist/api/design/create/index.d.ts.map +1 -1
  10. package/dist/api/design/create/opening-fields.d.ts +29 -0
  11. package/dist/api/design/create/opening-fields.d.ts.map +1 -0
  12. package/dist/api/design/delete/index.d.ts +4 -0
  13. package/dist/api/design/delete/index.d.ts.map +1 -1
  14. package/dist/api/design/dimensions.d.ts +427 -0
  15. package/dist/api/design/dimensions.d.ts.map +1 -0
  16. package/dist/api/design/index.d.ts +5 -0
  17. package/dist/api/design/index.d.ts.map +1 -1
  18. package/dist/api/presentation/annotate.d.ts +2 -2
  19. package/dist/api/presentation/shapes.d.ts +2 -2
  20. package/dist/handles.d.ts +19 -0
  21. package/dist/handles.d.ts.map +1 -1
  22. package/dist/index.cjs +2006 -1867
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.js +1983 -1867
  25. package/dist/index.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/api/core/io/import/index.ts +11 -3
  28. package/src/api/design/create/bulk-items.ts +182 -0
  29. package/src/api/design/create/index.ts +296 -18
  30. package/src/api/design/create/opening-fields.ts +29 -0
  31. package/src/api/design/delete/index.ts +4 -0
  32. package/src/api/design/dimensions.ts +453 -0
  33. package/src/api/design/index.ts +5 -0
  34. package/src/handles.ts +24 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @snaptrude/plugin-core
2
2
 
3
+ ## 0.9.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 6e60c61: Add bulk `design.create` creators — `wallRuns`, `floors`, `doors`, `windows`, `furnitureItems`: one host round-trip and one undo entry per batch.
8
+
9
+ Singular creators, fixes shipped alongside (behaviour changes for existing callers):
10
+ - `floor`, `slab`, `roof`, `ceiling`, `column`, `beam`: contour holes are now cut (holed contours previously failed or lost their holes).
11
+ - `floor`: the `position` offset is applied before the creation snapshot, so it survives redo and reload and drives storey assignment.
12
+ - `furniture`: `options.label` is now also the readable label (`design.query.getLabel`); `createNewSourceMesh` can no longer skip recording a source this call brought in (the host owns source persistence, recorded exactly once across concurrent calls); refuses with `PRECONDITION_FAILED` (`engineCode: "TOOL_ACTIVE"`) while the interactive furniture tool is active. The same refusal applies to `core.io.import.model` furniture placement.
13
+ - `door`, `window`: published as one save document instead of five; undo granularity unchanged.
14
+
15
+ - 2f10e6b: Add `design.dimensions` — dimension lines (Measuring Tape): `create`, `list`, `get`, `delete`, `hide`, `show`, plus the new `DimensionHandle`.
16
+
3
17
  ## 0.9.6
4
18
 
5
19
  ### Patch Changes