@nakafa/aksara-contracts 8.9.1 → 8.12.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 (160) 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/binomial.d.ts +139 -0
  22. package/dist/visual/biology/binomial.js +46 -0
  23. package/dist/visual/biology/blood.d.ts +56 -6
  24. package/dist/visual/biology/bone.d.ts +141 -0
  25. package/dist/visual/biology/bone.js +46 -0
  26. package/dist/visual/biology/cell.d.ts +168 -18
  27. package/dist/visual/biology/chromosome.d.ts +139 -0
  28. package/dist/visual/biology/chromosome.js +42 -0
  29. package/dist/visual/biology/climate.d.ts +168 -18
  30. package/dist/visual/biology/control.d.ts +17 -0
  31. package/dist/visual/biology/control.js +21 -0
  32. package/dist/visual/biology/denature.d.ts +159 -0
  33. package/dist/visual/biology/denature.js +74 -0
  34. package/dist/visual/biology/drawing.d.ts +151 -0
  35. package/dist/visual/biology/drawing.js +69 -0
  36. package/dist/visual/biology/ecology.d.ts +224 -24
  37. package/dist/visual/biology/enzyme.d.ts +145 -0
  38. package/dist/visual/biology/enzyme.js +54 -0
  39. package/dist/visual/biology/equipment.d.ts +140 -0
  40. package/dist/visual/biology/equipment.js +64 -0
  41. package/dist/visual/biology/gametogenesis.d.ts +145 -0
  42. package/dist/visual/biology/gametogenesis.js +83 -0
  43. package/dist/visual/biology/heart.d.ts +56 -6
  44. package/dist/visual/biology/implantation.d.ts +138 -0
  45. package/dist/visual/biology/implantation.js +44 -0
  46. package/dist/visual/biology/joint.d.ts +140 -0
  47. package/dist/visual/biology/joint.js +47 -0
  48. package/dist/visual/biology/key.d.ts +141 -0
  49. package/dist/visual/biology/key.js +58 -0
  50. package/dist/visual/biology/kingdom.d.ts +142 -0
  51. package/dist/visual/biology/kingdom.js +82 -0
  52. package/dist/visual/biology/lactase.d.ts +147 -0
  53. package/dist/visual/biology/lactase.js +48 -0
  54. package/dist/visual/biology/limb.d.ts +139 -0
  55. package/dist/visual/biology/limb.js +44 -0
  56. package/dist/visual/biology/lipid.d.ts +144 -0
  57. package/dist/visual/biology/lipid.js +43 -0
  58. package/dist/visual/biology/locomotion.d.ts +141 -0
  59. package/dist/visual/biology/locomotion.js +48 -0
  60. package/dist/visual/biology/menstrual.d.ts +148 -0
  61. package/dist/visual/biology/menstrual.js +65 -0
  62. package/dist/visual/biology/metamorphosis.d.ts +140 -0
  63. package/dist/visual/biology/metamorphosis.js +34 -0
  64. package/dist/visual/biology/mitochondrion.d.ts +56 -6
  65. package/dist/visual/biology/muscle.d.ts +56 -6
  66. package/dist/visual/biology/neuron.d.ts +56 -6
  67. package/dist/visual/biology/paddy.d.ts +56 -6
  68. package/dist/visual/biology/physiology.d.ts +168 -18
  69. package/dist/visual/biology/placenta.d.ts +139 -0
  70. package/dist/visual/biology/placenta.js +52 -0
  71. package/dist/visual/biology/planes.d.ts +145 -0
  72. package/dist/visual/biology/planes.js +62 -0
  73. package/dist/visual/biology/plant.d.ts +280 -30
  74. package/dist/visual/biology/protein.d.ts +142 -0
  75. package/dist/visual/biology/protein.js +41 -0
  76. package/dist/visual/biology/saturation.d.ts +149 -0
  77. package/dist/visual/biology/saturation.js +40 -0
  78. package/dist/visual/biology/secretion.d.ts +149 -0
  79. package/dist/visual/biology/secretion.js +79 -0
  80. package/dist/visual/biology/spill.d.ts +165 -0
  81. package/dist/visual/biology/spill.js +58 -0
  82. package/dist/visual/biology/sugar.d.ts +152 -0
  83. package/dist/visual/biology/sugar.js +59 -0
  84. package/dist/visual/biology/synapse.d.ts +56 -6
  85. package/dist/visual/biology/taxon.d.ts +138 -0
  86. package/dist/visual/biology/taxon.js +50 -0
  87. package/dist/visual/biology/twins.d.ts +144 -0
  88. package/dist/visual/biology/twins.js +60 -0
  89. package/dist/visual/biology/vernacular.d.ts +141 -0
  90. package/dist/visual/biology/vernacular.js +57 -0
  91. package/dist/visual/biology/vertebra.d.ts +141 -0
  92. package/dist/visual/biology/vertebra.js +59 -0
  93. package/dist/visual/biology/vessel.d.ts +56 -6
  94. package/dist/visual/biology/waste.d.ts +140 -0
  95. package/dist/visual/biology/waste.js +57 -0
  96. package/dist/visual/biology/water.d.ts +152 -0
  97. package/dist/visual/biology/water.js +54 -0
  98. package/dist/visual/biology/yeast.d.ts +56 -6
  99. package/dist/visual/card.d.ts +67 -6
  100. package/dist/visual/card.js +17 -1
  101. package/dist/visual/catalog.d.ts +21584 -5487
  102. package/dist/visual/catalog.js +66 -0
  103. package/dist/visual/chemistry/atom.d.ts +168 -18
  104. package/dist/visual/chemistry/balance.d.ts +280 -30
  105. package/dist/visual/chemistry/bonding.d.ts +280 -30
  106. package/dist/visual/chemistry/discovery.d.ts +392 -42
  107. package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
  108. package/dist/visual/chemistry/electron.d.ts +112 -12
  109. package/dist/visual/chemistry/laws.d.ts +224 -24
  110. package/dist/visual/chemistry/particles.d.ts +280 -30
  111. package/dist/visual/chemistry/periodic.d.ts +112 -12
  112. package/dist/visual/chemistry/rate.d.ts +56 -6
  113. package/dist/visual/chemistry/reaction.d.ts +168 -18
  114. package/dist/visual/chemistry/titration.d.ts +56 -6
  115. package/dist/visual/length.d.ts +56 -6
  116. package/dist/visual/mathematics/argument.d.ts +226 -0
  117. package/dist/visual/mathematics/argument.js +150 -0
  118. package/dist/visual/mathematics/chance.d.ts +168 -18
  119. package/dist/visual/mathematics/chart.d.ts +56 -6
  120. package/dist/visual/mathematics/charts.d.ts +280 -30
  121. package/dist/visual/mathematics/counterexample.d.ts +340 -0
  122. package/dist/visual/mathematics/counterexample.js +157 -0
  123. package/dist/visual/mathematics/function.d.ts +168 -18
  124. package/dist/visual/mathematics/journey.d.ts +56 -6
  125. package/dist/visual/mathematics/logic.d.ts +56 -6
  126. package/dist/visual/mathematics/network.d.ts +56 -6
  127. package/dist/visual/mathematics/numeral.d.ts +168 -18
  128. package/dist/visual/mathematics/sets.d.ts +56 -6
  129. package/dist/visual/physics/braking.d.ts +224 -24
  130. package/dist/visual/physics/circuit.d.ts +224 -24
  131. package/dist/visual/physics/circular.d.ts +112 -12
  132. package/dist/visual/physics/dynamics.d.ts +392 -42
  133. package/dist/visual/physics/efficiency.d.ts +336 -36
  134. package/dist/visual/physics/electronics.d.ts +168 -18
  135. package/dist/visual/physics/falling.d.ts +224 -24
  136. package/dist/visual/physics/field.d.ts +168 -18
  137. package/dist/visual/physics/fluid.d.ts +224 -24
  138. package/dist/visual/physics/force.d.ts +280 -30
  139. package/dist/visual/physics/gravity.d.ts +112 -12
  140. package/dist/visual/physics/heat.d.ts +168 -18
  141. package/dist/visual/physics/instrument.d.ts +392 -42
  142. package/dist/visual/physics/light.d.ts +224 -24
  143. package/dist/visual/physics/measurement.d.ts +224 -24
  144. package/dist/visual/physics/motion.d.ts +336 -36
  145. package/dist/visual/physics/nuclear.d.ts +168 -18
  146. package/dist/visual/physics/parabolic.d.ts +56 -6
  147. package/dist/visual/physics/position.d.ts +336 -36
  148. package/dist/visual/physics/power.d.ts +448 -48
  149. package/dist/visual/physics/precision.d.ts +392 -42
  150. package/dist/visual/physics/product.d.ts +224 -24
  151. package/dist/visual/physics/reading.d.ts +168 -18
  152. package/dist/visual/physics/record.d.ts +112 -12
  153. package/dist/visual/physics/relative.d.ts +168 -18
  154. package/dist/visual/physics/solar.d.ts +336 -36
  155. package/dist/visual/physics/thermodynamics.d.ts +56 -6
  156. package/dist/visual/physics/vector.d.ts +280 -30
  157. package/dist/visual/physics/velocity.d.ts +392 -42
  158. package/dist/visual/physics/wave.d.ts +224 -24
  159. package/dist/visual/politics.d.ts +336 -36
  160. package/package.json +1 -1
@@ -8,11 +8,64 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
8
8
  SolarPanelAngleLab: 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 solarVisuals<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 solarVisuals<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<{
@@ -89,11 +139,64 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
89
139
  SolarPanelHeatLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
90
140
  readonly description: RichSlot<E>;
91
141
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
142
+ readonly marks?: readonly [{
143
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
144
+ } | {
145
+ readonly attrs: {
146
+ readonly href: string;
147
+ };
148
+ readonly type: "link";
149
+ } | {
150
+ readonly attrs: {
151
+ readonly variant: "success" | "warning" | null;
152
+ };
153
+ readonly type: "highlight";
154
+ }, ...({
155
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
156
+ } | {
157
+ readonly attrs: {
158
+ readonly href: string;
159
+ };
160
+ readonly type: "link";
161
+ } | {
162
+ readonly attrs: {
163
+ readonly variant: "success" | "warning" | null;
164
+ };
165
+ readonly type: "highlight";
166
+ })[]];
167
+ readonly text: string;
168
+ readonly type: "text";
169
+ } | {
92
170
  readonly attrs: {
93
171
  readonly latex: string;
94
172
  };
173
+ readonly marks?: readonly [{
174
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
175
+ } | {
176
+ readonly attrs: {
177
+ readonly href: string;
178
+ };
179
+ readonly type: "link";
180
+ } | {
181
+ readonly attrs: {
182
+ readonly variant: "success" | "warning" | null;
183
+ };
184
+ readonly type: "highlight";
185
+ }, ...({
186
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
187
+ } | {
188
+ readonly attrs: {
189
+ readonly href: string;
190
+ };
191
+ readonly type: "link";
192
+ } | {
193
+ readonly attrs: {
194
+ readonly variant: "success" | "warning" | null;
195
+ };
196
+ readonly type: "highlight";
197
+ })[]];
95
198
  readonly type: "mathInline";
96
- } | {
199
+ }, ...({
97
200
  readonly marks?: readonly [{
98
201
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
99
202
  } | {
@@ -121,12 +224,10 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
121
224
  })[]];
122
225
  readonly text: string;
123
226
  readonly type: "text";
124
- }, ...({
227
+ } | {
125
228
  readonly attrs: {
126
229
  readonly latex: string;
127
230
  };
128
- readonly type: "mathInline";
129
- } | {
130
231
  readonly marks?: readonly [{
131
232
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
132
233
  } | {
@@ -152,8 +253,7 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
152
253
  };
153
254
  readonly type: "highlight";
154
255
  })[]];
155
- readonly text: string;
156
- readonly type: "text";
256
+ readonly type: "mathInline";
157
257
  })[]], E, never, never>>;
158
258
  readonly title: RichSlot<E>;
159
259
  readonly irradiance: Schema.optionalKey<Schema.Finite>;
@@ -171,11 +271,64 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
171
271
  SolarRoofPaybackLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
172
272
  readonly description: RichSlot<E>;
173
273
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
274
+ readonly marks?: readonly [{
275
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
276
+ } | {
277
+ readonly attrs: {
278
+ readonly href: string;
279
+ };
280
+ readonly type: "link";
281
+ } | {
282
+ readonly attrs: {
283
+ readonly variant: "success" | "warning" | null;
284
+ };
285
+ readonly type: "highlight";
286
+ }, ...({
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 text: string;
300
+ readonly type: "text";
301
+ } | {
174
302
  readonly attrs: {
175
303
  readonly latex: string;
176
304
  };
305
+ readonly marks?: readonly [{
306
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
307
+ } | {
308
+ readonly attrs: {
309
+ readonly href: string;
310
+ };
311
+ readonly type: "link";
312
+ } | {
313
+ readonly attrs: {
314
+ readonly variant: "success" | "warning" | null;
315
+ };
316
+ readonly type: "highlight";
317
+ }, ...({
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
+ })[]];
177
330
  readonly type: "mathInline";
178
- } | {
331
+ }, ...({
179
332
  readonly marks?: readonly [{
180
333
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
181
334
  } | {
@@ -203,12 +356,10 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
203
356
  })[]];
204
357
  readonly text: string;
205
358
  readonly type: "text";
206
- }, ...({
359
+ } | {
207
360
  readonly attrs: {
208
361
  readonly latex: string;
209
362
  };
210
- readonly type: "mathInline";
211
- } | {
212
363
  readonly marks?: readonly [{
213
364
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
214
365
  } | {
@@ -234,8 +385,7 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
234
385
  };
235
386
  readonly type: "highlight";
236
387
  })[]];
237
- readonly text: string;
238
- readonly type: "text";
388
+ readonly type: "mathInline";
239
389
  })[]], E, never, never>>;
240
390
  readonly title: RichSlot<E>;
241
391
  readonly labels: Schema.Struct<{
@@ -251,11 +401,64 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
251
401
  SolarBatteryStorageLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
252
402
  readonly description: RichSlot<E>;
253
403
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
404
+ readonly marks?: readonly [{
405
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
406
+ } | {
407
+ readonly attrs: {
408
+ readonly href: string;
409
+ };
410
+ readonly type: "link";
411
+ } | {
412
+ readonly attrs: {
413
+ readonly variant: "success" | "warning" | null;
414
+ };
415
+ readonly type: "highlight";
416
+ }, ...({
417
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
418
+ } | {
419
+ readonly attrs: {
420
+ readonly href: string;
421
+ };
422
+ readonly type: "link";
423
+ } | {
424
+ readonly attrs: {
425
+ readonly variant: "success" | "warning" | null;
426
+ };
427
+ readonly type: "highlight";
428
+ })[]];
429
+ readonly text: string;
430
+ readonly type: "text";
431
+ } | {
254
432
  readonly attrs: {
255
433
  readonly latex: string;
256
434
  };
435
+ readonly marks?: readonly [{
436
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
437
+ } | {
438
+ readonly attrs: {
439
+ readonly href: string;
440
+ };
441
+ readonly type: "link";
442
+ } | {
443
+ readonly attrs: {
444
+ readonly variant: "success" | "warning" | null;
445
+ };
446
+ readonly type: "highlight";
447
+ }, ...({
448
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
449
+ } | {
450
+ readonly attrs: {
451
+ readonly href: string;
452
+ };
453
+ readonly type: "link";
454
+ } | {
455
+ readonly attrs: {
456
+ readonly variant: "success" | "warning" | null;
457
+ };
458
+ readonly type: "highlight";
459
+ })[]];
257
460
  readonly type: "mathInline";
258
- } | {
461
+ }, ...({
259
462
  readonly marks?: readonly [{
260
463
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
261
464
  } | {
@@ -283,12 +486,10 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
283
486
  })[]];
284
487
  readonly text: string;
285
488
  readonly type: "text";
286
- }, ...({
489
+ } | {
287
490
  readonly attrs: {
288
491
  readonly latex: string;
289
492
  };
290
- readonly type: "mathInline";
291
- } | {
292
493
  readonly marks?: readonly [{
293
494
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
294
495
  } | {
@@ -314,8 +515,7 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
314
515
  };
315
516
  readonly type: "highlight";
316
517
  })[]];
317
- readonly text: string;
318
- readonly type: "text";
518
+ readonly type: "mathInline";
319
519
  })[]], E, never, never>>;
320
520
  readonly title: RichSlot<E>;
321
521
  readonly labels: Schema.Struct<{
@@ -331,11 +531,64 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
331
531
  GreenhouseLayerLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
332
532
  readonly description: RichSlot<E>;
333
533
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
534
+ readonly marks?: readonly [{
535
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
536
+ } | {
537
+ readonly attrs: {
538
+ readonly href: string;
539
+ };
540
+ readonly type: "link";
541
+ } | {
542
+ readonly attrs: {
543
+ readonly variant: "success" | "warning" | null;
544
+ };
545
+ readonly type: "highlight";
546
+ }, ...({
547
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
548
+ } | {
549
+ readonly attrs: {
550
+ readonly href: string;
551
+ };
552
+ readonly type: "link";
553
+ } | {
554
+ readonly attrs: {
555
+ readonly variant: "success" | "warning" | null;
556
+ };
557
+ readonly type: "highlight";
558
+ })[]];
559
+ readonly text: string;
560
+ readonly type: "text";
561
+ } | {
334
562
  readonly attrs: {
335
563
  readonly latex: string;
336
564
  };
565
+ readonly marks?: readonly [{
566
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
567
+ } | {
568
+ readonly attrs: {
569
+ readonly href: string;
570
+ };
571
+ readonly type: "link";
572
+ } | {
573
+ readonly attrs: {
574
+ readonly variant: "success" | "warning" | null;
575
+ };
576
+ readonly type: "highlight";
577
+ }, ...({
578
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
579
+ } | {
580
+ readonly attrs: {
581
+ readonly href: string;
582
+ };
583
+ readonly type: "link";
584
+ } | {
585
+ readonly attrs: {
586
+ readonly variant: "success" | "warning" | null;
587
+ };
588
+ readonly type: "highlight";
589
+ })[]];
337
590
  readonly type: "mathInline";
338
- } | {
591
+ }, ...({
339
592
  readonly marks?: readonly [{
340
593
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
341
594
  } | {
@@ -363,12 +616,10 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
363
616
  })[]];
364
617
  readonly text: string;
365
618
  readonly type: "text";
366
- }, ...({
619
+ } | {
367
620
  readonly attrs: {
368
621
  readonly latex: string;
369
622
  };
370
- readonly type: "mathInline";
371
- } | {
372
623
  readonly marks?: readonly [{
373
624
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
374
625
  } | {
@@ -394,8 +645,7 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
394
645
  };
395
646
  readonly type: "highlight";
396
647
  })[]];
397
- readonly text: string;
398
- readonly type: "text";
648
+ readonly type: "mathInline";
399
649
  })[]], E, never, never>>;
400
650
  readonly title: RichSlot<E>;
401
651
  readonly absorptance: Schema.optionalKey<Schema.Finite>;
@@ -412,11 +662,64 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
412
662
  GridLoadCurveLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
413
663
  readonly description: RichSlot<E>;
414
664
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
665
+ readonly marks?: readonly [{
666
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
667
+ } | {
668
+ readonly attrs: {
669
+ readonly href: string;
670
+ };
671
+ readonly type: "link";
672
+ } | {
673
+ readonly attrs: {
674
+ readonly variant: "success" | "warning" | null;
675
+ };
676
+ readonly type: "highlight";
677
+ }, ...({
678
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
679
+ } | {
680
+ readonly attrs: {
681
+ readonly href: string;
682
+ };
683
+ readonly type: "link";
684
+ } | {
685
+ readonly attrs: {
686
+ readonly variant: "success" | "warning" | null;
687
+ };
688
+ readonly type: "highlight";
689
+ })[]];
690
+ readonly text: string;
691
+ readonly type: "text";
692
+ } | {
415
693
  readonly attrs: {
416
694
  readonly latex: string;
417
695
  };
696
+ readonly marks?: readonly [{
697
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
698
+ } | {
699
+ readonly attrs: {
700
+ readonly href: string;
701
+ };
702
+ readonly type: "link";
703
+ } | {
704
+ readonly attrs: {
705
+ readonly variant: "success" | "warning" | null;
706
+ };
707
+ readonly type: "highlight";
708
+ }, ...({
709
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
710
+ } | {
711
+ readonly attrs: {
712
+ readonly href: string;
713
+ };
714
+ readonly type: "link";
715
+ } | {
716
+ readonly attrs: {
717
+ readonly variant: "success" | "warning" | null;
718
+ };
719
+ readonly type: "highlight";
720
+ })[]];
418
721
  readonly type: "mathInline";
419
- } | {
722
+ }, ...({
420
723
  readonly marks?: readonly [{
421
724
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
422
725
  } | {
@@ -444,12 +747,10 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
444
747
  })[]];
445
748
  readonly text: string;
446
749
  readonly type: "text";
447
- }, ...({
750
+ } | {
448
751
  readonly attrs: {
449
752
  readonly latex: string;
450
753
  };
451
- readonly type: "mathInline";
452
- } | {
453
754
  readonly marks?: readonly [{
454
755
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
455
756
  } | {
@@ -475,8 +776,7 @@ export declare function solarVisuals<E>(rich: RichSlot<E>): {
475
776
  };
476
777
  readonly type: "highlight";
477
778
  })[]];
478
- readonly text: string;
479
- readonly type: "text";
779
+ readonly type: "mathInline";
480
780
  })[]], E, never, never>>;
481
781
  readonly title: RichSlot<E>;
482
782
  readonly labels: Schema.Struct<{
@@ -5,11 +5,64 @@ export declare function thermodynamicsVisuals<E>(rich: RichSlot<E>): {
5
5
  GasProcessLab: 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 thermodynamicsVisuals<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 thermodynamicsVisuals<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 gamma: Schema.optionalKey<Schema.Finite>;