@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
@@ -9,11 +9,64 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
9
9
  FertilisationLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
10
10
  readonly description: RichSlot<E>;
11
11
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
12
+ readonly marks?: readonly [{
13
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14
+ } | {
15
+ readonly attrs: {
16
+ readonly href: string;
17
+ };
18
+ readonly type: "link";
19
+ } | {
20
+ readonly attrs: {
21
+ readonly variant: "success" | "warning" | null;
22
+ };
23
+ readonly type: "highlight";
24
+ }, ...({
25
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
26
+ } | {
27
+ readonly attrs: {
28
+ readonly href: string;
29
+ };
30
+ readonly type: "link";
31
+ } | {
32
+ readonly attrs: {
33
+ readonly variant: "success" | "warning" | null;
34
+ };
35
+ readonly type: "highlight";
36
+ })[]];
37
+ readonly text: string;
38
+ readonly type: "text";
39
+ } | {
12
40
  readonly attrs: {
13
41
  readonly latex: string;
14
42
  };
43
+ readonly marks?: readonly [{
44
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
45
+ } | {
46
+ readonly attrs: {
47
+ readonly href: string;
48
+ };
49
+ readonly type: "link";
50
+ } | {
51
+ readonly attrs: {
52
+ readonly variant: "success" | "warning" | null;
53
+ };
54
+ readonly type: "highlight";
55
+ }, ...({
56
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
57
+ } | {
58
+ readonly attrs: {
59
+ readonly href: string;
60
+ };
61
+ readonly type: "link";
62
+ } | {
63
+ readonly attrs: {
64
+ readonly variant: "success" | "warning" | null;
65
+ };
66
+ readonly type: "highlight";
67
+ })[]];
15
68
  readonly type: "mathInline";
16
- } | {
69
+ }, ...({
17
70
  readonly marks?: readonly [{
18
71
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
19
72
  } | {
@@ -41,12 +94,10 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
41
94
  })[]];
42
95
  readonly text: string;
43
96
  readonly type: "text";
44
- }, ...({
97
+ } | {
45
98
  readonly attrs: {
46
99
  readonly latex: string;
47
100
  };
48
- readonly type: "mathInline";
49
- } | {
50
101
  readonly marks?: readonly [{
51
102
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
52
103
  } | {
@@ -72,8 +123,7 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
72
123
  };
73
124
  readonly type: "highlight";
74
125
  })[]];
75
- readonly text: string;
76
- readonly type: "text";
126
+ readonly type: "mathInline";
77
127
  })[]], E, never, never>>;
78
128
  readonly title: RichSlot<E>;
79
129
  readonly father: Schema.Int;
@@ -93,11 +143,64 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
93
143
  OsmosisLab: 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 plantVisuals<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 plantVisuals<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 labels: Schema.Struct<{
@@ -183,11 +283,64 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
183
283
  PhotosynthesisLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
184
284
  readonly description: RichSlot<E>;
185
285
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
286
+ readonly marks?: readonly [{
287
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
288
+ } | {
289
+ readonly attrs: {
290
+ readonly href: string;
291
+ };
292
+ readonly type: "link";
293
+ } | {
294
+ readonly attrs: {
295
+ readonly variant: "success" | "warning" | null;
296
+ };
297
+ readonly type: "highlight";
298
+ }, ...({
299
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
300
+ } | {
301
+ readonly attrs: {
302
+ readonly href: string;
303
+ };
304
+ readonly type: "link";
305
+ } | {
306
+ readonly attrs: {
307
+ readonly variant: "success" | "warning" | null;
308
+ };
309
+ readonly type: "highlight";
310
+ })[]];
311
+ readonly text: string;
312
+ readonly type: "text";
313
+ } | {
186
314
  readonly attrs: {
187
315
  readonly latex: string;
188
316
  };
317
+ readonly marks?: readonly [{
318
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
319
+ } | {
320
+ readonly attrs: {
321
+ readonly href: string;
322
+ };
323
+ readonly type: "link";
324
+ } | {
325
+ readonly attrs: {
326
+ readonly variant: "success" | "warning" | null;
327
+ };
328
+ readonly type: "highlight";
329
+ }, ...({
330
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
331
+ } | {
332
+ readonly attrs: {
333
+ readonly href: string;
334
+ };
335
+ readonly type: "link";
336
+ } | {
337
+ readonly attrs: {
338
+ readonly variant: "success" | "warning" | null;
339
+ };
340
+ readonly type: "highlight";
341
+ })[]];
189
342
  readonly type: "mathInline";
190
- } | {
343
+ }, ...({
191
344
  readonly marks?: readonly [{
192
345
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
193
346
  } | {
@@ -215,12 +368,10 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
215
368
  })[]];
216
369
  readonly text: string;
217
370
  readonly type: "text";
218
- }, ...({
371
+ } | {
219
372
  readonly attrs: {
220
373
  readonly latex: string;
221
374
  };
222
- readonly type: "mathInline";
223
- } | {
224
375
  readonly marks?: readonly [{
225
376
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
226
377
  } | {
@@ -246,8 +397,7 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
246
397
  };
247
398
  readonly type: "highlight";
248
399
  })[]];
249
- readonly text: string;
250
- readonly type: "text";
400
+ readonly type: "mathInline";
251
401
  })[]], E, never, never>>;
252
402
  readonly title: RichSlot<E>;
253
403
  readonly labels: Schema.Struct<{
@@ -271,11 +421,64 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
271
421
  PotometerLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
272
422
  readonly description: RichSlot<E>;
273
423
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
424
+ readonly marks?: readonly [{
425
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
426
+ } | {
427
+ readonly attrs: {
428
+ readonly href: string;
429
+ };
430
+ readonly type: "link";
431
+ } | {
432
+ readonly attrs: {
433
+ readonly variant: "success" | "warning" | null;
434
+ };
435
+ readonly type: "highlight";
436
+ }, ...({
437
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
438
+ } | {
439
+ readonly attrs: {
440
+ readonly href: string;
441
+ };
442
+ readonly type: "link";
443
+ } | {
444
+ readonly attrs: {
445
+ readonly variant: "success" | "warning" | null;
446
+ };
447
+ readonly type: "highlight";
448
+ })[]];
449
+ readonly text: string;
450
+ readonly type: "text";
451
+ } | {
274
452
  readonly attrs: {
275
453
  readonly latex: string;
276
454
  };
455
+ readonly marks?: readonly [{
456
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
457
+ } | {
458
+ readonly attrs: {
459
+ readonly href: string;
460
+ };
461
+ readonly type: "link";
462
+ } | {
463
+ readonly attrs: {
464
+ readonly variant: "success" | "warning" | null;
465
+ };
466
+ readonly type: "highlight";
467
+ }, ...({
468
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
469
+ } | {
470
+ readonly attrs: {
471
+ readonly href: string;
472
+ };
473
+ readonly type: "link";
474
+ } | {
475
+ readonly attrs: {
476
+ readonly variant: "success" | "warning" | null;
477
+ };
478
+ readonly type: "highlight";
479
+ })[]];
277
480
  readonly type: "mathInline";
278
- } | {
481
+ }, ...({
279
482
  readonly marks?: readonly [{
280
483
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
281
484
  } | {
@@ -303,12 +506,10 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
303
506
  })[]];
304
507
  readonly text: string;
305
508
  readonly type: "text";
306
- }, ...({
509
+ } | {
307
510
  readonly attrs: {
308
511
  readonly latex: string;
309
512
  };
310
- readonly type: "mathInline";
311
- } | {
312
513
  readonly marks?: readonly [{
313
514
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
314
515
  } | {
@@ -334,8 +535,7 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
334
535
  };
335
536
  readonly type: "highlight";
336
537
  })[]];
337
- readonly text: string;
338
- readonly type: "text";
538
+ readonly type: "mathInline";
339
539
  })[]], E, never, never>>;
340
540
  readonly title: RichSlot<E>;
341
541
  readonly labels: Schema.Struct<{
@@ -357,11 +557,64 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
357
557
  TropismLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
358
558
  readonly description: RichSlot<E>;
359
559
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
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
+ })[]];
585
+ readonly text: string;
586
+ readonly type: "text";
587
+ } | {
360
588
  readonly attrs: {
361
589
  readonly latex: string;
362
590
  };
591
+ readonly marks?: readonly [{
592
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
593
+ } | {
594
+ readonly attrs: {
595
+ readonly href: string;
596
+ };
597
+ readonly type: "link";
598
+ } | {
599
+ readonly attrs: {
600
+ readonly variant: "success" | "warning" | null;
601
+ };
602
+ readonly type: "highlight";
603
+ }, ...({
604
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
605
+ } | {
606
+ readonly attrs: {
607
+ readonly href: string;
608
+ };
609
+ readonly type: "link";
610
+ } | {
611
+ readonly attrs: {
612
+ readonly variant: "success" | "warning" | null;
613
+ };
614
+ readonly type: "highlight";
615
+ })[]];
363
616
  readonly type: "mathInline";
364
- } | {
617
+ }, ...({
365
618
  readonly marks?: readonly [{
366
619
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
367
620
  } | {
@@ -389,12 +642,10 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
389
642
  })[]];
390
643
  readonly text: string;
391
644
  readonly type: "text";
392
- }, ...({
645
+ } | {
393
646
  readonly attrs: {
394
647
  readonly latex: string;
395
648
  };
396
- readonly type: "mathInline";
397
- } | {
398
649
  readonly marks?: readonly [{
399
650
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
400
651
  } | {
@@ -420,8 +671,7 @@ export declare function plantVisuals<E>(rich: RichSlot<E>): {
420
671
  };
421
672
  readonly type: "highlight";
422
673
  })[]];
423
- readonly text: string;
424
- readonly type: "text";
674
+ readonly type: "mathInline";
425
675
  })[]], E, never, never>>;
426
676
  readonly title: RichSlot<E>;
427
677
  readonly labels: Schema.Struct<{
@@ -8,11 +8,64 @@ export declare function synapseVisuals<E>(rich: RichSlot<E>): {
8
8
  SynapseLab: 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 synapseVisuals<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 synapseVisuals<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 drugs: Schema.optionalKey<Schema.NonEmptyArray<Schema.Literals<readonly ["nicotine", "curare", "organophosphate", "botulinum"]>>>;
@@ -8,11 +8,64 @@ export declare function vesselVisuals<E>(rich: RichSlot<E>): {
8
8
  CapillaryBedLab: 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 vesselVisuals<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 vesselVisuals<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<{