@nakafa/aksara-contracts 8.9.1 → 8.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/assessment/choice.d.ts +26 -0
  2. package/dist/assessment/document.d.ts +39 -0
  3. package/dist/assessment/figure.d.ts +13 -0
  4. package/dist/assessment/hash.d.ts +711 -111
  5. package/dist/assessment/inline.d.ts +53 -0
  6. package/dist/assessment/inline.js +1 -0
  7. package/dist/assessment/interaction.d.ts +26 -0
  8. package/dist/assessment/item.d.ts +414 -36
  9. package/dist/assessment/paper.d.ts +731 -131
  10. package/dist/assessment/part.d.ts +13 -0
  11. package/dist/assessment/rows.d.ts +336 -36
  12. package/dist/assessment/snapshot.d.ts +773 -121
  13. package/dist/release/snapshot/data.d.ts +26 -0
  14. package/dist/release/snapshot/verify.d.ts +336 -36
  15. package/dist/transport/group.d.ts +78 -0
  16. package/dist/transport/request.d.ts +2195 -343
  17. package/dist/transport/snapshot.d.ts +52 -0
  18. package/dist/visual/base/math.d.ts +56 -6
  19. package/dist/visual/base/media.d.ts +56 -6
  20. package/dist/visual/biology/bacteria.d.ts +224 -24
  21. package/dist/visual/biology/binomial.d.ts +139 -0
  22. package/dist/visual/biology/binomial.js +46 -0
  23. package/dist/visual/biology/blood.d.ts +56 -6
  24. package/dist/visual/biology/bone.d.ts +141 -0
  25. package/dist/visual/biology/bone.js +46 -0
  26. package/dist/visual/biology/cell.d.ts +168 -18
  27. package/dist/visual/biology/chromosome.d.ts +139 -0
  28. package/dist/visual/biology/chromosome.js +42 -0
  29. package/dist/visual/biology/climate.d.ts +168 -18
  30. package/dist/visual/biology/control.d.ts +17 -0
  31. package/dist/visual/biology/control.js +21 -0
  32. package/dist/visual/biology/denature.d.ts +159 -0
  33. package/dist/visual/biology/denature.js +74 -0
  34. package/dist/visual/biology/drawing.d.ts +151 -0
  35. package/dist/visual/biology/drawing.js +69 -0
  36. package/dist/visual/biology/ecology.d.ts +224 -24
  37. package/dist/visual/biology/enzyme.d.ts +145 -0
  38. package/dist/visual/biology/enzyme.js +54 -0
  39. package/dist/visual/biology/equipment.d.ts +140 -0
  40. package/dist/visual/biology/equipment.js +64 -0
  41. package/dist/visual/biology/gametogenesis.d.ts +145 -0
  42. package/dist/visual/biology/gametogenesis.js +83 -0
  43. package/dist/visual/biology/heart.d.ts +56 -6
  44. package/dist/visual/biology/implantation.d.ts +138 -0
  45. package/dist/visual/biology/implantation.js +44 -0
  46. package/dist/visual/biology/joint.d.ts +140 -0
  47. package/dist/visual/biology/joint.js +47 -0
  48. package/dist/visual/biology/key.d.ts +141 -0
  49. package/dist/visual/biology/key.js +58 -0
  50. package/dist/visual/biology/kingdom.d.ts +142 -0
  51. package/dist/visual/biology/kingdom.js +82 -0
  52. package/dist/visual/biology/lactase.d.ts +147 -0
  53. package/dist/visual/biology/lactase.js +48 -0
  54. package/dist/visual/biology/limb.d.ts +139 -0
  55. package/dist/visual/biology/limb.js +44 -0
  56. package/dist/visual/biology/lipid.d.ts +144 -0
  57. package/dist/visual/biology/lipid.js +43 -0
  58. package/dist/visual/biology/locomotion.d.ts +141 -0
  59. package/dist/visual/biology/locomotion.js +48 -0
  60. package/dist/visual/biology/menstrual.d.ts +148 -0
  61. package/dist/visual/biology/menstrual.js +65 -0
  62. package/dist/visual/biology/metamorphosis.d.ts +140 -0
  63. package/dist/visual/biology/metamorphosis.js +34 -0
  64. package/dist/visual/biology/mitochondrion.d.ts +56 -6
  65. package/dist/visual/biology/muscle.d.ts +56 -6
  66. package/dist/visual/biology/neuron.d.ts +56 -6
  67. package/dist/visual/biology/paddy.d.ts +56 -6
  68. package/dist/visual/biology/physiology.d.ts +168 -18
  69. package/dist/visual/biology/placenta.d.ts +139 -0
  70. package/dist/visual/biology/placenta.js +52 -0
  71. package/dist/visual/biology/planes.d.ts +145 -0
  72. package/dist/visual/biology/planes.js +62 -0
  73. package/dist/visual/biology/plant.d.ts +280 -30
  74. package/dist/visual/biology/protein.d.ts +142 -0
  75. package/dist/visual/biology/protein.js +41 -0
  76. package/dist/visual/biology/saturation.d.ts +149 -0
  77. package/dist/visual/biology/saturation.js +40 -0
  78. package/dist/visual/biology/secretion.d.ts +149 -0
  79. package/dist/visual/biology/secretion.js +79 -0
  80. package/dist/visual/biology/spill.d.ts +165 -0
  81. package/dist/visual/biology/spill.js +58 -0
  82. package/dist/visual/biology/sugar.d.ts +152 -0
  83. package/dist/visual/biology/sugar.js +59 -0
  84. package/dist/visual/biology/synapse.d.ts +56 -6
  85. package/dist/visual/biology/taxon.d.ts +138 -0
  86. package/dist/visual/biology/taxon.js +50 -0
  87. package/dist/visual/biology/twins.d.ts +144 -0
  88. package/dist/visual/biology/twins.js +60 -0
  89. package/dist/visual/biology/vernacular.d.ts +141 -0
  90. package/dist/visual/biology/vernacular.js +57 -0
  91. package/dist/visual/biology/vertebra.d.ts +141 -0
  92. package/dist/visual/biology/vertebra.js +59 -0
  93. package/dist/visual/biology/vessel.d.ts +56 -6
  94. package/dist/visual/biology/waste.d.ts +140 -0
  95. package/dist/visual/biology/waste.js +57 -0
  96. package/dist/visual/biology/water.d.ts +152 -0
  97. package/dist/visual/biology/water.js +54 -0
  98. package/dist/visual/biology/yeast.d.ts +56 -6
  99. package/dist/visual/card.d.ts +67 -6
  100. package/dist/visual/card.js +17 -1
  101. package/dist/visual/catalog.d.ts +21584 -5487
  102. package/dist/visual/catalog.js +66 -0
  103. package/dist/visual/chemistry/atom.d.ts +168 -18
  104. package/dist/visual/chemistry/balance.d.ts +280 -30
  105. package/dist/visual/chemistry/bonding.d.ts +280 -30
  106. package/dist/visual/chemistry/discovery.d.ts +392 -42
  107. package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
  108. package/dist/visual/chemistry/electron.d.ts +112 -12
  109. package/dist/visual/chemistry/laws.d.ts +224 -24
  110. package/dist/visual/chemistry/particles.d.ts +280 -30
  111. package/dist/visual/chemistry/periodic.d.ts +112 -12
  112. package/dist/visual/chemistry/rate.d.ts +56 -6
  113. package/dist/visual/chemistry/reaction.d.ts +168 -18
  114. package/dist/visual/chemistry/titration.d.ts +56 -6
  115. package/dist/visual/length.d.ts +56 -6
  116. package/dist/visual/mathematics/argument.d.ts +226 -0
  117. package/dist/visual/mathematics/argument.js +150 -0
  118. package/dist/visual/mathematics/chance.d.ts +168 -18
  119. package/dist/visual/mathematics/chart.d.ts +56 -6
  120. package/dist/visual/mathematics/charts.d.ts +280 -30
  121. package/dist/visual/mathematics/counterexample.d.ts +340 -0
  122. package/dist/visual/mathematics/counterexample.js +157 -0
  123. package/dist/visual/mathematics/function.d.ts +168 -18
  124. package/dist/visual/mathematics/journey.d.ts +56 -6
  125. package/dist/visual/mathematics/logic.d.ts +56 -6
  126. package/dist/visual/mathematics/network.d.ts +56 -6
  127. package/dist/visual/mathematics/numeral.d.ts +168 -18
  128. package/dist/visual/mathematics/sets.d.ts +56 -6
  129. package/dist/visual/physics/braking.d.ts +224 -24
  130. package/dist/visual/physics/circuit.d.ts +224 -24
  131. package/dist/visual/physics/circular.d.ts +112 -12
  132. package/dist/visual/physics/dynamics.d.ts +392 -42
  133. package/dist/visual/physics/efficiency.d.ts +336 -36
  134. package/dist/visual/physics/electronics.d.ts +168 -18
  135. package/dist/visual/physics/falling.d.ts +224 -24
  136. package/dist/visual/physics/field.d.ts +168 -18
  137. package/dist/visual/physics/fluid.d.ts +224 -24
  138. package/dist/visual/physics/force.d.ts +280 -30
  139. package/dist/visual/physics/gravity.d.ts +112 -12
  140. package/dist/visual/physics/heat.d.ts +168 -18
  141. package/dist/visual/physics/instrument.d.ts +392 -42
  142. package/dist/visual/physics/light.d.ts +224 -24
  143. package/dist/visual/physics/measurement.d.ts +224 -24
  144. package/dist/visual/physics/motion.d.ts +336 -36
  145. package/dist/visual/physics/nuclear.d.ts +168 -18
  146. package/dist/visual/physics/parabolic.d.ts +56 -6
  147. package/dist/visual/physics/position.d.ts +336 -36
  148. package/dist/visual/physics/power.d.ts +448 -48
  149. package/dist/visual/physics/precision.d.ts +392 -42
  150. package/dist/visual/physics/product.d.ts +224 -24
  151. package/dist/visual/physics/reading.d.ts +168 -18
  152. package/dist/visual/physics/record.d.ts +112 -12
  153. package/dist/visual/physics/relative.d.ts +168 -18
  154. package/dist/visual/physics/solar.d.ts +336 -36
  155. package/dist/visual/physics/thermodynamics.d.ts +56 -6
  156. package/dist/visual/physics/vector.d.ts +280 -30
  157. package/dist/visual/physics/velocity.d.ts +392 -42
  158. package/dist/visual/physics/wave.d.ts +224 -24
  159. package/dist/visual/politics.d.ts +336 -36
  160. package/package.json +1 -1
@@ -8,11 +8,64 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
8
8
  DoorHingeTorqueLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
9
9
  readonly description: RichSlot<E>;
10
10
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
11
+ readonly marks?: readonly [{
12
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13
+ } | {
14
+ readonly attrs: {
15
+ readonly href: string;
16
+ };
17
+ readonly type: "link";
18
+ } | {
19
+ readonly attrs: {
20
+ readonly variant: "success" | "warning" | null;
21
+ };
22
+ readonly type: "highlight";
23
+ }, ...({
24
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
25
+ } | {
26
+ readonly attrs: {
27
+ readonly href: string;
28
+ };
29
+ readonly type: "link";
30
+ } | {
31
+ readonly attrs: {
32
+ readonly variant: "success" | "warning" | null;
33
+ };
34
+ readonly type: "highlight";
35
+ })[]];
36
+ readonly text: string;
37
+ readonly type: "text";
38
+ } | {
11
39
  readonly attrs: {
12
40
  readonly latex: string;
13
41
  };
42
+ readonly marks?: readonly [{
43
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
44
+ } | {
45
+ readonly attrs: {
46
+ readonly href: string;
47
+ };
48
+ readonly type: "link";
49
+ } | {
50
+ readonly attrs: {
51
+ readonly variant: "success" | "warning" | null;
52
+ };
53
+ readonly type: "highlight";
54
+ }, ...({
55
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
56
+ } | {
57
+ readonly attrs: {
58
+ readonly href: string;
59
+ };
60
+ readonly type: "link";
61
+ } | {
62
+ readonly attrs: {
63
+ readonly variant: "success" | "warning" | null;
64
+ };
65
+ readonly type: "highlight";
66
+ })[]];
14
67
  readonly type: "mathInline";
15
- } | {
68
+ }, ...({
16
69
  readonly marks?: readonly [{
17
70
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
18
71
  } | {
@@ -40,12 +93,10 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
40
93
  })[]];
41
94
  readonly text: string;
42
95
  readonly type: "text";
43
- }, ...({
96
+ } | {
44
97
  readonly attrs: {
45
98
  readonly latex: string;
46
99
  };
47
- readonly type: "mathInline";
48
- } | {
49
100
  readonly marks?: readonly [{
50
101
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
51
102
  } | {
@@ -71,8 +122,7 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
71
122
  };
72
123
  readonly type: "highlight";
73
124
  })[]];
74
- readonly text: string;
75
- readonly type: "text";
125
+ readonly type: "mathInline";
76
126
  })[]], E, never, never>>;
77
127
  readonly title: RichSlot<E>;
78
128
  readonly angle: Schema.Finite;
@@ -93,11 +143,64 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
93
143
  WrenchTorqueLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
94
144
  readonly description: RichSlot<E>;
95
145
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
146
+ readonly marks?: readonly [{
147
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
148
+ } | {
149
+ readonly attrs: {
150
+ readonly href: string;
151
+ };
152
+ readonly type: "link";
153
+ } | {
154
+ readonly attrs: {
155
+ readonly variant: "success" | "warning" | null;
156
+ };
157
+ readonly type: "highlight";
158
+ }, ...({
159
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
160
+ } | {
161
+ readonly attrs: {
162
+ readonly href: string;
163
+ };
164
+ readonly type: "link";
165
+ } | {
166
+ readonly attrs: {
167
+ readonly variant: "success" | "warning" | null;
168
+ };
169
+ readonly type: "highlight";
170
+ })[]];
171
+ readonly text: string;
172
+ readonly type: "text";
173
+ } | {
96
174
  readonly attrs: {
97
175
  readonly latex: string;
98
176
  };
177
+ readonly marks?: readonly [{
178
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
179
+ } | {
180
+ readonly attrs: {
181
+ readonly href: string;
182
+ };
183
+ readonly type: "link";
184
+ } | {
185
+ readonly attrs: {
186
+ readonly variant: "success" | "warning" | null;
187
+ };
188
+ readonly type: "highlight";
189
+ }, ...({
190
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
191
+ } | {
192
+ readonly attrs: {
193
+ readonly href: string;
194
+ };
195
+ readonly type: "link";
196
+ } | {
197
+ readonly attrs: {
198
+ readonly variant: "success" | "warning" | null;
199
+ };
200
+ readonly type: "highlight";
201
+ })[]];
99
202
  readonly type: "mathInline";
100
- } | {
203
+ }, ...({
101
204
  readonly marks?: readonly [{
102
205
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
103
206
  } | {
@@ -125,12 +228,10 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
125
228
  })[]];
126
229
  readonly text: string;
127
230
  readonly type: "text";
128
- }, ...({
231
+ } | {
129
232
  readonly attrs: {
130
233
  readonly latex: string;
131
234
  };
132
- readonly type: "mathInline";
133
- } | {
134
235
  readonly marks?: readonly [{
135
236
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
136
237
  } | {
@@ -156,8 +257,7 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
156
257
  };
157
258
  readonly type: "highlight";
158
259
  })[]];
159
- readonly text: string;
160
- readonly type: "text";
260
+ readonly type: "mathInline";
161
261
  })[]], E, never, never>>;
162
262
  readonly title: RichSlot<E>;
163
263
  readonly angle: Schema.Finite;
@@ -174,11 +274,64 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
174
274
  SledPullWorkLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
175
275
  readonly description: RichSlot<E>;
176
276
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
277
+ readonly marks?: readonly [{
278
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
279
+ } | {
280
+ readonly attrs: {
281
+ readonly href: string;
282
+ };
283
+ readonly type: "link";
284
+ } | {
285
+ readonly attrs: {
286
+ readonly variant: "success" | "warning" | null;
287
+ };
288
+ readonly type: "highlight";
289
+ }, ...({
290
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
291
+ } | {
292
+ readonly attrs: {
293
+ readonly href: string;
294
+ };
295
+ readonly type: "link";
296
+ } | {
297
+ readonly attrs: {
298
+ readonly variant: "success" | "warning" | null;
299
+ };
300
+ readonly type: "highlight";
301
+ })[]];
302
+ readonly text: string;
303
+ readonly type: "text";
304
+ } | {
177
305
  readonly attrs: {
178
306
  readonly latex: string;
179
307
  };
308
+ readonly marks?: readonly [{
309
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
310
+ } | {
311
+ readonly attrs: {
312
+ readonly href: string;
313
+ };
314
+ readonly type: "link";
315
+ } | {
316
+ readonly attrs: {
317
+ readonly variant: "success" | "warning" | null;
318
+ };
319
+ readonly type: "highlight";
320
+ }, ...({
321
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
322
+ } | {
323
+ readonly attrs: {
324
+ readonly href: string;
325
+ };
326
+ readonly type: "link";
327
+ } | {
328
+ readonly attrs: {
329
+ readonly variant: "success" | "warning" | null;
330
+ };
331
+ readonly type: "highlight";
332
+ })[]];
180
333
  readonly type: "mathInline";
181
- } | {
334
+ }, ...({
182
335
  readonly marks?: readonly [{
183
336
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
184
337
  } | {
@@ -206,12 +359,10 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
206
359
  })[]];
207
360
  readonly text: string;
208
361
  readonly type: "text";
209
- }, ...({
362
+ } | {
210
363
  readonly attrs: {
211
364
  readonly latex: string;
212
365
  };
213
- readonly type: "mathInline";
214
- } | {
215
366
  readonly marks?: readonly [{
216
367
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
217
368
  } | {
@@ -237,8 +388,7 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
237
388
  };
238
389
  readonly type: "highlight";
239
390
  })[]];
240
- readonly text: string;
241
- readonly type: "text";
391
+ readonly type: "mathInline";
242
392
  })[]], E, never, never>>;
243
393
  readonly title: RichSlot<E>;
244
394
  readonly angle: Schema.Finite;
@@ -258,11 +408,64 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
258
408
  SolarPanelFluxLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
259
409
  readonly description: RichSlot<E>;
260
410
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
411
+ readonly marks?: readonly [{
412
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
413
+ } | {
414
+ readonly attrs: {
415
+ readonly href: string;
416
+ };
417
+ readonly type: "link";
418
+ } | {
419
+ readonly attrs: {
420
+ readonly variant: "success" | "warning" | null;
421
+ };
422
+ readonly type: "highlight";
423
+ }, ...({
424
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
425
+ } | {
426
+ readonly attrs: {
427
+ readonly href: string;
428
+ };
429
+ readonly type: "link";
430
+ } | {
431
+ readonly attrs: {
432
+ readonly variant: "success" | "warning" | null;
433
+ };
434
+ readonly type: "highlight";
435
+ })[]];
436
+ readonly text: string;
437
+ readonly type: "text";
438
+ } | {
261
439
  readonly attrs: {
262
440
  readonly latex: string;
263
441
  };
442
+ readonly marks?: readonly [{
443
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
444
+ } | {
445
+ readonly attrs: {
446
+ readonly href: string;
447
+ };
448
+ readonly type: "link";
449
+ } | {
450
+ readonly attrs: {
451
+ readonly variant: "success" | "warning" | null;
452
+ };
453
+ readonly type: "highlight";
454
+ }, ...({
455
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
456
+ } | {
457
+ readonly attrs: {
458
+ readonly href: string;
459
+ };
460
+ readonly type: "link";
461
+ } | {
462
+ readonly attrs: {
463
+ readonly variant: "success" | "warning" | null;
464
+ };
465
+ readonly type: "highlight";
466
+ })[]];
264
467
  readonly type: "mathInline";
265
- } | {
468
+ }, ...({
266
469
  readonly marks?: readonly [{
267
470
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
268
471
  } | {
@@ -290,12 +493,10 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
290
493
  })[]];
291
494
  readonly text: string;
292
495
  readonly type: "text";
293
- }, ...({
496
+ } | {
294
497
  readonly attrs: {
295
498
  readonly latex: string;
296
499
  };
297
- readonly type: "mathInline";
298
- } | {
299
500
  readonly marks?: readonly [{
300
501
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
301
502
  } | {
@@ -321,8 +522,7 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
321
522
  };
322
523
  readonly type: "highlight";
323
524
  })[]];
324
- readonly text: string;
325
- readonly type: "text";
525
+ readonly type: "mathInline";
326
526
  })[]], E, never, never>>;
327
527
  readonly title: RichSlot<E>;
328
528
  readonly area: Schema.Finite;
@@ -8,11 +8,64 @@ export declare function readingVisuals<E>(rich: RichSlot<E>): {
8
8
  MotionAreaLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
9
9
  readonly description: RichSlot<E>;
10
10
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
11
+ readonly marks?: readonly [{
12
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13
+ } | {
14
+ readonly attrs: {
15
+ readonly href: string;
16
+ };
17
+ readonly type: "link";
18
+ } | {
19
+ readonly attrs: {
20
+ readonly variant: "success" | "warning" | null;
21
+ };
22
+ readonly type: "highlight";
23
+ }, ...({
24
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
25
+ } | {
26
+ readonly attrs: {
27
+ readonly href: string;
28
+ };
29
+ readonly type: "link";
30
+ } | {
31
+ readonly attrs: {
32
+ readonly variant: "success" | "warning" | null;
33
+ };
34
+ readonly type: "highlight";
35
+ })[]];
36
+ readonly text: string;
37
+ readonly type: "text";
38
+ } | {
11
39
  readonly attrs: {
12
40
  readonly latex: string;
13
41
  };
42
+ readonly marks?: readonly [{
43
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
44
+ } | {
45
+ readonly attrs: {
46
+ readonly href: string;
47
+ };
48
+ readonly type: "link";
49
+ } | {
50
+ readonly attrs: {
51
+ readonly variant: "success" | "warning" | null;
52
+ };
53
+ readonly type: "highlight";
54
+ }, ...({
55
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
56
+ } | {
57
+ readonly attrs: {
58
+ readonly href: string;
59
+ };
60
+ readonly type: "link";
61
+ } | {
62
+ readonly attrs: {
63
+ readonly variant: "success" | "warning" | null;
64
+ };
65
+ readonly type: "highlight";
66
+ })[]];
14
67
  readonly type: "mathInline";
15
- } | {
68
+ }, ...({
16
69
  readonly marks?: readonly [{
17
70
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
18
71
  } | {
@@ -40,12 +93,10 @@ export declare function readingVisuals<E>(rich: RichSlot<E>): {
40
93
  })[]];
41
94
  readonly text: string;
42
95
  readonly type: "text";
43
- }, ...({
96
+ } | {
44
97
  readonly attrs: {
45
98
  readonly latex: string;
46
99
  };
47
- readonly type: "mathInline";
48
- } | {
49
100
  readonly marks?: readonly [{
50
101
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
51
102
  } | {
@@ -71,8 +122,7 @@ export declare function readingVisuals<E>(rich: RichSlot<E>): {
71
122
  };
72
123
  readonly type: "highlight";
73
124
  })[]];
74
- readonly text: string;
75
- readonly type: "text";
125
+ readonly type: "mathInline";
76
126
  })[]], E, never, never>>;
77
127
  readonly title: RichSlot<E>;
78
128
  readonly labels: Schema.Struct<{
@@ -89,11 +139,64 @@ export declare function readingVisuals<E>(rich: RichSlot<E>): {
89
139
  PendulumGraphLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
90
140
  readonly description: RichSlot<E>;
91
141
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
142
+ readonly marks?: readonly [{
143
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
144
+ } | {
145
+ readonly attrs: {
146
+ readonly href: string;
147
+ };
148
+ readonly type: "link";
149
+ } | {
150
+ readonly attrs: {
151
+ readonly variant: "success" | "warning" | null;
152
+ };
153
+ readonly type: "highlight";
154
+ }, ...({
155
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
156
+ } | {
157
+ readonly attrs: {
158
+ readonly href: string;
159
+ };
160
+ readonly type: "link";
161
+ } | {
162
+ readonly attrs: {
163
+ readonly variant: "success" | "warning" | null;
164
+ };
165
+ readonly type: "highlight";
166
+ })[]];
167
+ readonly text: string;
168
+ readonly type: "text";
169
+ } | {
92
170
  readonly attrs: {
93
171
  readonly latex: string;
94
172
  };
173
+ readonly marks?: readonly [{
174
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
175
+ } | {
176
+ readonly attrs: {
177
+ readonly href: string;
178
+ };
179
+ readonly type: "link";
180
+ } | {
181
+ readonly attrs: {
182
+ readonly variant: "success" | "warning" | null;
183
+ };
184
+ readonly type: "highlight";
185
+ }, ...({
186
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
187
+ } | {
188
+ readonly attrs: {
189
+ readonly href: string;
190
+ };
191
+ readonly type: "link";
192
+ } | {
193
+ readonly attrs: {
194
+ readonly variant: "success" | "warning" | null;
195
+ };
196
+ readonly type: "highlight";
197
+ })[]];
95
198
  readonly type: "mathInline";
96
- } | {
199
+ }, ...({
97
200
  readonly marks?: readonly [{
98
201
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
99
202
  } | {
@@ -121,12 +224,10 @@ export declare function readingVisuals<E>(rich: RichSlot<E>): {
121
224
  })[]];
122
225
  readonly text: string;
123
226
  readonly type: "text";
124
- }, ...({
227
+ } | {
125
228
  readonly attrs: {
126
229
  readonly latex: string;
127
230
  };
128
- readonly type: "mathInline";
129
- } | {
130
231
  readonly marks?: readonly [{
131
232
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
132
233
  } | {
@@ -152,8 +253,7 @@ export declare function readingVisuals<E>(rich: RichSlot<E>): {
152
253
  };
153
254
  readonly type: "highlight";
154
255
  })[]];
155
- readonly text: string;
156
- readonly type: "text";
256
+ readonly type: "mathInline";
157
257
  })[]], E, never, never>>;
158
258
  readonly title: RichSlot<E>;
159
259
  readonly gradient: Schema.Finite;
@@ -170,11 +270,64 @@ export declare function readingVisuals<E>(rich: RichSlot<E>): {
170
270
  ReadingSpreadLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
171
271
  readonly description: RichSlot<E>;
172
272
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
273
+ readonly marks?: readonly [{
274
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
275
+ } | {
276
+ readonly attrs: {
277
+ readonly href: string;
278
+ };
279
+ readonly type: "link";
280
+ } | {
281
+ readonly attrs: {
282
+ readonly variant: "success" | "warning" | null;
283
+ };
284
+ readonly type: "highlight";
285
+ }, ...({
286
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
287
+ } | {
288
+ readonly attrs: {
289
+ readonly href: string;
290
+ };
291
+ readonly type: "link";
292
+ } | {
293
+ readonly attrs: {
294
+ readonly variant: "success" | "warning" | null;
295
+ };
296
+ readonly type: "highlight";
297
+ })[]];
298
+ readonly text: string;
299
+ readonly type: "text";
300
+ } | {
173
301
  readonly attrs: {
174
302
  readonly latex: string;
175
303
  };
304
+ readonly marks?: readonly [{
305
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
306
+ } | {
307
+ readonly attrs: {
308
+ readonly href: string;
309
+ };
310
+ readonly type: "link";
311
+ } | {
312
+ readonly attrs: {
313
+ readonly variant: "success" | "warning" | null;
314
+ };
315
+ readonly type: "highlight";
316
+ }, ...({
317
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
318
+ } | {
319
+ readonly attrs: {
320
+ readonly href: string;
321
+ };
322
+ readonly type: "link";
323
+ } | {
324
+ readonly attrs: {
325
+ readonly variant: "success" | "warning" | null;
326
+ };
327
+ readonly type: "highlight";
328
+ })[]];
176
329
  readonly type: "mathInline";
177
- } | {
330
+ }, ...({
178
331
  readonly marks?: readonly [{
179
332
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
180
333
  } | {
@@ -202,12 +355,10 @@ export declare function readingVisuals<E>(rich: RichSlot<E>): {
202
355
  })[]];
203
356
  readonly text: string;
204
357
  readonly type: "text";
205
- }, ...({
358
+ } | {
206
359
  readonly attrs: {
207
360
  readonly latex: string;
208
361
  };
209
- readonly type: "mathInline";
210
- } | {
211
362
  readonly marks?: readonly [{
212
363
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
213
364
  } | {
@@ -233,8 +384,7 @@ export declare function readingVisuals<E>(rich: RichSlot<E>): {
233
384
  };
234
385
  readonly type: "highlight";
235
386
  })[]];
236
- readonly text: string;
237
- readonly type: "text";
387
+ readonly type: "mathInline";
238
388
  })[]], E, never, never>>;
239
389
  readonly title: RichSlot<E>;
240
390
  readonly actual: Schema.Finite;