@nakafa/aksara-contracts 8.9.1 → 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 (90) 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/blood.d.ts +56 -6
  22. package/dist/visual/biology/cell.d.ts +168 -18
  23. package/dist/visual/biology/climate.d.ts +168 -18
  24. package/dist/visual/biology/ecology.d.ts +224 -24
  25. package/dist/visual/biology/heart.d.ts +56 -6
  26. package/dist/visual/biology/mitochondrion.d.ts +56 -6
  27. package/dist/visual/biology/muscle.d.ts +56 -6
  28. package/dist/visual/biology/neuron.d.ts +56 -6
  29. package/dist/visual/biology/paddy.d.ts +56 -6
  30. package/dist/visual/biology/physiology.d.ts +168 -18
  31. package/dist/visual/biology/plant.d.ts +280 -30
  32. package/dist/visual/biology/synapse.d.ts +56 -6
  33. package/dist/visual/biology/vessel.d.ts +56 -6
  34. package/dist/visual/biology/yeast.d.ts +56 -6
  35. package/dist/visual/card.d.ts +56 -6
  36. package/dist/visual/catalog.d.ts +16734 -5484
  37. package/dist/visual/chemistry/atom.d.ts +168 -18
  38. package/dist/visual/chemistry/balance.d.ts +280 -30
  39. package/dist/visual/chemistry/bonding.d.ts +280 -30
  40. package/dist/visual/chemistry/discovery.d.ts +392 -42
  41. package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
  42. package/dist/visual/chemistry/electron.d.ts +112 -12
  43. package/dist/visual/chemistry/laws.d.ts +224 -24
  44. package/dist/visual/chemistry/particles.d.ts +280 -30
  45. package/dist/visual/chemistry/periodic.d.ts +112 -12
  46. package/dist/visual/chemistry/rate.d.ts +56 -6
  47. package/dist/visual/chemistry/reaction.d.ts +168 -18
  48. package/dist/visual/chemistry/titration.d.ts +56 -6
  49. package/dist/visual/length.d.ts +56 -6
  50. package/dist/visual/mathematics/chance.d.ts +168 -18
  51. package/dist/visual/mathematics/chart.d.ts +56 -6
  52. package/dist/visual/mathematics/charts.d.ts +280 -30
  53. package/dist/visual/mathematics/function.d.ts +168 -18
  54. package/dist/visual/mathematics/journey.d.ts +56 -6
  55. package/dist/visual/mathematics/logic.d.ts +56 -6
  56. package/dist/visual/mathematics/network.d.ts +56 -6
  57. package/dist/visual/mathematics/numeral.d.ts +168 -18
  58. package/dist/visual/mathematics/sets.d.ts +56 -6
  59. package/dist/visual/physics/braking.d.ts +224 -24
  60. package/dist/visual/physics/circuit.d.ts +224 -24
  61. package/dist/visual/physics/circular.d.ts +112 -12
  62. package/dist/visual/physics/dynamics.d.ts +392 -42
  63. package/dist/visual/physics/efficiency.d.ts +336 -36
  64. package/dist/visual/physics/electronics.d.ts +168 -18
  65. package/dist/visual/physics/falling.d.ts +224 -24
  66. package/dist/visual/physics/field.d.ts +168 -18
  67. package/dist/visual/physics/fluid.d.ts +224 -24
  68. package/dist/visual/physics/force.d.ts +280 -30
  69. package/dist/visual/physics/gravity.d.ts +112 -12
  70. package/dist/visual/physics/heat.d.ts +168 -18
  71. package/dist/visual/physics/instrument.d.ts +392 -42
  72. package/dist/visual/physics/light.d.ts +224 -24
  73. package/dist/visual/physics/measurement.d.ts +224 -24
  74. package/dist/visual/physics/motion.d.ts +336 -36
  75. package/dist/visual/physics/nuclear.d.ts +168 -18
  76. package/dist/visual/physics/parabolic.d.ts +56 -6
  77. package/dist/visual/physics/position.d.ts +336 -36
  78. package/dist/visual/physics/power.d.ts +448 -48
  79. package/dist/visual/physics/precision.d.ts +392 -42
  80. package/dist/visual/physics/product.d.ts +224 -24
  81. package/dist/visual/physics/reading.d.ts +168 -18
  82. package/dist/visual/physics/record.d.ts +112 -12
  83. package/dist/visual/physics/relative.d.ts +168 -18
  84. package/dist/visual/physics/solar.d.ts +336 -36
  85. package/dist/visual/physics/thermodynamics.d.ts +56 -6
  86. package/dist/visual/physics/vector.d.ts +280 -30
  87. package/dist/visual/physics/velocity.d.ts +392 -42
  88. package/dist/visual/physics/wave.d.ts +224 -24
  89. package/dist/visual/politics.d.ts +336 -36
  90. package/package.json +1 -1
@@ -8,11 +8,64 @@ export declare function forceVisuals<E>(rich: RichSlot<E>): {
8
8
  ForceTableResultantLab: 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 forceVisuals<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 forceVisuals<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<{
@@ -92,11 +142,64 @@ export declare function forceVisuals<E>(rich: RichSlot<E>): {
92
142
  TugOfWarForceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
93
143
  readonly description: RichSlot<E>;
94
144
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
145
+ readonly marks?: readonly [{
146
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
147
+ } | {
148
+ readonly attrs: {
149
+ readonly href: string;
150
+ };
151
+ readonly type: "link";
152
+ } | {
153
+ readonly attrs: {
154
+ readonly variant: "success" | "warning" | null;
155
+ };
156
+ readonly type: "highlight";
157
+ }, ...({
158
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
159
+ } | {
160
+ readonly attrs: {
161
+ readonly href: string;
162
+ };
163
+ readonly type: "link";
164
+ } | {
165
+ readonly attrs: {
166
+ readonly variant: "success" | "warning" | null;
167
+ };
168
+ readonly type: "highlight";
169
+ })[]];
170
+ readonly text: string;
171
+ readonly type: "text";
172
+ } | {
95
173
  readonly attrs: {
96
174
  readonly latex: string;
97
175
  };
176
+ readonly marks?: readonly [{
177
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
178
+ } | {
179
+ readonly attrs: {
180
+ readonly href: string;
181
+ };
182
+ readonly type: "link";
183
+ } | {
184
+ readonly attrs: {
185
+ readonly variant: "success" | "warning" | null;
186
+ };
187
+ readonly type: "highlight";
188
+ }, ...({
189
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
190
+ } | {
191
+ readonly attrs: {
192
+ readonly href: string;
193
+ };
194
+ readonly type: "link";
195
+ } | {
196
+ readonly attrs: {
197
+ readonly variant: "success" | "warning" | null;
198
+ };
199
+ readonly type: "highlight";
200
+ })[]];
98
201
  readonly type: "mathInline";
99
- } | {
202
+ }, ...({
100
203
  readonly marks?: readonly [{
101
204
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
102
205
  } | {
@@ -124,12 +227,10 @@ export declare function forceVisuals<E>(rich: RichSlot<E>): {
124
227
  })[]];
125
228
  readonly text: string;
126
229
  readonly type: "text";
127
- }, ...({
230
+ } | {
128
231
  readonly attrs: {
129
232
  readonly latex: string;
130
233
  };
131
- readonly type: "mathInline";
132
- } | {
133
234
  readonly marks?: readonly [{
134
235
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
135
236
  } | {
@@ -155,8 +256,7 @@ export declare function forceVisuals<E>(rich: RichSlot<E>): {
155
256
  };
156
257
  readonly type: "highlight";
157
258
  })[]];
158
- readonly text: string;
159
- readonly type: "text";
259
+ readonly type: "mathInline";
160
260
  })[]], E, never, never>>;
161
261
  readonly title: RichSlot<E>;
162
262
  readonly labels: Schema.Struct<{
@@ -176,11 +276,64 @@ export declare function forceVisuals<E>(rich: RichSlot<E>): {
176
276
  TugboatResultantLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
177
277
  readonly description: RichSlot<E>;
178
278
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
279
+ readonly marks?: readonly [{
280
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
281
+ } | {
282
+ readonly attrs: {
283
+ readonly href: string;
284
+ };
285
+ readonly type: "link";
286
+ } | {
287
+ readonly attrs: {
288
+ readonly variant: "success" | "warning" | null;
289
+ };
290
+ readonly type: "highlight";
291
+ }, ...({
292
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
293
+ } | {
294
+ readonly attrs: {
295
+ readonly href: string;
296
+ };
297
+ readonly type: "link";
298
+ } | {
299
+ readonly attrs: {
300
+ readonly variant: "success" | "warning" | null;
301
+ };
302
+ readonly type: "highlight";
303
+ })[]];
304
+ readonly text: string;
305
+ readonly type: "text";
306
+ } | {
179
307
  readonly attrs: {
180
308
  readonly latex: string;
181
309
  };
310
+ readonly marks?: readonly [{
311
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
312
+ } | {
313
+ readonly attrs: {
314
+ readonly href: string;
315
+ };
316
+ readonly type: "link";
317
+ } | {
318
+ readonly attrs: {
319
+ readonly variant: "success" | "warning" | null;
320
+ };
321
+ readonly type: "highlight";
322
+ }, ...({
323
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
324
+ } | {
325
+ readonly attrs: {
326
+ readonly href: string;
327
+ };
328
+ readonly type: "link";
329
+ } | {
330
+ readonly attrs: {
331
+ readonly variant: "success" | "warning" | null;
332
+ };
333
+ readonly type: "highlight";
334
+ })[]];
182
335
  readonly type: "mathInline";
183
- } | {
336
+ }, ...({
184
337
  readonly marks?: readonly [{
185
338
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
186
339
  } | {
@@ -208,12 +361,10 @@ export declare function forceVisuals<E>(rich: RichSlot<E>): {
208
361
  })[]];
209
362
  readonly text: string;
210
363
  readonly type: "text";
211
- }, ...({
364
+ } | {
212
365
  readonly attrs: {
213
366
  readonly latex: string;
214
367
  };
215
- readonly type: "mathInline";
216
- } | {
217
368
  readonly marks?: readonly [{
218
369
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
219
370
  } | {
@@ -239,8 +390,7 @@ export declare function forceVisuals<E>(rich: RichSlot<E>): {
239
390
  };
240
391
  readonly type: "highlight";
241
392
  })[]];
242
- readonly text: string;
243
- readonly type: "text";
393
+ readonly type: "mathInline";
244
394
  })[]], E, never, never>>;
245
395
  readonly title: RichSlot<E>;
246
396
  readonly between: Schema.Finite;
@@ -258,11 +408,64 @@ export declare function forceVisuals<E>(rich: RichSlot<E>): {
258
408
  RampBlockComponentLab: 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 forceVisuals<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 forceVisuals<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 angle: Schema.Finite;
@@ -342,11 +542,64 @@ export declare function forceVisuals<E>(rich: RichSlot<E>): {
342
542
  KiteStringTensionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
343
543
  readonly description: RichSlot<E>;
344
544
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
545
+ readonly marks?: readonly [{
546
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
547
+ } | {
548
+ readonly attrs: {
549
+ readonly href: string;
550
+ };
551
+ readonly type: "link";
552
+ } | {
553
+ readonly attrs: {
554
+ readonly variant: "success" | "warning" | null;
555
+ };
556
+ readonly type: "highlight";
557
+ }, ...({
558
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
559
+ } | {
560
+ readonly attrs: {
561
+ readonly href: string;
562
+ };
563
+ readonly type: "link";
564
+ } | {
565
+ readonly attrs: {
566
+ readonly variant: "success" | "warning" | null;
567
+ };
568
+ readonly type: "highlight";
569
+ })[]];
570
+ readonly text: string;
571
+ readonly type: "text";
572
+ } | {
345
573
  readonly attrs: {
346
574
  readonly latex: string;
347
575
  };
576
+ readonly marks?: readonly [{
577
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
578
+ } | {
579
+ readonly attrs: {
580
+ readonly href: string;
581
+ };
582
+ readonly type: "link";
583
+ } | {
584
+ readonly attrs: {
585
+ readonly variant: "success" | "warning" | null;
586
+ };
587
+ readonly type: "highlight";
588
+ }, ...({
589
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
590
+ } | {
591
+ readonly attrs: {
592
+ readonly href: string;
593
+ };
594
+ readonly type: "link";
595
+ } | {
596
+ readonly attrs: {
597
+ readonly variant: "success" | "warning" | null;
598
+ };
599
+ readonly type: "highlight";
600
+ })[]];
348
601
  readonly type: "mathInline";
349
- } | {
602
+ }, ...({
350
603
  readonly marks?: readonly [{
351
604
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
352
605
  } | {
@@ -374,12 +627,10 @@ export declare function forceVisuals<E>(rich: RichSlot<E>): {
374
627
  })[]];
375
628
  readonly text: string;
376
629
  readonly type: "text";
377
- }, ...({
630
+ } | {
378
631
  readonly attrs: {
379
632
  readonly latex: string;
380
633
  };
381
- readonly type: "mathInline";
382
- } | {
383
634
  readonly marks?: readonly [{
384
635
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
385
636
  } | {
@@ -405,8 +656,7 @@ export declare function forceVisuals<E>(rich: RichSlot<E>): {
405
656
  };
406
657
  readonly type: "highlight";
407
658
  })[]];
408
- readonly text: string;
409
- readonly type: "text";
659
+ readonly type: "mathInline";
410
660
  })[]], E, never, never>>;
411
661
  readonly title: RichSlot<E>;
412
662
  readonly angle: Schema.Finite;
@@ -8,11 +8,64 @@ export declare function gravityVisuals<E>(rich: RichSlot<E>): {
8
8
  OrbitRadiusLab: 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 gravityVisuals<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 gravityVisuals<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 knownHeight: Schema.Finite;
@@ -90,11 +140,64 @@ export declare function gravityVisuals<E>(rich: RichSlot<E>): {
90
140
  PlanetCompareLab: 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 gravityVisuals<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 gravityVisuals<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<{