@nakafa/aksara-contracts 8.2.0 → 8.4.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 (79) hide show
  1. package/dist/math/boundary.d.ts +9 -0
  2. package/dist/math/boundary.js +81 -0
  3. package/dist/math/curve.d.ts +1 -0
  4. package/dist/math/curve.js +4 -2
  5. package/dist/math/formula/affine.d.ts +22 -0
  6. package/dist/math/formula/affine.js +79 -0
  7. package/dist/math/formula/contour.js +27 -12
  8. package/dist/math/object.d.ts +12 -0
  9. package/dist/math/object.js +11 -0
  10. package/dist/math/plane.d.ts +10 -0
  11. package/dist/math/plane.js +7 -1
  12. package/dist/math/space.d.ts +8 -0
  13. package/dist/math/space.js +5 -1
  14. package/dist/math/visual.d.ts +239 -212
  15. package/dist/visual/base/math.d.ts +78 -0
  16. package/dist/visual/base/math.js +31 -3
  17. package/dist/visual/base/media.d.ts +67 -0
  18. package/dist/visual/biology/bacteria.d.ts +268 -0
  19. package/dist/visual/biology/cell.d.ts +201 -0
  20. package/dist/visual/biology/climate.d.ts +201 -0
  21. package/dist/visual/biology/ecology.d.ts +268 -0
  22. package/dist/visual/biology/physiology.d.ts +201 -0
  23. package/dist/visual/biology/plant.d.ts +335 -0
  24. package/dist/visual/card.d.ts +79 -1
  25. package/dist/visual/card.js +18 -2
  26. package/dist/visual/catalog.d.ts +14164 -2
  27. package/dist/visual/catalog.js +4 -0
  28. package/dist/visual/chemistry/atom.d.ts +201 -0
  29. package/dist/visual/chemistry/balance.d.ts +335 -0
  30. package/dist/visual/chemistry/bonding.d.ts +335 -0
  31. package/dist/visual/chemistry/discovery.d.ts +469 -0
  32. package/dist/visual/chemistry/electrochemistry.d.ts +134 -0
  33. package/dist/visual/chemistry/electron.d.ts +134 -0
  34. package/dist/visual/chemistry/laws.d.ts +268 -0
  35. package/dist/visual/chemistry/particles.d.ts +335 -0
  36. package/dist/visual/chemistry/periodic.d.ts +134 -0
  37. package/dist/visual/chemistry/rate.d.ts +67 -0
  38. package/dist/visual/chemistry/reaction.d.ts +201 -0
  39. package/dist/visual/chemistry/titration.d.ts +67 -0
  40. package/dist/visual/length.d.ts +79 -0
  41. package/dist/visual/length.js +37 -0
  42. package/dist/visual/mathematics/chance.d.ts +258 -0
  43. package/dist/visual/mathematics/chance.js +117 -0
  44. package/dist/visual/mathematics/chart.d.ts +67 -0
  45. package/dist/visual/mathematics/charts.d.ts +335 -0
  46. package/dist/visual/mathematics/function.d.ts +201 -0
  47. package/dist/visual/mathematics/numeral.d.ts +170 -0
  48. package/dist/visual/mathematics/numeral.js +85 -0
  49. package/dist/visual/physics/braking.d.ts +268 -0
  50. package/dist/visual/physics/circuit.d.ts +268 -0
  51. package/dist/visual/physics/circular.d.ts +134 -0
  52. package/dist/visual/physics/dynamics.d.ts +469 -0
  53. package/dist/visual/physics/efficiency.d.ts +402 -0
  54. package/dist/visual/physics/electronics.d.ts +201 -0
  55. package/dist/visual/physics/falling.d.ts +268 -0
  56. package/dist/visual/physics/field.d.ts +201 -0
  57. package/dist/visual/physics/fluid.d.ts +268 -0
  58. package/dist/visual/physics/force.d.ts +335 -0
  59. package/dist/visual/physics/gravity.d.ts +134 -0
  60. package/dist/visual/physics/heat.d.ts +201 -0
  61. package/dist/visual/physics/instrument.d.ts +469 -0
  62. package/dist/visual/physics/light.d.ts +268 -0
  63. package/dist/visual/physics/measurement.d.ts +268 -0
  64. package/dist/visual/physics/motion.d.ts +402 -0
  65. package/dist/visual/physics/nuclear.d.ts +201 -0
  66. package/dist/visual/physics/parabolic.d.ts +67 -0
  67. package/dist/visual/physics/position.d.ts +402 -0
  68. package/dist/visual/physics/power.d.ts +536 -0
  69. package/dist/visual/physics/precision.d.ts +469 -0
  70. package/dist/visual/physics/product.d.ts +268 -0
  71. package/dist/visual/physics/reading.d.ts +201 -0
  72. package/dist/visual/physics/record.d.ts +134 -0
  73. package/dist/visual/physics/relative.d.ts +201 -0
  74. package/dist/visual/physics/solar.d.ts +402 -0
  75. package/dist/visual/physics/vector.d.ts +335 -0
  76. package/dist/visual/physics/velocity.d.ts +469 -0
  77. package/dist/visual/physics/wave.d.ts +268 -0
  78. package/dist/visual/politics.d.ts +402 -0
  79. package/package.json +1 -1
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
7
7
  export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
8
8
  CathodeRayLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
9
9
  readonly description: RichSlot<E>;
10
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
11
+ readonly attrs: {
12
+ readonly latex: string;
13
+ };
14
+ readonly type: "mathInline";
15
+ } | {
16
+ readonly marks?: readonly [{
17
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
18
+ } | {
19
+ readonly attrs: {
20
+ readonly href: string;
21
+ };
22
+ readonly type: "link";
23
+ } | {
24
+ readonly attrs: {
25
+ readonly variant: "success" | "warning" | null;
26
+ };
27
+ readonly type: "highlight";
28
+ }, ...({
29
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
30
+ } | {
31
+ readonly attrs: {
32
+ readonly href: string;
33
+ };
34
+ readonly type: "link";
35
+ } | {
36
+ readonly attrs: {
37
+ readonly variant: "success" | "warning" | null;
38
+ };
39
+ readonly type: "highlight";
40
+ })[]];
41
+ readonly text: string;
42
+ readonly type: "text";
43
+ }, ...({
44
+ readonly attrs: {
45
+ readonly latex: string;
46
+ };
47
+ readonly type: "mathInline";
48
+ } | {
49
+ readonly marks?: readonly [{
50
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
51
+ } | {
52
+ readonly attrs: {
53
+ readonly href: string;
54
+ };
55
+ readonly type: "link";
56
+ } | {
57
+ readonly attrs: {
58
+ readonly variant: "success" | "warning" | null;
59
+ };
60
+ readonly type: "highlight";
61
+ }, ...({
62
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
63
+ } | {
64
+ readonly attrs: {
65
+ readonly href: string;
66
+ };
67
+ readonly type: "link";
68
+ } | {
69
+ readonly attrs: {
70
+ readonly variant: "success" | "warning" | null;
71
+ };
72
+ readonly type: "highlight";
73
+ })[]];
74
+ readonly text: string;
75
+ readonly type: "text";
76
+ })[]], E, never, never>>;
10
77
  readonly title: RichSlot<E>;
11
78
  readonly labels: Schema.Struct<{
12
79
  readonly anode: RichSlot<E>;
@@ -18,6 +85,73 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
18
85
  }>, "figure">;
19
86
  MillikanOilDropLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
20
87
  readonly description: RichSlot<E>;
88
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
89
+ readonly attrs: {
90
+ readonly latex: string;
91
+ };
92
+ readonly type: "mathInline";
93
+ } | {
94
+ readonly marks?: readonly [{
95
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
96
+ } | {
97
+ readonly attrs: {
98
+ readonly href: string;
99
+ };
100
+ readonly type: "link";
101
+ } | {
102
+ readonly attrs: {
103
+ readonly variant: "success" | "warning" | null;
104
+ };
105
+ readonly type: "highlight";
106
+ }, ...({
107
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
108
+ } | {
109
+ readonly attrs: {
110
+ readonly href: string;
111
+ };
112
+ readonly type: "link";
113
+ } | {
114
+ readonly attrs: {
115
+ readonly variant: "success" | "warning" | null;
116
+ };
117
+ readonly type: "highlight";
118
+ })[]];
119
+ readonly text: string;
120
+ readonly type: "text";
121
+ }, ...({
122
+ readonly attrs: {
123
+ readonly latex: string;
124
+ };
125
+ readonly type: "mathInline";
126
+ } | {
127
+ readonly marks?: readonly [{
128
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
129
+ } | {
130
+ readonly attrs: {
131
+ readonly href: string;
132
+ };
133
+ readonly type: "link";
134
+ } | {
135
+ readonly attrs: {
136
+ readonly variant: "success" | "warning" | null;
137
+ };
138
+ readonly type: "highlight";
139
+ }, ...({
140
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
141
+ } | {
142
+ readonly attrs: {
143
+ readonly href: string;
144
+ };
145
+ readonly type: "link";
146
+ } | {
147
+ readonly attrs: {
148
+ readonly variant: "success" | "warning" | null;
149
+ };
150
+ readonly type: "highlight";
151
+ })[]];
152
+ readonly text: string;
153
+ readonly type: "text";
154
+ })[]], E, never, never>>;
21
155
  readonly title: RichSlot<E>;
22
156
  readonly labels: Schema.Struct<{
23
157
  readonly charge: RichSlot<E>;
@@ -29,6 +163,73 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
29
163
  }>, "figure">;
30
164
  RutherfordScatteringLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
31
165
  readonly description: RichSlot<E>;
166
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
167
+ readonly attrs: {
168
+ readonly latex: string;
169
+ };
170
+ readonly type: "mathInline";
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
+ })[]];
197
+ readonly text: string;
198
+ readonly type: "text";
199
+ }, ...({
200
+ readonly attrs: {
201
+ readonly latex: string;
202
+ };
203
+ readonly type: "mathInline";
204
+ } | {
205
+ readonly marks?: readonly [{
206
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
207
+ } | {
208
+ readonly attrs: {
209
+ readonly href: string;
210
+ };
211
+ readonly type: "link";
212
+ } | {
213
+ readonly attrs: {
214
+ readonly variant: "success" | "warning" | null;
215
+ };
216
+ readonly type: "highlight";
217
+ }, ...({
218
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
219
+ } | {
220
+ readonly attrs: {
221
+ readonly href: string;
222
+ };
223
+ readonly type: "link";
224
+ } | {
225
+ readonly attrs: {
226
+ readonly variant: "success" | "warning" | null;
227
+ };
228
+ readonly type: "highlight";
229
+ })[]];
230
+ readonly text: string;
231
+ readonly type: "text";
232
+ })[]], E, never, never>>;
32
233
  readonly title: RichSlot<E>;
33
234
  readonly energy: Schema.optionalKey<Schema.Finite>;
34
235
  readonly labels: Schema.Struct<{
@@ -41,6 +242,73 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
41
242
  }>, "figure">;
42
243
  BohrEmissionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
43
244
  readonly description: RichSlot<E>;
245
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
246
+ readonly attrs: {
247
+ readonly latex: string;
248
+ };
249
+ readonly type: "mathInline";
250
+ } | {
251
+ readonly marks?: readonly [{
252
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
253
+ } | {
254
+ readonly attrs: {
255
+ readonly href: string;
256
+ };
257
+ readonly type: "link";
258
+ } | {
259
+ readonly attrs: {
260
+ readonly variant: "success" | "warning" | null;
261
+ };
262
+ readonly type: "highlight";
263
+ }, ...({
264
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
265
+ } | {
266
+ readonly attrs: {
267
+ readonly href: string;
268
+ };
269
+ readonly type: "link";
270
+ } | {
271
+ readonly attrs: {
272
+ readonly variant: "success" | "warning" | null;
273
+ };
274
+ readonly type: "highlight";
275
+ })[]];
276
+ readonly text: string;
277
+ readonly type: "text";
278
+ }, ...({
279
+ readonly attrs: {
280
+ readonly latex: string;
281
+ };
282
+ readonly type: "mathInline";
283
+ } | {
284
+ readonly marks?: readonly [{
285
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
286
+ } | {
287
+ readonly attrs: {
288
+ readonly href: string;
289
+ };
290
+ readonly type: "link";
291
+ } | {
292
+ readonly attrs: {
293
+ readonly variant: "success" | "warning" | null;
294
+ };
295
+ readonly type: "highlight";
296
+ }, ...({
297
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
298
+ } | {
299
+ readonly attrs: {
300
+ readonly href: string;
301
+ };
302
+ readonly type: "link";
303
+ } | {
304
+ readonly attrs: {
305
+ readonly variant: "success" | "warning" | null;
306
+ };
307
+ readonly type: "highlight";
308
+ })[]];
309
+ readonly text: string;
310
+ readonly type: "text";
311
+ })[]], E, never, never>>;
44
312
  readonly title: RichSlot<E>;
45
313
  readonly falls: Schema.$Array<Schema.Struct<{
46
314
  readonly from: Schema.Int;
@@ -57,6 +325,73 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
57
325
  }>, "figure">;
58
326
  MassSpectrometerLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
59
327
  readonly description: RichSlot<E>;
328
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
329
+ readonly attrs: {
330
+ readonly latex: string;
331
+ };
332
+ readonly type: "mathInline";
333
+ } | {
334
+ readonly marks?: readonly [{
335
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
336
+ } | {
337
+ readonly attrs: {
338
+ readonly href: string;
339
+ };
340
+ readonly type: "link";
341
+ } | {
342
+ readonly attrs: {
343
+ readonly variant: "success" | "warning" | null;
344
+ };
345
+ readonly type: "highlight";
346
+ }, ...({
347
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
348
+ } | {
349
+ readonly attrs: {
350
+ readonly href: string;
351
+ };
352
+ readonly type: "link";
353
+ } | {
354
+ readonly attrs: {
355
+ readonly variant: "success" | "warning" | null;
356
+ };
357
+ readonly type: "highlight";
358
+ })[]];
359
+ readonly text: string;
360
+ readonly type: "text";
361
+ }, ...({
362
+ readonly attrs: {
363
+ readonly latex: string;
364
+ };
365
+ readonly type: "mathInline";
366
+ } | {
367
+ readonly marks?: readonly [{
368
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
369
+ } | {
370
+ readonly attrs: {
371
+ readonly href: string;
372
+ };
373
+ readonly type: "link";
374
+ } | {
375
+ readonly attrs: {
376
+ readonly variant: "success" | "warning" | null;
377
+ };
378
+ readonly type: "highlight";
379
+ }, ...({
380
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
381
+ } | {
382
+ readonly attrs: {
383
+ readonly href: string;
384
+ };
385
+ readonly type: "link";
386
+ } | {
387
+ readonly attrs: {
388
+ readonly variant: "success" | "warning" | null;
389
+ };
390
+ readonly type: "highlight";
391
+ })[]];
392
+ readonly text: string;
393
+ readonly type: "text";
394
+ })[]], E, never, never>>;
60
395
  readonly title: RichSlot<E>;
61
396
  readonly labels: Schema.Struct<{
62
397
  readonly average: RichSlot<E>;
@@ -72,6 +407,73 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
72
407
  }>, "figure">;
73
408
  ParticleTrackLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
74
409
  readonly description: RichSlot<E>;
410
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
411
+ readonly attrs: {
412
+ readonly latex: string;
413
+ };
414
+ readonly type: "mathInline";
415
+ } | {
416
+ readonly marks?: readonly [{
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 type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
430
+ } | {
431
+ readonly attrs: {
432
+ readonly href: string;
433
+ };
434
+ readonly type: "link";
435
+ } | {
436
+ readonly attrs: {
437
+ readonly variant: "success" | "warning" | null;
438
+ };
439
+ readonly type: "highlight";
440
+ })[]];
441
+ readonly text: string;
442
+ readonly type: "text";
443
+ }, ...({
444
+ readonly attrs: {
445
+ readonly latex: string;
446
+ };
447
+ readonly type: "mathInline";
448
+ } | {
449
+ readonly marks?: readonly [{
450
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
451
+ } | {
452
+ readonly attrs: {
453
+ readonly href: string;
454
+ };
455
+ readonly type: "link";
456
+ } | {
457
+ readonly attrs: {
458
+ readonly variant: "success" | "warning" | null;
459
+ };
460
+ readonly type: "highlight";
461
+ }, ...({
462
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
463
+ } | {
464
+ readonly attrs: {
465
+ readonly href: string;
466
+ };
467
+ readonly type: "link";
468
+ } | {
469
+ readonly attrs: {
470
+ readonly variant: "success" | "warning" | null;
471
+ };
472
+ readonly type: "highlight";
473
+ })[]];
474
+ readonly text: string;
475
+ readonly type: "text";
476
+ })[]], E, never, never>>;
75
477
  readonly title: RichSlot<E>;
76
478
  readonly labels: Schema.Struct<{
77
479
  readonly electron: RichSlot<E>;
@@ -83,6 +485,73 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
83
485
  }>, "figure">;
84
486
  RadioactiveDecayLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
85
487
  readonly description: RichSlot<E>;
488
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
489
+ readonly attrs: {
490
+ readonly latex: string;
491
+ };
492
+ readonly type: "mathInline";
493
+ } | {
494
+ readonly marks?: readonly [{
495
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
496
+ } | {
497
+ readonly attrs: {
498
+ readonly href: string;
499
+ };
500
+ readonly type: "link";
501
+ } | {
502
+ readonly attrs: {
503
+ readonly variant: "success" | "warning" | null;
504
+ };
505
+ readonly type: "highlight";
506
+ }, ...({
507
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
508
+ } | {
509
+ readonly attrs: {
510
+ readonly href: string;
511
+ };
512
+ readonly type: "link";
513
+ } | {
514
+ readonly attrs: {
515
+ readonly variant: "success" | "warning" | null;
516
+ };
517
+ readonly type: "highlight";
518
+ })[]];
519
+ readonly text: string;
520
+ readonly type: "text";
521
+ }, ...({
522
+ readonly attrs: {
523
+ readonly latex: string;
524
+ };
525
+ readonly type: "mathInline";
526
+ } | {
527
+ readonly marks?: readonly [{
528
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
529
+ } | {
530
+ readonly attrs: {
531
+ readonly href: string;
532
+ };
533
+ readonly type: "link";
534
+ } | {
535
+ readonly attrs: {
536
+ readonly variant: "success" | "warning" | null;
537
+ };
538
+ readonly type: "highlight";
539
+ }, ...({
540
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
541
+ } | {
542
+ readonly attrs: {
543
+ readonly href: string;
544
+ };
545
+ readonly type: "link";
546
+ } | {
547
+ readonly attrs: {
548
+ readonly variant: "success" | "warning" | null;
549
+ };
550
+ readonly type: "highlight";
551
+ })[]];
552
+ readonly text: string;
553
+ readonly type: "text";
554
+ })[]], E, never, never>>;
86
555
  readonly title: RichSlot<E>;
87
556
  readonly labels: Schema.Struct<{
88
557
  readonly counted: RichSlot<E>;
@@ -4,6 +4,73 @@ import { type RichSlot } from "#contracts/visual/card";
4
4
  export declare function electrochemistryVisuals<E>(rich: RichSlot<E>): {
5
5
  ChemicalCellLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
6
6
  readonly description: RichSlot<E>;
7
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
8
+ readonly attrs: {
9
+ readonly latex: string;
10
+ };
11
+ readonly type: "mathInline";
12
+ } | {
13
+ readonly marks?: readonly [{
14
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15
+ } | {
16
+ readonly attrs: {
17
+ readonly href: string;
18
+ };
19
+ readonly type: "link";
20
+ } | {
21
+ readonly attrs: {
22
+ readonly variant: "success" | "warning" | null;
23
+ };
24
+ readonly type: "highlight";
25
+ }, ...({
26
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
27
+ } | {
28
+ readonly attrs: {
29
+ readonly href: string;
30
+ };
31
+ readonly type: "link";
32
+ } | {
33
+ readonly attrs: {
34
+ readonly variant: "success" | "warning" | null;
35
+ };
36
+ readonly type: "highlight";
37
+ })[]];
38
+ readonly text: string;
39
+ readonly type: "text";
40
+ }, ...({
41
+ readonly attrs: {
42
+ readonly latex: string;
43
+ };
44
+ readonly type: "mathInline";
45
+ } | {
46
+ readonly marks?: readonly [{
47
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
48
+ } | {
49
+ readonly attrs: {
50
+ readonly href: string;
51
+ };
52
+ readonly type: "link";
53
+ } | {
54
+ readonly attrs: {
55
+ readonly variant: "success" | "warning" | null;
56
+ };
57
+ readonly type: "highlight";
58
+ }, ...({
59
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
60
+ } | {
61
+ readonly attrs: {
62
+ readonly href: string;
63
+ };
64
+ readonly type: "link";
65
+ } | {
66
+ readonly attrs: {
67
+ readonly variant: "success" | "warning" | null;
68
+ };
69
+ readonly type: "highlight";
70
+ })[]];
71
+ readonly text: string;
72
+ readonly type: "text";
73
+ })[]], E, never, never>>;
7
74
  readonly title: RichSlot<E>;
8
75
  readonly electrons: Schema.optionalKey<Schema.Finite>;
9
76
  readonly labels: Schema.Struct<{
@@ -20,6 +87,73 @@ export declare function electrochemistryVisuals<E>(rich: RichSlot<E>): {
20
87
  }>, "figure">;
21
88
  ElectrolysisLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
22
89
  readonly description: RichSlot<E>;
90
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
91
+ readonly attrs: {
92
+ readonly latex: string;
93
+ };
94
+ readonly type: "mathInline";
95
+ } | {
96
+ readonly marks?: readonly [{
97
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
98
+ } | {
99
+ readonly attrs: {
100
+ readonly href: string;
101
+ };
102
+ readonly type: "link";
103
+ } | {
104
+ readonly attrs: {
105
+ readonly variant: "success" | "warning" | null;
106
+ };
107
+ readonly type: "highlight";
108
+ }, ...({
109
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
110
+ } | {
111
+ readonly attrs: {
112
+ readonly href: string;
113
+ };
114
+ readonly type: "link";
115
+ } | {
116
+ readonly attrs: {
117
+ readonly variant: "success" | "warning" | null;
118
+ };
119
+ readonly type: "highlight";
120
+ })[]];
121
+ readonly text: string;
122
+ readonly type: "text";
123
+ }, ...({
124
+ readonly attrs: {
125
+ readonly latex: string;
126
+ };
127
+ readonly type: "mathInline";
128
+ } | {
129
+ readonly marks?: readonly [{
130
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
131
+ } | {
132
+ readonly attrs: {
133
+ readonly href: string;
134
+ };
135
+ readonly type: "link";
136
+ } | {
137
+ readonly attrs: {
138
+ readonly variant: "success" | "warning" | null;
139
+ };
140
+ readonly type: "highlight";
141
+ }, ...({
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 text: string;
155
+ readonly type: "text";
156
+ })[]], E, never, never>>;
23
157
  readonly title: RichSlot<E>;
24
158
  readonly cells: Schema.NonEmptyArray<Schema.Struct<{
25
159
  readonly electrode: Schema.Literals<readonly ["carbon", "platinum", "copper", "silver"]>;