@jokerized/decksmith 0.1.3 → 0.2.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.
@@ -27,6 +27,8 @@ export declare const figureSchema: z.ZodObject<{
27
27
  caption: z.ZodString;
28
28
  width: z.ZodInt;
29
29
  height: z.ZodInt;
30
+ sectionId: z.ZodOptional<z.ZodString>;
31
+ mention: z.ZodOptional<z.ZodString>;
30
32
  }, z.core.$strip>;
31
33
  export declare const equationSchema: z.ZodObject<{
32
34
  id: z.ZodString;
@@ -61,6 +63,8 @@ export declare const sourceSchema: z.ZodObject<{
61
63
  caption: z.ZodString;
62
64
  width: z.ZodInt;
63
65
  height: z.ZodInt;
66
+ sectionId: z.ZodOptional<z.ZodString>;
67
+ mention: z.ZodOptional<z.ZodString>;
64
68
  }, z.core.$strip>>;
65
69
  equations: z.ZodArray<z.ZodObject<{
66
70
  id: z.ZodString;
@@ -98,11 +102,28 @@ export declare const titleParamsSchema: z.ZodObject<{
98
102
  headline: z.ZodString;
99
103
  sub: z.ZodOptional<z.ZodString>;
100
104
  }, z.core.$strip>;
105
+ /**
106
+ * A brief for a picture that does not exist yet.
107
+ *
108
+ * The planner writes it where no inventory figure fits; `illustrate` turns it
109
+ * into a file under `assets/`, registers that as an ordinary `Figure`, and
110
+ * points the slot's `figureId` at it. The brief stays on the beat afterwards as
111
+ * provenance — the figure's file name carries the hash of what produced it,
112
+ * and this is the thing it hashes.
113
+ */
114
+ export declare const illustrationSchema: z.ZodObject<{
115
+ prompt: z.ZodString;
116
+ caption: z.ZodString;
117
+ }, z.core.$strip>;
101
118
  export declare const claimFigureParamsSchema: z.ZodObject<{
102
119
  eyebrow: z.ZodOptional<z.ZodString>;
103
120
  headline: z.ZodString;
104
121
  claim: z.ZodString;
105
- figureId: z.ZodString;
122
+ figureId: z.ZodOptional<z.ZodString>;
123
+ illustration: z.ZodOptional<z.ZodObject<{
124
+ prompt: z.ZodString;
125
+ caption: z.ZodString;
126
+ }, z.core.$strip>>;
106
127
  }, z.core.$strip>;
107
128
  export declare const equationWalkParamsSchema: z.ZodObject<{
108
129
  eyebrow: z.ZodOptional<z.ZodString>;
@@ -123,6 +144,7 @@ export declare const dataTableParamsSchema: z.ZodObject<{
123
144
  eyebrow: z.ZodOptional<z.ZodString>;
124
145
  headline: z.ZodString;
125
146
  tableId: z.ZodString;
147
+ rows: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
148
  highlight: z.ZodArray<z.ZodObject<{
127
149
  row: z.ZodString;
128
150
  tone: z.ZodEnum<{
@@ -259,11 +281,19 @@ export declare const splitCompareParamsSchema: z.ZodObject<{
259
281
  left: z.ZodObject<{
260
282
  label: z.ZodString;
261
283
  figureId: z.ZodOptional<z.ZodString>;
284
+ illustration: z.ZodOptional<z.ZodObject<{
285
+ prompt: z.ZodString;
286
+ caption: z.ZodString;
287
+ }, z.core.$strip>>;
262
288
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
263
289
  }, z.core.$strip>;
264
290
  right: z.ZodObject<{
265
291
  label: z.ZodString;
266
292
  figureId: z.ZodOptional<z.ZodString>;
293
+ illustration: z.ZodOptional<z.ZodObject<{
294
+ prompt: z.ZodString;
295
+ caption: z.ZodString;
296
+ }, z.core.$strip>>;
267
297
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
268
298
  }, z.core.$strip>;
269
299
  note: z.ZodOptional<z.ZodString>;
@@ -284,10 +314,18 @@ export declare const splitCompareParamsSchema: z.ZodObject<{
284
314
  * containing scene and refuses to emit a camera at a part that beat did not
285
315
  * draw, so a wrong name is a build error rather than a camera that lands on
286
316
  * nothing.
317
+ *
318
+ * WHICH LEAVES THE INDEX ITSELF UNCHECKED, and that is what `label` is for. Get
319
+ * the number wrong rather than the name and every one of those checks passes:
320
+ * `stage2` exists, it has a rect, and the deck dives smoothly into whichever
321
+ * stage happens to be third. `label` says what the plan believes is there, the
322
+ * archetype reports what it drew (`Scene.parts`), and the two are compared
323
+ * before the camera is built — at `plan` and again at `build`.
287
324
  */
288
325
  export declare const insideSchema: z.ZodObject<{
289
326
  beat: z.ZodString;
290
327
  element: z.ZodString;
328
+ label: z.ZodOptional<z.ZodString>;
291
329
  }, z.core.$strip>;
292
330
  export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
293
331
  narration: z.ZodOptional<z.ZodString>;
@@ -302,6 +340,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
302
340
  inside: z.ZodOptional<z.ZodObject<{
303
341
  beat: z.ZodString;
304
342
  element: z.ZodString;
343
+ label: z.ZodOptional<z.ZodString>;
305
344
  }, z.core.$strip>>;
306
345
  claim: z.ZodOptional<z.ZodString>;
307
346
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -322,13 +361,18 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
322
361
  eyebrow: z.ZodOptional<z.ZodString>;
323
362
  headline: z.ZodString;
324
363
  claim: z.ZodString;
325
- figureId: z.ZodString;
364
+ figureId: z.ZodOptional<z.ZodString>;
365
+ illustration: z.ZodOptional<z.ZodObject<{
366
+ prompt: z.ZodString;
367
+ caption: z.ZodString;
368
+ }, z.core.$strip>>;
326
369
  }, z.core.$strip>;
327
370
  id: z.ZodString;
328
371
  intent: z.ZodString;
329
372
  inside: z.ZodOptional<z.ZodObject<{
330
373
  beat: z.ZodString;
331
374
  element: z.ZodString;
375
+ label: z.ZodOptional<z.ZodString>;
332
376
  }, z.core.$strip>>;
333
377
  claim: z.ZodOptional<z.ZodString>;
334
378
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -365,6 +409,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
365
409
  inside: z.ZodOptional<z.ZodObject<{
366
410
  beat: z.ZodString;
367
411
  element: z.ZodString;
412
+ label: z.ZodOptional<z.ZodString>;
368
413
  }, z.core.$strip>>;
369
414
  claim: z.ZodOptional<z.ZodString>;
370
415
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -385,6 +430,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
385
430
  eyebrow: z.ZodOptional<z.ZodString>;
386
431
  headline: z.ZodString;
387
432
  tableId: z.ZodString;
433
+ rows: z.ZodOptional<z.ZodArray<z.ZodString>>;
388
434
  highlight: z.ZodArray<z.ZodObject<{
389
435
  row: z.ZodString;
390
436
  tone: z.ZodEnum<{
@@ -401,6 +447,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
401
447
  inside: z.ZodOptional<z.ZodObject<{
402
448
  beat: z.ZodString;
403
449
  element: z.ZodString;
450
+ label: z.ZodOptional<z.ZodString>;
404
451
  }, z.core.$strip>>;
405
452
  claim: z.ZodOptional<z.ZodString>;
406
453
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -434,6 +481,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
434
481
  inside: z.ZodOptional<z.ZodObject<{
435
482
  beat: z.ZodString;
436
483
  element: z.ZodString;
484
+ label: z.ZodOptional<z.ZodString>;
437
485
  }, z.core.$strip>>;
438
486
  claim: z.ZodOptional<z.ZodString>;
439
487
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -464,6 +512,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
464
512
  inside: z.ZodOptional<z.ZodObject<{
465
513
  beat: z.ZodString;
466
514
  element: z.ZodString;
515
+ label: z.ZodOptional<z.ZodString>;
467
516
  }, z.core.$strip>>;
468
517
  claim: z.ZodOptional<z.ZodString>;
469
518
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -505,6 +554,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
505
554
  inside: z.ZodOptional<z.ZodObject<{
506
555
  beat: z.ZodString;
507
556
  element: z.ZodString;
557
+ label: z.ZodOptional<z.ZodString>;
508
558
  }, z.core.$strip>>;
509
559
  claim: z.ZodOptional<z.ZodString>;
510
560
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -548,6 +598,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
548
598
  inside: z.ZodOptional<z.ZodObject<{
549
599
  beat: z.ZodString;
550
600
  element: z.ZodString;
601
+ label: z.ZodOptional<z.ZodString>;
551
602
  }, z.core.$strip>>;
552
603
  claim: z.ZodOptional<z.ZodString>;
553
604
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -589,6 +640,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
589
640
  inside: z.ZodOptional<z.ZodObject<{
590
641
  beat: z.ZodString;
591
642
  element: z.ZodString;
643
+ label: z.ZodOptional<z.ZodString>;
592
644
  }, z.core.$strip>>;
593
645
  claim: z.ZodOptional<z.ZodString>;
594
646
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -626,6 +678,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
626
678
  inside: z.ZodOptional<z.ZodObject<{
627
679
  beat: z.ZodString;
628
680
  element: z.ZodString;
681
+ label: z.ZodOptional<z.ZodString>;
629
682
  }, z.core.$strip>>;
630
683
  claim: z.ZodOptional<z.ZodString>;
631
684
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -656,6 +709,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
656
709
  inside: z.ZodOptional<z.ZodObject<{
657
710
  beat: z.ZodString;
658
711
  element: z.ZodString;
712
+ label: z.ZodOptional<z.ZodString>;
659
713
  }, z.core.$strip>>;
660
714
  claim: z.ZodOptional<z.ZodString>;
661
715
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -678,11 +732,19 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
678
732
  left: z.ZodObject<{
679
733
  label: z.ZodString;
680
734
  figureId: z.ZodOptional<z.ZodString>;
735
+ illustration: z.ZodOptional<z.ZodObject<{
736
+ prompt: z.ZodString;
737
+ caption: z.ZodString;
738
+ }, z.core.$strip>>;
681
739
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
682
740
  }, z.core.$strip>;
683
741
  right: z.ZodObject<{
684
742
  label: z.ZodString;
685
743
  figureId: z.ZodOptional<z.ZodString>;
744
+ illustration: z.ZodOptional<z.ZodObject<{
745
+ prompt: z.ZodString;
746
+ caption: z.ZodString;
747
+ }, z.core.$strip>>;
686
748
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
687
749
  }, z.core.$strip>;
688
750
  note: z.ZodOptional<z.ZodString>;
@@ -692,6 +754,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
692
754
  inside: z.ZodOptional<z.ZodObject<{
693
755
  beat: z.ZodString;
694
756
  element: z.ZodString;
757
+ label: z.ZodOptional<z.ZodString>;
695
758
  }, z.core.$strip>>;
696
759
  claim: z.ZodOptional<z.ZodString>;
697
760
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -710,6 +773,13 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
710
773
  * Archetypes that draw rather than describe. `verify` warns when a deck leans on
711
774
  * the others — a deck of headlines and bullet panels is the thing every slide
712
775
  * generator already makes, and is not what this tool is for.
776
+ *
777
+ * `claim-figure` IS in the set, because the test is whether the beat draws and
778
+ * not whether we drew it: a slide carrying the paper's own figure puts a picture
779
+ * in front of the audience exactly as `annotated-figure` does, minus the leader
780
+ * lines. Counting it as text made the deck that USES the authors' figures score
781
+ * worse than the deck that redraws each one as a synthetic diagram, which is the
782
+ * opposite of what this warning is for.
713
783
  */
714
784
  export declare const DIAGRAMMATIC: ReadonlySet<string>;
715
785
  /**
@@ -752,6 +822,7 @@ export declare const storyboardSchema: z.ZodObject<{
752
822
  inside: z.ZodOptional<z.ZodObject<{
753
823
  beat: z.ZodString;
754
824
  element: z.ZodString;
825
+ label: z.ZodOptional<z.ZodString>;
755
826
  }, z.core.$strip>>;
756
827
  claim: z.ZodOptional<z.ZodString>;
757
828
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -772,13 +843,18 @@ export declare const storyboardSchema: z.ZodObject<{
772
843
  eyebrow: z.ZodOptional<z.ZodString>;
773
844
  headline: z.ZodString;
774
845
  claim: z.ZodString;
775
- figureId: z.ZodString;
846
+ figureId: z.ZodOptional<z.ZodString>;
847
+ illustration: z.ZodOptional<z.ZodObject<{
848
+ prompt: z.ZodString;
849
+ caption: z.ZodString;
850
+ }, z.core.$strip>>;
776
851
  }, z.core.$strip>;
777
852
  id: z.ZodString;
778
853
  intent: z.ZodString;
779
854
  inside: z.ZodOptional<z.ZodObject<{
780
855
  beat: z.ZodString;
781
856
  element: z.ZodString;
857
+ label: z.ZodOptional<z.ZodString>;
782
858
  }, z.core.$strip>>;
783
859
  claim: z.ZodOptional<z.ZodString>;
784
860
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -815,6 +891,7 @@ export declare const storyboardSchema: z.ZodObject<{
815
891
  inside: z.ZodOptional<z.ZodObject<{
816
892
  beat: z.ZodString;
817
893
  element: z.ZodString;
894
+ label: z.ZodOptional<z.ZodString>;
818
895
  }, z.core.$strip>>;
819
896
  claim: z.ZodOptional<z.ZodString>;
820
897
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -835,6 +912,7 @@ export declare const storyboardSchema: z.ZodObject<{
835
912
  eyebrow: z.ZodOptional<z.ZodString>;
836
913
  headline: z.ZodString;
837
914
  tableId: z.ZodString;
915
+ rows: z.ZodOptional<z.ZodArray<z.ZodString>>;
838
916
  highlight: z.ZodArray<z.ZodObject<{
839
917
  row: z.ZodString;
840
918
  tone: z.ZodEnum<{
@@ -851,6 +929,7 @@ export declare const storyboardSchema: z.ZodObject<{
851
929
  inside: z.ZodOptional<z.ZodObject<{
852
930
  beat: z.ZodString;
853
931
  element: z.ZodString;
932
+ label: z.ZodOptional<z.ZodString>;
854
933
  }, z.core.$strip>>;
855
934
  claim: z.ZodOptional<z.ZodString>;
856
935
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -884,6 +963,7 @@ export declare const storyboardSchema: z.ZodObject<{
884
963
  inside: z.ZodOptional<z.ZodObject<{
885
964
  beat: z.ZodString;
886
965
  element: z.ZodString;
966
+ label: z.ZodOptional<z.ZodString>;
887
967
  }, z.core.$strip>>;
888
968
  claim: z.ZodOptional<z.ZodString>;
889
969
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -914,6 +994,7 @@ export declare const storyboardSchema: z.ZodObject<{
914
994
  inside: z.ZodOptional<z.ZodObject<{
915
995
  beat: z.ZodString;
916
996
  element: z.ZodString;
997
+ label: z.ZodOptional<z.ZodString>;
917
998
  }, z.core.$strip>>;
918
999
  claim: z.ZodOptional<z.ZodString>;
919
1000
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -955,6 +1036,7 @@ export declare const storyboardSchema: z.ZodObject<{
955
1036
  inside: z.ZodOptional<z.ZodObject<{
956
1037
  beat: z.ZodString;
957
1038
  element: z.ZodString;
1039
+ label: z.ZodOptional<z.ZodString>;
958
1040
  }, z.core.$strip>>;
959
1041
  claim: z.ZodOptional<z.ZodString>;
960
1042
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -998,6 +1080,7 @@ export declare const storyboardSchema: z.ZodObject<{
998
1080
  inside: z.ZodOptional<z.ZodObject<{
999
1081
  beat: z.ZodString;
1000
1082
  element: z.ZodString;
1083
+ label: z.ZodOptional<z.ZodString>;
1001
1084
  }, z.core.$strip>>;
1002
1085
  claim: z.ZodOptional<z.ZodString>;
1003
1086
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1039,6 +1122,7 @@ export declare const storyboardSchema: z.ZodObject<{
1039
1122
  inside: z.ZodOptional<z.ZodObject<{
1040
1123
  beat: z.ZodString;
1041
1124
  element: z.ZodString;
1125
+ label: z.ZodOptional<z.ZodString>;
1042
1126
  }, z.core.$strip>>;
1043
1127
  claim: z.ZodOptional<z.ZodString>;
1044
1128
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1076,6 +1160,7 @@ export declare const storyboardSchema: z.ZodObject<{
1076
1160
  inside: z.ZodOptional<z.ZodObject<{
1077
1161
  beat: z.ZodString;
1078
1162
  element: z.ZodString;
1163
+ label: z.ZodOptional<z.ZodString>;
1079
1164
  }, z.core.$strip>>;
1080
1165
  claim: z.ZodOptional<z.ZodString>;
1081
1166
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1106,6 +1191,7 @@ export declare const storyboardSchema: z.ZodObject<{
1106
1191
  inside: z.ZodOptional<z.ZodObject<{
1107
1192
  beat: z.ZodString;
1108
1193
  element: z.ZodString;
1194
+ label: z.ZodOptional<z.ZodString>;
1109
1195
  }, z.core.$strip>>;
1110
1196
  claim: z.ZodOptional<z.ZodString>;
1111
1197
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1128,11 +1214,19 @@ export declare const storyboardSchema: z.ZodObject<{
1128
1214
  left: z.ZodObject<{
1129
1215
  label: z.ZodString;
1130
1216
  figureId: z.ZodOptional<z.ZodString>;
1217
+ illustration: z.ZodOptional<z.ZodObject<{
1218
+ prompt: z.ZodString;
1219
+ caption: z.ZodString;
1220
+ }, z.core.$strip>>;
1131
1221
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1132
1222
  }, z.core.$strip>;
1133
1223
  right: z.ZodObject<{
1134
1224
  label: z.ZodString;
1135
1225
  figureId: z.ZodOptional<z.ZodString>;
1226
+ illustration: z.ZodOptional<z.ZodObject<{
1227
+ prompt: z.ZodString;
1228
+ caption: z.ZodString;
1229
+ }, z.core.$strip>>;
1136
1230
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1137
1231
  }, z.core.$strip>;
1138
1232
  note: z.ZodOptional<z.ZodString>;
@@ -1142,6 +1236,7 @@ export declare const storyboardSchema: z.ZodObject<{
1142
1236
  inside: z.ZodOptional<z.ZodObject<{
1143
1237
  beat: z.ZodString;
1144
1238
  element: z.ZodString;
1239
+ label: z.ZodOptional<z.ZodString>;
1145
1240
  }, z.core.$strip>>;
1146
1241
  claim: z.ZodOptional<z.ZodString>;
1147
1242
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1193,6 +1288,17 @@ export declare const prefsSchema: z.ZodObject<{
1193
1288
  low: "low";
1194
1289
  }>>;
1195
1290
  }, z.core.$strip>>;
1291
+ images: z.ZodDefault<z.ZodObject<{
1292
+ enabled: z.ZodDefault<z.ZodBoolean>;
1293
+ provider: z.ZodDefault<z.ZodEnum<{
1294
+ auto: "auto";
1295
+ codex: "codex";
1296
+ svg: "svg";
1297
+ }>>;
1298
+ model: z.ZodOptional<z.ZodString>;
1299
+ style: z.ZodDefault<z.ZodString>;
1300
+ max: z.ZodDefault<z.ZodInt>;
1301
+ }, z.core.$strip>>;
1196
1302
  }, z.core.$strip>;
1197
1303
  /** One subtitle line with the timing edge-tts measured for it. */
1198
1304
  export declare const cueSchema: z.ZodObject<{
@@ -1296,6 +1402,17 @@ export declare const packSchema: z.ZodObject<{
1296
1402
  low: "low";
1297
1403
  }>>;
1298
1404
  }, z.core.$strip>>;
1405
+ images: z.ZodDefault<z.ZodObject<{
1406
+ enabled: z.ZodDefault<z.ZodBoolean>;
1407
+ provider: z.ZodDefault<z.ZodEnum<{
1408
+ auto: "auto";
1409
+ codex: "codex";
1410
+ svg: "svg";
1411
+ }>>;
1412
+ model: z.ZodOptional<z.ZodString>;
1413
+ style: z.ZodDefault<z.ZodString>;
1414
+ max: z.ZodDefault<z.ZodInt>;
1415
+ }, z.core.$strip>>;
1299
1416
  }, z.core.$strip>;
1300
1417
  source: z.ZodObject<{
1301
1418
  id: z.ZodString;
@@ -1313,6 +1430,8 @@ export declare const packSchema: z.ZodObject<{
1313
1430
  caption: z.ZodString;
1314
1431
  width: z.ZodInt;
1315
1432
  height: z.ZodInt;
1433
+ sectionId: z.ZodOptional<z.ZodString>;
1434
+ mention: z.ZodOptional<z.ZodString>;
1316
1435
  }, z.core.$strip>>;
1317
1436
  equations: z.ZodArray<z.ZodObject<{
1318
1437
  id: z.ZodString;
@@ -1344,6 +1463,7 @@ export declare const packSchema: z.ZodObject<{
1344
1463
  inside: z.ZodOptional<z.ZodObject<{
1345
1464
  beat: z.ZodString;
1346
1465
  element: z.ZodString;
1466
+ label: z.ZodOptional<z.ZodString>;
1347
1467
  }, z.core.$strip>>;
1348
1468
  claim: z.ZodOptional<z.ZodString>;
1349
1469
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1364,13 +1484,18 @@ export declare const packSchema: z.ZodObject<{
1364
1484
  eyebrow: z.ZodOptional<z.ZodString>;
1365
1485
  headline: z.ZodString;
1366
1486
  claim: z.ZodString;
1367
- figureId: z.ZodString;
1487
+ figureId: z.ZodOptional<z.ZodString>;
1488
+ illustration: z.ZodOptional<z.ZodObject<{
1489
+ prompt: z.ZodString;
1490
+ caption: z.ZodString;
1491
+ }, z.core.$strip>>;
1368
1492
  }, z.core.$strip>;
1369
1493
  id: z.ZodString;
1370
1494
  intent: z.ZodString;
1371
1495
  inside: z.ZodOptional<z.ZodObject<{
1372
1496
  beat: z.ZodString;
1373
1497
  element: z.ZodString;
1498
+ label: z.ZodOptional<z.ZodString>;
1374
1499
  }, z.core.$strip>>;
1375
1500
  claim: z.ZodOptional<z.ZodString>;
1376
1501
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1407,6 +1532,7 @@ export declare const packSchema: z.ZodObject<{
1407
1532
  inside: z.ZodOptional<z.ZodObject<{
1408
1533
  beat: z.ZodString;
1409
1534
  element: z.ZodString;
1535
+ label: z.ZodOptional<z.ZodString>;
1410
1536
  }, z.core.$strip>>;
1411
1537
  claim: z.ZodOptional<z.ZodString>;
1412
1538
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1427,6 +1553,7 @@ export declare const packSchema: z.ZodObject<{
1427
1553
  eyebrow: z.ZodOptional<z.ZodString>;
1428
1554
  headline: z.ZodString;
1429
1555
  tableId: z.ZodString;
1556
+ rows: z.ZodOptional<z.ZodArray<z.ZodString>>;
1430
1557
  highlight: z.ZodArray<z.ZodObject<{
1431
1558
  row: z.ZodString;
1432
1559
  tone: z.ZodEnum<{
@@ -1443,6 +1570,7 @@ export declare const packSchema: z.ZodObject<{
1443
1570
  inside: z.ZodOptional<z.ZodObject<{
1444
1571
  beat: z.ZodString;
1445
1572
  element: z.ZodString;
1573
+ label: z.ZodOptional<z.ZodString>;
1446
1574
  }, z.core.$strip>>;
1447
1575
  claim: z.ZodOptional<z.ZodString>;
1448
1576
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1476,6 +1604,7 @@ export declare const packSchema: z.ZodObject<{
1476
1604
  inside: z.ZodOptional<z.ZodObject<{
1477
1605
  beat: z.ZodString;
1478
1606
  element: z.ZodString;
1607
+ label: z.ZodOptional<z.ZodString>;
1479
1608
  }, z.core.$strip>>;
1480
1609
  claim: z.ZodOptional<z.ZodString>;
1481
1610
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1506,6 +1635,7 @@ export declare const packSchema: z.ZodObject<{
1506
1635
  inside: z.ZodOptional<z.ZodObject<{
1507
1636
  beat: z.ZodString;
1508
1637
  element: z.ZodString;
1638
+ label: z.ZodOptional<z.ZodString>;
1509
1639
  }, z.core.$strip>>;
1510
1640
  claim: z.ZodOptional<z.ZodString>;
1511
1641
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1547,6 +1677,7 @@ export declare const packSchema: z.ZodObject<{
1547
1677
  inside: z.ZodOptional<z.ZodObject<{
1548
1678
  beat: z.ZodString;
1549
1679
  element: z.ZodString;
1680
+ label: z.ZodOptional<z.ZodString>;
1550
1681
  }, z.core.$strip>>;
1551
1682
  claim: z.ZodOptional<z.ZodString>;
1552
1683
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1590,6 +1721,7 @@ export declare const packSchema: z.ZodObject<{
1590
1721
  inside: z.ZodOptional<z.ZodObject<{
1591
1722
  beat: z.ZodString;
1592
1723
  element: z.ZodString;
1724
+ label: z.ZodOptional<z.ZodString>;
1593
1725
  }, z.core.$strip>>;
1594
1726
  claim: z.ZodOptional<z.ZodString>;
1595
1727
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1631,6 +1763,7 @@ export declare const packSchema: z.ZodObject<{
1631
1763
  inside: z.ZodOptional<z.ZodObject<{
1632
1764
  beat: z.ZodString;
1633
1765
  element: z.ZodString;
1766
+ label: z.ZodOptional<z.ZodString>;
1634
1767
  }, z.core.$strip>>;
1635
1768
  claim: z.ZodOptional<z.ZodString>;
1636
1769
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1668,6 +1801,7 @@ export declare const packSchema: z.ZodObject<{
1668
1801
  inside: z.ZodOptional<z.ZodObject<{
1669
1802
  beat: z.ZodString;
1670
1803
  element: z.ZodString;
1804
+ label: z.ZodOptional<z.ZodString>;
1671
1805
  }, z.core.$strip>>;
1672
1806
  claim: z.ZodOptional<z.ZodString>;
1673
1807
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1698,6 +1832,7 @@ export declare const packSchema: z.ZodObject<{
1698
1832
  inside: z.ZodOptional<z.ZodObject<{
1699
1833
  beat: z.ZodString;
1700
1834
  element: z.ZodString;
1835
+ label: z.ZodOptional<z.ZodString>;
1701
1836
  }, z.core.$strip>>;
1702
1837
  claim: z.ZodOptional<z.ZodString>;
1703
1838
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1720,11 +1855,19 @@ export declare const packSchema: z.ZodObject<{
1720
1855
  left: z.ZodObject<{
1721
1856
  label: z.ZodString;
1722
1857
  figureId: z.ZodOptional<z.ZodString>;
1858
+ illustration: z.ZodOptional<z.ZodObject<{
1859
+ prompt: z.ZodString;
1860
+ caption: z.ZodString;
1861
+ }, z.core.$strip>>;
1723
1862
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1724
1863
  }, z.core.$strip>;
1725
1864
  right: z.ZodObject<{
1726
1865
  label: z.ZodString;
1727
1866
  figureId: z.ZodOptional<z.ZodString>;
1867
+ illustration: z.ZodOptional<z.ZodObject<{
1868
+ prompt: z.ZodString;
1869
+ caption: z.ZodString;
1870
+ }, z.core.$strip>>;
1728
1871
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1729
1872
  }, z.core.$strip>;
1730
1873
  note: z.ZodOptional<z.ZodString>;
@@ -1734,6 +1877,7 @@ export declare const packSchema: z.ZodObject<{
1734
1877
  inside: z.ZodOptional<z.ZodObject<{
1735
1878
  beat: z.ZodString;
1736
1879
  element: z.ZodString;
1880
+ label: z.ZodOptional<z.ZodString>;
1737
1881
  }, z.core.$strip>>;
1738
1882
  claim: z.ZodOptional<z.ZodString>;
1739
1883
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1983,7 +2127,11 @@ export type Table = z.infer<typeof tableSchema>;
1983
2127
  export type Section = z.infer<typeof sectionSchema>;
1984
2128
  export type Source = z.infer<typeof sourceSchema>;
1985
2129
  export type Term = z.infer<typeof termSchema>;
2130
+ export type Illustration = z.infer<typeof illustrationSchema>;
2131
+ /** The `images` block of the preferences, resolved. What `illustrate` reads. */
2132
+ export type ImagesPrefs = z.infer<typeof prefsSchema>["images"];
1986
2133
  export type Beat = z.infer<typeof beatSchema>;
2134
+ export type Inside = z.infer<typeof insideSchema>;
1987
2135
  export type Archetype = Beat["archetype"];
1988
2136
  export type Storyboard = z.infer<typeof storyboardSchema>;
1989
2137
  /** Narrow a beat to one archetype — the emitters' entry point. */