@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.
- 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/binomial.d.ts +139 -0
- package/dist/visual/biology/binomial.js +46 -0
- package/dist/visual/biology/blood.d.ts +56 -6
- package/dist/visual/biology/bone.d.ts +141 -0
- package/dist/visual/biology/bone.js +46 -0
- package/dist/visual/biology/cell.d.ts +168 -18
- package/dist/visual/biology/chromosome.d.ts +139 -0
- package/dist/visual/biology/chromosome.js +42 -0
- package/dist/visual/biology/climate.d.ts +168 -18
- package/dist/visual/biology/control.d.ts +17 -0
- package/dist/visual/biology/control.js +21 -0
- package/dist/visual/biology/denature.d.ts +159 -0
- package/dist/visual/biology/denature.js +74 -0
- package/dist/visual/biology/drawing.d.ts +151 -0
- package/dist/visual/biology/drawing.js +69 -0
- package/dist/visual/biology/ecology.d.ts +224 -24
- package/dist/visual/biology/enzyme.d.ts +145 -0
- package/dist/visual/biology/enzyme.js +54 -0
- package/dist/visual/biology/equipment.d.ts +140 -0
- package/dist/visual/biology/equipment.js +64 -0
- package/dist/visual/biology/gametogenesis.d.ts +145 -0
- package/dist/visual/biology/gametogenesis.js +83 -0
- package/dist/visual/biology/heart.d.ts +56 -6
- package/dist/visual/biology/implantation.d.ts +138 -0
- package/dist/visual/biology/implantation.js +44 -0
- package/dist/visual/biology/joint.d.ts +140 -0
- package/dist/visual/biology/joint.js +47 -0
- package/dist/visual/biology/key.d.ts +141 -0
- package/dist/visual/biology/key.js +58 -0
- package/dist/visual/biology/kingdom.d.ts +142 -0
- package/dist/visual/biology/kingdom.js +82 -0
- package/dist/visual/biology/lactase.d.ts +147 -0
- package/dist/visual/biology/lactase.js +48 -0
- package/dist/visual/biology/limb.d.ts +139 -0
- package/dist/visual/biology/limb.js +44 -0
- package/dist/visual/biology/lipid.d.ts +144 -0
- package/dist/visual/biology/lipid.js +43 -0
- package/dist/visual/biology/locomotion.d.ts +141 -0
- package/dist/visual/biology/locomotion.js +48 -0
- package/dist/visual/biology/menstrual.d.ts +148 -0
- package/dist/visual/biology/menstrual.js +65 -0
- package/dist/visual/biology/metamorphosis.d.ts +140 -0
- package/dist/visual/biology/metamorphosis.js +34 -0
- 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/placenta.d.ts +139 -0
- package/dist/visual/biology/placenta.js +52 -0
- package/dist/visual/biology/planes.d.ts +145 -0
- package/dist/visual/biology/planes.js +62 -0
- package/dist/visual/biology/plant.d.ts +280 -30
- package/dist/visual/biology/protein.d.ts +142 -0
- package/dist/visual/biology/protein.js +41 -0
- package/dist/visual/biology/saturation.d.ts +149 -0
- package/dist/visual/biology/saturation.js +40 -0
- package/dist/visual/biology/secretion.d.ts +149 -0
- package/dist/visual/biology/secretion.js +79 -0
- package/dist/visual/biology/spill.d.ts +165 -0
- package/dist/visual/biology/spill.js +58 -0
- package/dist/visual/biology/sugar.d.ts +152 -0
- package/dist/visual/biology/sugar.js +59 -0
- package/dist/visual/biology/synapse.d.ts +56 -6
- package/dist/visual/biology/taxon.d.ts +138 -0
- package/dist/visual/biology/taxon.js +50 -0
- package/dist/visual/biology/twins.d.ts +144 -0
- package/dist/visual/biology/twins.js +60 -0
- package/dist/visual/biology/vernacular.d.ts +141 -0
- package/dist/visual/biology/vernacular.js +57 -0
- package/dist/visual/biology/vertebra.d.ts +141 -0
- package/dist/visual/biology/vertebra.js +59 -0
- package/dist/visual/biology/vessel.d.ts +56 -6
- package/dist/visual/biology/waste.d.ts +140 -0
- package/dist/visual/biology/waste.js +57 -0
- package/dist/visual/biology/water.d.ts +152 -0
- package/dist/visual/biology/water.js +54 -0
- package/dist/visual/biology/yeast.d.ts +56 -6
- package/dist/visual/card.d.ts +67 -6
- package/dist/visual/card.js +17 -1
- package/dist/visual/catalog.d.ts +21584 -5487
- package/dist/visual/catalog.js +66 -0
- 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/argument.d.ts +226 -0
- package/dist/visual/mathematics/argument.js +150 -0
- 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/counterexample.d.ts +340 -0
- package/dist/visual/mathematics/counterexample.js +157 -0
- 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 instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
8
8
|
MicrometerScrewLab: 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 instrumentVisuals<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 instrumentVisuals<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<{
|
|
@@ -87,11 +137,64 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
87
137
|
VernierCaliperLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
88
138
|
readonly description: RichSlot<E>;
|
|
89
139
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
140
|
+
readonly marks?: readonly [{
|
|
141
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
142
|
+
} | {
|
|
143
|
+
readonly attrs: {
|
|
144
|
+
readonly href: string;
|
|
145
|
+
};
|
|
146
|
+
readonly type: "link";
|
|
147
|
+
} | {
|
|
148
|
+
readonly attrs: {
|
|
149
|
+
readonly variant: "success" | "warning" | null;
|
|
150
|
+
};
|
|
151
|
+
readonly type: "highlight";
|
|
152
|
+
}, ...({
|
|
153
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
154
|
+
} | {
|
|
155
|
+
readonly attrs: {
|
|
156
|
+
readonly href: string;
|
|
157
|
+
};
|
|
158
|
+
readonly type: "link";
|
|
159
|
+
} | {
|
|
160
|
+
readonly attrs: {
|
|
161
|
+
readonly variant: "success" | "warning" | null;
|
|
162
|
+
};
|
|
163
|
+
readonly type: "highlight";
|
|
164
|
+
})[]];
|
|
165
|
+
readonly text: string;
|
|
166
|
+
readonly type: "text";
|
|
167
|
+
} | {
|
|
90
168
|
readonly attrs: {
|
|
91
169
|
readonly latex: string;
|
|
92
170
|
};
|
|
171
|
+
readonly marks?: readonly [{
|
|
172
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
173
|
+
} | {
|
|
174
|
+
readonly attrs: {
|
|
175
|
+
readonly href: string;
|
|
176
|
+
};
|
|
177
|
+
readonly type: "link";
|
|
178
|
+
} | {
|
|
179
|
+
readonly attrs: {
|
|
180
|
+
readonly variant: "success" | "warning" | null;
|
|
181
|
+
};
|
|
182
|
+
readonly type: "highlight";
|
|
183
|
+
}, ...({
|
|
184
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
185
|
+
} | {
|
|
186
|
+
readonly attrs: {
|
|
187
|
+
readonly href: string;
|
|
188
|
+
};
|
|
189
|
+
readonly type: "link";
|
|
190
|
+
} | {
|
|
191
|
+
readonly attrs: {
|
|
192
|
+
readonly variant: "success" | "warning" | null;
|
|
193
|
+
};
|
|
194
|
+
readonly type: "highlight";
|
|
195
|
+
})[]];
|
|
93
196
|
readonly type: "mathInline";
|
|
94
|
-
}
|
|
197
|
+
}, ...({
|
|
95
198
|
readonly marks?: readonly [{
|
|
96
199
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
97
200
|
} | {
|
|
@@ -119,12 +222,10 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
119
222
|
})[]];
|
|
120
223
|
readonly text: string;
|
|
121
224
|
readonly type: "text";
|
|
122
|
-
}
|
|
225
|
+
} | {
|
|
123
226
|
readonly attrs: {
|
|
124
227
|
readonly latex: string;
|
|
125
228
|
};
|
|
126
|
-
readonly type: "mathInline";
|
|
127
|
-
} | {
|
|
128
229
|
readonly marks?: readonly [{
|
|
129
230
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
130
231
|
} | {
|
|
@@ -150,8 +251,7 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
150
251
|
};
|
|
151
252
|
readonly type: "highlight";
|
|
152
253
|
})[]];
|
|
153
|
-
readonly
|
|
154
|
-
readonly type: "text";
|
|
254
|
+
readonly type: "mathInline";
|
|
155
255
|
})[]], E, never, never>>;
|
|
156
256
|
readonly title: RichSlot<E>;
|
|
157
257
|
readonly labels: Schema.Struct<{
|
|
@@ -167,11 +267,64 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
167
267
|
MicroscopeScaleLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
168
268
|
readonly description: RichSlot<E>;
|
|
169
269
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
270
|
+
readonly marks?: readonly [{
|
|
271
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
272
|
+
} | {
|
|
273
|
+
readonly attrs: {
|
|
274
|
+
readonly href: string;
|
|
275
|
+
};
|
|
276
|
+
readonly type: "link";
|
|
277
|
+
} | {
|
|
278
|
+
readonly attrs: {
|
|
279
|
+
readonly variant: "success" | "warning" | null;
|
|
280
|
+
};
|
|
281
|
+
readonly type: "highlight";
|
|
282
|
+
}, ...({
|
|
283
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
284
|
+
} | {
|
|
285
|
+
readonly attrs: {
|
|
286
|
+
readonly href: string;
|
|
287
|
+
};
|
|
288
|
+
readonly type: "link";
|
|
289
|
+
} | {
|
|
290
|
+
readonly attrs: {
|
|
291
|
+
readonly variant: "success" | "warning" | null;
|
|
292
|
+
};
|
|
293
|
+
readonly type: "highlight";
|
|
294
|
+
})[]];
|
|
295
|
+
readonly text: string;
|
|
296
|
+
readonly type: "text";
|
|
297
|
+
} | {
|
|
170
298
|
readonly attrs: {
|
|
171
299
|
readonly latex: string;
|
|
172
300
|
};
|
|
301
|
+
readonly marks?: readonly [{
|
|
302
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
303
|
+
} | {
|
|
304
|
+
readonly attrs: {
|
|
305
|
+
readonly href: string;
|
|
306
|
+
};
|
|
307
|
+
readonly type: "link";
|
|
308
|
+
} | {
|
|
309
|
+
readonly attrs: {
|
|
310
|
+
readonly variant: "success" | "warning" | null;
|
|
311
|
+
};
|
|
312
|
+
readonly type: "highlight";
|
|
313
|
+
}, ...({
|
|
314
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
315
|
+
} | {
|
|
316
|
+
readonly attrs: {
|
|
317
|
+
readonly href: string;
|
|
318
|
+
};
|
|
319
|
+
readonly type: "link";
|
|
320
|
+
} | {
|
|
321
|
+
readonly attrs: {
|
|
322
|
+
readonly variant: "success" | "warning" | null;
|
|
323
|
+
};
|
|
324
|
+
readonly type: "highlight";
|
|
325
|
+
})[]];
|
|
173
326
|
readonly type: "mathInline";
|
|
174
|
-
}
|
|
327
|
+
}, ...({
|
|
175
328
|
readonly marks?: readonly [{
|
|
176
329
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
177
330
|
} | {
|
|
@@ -199,12 +352,10 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
199
352
|
})[]];
|
|
200
353
|
readonly text: string;
|
|
201
354
|
readonly type: "text";
|
|
202
|
-
}
|
|
355
|
+
} | {
|
|
203
356
|
readonly attrs: {
|
|
204
357
|
readonly latex: string;
|
|
205
358
|
};
|
|
206
|
-
readonly type: "mathInline";
|
|
207
|
-
} | {
|
|
208
359
|
readonly marks?: readonly [{
|
|
209
360
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
210
361
|
} | {
|
|
@@ -230,8 +381,7 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
230
381
|
};
|
|
231
382
|
readonly type: "highlight";
|
|
232
383
|
})[]];
|
|
233
|
-
readonly
|
|
234
|
-
readonly type: "text";
|
|
384
|
+
readonly type: "mathInline";
|
|
235
385
|
})[]], E, never, never>>;
|
|
236
386
|
readonly title: RichSlot<E>;
|
|
237
387
|
readonly labels: Schema.Struct<{
|
|
@@ -246,11 +396,64 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
246
396
|
ParallaxReadingLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
247
397
|
readonly description: RichSlot<E>;
|
|
248
398
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
399
|
+
readonly marks?: readonly [{
|
|
400
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
401
|
+
} | {
|
|
402
|
+
readonly attrs: {
|
|
403
|
+
readonly href: string;
|
|
404
|
+
};
|
|
405
|
+
readonly type: "link";
|
|
406
|
+
} | {
|
|
407
|
+
readonly attrs: {
|
|
408
|
+
readonly variant: "success" | "warning" | null;
|
|
409
|
+
};
|
|
410
|
+
readonly type: "highlight";
|
|
411
|
+
}, ...({
|
|
412
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
413
|
+
} | {
|
|
414
|
+
readonly attrs: {
|
|
415
|
+
readonly href: string;
|
|
416
|
+
};
|
|
417
|
+
readonly type: "link";
|
|
418
|
+
} | {
|
|
419
|
+
readonly attrs: {
|
|
420
|
+
readonly variant: "success" | "warning" | null;
|
|
421
|
+
};
|
|
422
|
+
readonly type: "highlight";
|
|
423
|
+
})[]];
|
|
424
|
+
readonly text: string;
|
|
425
|
+
readonly type: "text";
|
|
426
|
+
} | {
|
|
249
427
|
readonly attrs: {
|
|
250
428
|
readonly latex: string;
|
|
251
429
|
};
|
|
430
|
+
readonly marks?: readonly [{
|
|
431
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
432
|
+
} | {
|
|
433
|
+
readonly attrs: {
|
|
434
|
+
readonly href: string;
|
|
435
|
+
};
|
|
436
|
+
readonly type: "link";
|
|
437
|
+
} | {
|
|
438
|
+
readonly attrs: {
|
|
439
|
+
readonly variant: "success" | "warning" | null;
|
|
440
|
+
};
|
|
441
|
+
readonly type: "highlight";
|
|
442
|
+
}, ...({
|
|
443
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
444
|
+
} | {
|
|
445
|
+
readonly attrs: {
|
|
446
|
+
readonly href: string;
|
|
447
|
+
};
|
|
448
|
+
readonly type: "link";
|
|
449
|
+
} | {
|
|
450
|
+
readonly attrs: {
|
|
451
|
+
readonly variant: "success" | "warning" | null;
|
|
452
|
+
};
|
|
453
|
+
readonly type: "highlight";
|
|
454
|
+
})[]];
|
|
252
455
|
readonly type: "mathInline";
|
|
253
|
-
}
|
|
456
|
+
}, ...({
|
|
254
457
|
readonly marks?: readonly [{
|
|
255
458
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
256
459
|
} | {
|
|
@@ -278,12 +481,10 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
278
481
|
})[]];
|
|
279
482
|
readonly text: string;
|
|
280
483
|
readonly type: "text";
|
|
281
|
-
}
|
|
484
|
+
} | {
|
|
282
485
|
readonly attrs: {
|
|
283
486
|
readonly latex: string;
|
|
284
487
|
};
|
|
285
|
-
readonly type: "mathInline";
|
|
286
|
-
} | {
|
|
287
488
|
readonly marks?: readonly [{
|
|
288
489
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
289
490
|
} | {
|
|
@@ -309,8 +510,7 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
309
510
|
};
|
|
310
511
|
readonly type: "highlight";
|
|
311
512
|
})[]];
|
|
312
|
-
readonly
|
|
313
|
-
readonly type: "text";
|
|
513
|
+
readonly type: "mathInline";
|
|
314
514
|
})[]], E, never, never>>;
|
|
315
515
|
readonly title: RichSlot<E>;
|
|
316
516
|
readonly labels: Schema.Struct<{
|
|
@@ -325,11 +525,64 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
325
525
|
LightGateSpeedLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
326
526
|
readonly description: RichSlot<E>;
|
|
327
527
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
528
|
+
readonly marks?: readonly [{
|
|
529
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
530
|
+
} | {
|
|
531
|
+
readonly attrs: {
|
|
532
|
+
readonly href: string;
|
|
533
|
+
};
|
|
534
|
+
readonly type: "link";
|
|
535
|
+
} | {
|
|
536
|
+
readonly attrs: {
|
|
537
|
+
readonly variant: "success" | "warning" | null;
|
|
538
|
+
};
|
|
539
|
+
readonly type: "highlight";
|
|
540
|
+
}, ...({
|
|
541
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
542
|
+
} | {
|
|
543
|
+
readonly attrs: {
|
|
544
|
+
readonly href: string;
|
|
545
|
+
};
|
|
546
|
+
readonly type: "link";
|
|
547
|
+
} | {
|
|
548
|
+
readonly attrs: {
|
|
549
|
+
readonly variant: "success" | "warning" | null;
|
|
550
|
+
};
|
|
551
|
+
readonly type: "highlight";
|
|
552
|
+
})[]];
|
|
553
|
+
readonly text: string;
|
|
554
|
+
readonly type: "text";
|
|
555
|
+
} | {
|
|
328
556
|
readonly attrs: {
|
|
329
557
|
readonly latex: string;
|
|
330
558
|
};
|
|
559
|
+
readonly marks?: readonly [{
|
|
560
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
561
|
+
} | {
|
|
562
|
+
readonly attrs: {
|
|
563
|
+
readonly href: string;
|
|
564
|
+
};
|
|
565
|
+
readonly type: "link";
|
|
566
|
+
} | {
|
|
567
|
+
readonly attrs: {
|
|
568
|
+
readonly variant: "success" | "warning" | null;
|
|
569
|
+
};
|
|
570
|
+
readonly type: "highlight";
|
|
571
|
+
}, ...({
|
|
572
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
573
|
+
} | {
|
|
574
|
+
readonly attrs: {
|
|
575
|
+
readonly href: string;
|
|
576
|
+
};
|
|
577
|
+
readonly type: "link";
|
|
578
|
+
} | {
|
|
579
|
+
readonly attrs: {
|
|
580
|
+
readonly variant: "success" | "warning" | null;
|
|
581
|
+
};
|
|
582
|
+
readonly type: "highlight";
|
|
583
|
+
})[]];
|
|
331
584
|
readonly type: "mathInline";
|
|
332
|
-
}
|
|
585
|
+
}, ...({
|
|
333
586
|
readonly marks?: readonly [{
|
|
334
587
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
335
588
|
} | {
|
|
@@ -357,12 +610,10 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
357
610
|
})[]];
|
|
358
611
|
readonly text: string;
|
|
359
612
|
readonly type: "text";
|
|
360
|
-
}
|
|
613
|
+
} | {
|
|
361
614
|
readonly attrs: {
|
|
362
615
|
readonly latex: string;
|
|
363
616
|
};
|
|
364
|
-
readonly type: "mathInline";
|
|
365
|
-
} | {
|
|
366
617
|
readonly marks?: readonly [{
|
|
367
618
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
368
619
|
} | {
|
|
@@ -388,8 +639,7 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
388
639
|
};
|
|
389
640
|
readonly type: "highlight";
|
|
390
641
|
})[]];
|
|
391
|
-
readonly
|
|
392
|
-
readonly type: "text";
|
|
642
|
+
readonly type: "mathInline";
|
|
393
643
|
})[]], E, never, never>>;
|
|
394
644
|
readonly title: RichSlot<E>;
|
|
395
645
|
readonly distance: Schema.optionalKey<Schema.Finite>;
|
|
@@ -403,11 +653,64 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
403
653
|
StopwatchSpreadLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
404
654
|
readonly description: RichSlot<E>;
|
|
405
655
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
656
|
+
readonly marks?: readonly [{
|
|
657
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
658
|
+
} | {
|
|
659
|
+
readonly attrs: {
|
|
660
|
+
readonly href: string;
|
|
661
|
+
};
|
|
662
|
+
readonly type: "link";
|
|
663
|
+
} | {
|
|
664
|
+
readonly attrs: {
|
|
665
|
+
readonly variant: "success" | "warning" | null;
|
|
666
|
+
};
|
|
667
|
+
readonly type: "highlight";
|
|
668
|
+
}, ...({
|
|
669
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
670
|
+
} | {
|
|
671
|
+
readonly attrs: {
|
|
672
|
+
readonly href: string;
|
|
673
|
+
};
|
|
674
|
+
readonly type: "link";
|
|
675
|
+
} | {
|
|
676
|
+
readonly attrs: {
|
|
677
|
+
readonly variant: "success" | "warning" | null;
|
|
678
|
+
};
|
|
679
|
+
readonly type: "highlight";
|
|
680
|
+
})[]];
|
|
681
|
+
readonly text: string;
|
|
682
|
+
readonly type: "text";
|
|
683
|
+
} | {
|
|
406
684
|
readonly attrs: {
|
|
407
685
|
readonly latex: string;
|
|
408
686
|
};
|
|
687
|
+
readonly marks?: readonly [{
|
|
688
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
689
|
+
} | {
|
|
690
|
+
readonly attrs: {
|
|
691
|
+
readonly href: string;
|
|
692
|
+
};
|
|
693
|
+
readonly type: "link";
|
|
694
|
+
} | {
|
|
695
|
+
readonly attrs: {
|
|
696
|
+
readonly variant: "success" | "warning" | null;
|
|
697
|
+
};
|
|
698
|
+
readonly type: "highlight";
|
|
699
|
+
}, ...({
|
|
700
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
701
|
+
} | {
|
|
702
|
+
readonly attrs: {
|
|
703
|
+
readonly href: string;
|
|
704
|
+
};
|
|
705
|
+
readonly type: "link";
|
|
706
|
+
} | {
|
|
707
|
+
readonly attrs: {
|
|
708
|
+
readonly variant: "success" | "warning" | null;
|
|
709
|
+
};
|
|
710
|
+
readonly type: "highlight";
|
|
711
|
+
})[]];
|
|
409
712
|
readonly type: "mathInline";
|
|
410
|
-
}
|
|
713
|
+
}, ...({
|
|
411
714
|
readonly marks?: readonly [{
|
|
412
715
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
413
716
|
} | {
|
|
@@ -435,12 +738,10 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
435
738
|
})[]];
|
|
436
739
|
readonly text: string;
|
|
437
740
|
readonly type: "text";
|
|
438
|
-
}
|
|
741
|
+
} | {
|
|
439
742
|
readonly attrs: {
|
|
440
743
|
readonly latex: string;
|
|
441
744
|
};
|
|
442
|
-
readonly type: "mathInline";
|
|
443
|
-
} | {
|
|
444
745
|
readonly marks?: readonly [{
|
|
445
746
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
446
747
|
} | {
|
|
@@ -466,8 +767,7 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
466
767
|
};
|
|
467
768
|
readonly type: "highlight";
|
|
468
769
|
})[]];
|
|
469
|
-
readonly
|
|
470
|
-
readonly type: "text";
|
|
770
|
+
readonly type: "mathInline";
|
|
471
771
|
})[]], E, never, never>>;
|
|
472
772
|
readonly title: RichSlot<E>;
|
|
473
773
|
readonly count: Schema.optionalKey<Schema.Finite>;
|
|
@@ -482,11 +782,64 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
482
782
|
PendulumPeriodLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
483
783
|
readonly description: RichSlot<E>;
|
|
484
784
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
785
|
+
readonly marks?: readonly [{
|
|
786
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
787
|
+
} | {
|
|
788
|
+
readonly attrs: {
|
|
789
|
+
readonly href: string;
|
|
790
|
+
};
|
|
791
|
+
readonly type: "link";
|
|
792
|
+
} | {
|
|
793
|
+
readonly attrs: {
|
|
794
|
+
readonly variant: "success" | "warning" | null;
|
|
795
|
+
};
|
|
796
|
+
readonly type: "highlight";
|
|
797
|
+
}, ...({
|
|
798
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
799
|
+
} | {
|
|
800
|
+
readonly attrs: {
|
|
801
|
+
readonly href: string;
|
|
802
|
+
};
|
|
803
|
+
readonly type: "link";
|
|
804
|
+
} | {
|
|
805
|
+
readonly attrs: {
|
|
806
|
+
readonly variant: "success" | "warning" | null;
|
|
807
|
+
};
|
|
808
|
+
readonly type: "highlight";
|
|
809
|
+
})[]];
|
|
810
|
+
readonly text: string;
|
|
811
|
+
readonly type: "text";
|
|
812
|
+
} | {
|
|
485
813
|
readonly attrs: {
|
|
486
814
|
readonly latex: string;
|
|
487
815
|
};
|
|
816
|
+
readonly marks?: readonly [{
|
|
817
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
818
|
+
} | {
|
|
819
|
+
readonly attrs: {
|
|
820
|
+
readonly href: string;
|
|
821
|
+
};
|
|
822
|
+
readonly type: "link";
|
|
823
|
+
} | {
|
|
824
|
+
readonly attrs: {
|
|
825
|
+
readonly variant: "success" | "warning" | null;
|
|
826
|
+
};
|
|
827
|
+
readonly type: "highlight";
|
|
828
|
+
}, ...({
|
|
829
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
830
|
+
} | {
|
|
831
|
+
readonly attrs: {
|
|
832
|
+
readonly href: string;
|
|
833
|
+
};
|
|
834
|
+
readonly type: "link";
|
|
835
|
+
} | {
|
|
836
|
+
readonly attrs: {
|
|
837
|
+
readonly variant: "success" | "warning" | null;
|
|
838
|
+
};
|
|
839
|
+
readonly type: "highlight";
|
|
840
|
+
})[]];
|
|
488
841
|
readonly type: "mathInline";
|
|
489
|
-
}
|
|
842
|
+
}, ...({
|
|
490
843
|
readonly marks?: readonly [{
|
|
491
844
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
492
845
|
} | {
|
|
@@ -514,12 +867,10 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
514
867
|
})[]];
|
|
515
868
|
readonly text: string;
|
|
516
869
|
readonly type: "text";
|
|
517
|
-
}
|
|
870
|
+
} | {
|
|
518
871
|
readonly attrs: {
|
|
519
872
|
readonly latex: string;
|
|
520
873
|
};
|
|
521
|
-
readonly type: "mathInline";
|
|
522
|
-
} | {
|
|
523
874
|
readonly marks?: readonly [{
|
|
524
875
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
525
876
|
} | {
|
|
@@ -545,8 +896,7 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
545
896
|
};
|
|
546
897
|
readonly type: "highlight";
|
|
547
898
|
})[]];
|
|
548
|
-
readonly
|
|
549
|
-
readonly type: "text";
|
|
899
|
+
readonly type: "mathInline";
|
|
550
900
|
})[]], E, never, never>>;
|
|
551
901
|
readonly title: RichSlot<E>;
|
|
552
902
|
readonly labels: Schema.Struct<{
|