@snaptrude/plugin-core 0.0.0-bimsvg-20260928124803

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 (383) hide show
  1. package/AGENTS.md +231 -0
  2. package/CHANGELOG.md +341 -0
  3. package/CLAUDE.md +11 -0
  4. package/api-manifest.json +9120 -0
  5. package/dist/api/analysis/daylight.d.ts +603 -0
  6. package/dist/api/analysis/daylight.d.ts.map +1 -0
  7. package/dist/api/analysis/heatmaps.d.ts +658 -0
  8. package/dist/api/analysis/heatmaps.d.ts.map +1 -0
  9. package/dist/api/analysis/illuminance.d.ts +145 -0
  10. package/dist/api/analysis/illuminance.d.ts.map +1 -0
  11. package/dist/api/analysis/index.d.ts +59 -0
  12. package/dist/api/analysis/index.d.ts.map +1 -0
  13. package/dist/api/analysis/shadows.d.ts +165 -0
  14. package/dist/api/analysis/shadows.d.ts.map +1 -0
  15. package/dist/api/analysis/solar.d.ts +249 -0
  16. package/dist/api/analysis/solar.d.ts.map +1 -0
  17. package/dist/api/analysis/sunlightHours.d.ts +208 -0
  18. package/dist/api/analysis/sunlightHours.d.ts.map +1 -0
  19. package/dist/api/analysis/sunpath.d.ts +80 -0
  20. package/dist/api/analysis/sunpath.d.ts.map +1 -0
  21. package/dist/api/analysis/weather.d.ts +193 -0
  22. package/dist/api/analysis/weather.d.ts.map +1 -0
  23. package/dist/api/core/buildings.d.ts +427 -0
  24. package/dist/api/core/buildings.d.ts.map +1 -0
  25. package/dist/api/core/camera/index.d.ts +261 -0
  26. package/dist/api/core/camera/index.d.ts.map +1 -0
  27. package/dist/api/core/comment/index.d.ts +333 -0
  28. package/dist/api/core/comment/index.d.ts.map +1 -0
  29. package/dist/api/core/geom/create/index.d.ts +1073 -0
  30. package/dist/api/core/geom/create/index.d.ts.map +1 -0
  31. package/dist/api/core/geom/delete/index.d.ts +78 -0
  32. package/dist/api/core/geom/delete/index.d.ts.map +1 -0
  33. package/dist/api/core/geom/index.d.ts +33 -0
  34. package/dist/api/core/geom/index.d.ts.map +1 -0
  35. package/dist/api/core/geom/query/arc.d.ts +169 -0
  36. package/dist/api/core/geom/query/arc.d.ts.map +1 -0
  37. package/dist/api/core/geom/query/brep.d.ts +514 -0
  38. package/dist/api/core/geom/query/brep.d.ts.map +1 -0
  39. package/dist/api/core/geom/query/circle.d.ts +378 -0
  40. package/dist/api/core/geom/query/circle.d.ts.map +1 -0
  41. package/dist/api/core/geom/query/contour.d.ts +450 -0
  42. package/dist/api/core/geom/query/contour.d.ts.map +1 -0
  43. package/dist/api/core/geom/query/curve.d.ts +918 -0
  44. package/dist/api/core/geom/query/curve.d.ts.map +1 -0
  45. package/dist/api/core/geom/query/edge.d.ts +128 -0
  46. package/dist/api/core/geom/query/edge.d.ts.map +1 -0
  47. package/dist/api/core/geom/query/face.d.ts +363 -0
  48. package/dist/api/core/geom/query/face.d.ts.map +1 -0
  49. package/dist/api/core/geom/query/halfedge.d.ts +206 -0
  50. package/dist/api/core/geom/query/halfedge.d.ts.map +1 -0
  51. package/dist/api/core/geom/query/index.d.ts +61 -0
  52. package/dist/api/core/geom/query/index.d.ts.map +1 -0
  53. package/dist/api/core/geom/query/profile.d.ts +410 -0
  54. package/dist/api/core/geom/query/profile.d.ts.map +1 -0
  55. package/dist/api/core/geom/query/vertex.d.ts +187 -0
  56. package/dist/api/core/geom/query/vertex.d.ts.map +1 -0
  57. package/dist/api/core/geom/update/contour.d.ts +272 -0
  58. package/dist/api/core/geom/update/contour.d.ts.map +1 -0
  59. package/dist/api/core/geom/update/curve.d.ts +180 -0
  60. package/dist/api/core/geom/update/curve.d.ts.map +1 -0
  61. package/dist/api/core/geom/update/index.d.ts +27 -0
  62. package/dist/api/core/geom/update/index.d.ts.map +1 -0
  63. package/dist/api/core/geom/update/profile.d.ts +329 -0
  64. package/dist/api/core/geom/update/profile.d.ts.map +1 -0
  65. package/dist/api/core/groups.d.ts +485 -0
  66. package/dist/api/core/groups.d.ts.map +1 -0
  67. package/dist/api/core/handles/index.d.ts +210 -0
  68. package/dist/api/core/handles/index.d.ts.map +1 -0
  69. package/dist/api/core/history/index.d.ts +78 -0
  70. package/dist/api/core/history/index.d.ts.map +1 -0
  71. package/dist/api/core/index.d.ts +97 -0
  72. package/dist/api/core/index.d.ts.map +1 -0
  73. package/dist/api/core/io/export/index.d.ts +134 -0
  74. package/dist/api/core/io/export/index.d.ts.map +1 -0
  75. package/dist/api/core/io/import/index.d.ts +455 -0
  76. package/dist/api/core/io/import/index.d.ts.map +1 -0
  77. package/dist/api/core/io/index.d.ts +40 -0
  78. package/dist/api/core/io/index.d.ts.map +1 -0
  79. package/dist/api/core/io/job/index.d.ts +139 -0
  80. package/dist/api/core/io/job/index.d.ts.map +1 -0
  81. package/dist/api/core/io/query/index.d.ts +74 -0
  82. package/dist/api/core/io/query/index.d.ts.map +1 -0
  83. package/dist/api/core/io/terrain/index.d.ts +341 -0
  84. package/dist/api/core/io/terrain/index.d.ts.map +1 -0
  85. package/dist/api/core/io/underlay/index.d.ts +805 -0
  86. package/dist/api/core/io/underlay/index.d.ts.map +1 -0
  87. package/dist/api/core/layers.d.ts +402 -0
  88. package/dist/api/core/layers.d.ts.map +1 -0
  89. package/dist/api/core/math/index.d.ts +18 -0
  90. package/dist/api/core/math/index.d.ts.map +1 -0
  91. package/dist/api/core/math/quat.d.ts +170 -0
  92. package/dist/api/core/math/quat.d.ts.map +1 -0
  93. package/dist/api/core/math/vec3.d.ts +174 -0
  94. package/dist/api/core/math/vec3.d.ts.map +1 -0
  95. package/dist/api/core/mode/index.d.ts +111 -0
  96. package/dist/api/core/mode/index.d.ts.map +1 -0
  97. package/dist/api/core/project/index.d.ts +466 -0
  98. package/dist/api/core/project/index.d.ts.map +1 -0
  99. package/dist/api/core/proposals/index.d.ts +531 -0
  100. package/dist/api/core/proposals/index.d.ts.map +1 -0
  101. package/dist/api/core/storeys/index.d.ts +265 -0
  102. package/dist/api/core/storeys/index.d.ts.map +1 -0
  103. package/dist/api/core/tags.d.ts +860 -0
  104. package/dist/api/core/tags.d.ts.map +1 -0
  105. package/dist/api/core/units/index.d.ts +175 -0
  106. package/dist/api/core/units/index.d.ts.map +1 -0
  107. package/dist/api/core/user.d.ts +44 -0
  108. package/dist/api/core/user.d.ts.map +1 -0
  109. package/dist/api/core/zoom/index.d.ts +49 -0
  110. package/dist/api/core/zoom/index.d.ts.map +1 -0
  111. package/dist/api/design/boolean/index.d.ts +168 -0
  112. package/dist/api/design/boolean/index.d.ts.map +1 -0
  113. package/dist/api/design/create/bulk-items.d.ts +185 -0
  114. package/dist/api/design/create/bulk-items.d.ts.map +1 -0
  115. package/dist/api/design/create/grids.d.ts +132 -0
  116. package/dist/api/design/create/grids.d.ts.map +1 -0
  117. package/dist/api/design/create/index.d.ts +1747 -0
  118. package/dist/api/design/create/index.d.ts.map +1 -0
  119. package/dist/api/design/create/opening-fields.d.ts +37 -0
  120. package/dist/api/design/create/opening-fields.d.ts.map +1 -0
  121. package/dist/api/design/delete/index.d.ts +70 -0
  122. package/dist/api/design/delete/index.d.ts.map +1 -0
  123. package/dist/api/design/dimensions.d.ts +427 -0
  124. package/dist/api/design/dimensions.d.ts.map +1 -0
  125. package/dist/api/design/doors/index.d.ts +470 -0
  126. package/dist/api/design/doors/index.d.ts.map +1 -0
  127. package/dist/api/design/edit/index.d.ts +49 -0
  128. package/dist/api/design/edit/index.d.ts.map +1 -0
  129. package/dist/api/design/erase/index.d.ts +160 -0
  130. package/dist/api/design/erase/index.d.ts.map +1 -0
  131. package/dist/api/design/family.d.ts +611 -0
  132. package/dist/api/design/family.d.ts.map +1 -0
  133. package/dist/api/design/furniture/index.d.ts +296 -0
  134. package/dist/api/design/furniture/index.d.ts.map +1 -0
  135. package/dist/api/design/grids.d.ts +237 -0
  136. package/dist/api/design/grids.d.ts.map +1 -0
  137. package/dist/api/design/index.d.ts +260 -0
  138. package/dist/api/design/index.d.ts.map +1 -0
  139. package/dist/api/design/lock.d.ts +67 -0
  140. package/dist/api/design/lock.d.ts.map +1 -0
  141. package/dist/api/design/materials/index.d.ts +551 -0
  142. package/dist/api/design/materials/index.d.ts.map +1 -0
  143. package/dist/api/design/query/geometry/index.d.ts +252 -0
  144. package/dist/api/design/query/geometry/index.d.ts.map +1 -0
  145. package/dist/api/design/query/grids.d.ts +287 -0
  146. package/dist/api/design/query/grids.d.ts.map +1 -0
  147. package/dist/api/design/query/index.d.ts +1318 -0
  148. package/dist/api/design/query/index.d.ts.map +1 -0
  149. package/dist/api/design/query/referenceLines.d.ts +45 -0
  150. package/dist/api/design/query/referenceLines.d.ts.map +1 -0
  151. package/dist/api/design/query/spaces.d.ts +394 -0
  152. package/dist/api/design/query/spaces.d.ts.map +1 -0
  153. package/dist/api/design/selection/index.d.ts +282 -0
  154. package/dist/api/design/selection/index.d.ts.map +1 -0
  155. package/dist/api/design/shared.d.ts +38 -0
  156. package/dist/api/design/shared.d.ts.map +1 -0
  157. package/dist/api/design/transform/index.d.ts +249 -0
  158. package/dist/api/design/transform/index.d.ts.map +1 -0
  159. package/dist/api/design/types/index.d.ts +181 -0
  160. package/dist/api/design/types/index.d.ts.map +1 -0
  161. package/dist/api/design/update/index.d.ts +803 -0
  162. package/dist/api/design/update/index.d.ts.map +1 -0
  163. package/dist/api/design/visibility.d.ts +126 -0
  164. package/dist/api/design/visibility.d.ts.map +1 -0
  165. package/dist/api/design/windows/index.d.ts +300 -0
  166. package/dist/api/design/windows/index.d.ts.map +1 -0
  167. package/dist/api/entity/buildableEnvelope.d.ts +265 -0
  168. package/dist/api/entity/buildableEnvelope.d.ts.map +1 -0
  169. package/dist/api/entity/department.d.ts +1 -0
  170. package/dist/api/entity/department.d.ts.map +1 -0
  171. package/dist/api/entity/index.d.ts +28 -0
  172. package/dist/api/entity/index.d.ts.map +1 -0
  173. package/dist/api/entity/referenceLine.d.ts +210 -0
  174. package/dist/api/entity/referenceLine.d.ts.map +1 -0
  175. package/dist/api/entity/space.d.ts +846 -0
  176. package/dist/api/entity/space.d.ts.map +1 -0
  177. package/dist/api/entity/story.d.ts +476 -0
  178. package/dist/api/entity/story.d.ts.map +1 -0
  179. package/dist/api/index.d.ts +45 -0
  180. package/dist/api/index.d.ts.map +1 -0
  181. package/dist/api/presentation/aiInspiration.d.ts +2400 -0
  182. package/dist/api/presentation/aiInspiration.d.ts.map +1 -0
  183. package/dist/api/presentation/annotate.d.ts +483 -0
  184. package/dist/api/presentation/annotate.d.ts.map +1 -0
  185. package/dist/api/presentation/diagrams.d.ts +184 -0
  186. package/dist/api/presentation/diagrams.d.ts.map +1 -0
  187. package/dist/api/presentation/drawings.d.ts +2900 -0
  188. package/dist/api/presentation/drawings.d.ts.map +1 -0
  189. package/dist/api/presentation/export.d.ts +126 -0
  190. package/dist/api/presentation/export.d.ts.map +1 -0
  191. package/dist/api/presentation/import.d.ts +164 -0
  192. package/dist/api/presentation/import.d.ts.map +1 -0
  193. package/dist/api/presentation/index.d.ts +114 -0
  194. package/dist/api/presentation/index.d.ts.map +1 -0
  195. package/dist/api/presentation/placedViews.d.ts +1232 -0
  196. package/dist/api/presentation/placedViews.d.ts.map +1 -0
  197. package/dist/api/presentation/shapes.d.ts +481 -0
  198. package/dist/api/presentation/shapes.d.ts.map +1 -0
  199. package/dist/api/presentation/sheets.d.ts +643 -0
  200. package/dist/api/presentation/sheets.d.ts.map +1 -0
  201. package/dist/api/presentation/slideshow.d.ts +125 -0
  202. package/dist/api/presentation/slideshow.d.ts.map +1 -0
  203. package/dist/api/presentation/tables.d.ts +81 -0
  204. package/dist/api/presentation/tables.d.ts.map +1 -0
  205. package/dist/api/presentation/viewPresets.d.ts +70 -0
  206. package/dist/api/presentation/viewPresets.d.ts.map +1 -0
  207. package/dist/api/presentation/views.d.ts +741 -0
  208. package/dist/api/presentation/views.d.ts.map +1 -0
  209. package/dist/api/program/adjacency.d.ts +155 -0
  210. package/dist/api/program/adjacency.d.ts.map +1 -0
  211. package/dist/api/program/areas.d.ts +450 -0
  212. package/dist/api/program/areas.d.ts.map +1 -0
  213. package/dist/api/program/classification.d.ts +135 -0
  214. package/dist/api/program/classification.d.ts.map +1 -0
  215. package/dist/api/program/cores.d.ts +78 -0
  216. package/dist/api/program/cores.d.ts.map +1 -0
  217. package/dist/api/program/departments.d.ts +487 -0
  218. package/dist/api/program/departments.d.ts.map +1 -0
  219. package/dist/api/program/index.d.ts +71 -0
  220. package/dist/api/program/index.d.ts.map +1 -0
  221. package/dist/api/program/labels.d.ts +355 -0
  222. package/dist/api/program/labels.d.ts.map +1 -0
  223. package/dist/api/program/layout.d.ts +398 -0
  224. package/dist/api/program/layout.d.ts.map +1 -0
  225. package/dist/api/program/metadata.d.ts +328 -0
  226. package/dist/api/program/metadata.d.ts.map +1 -0
  227. package/dist/api/program/metrics.d.ts +108 -0
  228. package/dist/api/program/metrics.d.ts.map +1 -0
  229. package/dist/api/program/site.d.ts +823 -0
  230. package/dist/api/program/site.d.ts.map +1 -0
  231. package/dist/api/program/spreadsheet.d.ts +2628 -0
  232. package/dist/api/program/spreadsheet.d.ts.map +1 -0
  233. package/dist/api/workspace/index.d.ts +552 -0
  234. package/dist/api/workspace/index.d.ts.map +1 -0
  235. package/dist/errors/codes.d.ts +34 -0
  236. package/dist/errors/codes.d.ts.map +1 -0
  237. package/dist/errors/envelope.d.ts +56 -0
  238. package/dist/errors/envelope.d.ts.map +1 -0
  239. package/dist/errors/index.d.ts +6 -0
  240. package/dist/errors/index.d.ts.map +1 -0
  241. package/dist/errors/plugin-error.d.ts +69 -0
  242. package/dist/errors/plugin-error.d.ts.map +1 -0
  243. package/dist/handles.d.ts +229 -0
  244. package/dist/handles.d.ts.map +1 -0
  245. package/dist/host-utils.d.ts +47 -0
  246. package/dist/host-utils.d.ts.map +1 -0
  247. package/dist/index.cjs +8836 -0
  248. package/dist/index.cjs.map +1 -0
  249. package/dist/index.d.ts +6 -0
  250. package/dist/index.d.ts.map +1 -0
  251. package/dist/index.js +7568 -0
  252. package/dist/index.js.map +1 -0
  253. package/dist/types.d.ts +16 -0
  254. package/dist/types.d.ts.map +1 -0
  255. package/package.json +41 -0
  256. package/scripts/generate-manifest.mjs +238 -0
  257. package/scripts/generate-manifest.test.mjs +292 -0
  258. package/src/api/analysis/daylight.ts +470 -0
  259. package/src/api/analysis/heatmaps.ts +683 -0
  260. package/src/api/analysis/illuminance.ts +155 -0
  261. package/src/api/analysis/index.ts +61 -0
  262. package/src/api/analysis/shadows.ts +183 -0
  263. package/src/api/analysis/solar.ts +237 -0
  264. package/src/api/analysis/sunlightHours.ts +211 -0
  265. package/src/api/analysis/sunpath.ts +83 -0
  266. package/src/api/analysis/weather.ts +179 -0
  267. package/src/api/core/buildings.ts +485 -0
  268. package/src/api/core/camera/index.ts +268 -0
  269. package/src/api/core/comment/index.ts +376 -0
  270. package/src/api/core/geom/create/index.ts +1204 -0
  271. package/src/api/core/geom/delete/index.ts +84 -0
  272. package/src/api/core/geom/index.ts +35 -0
  273. package/src/api/core/geom/query/arc.ts +169 -0
  274. package/src/api/core/geom/query/brep.ts +563 -0
  275. package/src/api/core/geom/query/circle.ts +404 -0
  276. package/src/api/core/geom/query/contour.ts +540 -0
  277. package/src/api/core/geom/query/curve.ts +1078 -0
  278. package/src/api/core/geom/query/edge.ts +130 -0
  279. package/src/api/core/geom/query/face.ts +403 -0
  280. package/src/api/core/geom/query/halfedge.ts +210 -0
  281. package/src/api/core/geom/query/index.ts +63 -0
  282. package/src/api/core/geom/query/profile.ts +473 -0
  283. package/src/api/core/geom/query/vertex.ts +205 -0
  284. package/src/api/core/geom/update/contour.ts +315 -0
  285. package/src/api/core/geom/update/curve.ts +209 -0
  286. package/src/api/core/geom/update/index.ts +29 -0
  287. package/src/api/core/geom/update/profile.ts +377 -0
  288. package/src/api/core/groups.ts +521 -0
  289. package/src/api/core/handles/index.ts +233 -0
  290. package/src/api/core/history/index.ts +84 -0
  291. package/src/api/core/index.ts +99 -0
  292. package/src/api/core/io/export/index.ts +126 -0
  293. package/src/api/core/io/import/index.ts +504 -0
  294. package/src/api/core/io/index.ts +42 -0
  295. package/src/api/core/io/job/index.ts +140 -0
  296. package/src/api/core/io/query/index.ts +71 -0
  297. package/src/api/core/io/terrain/index.ts +360 -0
  298. package/src/api/core/io/underlay/index.ts +705 -0
  299. package/src/api/core/layers.ts +333 -0
  300. package/src/api/core/math/index.ts +20 -0
  301. package/src/api/core/math/quat.ts +172 -0
  302. package/src/api/core/math/vec3.ts +179 -0
  303. package/src/api/core/mode/index.ts +108 -0
  304. package/src/api/core/project/index.ts +479 -0
  305. package/src/api/core/proposals/index.ts +569 -0
  306. package/src/api/core/storeys/index.ts +294 -0
  307. package/src/api/core/tags.ts +911 -0
  308. package/src/api/core/units/index.ts +164 -0
  309. package/src/api/core/user.ts +46 -0
  310. package/src/api/core/zoom/index.ts +51 -0
  311. package/src/api/design/boolean/index.ts +179 -0
  312. package/src/api/design/create/bulk-items.ts +186 -0
  313. package/src/api/design/create/grids.ts +137 -0
  314. package/src/api/design/create/index.ts +1954 -0
  315. package/src/api/design/create/opening-fields.ts +37 -0
  316. package/src/api/design/delete/index.ts +74 -0
  317. package/src/api/design/dimensions.ts +453 -0
  318. package/src/api/design/doors/index.ts +500 -0
  319. package/src/api/design/edit/index.ts +54 -0
  320. package/src/api/design/erase/index.ts +151 -0
  321. package/src/api/design/family.ts +646 -0
  322. package/src/api/design/furniture/index.ts +319 -0
  323. package/src/api/design/grids.ts +237 -0
  324. package/src/api/design/index.ts +274 -0
  325. package/src/api/design/lock.ts +69 -0
  326. package/src/api/design/materials/index.ts +608 -0
  327. package/src/api/design/query/geometry/index.ts +288 -0
  328. package/src/api/design/query/grids.ts +197 -0
  329. package/src/api/design/query/index.ts +1176 -0
  330. package/src/api/design/query/referenceLines.ts +52 -0
  331. package/src/api/design/query/spaces.ts +275 -0
  332. package/src/api/design/selection/index.ts +273 -0
  333. package/src/api/design/shared.ts +40 -0
  334. package/src/api/design/transform/index.ts +254 -0
  335. package/src/api/design/types/index.ts +156 -0
  336. package/src/api/design/update/index.ts +798 -0
  337. package/src/api/design/visibility.ts +143 -0
  338. package/src/api/design/windows/index.ts +333 -0
  339. package/src/api/entity/buildableEnvelope.ts +322 -0
  340. package/src/api/entity/department.ts +0 -0
  341. package/src/api/entity/index.ts +30 -0
  342. package/src/api/entity/referenceLine.ts +235 -0
  343. package/src/api/entity/space.ts +612 -0
  344. package/src/api/entity/story.ts +517 -0
  345. package/src/api/index.ts +47 -0
  346. package/src/api/presentation/aiInspiration.ts +1116 -0
  347. package/src/api/presentation/annotate.ts +417 -0
  348. package/src/api/presentation/diagrams.ts +194 -0
  349. package/src/api/presentation/drawings.ts +529 -0
  350. package/src/api/presentation/export.ts +133 -0
  351. package/src/api/presentation/import.ts +159 -0
  352. package/src/api/presentation/index.ts +129 -0
  353. package/src/api/presentation/placedViews.ts +1203 -0
  354. package/src/api/presentation/shapes.ts +274 -0
  355. package/src/api/presentation/sheets.ts +616 -0
  356. package/src/api/presentation/slideshow.ts +134 -0
  357. package/src/api/presentation/tables.ts +84 -0
  358. package/src/api/presentation/viewPresets.ts +83 -0
  359. package/src/api/presentation/views.ts +698 -0
  360. package/src/api/program/adjacency.ts +164 -0
  361. package/src/api/program/areas.ts +408 -0
  362. package/src/api/program/classification.ts +138 -0
  363. package/src/api/program/cores.ts +83 -0
  364. package/src/api/program/departments.ts +517 -0
  365. package/src/api/program/index.ts +73 -0
  366. package/src/api/program/labels.ts +332 -0
  367. package/src/api/program/layout.ts +422 -0
  368. package/src/api/program/metadata.ts +364 -0
  369. package/src/api/program/metrics.ts +120 -0
  370. package/src/api/program/site.ts +748 -0
  371. package/src/api/program/spreadsheet.ts +2698 -0
  372. package/src/api/workspace/index.ts +612 -0
  373. package/src/errors/codes.ts +136 -0
  374. package/src/errors/envelope.ts +75 -0
  375. package/src/errors/index.ts +21 -0
  376. package/src/errors/plugin-error.ts +134 -0
  377. package/src/handles.ts +282 -0
  378. package/src/host-utils.ts +68 -0
  379. package/src/index.ts +5 -0
  380. package/src/types.ts +16 -0
  381. package/test/errors.test.mjs +184 -0
  382. package/tsconfig.json +22 -0
  383. package/tsup.config.ts +12 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/views.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C;;;;;;;;;;;;;;;GAeG;AACH,8BAAsB,0BAA0B;;IAG9C;;;;;;;;;;;;;;;;;;OAkBG;aACa,IAAI,IAAI,eAAe,CAAC,iCAAiC,CAAC;IAE1E;;;;;;;;;;;;;;;OAeG;aACa,GAAG,CACjB,MAAM,EAAE,MAAM,GACb,eAAe,CAAC,gCAAgC,CAAC;IAEpD;;;;;;;;;;;;;;OAcG;aACa,SAAS,IAAI,eAAe,CAAC,gCAAgC,CAAC;IAE9E;;;;;;;;;;;;;;;;;;;;;;OAsBG;aACa,OAAO,CAAC,OAAO,CAAC,EAAE;QAChC,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;QACvB,UAAU,CAAC,EAAE,MAAM,CAAA;KACpB,GAAG,eAAe,CAAC,oCAAoC,CAAC;IAEzD;;;;;;;;;;;;;;;;;;;OAmBG;aACa,SAAS,CACvB,MAAM,EAAE,MAAM,GACb,eAAe,CAAC,sCAAsC,CAAC;IAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;aACa,MAAM,CACpB,IAAI,CAAC,EAAE,MAAM,EACb,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GACxD,eAAe,CAAC,mCAAmC,CAAC;IAEvD;;;;;;;;;;;;;;;;;;OAkBG;aACa,WAAW,CACzB,MAAM,EAAE,MAAM,GACb,eAAe,CAAC,wCAAwC,CAAC;IAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ACnD,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iCAAiC;;;iBAG5C,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAA;AAED,kFAAkF;AAClF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;iBAAyB,CAAA;AACzE,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iCAAiC;;iBAE5C,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,mCAAmC;;iBAE9C,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAA"}
@@ -0,0 +1,155 @@
1
+ import * as z from "zod";
2
+ import { PluginApiReturn } from "../../types";
3
+ /**
4
+ * Program adjacency — the proximity relationships between departments or
5
+ * spaces.
6
+ *
7
+ * Adjacency is stage one of the product's space-planning workflow (compute →
8
+ * arrange → pack): the AI service scores which program elements need to be
9
+ * near each other, and the geometry contributes physical contact. Cell values:
10
+ *
11
+ * | Value | Meaning |
12
+ * |---|---|
13
+ * | `2` | Direct — adjacency required |
14
+ * | `1` | Indirect — nearby preferred, or physical contact |
15
+ * | `-1` | Restricted — must NOT be adjacent |
16
+ * | `0` | No relationship — or adjacency was never computed |
17
+ *
18
+ * Zeros are ambiguous **by design** (the engine cannot distinguish "no
19
+ * relationship" from "never computed"): call
20
+ * {@linkcode PluginProgramAdjacencyApi.compute} first when you need fresh
21
+ * data. Persisted matrices auto-hydrate on scene load, so warm reads are the
22
+ * common case. The arrange/pack stages of the workflow live in
23
+ * {@linkcode PluginProgramLayoutApi} (`program.layout`).
24
+ *
25
+ * Accessed via `snaptrude.program.adjacency`.
26
+ */
27
+ export declare abstract class PluginProgramAdjacencyApi {
28
+ constructor();
29
+ /**
30
+ * Read the adjacency matrix at the department or space level.
31
+ *
32
+ * Returns a square `matrix` whose rows/columns are aligned to `ids`
33
+ * (component ids). Pass `ids` to read a sub-matrix in that order; omit it to
34
+ * get every eligible element at that level. Cell values:
35
+ *
36
+ * | Value | Meaning |
37
+ * |---|---|
38
+ * | `2` | Direct — adjacency required |
39
+ * | `1` | Indirect — nearby preferred, or physical contact |
40
+ * | `-1` | Restricted — must NOT be adjacent |
41
+ * | `0` | No relationship — or adjacency was never computed |
42
+ *
43
+ * Zeros are ambiguous by design — call
44
+ * {@linkcode PluginProgramAdjacencyApi.compute} first for fresh data
45
+ * (persisted matrices auto-hydrate on scene load, so warm reads are the
46
+ * common case). Space-level relationships are computed within a storey:
47
+ * cross-storey pairs always read `0`. At the `department` level the result
48
+ * also carries `departmentIds`, a parallel array joining each row to the
49
+ * department entity ids returned by `program.departments.list` (the row
50
+ * `ids` are department-mass component ids, not department entity ids).
51
+ *
52
+ * @param level - Read the `"department"` or `"space"` matrix.
53
+ * @param ids - Component ids to read a sub-matrix for, in this order
54
+ * (defaults to every eligible element at the level).
55
+ * @returns A {@linkcode PluginProgramAdjacencyGetMatrixResult} with `ids`,
56
+ * the square `matrix`, and (at department level) `departmentIds`.
57
+ * @throws If an id is unknown or does not match the requested level.
58
+ *
59
+ * @examplePrompt Get the space adjacency matrix
60
+ * @examplePrompt Which departments must be adjacent?
61
+ * @examplePrompt Show the adjacency relationships between departments
62
+ * @examplePrompt Read the adjacency matrix for these spaces
63
+ * @examplePrompt Which rooms are restricted from being next to each other?
64
+ *
65
+ * # Example
66
+ * ```ts
67
+ * const { ids, matrix } = await snaptrude.program.adjacency.getMatrix("department")
68
+ * ```
69
+ */
70
+ abstract getMatrix(level: PluginAdjacencyLevel, ids?: string[]): PluginApiReturn<PluginProgramAdjacencyGetMatrixResult>;
71
+ /**
72
+ * Compute (or refresh) the adjacency data for the project.
73
+ *
74
+ * Runs the AI adjacency precompute and persists the result; a no-op when
75
+ * the stored data is already fresh. A real run takes **~2s at minimum**
76
+ * (engine pacing) plus the AI service round-trip. This is a write (it
77
+ * mutates and persists project analysis data), so it is blocked when plugin
78
+ * writes are disabled.
79
+ *
80
+ * @returns A {@linkcode PluginProgramAdjacencyComputeResult} —
81
+ * `{ success: true }` when the data is fresh or the run completed;
82
+ * `{ success: false, error }` when the AI service could not be reached.
83
+ *
84
+ * @examplePrompt Refresh adjacency analysis
85
+ * @examplePrompt Compute the adjacency matrix for this project
86
+ * @examplePrompt Recalculate which departments should be adjacent
87
+ *
88
+ * # Example
89
+ * ```ts
90
+ * const { success } = await snaptrude.program.adjacency.compute()
91
+ * if (success) {
92
+ * const data = await snaptrude.program.adjacency.getMatrix("space")
93
+ * }
94
+ * ```
95
+ */
96
+ abstract compute(): PluginApiReturn<PluginProgramAdjacencyComputeResult>;
97
+ }
98
+ /**
99
+ * The level an adjacency matrix is read at.
100
+ *
101
+ * | Value | Description |
102
+ * |---|---|
103
+ * | `"department"` | One row/column per department mass |
104
+ * | `"space"` | One row/column per space (within a storey) |
105
+ */
106
+ export declare const PluginAdjacencyLevel: z.ZodEnum<{
107
+ space: "space";
108
+ department: "department";
109
+ }>;
110
+ export type PluginAdjacencyLevel = z.infer<typeof PluginAdjacencyLevel>;
111
+ /**
112
+ * Arguments for {@linkcode PluginProgramAdjacencyApi.getMatrix}.
113
+ *
114
+ * | Property | Type | Description |
115
+ * |---|---|---|
116
+ * | `level` | {@linkcode PluginAdjacencyLevel} | Read the `"department"` or `"space"` matrix |
117
+ * | `ids` | `string[] \| undefined` | Component ids to read a sub-matrix for, in this order (defaults to every eligible element at the level) |
118
+ */
119
+ export declare const PluginProgramAdjacencyGetMatrixArgs: z.ZodObject<{
120
+ level: z.ZodEnum<{
121
+ space: "space";
122
+ department: "department";
123
+ }>;
124
+ ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
125
+ }, z.core.$strip>;
126
+ export type PluginProgramAdjacencyGetMatrixArgs = z.infer<typeof PluginProgramAdjacencyGetMatrixArgs>;
127
+ /**
128
+ * Result of {@linkcode PluginProgramAdjacencyApi.getMatrix}.
129
+ *
130
+ * | Property | Type | Description |
131
+ * |---|---|---|
132
+ * | `ids` | `string[]` | Component ids, in matrix row/column order |
133
+ * | `departmentIds` | `(string \| null)[] \| undefined` | Department level only: parallel to `ids`, the department entity id each row belongs to (joinable against `program.departments.list`), `null` when unassigned |
134
+ * | `matrix` | `number[][]` | Square matrix aligned to `ids`; values in `{-1, 0, 1, 2}` |
135
+ */
136
+ export declare const PluginProgramAdjacencyGetMatrixResult: z.ZodObject<{
137
+ ids: z.ZodArray<z.ZodString>;
138
+ departmentIds: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodString>>>;
139
+ matrix: z.ZodArray<z.ZodArray<z.ZodNumber>>;
140
+ }, z.core.$strip>;
141
+ export type PluginProgramAdjacencyGetMatrixResult = z.infer<typeof PluginProgramAdjacencyGetMatrixResult>;
142
+ /**
143
+ * Result of {@linkcode PluginProgramAdjacencyApi.compute}.
144
+ *
145
+ * | Property | Type | Description |
146
+ * |---|---|---|
147
+ * | `success` | `boolean` | `true` when the data is fresh or the run completed |
148
+ * | `error` | `string \| undefined` | Failure reason when `success` is `false` |
149
+ */
150
+ export declare const PluginProgramAdjacencyComputeResult: z.ZodObject<{
151
+ success: z.ZodBoolean;
152
+ error: z.ZodOptional<z.ZodString>;
153
+ }, z.core.$strip>;
154
+ export type PluginProgramAdjacencyComputeResult = z.infer<typeof PluginProgramAdjacencyComputeResult>;
155
+ //# sourceMappingURL=adjacency.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adjacency.d.ts","sourceRoot":"","sources":["../../../src/api/program/adjacency.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,8BAAsB,yBAAyB;;IAG7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;aACa,SAAS,CACvB,KAAK,EAAE,oBAAoB,EAC3B,GAAG,CAAC,EAAE,MAAM,EAAE,GACb,eAAe,CAAC,qCAAqC,CAAC;IAEzD;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;aACa,OAAO,IAAI,eAAe,CAAC,mCAAmC,CAAC;CAChF;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB;;;EAAkC,CAAA;AACnE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEvE;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC;;;;;;iBAG9C,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,qCAAqC;;;;iBAIhD,CAAA;AACF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,qCAAqC,CAC7C,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC;;;iBAG9C,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAA"}
@@ -0,0 +1,450 @@
1
+ import * as z from "zod";
2
+ import { PluginApiReturn } from "../../types";
3
+ import { ComponentHandle } from "../../handles";
4
+ /**
5
+ * Program areas — the FAR / built-up-area rollup for the active program.
6
+ *
7
+ * This is the zoning-compliance lens on the model: carpet / built-up / excluded
8
+ * area totals, the site area, and the achieved-vs-target **FAR** (Floor Area
9
+ * Ratio). It complements {@linkcode PluginProgramMetricsApi}, which is the
10
+ * department-allocation lens (targets vs allocated area per department); this
11
+ * namespace is the whole-program area/FAR summary and its groupings.
12
+ *
13
+ * **Net vs gross:** the `carpet` / `builtUp` / `excluded` figures are the three
14
+ * area *classes* — every space's whole footprint lands in exactly one, chosen
15
+ * by its `areaClass` (see {@linkcode PluginProgramAreaMember.areaClass}). In UI
16
+ * terms `carpet` is the **Net Internal Area** (Σ of `NET`-classed spaces), and
17
+ * `builtUp` is the **Gross External Area** (Σ of `GROSS`-classed spaces) — so
18
+ * "net" and "gross" are the plain-English synonyms for `carpet` and `builtUp`.
19
+ * These are not wall-thickness carpet-vs-super-built-up; there is no common-area
20
+ * math. Note the summary also folds in non-mass elements (floors count as NET,
21
+ * slabs as GROSS), so **summing `listMembers` spaces does not reconcile to the
22
+ * summary totals**.
23
+ *
24
+ * `achievedFar` is **derived and read-only** — computed from built-up area and
25
+ * site area. `targetFar` is the goal you set (via {@linkcode
26
+ * PluginProgramAreasApi.update}); the two are the same ratio, one measured and
27
+ * one intended. The surface speaks **FAR only** — there is no FSI alias.
28
+ *
29
+ * Reads return plain records and never throw. Because the engine only recomputes
30
+ * the breakdown live while the Area sidebar is open, a headless plugin should call
31
+ * {@linkcode PluginProgramAreasApi.refresh} first to guarantee the reads are fresh.
32
+ * The only write — {@linkcode PluginProgramAreasApi.update} — is a non-undoable
33
+ * settings write for the FAR inputs. With an active design option (proposal),
34
+ * those inputs are per-option: `update` writes and the reads report the active
35
+ * option's own target FAR / site area / deviation, matching the product's Area
36
+ * settings dialog.
37
+ *
38
+ * Accessed via `snaptrude.program.areas`.
39
+ */
40
+ export declare abstract class PluginProgramAreasApi {
41
+ constructor();
42
+ /**
43
+ * Get the program area summary.
44
+ *
45
+ * Returns the whole-program totals — carpet / built-up / excluded area, site
46
+ * area, and achieved vs target FAR — with the area unit they are reported in.
47
+ *
48
+ * @returns A {@linkcode PluginProgramAreaSummary}. `achievedFar` is `null` when
49
+ * the site area or target FAR is not set.
50
+ *
51
+ * @examplePrompt What's my FAR right now?
52
+ * @examplePrompt Give me the program area summary
53
+ * @examplePrompt What is my net internal area vs gross external area?
54
+ * @examplePrompt How much net and gross area do I have?
55
+ * @examplePrompt How much built-up area have I used against the site area?
56
+ * @examplePrompt Am I within my FAR target?
57
+ *
58
+ * # Example
59
+ * ```ts
60
+ * const s = await snaptrude.program.areas.get()
61
+ * console.log(s.builtUp, s.siteArea, s.achievedFar, s.targetFar, s.areaUnit)
62
+ * ```
63
+ */
64
+ abstract get(): PluginApiReturn<PluginProgramAreasGetResult>;
65
+ /**
66
+ * List the program area rollup grouped by a facet.
67
+ *
68
+ * Breaks the program's area totals into buckets — by label, storey, building,
69
+ * department, or tag category.
70
+ *
71
+ * @param groupBy - The facet to group by (a {@linkcode PluginProgramAreaGroupBy}).
72
+ * @param categoryId - The tag category to group by (required when `groupBy` is
73
+ * `"tagCategories"`).
74
+ * @returns A {@linkcode PluginProgramAreasListResult} with a `groups` array
75
+ * (empty when the program has no spaces).
76
+ *
77
+ * @examplePrompt Break down the area by storey
78
+ * @examplePrompt Break down net vs gross area by storey
79
+ * @examplePrompt Show the area rollup per department
80
+ * @examplePrompt Group the built-up area by building
81
+ *
82
+ * # Example
83
+ * ```ts
84
+ * const { groups } = await snaptrude.program.areas.list("storeys")
85
+ * for (const g of groups) console.log(g.name, g.builtUp, g.count)
86
+ * ```
87
+ */
88
+ abstract list(groupBy: PluginProgramAreaGroupBy, categoryId?: string): PluginApiReturn<PluginProgramAreasListResult>;
89
+ /**
90
+ * List the spaces that make up one area group.
91
+ *
92
+ * Drills into a single bucket returned by {@linkcode
93
+ * PluginProgramAreasApi.list} and returns its member spaces with their per-space
94
+ * area figures.
95
+ *
96
+ * @param groupBy - The same facet used to produce the group (a {@linkcode
97
+ * PluginProgramAreaGroupBy}).
98
+ * @param groupId - The id of the group to expand.
99
+ * @param categoryId - The tag category context (required when `groupBy` is
100
+ * `"tagCategories"`).
101
+ * @returns A {@linkcode PluginProgramAreasListMembersResult} with a `members`
102
+ * array (empty when the group is missing or empty).
103
+ *
104
+ * @examplePrompt List the spaces on this storey with their areas
105
+ * @examplePrompt Which spaces are net and which are gross on this storey?
106
+ * @examplePrompt What rooms are in the Bedrooms department bucket?
107
+ * @examplePrompt Break the storey area down into individual spaces
108
+ *
109
+ * # Example
110
+ * ```ts
111
+ * const { members } = await snaptrude.program.areas.listMembers("storeys", "st_2")
112
+ * for (const m of members) console.log(m.label, m.carpet)
113
+ * ```
114
+ */
115
+ abstract listMembers(groupBy: PluginProgramAreaGroupBy, groupId: string, categoryId?: string): PluginApiReturn<PluginProgramAreasListMembersResult>;
116
+ /**
117
+ * Update the program's FAR settings.
118
+ *
119
+ * A **sparse** update of the program-level FAR inputs — target FAR, the site
120
+ * area, and the allowed deviation. This is a **non-undoable settings write**
121
+ * (persisted with the project). `achievedFar` recomputes from these.
122
+ *
123
+ * **Design options:** when a design option (proposal) is active, the FAR
124
+ * inputs are **scoped to that design option** — exactly like the product's
125
+ * Area settings dialog. `update` writes the active option's settings (each
126
+ * option keeps its own target FAR / site area / deviation) and the reads
127
+ * ({@linkcode PluginProgramAreasApi.get} etc.) report that same scope.
128
+ * Without design options there is a single project-wide set of FAR inputs.
129
+ *
130
+ * @param options - Any of `targetFar`, `siteArea`, `deviation`; omitted fields
131
+ * are left unchanged.
132
+ * @returns The recomputed {@linkcode PluginProgramAreaSummary}.
133
+ * @throws If a value is out of range.
134
+ *
135
+ * @examplePrompt Set the target FAR to 2.5
136
+ * @examplePrompt Override the site area to 5000
137
+ * @examplePrompt Allow a 10 percent FAR deviation
138
+ *
139
+ * # Example
140
+ * ```ts
141
+ * const s = await snaptrude.program.areas.update({ targetFar: 2.5 })
142
+ * console.log(s.achievedFar, s.targetFar)
143
+ * ```
144
+ */
145
+ abstract update(options?: {
146
+ targetFar?: number;
147
+ siteArea?: number;
148
+ deviation?: number;
149
+ }): PluginApiReturn<PluginProgramAreasUpdateResult>;
150
+ /**
151
+ * Force the area breakdown to recompute, then return the fresh summary.
152
+ *
153
+ * The engine recomputes the carpet / built-up / FAR totals live **only while the
154
+ * Area sidebar is open**. A plugin running with the sidebar closed can therefore
155
+ * read a stale — or never-computed — snapshot from {@linkcode
156
+ * PluginProgramAreasApi.get} / {@linkcode PluginProgramAreasApi.list}. Call
157
+ * `refresh` first to guarantee those reads reflect the current model. It is a
158
+ * read (no write gate) — it recomputes derived totals, it does not change the model.
159
+ *
160
+ * **Cost:** a full pass over every space, floor and mass in the active structure.
161
+ * Not free on large models — call it once before a batch of reads, not per read.
162
+ *
163
+ * @returns The freshly-recomputed {@linkcode PluginProgramAreaSummary}.
164
+ *
165
+ * @examplePrompt Recompute the area totals before I read them
166
+ * @examplePrompt Refresh the FAR numbers
167
+ * @examplePrompt Make sure the area breakdown is up to date
168
+ *
169
+ * # Example
170
+ * ```ts
171
+ * const s = await snaptrude.program.areas.refresh()
172
+ * const { groups } = await snaptrude.program.areas.list("storeys") // now fresh
173
+ * console.log(s.builtUp, groups.length)
174
+ * ```
175
+ */
176
+ abstract refresh(): PluginApiReturn<PluginProgramAreasRefreshResult>;
177
+ }
178
+ /**
179
+ * The whole-program area / FAR summary. All area figures are in `areaUnit`;
180
+ * ratios (`achievedFar`, `targetFar`, `deviation`) are unitless.
181
+ *
182
+ * | Property | Type | Description |
183
+ * |---|---|---|
184
+ * | `count` | `number` | Number of spaces in the program (a count, not an area) |
185
+ * | `hiddenCount` | `number` | Number of those spaces that are currently hidden |
186
+ * | `carpet` | `number` | Total **Net Internal Area** ("net") — Σ `NET`-classed spaces + floors — in `areaUnit` |
187
+ * | `builtUp` | `number` | Total **Gross External Area** ("gross") — Σ `GROSS`-classed spaces + slabs — in `areaUnit` |
188
+ * | `excluded` | `number` | Total **Excluded Area** — Σ `EXCLUDED`-classed spaces — in `areaUnit` |
189
+ * | `farBuiltUp` | `number` | Built-up area that counts toward FAR, in `areaUnit` |
190
+ * | `siteArea` | `number` | Site/plot area in `areaUnit` |
191
+ * | `achievedFar` | `number \| null` | Derived FAR (`farBuiltUp / siteArea`); `null` when site area or target FAR is unset |
192
+ * | `targetFar` | `number` | The target FAR goal (set via `update`) |
193
+ * | `deviation` | `number` | Allowed FAR deviation, as a percentage |
194
+ * | `areaUnit` | `"ft2" \| "m2"` | The unit every area figure above is reported in |
195
+ */
196
+ export declare const PluginProgramAreaSummary: z.ZodObject<{
197
+ count: z.ZodNumber;
198
+ hiddenCount: z.ZodNumber;
199
+ carpet: z.ZodNumber;
200
+ builtUp: z.ZodNumber;
201
+ excluded: z.ZodNumber;
202
+ farBuiltUp: z.ZodNumber;
203
+ siteArea: z.ZodNumber;
204
+ achievedFar: z.ZodNullable<z.ZodNumber>;
205
+ targetFar: z.ZodNumber;
206
+ deviation: z.ZodNumber;
207
+ areaUnit: z.ZodEnum<{
208
+ ft2: "ft2";
209
+ m2: "m2";
210
+ }>;
211
+ }, z.core.$strip>;
212
+ export type PluginProgramAreaSummary = z.infer<typeof PluginProgramAreaSummary>;
213
+ /**
214
+ * One bucket of the area rollup. Carpet / built-up / excluded figures are in the
215
+ * program's area unit (see {@linkcode PluginProgramAreaSummary.areaUnit});
216
+ * `targetArea` is in `targetUnit`.
217
+ *
218
+ * | Property | Type | Description |
219
+ * |---|---|---|
220
+ * | `groupId` | `string` | Stable id of the group (e.g. storey id, department id) |
221
+ * | `name` | `string` | Display name of the group |
222
+ * | `color` | `string` | CSS hex color string for the group |
223
+ * | `carpet` | `number` | Net Internal Area ("net") for this group |
224
+ * | `builtUp` | `number` | Gross External Area ("gross") for this group |
225
+ * | `excluded` | `number` | Excluded area for this group |
226
+ * | `count` | `number` | Number of spaces in this group |
227
+ * | `targetArea` | `number` | Target area for this group, in `targetUnit` |
228
+ * | `targetUnit` | `"ft2" \| "m2"` | The unit `targetArea` is reported in |
229
+ */
230
+ export declare const PluginProgramAreaGroup: z.ZodObject<{
231
+ groupId: z.ZodString;
232
+ name: z.ZodString;
233
+ color: z.ZodString;
234
+ carpet: z.ZodNumber;
235
+ builtUp: z.ZodNumber;
236
+ excluded: z.ZodNumber;
237
+ count: z.ZodNumber;
238
+ targetArea: z.ZodNumber;
239
+ targetUnit: z.ZodEnum<{
240
+ ft2: "ft2";
241
+ m2: "m2";
242
+ }>;
243
+ }, z.core.$strip>;
244
+ export type PluginProgramAreaGroup = z.infer<typeof PluginProgramAreaGroup>;
245
+ /**
246
+ * A single space within an area group. Area figures are in the program's area
247
+ * unit (see {@linkcode PluginProgramAreaSummary.areaUnit}).
248
+ *
249
+ * `areaClass` is the space's effective classification — it decides which of the
250
+ * three buckets the space's whole footprint lands in: `NET` → `carpet` ("net"),
251
+ * `GROSS` → `builtUp` ("gross"), `EXCLUDED` → `excluded`. So for any one member
252
+ * exactly one of `carpet` / `builtUp` / `excluded` is non-zero.
253
+ *
254
+ * | Property | Type | Description |
255
+ * |---|---|---|
256
+ * | `id` | `ComponentHandle` | `Component.id` of the space (never a mesh handle) |
257
+ * | `label` | `string` | Display label of the space |
258
+ * | `areaClass` | {@linkcode PluginAreaClass} | Effective area class — `"NET"` (→ `carpet`), `"GROSS"` (→ `builtUp`), or `"EXCLUDED"` |
259
+ * | `carpet` | `number` | Net area of the space (non-zero when `areaClass` is `"NET"`) |
260
+ * | `builtUp` | `number` | Gross area of the space (non-zero when `areaClass` is `"GROSS"`) |
261
+ * | `excluded` | `number` | Excluded area of the space (non-zero when `areaClass` is `"EXCLUDED"`) |
262
+ * | `isVisible` | `boolean` | Whether the space is currently visible |
263
+ */
264
+ export declare const PluginProgramAreaMember: z.ZodObject<{
265
+ id: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
266
+ label: z.ZodString;
267
+ areaClass: z.ZodEnum<{
268
+ NET: "NET";
269
+ GROSS: "GROSS";
270
+ EXCLUDED: "EXCLUDED";
271
+ }>;
272
+ carpet: z.ZodNumber;
273
+ builtUp: z.ZodNumber;
274
+ excluded: z.ZodNumber;
275
+ isVisible: z.ZodBoolean;
276
+ }, z.core.$strip>;
277
+ export type PluginProgramAreaMember = z.infer<typeof PluginProgramAreaMember>;
278
+ /** The facet to group the area rollup by. */
279
+ export declare const PluginProgramAreaGroupBy: z.ZodEnum<{
280
+ buildings: "buildings";
281
+ storeys: "storeys";
282
+ departments: "departments";
283
+ labels: "labels";
284
+ tagCategories: "tagCategories";
285
+ }>;
286
+ export type PluginProgramAreaGroupBy = z.infer<typeof PluginProgramAreaGroupBy>;
287
+ /** Result of {@linkcode PluginProgramAreasApi.get} — the program area summary. */
288
+ export declare const PluginProgramAreasGetResult: z.ZodObject<{
289
+ count: z.ZodNumber;
290
+ hiddenCount: z.ZodNumber;
291
+ carpet: z.ZodNumber;
292
+ builtUp: z.ZodNumber;
293
+ excluded: z.ZodNumber;
294
+ farBuiltUp: z.ZodNumber;
295
+ siteArea: z.ZodNumber;
296
+ achievedFar: z.ZodNullable<z.ZodNumber>;
297
+ targetFar: z.ZodNumber;
298
+ deviation: z.ZodNumber;
299
+ areaUnit: z.ZodEnum<{
300
+ ft2: "ft2";
301
+ m2: "m2";
302
+ }>;
303
+ }, z.core.$strip>;
304
+ export type PluginProgramAreasGetResult = z.infer<typeof PluginProgramAreasGetResult>;
305
+ /**
306
+ * Arguments for {@linkcode PluginProgramAreasApi.list}.
307
+ *
308
+ * | Property | Type | Description |
309
+ * |---|---|---|
310
+ * | `groupBy` | {@linkcode PluginProgramAreaGroupBy} | The facet to group by |
311
+ * | `categoryId` | `string \| undefined` | Tag category to group by; required when `groupBy` is `"tagCategories"` |
312
+ */
313
+ export declare const PluginProgramAreasListArgs: z.ZodObject<{
314
+ groupBy: z.ZodEnum<{
315
+ buildings: "buildings";
316
+ storeys: "storeys";
317
+ departments: "departments";
318
+ labels: "labels";
319
+ tagCategories: "tagCategories";
320
+ }>;
321
+ categoryId: z.ZodOptional<z.ZodString>;
322
+ }, z.core.$strip>;
323
+ export type PluginProgramAreasListArgs = z.infer<typeof PluginProgramAreasListArgs>;
324
+ /**
325
+ * Result of {@linkcode PluginProgramAreasApi.list}.
326
+ *
327
+ * | Property | Type | Description |
328
+ * |---|---|---|
329
+ * | `groups` | {@linkcode PluginProgramAreaGroup}`[]` | The area buckets (empty when the program has no spaces) |
330
+ */
331
+ export declare const PluginProgramAreasListResult: z.ZodObject<{
332
+ groups: z.ZodArray<z.ZodObject<{
333
+ groupId: z.ZodString;
334
+ name: z.ZodString;
335
+ color: z.ZodString;
336
+ carpet: z.ZodNumber;
337
+ builtUp: z.ZodNumber;
338
+ excluded: z.ZodNumber;
339
+ count: z.ZodNumber;
340
+ targetArea: z.ZodNumber;
341
+ targetUnit: z.ZodEnum<{
342
+ ft2: "ft2";
343
+ m2: "m2";
344
+ }>;
345
+ }, z.core.$strip>>;
346
+ }, z.core.$strip>;
347
+ export type PluginProgramAreasListResult = z.infer<typeof PluginProgramAreasListResult>;
348
+ /**
349
+ * Arguments for {@linkcode PluginProgramAreasApi.listMembers}.
350
+ *
351
+ * | Property | Type | Description |
352
+ * |---|---|---|
353
+ * | `groupBy` | {@linkcode PluginProgramAreaGroupBy} | The facet the group came from |
354
+ * | `groupId` | `string` | The id of the group to expand |
355
+ * | `categoryId` | `string \| undefined` | Tag category context; required when `groupBy` is `"tagCategories"` |
356
+ */
357
+ export declare const PluginProgramAreasListMembersArgs: z.ZodObject<{
358
+ groupBy: z.ZodEnum<{
359
+ buildings: "buildings";
360
+ storeys: "storeys";
361
+ departments: "departments";
362
+ labels: "labels";
363
+ tagCategories: "tagCategories";
364
+ }>;
365
+ groupId: z.ZodString;
366
+ categoryId: z.ZodOptional<z.ZodString>;
367
+ }, z.core.$strip>;
368
+ export type PluginProgramAreasListMembersArgs = z.infer<typeof PluginProgramAreasListMembersArgs>;
369
+ /**
370
+ * Result of {@linkcode PluginProgramAreasApi.listMembers}.
371
+ *
372
+ * | Property | Type | Description |
373
+ * |---|---|---|
374
+ * | `members` | {@linkcode PluginProgramAreaMember}`[]` | The group's member spaces (empty when missing or empty) |
375
+ */
376
+ export declare const PluginProgramAreasListMembersResult: z.ZodObject<{
377
+ members: z.ZodArray<z.ZodObject<{
378
+ id: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
379
+ label: z.ZodString;
380
+ areaClass: z.ZodEnum<{
381
+ NET: "NET";
382
+ GROSS: "GROSS";
383
+ EXCLUDED: "EXCLUDED";
384
+ }>;
385
+ carpet: z.ZodNumber;
386
+ builtUp: z.ZodNumber;
387
+ excluded: z.ZodNumber;
388
+ isVisible: z.ZodBoolean;
389
+ }, z.core.$strip>>;
390
+ }, z.core.$strip>;
391
+ export type PluginProgramAreasListMembersResult = z.infer<typeof PluginProgramAreasListMembersResult>;
392
+ /**
393
+ * Arguments for {@linkcode PluginProgramAreasApi.update}. Sparse — only the
394
+ * provided fields are changed.
395
+ *
396
+ * | Property | Type | Description |
397
+ * |---|---|---|
398
+ * | `targetFar` | `number \| undefined` | New target FAR (≥ 0) |
399
+ * | `siteArea` | `number \| undefined` | Site-area override (> 0), in the program's area unit |
400
+ * | `deviation` | `number \| undefined` | Allowed FAR deviation percentage (0–100) |
401
+ */
402
+ export declare const PluginProgramAreasUpdateArgs: z.ZodObject<{
403
+ targetFar: z.ZodOptional<z.ZodNumber>;
404
+ siteArea: z.ZodOptional<z.ZodNumber>;
405
+ deviation: z.ZodOptional<z.ZodNumber>;
406
+ }, z.core.$strip>;
407
+ export type PluginProgramAreasUpdateArgs = z.infer<typeof PluginProgramAreasUpdateArgs>;
408
+ /**
409
+ * Result of {@linkcode PluginProgramAreasApi.update} — the recomputed program
410
+ * area summary.
411
+ */
412
+ export declare const PluginProgramAreasUpdateResult: z.ZodObject<{
413
+ count: z.ZodNumber;
414
+ hiddenCount: z.ZodNumber;
415
+ carpet: z.ZodNumber;
416
+ builtUp: z.ZodNumber;
417
+ excluded: z.ZodNumber;
418
+ farBuiltUp: z.ZodNumber;
419
+ siteArea: z.ZodNumber;
420
+ achievedFar: z.ZodNullable<z.ZodNumber>;
421
+ targetFar: z.ZodNumber;
422
+ deviation: z.ZodNumber;
423
+ areaUnit: z.ZodEnum<{
424
+ ft2: "ft2";
425
+ m2: "m2";
426
+ }>;
427
+ }, z.core.$strip>;
428
+ export type PluginProgramAreasUpdateResult = z.infer<typeof PluginProgramAreasUpdateResult>;
429
+ /**
430
+ * Result of {@linkcode PluginProgramAreasApi.refresh} — the freshly-recomputed
431
+ * program area summary.
432
+ */
433
+ export declare const PluginProgramAreasRefreshResult: z.ZodObject<{
434
+ count: z.ZodNumber;
435
+ hiddenCount: z.ZodNumber;
436
+ carpet: z.ZodNumber;
437
+ builtUp: z.ZodNumber;
438
+ excluded: z.ZodNumber;
439
+ farBuiltUp: z.ZodNumber;
440
+ siteArea: z.ZodNumber;
441
+ achievedFar: z.ZodNullable<z.ZodNumber>;
442
+ targetFar: z.ZodNumber;
443
+ deviation: z.ZodNumber;
444
+ areaUnit: z.ZodEnum<{
445
+ ft2: "ft2";
446
+ m2: "m2";
447
+ }>;
448
+ }, z.core.$strip>;
449
+ export type PluginProgramAreasRefreshResult = z.infer<typeof PluginProgramAreasRefreshResult>;
450
+ //# sourceMappingURL=areas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"areas.d.ts","sourceRoot":"","sources":["../../../src/api/program/areas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAG7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,8BAAsB,qBAAqB;;IAGzC;;;;;;;;;;;;;;;;;;;;;OAqBG;aACa,GAAG,IAAI,eAAe,CAAC,2BAA2B,CAAC;IAEnE;;;;;;;;;;;;;;;;;;;;;;OAsBG;aACa,IAAI,CAClB,OAAO,EAAE,wBAAwB,EACjC,UAAU,CAAC,EAAE,MAAM,GAClB,eAAe,CAAC,4BAA4B,CAAC;IAEhD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;aACa,WAAW,CACzB,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,MAAM,EACf,UAAU,CAAC,EAAE,MAAM,GAClB,eAAe,CAAC,mCAAmC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