@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 electronicsVisuals<E>(rich: RichSlot<E>): {
8
8
  TransistorBiasLab: 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 electronicsVisuals<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 electronicsVisuals<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 base: Schema.Finite;
@@ -93,11 +143,64 @@ export declare function electronicsVisuals<E>(rich: RichSlot<E>): {
93
143
  LogicGateLab: 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 electronicsVisuals<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 electronicsVisuals<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 gate: Schema.Literals<readonly ["AND", "OR", "NAND", "NOR", "XOR"]>;
@@ -176,11 +276,64 @@ export declare function electronicsVisuals<E>(rich: RichSlot<E>): {
176
276
  TransistorSwitchLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
177
277
  readonly description: RichSlot<E>;
178
278
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
279
+ readonly marks?: readonly [{
280
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
281
+ } | {
282
+ readonly attrs: {
283
+ readonly href: string;
284
+ };
285
+ readonly type: "link";
286
+ } | {
287
+ readonly attrs: {
288
+ readonly variant: "success" | "warning" | null;
289
+ };
290
+ readonly type: "highlight";
291
+ }, ...({
292
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
293
+ } | {
294
+ readonly attrs: {
295
+ readonly href: string;
296
+ };
297
+ readonly type: "link";
298
+ } | {
299
+ readonly attrs: {
300
+ readonly variant: "success" | "warning" | null;
301
+ };
302
+ readonly type: "highlight";
303
+ })[]];
304
+ readonly text: string;
305
+ readonly type: "text";
306
+ } | {
179
307
  readonly attrs: {
180
308
  readonly latex: string;
181
309
  };
310
+ readonly marks?: readonly [{
311
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
312
+ } | {
313
+ readonly attrs: {
314
+ readonly href: string;
315
+ };
316
+ readonly type: "link";
317
+ } | {
318
+ readonly attrs: {
319
+ readonly variant: "success" | "warning" | null;
320
+ };
321
+ readonly type: "highlight";
322
+ }, ...({
323
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
324
+ } | {
325
+ readonly attrs: {
326
+ readonly href: string;
327
+ };
328
+ readonly type: "link";
329
+ } | {
330
+ readonly attrs: {
331
+ readonly variant: "success" | "warning" | null;
332
+ };
333
+ readonly type: "highlight";
334
+ })[]];
182
335
  readonly type: "mathInline";
183
- } | {
336
+ }, ...({
184
337
  readonly marks?: readonly [{
185
338
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
186
339
  } | {
@@ -208,12 +361,10 @@ export declare function electronicsVisuals<E>(rich: RichSlot<E>): {
208
361
  })[]];
209
362
  readonly text: string;
210
363
  readonly type: "text";
211
- }, ...({
364
+ } | {
212
365
  readonly attrs: {
213
366
  readonly latex: string;
214
367
  };
215
- readonly type: "mathInline";
216
- } | {
217
368
  readonly marks?: readonly [{
218
369
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
219
370
  } | {
@@ -239,8 +390,7 @@ export declare function electronicsVisuals<E>(rich: RichSlot<E>): {
239
390
  };
240
391
  readonly type: "highlight";
241
392
  })[]];
242
- readonly text: string;
243
- readonly type: "text";
393
+ readonly type: "mathInline";
244
394
  })[]], E, never, never>>;
245
395
  readonly title: RichSlot<E>;
246
396
  readonly labels: Schema.Struct<{
@@ -8,11 +8,64 @@ export declare function fallingVisuals<E>(rich: RichSlot<E>): {
8
8
  GalileoInclineBellsLab: 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 fallingVisuals<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 fallingVisuals<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<{
@@ -86,11 +136,64 @@ export declare function fallingVisuals<E>(rich: RichSlot<E>): {
86
136
  FeatherCoinVacuumLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
87
137
  readonly description: RichSlot<E>;
88
138
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
139
+ readonly marks?: readonly [{
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 type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
153
+ } | {
154
+ readonly attrs: {
155
+ readonly href: string;
156
+ };
157
+ readonly type: "link";
158
+ } | {
159
+ readonly attrs: {
160
+ readonly variant: "success" | "warning" | null;
161
+ };
162
+ readonly type: "highlight";
163
+ })[]];
164
+ readonly text: string;
165
+ readonly type: "text";
166
+ } | {
89
167
  readonly attrs: {
90
168
  readonly latex: string;
91
169
  };
170
+ readonly marks?: readonly [{
171
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
172
+ } | {
173
+ readonly attrs: {
174
+ readonly href: string;
175
+ };
176
+ readonly type: "link";
177
+ } | {
178
+ readonly attrs: {
179
+ readonly variant: "success" | "warning" | null;
180
+ };
181
+ readonly type: "highlight";
182
+ }, ...({
183
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
184
+ } | {
185
+ readonly attrs: {
186
+ readonly href: string;
187
+ };
188
+ readonly type: "link";
189
+ } | {
190
+ readonly attrs: {
191
+ readonly variant: "success" | "warning" | null;
192
+ };
193
+ readonly type: "highlight";
194
+ })[]];
92
195
  readonly type: "mathInline";
93
- } | {
196
+ }, ...({
94
197
  readonly marks?: readonly [{
95
198
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
96
199
  } | {
@@ -118,12 +221,10 @@ export declare function fallingVisuals<E>(rich: RichSlot<E>): {
118
221
  })[]];
119
222
  readonly text: string;
120
223
  readonly type: "text";
121
- }, ...({
224
+ } | {
122
225
  readonly attrs: {
123
226
  readonly latex: string;
124
227
  };
125
- readonly type: "mathInline";
126
- } | {
127
228
  readonly marks?: readonly [{
128
229
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
129
230
  } | {
@@ -149,8 +250,7 @@ export declare function fallingVisuals<E>(rich: RichSlot<E>): {
149
250
  };
150
251
  readonly type: "highlight";
151
252
  })[]];
152
- readonly text: string;
153
- readonly type: "text";
253
+ readonly type: "mathInline";
154
254
  })[]], E, never, never>>;
155
255
  readonly title: RichSlot<E>;
156
256
  readonly labels: Schema.Struct<{
@@ -165,11 +265,64 @@ export declare function fallingVisuals<E>(rich: RichSlot<E>): {
165
265
  FallingTargetAimLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
166
266
  readonly description: RichSlot<E>;
167
267
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
268
+ readonly marks?: readonly [{
269
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
270
+ } | {
271
+ readonly attrs: {
272
+ readonly href: string;
273
+ };
274
+ readonly type: "link";
275
+ } | {
276
+ readonly attrs: {
277
+ readonly variant: "success" | "warning" | null;
278
+ };
279
+ readonly type: "highlight";
280
+ }, ...({
281
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
282
+ } | {
283
+ readonly attrs: {
284
+ readonly href: string;
285
+ };
286
+ readonly type: "link";
287
+ } | {
288
+ readonly attrs: {
289
+ readonly variant: "success" | "warning" | null;
290
+ };
291
+ readonly type: "highlight";
292
+ })[]];
293
+ readonly text: string;
294
+ readonly type: "text";
295
+ } | {
168
296
  readonly attrs: {
169
297
  readonly latex: string;
170
298
  };
299
+ readonly marks?: readonly [{
300
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
301
+ } | {
302
+ readonly attrs: {
303
+ readonly href: string;
304
+ };
305
+ readonly type: "link";
306
+ } | {
307
+ readonly attrs: {
308
+ readonly variant: "success" | "warning" | null;
309
+ };
310
+ readonly type: "highlight";
311
+ }, ...({
312
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
313
+ } | {
314
+ readonly attrs: {
315
+ readonly href: string;
316
+ };
317
+ readonly type: "link";
318
+ } | {
319
+ readonly attrs: {
320
+ readonly variant: "success" | "warning" | null;
321
+ };
322
+ readonly type: "highlight";
323
+ })[]];
171
324
  readonly type: "mathInline";
172
- } | {
325
+ }, ...({
173
326
  readonly marks?: readonly [{
174
327
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
175
328
  } | {
@@ -197,12 +350,10 @@ export declare function fallingVisuals<E>(rich: RichSlot<E>): {
197
350
  })[]];
198
351
  readonly text: string;
199
352
  readonly type: "text";
200
- }, ...({
353
+ } | {
201
354
  readonly attrs: {
202
355
  readonly latex: string;
203
356
  };
204
- readonly type: "mathInline";
205
- } | {
206
357
  readonly marks?: readonly [{
207
358
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
208
359
  } | {
@@ -228,8 +379,7 @@ export declare function fallingVisuals<E>(rich: RichSlot<E>): {
228
379
  };
229
380
  readonly type: "highlight";
230
381
  })[]];
231
- readonly text: string;
232
- readonly type: "text";
382
+ readonly type: "mathInline";
233
383
  })[]], E, never, never>>;
234
384
  readonly title: RichSlot<E>;
235
385
  readonly labels: Schema.Struct<{
@@ -244,11 +394,64 @@ export declare function fallingVisuals<E>(rich: RichSlot<E>): {
244
394
  HoseJetProjectileLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
245
395
  readonly description: RichSlot<E>;
246
396
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
397
+ readonly marks?: readonly [{
398
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
399
+ } | {
400
+ readonly attrs: {
401
+ readonly href: string;
402
+ };
403
+ readonly type: "link";
404
+ } | {
405
+ readonly attrs: {
406
+ readonly variant: "success" | "warning" | null;
407
+ };
408
+ readonly type: "highlight";
409
+ }, ...({
410
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
411
+ } | {
412
+ readonly attrs: {
413
+ readonly href: string;
414
+ };
415
+ readonly type: "link";
416
+ } | {
417
+ readonly attrs: {
418
+ readonly variant: "success" | "warning" | null;
419
+ };
420
+ readonly type: "highlight";
421
+ })[]];
422
+ readonly text: string;
423
+ readonly type: "text";
424
+ } | {
247
425
  readonly attrs: {
248
426
  readonly latex: string;
249
427
  };
428
+ readonly marks?: readonly [{
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 type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
442
+ } | {
443
+ readonly attrs: {
444
+ readonly href: string;
445
+ };
446
+ readonly type: "link";
447
+ } | {
448
+ readonly attrs: {
449
+ readonly variant: "success" | "warning" | null;
450
+ };
451
+ readonly type: "highlight";
452
+ })[]];
250
453
  readonly type: "mathInline";
251
- } | {
454
+ }, ...({
252
455
  readonly marks?: readonly [{
253
456
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
254
457
  } | {
@@ -276,12 +479,10 @@ export declare function fallingVisuals<E>(rich: RichSlot<E>): {
276
479
  })[]];
277
480
  readonly text: string;
278
481
  readonly type: "text";
279
- }, ...({
482
+ } | {
280
483
  readonly attrs: {
281
484
  readonly latex: string;
282
485
  };
283
- readonly type: "mathInline";
284
- } | {
285
486
  readonly marks?: readonly [{
286
487
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
287
488
  } | {
@@ -307,8 +508,7 @@ export declare function fallingVisuals<E>(rich: RichSlot<E>): {
307
508
  };
308
509
  readonly type: "highlight";
309
510
  })[]];
310
- readonly text: string;
311
- readonly type: "text";
511
+ readonly type: "mathInline";
312
512
  })[]], E, never, never>>;
313
513
  readonly title: RichSlot<E>;
314
514
  readonly angle: Schema.optionalKey<Schema.Literals<readonly [15, 30, 45, 60, 75, 90]>>;