@snaptrude/plugin-core 0.0.0-dev-20260708130115 → 0.0.0-dev-20260827135706

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 (261) hide show
  1. package/CHANGELOG.md +152 -1
  2. package/api-manifest.json +3620 -276
  3. package/dist/api/analysis/daylight.d.ts +603 -0
  4. package/dist/api/analysis/daylight.d.ts.map +1 -0
  5. package/dist/api/analysis/heatmaps.d.ts +658 -0
  6. package/dist/api/analysis/heatmaps.d.ts.map +1 -0
  7. package/dist/api/analysis/illuminance.d.ts +145 -0
  8. package/dist/api/analysis/illuminance.d.ts.map +1 -0
  9. package/dist/api/analysis/index.d.ts +59 -0
  10. package/dist/api/analysis/index.d.ts.map +1 -0
  11. package/dist/api/analysis/shadows.d.ts +165 -0
  12. package/dist/api/analysis/shadows.d.ts.map +1 -0
  13. package/dist/api/analysis/solar.d.ts +249 -0
  14. package/dist/api/analysis/solar.d.ts.map +1 -0
  15. package/dist/api/analysis/sunlightHours.d.ts +208 -0
  16. package/dist/api/analysis/sunlightHours.d.ts.map +1 -0
  17. package/dist/api/analysis/sunpath.d.ts +80 -0
  18. package/dist/api/analysis/sunpath.d.ts.map +1 -0
  19. package/dist/api/analysis/weather.d.ts +193 -0
  20. package/dist/api/analysis/weather.d.ts.map +1 -0
  21. package/dist/api/core/camera/index.d.ts +261 -0
  22. package/dist/api/core/camera/index.d.ts.map +1 -0
  23. package/dist/api/core/comment/index.d.ts +105 -2
  24. package/dist/api/core/comment/index.d.ts.map +1 -1
  25. package/dist/api/core/geom/create/index.d.ts +840 -14
  26. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  27. package/dist/api/core/geom/delete/index.d.ts +8 -2
  28. package/dist/api/core/geom/delete/index.d.ts.map +1 -1
  29. package/dist/api/core/geom/query/arc.d.ts +5 -5
  30. package/dist/api/core/geom/query/brep.d.ts +130 -18
  31. package/dist/api/core/geom/query/brep.d.ts.map +1 -1
  32. package/dist/api/core/geom/query/circle.d.ts +18 -18
  33. package/dist/api/core/geom/query/contour.d.ts +20 -20
  34. package/dist/api/core/geom/query/curve.d.ts +49 -49
  35. package/dist/api/core/geom/query/edge.d.ts +5 -5
  36. package/dist/api/core/geom/query/face.d.ts +16 -16
  37. package/dist/api/core/geom/query/halfedge.d.ts +8 -8
  38. package/dist/api/core/geom/query/profile.d.ts +19 -19
  39. package/dist/api/core/geom/query/vertex.d.ts +8 -8
  40. package/dist/api/core/geom/update/contour.d.ts +14 -14
  41. package/dist/api/core/geom/update/curve.d.ts +7 -7
  42. package/dist/api/core/geom/update/profile.d.ts +16 -16
  43. package/dist/api/core/handles/index.d.ts +210 -0
  44. package/dist/api/core/handles/index.d.ts.map +1 -0
  45. package/dist/api/core/index.d.ts +34 -0
  46. package/dist/api/core/index.d.ts.map +1 -1
  47. package/dist/api/core/io/export/index.d.ts +134 -0
  48. package/dist/api/core/io/export/index.d.ts.map +1 -0
  49. package/dist/api/core/io/import/index.d.ts +453 -0
  50. package/dist/api/core/io/import/index.d.ts.map +1 -0
  51. package/dist/api/core/io/index.d.ts +40 -0
  52. package/dist/api/core/io/index.d.ts.map +1 -0
  53. package/dist/api/core/io/job/index.d.ts +139 -0
  54. package/dist/api/core/io/job/index.d.ts.map +1 -0
  55. package/dist/api/core/io/query/index.d.ts +74 -0
  56. package/dist/api/core/io/query/index.d.ts.map +1 -0
  57. package/dist/api/core/io/terrain/index.d.ts +341 -0
  58. package/dist/api/core/io/terrain/index.d.ts.map +1 -0
  59. package/dist/api/core/io/underlay/index.d.ts +805 -0
  60. package/dist/api/core/io/underlay/index.d.ts.map +1 -0
  61. package/dist/api/core/layers.d.ts +7 -7
  62. package/dist/api/core/mode/index.d.ts +99 -0
  63. package/dist/api/core/mode/index.d.ts.map +1 -0
  64. package/dist/api/core/project/index.d.ts +68 -1
  65. package/dist/api/core/project/index.d.ts.map +1 -1
  66. package/dist/api/core/proposals/index.d.ts +531 -0
  67. package/dist/api/core/proposals/index.d.ts.map +1 -0
  68. package/dist/api/core/storeys/index.d.ts +265 -0
  69. package/dist/api/core/storeys/index.d.ts.map +1 -0
  70. package/dist/api/core/tags.d.ts +24 -0
  71. package/dist/api/core/tags.d.ts.map +1 -1
  72. package/dist/api/core/user.d.ts +44 -0
  73. package/dist/api/core/user.d.ts.map +1 -0
  74. package/dist/api/core/zoom/index.d.ts +4 -0
  75. package/dist/api/core/zoom/index.d.ts.map +1 -1
  76. package/dist/api/design/boolean/index.d.ts +4 -4
  77. package/dist/api/design/create/index.d.ts +568 -45
  78. package/dist/api/design/create/index.d.ts.map +1 -1
  79. package/dist/api/design/delete/index.d.ts +3 -0
  80. package/dist/api/design/delete/index.d.ts.map +1 -1
  81. package/dist/api/design/doors/index.d.ts +195 -0
  82. package/dist/api/design/doors/index.d.ts.map +1 -1
  83. package/dist/api/design/edit/index.d.ts +1 -1
  84. package/dist/api/design/erase/index.d.ts +2 -2
  85. package/dist/api/design/family.d.ts +349 -0
  86. package/dist/api/design/family.d.ts.map +1 -0
  87. package/dist/api/design/furniture/index.d.ts +181 -8
  88. package/dist/api/design/furniture/index.d.ts.map +1 -1
  89. package/dist/api/design/index.d.ts +98 -0
  90. package/dist/api/design/index.d.ts.map +1 -1
  91. package/dist/api/design/lock.d.ts +26 -0
  92. package/dist/api/design/lock.d.ts.map +1 -1
  93. package/dist/api/design/materials/index.d.ts +270 -16
  94. package/dist/api/design/materials/index.d.ts.map +1 -1
  95. package/dist/api/design/query/geometry/index.d.ts +112 -0
  96. package/dist/api/design/query/geometry/index.d.ts.map +1 -1
  97. package/dist/api/design/query/index.d.ts +282 -11
  98. package/dist/api/design/query/index.d.ts.map +1 -1
  99. package/dist/api/design/query/referenceLines.d.ts +45 -0
  100. package/dist/api/design/query/referenceLines.d.ts.map +1 -0
  101. package/dist/api/design/query/spaces.d.ts +181 -8
  102. package/dist/api/design/query/spaces.d.ts.map +1 -1
  103. package/dist/api/design/selection/index.d.ts +144 -0
  104. package/dist/api/design/selection/index.d.ts.map +1 -1
  105. package/dist/api/design/transform/index.d.ts +172 -10
  106. package/dist/api/design/transform/index.d.ts.map +1 -1
  107. package/dist/api/design/types/index.d.ts +181 -0
  108. package/dist/api/design/types/index.d.ts.map +1 -0
  109. package/dist/api/design/update/index.d.ts +553 -2
  110. package/dist/api/design/update/index.d.ts.map +1 -1
  111. package/dist/api/design/visibility.d.ts +126 -0
  112. package/dist/api/design/visibility.d.ts.map +1 -0
  113. package/dist/api/design/windows/index.d.ts +113 -2
  114. package/dist/api/design/windows/index.d.ts.map +1 -1
  115. package/dist/api/entity/buildableEnvelope.d.ts +4 -0
  116. package/dist/api/entity/buildableEnvelope.d.ts.map +1 -1
  117. package/dist/api/entity/referenceLine.d.ts +10 -2
  118. package/dist/api/entity/referenceLine.d.ts.map +1 -1
  119. package/dist/api/entity/space.d.ts +21 -21
  120. package/dist/api/entity/story.d.ts +242 -15
  121. package/dist/api/entity/story.d.ts.map +1 -1
  122. package/dist/api/index.d.ts +10 -0
  123. package/dist/api/index.d.ts.map +1 -1
  124. package/dist/api/presentation/aiInspiration.d.ts +25 -25
  125. package/dist/api/presentation/annotate.d.ts +467 -0
  126. package/dist/api/presentation/annotate.d.ts.map +1 -0
  127. package/dist/api/presentation/diagrams.d.ts +111 -8
  128. package/dist/api/presentation/diagrams.d.ts.map +1 -1
  129. package/dist/api/presentation/export.d.ts +108 -0
  130. package/dist/api/presentation/export.d.ts.map +1 -0
  131. package/dist/api/presentation/import.d.ts +55 -4
  132. package/dist/api/presentation/import.d.ts.map +1 -1
  133. package/dist/api/presentation/index.d.ts +58 -1
  134. package/dist/api/presentation/index.d.ts.map +1 -1
  135. package/dist/api/presentation/placedViews.d.ts +1139 -0
  136. package/dist/api/presentation/placedViews.d.ts.map +1 -0
  137. package/dist/api/presentation/shapes.d.ts +481 -0
  138. package/dist/api/presentation/shapes.d.ts.map +1 -0
  139. package/dist/api/presentation/sheets.d.ts +452 -13
  140. package/dist/api/presentation/sheets.d.ts.map +1 -1
  141. package/dist/api/presentation/slideshow.d.ts +125 -0
  142. package/dist/api/presentation/slideshow.d.ts.map +1 -0
  143. package/dist/api/presentation/tables.d.ts +81 -0
  144. package/dist/api/presentation/tables.d.ts.map +1 -0
  145. package/dist/api/presentation/views.d.ts +367 -7
  146. package/dist/api/presentation/views.d.ts.map +1 -1
  147. package/dist/api/program/areas.d.ts +102 -12
  148. package/dist/api/program/areas.d.ts.map +1 -1
  149. package/dist/api/program/cores.d.ts +3 -99
  150. package/dist/api/program/cores.d.ts.map +1 -1
  151. package/dist/api/program/index.d.ts +7 -15
  152. package/dist/api/program/index.d.ts.map +1 -1
  153. package/dist/api/program/layout.d.ts +346 -11
  154. package/dist/api/program/layout.d.ts.map +1 -1
  155. package/dist/api/program/site.d.ts +469 -13
  156. package/dist/api/program/site.d.ts.map +1 -1
  157. package/dist/api/program/spreadsheet.d.ts +365 -41
  158. package/dist/api/program/spreadsheet.d.ts.map +1 -1
  159. package/dist/api/workspace/index.d.ts +505 -0
  160. package/dist/api/workspace/index.d.ts.map +1 -0
  161. package/dist/errors/codes.d.ts +34 -0
  162. package/dist/errors/codes.d.ts.map +1 -0
  163. package/dist/errors/envelope.d.ts +56 -0
  164. package/dist/errors/envelope.d.ts.map +1 -0
  165. package/dist/errors/index.d.ts +6 -0
  166. package/dist/errors/index.d.ts.map +1 -0
  167. package/dist/errors/plugin-error.d.ts +69 -0
  168. package/dist/errors/plugin-error.d.ts.map +1 -0
  169. package/dist/handles.d.ts +97 -25
  170. package/dist/handles.d.ts.map +1 -1
  171. package/dist/host-utils.d.ts +4 -0
  172. package/dist/host-utils.d.ts.map +1 -1
  173. package/dist/index.cjs +4582 -1422
  174. package/dist/index.cjs.map +1 -1
  175. package/dist/index.d.ts +1 -0
  176. package/dist/index.d.ts.map +1 -1
  177. package/dist/index.js +4171 -1411
  178. package/dist/index.js.map +1 -1
  179. package/package.json +4 -2
  180. package/scripts/generate-manifest.mjs +45 -0
  181. package/scripts/generate-manifest.test.mjs +103 -4
  182. package/src/api/analysis/daylight.ts +470 -0
  183. package/src/api/analysis/heatmaps.ts +683 -0
  184. package/src/api/analysis/illuminance.ts +155 -0
  185. package/src/api/analysis/index.ts +61 -0
  186. package/src/api/analysis/shadows.ts +183 -0
  187. package/src/api/analysis/solar.ts +237 -0
  188. package/src/api/analysis/sunlightHours.ts +211 -0
  189. package/src/api/analysis/sunpath.ts +83 -0
  190. package/src/api/analysis/weather.ts +179 -0
  191. package/src/api/core/camera/index.ts +268 -0
  192. package/src/api/core/comment/index.ts +120 -2
  193. package/src/api/core/geom/create/index.ts +912 -1
  194. package/src/api/core/geom/delete/index.ts +6 -0
  195. package/src/api/core/geom/query/brep.ts +119 -0
  196. package/src/api/core/handles/index.ts +233 -0
  197. package/src/api/core/index.ts +34 -0
  198. package/src/api/core/io/export/index.ts +126 -0
  199. package/src/api/core/io/import/index.ts +496 -0
  200. package/src/api/core/io/index.ts +42 -0
  201. package/src/api/core/io/job/index.ts +140 -0
  202. package/src/api/core/io/query/index.ts +71 -0
  203. package/src/api/core/io/terrain/index.ts +360 -0
  204. package/src/api/core/io/underlay/index.ts +705 -0
  205. package/src/api/core/mode/index.ts +96 -0
  206. package/src/api/core/project/index.ts +62 -1
  207. package/src/api/core/proposals/index.ts +569 -0
  208. package/src/api/core/storeys/index.ts +294 -0
  209. package/src/api/core/tags.ts +27 -0
  210. package/src/api/core/user.ts +46 -0
  211. package/src/api/core/zoom/index.ts +4 -0
  212. package/src/api/design/create/index.ts +670 -30
  213. package/src/api/design/delete/index.ts +3 -0
  214. package/src/api/design/doors/index.ts +208 -0
  215. package/src/api/design/erase/index.ts +1 -1
  216. package/src/api/design/family.ts +388 -0
  217. package/src/api/design/furniture/index.ts +197 -8
  218. package/src/api/design/index.ts +102 -0
  219. package/src/api/design/lock.ts +27 -0
  220. package/src/api/design/materials/index.ts +334 -27
  221. package/src/api/design/query/geometry/index.ts +125 -3
  222. package/src/api/design/query/index.ts +217 -7
  223. package/src/api/design/query/referenceLines.ts +52 -0
  224. package/src/api/design/query/spaces.ts +143 -0
  225. package/src/api/design/selection/index.ts +129 -0
  226. package/src/api/design/transform/index.ts +170 -9
  227. package/src/api/design/types/index.ts +156 -0
  228. package/src/api/design/update/index.ts +631 -3
  229. package/src/api/design/visibility.ts +143 -0
  230. package/src/api/design/windows/index.ts +128 -2
  231. package/src/api/entity/buildableEnvelope.ts +4 -0
  232. package/src/api/entity/referenceLine.ts +8 -0
  233. package/src/api/entity/story.ts +259 -15
  234. package/src/api/index.ts +10 -0
  235. package/src/api/presentation/annotate.ts +385 -0
  236. package/src/api/presentation/diagrams.ts +118 -8
  237. package/src/api/presentation/export.ts +108 -0
  238. package/src/api/presentation/import.ts +51 -4
  239. package/src/api/presentation/index.ts +66 -1
  240. package/src/api/presentation/placedViews.ts +1120 -0
  241. package/src/api/presentation/shapes.ts +274 -0
  242. package/src/api/presentation/sheets.ts +400 -13
  243. package/src/api/presentation/slideshow.ts +134 -0
  244. package/src/api/presentation/tables.ts +84 -0
  245. package/src/api/presentation/views.ts +376 -8
  246. package/src/api/program/areas.ts +88 -15
  247. package/src/api/program/cores.ts +3 -91
  248. package/src/api/program/index.ts +7 -15
  249. package/src/api/program/layout.ts +365 -11
  250. package/src/api/program/site.ts +435 -13
  251. package/src/api/program/spreadsheet.ts +376 -35
  252. package/src/api/workspace/index.ts +563 -0
  253. package/src/errors/codes.ts +136 -0
  254. package/src/errors/envelope.ts +75 -0
  255. package/src/errors/index.ts +21 -0
  256. package/src/errors/plugin-error.ts +134 -0
  257. package/src/handles.ts +123 -13
  258. package/src/host-utils.ts +4 -0
  259. package/src/index.ts +1 -0
  260. package/test/errors.test.mjs +184 -0
  261. package/tsconfig.json +7 -2
@@ -7,8 +7,11 @@ import { PluginApiReturn } from "../../types";
7
7
  * These methods require **Present mode to be open** (the documentation editor) —
8
8
  * reads return `[]`/`null` and writes throw when it is not.
9
9
  *
10
- * `list`/`get` are reads; `create` adds a sheet and `place` drops a saved view
11
- * onto a sheet (returning the id of the created canvas shape).
10
+ * `list`/`get` are reads; the rest mutate and require Present mode to be open:
11
+ * `create` adds a sheet, `place` drops a saved view onto a sheet as a live
12
+ * linked view shape, `rename` relabels a sheet, `delete` removes one, `reorder`
13
+ * moves one in the sheet order, `setActive` navigates to one, and
14
+ * `updatePlacedView` re-renders placed views to the current model.
12
15
  *
13
16
  * Accessed via `snaptrude.presentation.sheets`.
14
17
  */
@@ -50,50 +53,288 @@ export declare abstract class PluginPresentationSheetsApi {
50
53
  /**
51
54
  * Create a new layout sheet.
52
55
  *
56
+ * Optionally sets the paper size and orientation — the same presets as the
57
+ * sheet header's size dropdown (ANSI A–E, Arch A–E1, ISO A4–A0). When `size`
58
+ * is omitted the sheet inherits the editor session's last-used size
59
+ * (initially ANSI B) in landscape, so pass `size` explicitly whenever the
60
+ * output format matters.
61
+ *
53
62
  * Requires Present mode to be open.
54
63
  *
55
64
  * @param name - Display name for the new sheet (optional).
65
+ * @param options - Optional `size` ({@linkcode PluginSheetSize} paper preset)
66
+ * and `orientation` ({@linkcode PluginSheetOrientation}; `"landscape"` when
67
+ * omitted).
56
68
  * @returns The newly created {@linkcode PluginPresentationSheet}.
57
69
  * @throws If Present mode is not open.
58
70
  *
59
71
  * @examplePrompt Create a new sheet called Cover
60
- * @examplePrompt Add a layout sheet
61
- * @examplePrompt Make a new presentation sheet named Floor Plans
72
+ * @examplePrompt Add an A3 landscape layout sheet
73
+ * @examplePrompt Make a new ANSI D presentation sheet named Floor Plans
74
+ * @examplePrompt Create a portrait A4 sheet
75
+ *
76
+ * # Example
77
+ * ```ts
78
+ * const sheet = await snaptrude.presentation.sheets.create("Cover", {
79
+ * size: "ISO_A3",
80
+ * orientation: "landscape",
81
+ * })
82
+ * ```
83
+ */
84
+ abstract create(name?: string, options?: {
85
+ size?: PluginSheetSize;
86
+ orientation?: PluginSheetOrientation;
87
+ }): PluginApiReturn<PluginPresentationSheet>;
88
+ /**
89
+ * Set a sheet's paper size and/or orientation.
90
+ *
91
+ * Applies one of the standard paper presets — exactly what the sheet header's
92
+ * size dropdown and orientation toggle do. Content that no longer fits inside
93
+ * the resized sheet is moved out onto the canvas (matching the native
94
+ * behavior). Undoable. Does not change the user's remembered default size for
95
+ * new sheets.
96
+ *
97
+ * Requires Present mode to be open.
98
+ *
99
+ * @param sheetId - The id of the sheet to resize.
100
+ * @param size - The paper preset ({@linkcode PluginSheetSize}).
101
+ * @param orientation - Optional {@linkcode PluginSheetOrientation}; keeps the
102
+ * sheet's current orientation when omitted.
103
+ * @returns The updated {@linkcode PluginPresentationSheet}.
104
+ * @throws If Present mode is not open, or the sheet id is invalid.
105
+ *
106
+ * @examplePrompt Resize sheet_1 to A1
107
+ * @examplePrompt Make the cover sheet ANSI B portrait
108
+ * @examplePrompt Change this sheet to Arch D landscape
109
+ * @examplePrompt Set the sheet size to A3
110
+ *
111
+ * # Example
112
+ * ```ts
113
+ * const sheet = await snaptrude.presentation.sheets.setSize("sheet_1", "ISO_A1", "portrait")
114
+ * ```
115
+ */
116
+ abstract setSize(sheetId: string, size: PluginSheetSize, orientation?: PluginSheetOrientation): PluginApiReturn<PluginPresentationSheet>;
117
+ /**
118
+ * Set a sheet's print margin.
119
+ *
120
+ * Applies one of the canonical margin presets — exactly what the sheet
121
+ * header's margin dropdown does. `margin` is unit-agnostic: `0 | 0.25 |
122
+ * 0.5 | 0.75 | 1`, displayed as None / 1/4″ / 1/2″ / 3/4″ / 1″ on imperial
123
+ * projects and None / 5mm / 10mm / 15mm / 20mm on metric ones. One undo
124
+ * step. Requires Present mode to be open.
125
+ *
126
+ * @param sheetId - The id of the sheet.
127
+ * @param margin - The margin preset ({@linkcode PluginSheetMargin}).
128
+ * @returns The updated {@linkcode PluginPresentationSheet}.
129
+ * @throws If Present mode is not open, or the sheet id is invalid.
130
+ *
131
+ * @examplePrompt Set the sheet margin to half an inch
132
+ * @examplePrompt Remove the margins on sheet_1
133
+ * @examplePrompt Give the cover sheet a 10mm margin
62
134
  *
63
135
  * # Example
64
136
  * ```ts
65
- * const sheet = await snaptrude.presentation.sheets.create("Cover")
137
+ * const sheet = await snaptrude.presentation.sheets.setMargin("sheet_1", 0.5)
66
138
  * ```
67
139
  */
68
- abstract create(name?: string): PluginApiReturn<PluginPresentationSheet>;
140
+ abstract setMargin(sheetId: string, margin: PluginSheetMargin): PluginApiReturn<PluginPresentationSheet>;
69
141
  /**
70
142
  * Place a saved view onto a sheet.
71
143
  *
72
- * Drops the given view onto the sheet at an optional position and returns the
73
- * id of the created canvas shape. Requires Present mode to be open.
144
+ * Drops the given view onto the sheet through the **native view drop** the
145
+ * placed shape is a live linked view (the same shape the Present views panel's
146
+ * drag-drop creates), re-rendered from the current model, so
147
+ * {@linkcode PluginPresentationSheetsApi.updatePlacedView} refreshes it later.
148
+ * 2D and site-plan views are placed at an architectural scale: the closest
149
+ * standard scale by default (the native auto-fit), or the explicit `scale`
150
+ * when given — one of the standard values the placed view's Scale dropdown
151
+ * offers for the project's unit system (metric `10, 20, 50, 100, 150, 200,
152
+ * 250, 500, 1000`; imperial e.g. `48` for 1/4″ = 1′, `96` for 1/8″ = 1′,
153
+ * `120` for 1″ = 10′). 3D views have no scale — passing `scale` for one
154
+ * throws. Requires Present mode to be open.
74
155
  *
75
156
  * @param sheetId - The id of the sheet to place onto.
76
157
  * @param viewId - The id of the saved view to place.
77
158
  * @param options - Optional `position` ({@linkcode PluginSheetPosition}) —
78
- * where to place it (a default is used when omitted).
159
+ * where to place it (sheet centre when omitted) — and `scale` — a standard
160
+ * scale value for the project's unit system (2D/site-plan views only;
161
+ * auto-fit when omitted).
79
162
  * @returns A {@linkcode PluginPresentationSheetsPlaceResult} with the created
80
163
  * `shapeId`.
81
- * @throws If Present mode is not open, or the sheet/view id is invalid.
164
+ * @throws If Present mode is not open, the sheet/view id is invalid, `scale`
165
+ * is not a standard value for the project's unit system, or `scale` is
166
+ * passed for a 3D view.
82
167
  *
83
168
  * @examplePrompt Place the floor plan on Sheet 1
84
169
  * @examplePrompt Add this 3D view to the cover sheet
85
170
  * @examplePrompt Drop the site plan onto the layout sheet at 100, 200
86
- * @examplePrompt Put the Ground Floor view on sheet_1
171
+ * @examplePrompt Put the Ground Floor view on sheet_1 at 1:100 scale
172
+ * @examplePrompt Place the plan on the cover sheet at quarter-inch scale
87
173
  *
88
174
  * # Example
89
175
  * ```ts
90
- * const { shapeId } = await snaptrude.presentation.sheets.place("sheet_1", "view_123")
176
+ * const { shapeId } = await snaptrude.presentation.sheets.place("sheet_1", "view_123", {
177
+ * scale: 100, // 1:100 (metric project)
178
+ * })
91
179
  * ```
92
180
  */
93
181
  abstract place(sheetId: string, viewId: string, options?: {
94
182
  position?: PluginSheetPosition;
183
+ scale?: number;
95
184
  }): PluginApiReturn<PluginPresentationSheetsPlaceResult>;
185
+ /**
186
+ * Rename a layout sheet.
187
+ *
188
+ * Sets the sheet's display name — the same label the sheets panel shows and
189
+ * that `list`/`get` read back. Requires Present mode to be open.
190
+ *
191
+ * @param sheetId - The id of the sheet to rename.
192
+ * @param name - The new display name (non-empty after trimming).
193
+ * @returns The updated {@linkcode PluginPresentationSheet}.
194
+ * @throws If Present mode is not open, or the sheet id is invalid.
195
+ *
196
+ * @examplePrompt Rename sheet_1 to Cover
197
+ * @examplePrompt Call the first sheet Ground Floor
198
+ * @examplePrompt Change this sheet's name to Site Plan
199
+ *
200
+ * # Example
201
+ * ```ts
202
+ * const sheet = await snaptrude.presentation.sheets.rename("sheet_1", "Cover")
203
+ * ```
204
+ */
205
+ abstract rename(sheetId: string, name: string): PluginApiReturn<PluginPresentationSheet>;
206
+ /**
207
+ * Delete a layout sheet.
208
+ *
209
+ * Removes the sheet (and its placed content) from the presentation and
210
+ * renumbers the remaining sheets. Requires Present mode to be open. Auto-diagram
211
+ * sheets cannot be deleted through the API — remove those from the Present UI.
212
+ *
213
+ * @param sheetId - The id of the sheet to delete.
214
+ * @returns The id of the deleted sheet
215
+ * (a {@linkcode PluginPresentationSheetsDeleteResult}).
216
+ * @throws If Present mode is not open, the sheet id is invalid, or the sheet is
217
+ * an auto-diagram sheet.
218
+ *
219
+ * @examplePrompt Delete sheet_2
220
+ * @examplePrompt Remove the Cover sheet
221
+ * @examplePrompt Get rid of the last layout sheet
222
+ *
223
+ * # Example
224
+ * ```ts
225
+ * const { id } = await snaptrude.presentation.sheets.delete("sheet_2")
226
+ * ```
227
+ */
228
+ abstract delete(sheetId: string): PluginApiReturn<PluginPresentationSheetsDeleteResult>;
229
+ /**
230
+ * Move a sheet to a new position in the sheet order.
231
+ *
232
+ * Reorders the sheet to the given zero-based `index` (as the sheets panel does
233
+ * when a sheet is dragged) and renumbers the rest. `index` is clamped to the
234
+ * valid range. Requires Present mode to be open.
235
+ *
236
+ * @param sheetId - The id of the sheet to move.
237
+ * @param index - Zero-based target position in the sheet order.
238
+ * @returns The sheets in their new order
239
+ * (a {@linkcode PluginPresentationSheetsListResult}).
240
+ * @throws If Present mode is not open, or the sheet id is invalid.
241
+ *
242
+ * @examplePrompt Move sheet_3 to the front
243
+ * @examplePrompt Make the Cover sheet the first sheet
244
+ * @examplePrompt Reorder this sheet to position 2
245
+ *
246
+ * # Example
247
+ * ```ts
248
+ * const { sheets } = await snaptrude.presentation.sheets.reorder("sheet_3", 0)
249
+ * ```
250
+ */
251
+ abstract reorder(sheetId: string, index: number): PluginApiReturn<PluginPresentationSheetsListResult>;
252
+ /**
253
+ * Make a sheet the active sheet.
254
+ *
255
+ * Selects the sheet in the sheets panel and navigates the Present canvas to it
256
+ * (the same as clicking it in the panel). Requires Present mode to be open.
257
+ *
258
+ * @param sheetId - The id of the sheet to activate.
259
+ * @returns The now-active {@linkcode PluginPresentationSheet}.
260
+ * @throws If Present mode is not open, or the sheet id is invalid.
261
+ *
262
+ * @examplePrompt Go to sheet_1
263
+ * @examplePrompt Open the Cover sheet
264
+ * @examplePrompt Switch to the Site Plan sheet
265
+ *
266
+ * # Example
267
+ * ```ts
268
+ * await snaptrude.presentation.sheets.setActive("sheet_1")
269
+ * ```
270
+ */
271
+ abstract setActive(sheetId: string): PluginApiReturn<PluginPresentationSheet>;
272
+ /**
273
+ * Refresh placed views to the current model state.
274
+ *
275
+ * Re-renders the presentation's placed **views** — the live linked view shapes —
276
+ * from the current model (the "Update views" action). Views placed with
277
+ * {@linkcode PluginPresentationSheetsApi.place} are live view shapes too, so
278
+ * they refresh along with panel-dropped ones. Pass `sheetId` to refresh only
279
+ * the views on that sheet, or omit it to refresh every placed view. Requires
280
+ * Present mode to be open.
281
+ *
282
+ * @param options - Optional `sheetId` — restrict the refresh to one sheet's
283
+ * placed views (all placed views when omitted).
284
+ * @returns The ids of the placed view shapes submitted for refresh
285
+ * (a {@linkcode PluginPresentationSheetsUpdatePlacedViewResult}).
286
+ * @throws If Present mode is not open, or `sheetId` is given but invalid.
287
+ *
288
+ * @examplePrompt Update all the placed views to the latest model
289
+ * @examplePrompt Refresh the views on sheet_1
290
+ * @examplePrompt Re-render the placed views after my edits
291
+ *
292
+ * # Example
293
+ * ```ts
294
+ * const { shapeIds } = await snaptrude.presentation.sheets.updatePlacedView()
295
+ * ```
296
+ */
297
+ abstract updatePlacedView(options?: {
298
+ sheetId?: string;
299
+ }): PluginApiReturn<PluginPresentationSheetsUpdatePlacedViewResult>;
96
300
  }
301
+ /**
302
+ * Standard paper-size presets for layout sheets — identical to the sheet
303
+ * header's size dropdown in Present mode.
304
+ */
305
+ export declare const PluginSheetSize: z.ZodEnum<{
306
+ ANSI_A: "ANSI_A";
307
+ ANSI_B: "ANSI_B";
308
+ ANSI_C: "ANSI_C";
309
+ ANSI_D: "ANSI_D";
310
+ ANSI_E: "ANSI_E";
311
+ ARCH_A: "ARCH_A";
312
+ ARCH_B: "ARCH_B";
313
+ ARCH_C: "ARCH_C";
314
+ ARCH_D: "ARCH_D";
315
+ ARCH_E: "ARCH_E";
316
+ ARCH_E1: "ARCH_E1";
317
+ ISO_A4: "ISO_A4";
318
+ ISO_A3: "ISO_A3";
319
+ ISO_A2: "ISO_A2";
320
+ ISO_A1: "ISO_A1";
321
+ ISO_A0: "ISO_A0";
322
+ }>;
323
+ export type PluginSheetSize = z.infer<typeof PluginSheetSize>;
324
+ /** Sheet orientation. */
325
+ export declare const PluginSheetOrientation: z.ZodEnum<{
326
+ landscape: "landscape";
327
+ portrait: "portrait";
328
+ }>;
329
+ export type PluginSheetOrientation = z.infer<typeof PluginSheetOrientation>;
330
+ /**
331
+ * Canonical sheet margin presets — unit-agnostic values matching the sheet
332
+ * header's margin dropdown: `0` (None), `0.25`, `0.5`, `0.75`, `1`.
333
+ * Displayed as None / 1/4″ / 1/2″ / 3/4″ / 1″ on imperial projects and
334
+ * None / 5mm / 10mm / 15mm / 20mm on metric ones.
335
+ */
336
+ export declare const PluginSheetMargin: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<1>]>;
337
+ export type PluginSheetMargin = z.infer<typeof PluginSheetMargin>;
97
338
  /**
98
339
  * A layout sheet in the presentation.
99
340
  *
@@ -101,10 +342,36 @@ export declare abstract class PluginPresentationSheetsApi {
101
342
  * |---|---|---|
102
343
  * | `id` | `string` | Unique sheet id |
103
344
  * | `name` | `string` | Display name |
345
+ * | `size` | {@linkcode PluginSheetSize}` \| null` | Paper preset (`null` for a legacy sheet without one) |
346
+ * | `orientation` | {@linkcode PluginSheetOrientation}` \| null` | Orientation (`null` for a legacy sheet) |
347
+ * | `margin` | {@linkcode PluginSheetMargin}` \| null` | Margin preset (`null` when absent/unrecognized) |
104
348
  */
105
349
  export declare const PluginPresentationSheet: z.ZodObject<{
106
350
  id: z.ZodString;
107
351
  name: z.ZodString;
352
+ size: z.ZodNullable<z.ZodEnum<{
353
+ ANSI_A: "ANSI_A";
354
+ ANSI_B: "ANSI_B";
355
+ ANSI_C: "ANSI_C";
356
+ ANSI_D: "ANSI_D";
357
+ ANSI_E: "ANSI_E";
358
+ ARCH_A: "ARCH_A";
359
+ ARCH_B: "ARCH_B";
360
+ ARCH_C: "ARCH_C";
361
+ ARCH_D: "ARCH_D";
362
+ ARCH_E: "ARCH_E";
363
+ ARCH_E1: "ARCH_E1";
364
+ ISO_A4: "ISO_A4";
365
+ ISO_A3: "ISO_A3";
366
+ ISO_A2: "ISO_A2";
367
+ ISO_A1: "ISO_A1";
368
+ ISO_A0: "ISO_A0";
369
+ }>>;
370
+ orientation: z.ZodNullable<z.ZodEnum<{
371
+ landscape: "landscape";
372
+ portrait: "portrait";
373
+ }>>;
374
+ margin: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<1>]>>;
108
375
  }, z.core.$strip>;
109
376
  export type PluginPresentationSheet = z.infer<typeof PluginPresentationSheet>;
110
377
  /**
@@ -125,6 +392,29 @@ export declare const PluginPresentationSheetsListResult: z.ZodObject<{
125
392
  sheets: z.ZodArray<z.ZodObject<{
126
393
  id: z.ZodString;
127
394
  name: z.ZodString;
395
+ size: z.ZodNullable<z.ZodEnum<{
396
+ ANSI_A: "ANSI_A";
397
+ ANSI_B: "ANSI_B";
398
+ ANSI_C: "ANSI_C";
399
+ ANSI_D: "ANSI_D";
400
+ ANSI_E: "ANSI_E";
401
+ ARCH_A: "ARCH_A";
402
+ ARCH_B: "ARCH_B";
403
+ ARCH_C: "ARCH_C";
404
+ ARCH_D: "ARCH_D";
405
+ ARCH_E: "ARCH_E";
406
+ ARCH_E1: "ARCH_E1";
407
+ ISO_A4: "ISO_A4";
408
+ ISO_A3: "ISO_A3";
409
+ ISO_A2: "ISO_A2";
410
+ ISO_A1: "ISO_A1";
411
+ ISO_A0: "ISO_A0";
412
+ }>>;
413
+ orientation: z.ZodNullable<z.ZodEnum<{
414
+ landscape: "landscape";
415
+ portrait: "portrait";
416
+ }>>;
417
+ margin: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<1>]>>;
128
418
  }, z.core.$strip>>;
129
419
  }, z.core.$strip>;
130
420
  export type PluginPresentationSheetsListResult = z.infer<typeof PluginPresentationSheetsListResult>;
@@ -137,13 +427,91 @@ export type PluginPresentationSheetsGetArgs = z.infer<typeof PluginPresentationS
137
427
  export declare const PluginPresentationSheetsGetResult: z.ZodNullable<z.ZodObject<{
138
428
  id: z.ZodString;
139
429
  name: z.ZodString;
430
+ size: z.ZodNullable<z.ZodEnum<{
431
+ ANSI_A: "ANSI_A";
432
+ ANSI_B: "ANSI_B";
433
+ ANSI_C: "ANSI_C";
434
+ ANSI_D: "ANSI_D";
435
+ ANSI_E: "ANSI_E";
436
+ ARCH_A: "ARCH_A";
437
+ ARCH_B: "ARCH_B";
438
+ ARCH_C: "ARCH_C";
439
+ ARCH_D: "ARCH_D";
440
+ ARCH_E: "ARCH_E";
441
+ ARCH_E1: "ARCH_E1";
442
+ ISO_A4: "ISO_A4";
443
+ ISO_A3: "ISO_A3";
444
+ ISO_A2: "ISO_A2";
445
+ ISO_A1: "ISO_A1";
446
+ ISO_A0: "ISO_A0";
447
+ }>>;
448
+ orientation: z.ZodNullable<z.ZodEnum<{
449
+ landscape: "landscape";
450
+ portrait: "portrait";
451
+ }>>;
452
+ margin: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<1>]>>;
140
453
  }, z.core.$strip>>;
141
454
  export type PluginPresentationSheetsGetResult = z.infer<typeof PluginPresentationSheetsGetResult>;
142
455
  /** Arguments for {@linkcode PluginPresentationSheetsApi.create}. */
143
456
  export declare const PluginPresentationSheetsCreateArgs: z.ZodObject<{
144
457
  name: z.ZodOptional<z.ZodString>;
458
+ size: z.ZodOptional<z.ZodEnum<{
459
+ ANSI_A: "ANSI_A";
460
+ ANSI_B: "ANSI_B";
461
+ ANSI_C: "ANSI_C";
462
+ ANSI_D: "ANSI_D";
463
+ ANSI_E: "ANSI_E";
464
+ ARCH_A: "ARCH_A";
465
+ ARCH_B: "ARCH_B";
466
+ ARCH_C: "ARCH_C";
467
+ ARCH_D: "ARCH_D";
468
+ ARCH_E: "ARCH_E";
469
+ ARCH_E1: "ARCH_E1";
470
+ ISO_A4: "ISO_A4";
471
+ ISO_A3: "ISO_A3";
472
+ ISO_A2: "ISO_A2";
473
+ ISO_A1: "ISO_A1";
474
+ ISO_A0: "ISO_A0";
475
+ }>>;
476
+ orientation: z.ZodOptional<z.ZodEnum<{
477
+ landscape: "landscape";
478
+ portrait: "portrait";
479
+ }>>;
145
480
  }, z.core.$strip>;
146
481
  export type PluginPresentationSheetsCreateArgs = z.infer<typeof PluginPresentationSheetsCreateArgs>;
482
+ /** Arguments for {@linkcode PluginPresentationSheetsApi.setSize}. */
483
+ export declare const PluginPresentationSheetsSetSizeArgs: z.ZodObject<{
484
+ sheetId: z.ZodString;
485
+ size: z.ZodEnum<{
486
+ ANSI_A: "ANSI_A";
487
+ ANSI_B: "ANSI_B";
488
+ ANSI_C: "ANSI_C";
489
+ ANSI_D: "ANSI_D";
490
+ ANSI_E: "ANSI_E";
491
+ ARCH_A: "ARCH_A";
492
+ ARCH_B: "ARCH_B";
493
+ ARCH_C: "ARCH_C";
494
+ ARCH_D: "ARCH_D";
495
+ ARCH_E: "ARCH_E";
496
+ ARCH_E1: "ARCH_E1";
497
+ ISO_A4: "ISO_A4";
498
+ ISO_A3: "ISO_A3";
499
+ ISO_A2: "ISO_A2";
500
+ ISO_A1: "ISO_A1";
501
+ ISO_A0: "ISO_A0";
502
+ }>;
503
+ orientation: z.ZodOptional<z.ZodEnum<{
504
+ landscape: "landscape";
505
+ portrait: "portrait";
506
+ }>>;
507
+ }, z.core.$strip>;
508
+ export type PluginPresentationSheetsSetSizeArgs = z.infer<typeof PluginPresentationSheetsSetSizeArgs>;
509
+ /** Arguments for {@linkcode PluginPresentationSheetsApi.setMargin}. */
510
+ export declare const PluginPresentationSheetsSetMarginArgs: z.ZodObject<{
511
+ sheetId: z.ZodString;
512
+ margin: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<1>]>;
513
+ }, z.core.$strip>;
514
+ export type PluginPresentationSheetsSetMarginArgs = z.infer<typeof PluginPresentationSheetsSetMarginArgs>;
147
515
  /**
148
516
  * Arguments for {@linkcode PluginPresentationSheetsApi.place}.
149
517
  *
@@ -151,7 +519,8 @@ export type PluginPresentationSheetsCreateArgs = z.infer<typeof PluginPresentati
151
519
  * |---|---|---|
152
520
  * | `sheetId` | `string` | The sheet to place onto |
153
521
  * | `viewId` | `string` | The saved view to place |
154
- * | `position` | {@linkcode PluginSheetPosition}` \| undefined` | Where to place it (a default is used when omitted) |
522
+ * | `position` | {@linkcode PluginSheetPosition}` \| undefined` | Where to place it (sheet centre when omitted) |
523
+ * | `scale` | `number \| undefined` | Standard scale value for the project's unit system (2D/site-plan views only; auto-fit to the closest standard scale when omitted) |
155
524
  */
156
525
  export declare const PluginPresentationSheetsPlaceArgs: z.ZodObject<{
157
526
  sheetId: z.ZodString;
@@ -160,6 +529,7 @@ export declare const PluginPresentationSheetsPlaceArgs: z.ZodObject<{
160
529
  x: z.ZodNumber;
161
530
  y: z.ZodNumber;
162
531
  }, z.core.$strip>>;
532
+ scale: z.ZodOptional<z.ZodNumber>;
163
533
  }, z.core.$strip>;
164
534
  export type PluginPresentationSheetsPlaceArgs = z.infer<typeof PluginPresentationSheetsPlaceArgs>;
165
535
  /**
@@ -173,4 +543,73 @@ export declare const PluginPresentationSheetsPlaceResult: z.ZodObject<{
173
543
  shapeId: z.ZodString;
174
544
  }, z.core.$strip>;
175
545
  export type PluginPresentationSheetsPlaceResult = z.infer<typeof PluginPresentationSheetsPlaceResult>;
546
+ /**
547
+ * Arguments for {@linkcode PluginPresentationSheetsApi.rename}.
548
+ *
549
+ * | Property | Type | Description |
550
+ * |---|---|---|
551
+ * | `sheetId` | `string` | The sheet to rename |
552
+ * | `name` | `string` | New display name (non-empty after trimming) |
553
+ */
554
+ export declare const PluginPresentationSheetsRenameArgs: z.ZodObject<{
555
+ sheetId: z.ZodString;
556
+ name: z.ZodString;
557
+ }, z.core.$strip>;
558
+ export type PluginPresentationSheetsRenameArgs = z.infer<typeof PluginPresentationSheetsRenameArgs>;
559
+ /** Arguments for {@linkcode PluginPresentationSheetsApi.delete}. */
560
+ export declare const PluginPresentationSheetsDeleteArgs: z.ZodObject<{
561
+ sheetId: z.ZodString;
562
+ }, z.core.$strip>;
563
+ export type PluginPresentationSheetsDeleteArgs = z.infer<typeof PluginPresentationSheetsDeleteArgs>;
564
+ /**
565
+ * Result of {@linkcode PluginPresentationSheetsApi.delete}.
566
+ *
567
+ * | Property | Type | Description |
568
+ * |---|---|---|
569
+ * | `id` | `string` | Id of the deleted sheet |
570
+ */
571
+ export declare const PluginPresentationSheetsDeleteResult: z.ZodObject<{
572
+ id: z.ZodString;
573
+ }, z.core.$strip>;
574
+ export type PluginPresentationSheetsDeleteResult = z.infer<typeof PluginPresentationSheetsDeleteResult>;
575
+ /**
576
+ * Arguments for {@linkcode PluginPresentationSheetsApi.reorder}.
577
+ *
578
+ * | Property | Type | Description |
579
+ * |---|---|---|
580
+ * | `sheetId` | `string` | The sheet to move |
581
+ * | `index` | `number` | Zero-based target position (clamped to range) |
582
+ */
583
+ export declare const PluginPresentationSheetsReorderArgs: z.ZodObject<{
584
+ sheetId: z.ZodString;
585
+ index: z.ZodNumber;
586
+ }, z.core.$strip>;
587
+ export type PluginPresentationSheetsReorderArgs = z.infer<typeof PluginPresentationSheetsReorderArgs>;
588
+ /** Arguments for {@linkcode PluginPresentationSheetsApi.setActive}. */
589
+ export declare const PluginPresentationSheetsSetActiveArgs: z.ZodObject<{
590
+ sheetId: z.ZodString;
591
+ }, z.core.$strip>;
592
+ export type PluginPresentationSheetsSetActiveArgs = z.infer<typeof PluginPresentationSheetsSetActiveArgs>;
593
+ /**
594
+ * Arguments for {@linkcode PluginPresentationSheetsApi.updatePlacedView}.
595
+ *
596
+ * | Property | Type | Description |
597
+ * |---|---|---|
598
+ * | `sheetId` | `string`? | Restrict the refresh to one sheet's placed views |
599
+ */
600
+ export declare const PluginPresentationSheetsUpdatePlacedViewArgs: z.ZodObject<{
601
+ sheetId: z.ZodOptional<z.ZodString>;
602
+ }, z.core.$strip>;
603
+ export type PluginPresentationSheetsUpdatePlacedViewArgs = z.infer<typeof PluginPresentationSheetsUpdatePlacedViewArgs>;
604
+ /**
605
+ * Result of {@linkcode PluginPresentationSheetsApi.updatePlacedView}.
606
+ *
607
+ * | Property | Type | Description |
608
+ * |---|---|---|
609
+ * | `shapeIds` | `string[]` | Ids of the placed view shapes submitted for refresh |
610
+ */
611
+ export declare const PluginPresentationSheetsUpdatePlacedViewResult: z.ZodObject<{
612
+ shapeIds: z.ZodArray<z.ZodString>;
613
+ }, z.core.$strip>;
614
+ export type PluginPresentationSheetsUpdatePlacedViewResult = z.infer<typeof PluginPresentationSheetsUpdatePlacedViewResult>;
176
615
  //# sourceMappingURL=sheets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sheets.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/sheets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C;;;;;;;;;;;GAWG;AACH,8BAAsB,2BAA2B;;IAG/C;;;;;;;;;;;;;;;OAeG;aACa,IAAI,IAAI,eAAe,CAAC,kCAAkC,CAAC;IAE3E;;;;;;;;;;;;;;OAcG;aACa,GAAG,CACjB,OAAO,EAAE,MAAM,GACd,eAAe,CAAC,iCAAiC,CAAC;IAErD;;;;;;;;;;;;;;;;;OAiBG;aACa,MAAM,CACpB,IAAI,CAAC,EAAE,MAAM,GACZ,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,KAAK,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