@snaptrude/plugin-core 0.9.13 → 0.9.15

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 (101) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/api-manifest.full.json +8930 -0
  3. package/api-manifest.json +1002 -55
  4. package/dist/api/core/geom/create/index.d.ts +935 -100
  5. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  6. package/dist/api/core/geom/query/brep.d.ts +59 -2
  7. package/dist/api/core/geom/query/brep.d.ts.map +1 -1
  8. package/dist/api/core/geom/query/curve.d.ts +59 -35
  9. package/dist/api/core/geom/query/curve.d.ts.map +1 -1
  10. package/dist/api/core/geom/query/edge.d.ts +2 -2
  11. package/dist/api/core/geom/query/face.d.ts +105 -0
  12. package/dist/api/core/geom/query/face.d.ts.map +1 -1
  13. package/dist/api/core/geom/update/contour.d.ts +2 -0
  14. package/dist/api/core/geom/update/contour.d.ts.map +1 -1
  15. package/dist/api/core/geom/update/curve.d.ts +5 -5
  16. package/dist/api/core/geom/update/profile.d.ts +3 -1
  17. package/dist/api/core/geom/update/profile.d.ts.map +1 -1
  18. package/dist/api/core/handles/index.d.ts +4 -2
  19. package/dist/api/core/handles/index.d.ts.map +1 -1
  20. package/dist/api/core/index.d.ts +4 -4
  21. package/dist/api/core/index.d.ts.map +1 -1
  22. package/dist/api/core/layers.d.ts +377 -255
  23. package/dist/api/core/layers.d.ts.map +1 -1
  24. package/dist/api/core/proposals/index.d.ts +4 -3
  25. package/dist/api/core/proposals/index.d.ts.map +1 -1
  26. package/dist/api/core/storeys/index.d.ts +12 -0
  27. package/dist/api/core/storeys/index.d.ts.map +1 -1
  28. package/dist/api/core/storeys/layers.d.ts +408 -0
  29. package/dist/api/core/storeys/layers.d.ts.map +1 -0
  30. package/dist/api/core/tags.d.ts +3 -3
  31. package/dist/api/design/create/bulk-items.d.ts +44 -0
  32. package/dist/api/design/create/bulk-items.d.ts.map +1 -1
  33. package/dist/api/design/create/grids.d.ts +1 -1
  34. package/dist/api/design/create/index.d.ts +31 -3
  35. package/dist/api/design/create/index.d.ts.map +1 -1
  36. package/dist/api/design/family.d.ts +67 -10
  37. package/dist/api/design/family.d.ts.map +1 -1
  38. package/dist/api/design/query/geometry/index.d.ts +33 -5
  39. package/dist/api/design/query/geometry/index.d.ts.map +1 -1
  40. package/dist/api/design/query/grids.d.ts +3 -3
  41. package/dist/api/design/query/index.d.ts +47 -0
  42. package/dist/api/design/query/index.d.ts.map +1 -1
  43. package/dist/api/design/query/spaces.d.ts +5 -5
  44. package/dist/api/design/selection/index.d.ts +2 -2
  45. package/dist/api/design/update/index.d.ts +172 -0
  46. package/dist/api/design/update/index.d.ts.map +1 -1
  47. package/dist/api/entity/referenceLine.d.ts +1 -1
  48. package/dist/api/entity/space.d.ts +4 -4
  49. package/dist/api/entity/story.d.ts +4 -4
  50. package/dist/api/presentation/aiInspiration.d.ts +13 -13
  51. package/dist/api/presentation/camera.d.ts +265 -0
  52. package/dist/api/presentation/camera.d.ts.map +1 -0
  53. package/dist/api/presentation/index.d.ts +5 -0
  54. package/dist/api/presentation/index.d.ts.map +1 -1
  55. package/dist/api/presentation/placedViews.d.ts +1 -1
  56. package/dist/api/presentation/views.d.ts +3 -1
  57. package/dist/api/presentation/views.d.ts.map +1 -1
  58. package/dist/api/program/site.d.ts +4 -4
  59. package/dist/api/program/spreadsheet.d.ts +4 -4
  60. package/dist/handles.d.ts +13 -3
  61. package/dist/handles.d.ts.map +1 -1
  62. package/dist/index.cjs +3638 -2958
  63. package/dist/index.cjs.map +1 -1
  64. package/dist/index.d.ts +2 -0
  65. package/dist/index.d.ts.map +1 -1
  66. package/dist/index.js +3558 -2955
  67. package/dist/index.js.map +1 -1
  68. package/dist/massParameters.d.ts +287 -0
  69. package/dist/massParameters.d.ts.map +1 -0
  70. package/dist/massParameters.ops.d.ts +138 -0
  71. package/dist/massParameters.ops.d.ts.map +1 -0
  72. package/package.json +2 -1
  73. package/scripts/check-dist-fresh.mjs +22 -0
  74. package/scripts/generate-manifest.test.mjs +14 -3
  75. package/src/api/core/geom/create/index.ts +1030 -101
  76. package/src/api/core/geom/query/brep.ts +60 -2
  77. package/src/api/core/geom/query/curve.ts +26 -2
  78. package/src/api/core/geom/query/edge.ts +2 -2
  79. package/src/api/core/geom/query/face.ts +109 -4
  80. package/src/api/core/geom/update/contour.ts +2 -0
  81. package/src/api/core/geom/update/profile.ts +2 -0
  82. package/src/api/core/handles/index.ts +3 -2
  83. package/src/api/core/index.ts +4 -4
  84. package/src/api/core/layers.ts +380 -173
  85. package/src/api/core/proposals/index.ts +4 -3
  86. package/src/api/core/storeys/index.ts +14 -0
  87. package/src/api/core/storeys/layers.ts +339 -0
  88. package/src/api/design/create/bulk-items.ts +68 -0
  89. package/src/api/design/create/index.ts +30 -4
  90. package/src/api/design/family.ts +68 -10
  91. package/src/api/design/query/geometry/index.ts +35 -4
  92. package/src/api/design/query/index.ts +50 -0
  93. package/src/api/design/update/index.ts +186 -1
  94. package/src/api/presentation/camera.ts +289 -0
  95. package/src/api/presentation/index.ts +5 -0
  96. package/src/api/presentation/views.ts +3 -1
  97. package/src/handles.ts +18 -3
  98. package/src/index.ts +2 -0
  99. package/src/massParameters.ops.ts +246 -0
  100. package/src/massParameters.ts +427 -0
  101. package/test/massParameters.test.mjs +952 -0
@@ -38,11 +38,11 @@ import { PluginDesignChangeResult } from "../lock";
38
38
  */
39
39
  export declare const PluginSelectionEntityType: z.ZodEnum<{
40
40
  terrain: "terrain";
41
+ cad: "cad";
41
42
  floor: "floor";
42
43
  wall: "wall";
43
44
  ceiling: "ceiling";
44
45
  image: "image";
45
- cad: "cad";
46
46
  pdf: "pdf";
47
47
  door: "door";
48
48
  window: "window";
@@ -79,11 +79,11 @@ export declare const PluginSelectionFilter: z.ZodObject<{
79
79
  storeys: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
80
80
  types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
81
81
  terrain: "terrain";
82
+ cad: "cad";
82
83
  floor: "floor";
83
84
  wall: "wall";
84
85
  ceiling: "ceiling";
85
86
  image: "image";
86
- cad: "cad";
87
87
  pdf: "pdf";
88
88
  door: "door";
89
89
  window: "window";
@@ -3,6 +3,7 @@ import { PluginApiReturn } from "../../../types";
3
3
  import { ComponentHandle } from "../../../handles";
4
4
  import { PluginSpaceUpdateResult } from "../../entity/space";
5
5
  import { PluginDesignChangeResult } from "../lock";
6
+ import { MassParametersPatch, type MassParametersRecord } from "../../../massParameters";
6
7
  import { PluginBuildableEnvelopePolygonVertex, PluginBuildableEnvelopeSetbackTier, PluginBuildableEnvelopeVerticalCap, PluginBuildableEnvelopeUpdateResult } from "../../entity/buildableEnvelope";
7
8
  /**
8
9
  * Sparse property updates for a space. Only provided fields change.
@@ -194,6 +195,19 @@ export declare const PluginDesignUpdateStaircaseArgs: z.ZodObject<{
194
195
  }, z.core.$strip>;
195
196
  }, z.core.$strip>;
196
197
  export type PluginDesignUpdateStaircaseArgs = z.infer<typeof PluginDesignUpdateStaircaseArgs>;
198
+ /**
199
+ * Arguments for {@linkcode PluginDesignUpdateApi.parameters}.
200
+ *
201
+ * | Property | Type | Description |
202
+ * |---|---|---|
203
+ * | `component` | {@linkcode ComponentHandle} | The parametric mass to edit |
204
+ * | `patch` | {@linkcode MassParametersPatch} | Partial `values` (+ optional `operations`), or the full edited record |
205
+ */
206
+ export declare const PluginDesignUpdateParametersArgs: z.ZodObject<{
207
+ component: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
208
+ patch: z.ZodType<MassParametersPatch, MassParametersPatch, z.core.$ZodTypeInternals<MassParametersPatch, MassParametersPatch>>;
209
+ }, z.core.$strip>;
210
+ export type PluginDesignUpdateParametersArgs = z.infer<typeof PluginDesignUpdateParametersArgs>;
197
211
  /**
198
212
  * Sparse edits for a wall (all optional; at least one required). Only the
199
213
  * fields you provide change. Dimensions are in **engine units** (the same
@@ -278,6 +292,35 @@ export declare const PluginDesignSetStoreyArgs: z.ZodObject<{
278
292
  storey: z.ZodNumber;
279
293
  }, z.core.$strip>;
280
294
  export type PluginDesignSetStoreyArgs = z.infer<typeof PluginDesignSetStoreyArgs>;
295
+ /**
296
+ * Object types {@linkcode PluginDesignUpdateApi.setObjectType} can turn a mass
297
+ * into — the `design.query` `type` vocabulary.
298
+ */
299
+ export declare const PluginObjectType: z.ZodEnum<{
300
+ floor: "floor";
301
+ wall: "wall";
302
+ slab: "slab";
303
+ roof: "roof";
304
+ }>;
305
+ export type PluginObjectType = z.infer<typeof PluginObjectType>;
306
+ /**
307
+ * Arguments for {@linkcode PluginDesignUpdateApi.setObjectType}.
308
+ *
309
+ * | Property | Type | Description |
310
+ * |---|---|---|
311
+ * | `components` | {@linkcode ComponentHandle}`[]` | The masses to convert (>= 1) |
312
+ * | `objectType` | {@linkcode PluginObjectType} | Target object type (`"wall"`, `"roof"`, `"slab"`, `"floor"`) |
313
+ */
314
+ export declare const PluginDesignSetObjectTypeArgs: z.ZodObject<{
315
+ components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
316
+ objectType: z.ZodEnum<{
317
+ floor: "floor";
318
+ wall: "wall";
319
+ slab: "slab";
320
+ roof: "roof";
321
+ }>;
322
+ }, z.core.$strip>;
323
+ export type PluginDesignSetObjectTypeArgs = z.infer<typeof PluginDesignSetObjectTypeArgs>;
281
324
  /**
282
325
  * The sparse GROUP-LEVEL patch accepted by {@linkcode PluginDesignUpdateApi.grid}.
283
326
  * Only provided fields change. Wing- and line-level updates live on the grids
@@ -507,6 +550,91 @@ export declare abstract class PluginDesignUpdateApi {
507
550
  * ```
508
551
  */
509
552
  abstract staircase(staircases: ComponentHandle[], params: PluginStaircaseParamUpdates): PluginApiReturn<PluginDesignChangeResult>;
553
+ /**
554
+ * Edit a parametric mass by patching its creation recipe and rebuilding the
555
+ * solid in place — the mass keeps its id, storey, materials, position and
556
+ * linked copies; only the geometry changes. Read the current record with
557
+ * `design.query.getParameters` first.
558
+ *
559
+ * `patch` is a partial of `record.values` — or the whole record you read
560
+ * back, edited. A key you leave out is unchanged (that includes
561
+ * `operations`). Each key you send replaces that value whole — a scalar, a
562
+ * point, a list or a record (`contour`, `profile`, `sections`, `path`,
563
+ * `options`, `operations`) alike — so send the complete value you read,
564
+ * edited (a partial `options` drops the switches it leaves out);
565
+ * `{ operations: [] }` drops every operation. An optional key
566
+ * the record does not carry yet may be patched in when the kind allows it:
567
+ * a straight extrusion acquires `twistInDegrees` or `topScale`, an
568
+ * options-less loft or sweep acquires `options` (`levels` is not one — send
569
+ * the angle, not the section count). A patch that changes nothing
570
+ * returns the current record and records no edit (no undo step). `kind` and
571
+ * `version` are immutable: to change the kind, build a new mass. Keys are the
572
+ * record's `values` keys for its `kind` (sphere: `centre`, `radius`;
573
+ * cylinder: `base`, `axis`, `radius`, `height`; torus: `centre`, `axis`,
574
+ * `majorRadius`, `minorRadius`; …) plus `operations`. To change a fillet
575
+ * radius, edit `operations[i].radius` in the record you read and send
576
+ * `{ operations }` back. Points and axes are WORLD coordinates in internal
577
+ * units, exactly as `getParameters` reports them.
578
+ *
579
+ * Rebuilds in memory first, then swaps onto the SAME component; every linked
580
+ * copy regenerates together. One undo step; saves and syncs to collaborators
581
+ * like any geometry edit. Kernel kinds (revolution, sweep, loft, primitives,
582
+ * any `operations`) run on OpenCascade — expect a short pause.
583
+ *
584
+ * @param component - a mass whose `getParameters` is non-null
585
+ * @param patch - partial `values` (+ optional `operations`), or the full edited record
586
+ * @returns the complete post-edit record, world coordinates (what
587
+ * `getParameters` now returns)
588
+ * @throws PRECONDITION_FAILED when the component is not a mass (a family
589
+ * instance: use `design.family.setParameters`).
590
+ * Also PRECONDITION_FAILED when the mass carries no live recipe — built
591
+ * from a boolean, split, `brepFromFaces`/`brepFromMesh` or drawn; edited
592
+ * free-form since (push/pull, move face, boolean); or scaled with the
593
+ * transform tool. `getParameters` returns `null` for exactly these.
594
+ * Do not retry — rebuild it with a recipe constructor and say so.
595
+ * A scaled mass is the exception: undo the scale and call again.
596
+ * Also PRECONDITION_FAILED when the mass (or a linked copy) is **locked**
597
+ * (the message says so). Locking is invisible to `getParameters` — a
598
+ * locked parametric mass still reads back a full record. Unlock it (and
599
+ * every linked copy) and call again; never rebuild it, the recipe is intact.
600
+ * Also PRECONDITION_FAILED when an `operations` entry's edge/face selectors
601
+ * no longer resolve on the rebuilt base (the message names the operation
602
+ * and edge): re-select the edges on the new shape and re-apply that
603
+ * operation.
604
+ * Also PRECONDITION_FAILED when the edit is the first twist or taper — or
605
+ * the straightening — of an extrusion that carries a shell, fillet or
606
+ * chamfer (the kernel numbers its faces differently): send the twist/taper
607
+ * keys with `operations: []` first (the message names them), re-select on
608
+ * the new shape, then send `{ operations }` back.
609
+ * @throws VALIDATION for a key the kind does not have (the message lists the
610
+ * kind's keys), `kind` or `version` in a partial patch, or a value outside
611
+ * the constructor's own rules (torus tube ≥ ring, revolution angle ∉
612
+ * (0, 360], a profile crossing its axis, a spline with fewer than
613
+ * degree + 1 poles).
614
+ * @throws OPERATION_FAILED when the kernel cannot build the edited recipe;
615
+ * the model is left unchanged.
616
+ *
617
+ * @examplePrompt Make the dome's radius 8 metres
618
+ * @examplePrompt Raise the podium to 5 m
619
+ * @examplePrompt Widen the vase — move its profile points 20 cm outward
620
+ * @examplePrompt Change the fillet on the rounded column to 300 mm
621
+ *
622
+ * # Example
623
+ * ```ts
624
+ * // { kind: "sphere", values: { centre, radius: 19.685 }, … }
625
+ * const before = await snaptrude.design.query.getParameters(dome)
626
+ * const after = await snaptrude.design.update.parameters(dome, { radius: 31.496 }) // 8 m in internal units
627
+ *
628
+ * // Fillet radius on a recorded result: read → edit → send the array back
629
+ * const rec = await snaptrude.design.query.getParameters(column)
630
+ * const operations = rec?.operations ?? []
631
+ * if (operations[0]?.op === "fillet") {
632
+ * operations[0].radius = 1.181
633
+ * await snaptrude.design.update.parameters(column, { operations })
634
+ * }
635
+ * ```
636
+ */
637
+ abstract parameters(component: ComponentHandle, patch: MassParametersPatch): PluginApiReturn<MassParametersRecord>;
510
638
  /**
511
639
  * Edit a **wall** — its thickness and/or height (the same command the
512
640
  * properties panel's Thickness/Height fields drive) and/or its **wall type**
@@ -756,6 +884,50 @@ export declare abstract class PluginDesignUpdateApi {
756
884
  * ```
757
885
  */
758
886
  abstract setStorey(components: ComponentHandle[], storey: number): PluginApiReturn<PluginDesignChangeResult>;
887
+ /**
888
+ * Change the **object type** of one or more masses — turn a mass into a real
889
+ * wall, roof, slab or floor: the properties panel's Object Type dropdown,
890
+ * headless. The geometry is kept exactly as it is (a wedge stays a wedge;
891
+ * nothing is flattened to a default thickness), so a sloped mass built with
892
+ * `design.create.massFromBrep` becomes a sloped roof or a raked wall. The
893
+ * component keeps its handle, label and storey; it gains the target type's
894
+ * construction layers and properties, and the type's default material when
895
+ * the mass still wore the default. One undoable operation for the whole
896
+ * list; undo turns them back into masses.
897
+ *
898
+ * Instances convert as a family: passing one instance (or the source) of an
899
+ * instanced mass converts its source and every sibling; `affected` echoes
900
+ * every visible member (the hidden instancing template converts too but is
901
+ * not listed). A converted component cannot be converted again (same rule
902
+ * as the panel). A converted wall has no parametric centerline: it hosts
903
+ * doors and windows and exports, but neighbours do not re-mitre against it.
904
+ *
905
+ * Throws before anything changes (all-or-nothing) when a component is not a
906
+ * mass, is a plinth, is locked or in a locked bucket, already had its type
907
+ * changed, or when a handle is gone/forged.
908
+ *
909
+ * @param components - The masses to convert
910
+ * @param objectType - Target type: `"wall"`, `"roof"`, `"slab"` or `"floor"`
911
+ * (the `design.query.getEntityType` vocabulary)
912
+ * @returns the visible components converted — the same handles, plus any
913
+ * instance siblings pulled in by family expansion
914
+ *
915
+ * @examplePrompt Convert this mass into a wall
916
+ * @examplePrompt Turn the sloped mass into a roof
917
+ * @examplePrompt Make these masses real slabs
918
+ * @examplePrompt Change the object type of the selection to wall
919
+ * @examplePrompt Convert the wedge I built into a raked wall
920
+ * @examplePrompt Turn this mass into a floor
921
+ *
922
+ * # Example
923
+ * ```ts
924
+ * const brep = await snaptrude.core.geom.create.brepFromFaces(wedgeFaces)
925
+ * const wedge = await snaptrude.design.create.massFromBrep(brep, "Gable end")
926
+ * const { affected } = await snaptrude.design.update.setObjectType([wedge], "wall")
927
+ * console.log(await snaptrude.design.query.getEntityType(affected[0])) // "wall"
928
+ * ```
929
+ */
930
+ abstract setObjectType(components: ComponentHandle[], objectType: PluginObjectType): PluginApiReturn<PluginDesignChangeResult>;
759
931
  /**
760
932
  * Update an existing parametric buildable envelope — regenerate the zoning
761
933
  * volume from a revised site polygon, setbacks, vertical cap, or FAR and
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/update/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAiB,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAKL,uBAAuB,EACxB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAClD,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,EACpC,MAAM,gCAAgC,CAAA;AAGvC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMrC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAED,+DAA+D;AAC/D,eAAO,MAAM,yBAAyB;;;iBAGpC,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,yBAAyB,CACjC,CAAA;AAED,wEAAwE;AACxE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIhC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E5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;aACa,iBAAiB,CAC/B,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,oCAAoC,EAAE,EACnD,UAAU,EAAE,IAAI,GAAG,GAAG,EACtB,QAAQ,EAAE,kCAAkC,EAAE,EAC9C,WAAW,EAAE,kCAAkC,EAC/C,YAAY,EAAE,MAAM,EACpB,QAAQ,CAAC,EAAE,MAAM,EACjB,iBAAiB,CAAC,EAAE,MAAM,GACzB,eAAe,CAAC,mCAAmC,CAAC;CACxD"}
@@ -180,7 +180,7 @@ export type PluginReferenceLineGetArgs = z.infer<typeof PluginReferenceLineGetAr
180
180
  * {@linkcode PluginReferenceLineGetArgs.properties} will be present.
181
181
  */
182
182
  export declare const PluginReferenceLineGetResult: z.ZodObject<{
183
- curve: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>]>>;
183
+ curve: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"spline">, string>>]>>;
184
184
  }, z.core.$strip>;
185
185
  export type PluginReferenceLineGetResult = z.infer<typeof PluginReferenceLineGetResult>;
186
186
  /**
@@ -132,9 +132,9 @@ export declare const PluginSpaceGetProperty: z.ZodEnum<{
132
132
  type: "type";
133
133
  id: "id";
134
134
  position: "position";
135
+ height: "height";
135
136
  name: "name";
136
137
  storey: "storey";
137
- height: "height";
138
138
  depth: "depth";
139
139
  innerProfiles: "innerProfiles";
140
140
  room_type: "room_type";
@@ -168,9 +168,9 @@ export declare const PluginSpaceGetArgs: z.ZodObject<{
168
168
  type: "type";
169
169
  id: "id";
170
170
  position: "position";
171
+ height: "height";
171
172
  name: "name";
172
173
  storey: "storey";
173
- height: "height";
174
174
  depth: "depth";
175
175
  innerProfiles: "innerProfiles";
176
176
  room_type: "room_type";
@@ -300,8 +300,8 @@ export declare const PluginSpaceGetResult: z.ZodObject<{
300
300
  y: z.ZodNumber;
301
301
  z: z.ZodNumber;
302
302
  }, z.core.$strip>>>;
303
- profile: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>]>>>;
304
- innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>]>>>>;
303
+ profile: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"spline">, string>>]>>>;
304
+ innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"spline">, string>>]>>>>;
305
305
  innerPlanPoints: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
306
306
  x: z.ZodNumber;
307
307
  y: z.ZodNumber;
@@ -271,10 +271,10 @@ export declare abstract class PluginStoryApi {
271
271
  export declare const PluginStoryGetProperty: z.ZodEnum<{
272
272
  value: "value";
273
273
  id: "id";
274
+ base: "base";
275
+ height: "height";
274
276
  name: "name";
275
277
  hidden: "hidden";
276
- height: "height";
277
- base: "base";
278
278
  spacesCount: "spacesCount";
279
279
  totalArea: "totalArea";
280
280
  }>;
@@ -292,10 +292,10 @@ export declare const PluginStoryGetArgs: z.ZodObject<{
292
292
  properties: z.ZodArray<z.ZodEnum<{
293
293
  value: "value";
294
294
  id: "id";
295
+ base: "base";
296
+ height: "height";
295
297
  name: "name";
296
298
  hidden: "hidden";
297
- height: "height";
298
- base: "base";
299
299
  spacesCount: "spacesCount";
300
300
  totalArea: "totalArea";
301
301
  }>>;
@@ -11,8 +11,8 @@ export declare const PluginAIInspirationRunMode: z.ZodEnum<{
11
11
  }>;
12
12
  export type PluginAIInspirationRunMode = z.infer<typeof PluginAIInspirationRunMode>;
13
13
  export declare const PluginAIInspirationOutputKind: z.ZodEnum<{
14
- image: "image";
15
14
  source: "source";
15
+ image: "image";
16
16
  video: "video";
17
17
  }>;
18
18
  export type PluginAIInspirationOutputKind = z.infer<typeof PluginAIInspirationOutputKind>;
@@ -33,8 +33,8 @@ export declare const PluginAIInspirationPromptStrategy: z.ZodEnum<{
33
33
  }>;
34
34
  export type PluginAIInspirationPromptStrategy = z.infer<typeof PluginAIInspirationPromptStrategy>;
35
35
  export declare const PluginAIInspirationShapeKind: z.ZodEnum<{
36
- image: "image";
37
36
  view: "view";
37
+ image: "image";
38
38
  video: "video";
39
39
  }>;
40
40
  export type PluginAIInspirationShapeKind = z.infer<typeof PluginAIInspirationShapeKind>;
@@ -241,16 +241,16 @@ export declare const PluginAIInspirationShapeRef: z.ZodObject<{
241
241
  shapeId: z.ZodString;
242
242
  assetId: z.ZodOptional<z.ZodString>;
243
243
  kind: z.ZodEnum<{
244
- image: "image";
245
244
  view: "view";
245
+ image: "image";
246
246
  video: "video";
247
247
  }>;
248
248
  name: z.ZodOptional<z.ZodString>;
249
249
  width: z.ZodOptional<z.ZodNumber>;
250
250
  height: z.ZodOptional<z.ZodNumber>;
251
251
  outputType: z.ZodOptional<z.ZodEnum<{
252
- image: "image";
253
252
  source: "source";
253
+ image: "image";
254
254
  video: "video";
255
255
  }>>;
256
256
  sourceUrl: z.ZodOptional<z.ZodString>;
@@ -266,16 +266,16 @@ export declare const PluginAIInspirationListSourcesResult: z.ZodObject<{
266
266
  shapeId: z.ZodString;
267
267
  assetId: z.ZodOptional<z.ZodString>;
268
268
  kind: z.ZodEnum<{
269
- image: "image";
270
269
  view: "view";
270
+ image: "image";
271
271
  video: "video";
272
272
  }>;
273
273
  name: z.ZodOptional<z.ZodString>;
274
274
  width: z.ZodOptional<z.ZodNumber>;
275
275
  height: z.ZodOptional<z.ZodNumber>;
276
276
  outputType: z.ZodOptional<z.ZodEnum<{
277
- image: "image";
278
277
  source: "source";
278
+ image: "image";
279
279
  video: "video";
280
280
  }>>;
281
281
  sourceUrl: z.ZodOptional<z.ZodString>;
@@ -288,16 +288,16 @@ export declare const PluginAIInspirationGetSelectionResult: z.ZodObject<{
288
288
  shapeId: z.ZodString;
289
289
  assetId: z.ZodOptional<z.ZodString>;
290
290
  kind: z.ZodEnum<{
291
- image: "image";
292
291
  view: "view";
292
+ image: "image";
293
293
  video: "video";
294
294
  }>;
295
295
  name: z.ZodOptional<z.ZodString>;
296
296
  width: z.ZodOptional<z.ZodNumber>;
297
297
  height: z.ZodOptional<z.ZodNumber>;
298
298
  outputType: z.ZodOptional<z.ZodEnum<{
299
- image: "image";
300
299
  source: "source";
300
+ image: "image";
301
301
  video: "video";
302
302
  }>>;
303
303
  sourceUrl: z.ZodOptional<z.ZodString>;
@@ -867,8 +867,8 @@ export declare const PluginAIInspirationWorkflowNode: z.ZodObject<{
867
867
  shapeId: z.ZodString;
868
868
  assetId: z.ZodOptional<z.ZodString>;
869
869
  kind: z.ZodEnum<{
870
- image: "image";
871
870
  source: "source";
871
+ image: "image";
872
872
  video: "video";
873
873
  }>;
874
874
  state: z.ZodString;
@@ -950,8 +950,8 @@ export declare const PluginAIInspirationWorkflow: z.ZodObject<{
950
950
  shapeId: z.ZodString;
951
951
  assetId: z.ZodOptional<z.ZodString>;
952
952
  kind: z.ZodEnum<{
953
- image: "image";
954
953
  source: "source";
954
+ image: "image";
955
955
  video: "video";
956
956
  }>;
957
957
  state: z.ZodString;
@@ -1040,8 +1040,8 @@ export declare const PluginAIInspirationGetWorkflowForShapeResult: z.ZodObject<{
1040
1040
  shapeId: z.ZodString;
1041
1041
  assetId: z.ZodOptional<z.ZodString>;
1042
1042
  kind: z.ZodEnum<{
1043
- image: "image";
1044
1043
  source: "source";
1044
+ image: "image";
1045
1045
  video: "video";
1046
1046
  }>;
1047
1047
  state: z.ZodString;
@@ -1119,8 +1119,8 @@ export declare const PluginAIInspirationGetWorkflowForShapeResult: z.ZodObject<{
1119
1119
  shapeId: z.ZodString;
1120
1120
  assetId: z.ZodOptional<z.ZodString>;
1121
1121
  kind: z.ZodEnum<{
1122
- image: "image";
1123
1122
  source: "source";
1123
+ image: "image";
1124
1124
  video: "video";
1125
1125
  }>;
1126
1126
  state: z.ZodString;
@@ -1147,8 +1147,8 @@ export declare const PluginAIInspirationRerunPlanResult: z.ZodDiscriminatedUnion
1147
1147
  shapeId: z.ZodString;
1148
1148
  assetId: z.ZodOptional<z.ZodString>;
1149
1149
  kind: z.ZodEnum<{
1150
- image: "image";
1151
1150
  source: "source";
1151
+ image: "image";
1152
1152
  video: "video";
1153
1153
  }>;
1154
1154
  state: z.ZodString;