@snaptrude/plugin-core 0.10.0 → 1.0.0

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 (229) hide show
  1. package/AGENTS.md +4 -0
  2. package/CHANGELOG.md +187 -3
  3. package/api-manifest.json +929 -25
  4. package/dist/api/analysis/daylight.d.ts +5 -5
  5. package/dist/api/analysis/solar.d.ts +2 -2
  6. package/dist/api/core/camera/index.d.ts +463 -0
  7. package/dist/api/core/camera/index.d.ts.map +1 -1
  8. package/dist/api/core/geom/create/index.d.ts +942 -101
  9. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  10. package/dist/api/core/geom/query/brep.d.ts +59 -2
  11. package/dist/api/core/geom/query/brep.d.ts.map +1 -1
  12. package/dist/api/core/geom/query/curve.d.ts +59 -35
  13. package/dist/api/core/geom/query/curve.d.ts.map +1 -1
  14. package/dist/api/core/geom/query/edge.d.ts +2 -2
  15. package/dist/api/core/geom/query/face.d.ts +105 -0
  16. package/dist/api/core/geom/query/face.d.ts.map +1 -1
  17. package/dist/api/core/geom/update/contour.d.ts +10 -2
  18. package/dist/api/core/geom/update/contour.d.ts.map +1 -1
  19. package/dist/api/core/geom/update/curve.d.ts +5 -5
  20. package/dist/api/core/geom/update/profile.d.ts +3 -1
  21. package/dist/api/core/geom/update/profile.d.ts.map +1 -1
  22. package/dist/api/core/handles/index.d.ts +4 -2
  23. package/dist/api/core/handles/index.d.ts.map +1 -1
  24. package/dist/api/core/index.d.ts +4 -4
  25. package/dist/api/core/index.d.ts.map +1 -1
  26. package/dist/api/core/io/import/index.d.ts +3 -1
  27. package/dist/api/core/io/import/index.d.ts.map +1 -1
  28. package/dist/api/core/layers.d.ts +377 -255
  29. package/dist/api/core/layers.d.ts.map +1 -1
  30. package/dist/api/core/mode/index.d.ts +19 -7
  31. package/dist/api/core/mode/index.d.ts.map +1 -1
  32. package/dist/api/core/project/index.d.ts +68 -1
  33. package/dist/api/core/project/index.d.ts.map +1 -1
  34. package/dist/api/core/proposals/index.d.ts +4 -3
  35. package/dist/api/core/proposals/index.d.ts.map +1 -1
  36. package/dist/api/core/storeys/index.d.ts +31 -2
  37. package/dist/api/core/storeys/index.d.ts.map +1 -1
  38. package/dist/api/core/storeys/layers.d.ts +408 -0
  39. package/dist/api/core/storeys/layers.d.ts.map +1 -0
  40. package/dist/api/core/tags.d.ts +84 -3
  41. package/dist/api/core/tags.d.ts.map +1 -1
  42. package/dist/api/core/zoom/index.d.ts +13 -0
  43. package/dist/api/core/zoom/index.d.ts.map +1 -1
  44. package/dist/api/design/bim.d.ts +299 -0
  45. package/dist/api/design/bim.d.ts.map +1 -0
  46. package/dist/api/design/boolean/index.d.ts +2 -0
  47. package/dist/api/design/boolean/index.d.ts.map +1 -1
  48. package/dist/api/design/catalog.d.ts +320 -0
  49. package/dist/api/design/catalog.d.ts.map +1 -0
  50. package/dist/api/design/create/bulk-items.d.ts +269 -0
  51. package/dist/api/design/create/bulk-items.d.ts.map +1 -0
  52. package/dist/api/design/create/grids.d.ts +132 -0
  53. package/dist/api/design/create/grids.d.ts.map +1 -0
  54. package/dist/api/design/create/index.d.ts +752 -78
  55. package/dist/api/design/create/index.d.ts.map +1 -1
  56. package/dist/api/design/create/opening-fields.d.ts +38 -0
  57. package/dist/api/design/create/opening-fields.d.ts.map +1 -0
  58. package/dist/api/design/delete/index.d.ts +5 -0
  59. package/dist/api/design/delete/index.d.ts.map +1 -1
  60. package/dist/api/design/dimensions.d.ts +427 -0
  61. package/dist/api/design/dimensions.d.ts.map +1 -0
  62. package/dist/api/design/doors/index.d.ts +24 -23
  63. package/dist/api/design/doors/index.d.ts.map +1 -1
  64. package/dist/api/design/family.d.ts +1446 -0
  65. package/dist/api/design/family.d.ts.map +1 -0
  66. package/dist/api/design/furniture/index.d.ts +33 -0
  67. package/dist/api/design/furniture/index.d.ts.map +1 -1
  68. package/dist/api/design/grids.d.ts +237 -0
  69. package/dist/api/design/grids.d.ts.map +1 -0
  70. package/dist/api/design/index.d.ts +30 -0
  71. package/dist/api/design/index.d.ts.map +1 -1
  72. package/dist/api/design/networks.d.ts +1703 -0
  73. package/dist/api/design/networks.d.ts.map +1 -0
  74. package/dist/api/design/query/geometry/index.d.ts +33 -5
  75. package/dist/api/design/query/geometry/index.d.ts.map +1 -1
  76. package/dist/api/design/query/grids.d.ts +287 -0
  77. package/dist/api/design/query/grids.d.ts.map +1 -0
  78. package/dist/api/design/query/index.d.ts +143 -34
  79. package/dist/api/design/query/index.d.ts.map +1 -1
  80. package/dist/api/design/query/spaces.d.ts +5 -5
  81. package/dist/api/design/selection/index.d.ts +12 -12
  82. package/dist/api/design/types/index.d.ts +40 -24
  83. package/dist/api/design/types/index.d.ts.map +1 -1
  84. package/dist/api/design/update/index.d.ts +412 -8
  85. package/dist/api/design/update/index.d.ts.map +1 -1
  86. package/dist/api/design/visibility.d.ts +28 -0
  87. package/dist/api/design/visibility.d.ts.map +1 -1
  88. package/dist/api/design/windows/index.d.ts +8 -8
  89. package/dist/api/design/windows/index.d.ts.map +1 -1
  90. package/dist/api/entity/buildableEnvelope.d.ts +84 -2
  91. package/dist/api/entity/buildableEnvelope.d.ts.map +1 -1
  92. package/dist/api/entity/referenceLine.d.ts +13 -1
  93. package/dist/api/entity/referenceLine.d.ts.map +1 -1
  94. package/dist/api/entity/space.d.ts +12 -12
  95. package/dist/api/entity/story.d.ts +4 -4
  96. package/dist/api/presentation/aiInspiration.d.ts +24 -24
  97. package/dist/api/presentation/annotate.d.ts +38 -22
  98. package/dist/api/presentation/annotate.d.ts.map +1 -1
  99. package/dist/api/presentation/camera.d.ts +265 -0
  100. package/dist/api/presentation/camera.d.ts.map +1 -0
  101. package/dist/api/presentation/drawingContract.d.ts +32 -0
  102. package/dist/api/presentation/drawingContract.d.ts.map +1 -0
  103. package/dist/api/presentation/drawings.d.ts +3523 -0
  104. package/dist/api/presentation/drawings.d.ts.map +1 -0
  105. package/dist/api/presentation/export.d.ts +23 -5
  106. package/dist/api/presentation/export.d.ts.map +1 -1
  107. package/dist/api/presentation/graphics.d.ts +419 -0
  108. package/dist/api/presentation/graphics.d.ts.map +1 -0
  109. package/dist/api/presentation/index.d.ts +66 -12
  110. package/dist/api/presentation/index.d.ts.map +1 -1
  111. package/dist/api/presentation/placedViews.d.ts +116 -16
  112. package/dist/api/presentation/placedViews.d.ts.map +1 -1
  113. package/dist/api/presentation/sections.d.ts +461 -0
  114. package/dist/api/presentation/sections.d.ts.map +1 -0
  115. package/dist/api/presentation/shapes.d.ts +2 -2
  116. package/dist/api/presentation/sheets.d.ts +175 -19
  117. package/dist/api/presentation/sheets.d.ts.map +1 -1
  118. package/dist/api/presentation/standards.d.ts +590 -0
  119. package/dist/api/presentation/standards.d.ts.map +1 -0
  120. package/dist/api/presentation/viewPresets.d.ts +222 -0
  121. package/dist/api/presentation/viewPresets.d.ts.map +1 -0
  122. package/dist/api/presentation/views.d.ts +144 -9
  123. package/dist/api/presentation/views.d.ts.map +1 -1
  124. package/dist/api/presentation/walkthroughs.d.ts +1350 -0
  125. package/dist/api/presentation/walkthroughs.d.ts.map +1 -0
  126. package/dist/api/program/departments.d.ts +58 -2
  127. package/dist/api/program/departments.d.ts.map +1 -1
  128. package/dist/api/program/index.d.ts +16 -6
  129. package/dist/api/program/index.d.ts.map +1 -1
  130. package/dist/api/program/labels.d.ts +355 -0
  131. package/dist/api/program/labels.d.ts.map +1 -0
  132. package/dist/api/program/metadata.d.ts +328 -0
  133. package/dist/api/program/metadata.d.ts.map +1 -0
  134. package/dist/api/program/site.d.ts +4 -4
  135. package/dist/api/program/spreadsheet.d.ts +267 -4
  136. package/dist/api/program/spreadsheet.d.ts.map +1 -1
  137. package/dist/api/workspace/index.d.ts +49 -2
  138. package/dist/api/workspace/index.d.ts.map +1 -1
  139. package/dist/errors/codes.d.ts +3 -1
  140. package/dist/errors/codes.d.ts.map +1 -1
  141. package/dist/handles.d.ts +32 -3
  142. package/dist/handles.d.ts.map +1 -1
  143. package/dist/index.cjs +6539 -2804
  144. package/dist/index.cjs.map +1 -1
  145. package/dist/index.d.ts +2 -0
  146. package/dist/index.d.ts.map +1 -1
  147. package/dist/index.js +6121 -2801
  148. package/dist/index.js.map +1 -1
  149. package/dist/massParameters.d.ts +287 -0
  150. package/dist/massParameters.d.ts.map +1 -0
  151. package/dist/massParameters.ops.d.ts +138 -0
  152. package/dist/massParameters.ops.d.ts.map +1 -0
  153. package/package.json +14 -13
  154. package/scripts/check-dist-fresh.mjs +22 -0
  155. package/scripts/generate-manifest.mjs +5 -0
  156. package/scripts/generate-manifest.test.mjs +14 -3
  157. package/src/api/core/camera/index.ts +446 -1
  158. package/src/api/core/geom/create/index.ts +1037 -102
  159. package/src/api/core/geom/query/brep.ts +60 -2
  160. package/src/api/core/geom/query/curve.ts +26 -2
  161. package/src/api/core/geom/query/edge.ts +2 -2
  162. package/src/api/core/geom/query/face.ts +109 -4
  163. package/src/api/core/geom/update/contour.ts +10 -2
  164. package/src/api/core/geom/update/profile.ts +2 -0
  165. package/src/api/core/handles/index.ts +3 -2
  166. package/src/api/core/index.ts +4 -4
  167. package/src/api/core/io/import/index.ts +11 -3
  168. package/src/api/core/layers.ts +380 -173
  169. package/src/api/core/mode/index.ts +19 -7
  170. package/src/api/core/project/index.ts +62 -1
  171. package/src/api/core/proposals/index.ts +4 -3
  172. package/src/api/core/storeys/index.ts +34 -2
  173. package/src/api/core/storeys/layers.ts +339 -0
  174. package/src/api/core/tags.ts +76 -0
  175. package/src/api/core/zoom/index.ts +13 -0
  176. package/src/api/design/bim.ts +210 -0
  177. package/src/api/design/boolean/index.ts +2 -0
  178. package/src/api/design/catalog.ts +203 -0
  179. package/src/api/design/create/bulk-items.ts +294 -0
  180. package/src/api/design/create/grids.ts +137 -0
  181. package/src/api/design/create/index.ts +823 -114
  182. package/src/api/design/create/opening-fields.ts +40 -0
  183. package/src/api/design/delete/index.ts +5 -0
  184. package/src/api/design/dimensions.ts +453 -0
  185. package/src/api/design/doors/index.ts +64 -41
  186. package/src/api/design/family.ts +1342 -0
  187. package/src/api/design/furniture/index.ts +34 -0
  188. package/src/api/design/grids.ts +237 -0
  189. package/src/api/design/index.ts +49 -4
  190. package/src/api/design/networks.ts +607 -0
  191. package/src/api/design/query/geometry/index.ts +35 -4
  192. package/src/api/design/query/grids.ts +197 -0
  193. package/src/api/design/query/index.ts +105 -3
  194. package/src/api/design/types/index.ts +31 -24
  195. package/src/api/design/update/index.ts +398 -4
  196. package/src/api/design/visibility.ts +34 -0
  197. package/src/api/design/windows/index.ts +40 -22
  198. package/src/api/entity/buildableEnvelope.ts +77 -2
  199. package/src/api/entity/referenceLine.ts +25 -12
  200. package/src/api/presentation/annotate.ts +90 -58
  201. package/src/api/presentation/camera.ts +289 -0
  202. package/src/api/presentation/drawingContract.ts +70 -0
  203. package/src/api/presentation/drawings.ts +1179 -0
  204. package/src/api/presentation/export.ts +32 -6
  205. package/src/api/presentation/graphics.ts +324 -0
  206. package/src/api/presentation/index.ts +73 -14
  207. package/src/api/presentation/placedViews.ts +119 -28
  208. package/src/api/presentation/sections.ts +420 -0
  209. package/src/api/presentation/sheets.ts +181 -20
  210. package/src/api/presentation/standards.ts +445 -0
  211. package/src/api/presentation/viewPresets.ts +241 -0
  212. package/src/api/presentation/views.ts +81 -10
  213. package/src/api/presentation/walkthroughs.ts +1201 -0
  214. package/src/api/program/departments.ts +54 -2
  215. package/src/api/program/index.ts +16 -6
  216. package/src/api/program/labels.ts +332 -0
  217. package/src/api/program/metadata.ts +364 -0
  218. package/src/api/program/spreadsheet.ts +282 -0
  219. package/src/api/workspace/index.ts +51 -2
  220. package/src/errors/codes.ts +7 -0
  221. package/src/handles.ts +42 -3
  222. package/src/index.ts +2 -0
  223. package/src/massParameters.ops.ts +246 -0
  224. package/src/massParameters.ts +427 -0
  225. package/test/drawingContract.test.mjs +288 -0
  226. package/test/errors.test.mjs +1 -0
  227. package/test/massParameters.test.mjs +952 -0
  228. package/test/paperPensContract.test.mjs +75 -0
  229. package/test/presentationViewSettings.test.mjs +85 -0
@@ -9,13 +9,14 @@ import { PluginObjectCatalogGroup, PluginObjectCatalogItem } from "../doors";
9
9
  * at `design.query.*`. Window targets are {@linkcode ComponentHandle}s.
10
10
  *
11
11
  * The **catalog** reads (`listCatalogGroups`/`listCatalog`/`getCatalogItem`/`exists`)
12
- * browse the placeable window library — plain value records keyed by a library id
13
- * (team `_id` or general `fullName`), NOT handles — and feed `design.create.window`.
14
- * They are network-backed but carry no `Async` suffix (§6.6) and never throw
15
- * (`[]`/`null`). The {@linkcode PluginObjectCatalogGroup} / {@linkcode PluginObjectCatalogItem}
12
+ * browse saved hosted window families, keyed by definition ID, and feed design.create.window.
13
+ * They reject if saved definitions cannot be loaded completely. A missing item returns null.
14
+ * The {@linkcode PluginObjectCatalogGroup} / {@linkcode PluginObjectCatalogItem}
16
15
  * DTOs are shared with `design.doors` (defined there, re-exported here).
17
16
  *
18
- * `getSillHeight` (bounds-derived) and the command-wired `mirror` land in a later pass.
17
+ * PC-only: dimensions read the evaluated opening and host thickness in SU. Setters
18
+ * write declared width/height parameters, never mesh scale. Missing or derived
19
+ * controls reject. Use design.family.setParameters for sill and other controls.
19
20
  */
20
21
  export declare abstract class PluginDesignWindowsApi {
21
22
  constructor();
@@ -78,9 +79,8 @@ export declare abstract class PluginDesignWindowsApi {
78
79
  */
79
80
  abstract getHeight(window: ComponentHandle): PluginApiReturn<number | null>;
80
81
  /**
81
- * Get a window's full dimensions in one call — width along the wall, vertical
82
- * height, and thickness through the wall — measured in the window's local
83
- * oriented space.
82
+ * Get evaluated opening width/height and host thickness in Snaptrude units.
83
+ * The opening can differ from the width/height input parameters.
84
84
  *
85
85
  * @param window The window to query
86
86
  * @returns The dimensions, or `null`
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/windows/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CA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 -61,6 +61,11 @@ export declare abstract class PluginBuildableEnvelopeApi {
61
61
  * volume from a revised site polygon, setbacks, vertical cap, or FAR and
62
62
  * lot-coverage limits, keeping the same envelope id.
63
63
  *
64
+ * Edge state is preserved, like the right panel: every edge's type
65
+ * (front/side/rear) is kept. For each type whose value changed (by more than
66
+ * 2 mm), the per-edge custom distances on edges of that type are cleared;
67
+ * custom distances on types whose value did not change are kept.
68
+ *
64
69
  * @param buildableEnvelopeId - Existing envelope ID to update; non-empty and
65
70
  * must match an existing envelope on the canvas.
66
71
  * @param sitePolygon - Site polygon vertices in `lengthUnit`; minimum 3 vertices.
@@ -71,9 +76,15 @@ export declare abstract class PluginBuildableEnvelopeApi {
71
76
  * @param farRatio - Optional FAR value, positive when provided.
72
77
  * @param lotCoverageMaxPct - Optional lot coverage cap, `0..100`.
73
78
  * @returns A {@linkcode PluginBuildableEnvelopeUpdateResult} with the
74
- * `buildableEnvelopeId` of the updated envelope.
79
+ * `buildableEnvelopeId` of the updated envelope and `clearedEdgeSetbacks`,
80
+ * the `edgeIndex` of each edge that lost its custom distance (empty when
81
+ * none). Tell the user about any cleared edges.
75
82
  * @throws If validation fails, the envelope does not exist, or generation
76
- * produces no renderable geometry.
83
+ * produces no renderable geometry. Also throws `PRECONDITION_FAILED`
84
+ * (`details.reason: "STALE_EDGE_SETTINGS"`, nothing changes) when the site
85
+ * outline changed since the edge settings were made. Tell the user;
86
+ * editing any edge on the canvas setback pills resets the edge settings
87
+ * to the new outline (dropping the old ones), after which you can retry.
77
88
  *
78
89
  * @examplePrompt Change the envelope's height limit to 175 feet
79
90
  * @examplePrompt Update the setbacks on the buildable envelope
@@ -257,9 +268,80 @@ export type PluginBuildableEnvelopeUpdateArgs = z.infer<typeof PluginBuildableEn
257
268
  * | Property | Type | Description |
258
269
  * |---|---|---|
259
270
  * | `buildableEnvelopeId` | `string` | Non-empty unique ID of the updated buildable envelope |
271
+ * | `clearedEdgeSetbacks` | `number[]` | `edgeIndex` of every edge whose own custom distance was cleared because its type's (front/side/rear) value changed; empty when none |
260
272
  */
261
273
  export declare const PluginBuildableEnvelopeUpdateResult: z.ZodObject<{
262
274
  buildableEnvelopeId: z.ZodString;
275
+ clearedEdgeSetbacks: z.ZodArray<z.ZodNumber>;
263
276
  }, z.core.$strict>;
264
277
  export type PluginBuildableEnvelopeUpdateResult = z.infer<typeof PluginBuildableEnvelopeUpdateResult>;
278
+ /**
279
+ * Patch for one site edge, as taken by `design.update.siteEdge`.
280
+ *
281
+ * Strict schema. Provide `role`, `setback`, or both. A numeric `setback`
282
+ * requires `lengthUnit`.
283
+ *
284
+ * | Property | Type | Description |
285
+ * |---|---|---|
286
+ * | `role` | `"front" \| "side" \| "rear"`? | New edge type. Setting it clears the edge's own distance |
287
+ * | `setback` | `number \| null`? | This edge's own setback distance in `lengthUnit` (finite, nonnegative); `null` clears it so the edge falls back to its type's distance |
288
+ * | `lengthUnit` | `"m" \| "ft"`? | Unit of `setback`; required when `setback` is a number |
289
+ */
290
+ export declare const PluginSiteEdgePatch: z.ZodObject<{
291
+ role: z.ZodOptional<z.ZodEnum<{
292
+ side: "side";
293
+ front: "front";
294
+ rear: "rear";
295
+ }>>;
296
+ setback: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
297
+ lengthUnit: z.ZodOptional<z.ZodEnum<{
298
+ m: "m";
299
+ ft: "ft";
300
+ }>>;
301
+ }, z.core.$strict>;
302
+ export type PluginSiteEdgePatch = z.infer<typeof PluginSiteEdgePatch>;
303
+ /**
304
+ * Result of `design.update.siteEdge` — the refreshed edge entry for the
305
+ * site, exactly as `program.site.listEdges()` returns it.
306
+ */
307
+ export declare const PluginDesignUpdateSiteEdgeResult: z.ZodObject<{
308
+ siteId: z.ZodString;
309
+ buildableEnvelopeId: z.ZodNullable<z.ZodString>;
310
+ usingLiveSiteBoundary: z.ZodBoolean;
311
+ staleOverridesDropped: z.ZodBoolean;
312
+ edges: z.ZodArray<z.ZodObject<{
313
+ edgeIndex: z.ZodNumber;
314
+ start: z.ZodObject<{
315
+ x: z.ZodNumber;
316
+ z: z.ZodNumber;
317
+ }, z.core.$strip>;
318
+ end: z.ZodObject<{
319
+ x: z.ZodNumber;
320
+ z: z.ZodNumber;
321
+ }, z.core.$strip>;
322
+ lengthMeters: z.ZodNumber;
323
+ role: z.ZodEnum<{
324
+ side: "side";
325
+ front: "front";
326
+ rear: "rear";
327
+ }>;
328
+ roleSource: z.ZodEnum<{
329
+ override: "override";
330
+ heuristic: "heuristic";
331
+ }>;
332
+ setbackMeters: z.ZodNullable<z.ZodNumber>;
333
+ }, z.core.$strip>>;
334
+ }, z.core.$strip>;
335
+ export type PluginDesignUpdateSiteEdgeResult = z.infer<typeof PluginDesignUpdateSiteEdgeResult>;
336
+ /**
337
+ * Result of `design.create.buildableEnvelopeFromSite`.
338
+ *
339
+ * | Property | Type | Description |
340
+ * |---|---|---|
341
+ * | `buildableEnvelopeId` | `string` | ID of the created buildable envelope |
342
+ */
343
+ export declare const PluginDesignCreateBuildableEnvelopeFromSiteResult: z.ZodObject<{
344
+ buildableEnvelopeId: z.ZodString;
345
+ }, z.core.$strict>;
346
+ export type PluginDesignCreateBuildableEnvelopeFromSiteResult = z.infer<typeof PluginDesignCreateBuildableEnvelopeFromSiteResult>;
265
347
  //# sourceMappingURL=buildableEnvelope.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"buildableEnvelope.d.ts","sourceRoot":"","sources":["../../../src/api/entity/buildableEnvelope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C;;;;;;;;;GASG;AACH,8BAAsB,0BAA0B;;IAG9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;aACa,MAAM,CACpB,WAAW,EAAE,oCAAoC,EAAE,EACnD,UAAU,EAAE,IAAI,GAAG,GAAG,EACtB,QAAQ,EAAE,kCAAkC,EAAE,E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CAAA;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE;;;GAGG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA8B,CAAA;AAE3E,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,gCAAgC,CACxC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iDAAiD;;kBAInD,CAAA;AAEX,MAAM,MAAM,iDAAiD,GAAG,CAAC,CAAC,KAAK,CACrE,OAAO,iDAAiD,CACzD,CAAA"}
@@ -154,9 +154,11 @@ export type PluginReferenceLineCreateMultiResult = z.infer<typeof PluginReferenc
154
154
  * | Value | Return Type | Description |
155
155
  * |---|---|---|
156
156
  * | `"curve"` | {@linkcode CurveHandle} | The curve geometry of the reference line, as an opaque handle |
157
+ * | `"styleId"` | `PluginGraphicsLineStyleId \| null` | Project style, or null for an unstyled legacy line |
157
158
  */
158
159
  export declare const PluginReferenceLineGetProperty: z.ZodEnum<{
159
160
  curve: "curve";
161
+ styleId: "styleId";
160
162
  }>;
161
163
  /**
162
164
  * Arguments for {@linkcode PluginReferenceLineApi.get}.
@@ -170,6 +172,7 @@ export declare const PluginReferenceLineGetArgs: z.ZodObject<{
170
172
  referenceLineId: z.ZodString;
171
173
  properties: z.ZodArray<z.ZodEnum<{
172
174
  curve: "curve";
175
+ styleId: "styleId";
173
176
  }>>;
174
177
  }, z.core.$strip>;
175
178
  export type PluginReferenceLineGetArgs = z.infer<typeof PluginReferenceLineGetArgs>;
@@ -180,7 +183,16 @@ export type PluginReferenceLineGetArgs = z.infer<typeof PluginReferenceLineGetAr
180
183
  * {@linkcode PluginReferenceLineGetArgs.properties} will be present.
181
184
  */
182
185
  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>>]>>;
186
+ 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>>]>>;
187
+ styleId: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
188
+ hidden: "hidden";
189
+ thin: "thin";
190
+ medium: "medium";
191
+ wide: "wide";
192
+ overhead: "overhead";
193
+ demolished: "demolished";
194
+ centerline: "centerline";
195
+ }>>>;
184
196
  }, z.core.$strip>;
185
197
  export type PluginReferenceLineGetResult = z.infer<typeof PluginReferenceLineGetResult>;
186
198
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"referenceLine.d.ts","sourceRoot":"","sources":["../../../src/api/entity/referenceLine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAe,MAAM,eAAe,CAAA;AAE1D;;;;;;;;;;;GAWG;AACH,8BAAsB,sBAAsB;;IAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;aACa,WAAW,CACzB,OAAO,EAAE,aAAa,GACrB,eAAe,CAAC,oCAAoC,CAAC;IAExD;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;aACa,GAAG,CACjB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,EAAE,G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AA;AAED;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;iBAK7B,CAAA;AAEZ,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CACpC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B;;iBAE1C,CAAA;AAEF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,+BAA+B,CACvC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B;;iBAExC,CAAA;AAEF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,6BAA6B,CACrC,CAAA;AAED,8FAA8F;AAC9F,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAA"}
@@ -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;
@@ -358,11 +358,11 @@ export type PluginSpaceDeleteResult = void;
358
358
  * | `"Site"` | Site object |
359
359
  */
360
360
  export declare const PluginMassType: z.ZodEnum<{
361
+ Furniture: "Furniture";
361
362
  Room: "Room";
362
363
  Plinth: "Plinth";
363
364
  Void: "Void";
364
365
  Pergola: "Pergola";
365
- Furniture: "Furniture";
366
366
  "Facade element": "Facade element";
367
367
  "Generic mass": "Generic mass";
368
368
  Department: "Department";
@@ -417,11 +417,11 @@ export declare const PluginSpaceUpdateArgs: z.ZodObject<{
417
417
  properties: z.ZodObject<{
418
418
  room_type: z.ZodOptional<z.ZodString>;
419
419
  massType: z.ZodOptional<z.ZodEnum<{
420
+ Furniture: "Furniture";
420
421
  Room: "Room";
421
422
  Plinth: "Plinth";
422
423
  Void: "Void";
423
424
  Pergola: "Pergola";
424
- Furniture: "Furniture";
425
425
  "Facade element": "Facade element";
426
426
  "Generic mass": "Generic mass";
427
427
  Department: "Department";
@@ -518,11 +518,11 @@ export declare const PluginSpaceBulkCreateItem: z.ZodDiscriminatedUnion<[z.ZodOb
518
518
  Parking: "Parking";
519
519
  }>>;
520
520
  massType: z.ZodOptional<z.ZodEnum<{
521
+ Furniture: "Furniture";
521
522
  Room: "Room";
522
523
  Plinth: "Plinth";
523
524
  Void: "Void";
524
525
  Pergola: "Pergola";
525
- Furniture: "Furniture";
526
526
  "Facade element": "Facade element";
527
527
  "Generic mass": "Generic mass";
528
528
  Department: "Department";
@@ -557,11 +557,11 @@ export declare const PluginSpaceBulkCreateItem: z.ZodDiscriminatedUnion<[z.ZodOb
557
557
  Parking: "Parking";
558
558
  }>>;
559
559
  massType: z.ZodOptional<z.ZodEnum<{
560
+ Furniture: "Furniture";
560
561
  Room: "Room";
561
562
  Plinth: "Plinth";
562
563
  Void: "Void";
563
564
  Pergola: "Pergola";
564
- Furniture: "Furniture";
565
565
  "Facade element": "Facade element";
566
566
  "Generic mass": "Generic mass";
567
567
  Department: "Department";
@@ -608,11 +608,11 @@ export declare const PluginSpaceBulkCreateArgs: z.ZodObject<{
608
608
  Parking: "Parking";
609
609
  }>>;
610
610
  massType: z.ZodOptional<z.ZodEnum<{
611
+ Furniture: "Furniture";
611
612
  Room: "Room";
612
613
  Plinth: "Plinth";
613
614
  Void: "Void";
614
615
  Pergola: "Pergola";
615
- Furniture: "Furniture";
616
616
  "Facade element": "Facade element";
617
617
  "Generic mass": "Generic mass";
618
618
  Department: "Department";
@@ -647,11 +647,11 @@ export declare const PluginSpaceBulkCreateArgs: z.ZodObject<{
647
647
  Parking: "Parking";
648
648
  }>>;
649
649
  massType: z.ZodOptional<z.ZodEnum<{
650
+ Furniture: "Furniture";
650
651
  Room: "Room";
651
652
  Plinth: "Plinth";
652
653
  Void: "Void";
653
654
  Pergola: "Pergola";
654
- Furniture: "Furniture";
655
655
  "Facade element": "Facade element";
656
656
  "Generic mass": "Generic mass";
657
657
  Department: "Department";
@@ -702,11 +702,11 @@ export declare const PluginSpaceBulkUpdateItem: z.ZodObject<{
702
702
  properties: z.ZodOptional<z.ZodObject<{
703
703
  room_type: z.ZodOptional<z.ZodString>;
704
704
  massType: z.ZodOptional<z.ZodEnum<{
705
+ Furniture: "Furniture";
705
706
  Room: "Room";
706
707
  Plinth: "Plinth";
707
708
  Void: "Void";
708
709
  Pergola: "Pergola";
709
- Furniture: "Furniture";
710
710
  "Facade element": "Facade element";
711
711
  "Generic mass": "Generic mass";
712
712
  Department: "Department";
@@ -756,11 +756,11 @@ export declare const PluginSpaceBulkUpdateArgs: z.ZodObject<{
756
756
  properties: z.ZodOptional<z.ZodObject<{
757
757
  room_type: z.ZodOptional<z.ZodString>;
758
758
  massType: z.ZodOptional<z.ZodEnum<{
759
+ Furniture: "Furniture";
759
760
  Room: "Room";
760
761
  Plinth: "Plinth";
761
762
  Void: "Void";
762
763
  Pergola: "Pergola";
763
- Furniture: "Furniture";
764
764
  "Facade element": "Facade element";
765
765
  "Generic mass": "Generic mass";
766
766
  Department: "Department";
@@ -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>;
@@ -59,10 +59,10 @@ export declare const PluginAIInspirationVideoDuration: z.ZodEnum<{
59
59
  export type PluginAIInspirationVideoDuration = z.infer<typeof PluginAIInspirationVideoDuration>;
60
60
  export declare const PluginAIInspirationJobStatus: z.ZodEnum<{
61
61
  failed: "failed";
62
- running: "running";
63
62
  queued: "queued";
64
- completed: "completed";
65
63
  cancelled: "cancelled";
64
+ running: "running";
65
+ completed: "completed";
66
66
  }>;
67
67
  export type PluginAIInspirationJobStatus = z.infer<typeof PluginAIInspirationJobStatus>;
68
68
  export declare const PluginAIInspirationWorkflowRunState: z.ZodEnum<{
@@ -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>;
@@ -412,8 +412,8 @@ export declare const PluginAIInspirationGenerateArgs: z.ZodObject<{
412
412
  modelId: z.ZodOptional<z.ZodString>;
413
413
  referenceShapeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
414
414
  referenceStrength: z.ZodOptional<z.ZodEnum<{
415
- low: "low";
416
415
  medium: "medium";
416
+ low: "low";
417
417
  high: "high";
418
418
  }>>;
419
419
  appliedPreset: z.ZodOptional<z.ZodObject<{
@@ -552,10 +552,10 @@ export declare const PluginAIInspirationJob: z.ZodObject<{
552
552
  jobId: z.ZodString;
553
553
  status: z.ZodEnum<{
554
554
  failed: "failed";
555
- running: "running";
556
555
  queued: "queued";
557
- completed: "completed";
558
556
  cancelled: "cancelled";
557
+ running: "running";
558
+ completed: "completed";
559
559
  }>;
560
560
  createdAt: z.ZodNumber;
561
561
  updatedAt: z.ZodNumber;
@@ -619,10 +619,10 @@ export declare const PluginAIInspirationGetJobResult: z.ZodObject<{
619
619
  jobId: z.ZodString;
620
620
  status: z.ZodEnum<{
621
621
  failed: "failed";
622
- running: "running";
623
622
  queued: "queued";
624
- completed: "completed";
625
623
  cancelled: "cancelled";
624
+ running: "running";
625
+ completed: "completed";
626
626
  }>;
627
627
  createdAt: z.ZodNumber;
628
628
  updatedAt: z.ZodNumber;
@@ -683,10 +683,10 @@ export declare const PluginAIInspirationCancelJobResult: z.ZodObject<{
683
683
  jobId: z.ZodString;
684
684
  status: z.ZodEnum<{
685
685
  failed: "failed";
686
- running: "running";
687
686
  queued: "queued";
688
- completed: "completed";
689
687
  cancelled: "cancelled";
688
+ running: "running";
689
+ completed: "completed";
690
690
  }>;
691
691
  createdAt: z.ZodNumber;
692
692
  updatedAt: z.ZodNumber;
@@ -747,10 +747,10 @@ export declare const PluginAIInspirationListJobsResult: z.ZodObject<{
747
747
  jobId: z.ZodString;
748
748
  status: z.ZodEnum<{
749
749
  failed: "failed";
750
- running: "running";
751
750
  queued: "queued";
752
- completed: "completed";
753
751
  cancelled: "cancelled";
752
+ running: "running";
753
+ completed: "completed";
754
754
  }>;
755
755
  createdAt: z.ZodNumber;
756
756
  updatedAt: z.ZodNumber;
@@ -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;