@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 ecologyVisuals<E>(rich: RichSlot<E>): {
8
8
  PredatorPreyLab: 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 ecologyVisuals<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 ecologyVisuals<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 capacity: Schema.optionalKey<Schema.Finite>;
@@ -88,11 +138,64 @@ export declare function ecologyVisuals<E>(rich: RichSlot<E>): {
88
138
  EpidemicSpreadLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
89
139
  readonly description: RichSlot<E>;
90
140
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
141
+ readonly marks?: readonly [{
142
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
143
+ } | {
144
+ readonly attrs: {
145
+ readonly href: string;
146
+ };
147
+ readonly type: "link";
148
+ } | {
149
+ readonly attrs: {
150
+ readonly variant: "success" | "warning" | null;
151
+ };
152
+ readonly type: "highlight";
153
+ }, ...({
154
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
155
+ } | {
156
+ readonly attrs: {
157
+ readonly href: string;
158
+ };
159
+ readonly type: "link";
160
+ } | {
161
+ readonly attrs: {
162
+ readonly variant: "success" | "warning" | null;
163
+ };
164
+ readonly type: "highlight";
165
+ })[]];
166
+ readonly text: string;
167
+ readonly type: "text";
168
+ } | {
91
169
  readonly attrs: {
92
170
  readonly latex: string;
93
171
  };
172
+ readonly marks?: readonly [{
173
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
174
+ } | {
175
+ readonly attrs: {
176
+ readonly href: string;
177
+ };
178
+ readonly type: "link";
179
+ } | {
180
+ readonly attrs: {
181
+ readonly variant: "success" | "warning" | null;
182
+ };
183
+ readonly type: "highlight";
184
+ }, ...({
185
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
186
+ } | {
187
+ readonly attrs: {
188
+ readonly href: string;
189
+ };
190
+ readonly type: "link";
191
+ } | {
192
+ readonly attrs: {
193
+ readonly variant: "success" | "warning" | null;
194
+ };
195
+ readonly type: "highlight";
196
+ })[]];
94
197
  readonly type: "mathInline";
95
- } | {
198
+ }, ...({
96
199
  readonly marks?: readonly [{
97
200
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
98
201
  } | {
@@ -120,12 +223,10 @@ export declare function ecologyVisuals<E>(rich: RichSlot<E>): {
120
223
  })[]];
121
224
  readonly text: string;
122
225
  readonly type: "text";
123
- }, ...({
226
+ } | {
124
227
  readonly attrs: {
125
228
  readonly latex: string;
126
229
  };
127
- readonly type: "mathInline";
128
- } | {
129
230
  readonly marks?: readonly [{
130
231
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
131
232
  } | {
@@ -151,8 +252,7 @@ export declare function ecologyVisuals<E>(rich: RichSlot<E>): {
151
252
  };
152
253
  readonly type: "highlight";
153
254
  })[]];
154
- readonly text: string;
155
- readonly type: "text";
255
+ readonly type: "mathInline";
156
256
  })[]], E, never, never>>;
157
257
  readonly title: RichSlot<E>;
158
258
  readonly labels: Schema.Struct<{
@@ -179,11 +279,64 @@ export declare function ecologyVisuals<E>(rich: RichSlot<E>): {
179
279
  HyphaeDecayLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
180
280
  readonly description: RichSlot<E>;
181
281
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
282
+ readonly marks?: readonly [{
283
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
284
+ } | {
285
+ readonly attrs: {
286
+ readonly href: string;
287
+ };
288
+ readonly type: "link";
289
+ } | {
290
+ readonly attrs: {
291
+ readonly variant: "success" | "warning" | null;
292
+ };
293
+ readonly type: "highlight";
294
+ }, ...({
295
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
296
+ } | {
297
+ readonly attrs: {
298
+ readonly href: string;
299
+ };
300
+ readonly type: "link";
301
+ } | {
302
+ readonly attrs: {
303
+ readonly variant: "success" | "warning" | null;
304
+ };
305
+ readonly type: "highlight";
306
+ })[]];
307
+ readonly text: string;
308
+ readonly type: "text";
309
+ } | {
182
310
  readonly attrs: {
183
311
  readonly latex: string;
184
312
  };
313
+ readonly marks?: readonly [{
314
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
315
+ } | {
316
+ readonly attrs: {
317
+ readonly href: string;
318
+ };
319
+ readonly type: "link";
320
+ } | {
321
+ readonly attrs: {
322
+ readonly variant: "success" | "warning" | null;
323
+ };
324
+ readonly type: "highlight";
325
+ }, ...({
326
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
327
+ } | {
328
+ readonly attrs: {
329
+ readonly href: string;
330
+ };
331
+ readonly type: "link";
332
+ } | {
333
+ readonly attrs: {
334
+ readonly variant: "success" | "warning" | null;
335
+ };
336
+ readonly type: "highlight";
337
+ })[]];
185
338
  readonly type: "mathInline";
186
- } | {
339
+ }, ...({
187
340
  readonly marks?: readonly [{
188
341
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
189
342
  } | {
@@ -211,12 +364,10 @@ export declare function ecologyVisuals<E>(rich: RichSlot<E>): {
211
364
  })[]];
212
365
  readonly text: string;
213
366
  readonly type: "text";
214
- }, ...({
367
+ } | {
215
368
  readonly attrs: {
216
369
  readonly latex: string;
217
370
  };
218
- readonly type: "mathInline";
219
- } | {
220
371
  readonly marks?: readonly [{
221
372
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
222
373
  } | {
@@ -242,8 +393,7 @@ export declare function ecologyVisuals<E>(rich: RichSlot<E>): {
242
393
  };
243
394
  readonly type: "highlight";
244
395
  })[]];
245
- readonly text: string;
246
- readonly type: "text";
396
+ readonly type: "mathInline";
247
397
  })[]], E, never, never>>;
248
398
  readonly title: RichSlot<E>;
249
399
  readonly labels: Schema.Struct<{
@@ -258,11 +408,64 @@ export declare function ecologyVisuals<E>(rich: RichSlot<E>): {
258
408
  AntibodyNeutralizeLab: 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 ecologyVisuals<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 ecologyVisuals<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 labels: Schema.Struct<{
@@ -5,11 +5,64 @@ export declare function heartVisuals<E>(rich: RichSlot<E>): {
5
5
  HeartCycleLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
6
6
  readonly description: RichSlot<E>;
7
7
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
8
+ readonly marks?: readonly [{
9
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
10
+ } | {
11
+ readonly attrs: {
12
+ readonly href: string;
13
+ };
14
+ readonly type: "link";
15
+ } | {
16
+ readonly attrs: {
17
+ readonly variant: "success" | "warning" | null;
18
+ };
19
+ readonly type: "highlight";
20
+ }, ...({
21
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
22
+ } | {
23
+ readonly attrs: {
24
+ readonly href: string;
25
+ };
26
+ readonly type: "link";
27
+ } | {
28
+ readonly attrs: {
29
+ readonly variant: "success" | "warning" | null;
30
+ };
31
+ readonly type: "highlight";
32
+ })[]];
33
+ readonly text: string;
34
+ readonly type: "text";
35
+ } | {
8
36
  readonly attrs: {
9
37
  readonly latex: string;
10
38
  };
39
+ readonly marks?: readonly [{
40
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
41
+ } | {
42
+ readonly attrs: {
43
+ readonly href: string;
44
+ };
45
+ readonly type: "link";
46
+ } | {
47
+ readonly attrs: {
48
+ readonly variant: "success" | "warning" | null;
49
+ };
50
+ readonly type: "highlight";
51
+ }, ...({
52
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
53
+ } | {
54
+ readonly attrs: {
55
+ readonly href: string;
56
+ };
57
+ readonly type: "link";
58
+ } | {
59
+ readonly attrs: {
60
+ readonly variant: "success" | "warning" | null;
61
+ };
62
+ readonly type: "highlight";
63
+ })[]];
11
64
  readonly type: "mathInline";
12
- } | {
65
+ }, ...({
13
66
  readonly marks?: readonly [{
14
67
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15
68
  } | {
@@ -37,12 +90,10 @@ export declare function heartVisuals<E>(rich: RichSlot<E>): {
37
90
  })[]];
38
91
  readonly text: string;
39
92
  readonly type: "text";
40
- }, ...({
93
+ } | {
41
94
  readonly attrs: {
42
95
  readonly latex: string;
43
96
  };
44
- readonly type: "mathInline";
45
- } | {
46
97
  readonly marks?: readonly [{
47
98
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
48
99
  } | {
@@ -68,8 +119,7 @@ export declare function heartVisuals<E>(rich: RichSlot<E>): {
68
119
  };
69
120
  readonly type: "highlight";
70
121
  })[]];
71
- readonly text: string;
72
- readonly type: "text";
122
+ readonly type: "mathInline";
73
123
  })[]], E, never, never>>;
74
124
  readonly title: RichSlot<E>;
75
125
  readonly labels: Schema.Struct<{
@@ -5,11 +5,64 @@ export declare function mitochondrionVisuals<E>(rich: RichSlot<E>): {
5
5
  MitochondrionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
6
6
  readonly description: RichSlot<E>;
7
7
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
8
+ readonly marks?: readonly [{
9
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
10
+ } | {
11
+ readonly attrs: {
12
+ readonly href: string;
13
+ };
14
+ readonly type: "link";
15
+ } | {
16
+ readonly attrs: {
17
+ readonly variant: "success" | "warning" | null;
18
+ };
19
+ readonly type: "highlight";
20
+ }, ...({
21
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
22
+ } | {
23
+ readonly attrs: {
24
+ readonly href: string;
25
+ };
26
+ readonly type: "link";
27
+ } | {
28
+ readonly attrs: {
29
+ readonly variant: "success" | "warning" | null;
30
+ };
31
+ readonly type: "highlight";
32
+ })[]];
33
+ readonly text: string;
34
+ readonly type: "text";
35
+ } | {
8
36
  readonly attrs: {
9
37
  readonly latex: string;
10
38
  };
39
+ readonly marks?: readonly [{
40
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
41
+ } | {
42
+ readonly attrs: {
43
+ readonly href: string;
44
+ };
45
+ readonly type: "link";
46
+ } | {
47
+ readonly attrs: {
48
+ readonly variant: "success" | "warning" | null;
49
+ };
50
+ readonly type: "highlight";
51
+ }, ...({
52
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
53
+ } | {
54
+ readonly attrs: {
55
+ readonly href: string;
56
+ };
57
+ readonly type: "link";
58
+ } | {
59
+ readonly attrs: {
60
+ readonly variant: "success" | "warning" | null;
61
+ };
62
+ readonly type: "highlight";
63
+ })[]];
11
64
  readonly type: "mathInline";
12
- } | {
65
+ }, ...({
13
66
  readonly marks?: readonly [{
14
67
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15
68
  } | {
@@ -37,12 +90,10 @@ export declare function mitochondrionVisuals<E>(rich: RichSlot<E>): {
37
90
  })[]];
38
91
  readonly text: string;
39
92
  readonly type: "text";
40
- }, ...({
93
+ } | {
41
94
  readonly attrs: {
42
95
  readonly latex: string;
43
96
  };
44
- readonly type: "mathInline";
45
- } | {
46
97
  readonly marks?: readonly [{
47
98
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
48
99
  } | {
@@ -68,8 +119,7 @@ export declare function mitochondrionVisuals<E>(rich: RichSlot<E>): {
68
119
  };
69
120
  readonly type: "highlight";
70
121
  })[]];
71
- readonly text: string;
72
- readonly type: "text";
122
+ readonly type: "mathInline";
73
123
  })[]], E, never, never>>;
74
124
  readonly title: RichSlot<E>;
75
125
  readonly atp: Schema.Int;
@@ -9,11 +9,64 @@ export declare function muscleVisuals<E>(rich: RichSlot<E>): {
9
9
  OxygenDebtLab: 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 muscleVisuals<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 muscleVisuals<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 demand: Schema.Struct<{