@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 precisionVisuals<E>(rich: RichSlot<E>): {
8
8
  SignificantZerosLab: 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 precisionVisuals<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 precisionVisuals<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<{
@@ -90,11 +140,64 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
90
140
  DecimalSumLab: 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 precisionVisuals<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 precisionVisuals<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 labels: Schema.Struct<{
@@ -170,11 +270,64 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
170
270
  PaperStackLab: 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 precisionVisuals<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 precisionVisuals<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<{
@@ -248,11 +398,64 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
248
398
  BoltDimensionsLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
249
399
  readonly description: RichSlot<E>;
250
400
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
401
+ readonly marks?: readonly [{
402
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
403
+ } | {
404
+ readonly attrs: {
405
+ readonly href: string;
406
+ };
407
+ readonly type: "link";
408
+ } | {
409
+ readonly attrs: {
410
+ readonly variant: "success" | "warning" | null;
411
+ };
412
+ readonly type: "highlight";
413
+ }, ...({
414
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
415
+ } | {
416
+ readonly attrs: {
417
+ readonly href: string;
418
+ };
419
+ readonly type: "link";
420
+ } | {
421
+ readonly attrs: {
422
+ readonly variant: "success" | "warning" | null;
423
+ };
424
+ readonly type: "highlight";
425
+ })[]];
426
+ readonly text: string;
427
+ readonly type: "text";
428
+ } | {
251
429
  readonly attrs: {
252
430
  readonly latex: string;
253
431
  };
432
+ readonly marks?: readonly [{
433
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
434
+ } | {
435
+ readonly attrs: {
436
+ readonly href: string;
437
+ };
438
+ readonly type: "link";
439
+ } | {
440
+ readonly attrs: {
441
+ readonly variant: "success" | "warning" | null;
442
+ };
443
+ readonly type: "highlight";
444
+ }, ...({
445
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
446
+ } | {
447
+ readonly attrs: {
448
+ readonly href: string;
449
+ };
450
+ readonly type: "link";
451
+ } | {
452
+ readonly attrs: {
453
+ readonly variant: "success" | "warning" | null;
454
+ };
455
+ readonly type: "highlight";
456
+ })[]];
254
457
  readonly type: "mathInline";
255
- } | {
458
+ }, ...({
256
459
  readonly marks?: readonly [{
257
460
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
258
461
  } | {
@@ -280,12 +483,10 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
280
483
  })[]];
281
484
  readonly text: string;
282
485
  readonly type: "text";
283
- }, ...({
486
+ } | {
284
487
  readonly attrs: {
285
488
  readonly latex: string;
286
489
  };
287
- readonly type: "mathInline";
288
- } | {
289
490
  readonly marks?: readonly [{
290
491
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
291
492
  } | {
@@ -311,8 +512,7 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
311
512
  };
312
513
  readonly type: "highlight";
313
514
  })[]];
314
- readonly text: string;
315
- readonly type: "text";
515
+ readonly type: "mathInline";
316
516
  })[]], E, never, never>>;
317
517
  readonly title: RichSlot<E>;
318
518
  readonly labels: Schema.Struct<{
@@ -326,11 +526,64 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
326
526
  DensityMeasurementLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
327
527
  readonly description: RichSlot<E>;
328
528
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
529
+ readonly marks?: readonly [{
530
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
531
+ } | {
532
+ readonly attrs: {
533
+ readonly href: string;
534
+ };
535
+ readonly type: "link";
536
+ } | {
537
+ readonly attrs: {
538
+ readonly variant: "success" | "warning" | null;
539
+ };
540
+ readonly type: "highlight";
541
+ }, ...({
542
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
543
+ } | {
544
+ readonly attrs: {
545
+ readonly href: string;
546
+ };
547
+ readonly type: "link";
548
+ } | {
549
+ readonly attrs: {
550
+ readonly variant: "success" | "warning" | null;
551
+ };
552
+ readonly type: "highlight";
553
+ })[]];
554
+ readonly text: string;
555
+ readonly type: "text";
556
+ } | {
329
557
  readonly attrs: {
330
558
  readonly latex: string;
331
559
  };
560
+ readonly marks?: readonly [{
561
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
562
+ } | {
563
+ readonly attrs: {
564
+ readonly href: string;
565
+ };
566
+ readonly type: "link";
567
+ } | {
568
+ readonly attrs: {
569
+ readonly variant: "success" | "warning" | null;
570
+ };
571
+ readonly type: "highlight";
572
+ }, ...({
573
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
574
+ } | {
575
+ readonly attrs: {
576
+ readonly href: string;
577
+ };
578
+ readonly type: "link";
579
+ } | {
580
+ readonly attrs: {
581
+ readonly variant: "success" | "warning" | null;
582
+ };
583
+ readonly type: "highlight";
584
+ })[]];
332
585
  readonly type: "mathInline";
333
- } | {
586
+ }, ...({
334
587
  readonly marks?: readonly [{
335
588
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
336
589
  } | {
@@ -358,12 +611,10 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
358
611
  })[]];
359
612
  readonly text: string;
360
613
  readonly type: "text";
361
- }, ...({
614
+ } | {
362
615
  readonly attrs: {
363
616
  readonly latex: string;
364
617
  };
365
- readonly type: "mathInline";
366
- } | {
367
618
  readonly marks?: readonly [{
368
619
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
369
620
  } | {
@@ -389,8 +640,7 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
389
640
  };
390
641
  readonly type: "highlight";
391
642
  })[]];
392
- readonly text: string;
393
- readonly type: "text";
643
+ readonly type: "mathInline";
394
644
  })[]], E, never, never>>;
395
645
  readonly title: RichSlot<E>;
396
646
  readonly labels: Schema.Struct<{
@@ -407,11 +657,64 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
407
657
  CommonReferenceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
408
658
  readonly description: RichSlot<E>;
409
659
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
660
+ readonly marks?: readonly [{
661
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
662
+ } | {
663
+ readonly attrs: {
664
+ readonly href: string;
665
+ };
666
+ readonly type: "link";
667
+ } | {
668
+ readonly attrs: {
669
+ readonly variant: "success" | "warning" | null;
670
+ };
671
+ readonly type: "highlight";
672
+ }, ...({
673
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
674
+ } | {
675
+ readonly attrs: {
676
+ readonly href: string;
677
+ };
678
+ readonly type: "link";
679
+ } | {
680
+ readonly attrs: {
681
+ readonly variant: "success" | "warning" | null;
682
+ };
683
+ readonly type: "highlight";
684
+ })[]];
685
+ readonly text: string;
686
+ readonly type: "text";
687
+ } | {
410
688
  readonly attrs: {
411
689
  readonly latex: string;
412
690
  };
691
+ readonly marks?: readonly [{
692
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
693
+ } | {
694
+ readonly attrs: {
695
+ readonly href: string;
696
+ };
697
+ readonly type: "link";
698
+ } | {
699
+ readonly attrs: {
700
+ readonly variant: "success" | "warning" | null;
701
+ };
702
+ readonly type: "highlight";
703
+ }, ...({
704
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
705
+ } | {
706
+ readonly attrs: {
707
+ readonly href: string;
708
+ };
709
+ readonly type: "link";
710
+ } | {
711
+ readonly attrs: {
712
+ readonly variant: "success" | "warning" | null;
713
+ };
714
+ readonly type: "highlight";
715
+ })[]];
413
716
  readonly type: "mathInline";
414
- } | {
717
+ }, ...({
415
718
  readonly marks?: readonly [{
416
719
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
417
720
  } | {
@@ -439,12 +742,10 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
439
742
  })[]];
440
743
  readonly text: string;
441
744
  readonly type: "text";
442
- }, ...({
745
+ } | {
443
746
  readonly attrs: {
444
747
  readonly latex: string;
445
748
  };
446
- readonly type: "mathInline";
447
- } | {
448
749
  readonly marks?: readonly [{
449
750
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
450
751
  } | {
@@ -470,8 +771,7 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
470
771
  };
471
772
  readonly type: "highlight";
472
773
  })[]];
473
- readonly text: string;
474
- readonly type: "text";
774
+ readonly type: "mathInline";
475
775
  })[]], E, never, never>>;
476
776
  readonly title: RichSlot<E>;
477
777
  readonly labels: Schema.Struct<{
@@ -486,11 +786,64 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
486
786
  UnitSystemsLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
487
787
  readonly description: RichSlot<E>;
488
788
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
789
+ readonly marks?: readonly [{
790
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
791
+ } | {
792
+ readonly attrs: {
793
+ readonly href: string;
794
+ };
795
+ readonly type: "link";
796
+ } | {
797
+ readonly attrs: {
798
+ readonly variant: "success" | "warning" | null;
799
+ };
800
+ readonly type: "highlight";
801
+ }, ...({
802
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
803
+ } | {
804
+ readonly attrs: {
805
+ readonly href: string;
806
+ };
807
+ readonly type: "link";
808
+ } | {
809
+ readonly attrs: {
810
+ readonly variant: "success" | "warning" | null;
811
+ };
812
+ readonly type: "highlight";
813
+ })[]];
814
+ readonly text: string;
815
+ readonly type: "text";
816
+ } | {
489
817
  readonly attrs: {
490
818
  readonly latex: string;
491
819
  };
820
+ readonly marks?: readonly [{
821
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
822
+ } | {
823
+ readonly attrs: {
824
+ readonly href: string;
825
+ };
826
+ readonly type: "link";
827
+ } | {
828
+ readonly attrs: {
829
+ readonly variant: "success" | "warning" | null;
830
+ };
831
+ readonly type: "highlight";
832
+ }, ...({
833
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
834
+ } | {
835
+ readonly attrs: {
836
+ readonly href: string;
837
+ };
838
+ readonly type: "link";
839
+ } | {
840
+ readonly attrs: {
841
+ readonly variant: "success" | "warning" | null;
842
+ };
843
+ readonly type: "highlight";
844
+ })[]];
492
845
  readonly type: "mathInline";
493
- } | {
846
+ }, ...({
494
847
  readonly marks?: readonly [{
495
848
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
496
849
  } | {
@@ -518,12 +871,10 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
518
871
  })[]];
519
872
  readonly text: string;
520
873
  readonly type: "text";
521
- }, ...({
874
+ } | {
522
875
  readonly attrs: {
523
876
  readonly latex: string;
524
877
  };
525
- readonly type: "mathInline";
526
- } | {
527
878
  readonly marks?: readonly [{
528
879
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
529
880
  } | {
@@ -549,8 +900,7 @@ export declare function precisionVisuals<E>(rich: RichSlot<E>): {
549
900
  };
550
901
  readonly type: "highlight";
551
902
  })[]];
552
- readonly text: string;
553
- readonly type: "text";
903
+ readonly type: "mathInline";
554
904
  })[]], E, never, never>>;
555
905
  readonly title: RichSlot<E>;
556
906
  readonly labels: Schema.Struct<{