@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 efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
8
8
|
HoistWorkLab: 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 efficiencyVisuals<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 efficiencyVisuals<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<{
|
|
@@ -89,11 +139,64 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
89
139
|
KettleHeatingLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
90
140
|
readonly description: RichSlot<E>;
|
|
91
141
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
142
|
+
readonly marks?: readonly [{
|
|
143
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
144
|
+
} | {
|
|
145
|
+
readonly attrs: {
|
|
146
|
+
readonly href: string;
|
|
147
|
+
};
|
|
148
|
+
readonly type: "link";
|
|
149
|
+
} | {
|
|
150
|
+
readonly attrs: {
|
|
151
|
+
readonly variant: "success" | "warning" | null;
|
|
152
|
+
};
|
|
153
|
+
readonly type: "highlight";
|
|
154
|
+
}, ...({
|
|
155
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
156
|
+
} | {
|
|
157
|
+
readonly attrs: {
|
|
158
|
+
readonly href: string;
|
|
159
|
+
};
|
|
160
|
+
readonly type: "link";
|
|
161
|
+
} | {
|
|
162
|
+
readonly attrs: {
|
|
163
|
+
readonly variant: "success" | "warning" | null;
|
|
164
|
+
};
|
|
165
|
+
readonly type: "highlight";
|
|
166
|
+
})[]];
|
|
167
|
+
readonly text: string;
|
|
168
|
+
readonly type: "text";
|
|
169
|
+
} | {
|
|
92
170
|
readonly attrs: {
|
|
93
171
|
readonly latex: string;
|
|
94
172
|
};
|
|
173
|
+
readonly marks?: readonly [{
|
|
174
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
175
|
+
} | {
|
|
176
|
+
readonly attrs: {
|
|
177
|
+
readonly href: string;
|
|
178
|
+
};
|
|
179
|
+
readonly type: "link";
|
|
180
|
+
} | {
|
|
181
|
+
readonly attrs: {
|
|
182
|
+
readonly variant: "success" | "warning" | null;
|
|
183
|
+
};
|
|
184
|
+
readonly type: "highlight";
|
|
185
|
+
}, ...({
|
|
186
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
187
|
+
} | {
|
|
188
|
+
readonly attrs: {
|
|
189
|
+
readonly href: string;
|
|
190
|
+
};
|
|
191
|
+
readonly type: "link";
|
|
192
|
+
} | {
|
|
193
|
+
readonly attrs: {
|
|
194
|
+
readonly variant: "success" | "warning" | null;
|
|
195
|
+
};
|
|
196
|
+
readonly type: "highlight";
|
|
197
|
+
})[]];
|
|
95
198
|
readonly type: "mathInline";
|
|
96
|
-
}
|
|
199
|
+
}, ...({
|
|
97
200
|
readonly marks?: readonly [{
|
|
98
201
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
99
202
|
} | {
|
|
@@ -121,12 +224,10 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
121
224
|
})[]];
|
|
122
225
|
readonly text: string;
|
|
123
226
|
readonly type: "text";
|
|
124
|
-
}
|
|
227
|
+
} | {
|
|
125
228
|
readonly attrs: {
|
|
126
229
|
readonly latex: string;
|
|
127
230
|
};
|
|
128
|
-
readonly type: "mathInline";
|
|
129
|
-
} | {
|
|
130
231
|
readonly marks?: readonly [{
|
|
131
232
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
132
233
|
} | {
|
|
@@ -152,8 +253,7 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
152
253
|
};
|
|
153
254
|
readonly type: "highlight";
|
|
154
255
|
})[]];
|
|
155
|
-
readonly
|
|
156
|
-
readonly type: "text";
|
|
256
|
+
readonly type: "mathInline";
|
|
157
257
|
})[]], E, never, never>>;
|
|
158
258
|
readonly title: RichSlot<E>;
|
|
159
259
|
readonly fill: Schema.optionalKey<Schema.Literals<readonly ["half", "full", "brim"]>>;
|
|
@@ -169,11 +269,64 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
169
269
|
FlashlightEfficiencyLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
170
270
|
readonly description: RichSlot<E>;
|
|
171
271
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
272
|
+
readonly marks?: readonly [{
|
|
273
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
274
|
+
} | {
|
|
275
|
+
readonly attrs: {
|
|
276
|
+
readonly href: string;
|
|
277
|
+
};
|
|
278
|
+
readonly type: "link";
|
|
279
|
+
} | {
|
|
280
|
+
readonly attrs: {
|
|
281
|
+
readonly variant: "success" | "warning" | null;
|
|
282
|
+
};
|
|
283
|
+
readonly type: "highlight";
|
|
284
|
+
}, ...({
|
|
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 text: string;
|
|
298
|
+
readonly type: "text";
|
|
299
|
+
} | {
|
|
172
300
|
readonly attrs: {
|
|
173
301
|
readonly latex: string;
|
|
174
302
|
};
|
|
303
|
+
readonly marks?: readonly [{
|
|
304
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
305
|
+
} | {
|
|
306
|
+
readonly attrs: {
|
|
307
|
+
readonly href: string;
|
|
308
|
+
};
|
|
309
|
+
readonly type: "link";
|
|
310
|
+
} | {
|
|
311
|
+
readonly attrs: {
|
|
312
|
+
readonly variant: "success" | "warning" | null;
|
|
313
|
+
};
|
|
314
|
+
readonly type: "highlight";
|
|
315
|
+
}, ...({
|
|
316
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
317
|
+
} | {
|
|
318
|
+
readonly attrs: {
|
|
319
|
+
readonly href: string;
|
|
320
|
+
};
|
|
321
|
+
readonly type: "link";
|
|
322
|
+
} | {
|
|
323
|
+
readonly attrs: {
|
|
324
|
+
readonly variant: "success" | "warning" | null;
|
|
325
|
+
};
|
|
326
|
+
readonly type: "highlight";
|
|
327
|
+
})[]];
|
|
175
328
|
readonly type: "mathInline";
|
|
176
|
-
}
|
|
329
|
+
}, ...({
|
|
177
330
|
readonly marks?: readonly [{
|
|
178
331
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
179
332
|
} | {
|
|
@@ -201,12 +354,10 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
201
354
|
})[]];
|
|
202
355
|
readonly text: string;
|
|
203
356
|
readonly type: "text";
|
|
204
|
-
}
|
|
357
|
+
} | {
|
|
205
358
|
readonly attrs: {
|
|
206
359
|
readonly latex: string;
|
|
207
360
|
};
|
|
208
|
-
readonly type: "mathInline";
|
|
209
|
-
} | {
|
|
210
361
|
readonly marks?: readonly [{
|
|
211
362
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
212
363
|
} | {
|
|
@@ -232,8 +383,7 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
232
383
|
};
|
|
233
384
|
readonly type: "highlight";
|
|
234
385
|
})[]];
|
|
235
|
-
readonly
|
|
236
|
-
readonly type: "text";
|
|
386
|
+
readonly type: "mathInline";
|
|
237
387
|
})[]], E, never, never>>;
|
|
238
388
|
readonly title: RichSlot<E>;
|
|
239
389
|
readonly bulb: Schema.optionalKey<Schema.Literals<readonly ["filament", "led"]>>;
|
|
@@ -252,11 +402,64 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
252
402
|
PendulumEnergyLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
253
403
|
readonly description: RichSlot<E>;
|
|
254
404
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
405
|
+
readonly marks?: readonly [{
|
|
406
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
407
|
+
} | {
|
|
408
|
+
readonly attrs: {
|
|
409
|
+
readonly href: string;
|
|
410
|
+
};
|
|
411
|
+
readonly type: "link";
|
|
412
|
+
} | {
|
|
413
|
+
readonly attrs: {
|
|
414
|
+
readonly variant: "success" | "warning" | null;
|
|
415
|
+
};
|
|
416
|
+
readonly type: "highlight";
|
|
417
|
+
}, ...({
|
|
418
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
419
|
+
} | {
|
|
420
|
+
readonly attrs: {
|
|
421
|
+
readonly href: string;
|
|
422
|
+
};
|
|
423
|
+
readonly type: "link";
|
|
424
|
+
} | {
|
|
425
|
+
readonly attrs: {
|
|
426
|
+
readonly variant: "success" | "warning" | null;
|
|
427
|
+
};
|
|
428
|
+
readonly type: "highlight";
|
|
429
|
+
})[]];
|
|
430
|
+
readonly text: string;
|
|
431
|
+
readonly type: "text";
|
|
432
|
+
} | {
|
|
255
433
|
readonly attrs: {
|
|
256
434
|
readonly latex: string;
|
|
257
435
|
};
|
|
436
|
+
readonly marks?: readonly [{
|
|
437
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
438
|
+
} | {
|
|
439
|
+
readonly attrs: {
|
|
440
|
+
readonly href: string;
|
|
441
|
+
};
|
|
442
|
+
readonly type: "link";
|
|
443
|
+
} | {
|
|
444
|
+
readonly attrs: {
|
|
445
|
+
readonly variant: "success" | "warning" | null;
|
|
446
|
+
};
|
|
447
|
+
readonly type: "highlight";
|
|
448
|
+
}, ...({
|
|
449
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
450
|
+
} | {
|
|
451
|
+
readonly attrs: {
|
|
452
|
+
readonly href: string;
|
|
453
|
+
};
|
|
454
|
+
readonly type: "link";
|
|
455
|
+
} | {
|
|
456
|
+
readonly attrs: {
|
|
457
|
+
readonly variant: "success" | "warning" | null;
|
|
458
|
+
};
|
|
459
|
+
readonly type: "highlight";
|
|
460
|
+
})[]];
|
|
258
461
|
readonly type: "mathInline";
|
|
259
|
-
}
|
|
462
|
+
}, ...({
|
|
260
463
|
readonly marks?: readonly [{
|
|
261
464
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
262
465
|
} | {
|
|
@@ -284,12 +487,10 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
284
487
|
})[]];
|
|
285
488
|
readonly text: string;
|
|
286
489
|
readonly type: "text";
|
|
287
|
-
}
|
|
490
|
+
} | {
|
|
288
491
|
readonly attrs: {
|
|
289
492
|
readonly latex: string;
|
|
290
493
|
};
|
|
291
|
-
readonly type: "mathInline";
|
|
292
|
-
} | {
|
|
293
494
|
readonly marks?: readonly [{
|
|
294
495
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
295
496
|
} | {
|
|
@@ -315,8 +516,7 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
315
516
|
};
|
|
316
517
|
readonly type: "highlight";
|
|
317
518
|
})[]];
|
|
318
|
-
readonly
|
|
319
|
-
readonly type: "text";
|
|
519
|
+
readonly type: "mathInline";
|
|
320
520
|
})[]], E, never, never>>;
|
|
321
521
|
readonly title: RichSlot<E>;
|
|
322
522
|
readonly drag: Schema.optionalKey<Schema.Literals<readonly ["none", "light", "strong"]>>;
|
|
@@ -333,11 +533,64 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
333
533
|
WeightLampEnergyLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
334
534
|
readonly description: RichSlot<E>;
|
|
335
535
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
536
|
+
readonly marks?: readonly [{
|
|
537
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
538
|
+
} | {
|
|
539
|
+
readonly attrs: {
|
|
540
|
+
readonly href: string;
|
|
541
|
+
};
|
|
542
|
+
readonly type: "link";
|
|
543
|
+
} | {
|
|
544
|
+
readonly attrs: {
|
|
545
|
+
readonly variant: "success" | "warning" | null;
|
|
546
|
+
};
|
|
547
|
+
readonly type: "highlight";
|
|
548
|
+
}, ...({
|
|
549
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
550
|
+
} | {
|
|
551
|
+
readonly attrs: {
|
|
552
|
+
readonly href: string;
|
|
553
|
+
};
|
|
554
|
+
readonly type: "link";
|
|
555
|
+
} | {
|
|
556
|
+
readonly attrs: {
|
|
557
|
+
readonly variant: "success" | "warning" | null;
|
|
558
|
+
};
|
|
559
|
+
readonly type: "highlight";
|
|
560
|
+
})[]];
|
|
561
|
+
readonly text: string;
|
|
562
|
+
readonly type: "text";
|
|
563
|
+
} | {
|
|
336
564
|
readonly attrs: {
|
|
337
565
|
readonly latex: string;
|
|
338
566
|
};
|
|
567
|
+
readonly marks?: readonly [{
|
|
568
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
569
|
+
} | {
|
|
570
|
+
readonly attrs: {
|
|
571
|
+
readonly href: string;
|
|
572
|
+
};
|
|
573
|
+
readonly type: "link";
|
|
574
|
+
} | {
|
|
575
|
+
readonly attrs: {
|
|
576
|
+
readonly variant: "success" | "warning" | null;
|
|
577
|
+
};
|
|
578
|
+
readonly type: "highlight";
|
|
579
|
+
}, ...({
|
|
580
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
581
|
+
} | {
|
|
582
|
+
readonly attrs: {
|
|
583
|
+
readonly href: string;
|
|
584
|
+
};
|
|
585
|
+
readonly type: "link";
|
|
586
|
+
} | {
|
|
587
|
+
readonly attrs: {
|
|
588
|
+
readonly variant: "success" | "warning" | null;
|
|
589
|
+
};
|
|
590
|
+
readonly type: "highlight";
|
|
591
|
+
})[]];
|
|
339
592
|
readonly type: "mathInline";
|
|
340
|
-
}
|
|
593
|
+
}, ...({
|
|
341
594
|
readonly marks?: readonly [{
|
|
342
595
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
343
596
|
} | {
|
|
@@ -365,12 +618,10 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
365
618
|
})[]];
|
|
366
619
|
readonly text: string;
|
|
367
620
|
readonly type: "text";
|
|
368
|
-
}
|
|
621
|
+
} | {
|
|
369
622
|
readonly attrs: {
|
|
370
623
|
readonly latex: string;
|
|
371
624
|
};
|
|
372
|
-
readonly type: "mathInline";
|
|
373
|
-
} | {
|
|
374
625
|
readonly marks?: readonly [{
|
|
375
626
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
376
627
|
} | {
|
|
@@ -396,8 +647,7 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
396
647
|
};
|
|
397
648
|
readonly type: "highlight";
|
|
398
649
|
})[]];
|
|
399
|
-
readonly
|
|
400
|
-
readonly type: "text";
|
|
650
|
+
readonly type: "mathInline";
|
|
401
651
|
})[]], E, never, never>>;
|
|
402
652
|
readonly title: RichSlot<E>;
|
|
403
653
|
readonly descent: Schema.optionalKey<Schema.Literals<readonly ["fast", "steady", "slow"]>>;
|
|
@@ -414,11 +664,64 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
414
664
|
EnergyFlowLossLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
415
665
|
readonly description: RichSlot<E>;
|
|
416
666
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
667
|
+
readonly marks?: readonly [{
|
|
668
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
669
|
+
} | {
|
|
670
|
+
readonly attrs: {
|
|
671
|
+
readonly href: string;
|
|
672
|
+
};
|
|
673
|
+
readonly type: "link";
|
|
674
|
+
} | {
|
|
675
|
+
readonly attrs: {
|
|
676
|
+
readonly variant: "success" | "warning" | null;
|
|
677
|
+
};
|
|
678
|
+
readonly type: "highlight";
|
|
679
|
+
}, ...({
|
|
680
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
681
|
+
} | {
|
|
682
|
+
readonly attrs: {
|
|
683
|
+
readonly href: string;
|
|
684
|
+
};
|
|
685
|
+
readonly type: "link";
|
|
686
|
+
} | {
|
|
687
|
+
readonly attrs: {
|
|
688
|
+
readonly variant: "success" | "warning" | null;
|
|
689
|
+
};
|
|
690
|
+
readonly type: "highlight";
|
|
691
|
+
})[]];
|
|
692
|
+
readonly text: string;
|
|
693
|
+
readonly type: "text";
|
|
694
|
+
} | {
|
|
417
695
|
readonly attrs: {
|
|
418
696
|
readonly latex: string;
|
|
419
697
|
};
|
|
698
|
+
readonly marks?: readonly [{
|
|
699
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
700
|
+
} | {
|
|
701
|
+
readonly attrs: {
|
|
702
|
+
readonly href: string;
|
|
703
|
+
};
|
|
704
|
+
readonly type: "link";
|
|
705
|
+
} | {
|
|
706
|
+
readonly attrs: {
|
|
707
|
+
readonly variant: "success" | "warning" | null;
|
|
708
|
+
};
|
|
709
|
+
readonly type: "highlight";
|
|
710
|
+
}, ...({
|
|
711
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
712
|
+
} | {
|
|
713
|
+
readonly attrs: {
|
|
714
|
+
readonly href: string;
|
|
715
|
+
};
|
|
716
|
+
readonly type: "link";
|
|
717
|
+
} | {
|
|
718
|
+
readonly attrs: {
|
|
719
|
+
readonly variant: "success" | "warning" | null;
|
|
720
|
+
};
|
|
721
|
+
readonly type: "highlight";
|
|
722
|
+
})[]];
|
|
420
723
|
readonly type: "mathInline";
|
|
421
|
-
}
|
|
724
|
+
}, ...({
|
|
422
725
|
readonly marks?: readonly [{
|
|
423
726
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
424
727
|
} | {
|
|
@@ -446,12 +749,10 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
446
749
|
})[]];
|
|
447
750
|
readonly text: string;
|
|
448
751
|
readonly type: "text";
|
|
449
|
-
}
|
|
752
|
+
} | {
|
|
450
753
|
readonly attrs: {
|
|
451
754
|
readonly latex: string;
|
|
452
755
|
};
|
|
453
|
-
readonly type: "mathInline";
|
|
454
|
-
} | {
|
|
455
756
|
readonly marks?: readonly [{
|
|
456
757
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
457
758
|
} | {
|
|
@@ -477,8 +778,7 @@ export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
|
477
778
|
};
|
|
478
779
|
readonly type: "highlight";
|
|
479
780
|
})[]];
|
|
480
|
-
readonly
|
|
481
|
-
readonly type: "text";
|
|
781
|
+
readonly type: "mathInline";
|
|
482
782
|
})[]], E, never, never>>;
|
|
483
783
|
readonly title: RichSlot<E>;
|
|
484
784
|
readonly labels: Schema.Struct<{
|