@studio8collective/patent-render 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,35 @@
2
2
 
3
3
  All notable changes to `@studio8collective/patent-render`. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses [Semantic Versioning](https://semver.org/).
4
4
 
5
+ ## [1.1.0] - 2026-11-23
6
+
7
+ ### Added
8
+
9
+ - Recovery from interrupted drawings. If the page is refreshed or closed, or the connection drops, while the assistant works, the figure reopens with a card offering to continue, start over, undo the edits or keep things as they are. Continuing uses the saved plan and draws only what is missing. Nothing restarts without a click.
10
+ - The browser warns before a refresh or close while the assistant works, and the editor's Cancel button asks first.
11
+ - `onChange` receives a second argument, `{ reason: "edit" | "run" | "close" }`, so hosts can debounce edits and save the rest at once.
12
+ - `onBusyChange` prop, for hosts that confirm before closing their own dialog.
13
+ - `PatentDocument.run`: the unfinished run, present only while one is in progress or was cut off.
14
+
15
+ ### Changed
16
+
17
+ - The request is saved as soon as it is sent. Before, nothing was saved until the first item was drawn.
18
+
19
+ ### Fixed
20
+
21
+ - After an interruption, tool calls that never got an answer are removed from the transcript, so the assistant no longer repeats work that is already on the sheet.
22
+ - "Updated the drawing" is shown once per reply, and a lost connection shows a readable message.
23
+
24
+ ## [1.0.1] - 2026-11-18
25
+
26
+ ### Fixed
27
+
28
+ - Canvas pan and zoom no longer jump with a mouse wheel: wheel input is normalised (pixel, line and page modes), one notch zooms at most one zoom-button step (1.25x, was 2.7x), and mouse-notch pans are eased over a few frames. Trackpad behaviour is unchanged.
29
+ - Moving, resizing, rotating and node-editing no longer drop or revert the last part of a drag when input outpaces rendering (120 Hz displays, busy frames). Gestures and the view are read from live refs, not the last render.
30
+ - Pan and zoom no longer re-render the whole editor on every frame: the view is owned by the canvas and synced to the editor store once it settles, view updates are batched per animation frame, and the drawing is not re-rendered on pan/zoom.
31
+ - The canvas no longer refits in the middle of a drag when its size changes; a pending refit runs when the gesture ends.
32
+ - Small closed shapes (under 200px on screen) can be grabbed by their interior, not only their outline.
33
+
5
34
  ## [1.0.0] - 2026-11-13
6
35
 
7
36
  First release.
package/README.md CHANGED
@@ -181,7 +181,8 @@ Use `/core` instead of the root import when you need the document model or valid
181
181
  | `sheetLabel` | `string` | Sheet number shown top centre, e.g. `"2/5"`. |
182
182
  | `context` | `PatentContext` | `title`, `claims`, `specExcerpt`, `numeralRegistry` (e.g. `{ "102": "housing" }`) so numerals stay consistent across figures. |
183
183
  | `exportPng` | server action | Pass `exportPatentPng`. Without it the embed result has no PNG. |
184
- | `onChange` | `(doc) => void` | Autosave hook. Receives the full document, including chat history. |
184
+ | `onChange` | `(doc, info) => void` | Autosave hook. Receives the full document, including chat history and any unfinished run. Debounce only when `info.reason` is `"edit"`; save `"run"` and `"close"` at once. |
185
+ | `onBusyChange` | `(busy) => void` | True while the assistant works. Use it to confirm before closing your dialog. |
185
186
  | `onEmbed` | `(result: EmbedResult) => void` | Required. Only reachable when the compliance check has no errors. |
186
187
  | `onCancel` | `() => void` | Close the dialog. |
187
188
  | `className` | `string` | Outer container classes. |
package/dist/core.d.ts CHANGED
@@ -882,6 +882,373 @@ declare const PatentDocument: z.ZodObject<{
882
882
  explodeLines: z.ZodDefault<z.ZodBoolean>;
883
883
  sheetLabel: z.ZodOptional<z.ZodString>;
884
884
  chat: z.ZodDefault<z.ZodArray<z.ZodUnknown>>;
885
+ run: z.ZodCatch<z.ZodOptional<z.ZodObject<{
886
+ id: z.ZodString;
887
+ kind: z.ZodEnum<{
888
+ new: "new";
889
+ edit: "edit";
890
+ }>;
891
+ request: z.ZodString;
892
+ preferences: z.ZodOptional<z.ZodObject<{
893
+ figureType: z.ZodOptional<z.ZodEnum<{
894
+ flowchart: "flowchart";
895
+ blockDiagram: "blockDiagram";
896
+ mechanical2d: "mechanical2d";
897
+ uiScreen: "uiScreen";
898
+ perspective3d: "perspective3d";
899
+ circuit: "circuit";
900
+ chemical: "chemical";
901
+ }>>;
902
+ style: z.ZodDefault<z.ZodEnum<{
903
+ standard: "standard";
904
+ detailed: "detailed";
905
+ minimal: "minimal";
906
+ }>>;
907
+ }, z.core.$strip>>;
908
+ selection: z.ZodDefault<z.ZodArray<z.ZodString>>;
909
+ chatLength: z.ZodDefault<z.ZodNumber>;
910
+ plan: z.ZodOptional<z.ZodObject<{
911
+ figureType: z.ZodEnum<{
912
+ flowchart: "flowchart";
913
+ blockDiagram: "blockDiagram";
914
+ mechanical2d: "mechanical2d";
915
+ uiScreen: "uiScreen";
916
+ perspective3d: "perspective3d";
917
+ circuit: "circuit";
918
+ chemical: "chemical";
919
+ }>;
920
+ view: z.ZodString;
921
+ summary: z.ZodString;
922
+ spec: z.ZodDefault<z.ZodString>;
923
+ components: z.ZodArray<z.ZodObject<{
924
+ numeral: z.ZodString;
925
+ name: z.ZodString;
926
+ description: z.ZodOptional<z.ZodString>;
927
+ reused: z.ZodDefault<z.ZodBoolean>;
928
+ }, z.core.$strip>>;
929
+ layers: z.ZodArray<z.ZodObject<{
930
+ id: z.ZodString;
931
+ name: z.ZodString;
932
+ }, z.core.$strip>>;
933
+ notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
934
+ }, z.core.$strip>>;
935
+ steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
936
+ label: z.ZodString;
937
+ status: z.ZodEnum<{
938
+ done: "done";
939
+ active: "active";
940
+ }>;
941
+ }, z.core.$strip>>>;
942
+ edits: z.ZodDefault<z.ZodNumber>;
943
+ before: z.ZodObject<{
944
+ jurisdiction: z.ZodEnum<{
945
+ uspto: "uspto";
946
+ pct: "pct";
947
+ epo: "epo";
948
+ ipo: "ipo";
949
+ }>;
950
+ sheet: z.ZodObject<{
951
+ size: z.ZodDefault<z.ZodEnum<{
952
+ a4: "a4";
953
+ letter: "letter";
954
+ }>>;
955
+ orientation: z.ZodDefault<z.ZodEnum<{
956
+ portrait: "portrait";
957
+ landscape: "landscape";
958
+ }>>;
959
+ }, z.core.$strip>;
960
+ layers: z.ZodArray<z.ZodObject<{
961
+ id: z.ZodString;
962
+ name: z.ZodString;
963
+ visible: z.ZodDefault<z.ZodBoolean>;
964
+ locked: z.ZodDefault<z.ZodBoolean>;
965
+ explode: z.ZodOptional<z.ZodObject<{
966
+ dx: z.ZodNumber;
967
+ dy: z.ZodNumber;
968
+ }, z.core.$strip>>;
969
+ items: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
970
+ type: z.ZodLiteral<"line">;
971
+ a: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
972
+ b: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
973
+ stroke: z.ZodDefault<z.ZodObject<{
974
+ width: z.ZodDefault<z.ZodNumber>;
975
+ style: z.ZodDefault<z.ZodEnum<{
976
+ solid: "solid";
977
+ dashed: "dashed";
978
+ centre: "centre";
979
+ phantom: "phantom";
980
+ }>>;
981
+ }, z.core.$strip>>;
982
+ id: z.ZodString;
983
+ name: z.ZodOptional<z.ZodString>;
984
+ rotation: z.ZodDefault<z.ZodNumber>;
985
+ locked: z.ZodDefault<z.ZodBoolean>;
986
+ hidden: z.ZodDefault<z.ZodBoolean>;
987
+ }, z.core.$strip>, z.ZodObject<{
988
+ type: z.ZodLiteral<"polyline">;
989
+ points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
990
+ closed: z.ZodDefault<z.ZodBoolean>;
991
+ fill: z.ZodDefault<z.ZodEnum<{
992
+ none: "none";
993
+ black: "black";
994
+ white: "white";
995
+ }>>;
996
+ stroke: z.ZodDefault<z.ZodObject<{
997
+ width: z.ZodDefault<z.ZodNumber>;
998
+ style: z.ZodDefault<z.ZodEnum<{
999
+ solid: "solid";
1000
+ dashed: "dashed";
1001
+ centre: "centre";
1002
+ phantom: "phantom";
1003
+ }>>;
1004
+ }, z.core.$strip>>;
1005
+ id: z.ZodString;
1006
+ name: z.ZodOptional<z.ZodString>;
1007
+ rotation: z.ZodDefault<z.ZodNumber>;
1008
+ locked: z.ZodDefault<z.ZodBoolean>;
1009
+ hidden: z.ZodDefault<z.ZodBoolean>;
1010
+ }, z.core.$strip>, z.ZodObject<{
1011
+ type: z.ZodLiteral<"path">;
1012
+ d: z.ZodString;
1013
+ fill: z.ZodDefault<z.ZodEnum<{
1014
+ none: "none";
1015
+ black: "black";
1016
+ white: "white";
1017
+ }>>;
1018
+ stroke: z.ZodDefault<z.ZodObject<{
1019
+ width: z.ZodDefault<z.ZodNumber>;
1020
+ style: z.ZodDefault<z.ZodEnum<{
1021
+ solid: "solid";
1022
+ dashed: "dashed";
1023
+ centre: "centre";
1024
+ phantom: "phantom";
1025
+ }>>;
1026
+ }, z.core.$strip>>;
1027
+ id: z.ZodString;
1028
+ name: z.ZodOptional<z.ZodString>;
1029
+ rotation: z.ZodDefault<z.ZodNumber>;
1030
+ locked: z.ZodDefault<z.ZodBoolean>;
1031
+ hidden: z.ZodDefault<z.ZodBoolean>;
1032
+ }, z.core.$strip>, z.ZodObject<{
1033
+ type: z.ZodLiteral<"rect">;
1034
+ x: z.ZodNumber;
1035
+ y: z.ZodNumber;
1036
+ w: z.ZodNumber;
1037
+ h: z.ZodNumber;
1038
+ radius: z.ZodDefault<z.ZodNumber>;
1039
+ fill: z.ZodDefault<z.ZodEnum<{
1040
+ none: "none";
1041
+ black: "black";
1042
+ white: "white";
1043
+ }>>;
1044
+ stroke: z.ZodDefault<z.ZodObject<{
1045
+ width: z.ZodDefault<z.ZodNumber>;
1046
+ style: z.ZodDefault<z.ZodEnum<{
1047
+ solid: "solid";
1048
+ dashed: "dashed";
1049
+ centre: "centre";
1050
+ phantom: "phantom";
1051
+ }>>;
1052
+ }, z.core.$strip>>;
1053
+ id: z.ZodString;
1054
+ name: z.ZodOptional<z.ZodString>;
1055
+ rotation: z.ZodDefault<z.ZodNumber>;
1056
+ locked: z.ZodDefault<z.ZodBoolean>;
1057
+ hidden: z.ZodDefault<z.ZodBoolean>;
1058
+ }, z.core.$strip>, z.ZodObject<{
1059
+ type: z.ZodLiteral<"ellipse">;
1060
+ cx: z.ZodNumber;
1061
+ cy: z.ZodNumber;
1062
+ rx: z.ZodNumber;
1063
+ ry: z.ZodNumber;
1064
+ fill: z.ZodDefault<z.ZodEnum<{
1065
+ none: "none";
1066
+ black: "black";
1067
+ white: "white";
1068
+ }>>;
1069
+ stroke: z.ZodDefault<z.ZodObject<{
1070
+ width: z.ZodDefault<z.ZodNumber>;
1071
+ style: z.ZodDefault<z.ZodEnum<{
1072
+ solid: "solid";
1073
+ dashed: "dashed";
1074
+ centre: "centre";
1075
+ phantom: "phantom";
1076
+ }>>;
1077
+ }, z.core.$strip>>;
1078
+ id: z.ZodString;
1079
+ name: z.ZodOptional<z.ZodString>;
1080
+ rotation: z.ZodDefault<z.ZodNumber>;
1081
+ locked: z.ZodDefault<z.ZodBoolean>;
1082
+ hidden: z.ZodDefault<z.ZodBoolean>;
1083
+ }, z.core.$strip>, z.ZodObject<{
1084
+ type: z.ZodLiteral<"arc">;
1085
+ cx: z.ZodNumber;
1086
+ cy: z.ZodNumber;
1087
+ r: z.ZodNumber;
1088
+ start: z.ZodNumber;
1089
+ end: z.ZodNumber;
1090
+ stroke: z.ZodDefault<z.ZodObject<{
1091
+ width: z.ZodDefault<z.ZodNumber>;
1092
+ style: z.ZodDefault<z.ZodEnum<{
1093
+ solid: "solid";
1094
+ dashed: "dashed";
1095
+ centre: "centre";
1096
+ phantom: "phantom";
1097
+ }>>;
1098
+ }, z.core.$strip>>;
1099
+ id: z.ZodString;
1100
+ name: z.ZodOptional<z.ZodString>;
1101
+ rotation: z.ZodDefault<z.ZodNumber>;
1102
+ locked: z.ZodDefault<z.ZodBoolean>;
1103
+ hidden: z.ZodDefault<z.ZodBoolean>;
1104
+ }, z.core.$strip>, z.ZodObject<{
1105
+ type: z.ZodLiteral<"text">;
1106
+ x: z.ZodNumber;
1107
+ y: z.ZodNumber;
1108
+ text: z.ZodString;
1109
+ size: z.ZodDefault<z.ZodNumber>;
1110
+ anchor: z.ZodDefault<z.ZodEnum<{
1111
+ start: "start";
1112
+ end: "end";
1113
+ middle: "middle";
1114
+ }>>;
1115
+ id: z.ZodString;
1116
+ name: z.ZodOptional<z.ZodString>;
1117
+ rotation: z.ZodDefault<z.ZodNumber>;
1118
+ locked: z.ZodDefault<z.ZodBoolean>;
1119
+ hidden: z.ZodDefault<z.ZodBoolean>;
1120
+ }, z.core.$strip>, z.ZodObject<{
1121
+ type: z.ZodLiteral<"numeral">;
1122
+ n: z.ZodString;
1123
+ at: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1124
+ target: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1125
+ leader: z.ZodDefault<z.ZodEnum<{
1126
+ none: "none";
1127
+ straight: "straight";
1128
+ curved: "curved";
1129
+ }>>;
1130
+ underline: z.ZodDefault<z.ZodBoolean>;
1131
+ size: z.ZodDefault<z.ZodNumber>;
1132
+ id: z.ZodString;
1133
+ name: z.ZodOptional<z.ZodString>;
1134
+ rotation: z.ZodDefault<z.ZodNumber>;
1135
+ locked: z.ZodDefault<z.ZodBoolean>;
1136
+ hidden: z.ZodDefault<z.ZodBoolean>;
1137
+ }, z.core.$strip>, z.ZodObject<{
1138
+ type: z.ZodLiteral<"figLabel">;
1139
+ x: z.ZodNumber;
1140
+ y: z.ZodNumber;
1141
+ size: z.ZodDefault<z.ZodNumber>;
1142
+ id: z.ZodString;
1143
+ name: z.ZodOptional<z.ZodString>;
1144
+ rotation: z.ZodDefault<z.ZodNumber>;
1145
+ locked: z.ZodDefault<z.ZodBoolean>;
1146
+ hidden: z.ZodDefault<z.ZodBoolean>;
1147
+ }, z.core.$strip>, z.ZodObject<{
1148
+ type: z.ZodLiteral<"connector">;
1149
+ from: z.ZodUnion<readonly [z.ZodObject<{
1150
+ itemId: z.ZodString;
1151
+ }, z.core.$strip>, z.ZodObject<{
1152
+ point: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1153
+ }, z.core.$strip>]>;
1154
+ to: z.ZodUnion<readonly [z.ZodObject<{
1155
+ itemId: z.ZodString;
1156
+ }, z.core.$strip>, z.ZodObject<{
1157
+ point: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1158
+ }, z.core.$strip>]>;
1159
+ routing: z.ZodDefault<z.ZodEnum<{
1160
+ straight: "straight";
1161
+ curved: "curved";
1162
+ orthogonal: "orthogonal";
1163
+ }>>;
1164
+ fromSide: z.ZodOptional<z.ZodEnum<{
1165
+ top: "top";
1166
+ bottom: "bottom";
1167
+ left: "left";
1168
+ right: "right";
1169
+ }>>;
1170
+ toSide: z.ZodOptional<z.ZodEnum<{
1171
+ top: "top";
1172
+ bottom: "bottom";
1173
+ left: "left";
1174
+ right: "right";
1175
+ }>>;
1176
+ arrow: z.ZodDefault<z.ZodEnum<{
1177
+ none: "none";
1178
+ start: "start";
1179
+ end: "end";
1180
+ both: "both";
1181
+ }>>;
1182
+ arrowStyle: z.ZodDefault<z.ZodEnum<{
1183
+ filled: "filled";
1184
+ open: "open";
1185
+ }>>;
1186
+ label: z.ZodOptional<z.ZodString>;
1187
+ stroke: z.ZodDefault<z.ZodObject<{
1188
+ width: z.ZodDefault<z.ZodNumber>;
1189
+ style: z.ZodDefault<z.ZodEnum<{
1190
+ solid: "solid";
1191
+ dashed: "dashed";
1192
+ centre: "centre";
1193
+ phantom: "phantom";
1194
+ }>>;
1195
+ }, z.core.$strip>>;
1196
+ id: z.ZodString;
1197
+ name: z.ZodOptional<z.ZodString>;
1198
+ rotation: z.ZodDefault<z.ZodNumber>;
1199
+ locked: z.ZodDefault<z.ZodBoolean>;
1200
+ hidden: z.ZodDefault<z.ZodBoolean>;
1201
+ }, z.core.$strip>, z.ZodObject<{
1202
+ type: z.ZodLiteral<"hatch">;
1203
+ points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1204
+ angle: z.ZodDefault<z.ZodNumber>;
1205
+ spacing: z.ZodDefault<z.ZodNumber>;
1206
+ lineWidth: z.ZodDefault<z.ZodNumber>;
1207
+ id: z.ZodString;
1208
+ name: z.ZodOptional<z.ZodString>;
1209
+ rotation: z.ZodDefault<z.ZodNumber>;
1210
+ locked: z.ZodDefault<z.ZodBoolean>;
1211
+ hidden: z.ZodDefault<z.ZodBoolean>;
1212
+ }, z.core.$strip>, z.ZodObject<{
1213
+ type: z.ZodLiteral<"sectionLine">;
1214
+ a: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1215
+ b: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1216
+ label: z.ZodString;
1217
+ stroke: z.ZodDefault<z.ZodObject<{
1218
+ width: z.ZodDefault<z.ZodNumber>;
1219
+ style: z.ZodDefault<z.ZodEnum<{
1220
+ solid: "solid";
1221
+ dashed: "dashed";
1222
+ centre: "centre";
1223
+ phantom: "phantom";
1224
+ }>>;
1225
+ }, z.core.$strip>>;
1226
+ id: z.ZodString;
1227
+ name: z.ZodOptional<z.ZodString>;
1228
+ rotation: z.ZodDefault<z.ZodNumber>;
1229
+ locked: z.ZodDefault<z.ZodBoolean>;
1230
+ hidden: z.ZodDefault<z.ZodBoolean>;
1231
+ }, z.core.$strip>], "type">>>;
1232
+ }, z.core.$strip>>;
1233
+ numerals: z.ZodRecord<z.ZodString, z.ZodString>;
1234
+ lettering: z.ZodObject<{
1235
+ numeralWeight: z.ZodDefault<z.ZodEnum<{
1236
+ regular: "regular";
1237
+ bold: "bold";
1238
+ }>>;
1239
+ figLabel: z.ZodDefault<z.ZodEnum<{
1240
+ "sans-bold": "sans-bold";
1241
+ "serif-italic": "serif-italic";
1242
+ }>>;
1243
+ }, z.core.$strip>;
1244
+ view: z.ZodEnum<{
1245
+ composite: "composite";
1246
+ exploded: "exploded";
1247
+ }>;
1248
+ explodeLines: z.ZodBoolean;
1249
+ sheetLabel: z.ZodOptional<z.ZodString>;
1250
+ }, z.core.$strip>;
1251
+ }, z.core.$strip>>>;
885
1252
  }, z.core.$strip>;
886
1253
  type PatentDocument = z.infer<typeof PatentDocument>;
887
1254
  /**
@@ -1081,6 +1448,42 @@ interface RenderOptions {
1081
1448
  /** Export-ready SVG: hidden layers/items excluded, no editor attributes. */
1082
1449
  declare function renderSvg(doc: PatentDocument, opts?: Omit<RenderOptions, "editorAttrs">): string;
1083
1450
 
1451
+ /** Sent with a request that continues an interrupted run. */
1452
+ declare const RunResume: z.ZodObject<{
1453
+ kind: z.ZodEnum<{
1454
+ new: "new";
1455
+ edit: "edit";
1456
+ }>;
1457
+ request: z.ZodString;
1458
+ plan: z.ZodOptional<z.ZodObject<{
1459
+ figureType: z.ZodEnum<{
1460
+ flowchart: "flowchart";
1461
+ blockDiagram: "blockDiagram";
1462
+ mechanical2d: "mechanical2d";
1463
+ uiScreen: "uiScreen";
1464
+ perspective3d: "perspective3d";
1465
+ circuit: "circuit";
1466
+ chemical: "chemical";
1467
+ }>;
1468
+ view: z.ZodString;
1469
+ summary: z.ZodString;
1470
+ spec: z.ZodDefault<z.ZodString>;
1471
+ components: z.ZodArray<z.ZodObject<{
1472
+ numeral: z.ZodString;
1473
+ name: z.ZodString;
1474
+ description: z.ZodOptional<z.ZodString>;
1475
+ reused: z.ZodDefault<z.ZodBoolean>;
1476
+ }, z.core.$strip>>;
1477
+ layers: z.ZodArray<z.ZodObject<{
1478
+ id: z.ZodString;
1479
+ name: z.ZodString;
1480
+ }, z.core.$strip>>;
1481
+ notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
1482
+ }, z.core.$strip>>;
1483
+ steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
1484
+ }, z.core.$strip>;
1485
+ type RunResume = z.infer<typeof RunResume>;
1486
+
1084
1487
  /**
1085
1488
  * Wire contract between the PatentRender client and its server handler.
1086
1489
  * Imported by both sides, so it must stay free of server-only code.
@@ -1100,6 +1503,8 @@ interface PatentRenderRequestBody {
1100
1503
  context?: PatentContext;
1101
1504
  /** Figure type and drawing style picked in the composer. */
1102
1505
  preferences?: GenerationPrefs;
1506
+ /** Set when this request continues a run that was interrupted. */
1507
+ resume?: RunResume;
1103
1508
  }
1104
1509
 
1105
1510
  export { type ComplianceReport, FigurePlan, FigureType, type Issue, Item, JurisdictionId, Layer, PROFILES, Patch, type PatentContext, PatentDocument, type PatentRenderRequestBody, createDocument, normalizeDocument, renderSvg, validate };