@nakafa/aksara-contracts 8.9.1 → 8.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assessment/choice.d.ts +26 -0
- package/dist/assessment/document.d.ts +39 -0
- package/dist/assessment/figure.d.ts +13 -0
- package/dist/assessment/hash.d.ts +711 -111
- package/dist/assessment/inline.d.ts +53 -0
- package/dist/assessment/inline.js +1 -0
- package/dist/assessment/interaction.d.ts +26 -0
- package/dist/assessment/item.d.ts +414 -36
- package/dist/assessment/paper.d.ts +731 -131
- package/dist/assessment/part.d.ts +13 -0
- package/dist/assessment/rows.d.ts +336 -36
- package/dist/assessment/snapshot.d.ts +773 -121
- package/dist/release/snapshot/data.d.ts +26 -0
- package/dist/release/snapshot/verify.d.ts +336 -36
- package/dist/transport/group.d.ts +78 -0
- package/dist/transport/request.d.ts +2195 -343
- package/dist/transport/snapshot.d.ts +52 -0
- package/dist/visual/base/math.d.ts +56 -6
- package/dist/visual/base/media.d.ts +56 -6
- package/dist/visual/biology/bacteria.d.ts +224 -24
- package/dist/visual/biology/blood.d.ts +56 -6
- package/dist/visual/biology/cell.d.ts +168 -18
- package/dist/visual/biology/climate.d.ts +168 -18
- package/dist/visual/biology/ecology.d.ts +224 -24
- package/dist/visual/biology/heart.d.ts +56 -6
- package/dist/visual/biology/mitochondrion.d.ts +56 -6
- package/dist/visual/biology/muscle.d.ts +56 -6
- package/dist/visual/biology/neuron.d.ts +56 -6
- package/dist/visual/biology/paddy.d.ts +56 -6
- package/dist/visual/biology/physiology.d.ts +168 -18
- package/dist/visual/biology/plant.d.ts +280 -30
- package/dist/visual/biology/synapse.d.ts +56 -6
- package/dist/visual/biology/vessel.d.ts +56 -6
- package/dist/visual/biology/yeast.d.ts +56 -6
- package/dist/visual/card.d.ts +56 -6
- package/dist/visual/catalog.d.ts +16734 -5484
- package/dist/visual/chemistry/atom.d.ts +168 -18
- package/dist/visual/chemistry/balance.d.ts +280 -30
- package/dist/visual/chemistry/bonding.d.ts +280 -30
- package/dist/visual/chemistry/discovery.d.ts +392 -42
- package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
- package/dist/visual/chemistry/electron.d.ts +112 -12
- package/dist/visual/chemistry/laws.d.ts +224 -24
- package/dist/visual/chemistry/particles.d.ts +280 -30
- package/dist/visual/chemistry/periodic.d.ts +112 -12
- package/dist/visual/chemistry/rate.d.ts +56 -6
- package/dist/visual/chemistry/reaction.d.ts +168 -18
- package/dist/visual/chemistry/titration.d.ts +56 -6
- package/dist/visual/length.d.ts +56 -6
- package/dist/visual/mathematics/chance.d.ts +168 -18
- package/dist/visual/mathematics/chart.d.ts +56 -6
- package/dist/visual/mathematics/charts.d.ts +280 -30
- package/dist/visual/mathematics/function.d.ts +168 -18
- package/dist/visual/mathematics/journey.d.ts +56 -6
- package/dist/visual/mathematics/logic.d.ts +56 -6
- package/dist/visual/mathematics/network.d.ts +56 -6
- package/dist/visual/mathematics/numeral.d.ts +168 -18
- package/dist/visual/mathematics/sets.d.ts +56 -6
- package/dist/visual/physics/braking.d.ts +224 -24
- package/dist/visual/physics/circuit.d.ts +224 -24
- package/dist/visual/physics/circular.d.ts +112 -12
- package/dist/visual/physics/dynamics.d.ts +392 -42
- package/dist/visual/physics/efficiency.d.ts +336 -36
- package/dist/visual/physics/electronics.d.ts +168 -18
- package/dist/visual/physics/falling.d.ts +224 -24
- package/dist/visual/physics/field.d.ts +168 -18
- package/dist/visual/physics/fluid.d.ts +224 -24
- package/dist/visual/physics/force.d.ts +280 -30
- package/dist/visual/physics/gravity.d.ts +112 -12
- package/dist/visual/physics/heat.d.ts +168 -18
- package/dist/visual/physics/instrument.d.ts +392 -42
- package/dist/visual/physics/light.d.ts +224 -24
- package/dist/visual/physics/measurement.d.ts +224 -24
- package/dist/visual/physics/motion.d.ts +336 -36
- package/dist/visual/physics/nuclear.d.ts +168 -18
- package/dist/visual/physics/parabolic.d.ts +56 -6
- package/dist/visual/physics/position.d.ts +336 -36
- package/dist/visual/physics/power.d.ts +448 -48
- package/dist/visual/physics/precision.d.ts +392 -42
- package/dist/visual/physics/product.d.ts +224 -24
- package/dist/visual/physics/reading.d.ts +168 -18
- package/dist/visual/physics/record.d.ts +112 -12
- package/dist/visual/physics/relative.d.ts +168 -18
- package/dist/visual/physics/solar.d.ts +336 -36
- package/dist/visual/physics/thermodynamics.d.ts +56 -6
- package/dist/visual/physics/vector.d.ts +280 -30
- package/dist/visual/physics/velocity.d.ts +392 -42
- package/dist/visual/physics/wave.d.ts +224 -24
- package/dist/visual/politics.d.ts +336 -36
- package/package.json +1 -1
|
@@ -8,11 +8,64 @@ 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
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 discoveryVisuals<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 discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
71
122
|
};
|
|
72
123
|
readonly type: "highlight";
|
|
73
124
|
})[]];
|
|
74
|
-
readonly
|
|
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 discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
86
136
|
MillikanOilDropLab: 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 discoveryVisuals<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 discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
149
250
|
};
|
|
150
251
|
readonly type: "highlight";
|
|
151
252
|
})[]];
|
|
152
|
-
readonly
|
|
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<{
|
|
@@ -164,11 +264,64 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
164
264
|
RutherfordScatteringLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
165
265
|
readonly description: RichSlot<E>;
|
|
166
266
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
267
|
+
readonly marks?: readonly [{
|
|
268
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
269
|
+
} | {
|
|
270
|
+
readonly attrs: {
|
|
271
|
+
readonly href: string;
|
|
272
|
+
};
|
|
273
|
+
readonly type: "link";
|
|
274
|
+
} | {
|
|
275
|
+
readonly attrs: {
|
|
276
|
+
readonly variant: "success" | "warning" | null;
|
|
277
|
+
};
|
|
278
|
+
readonly type: "highlight";
|
|
279
|
+
}, ...({
|
|
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 text: string;
|
|
293
|
+
readonly type: "text";
|
|
294
|
+
} | {
|
|
167
295
|
readonly attrs: {
|
|
168
296
|
readonly latex: string;
|
|
169
297
|
};
|
|
298
|
+
readonly marks?: readonly [{
|
|
299
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
300
|
+
} | {
|
|
301
|
+
readonly attrs: {
|
|
302
|
+
readonly href: string;
|
|
303
|
+
};
|
|
304
|
+
readonly type: "link";
|
|
305
|
+
} | {
|
|
306
|
+
readonly attrs: {
|
|
307
|
+
readonly variant: "success" | "warning" | null;
|
|
308
|
+
};
|
|
309
|
+
readonly type: "highlight";
|
|
310
|
+
}, ...({
|
|
311
|
+
readonly 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
|
+
})[]];
|
|
170
323
|
readonly type: "mathInline";
|
|
171
|
-
}
|
|
324
|
+
}, ...({
|
|
172
325
|
readonly marks?: readonly [{
|
|
173
326
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
174
327
|
} | {
|
|
@@ -196,12 +349,10 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
196
349
|
})[]];
|
|
197
350
|
readonly text: string;
|
|
198
351
|
readonly type: "text";
|
|
199
|
-
}
|
|
352
|
+
} | {
|
|
200
353
|
readonly attrs: {
|
|
201
354
|
readonly latex: string;
|
|
202
355
|
};
|
|
203
|
-
readonly type: "mathInline";
|
|
204
|
-
} | {
|
|
205
356
|
readonly marks?: readonly [{
|
|
206
357
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
207
358
|
} | {
|
|
@@ -227,8 +378,7 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
227
378
|
};
|
|
228
379
|
readonly type: "highlight";
|
|
229
380
|
})[]];
|
|
230
|
-
readonly
|
|
231
|
-
readonly type: "text";
|
|
381
|
+
readonly type: "mathInline";
|
|
232
382
|
})[]], E, never, never>>;
|
|
233
383
|
readonly title: RichSlot<E>;
|
|
234
384
|
readonly energy: Schema.optionalKey<Schema.Finite>;
|
|
@@ -243,11 +393,64 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
243
393
|
BohrEmissionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
244
394
|
readonly description: RichSlot<E>;
|
|
245
395
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
396
|
+
readonly marks?: readonly [{
|
|
397
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
398
|
+
} | {
|
|
399
|
+
readonly attrs: {
|
|
400
|
+
readonly href: string;
|
|
401
|
+
};
|
|
402
|
+
readonly type: "link";
|
|
403
|
+
} | {
|
|
404
|
+
readonly attrs: {
|
|
405
|
+
readonly variant: "success" | "warning" | null;
|
|
406
|
+
};
|
|
407
|
+
readonly type: "highlight";
|
|
408
|
+
}, ...({
|
|
409
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
410
|
+
} | {
|
|
411
|
+
readonly attrs: {
|
|
412
|
+
readonly href: string;
|
|
413
|
+
};
|
|
414
|
+
readonly type: "link";
|
|
415
|
+
} | {
|
|
416
|
+
readonly attrs: {
|
|
417
|
+
readonly variant: "success" | "warning" | null;
|
|
418
|
+
};
|
|
419
|
+
readonly type: "highlight";
|
|
420
|
+
})[]];
|
|
421
|
+
readonly text: string;
|
|
422
|
+
readonly type: "text";
|
|
423
|
+
} | {
|
|
246
424
|
readonly attrs: {
|
|
247
425
|
readonly latex: string;
|
|
248
426
|
};
|
|
427
|
+
readonly marks?: readonly [{
|
|
428
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
429
|
+
} | {
|
|
430
|
+
readonly attrs: {
|
|
431
|
+
readonly href: string;
|
|
432
|
+
};
|
|
433
|
+
readonly type: "link";
|
|
434
|
+
} | {
|
|
435
|
+
readonly attrs: {
|
|
436
|
+
readonly variant: "success" | "warning" | null;
|
|
437
|
+
};
|
|
438
|
+
readonly type: "highlight";
|
|
439
|
+
}, ...({
|
|
440
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
441
|
+
} | {
|
|
442
|
+
readonly attrs: {
|
|
443
|
+
readonly href: string;
|
|
444
|
+
};
|
|
445
|
+
readonly type: "link";
|
|
446
|
+
} | {
|
|
447
|
+
readonly attrs: {
|
|
448
|
+
readonly variant: "success" | "warning" | null;
|
|
449
|
+
};
|
|
450
|
+
readonly type: "highlight";
|
|
451
|
+
})[]];
|
|
249
452
|
readonly type: "mathInline";
|
|
250
|
-
}
|
|
453
|
+
}, ...({
|
|
251
454
|
readonly marks?: readonly [{
|
|
252
455
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
253
456
|
} | {
|
|
@@ -275,12 +478,10 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
275
478
|
})[]];
|
|
276
479
|
readonly text: string;
|
|
277
480
|
readonly type: "text";
|
|
278
|
-
}
|
|
481
|
+
} | {
|
|
279
482
|
readonly attrs: {
|
|
280
483
|
readonly latex: string;
|
|
281
484
|
};
|
|
282
|
-
readonly type: "mathInline";
|
|
283
|
-
} | {
|
|
284
485
|
readonly marks?: readonly [{
|
|
285
486
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
286
487
|
} | {
|
|
@@ -306,8 +507,7 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
306
507
|
};
|
|
307
508
|
readonly type: "highlight";
|
|
308
509
|
})[]];
|
|
309
|
-
readonly
|
|
310
|
-
readonly type: "text";
|
|
510
|
+
readonly type: "mathInline";
|
|
311
511
|
})[]], E, never, never>>;
|
|
312
512
|
readonly title: RichSlot<E>;
|
|
313
513
|
readonly falls: Schema.$Array<Schema.Struct<{
|
|
@@ -326,11 +526,64 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
326
526
|
MassSpectrometerLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
327
527
|
readonly description: RichSlot<E>;
|
|
328
528
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
529
|
+
readonly marks?: readonly [{
|
|
530
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
531
|
+
} | {
|
|
532
|
+
readonly attrs: {
|
|
533
|
+
readonly href: string;
|
|
534
|
+
};
|
|
535
|
+
readonly type: "link";
|
|
536
|
+
} | {
|
|
537
|
+
readonly attrs: {
|
|
538
|
+
readonly variant: "success" | "warning" | null;
|
|
539
|
+
};
|
|
540
|
+
readonly type: "highlight";
|
|
541
|
+
}, ...({
|
|
542
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
543
|
+
} | {
|
|
544
|
+
readonly attrs: {
|
|
545
|
+
readonly href: string;
|
|
546
|
+
};
|
|
547
|
+
readonly type: "link";
|
|
548
|
+
} | {
|
|
549
|
+
readonly attrs: {
|
|
550
|
+
readonly variant: "success" | "warning" | null;
|
|
551
|
+
};
|
|
552
|
+
readonly type: "highlight";
|
|
553
|
+
})[]];
|
|
554
|
+
readonly text: string;
|
|
555
|
+
readonly type: "text";
|
|
556
|
+
} | {
|
|
329
557
|
readonly attrs: {
|
|
330
558
|
readonly latex: string;
|
|
331
559
|
};
|
|
560
|
+
readonly marks?: readonly [{
|
|
561
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
562
|
+
} | {
|
|
563
|
+
readonly attrs: {
|
|
564
|
+
readonly href: string;
|
|
565
|
+
};
|
|
566
|
+
readonly type: "link";
|
|
567
|
+
} | {
|
|
568
|
+
readonly attrs: {
|
|
569
|
+
readonly variant: "success" | "warning" | null;
|
|
570
|
+
};
|
|
571
|
+
readonly type: "highlight";
|
|
572
|
+
}, ...({
|
|
573
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
574
|
+
} | {
|
|
575
|
+
readonly attrs: {
|
|
576
|
+
readonly href: string;
|
|
577
|
+
};
|
|
578
|
+
readonly type: "link";
|
|
579
|
+
} | {
|
|
580
|
+
readonly attrs: {
|
|
581
|
+
readonly variant: "success" | "warning" | null;
|
|
582
|
+
};
|
|
583
|
+
readonly type: "highlight";
|
|
584
|
+
})[]];
|
|
332
585
|
readonly type: "mathInline";
|
|
333
|
-
}
|
|
586
|
+
}, ...({
|
|
334
587
|
readonly marks?: readonly [{
|
|
335
588
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
336
589
|
} | {
|
|
@@ -358,12 +611,10 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
358
611
|
})[]];
|
|
359
612
|
readonly text: string;
|
|
360
613
|
readonly type: "text";
|
|
361
|
-
}
|
|
614
|
+
} | {
|
|
362
615
|
readonly attrs: {
|
|
363
616
|
readonly latex: string;
|
|
364
617
|
};
|
|
365
|
-
readonly type: "mathInline";
|
|
366
|
-
} | {
|
|
367
618
|
readonly marks?: readonly [{
|
|
368
619
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
369
620
|
} | {
|
|
@@ -389,8 +640,7 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
389
640
|
};
|
|
390
641
|
readonly type: "highlight";
|
|
391
642
|
})[]];
|
|
392
|
-
readonly
|
|
393
|
-
readonly type: "text";
|
|
643
|
+
readonly type: "mathInline";
|
|
394
644
|
})[]], E, never, never>>;
|
|
395
645
|
readonly title: RichSlot<E>;
|
|
396
646
|
readonly labels: Schema.Struct<{
|
|
@@ -408,11 +658,64 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
408
658
|
ParticleTrackLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
409
659
|
readonly description: RichSlot<E>;
|
|
410
660
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
661
|
+
readonly marks?: readonly [{
|
|
662
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
663
|
+
} | {
|
|
664
|
+
readonly attrs: {
|
|
665
|
+
readonly href: string;
|
|
666
|
+
};
|
|
667
|
+
readonly type: "link";
|
|
668
|
+
} | {
|
|
669
|
+
readonly attrs: {
|
|
670
|
+
readonly variant: "success" | "warning" | null;
|
|
671
|
+
};
|
|
672
|
+
readonly type: "highlight";
|
|
673
|
+
}, ...({
|
|
674
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
675
|
+
} | {
|
|
676
|
+
readonly attrs: {
|
|
677
|
+
readonly href: string;
|
|
678
|
+
};
|
|
679
|
+
readonly type: "link";
|
|
680
|
+
} | {
|
|
681
|
+
readonly attrs: {
|
|
682
|
+
readonly variant: "success" | "warning" | null;
|
|
683
|
+
};
|
|
684
|
+
readonly type: "highlight";
|
|
685
|
+
})[]];
|
|
686
|
+
readonly text: string;
|
|
687
|
+
readonly type: "text";
|
|
688
|
+
} | {
|
|
411
689
|
readonly attrs: {
|
|
412
690
|
readonly latex: string;
|
|
413
691
|
};
|
|
692
|
+
readonly marks?: readonly [{
|
|
693
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
694
|
+
} | {
|
|
695
|
+
readonly attrs: {
|
|
696
|
+
readonly href: string;
|
|
697
|
+
};
|
|
698
|
+
readonly type: "link";
|
|
699
|
+
} | {
|
|
700
|
+
readonly attrs: {
|
|
701
|
+
readonly variant: "success" | "warning" | null;
|
|
702
|
+
};
|
|
703
|
+
readonly type: "highlight";
|
|
704
|
+
}, ...({
|
|
705
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
706
|
+
} | {
|
|
707
|
+
readonly attrs: {
|
|
708
|
+
readonly href: string;
|
|
709
|
+
};
|
|
710
|
+
readonly type: "link";
|
|
711
|
+
} | {
|
|
712
|
+
readonly attrs: {
|
|
713
|
+
readonly variant: "success" | "warning" | null;
|
|
714
|
+
};
|
|
715
|
+
readonly type: "highlight";
|
|
716
|
+
})[]];
|
|
414
717
|
readonly type: "mathInline";
|
|
415
|
-
}
|
|
718
|
+
}, ...({
|
|
416
719
|
readonly marks?: readonly [{
|
|
417
720
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
418
721
|
} | {
|
|
@@ -440,12 +743,10 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
440
743
|
})[]];
|
|
441
744
|
readonly text: string;
|
|
442
745
|
readonly type: "text";
|
|
443
|
-
}
|
|
746
|
+
} | {
|
|
444
747
|
readonly attrs: {
|
|
445
748
|
readonly latex: string;
|
|
446
749
|
};
|
|
447
|
-
readonly type: "mathInline";
|
|
448
|
-
} | {
|
|
449
750
|
readonly marks?: readonly [{
|
|
450
751
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
451
752
|
} | {
|
|
@@ -471,8 +772,7 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
471
772
|
};
|
|
472
773
|
readonly type: "highlight";
|
|
473
774
|
})[]];
|
|
474
|
-
readonly
|
|
475
|
-
readonly type: "text";
|
|
775
|
+
readonly type: "mathInline";
|
|
476
776
|
})[]], E, never, never>>;
|
|
477
777
|
readonly title: RichSlot<E>;
|
|
478
778
|
readonly labels: Schema.Struct<{
|
|
@@ -486,11 +786,64 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
486
786
|
RadioactiveDecayLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
487
787
|
readonly description: RichSlot<E>;
|
|
488
788
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
789
|
+
readonly marks?: readonly [{
|
|
790
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
791
|
+
} | {
|
|
792
|
+
readonly attrs: {
|
|
793
|
+
readonly href: string;
|
|
794
|
+
};
|
|
795
|
+
readonly type: "link";
|
|
796
|
+
} | {
|
|
797
|
+
readonly attrs: {
|
|
798
|
+
readonly variant: "success" | "warning" | null;
|
|
799
|
+
};
|
|
800
|
+
readonly type: "highlight";
|
|
801
|
+
}, ...({
|
|
802
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
803
|
+
} | {
|
|
804
|
+
readonly attrs: {
|
|
805
|
+
readonly href: string;
|
|
806
|
+
};
|
|
807
|
+
readonly type: "link";
|
|
808
|
+
} | {
|
|
809
|
+
readonly attrs: {
|
|
810
|
+
readonly variant: "success" | "warning" | null;
|
|
811
|
+
};
|
|
812
|
+
readonly type: "highlight";
|
|
813
|
+
})[]];
|
|
814
|
+
readonly text: string;
|
|
815
|
+
readonly type: "text";
|
|
816
|
+
} | {
|
|
489
817
|
readonly attrs: {
|
|
490
818
|
readonly latex: string;
|
|
491
819
|
};
|
|
820
|
+
readonly marks?: readonly [{
|
|
821
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
822
|
+
} | {
|
|
823
|
+
readonly attrs: {
|
|
824
|
+
readonly href: string;
|
|
825
|
+
};
|
|
826
|
+
readonly type: "link";
|
|
827
|
+
} | {
|
|
828
|
+
readonly attrs: {
|
|
829
|
+
readonly variant: "success" | "warning" | null;
|
|
830
|
+
};
|
|
831
|
+
readonly type: "highlight";
|
|
832
|
+
}, ...({
|
|
833
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
834
|
+
} | {
|
|
835
|
+
readonly attrs: {
|
|
836
|
+
readonly href: string;
|
|
837
|
+
};
|
|
838
|
+
readonly type: "link";
|
|
839
|
+
} | {
|
|
840
|
+
readonly attrs: {
|
|
841
|
+
readonly variant: "success" | "warning" | null;
|
|
842
|
+
};
|
|
843
|
+
readonly type: "highlight";
|
|
844
|
+
})[]];
|
|
492
845
|
readonly type: "mathInline";
|
|
493
|
-
}
|
|
846
|
+
}, ...({
|
|
494
847
|
readonly marks?: readonly [{
|
|
495
848
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
496
849
|
} | {
|
|
@@ -518,12 +871,10 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
518
871
|
})[]];
|
|
519
872
|
readonly text: string;
|
|
520
873
|
readonly type: "text";
|
|
521
|
-
}
|
|
874
|
+
} | {
|
|
522
875
|
readonly attrs: {
|
|
523
876
|
readonly latex: string;
|
|
524
877
|
};
|
|
525
|
-
readonly type: "mathInline";
|
|
526
|
-
} | {
|
|
527
878
|
readonly marks?: readonly [{
|
|
528
879
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
529
880
|
} | {
|
|
@@ -549,8 +900,7 @@ export declare function discoveryVisuals<E>(rich: RichSlot<E>): {
|
|
|
549
900
|
};
|
|
550
901
|
readonly type: "highlight";
|
|
551
902
|
})[]];
|
|
552
|
-
readonly
|
|
553
|
-
readonly type: "text";
|
|
903
|
+
readonly type: "mathInline";
|
|
554
904
|
})[]], E, never, never>>;
|
|
555
905
|
readonly title: RichSlot<E>;
|
|
556
906
|
readonly labels: Schema.Struct<{
|