@nakafa/aksara-contracts 8.8.0 → 8.10.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 (110) hide show
  1. package/dist/assessment/answer.d.ts +2 -0
  2. package/dist/assessment/answer.js +5 -3
  3. package/dist/assessment/choice.d.ts +26 -0
  4. package/dist/assessment/closure.js +2 -1
  5. package/dist/assessment/document.d.ts +39 -0
  6. package/dist/assessment/figure.d.ts +13 -0
  7. package/dist/assessment/fit.d.ts +16 -2
  8. package/dist/assessment/fit.js +23 -5
  9. package/dist/assessment/graphic.d.ts +27 -0
  10. package/dist/assessment/graphic.js +17 -1
  11. package/dist/assessment/hash.d.ts +777 -109
  12. package/dist/assessment/inline.d.ts +53 -0
  13. package/dist/assessment/inline.js +1 -0
  14. package/dist/assessment/interaction.d.ts +44 -1
  15. package/dist/assessment/interaction.js +2 -1
  16. package/dist/assessment/item.d.ts +500 -37
  17. package/dist/assessment/item.js +1 -1
  18. package/dist/assessment/joint.d.ts +4 -3
  19. package/dist/assessment/joint.js +4 -3
  20. package/dist/assessment/key.d.ts +138 -0
  21. package/dist/assessment/key.js +6 -0
  22. package/dist/assessment/paper.d.ts +1006 -90
  23. package/dist/assessment/part.d.ts +13 -0
  24. package/dist/assessment/profile.d.ts +3 -3
  25. package/dist/assessment/profile.js +4 -4
  26. package/dist/assessment/rows.d.ts +621 -39
  27. package/dist/assessment/scoring.d.ts +12 -6
  28. package/dist/assessment/scoring.js +25 -8
  29. package/dist/assessment/sketch.d.ts +125 -0
  30. package/dist/assessment/sketch.js +175 -0
  31. package/dist/assessment/snapshot.d.ts +1479 -91
  32. package/dist/assessment/structure.js +4 -4
  33. package/dist/release/snapshot/data.d.ts +114 -2
  34. package/dist/release/snapshot/verify.d.ts +621 -39
  35. package/dist/transport/group.d.ts +342 -6
  36. package/dist/transport/request.d.ts +4032 -316
  37. package/dist/transport/snapshot.d.ts +228 -4
  38. package/dist/visual/base/math.d.ts +56 -6
  39. package/dist/visual/base/media.d.ts +56 -6
  40. package/dist/visual/biology/bacteria.d.ts +224 -24
  41. package/dist/visual/biology/blood.d.ts +56 -6
  42. package/dist/visual/biology/cell.d.ts +168 -18
  43. package/dist/visual/biology/climate.d.ts +168 -18
  44. package/dist/visual/biology/ecology.d.ts +224 -24
  45. package/dist/visual/biology/heart.d.ts +56 -6
  46. package/dist/visual/biology/mitochondrion.d.ts +56 -6
  47. package/dist/visual/biology/muscle.d.ts +56 -6
  48. package/dist/visual/biology/neuron.d.ts +56 -6
  49. package/dist/visual/biology/paddy.d.ts +56 -6
  50. package/dist/visual/biology/physiology.d.ts +168 -18
  51. package/dist/visual/biology/plant.d.ts +280 -30
  52. package/dist/visual/biology/synapse.d.ts +56 -6
  53. package/dist/visual/biology/vessel.d.ts +56 -6
  54. package/dist/visual/biology/yeast.d.ts +56 -6
  55. package/dist/visual/card.d.ts +56 -6
  56. package/dist/visual/catalog.d.ts +16734 -5484
  57. package/dist/visual/chemistry/atom.d.ts +168 -18
  58. package/dist/visual/chemistry/balance.d.ts +280 -30
  59. package/dist/visual/chemistry/bonding.d.ts +280 -30
  60. package/dist/visual/chemistry/discovery.d.ts +392 -42
  61. package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
  62. package/dist/visual/chemistry/electron.d.ts +112 -12
  63. package/dist/visual/chemistry/laws.d.ts +224 -24
  64. package/dist/visual/chemistry/particles.d.ts +280 -30
  65. package/dist/visual/chemistry/periodic.d.ts +112 -12
  66. package/dist/visual/chemistry/rate.d.ts +56 -6
  67. package/dist/visual/chemistry/reaction.d.ts +168 -18
  68. package/dist/visual/chemistry/titration.d.ts +56 -6
  69. package/dist/visual/length.d.ts +56 -6
  70. package/dist/visual/mathematics/chance.d.ts +168 -18
  71. package/dist/visual/mathematics/chart.d.ts +56 -6
  72. package/dist/visual/mathematics/charts.d.ts +280 -30
  73. package/dist/visual/mathematics/function.d.ts +168 -18
  74. package/dist/visual/mathematics/journey.d.ts +56 -6
  75. package/dist/visual/mathematics/logic.d.ts +56 -6
  76. package/dist/visual/mathematics/network.d.ts +56 -6
  77. package/dist/visual/mathematics/numeral.d.ts +168 -18
  78. package/dist/visual/mathematics/sets.d.ts +56 -6
  79. package/dist/visual/physics/braking.d.ts +224 -24
  80. package/dist/visual/physics/circuit.d.ts +224 -24
  81. package/dist/visual/physics/circular.d.ts +112 -12
  82. package/dist/visual/physics/dynamics.d.ts +392 -42
  83. package/dist/visual/physics/efficiency.d.ts +336 -36
  84. package/dist/visual/physics/electronics.d.ts +168 -18
  85. package/dist/visual/physics/falling.d.ts +224 -24
  86. package/dist/visual/physics/field.d.ts +168 -18
  87. package/dist/visual/physics/fluid.d.ts +224 -24
  88. package/dist/visual/physics/force.d.ts +280 -30
  89. package/dist/visual/physics/gravity.d.ts +112 -12
  90. package/dist/visual/physics/heat.d.ts +168 -18
  91. package/dist/visual/physics/instrument.d.ts +392 -42
  92. package/dist/visual/physics/light.d.ts +224 -24
  93. package/dist/visual/physics/measurement.d.ts +224 -24
  94. package/dist/visual/physics/motion.d.ts +336 -36
  95. package/dist/visual/physics/nuclear.d.ts +168 -18
  96. package/dist/visual/physics/parabolic.d.ts +56 -6
  97. package/dist/visual/physics/position.d.ts +336 -36
  98. package/dist/visual/physics/power.d.ts +448 -48
  99. package/dist/visual/physics/precision.d.ts +392 -42
  100. package/dist/visual/physics/product.d.ts +224 -24
  101. package/dist/visual/physics/reading.d.ts +168 -18
  102. package/dist/visual/physics/record.d.ts +112 -12
  103. package/dist/visual/physics/relative.d.ts +168 -18
  104. package/dist/visual/physics/solar.d.ts +336 -36
  105. package/dist/visual/physics/thermodynamics.d.ts +56 -6
  106. package/dist/visual/physics/vector.d.ts +280 -30
  107. package/dist/visual/physics/velocity.d.ts +392 -42
  108. package/dist/visual/physics/wave.d.ts +224 -24
  109. package/dist/visual/politics.d.ts +336 -36
  110. package/package.json +2 -2
@@ -8,11 +8,64 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
8
8
  HydroDamLab: 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 powerVisuals<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 powerVisuals<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 head: Schema.optionalKey<Schema.Finite>;
@@ -90,11 +140,64 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
90
140
  MicrohydroLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
91
141
  readonly description: RichSlot<E>;
92
142
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
143
+ readonly marks?: readonly [{
144
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
145
+ } | {
146
+ readonly attrs: {
147
+ readonly href: string;
148
+ };
149
+ readonly type: "link";
150
+ } | {
151
+ readonly attrs: {
152
+ readonly variant: "success" | "warning" | null;
153
+ };
154
+ readonly type: "highlight";
155
+ }, ...({
156
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
157
+ } | {
158
+ readonly attrs: {
159
+ readonly href: string;
160
+ };
161
+ readonly type: "link";
162
+ } | {
163
+ readonly attrs: {
164
+ readonly variant: "success" | "warning" | null;
165
+ };
166
+ readonly type: "highlight";
167
+ })[]];
168
+ readonly text: string;
169
+ readonly type: "text";
170
+ } | {
93
171
  readonly attrs: {
94
172
  readonly latex: string;
95
173
  };
174
+ readonly marks?: readonly [{
175
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
176
+ } | {
177
+ readonly attrs: {
178
+ readonly href: string;
179
+ };
180
+ readonly type: "link";
181
+ } | {
182
+ readonly attrs: {
183
+ readonly variant: "success" | "warning" | null;
184
+ };
185
+ readonly type: "highlight";
186
+ }, ...({
187
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
188
+ } | {
189
+ readonly attrs: {
190
+ readonly href: string;
191
+ };
192
+ readonly type: "link";
193
+ } | {
194
+ readonly attrs: {
195
+ readonly variant: "success" | "warning" | null;
196
+ };
197
+ readonly type: "highlight";
198
+ })[]];
96
199
  readonly type: "mathInline";
97
- } | {
200
+ }, ...({
98
201
  readonly marks?: readonly [{
99
202
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
100
203
  } | {
@@ -122,12 +225,10 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
122
225
  })[]];
123
226
  readonly text: string;
124
227
  readonly type: "text";
125
- }, ...({
228
+ } | {
126
229
  readonly attrs: {
127
230
  readonly latex: string;
128
231
  };
129
- readonly type: "mathInline";
130
- } | {
131
232
  readonly marks?: readonly [{
132
233
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
133
234
  } | {
@@ -153,8 +254,7 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
153
254
  };
154
255
  readonly type: "highlight";
155
256
  })[]];
156
- readonly text: string;
157
- readonly type: "text";
257
+ readonly type: "mathInline";
158
258
  })[]], E, never, never>>;
159
259
  readonly title: RichSlot<E>;
160
260
  readonly flow: Schema.optionalKey<Schema.Finite>;
@@ -170,11 +270,64 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
170
270
  WaveBuoyPowerLab: 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 powerVisuals<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 powerVisuals<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 labels: Schema.Struct<{
@@ -251,11 +401,64 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
251
401
  WindRotorLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
252
402
  readonly description: RichSlot<E>;
253
403
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
404
+ readonly marks?: readonly [{
405
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
406
+ } | {
407
+ readonly attrs: {
408
+ readonly href: string;
409
+ };
410
+ readonly type: "link";
411
+ } | {
412
+ readonly attrs: {
413
+ readonly variant: "success" | "warning" | null;
414
+ };
415
+ readonly type: "highlight";
416
+ }, ...({
417
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
418
+ } | {
419
+ readonly attrs: {
420
+ readonly href: string;
421
+ };
422
+ readonly type: "link";
423
+ } | {
424
+ readonly attrs: {
425
+ readonly variant: "success" | "warning" | null;
426
+ };
427
+ readonly type: "highlight";
428
+ })[]];
429
+ readonly text: string;
430
+ readonly type: "text";
431
+ } | {
254
432
  readonly attrs: {
255
433
  readonly latex: string;
256
434
  };
435
+ readonly marks?: readonly [{
436
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
437
+ } | {
438
+ readonly attrs: {
439
+ readonly href: string;
440
+ };
441
+ readonly type: "link";
442
+ } | {
443
+ readonly attrs: {
444
+ readonly variant: "success" | "warning" | null;
445
+ };
446
+ readonly type: "highlight";
447
+ }, ...({
448
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
449
+ } | {
450
+ readonly attrs: {
451
+ readonly href: string;
452
+ };
453
+ readonly type: "link";
454
+ } | {
455
+ readonly attrs: {
456
+ readonly variant: "success" | "warning" | null;
457
+ };
458
+ readonly type: "highlight";
459
+ })[]];
257
460
  readonly type: "mathInline";
258
- } | {
461
+ }, ...({
259
462
  readonly marks?: readonly [{
260
463
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
261
464
  } | {
@@ -283,12 +486,10 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
283
486
  })[]];
284
487
  readonly text: string;
285
488
  readonly type: "text";
286
- }, ...({
489
+ } | {
287
490
  readonly attrs: {
288
491
  readonly latex: string;
289
492
  };
290
- readonly type: "mathInline";
291
- } | {
292
493
  readonly marks?: readonly [{
293
494
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
294
495
  } | {
@@ -314,8 +515,7 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
314
515
  };
315
516
  readonly type: "highlight";
316
517
  })[]];
317
- readonly text: string;
318
- readonly type: "text";
518
+ readonly type: "mathInline";
319
519
  })[]], E, never, never>>;
320
520
  readonly title: RichSlot<E>;
321
521
  readonly labels: Schema.Struct<{
@@ -332,11 +532,64 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
332
532
  GeothermalLoopLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
333
533
  readonly description: RichSlot<E>;
334
534
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
535
+ readonly marks?: readonly [{
536
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
537
+ } | {
538
+ readonly attrs: {
539
+ readonly href: string;
540
+ };
541
+ readonly type: "link";
542
+ } | {
543
+ readonly attrs: {
544
+ readonly variant: "success" | "warning" | null;
545
+ };
546
+ readonly type: "highlight";
547
+ }, ...({
548
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
549
+ } | {
550
+ readonly attrs: {
551
+ readonly href: string;
552
+ };
553
+ readonly type: "link";
554
+ } | {
555
+ readonly attrs: {
556
+ readonly variant: "success" | "warning" | null;
557
+ };
558
+ readonly type: "highlight";
559
+ })[]];
560
+ readonly text: string;
561
+ readonly type: "text";
562
+ } | {
335
563
  readonly attrs: {
336
564
  readonly latex: string;
337
565
  };
566
+ readonly marks?: readonly [{
567
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
568
+ } | {
569
+ readonly attrs: {
570
+ readonly href: string;
571
+ };
572
+ readonly type: "link";
573
+ } | {
574
+ readonly attrs: {
575
+ readonly variant: "success" | "warning" | null;
576
+ };
577
+ readonly type: "highlight";
578
+ }, ...({
579
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
580
+ } | {
581
+ readonly attrs: {
582
+ readonly href: string;
583
+ };
584
+ readonly type: "link";
585
+ } | {
586
+ readonly attrs: {
587
+ readonly variant: "success" | "warning" | null;
588
+ };
589
+ readonly type: "highlight";
590
+ })[]];
338
591
  readonly type: "mathInline";
339
- } | {
592
+ }, ...({
340
593
  readonly marks?: readonly [{
341
594
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
342
595
  } | {
@@ -364,12 +617,10 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
364
617
  })[]];
365
618
  readonly text: string;
366
619
  readonly type: "text";
367
- }, ...({
620
+ } | {
368
621
  readonly attrs: {
369
622
  readonly latex: string;
370
623
  };
371
- readonly type: "mathInline";
372
- } | {
373
624
  readonly marks?: readonly [{
374
625
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
375
626
  } | {
@@ -395,8 +646,7 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
395
646
  };
396
647
  readonly type: "highlight";
397
648
  })[]];
398
- readonly text: string;
399
- readonly type: "text";
649
+ readonly type: "mathInline";
400
650
  })[]], E, never, never>>;
401
651
  readonly title: RichSlot<E>;
402
652
  readonly labels: Schema.Struct<{
@@ -412,11 +662,64 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
412
662
  BiogasDigesterLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
413
663
  readonly description: RichSlot<E>;
414
664
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
665
+ readonly marks?: readonly [{
666
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
667
+ } | {
668
+ readonly attrs: {
669
+ readonly href: string;
670
+ };
671
+ readonly type: "link";
672
+ } | {
673
+ readonly attrs: {
674
+ readonly variant: "success" | "warning" | null;
675
+ };
676
+ readonly type: "highlight";
677
+ }, ...({
678
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
679
+ } | {
680
+ readonly attrs: {
681
+ readonly href: string;
682
+ };
683
+ readonly type: "link";
684
+ } | {
685
+ readonly attrs: {
686
+ readonly variant: "success" | "warning" | null;
687
+ };
688
+ readonly type: "highlight";
689
+ })[]];
690
+ readonly text: string;
691
+ readonly type: "text";
692
+ } | {
415
693
  readonly attrs: {
416
694
  readonly latex: string;
417
695
  };
696
+ readonly marks?: readonly [{
697
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
698
+ } | {
699
+ readonly attrs: {
700
+ readonly href: string;
701
+ };
702
+ readonly type: "link";
703
+ } | {
704
+ readonly attrs: {
705
+ readonly variant: "success" | "warning" | null;
706
+ };
707
+ readonly type: "highlight";
708
+ }, ...({
709
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
710
+ } | {
711
+ readonly attrs: {
712
+ readonly href: string;
713
+ };
714
+ readonly type: "link";
715
+ } | {
716
+ readonly attrs: {
717
+ readonly variant: "success" | "warning" | null;
718
+ };
719
+ readonly type: "highlight";
720
+ })[]];
418
721
  readonly type: "mathInline";
419
- } | {
722
+ }, ...({
420
723
  readonly marks?: readonly [{
421
724
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
422
725
  } | {
@@ -444,12 +747,10 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
444
747
  })[]];
445
748
  readonly text: string;
446
749
  readonly type: "text";
447
- }, ...({
750
+ } | {
448
751
  readonly attrs: {
449
752
  readonly latex: string;
450
753
  };
451
- readonly type: "mathInline";
452
- } | {
453
754
  readonly marks?: readonly [{
454
755
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
455
756
  } | {
@@ -475,8 +776,7 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
475
776
  };
476
777
  readonly type: "highlight";
477
778
  })[]];
478
- readonly text: string;
479
- readonly type: "text";
779
+ readonly type: "mathInline";
480
780
  })[]], E, never, never>>;
481
781
  readonly title: RichSlot<E>;
482
782
  readonly dung: Schema.optionalKey<Schema.Finite>;
@@ -492,11 +792,64 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
492
792
  SteamPlantCycleLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
493
793
  readonly description: RichSlot<E>;
494
794
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
795
+ readonly marks?: readonly [{
796
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
797
+ } | {
798
+ readonly attrs: {
799
+ readonly href: string;
800
+ };
801
+ readonly type: "link";
802
+ } | {
803
+ readonly attrs: {
804
+ readonly variant: "success" | "warning" | null;
805
+ };
806
+ readonly type: "highlight";
807
+ }, ...({
808
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
809
+ } | {
810
+ readonly attrs: {
811
+ readonly href: string;
812
+ };
813
+ readonly type: "link";
814
+ } | {
815
+ readonly attrs: {
816
+ readonly variant: "success" | "warning" | null;
817
+ };
818
+ readonly type: "highlight";
819
+ })[]];
820
+ readonly text: string;
821
+ readonly type: "text";
822
+ } | {
495
823
  readonly attrs: {
496
824
  readonly latex: string;
497
825
  };
826
+ readonly marks?: readonly [{
827
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
828
+ } | {
829
+ readonly attrs: {
830
+ readonly href: string;
831
+ };
832
+ readonly type: "link";
833
+ } | {
834
+ readonly attrs: {
835
+ readonly variant: "success" | "warning" | null;
836
+ };
837
+ readonly type: "highlight";
838
+ }, ...({
839
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
840
+ } | {
841
+ readonly attrs: {
842
+ readonly href: string;
843
+ };
844
+ readonly type: "link";
845
+ } | {
846
+ readonly attrs: {
847
+ readonly variant: "success" | "warning" | null;
848
+ };
849
+ readonly type: "highlight";
850
+ })[]];
498
851
  readonly type: "mathInline";
499
- } | {
852
+ }, ...({
500
853
  readonly marks?: readonly [{
501
854
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
502
855
  } | {
@@ -524,12 +877,10 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
524
877
  })[]];
525
878
  readonly text: string;
526
879
  readonly type: "text";
527
- }, ...({
880
+ } | {
528
881
  readonly attrs: {
529
882
  readonly latex: string;
530
883
  };
531
- readonly type: "mathInline";
532
- } | {
533
884
  readonly marks?: readonly [{
534
885
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
535
886
  } | {
@@ -555,8 +906,7 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
555
906
  };
556
907
  readonly type: "highlight";
557
908
  })[]];
558
- readonly text: string;
559
- readonly type: "text";
909
+ readonly type: "mathInline";
560
910
  })[]], E, never, never>>;
561
911
  readonly title: RichSlot<E>;
562
912
  readonly fuel: Schema.optionalKey<Schema.Literals<readonly ["coal", "gas", "uranium"]>>;
@@ -575,11 +925,64 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
575
925
  FuelCombustionCarbonLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
576
926
  readonly description: RichSlot<E>;
577
927
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
928
+ readonly marks?: readonly [{
929
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
930
+ } | {
931
+ readonly attrs: {
932
+ readonly href: string;
933
+ };
934
+ readonly type: "link";
935
+ } | {
936
+ readonly attrs: {
937
+ readonly variant: "success" | "warning" | null;
938
+ };
939
+ readonly type: "highlight";
940
+ }, ...({
941
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
942
+ } | {
943
+ readonly attrs: {
944
+ readonly href: string;
945
+ };
946
+ readonly type: "link";
947
+ } | {
948
+ readonly attrs: {
949
+ readonly variant: "success" | "warning" | null;
950
+ };
951
+ readonly type: "highlight";
952
+ })[]];
953
+ readonly text: string;
954
+ readonly type: "text";
955
+ } | {
578
956
  readonly attrs: {
579
957
  readonly latex: string;
580
958
  };
959
+ readonly marks?: readonly [{
960
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
961
+ } | {
962
+ readonly attrs: {
963
+ readonly href: string;
964
+ };
965
+ readonly type: "link";
966
+ } | {
967
+ readonly attrs: {
968
+ readonly variant: "success" | "warning" | null;
969
+ };
970
+ readonly type: "highlight";
971
+ }, ...({
972
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
973
+ } | {
974
+ readonly attrs: {
975
+ readonly href: string;
976
+ };
977
+ readonly type: "link";
978
+ } | {
979
+ readonly attrs: {
980
+ readonly variant: "success" | "warning" | null;
981
+ };
982
+ readonly type: "highlight";
983
+ })[]];
581
984
  readonly type: "mathInline";
582
- } | {
985
+ }, ...({
583
986
  readonly marks?: readonly [{
584
987
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
585
988
  } | {
@@ -607,12 +1010,10 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
607
1010
  })[]];
608
1011
  readonly text: string;
609
1012
  readonly type: "text";
610
- }, ...({
1013
+ } | {
611
1014
  readonly attrs: {
612
1015
  readonly latex: string;
613
1016
  };
614
- readonly type: "mathInline";
615
- } | {
616
1017
  readonly marks?: readonly [{
617
1018
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
618
1019
  } | {
@@ -638,8 +1039,7 @@ export declare function powerVisuals<E>(rich: RichSlot<E>): {
638
1039
  };
639
1040
  readonly type: "highlight";
640
1041
  })[]];
641
- readonly text: string;
642
- readonly type: "text";
1042
+ readonly type: "mathInline";
643
1043
  })[]], E, never, never>>;
644
1044
  readonly title: RichSlot<E>;
645
1045
  readonly fuel: Schema.optionalKey<Schema.Literals<readonly ["coal", "diesel", "methane"]>>;