@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.
- package/dist/assessment/answer.d.ts +2 -0
- package/dist/assessment/answer.js +5 -3
- package/dist/assessment/choice.d.ts +26 -0
- package/dist/assessment/closure.js +2 -1
- package/dist/assessment/document.d.ts +39 -0
- package/dist/assessment/figure.d.ts +13 -0
- package/dist/assessment/fit.d.ts +16 -2
- package/dist/assessment/fit.js +23 -5
- package/dist/assessment/graphic.d.ts +27 -0
- package/dist/assessment/graphic.js +17 -1
- package/dist/assessment/hash.d.ts +777 -109
- package/dist/assessment/inline.d.ts +53 -0
- package/dist/assessment/inline.js +1 -0
- package/dist/assessment/interaction.d.ts +44 -1
- package/dist/assessment/interaction.js +2 -1
- package/dist/assessment/item.d.ts +500 -37
- package/dist/assessment/item.js +1 -1
- package/dist/assessment/joint.d.ts +4 -3
- package/dist/assessment/joint.js +4 -3
- package/dist/assessment/key.d.ts +138 -0
- package/dist/assessment/key.js +6 -0
- package/dist/assessment/paper.d.ts +1006 -90
- package/dist/assessment/part.d.ts +13 -0
- package/dist/assessment/profile.d.ts +3 -3
- package/dist/assessment/profile.js +4 -4
- package/dist/assessment/rows.d.ts +621 -39
- package/dist/assessment/scoring.d.ts +12 -6
- package/dist/assessment/scoring.js +25 -8
- package/dist/assessment/sketch.d.ts +125 -0
- package/dist/assessment/sketch.js +175 -0
- package/dist/assessment/snapshot.d.ts +1479 -91
- package/dist/assessment/structure.js +4 -4
- package/dist/release/snapshot/data.d.ts +114 -2
- package/dist/release/snapshot/verify.d.ts +621 -39
- package/dist/transport/group.d.ts +342 -6
- package/dist/transport/request.d.ts +4032 -316
- package/dist/transport/snapshot.d.ts +228 -4
- 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 +2 -2
|
@@ -8,11 +8,64 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
8
8
|
BinaryFissionLab: 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 bacteriaVisuals<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 bacteriaVisuals<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<{
|
|
@@ -85,11 +135,64 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
85
135
|
ChemotaxisLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
86
136
|
readonly description: RichSlot<E>;
|
|
87
137
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
138
|
+
readonly marks?: readonly [{
|
|
139
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
140
|
+
} | {
|
|
141
|
+
readonly attrs: {
|
|
142
|
+
readonly href: string;
|
|
143
|
+
};
|
|
144
|
+
readonly type: "link";
|
|
145
|
+
} | {
|
|
146
|
+
readonly attrs: {
|
|
147
|
+
readonly variant: "success" | "warning" | null;
|
|
148
|
+
};
|
|
149
|
+
readonly type: "highlight";
|
|
150
|
+
}, ...({
|
|
151
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
152
|
+
} | {
|
|
153
|
+
readonly attrs: {
|
|
154
|
+
readonly href: string;
|
|
155
|
+
};
|
|
156
|
+
readonly type: "link";
|
|
157
|
+
} | {
|
|
158
|
+
readonly attrs: {
|
|
159
|
+
readonly variant: "success" | "warning" | null;
|
|
160
|
+
};
|
|
161
|
+
readonly type: "highlight";
|
|
162
|
+
})[]];
|
|
163
|
+
readonly text: string;
|
|
164
|
+
readonly type: "text";
|
|
165
|
+
} | {
|
|
88
166
|
readonly attrs: {
|
|
89
167
|
readonly latex: string;
|
|
90
168
|
};
|
|
169
|
+
readonly marks?: readonly [{
|
|
170
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
171
|
+
} | {
|
|
172
|
+
readonly attrs: {
|
|
173
|
+
readonly href: string;
|
|
174
|
+
};
|
|
175
|
+
readonly type: "link";
|
|
176
|
+
} | {
|
|
177
|
+
readonly attrs: {
|
|
178
|
+
readonly variant: "success" | "warning" | null;
|
|
179
|
+
};
|
|
180
|
+
readonly type: "highlight";
|
|
181
|
+
}, ...({
|
|
182
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
183
|
+
} | {
|
|
184
|
+
readonly attrs: {
|
|
185
|
+
readonly href: string;
|
|
186
|
+
};
|
|
187
|
+
readonly type: "link";
|
|
188
|
+
} | {
|
|
189
|
+
readonly attrs: {
|
|
190
|
+
readonly variant: "success" | "warning" | null;
|
|
191
|
+
};
|
|
192
|
+
readonly type: "highlight";
|
|
193
|
+
})[]];
|
|
91
194
|
readonly type: "mathInline";
|
|
92
|
-
}
|
|
195
|
+
}, ...({
|
|
93
196
|
readonly marks?: readonly [{
|
|
94
197
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
95
198
|
} | {
|
|
@@ -117,12 +220,10 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
117
220
|
})[]];
|
|
118
221
|
readonly text: string;
|
|
119
222
|
readonly type: "text";
|
|
120
|
-
}
|
|
223
|
+
} | {
|
|
121
224
|
readonly attrs: {
|
|
122
225
|
readonly latex: string;
|
|
123
226
|
};
|
|
124
|
-
readonly type: "mathInline";
|
|
125
|
-
} | {
|
|
126
227
|
readonly marks?: readonly [{
|
|
127
228
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
128
229
|
} | {
|
|
@@ -148,8 +249,7 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
148
249
|
};
|
|
149
250
|
readonly type: "highlight";
|
|
150
251
|
})[]];
|
|
151
|
-
readonly
|
|
152
|
-
readonly type: "text";
|
|
252
|
+
readonly type: "mathInline";
|
|
153
253
|
})[]], E, never, never>>;
|
|
154
254
|
readonly title: RichSlot<E>;
|
|
155
255
|
readonly labels: Schema.Struct<{
|
|
@@ -162,11 +262,64 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
162
262
|
GramStainLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
163
263
|
readonly description: RichSlot<E>;
|
|
164
264
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
265
|
+
readonly marks?: readonly [{
|
|
266
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
267
|
+
} | {
|
|
268
|
+
readonly attrs: {
|
|
269
|
+
readonly href: string;
|
|
270
|
+
};
|
|
271
|
+
readonly type: "link";
|
|
272
|
+
} | {
|
|
273
|
+
readonly attrs: {
|
|
274
|
+
readonly variant: "success" | "warning" | null;
|
|
275
|
+
};
|
|
276
|
+
readonly type: "highlight";
|
|
277
|
+
}, ...({
|
|
278
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
279
|
+
} | {
|
|
280
|
+
readonly attrs: {
|
|
281
|
+
readonly href: string;
|
|
282
|
+
};
|
|
283
|
+
readonly type: "link";
|
|
284
|
+
} | {
|
|
285
|
+
readonly attrs: {
|
|
286
|
+
readonly variant: "success" | "warning" | null;
|
|
287
|
+
};
|
|
288
|
+
readonly type: "highlight";
|
|
289
|
+
})[]];
|
|
290
|
+
readonly text: string;
|
|
291
|
+
readonly type: "text";
|
|
292
|
+
} | {
|
|
165
293
|
readonly attrs: {
|
|
166
294
|
readonly latex: string;
|
|
167
295
|
};
|
|
296
|
+
readonly marks?: readonly [{
|
|
297
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
298
|
+
} | {
|
|
299
|
+
readonly attrs: {
|
|
300
|
+
readonly href: string;
|
|
301
|
+
};
|
|
302
|
+
readonly type: "link";
|
|
303
|
+
} | {
|
|
304
|
+
readonly attrs: {
|
|
305
|
+
readonly variant: "success" | "warning" | null;
|
|
306
|
+
};
|
|
307
|
+
readonly type: "highlight";
|
|
308
|
+
}, ...({
|
|
309
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
310
|
+
} | {
|
|
311
|
+
readonly attrs: {
|
|
312
|
+
readonly href: string;
|
|
313
|
+
};
|
|
314
|
+
readonly type: "link";
|
|
315
|
+
} | {
|
|
316
|
+
readonly attrs: {
|
|
317
|
+
readonly variant: "success" | "warning" | null;
|
|
318
|
+
};
|
|
319
|
+
readonly type: "highlight";
|
|
320
|
+
})[]];
|
|
168
321
|
readonly type: "mathInline";
|
|
169
|
-
}
|
|
322
|
+
}, ...({
|
|
170
323
|
readonly marks?: readonly [{
|
|
171
324
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
172
325
|
} | {
|
|
@@ -194,12 +347,10 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
194
347
|
})[]];
|
|
195
348
|
readonly text: string;
|
|
196
349
|
readonly type: "text";
|
|
197
|
-
}
|
|
350
|
+
} | {
|
|
198
351
|
readonly attrs: {
|
|
199
352
|
readonly latex: string;
|
|
200
353
|
};
|
|
201
|
-
readonly type: "mathInline";
|
|
202
|
-
} | {
|
|
203
354
|
readonly marks?: readonly [{
|
|
204
355
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
205
356
|
} | {
|
|
@@ -225,8 +376,7 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
225
376
|
};
|
|
226
377
|
readonly type: "highlight";
|
|
227
378
|
})[]];
|
|
228
|
-
readonly
|
|
229
|
-
readonly type: "text";
|
|
379
|
+
readonly type: "mathInline";
|
|
230
380
|
})[]], E, never, never>>;
|
|
231
381
|
readonly title: RichSlot<E>;
|
|
232
382
|
readonly labels: Schema.Struct<{
|
|
@@ -241,11 +391,64 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
241
391
|
YogurtLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
242
392
|
readonly description: RichSlot<E>;
|
|
243
393
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
394
|
+
readonly marks?: readonly [{
|
|
395
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
396
|
+
} | {
|
|
397
|
+
readonly attrs: {
|
|
398
|
+
readonly href: string;
|
|
399
|
+
};
|
|
400
|
+
readonly type: "link";
|
|
401
|
+
} | {
|
|
402
|
+
readonly attrs: {
|
|
403
|
+
readonly variant: "success" | "warning" | null;
|
|
404
|
+
};
|
|
405
|
+
readonly type: "highlight";
|
|
406
|
+
}, ...({
|
|
407
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
408
|
+
} | {
|
|
409
|
+
readonly attrs: {
|
|
410
|
+
readonly href: string;
|
|
411
|
+
};
|
|
412
|
+
readonly type: "link";
|
|
413
|
+
} | {
|
|
414
|
+
readonly attrs: {
|
|
415
|
+
readonly variant: "success" | "warning" | null;
|
|
416
|
+
};
|
|
417
|
+
readonly type: "highlight";
|
|
418
|
+
})[]];
|
|
419
|
+
readonly text: string;
|
|
420
|
+
readonly type: "text";
|
|
421
|
+
} | {
|
|
244
422
|
readonly attrs: {
|
|
245
423
|
readonly latex: string;
|
|
246
424
|
};
|
|
425
|
+
readonly marks?: readonly [{
|
|
426
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
427
|
+
} | {
|
|
428
|
+
readonly attrs: {
|
|
429
|
+
readonly href: string;
|
|
430
|
+
};
|
|
431
|
+
readonly type: "link";
|
|
432
|
+
} | {
|
|
433
|
+
readonly attrs: {
|
|
434
|
+
readonly variant: "success" | "warning" | null;
|
|
435
|
+
};
|
|
436
|
+
readonly type: "highlight";
|
|
437
|
+
}, ...({
|
|
438
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
439
|
+
} | {
|
|
440
|
+
readonly attrs: {
|
|
441
|
+
readonly href: string;
|
|
442
|
+
};
|
|
443
|
+
readonly type: "link";
|
|
444
|
+
} | {
|
|
445
|
+
readonly attrs: {
|
|
446
|
+
readonly variant: "success" | "warning" | null;
|
|
447
|
+
};
|
|
448
|
+
readonly type: "highlight";
|
|
449
|
+
})[]];
|
|
247
450
|
readonly type: "mathInline";
|
|
248
|
-
}
|
|
451
|
+
}, ...({
|
|
249
452
|
readonly marks?: readonly [{
|
|
250
453
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
251
454
|
} | {
|
|
@@ -273,12 +476,10 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
273
476
|
})[]];
|
|
274
477
|
readonly text: string;
|
|
275
478
|
readonly type: "text";
|
|
276
|
-
}
|
|
479
|
+
} | {
|
|
277
480
|
readonly attrs: {
|
|
278
481
|
readonly latex: string;
|
|
279
482
|
};
|
|
280
|
-
readonly type: "mathInline";
|
|
281
|
-
} | {
|
|
282
483
|
readonly marks?: readonly [{
|
|
283
484
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
284
485
|
} | {
|
|
@@ -304,8 +505,7 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
304
505
|
};
|
|
305
506
|
readonly type: "highlight";
|
|
306
507
|
})[]];
|
|
307
|
-
readonly
|
|
308
|
-
readonly type: "text";
|
|
508
|
+
readonly type: "mathInline";
|
|
309
509
|
})[]], E, never, never>>;
|
|
310
510
|
readonly title: RichSlot<E>;
|
|
311
511
|
readonly labels: Schema.Struct<{
|
|
@@ -5,11 +5,64 @@ export declare function bloodVisuals<E>(rich: RichSlot<E>): {
|
|
|
5
5
|
BloodTypingLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
6
6
|
readonly description: RichSlot<E>;
|
|
7
7
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
8
|
+
readonly marks?: readonly [{
|
|
9
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
10
|
+
} | {
|
|
11
|
+
readonly attrs: {
|
|
12
|
+
readonly href: string;
|
|
13
|
+
};
|
|
14
|
+
readonly type: "link";
|
|
15
|
+
} | {
|
|
16
|
+
readonly attrs: {
|
|
17
|
+
readonly variant: "success" | "warning" | null;
|
|
18
|
+
};
|
|
19
|
+
readonly type: "highlight";
|
|
20
|
+
}, ...({
|
|
21
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
22
|
+
} | {
|
|
23
|
+
readonly attrs: {
|
|
24
|
+
readonly href: string;
|
|
25
|
+
};
|
|
26
|
+
readonly type: "link";
|
|
27
|
+
} | {
|
|
28
|
+
readonly attrs: {
|
|
29
|
+
readonly variant: "success" | "warning" | null;
|
|
30
|
+
};
|
|
31
|
+
readonly type: "highlight";
|
|
32
|
+
})[]];
|
|
33
|
+
readonly text: string;
|
|
34
|
+
readonly type: "text";
|
|
35
|
+
} | {
|
|
8
36
|
readonly attrs: {
|
|
9
37
|
readonly latex: string;
|
|
10
38
|
};
|
|
39
|
+
readonly marks?: readonly [{
|
|
40
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
41
|
+
} | {
|
|
42
|
+
readonly attrs: {
|
|
43
|
+
readonly href: string;
|
|
44
|
+
};
|
|
45
|
+
readonly type: "link";
|
|
46
|
+
} | {
|
|
47
|
+
readonly attrs: {
|
|
48
|
+
readonly variant: "success" | "warning" | null;
|
|
49
|
+
};
|
|
50
|
+
readonly type: "highlight";
|
|
51
|
+
}, ...({
|
|
52
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
53
|
+
} | {
|
|
54
|
+
readonly attrs: {
|
|
55
|
+
readonly href: string;
|
|
56
|
+
};
|
|
57
|
+
readonly type: "link";
|
|
58
|
+
} | {
|
|
59
|
+
readonly attrs: {
|
|
60
|
+
readonly variant: "success" | "warning" | null;
|
|
61
|
+
};
|
|
62
|
+
readonly type: "highlight";
|
|
63
|
+
})[]];
|
|
11
64
|
readonly type: "mathInline";
|
|
12
|
-
}
|
|
65
|
+
}, ...({
|
|
13
66
|
readonly marks?: readonly [{
|
|
14
67
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
15
68
|
} | {
|
|
@@ -37,12 +90,10 @@ export declare function bloodVisuals<E>(rich: RichSlot<E>): {
|
|
|
37
90
|
})[]];
|
|
38
91
|
readonly text: string;
|
|
39
92
|
readonly type: "text";
|
|
40
|
-
}
|
|
93
|
+
} | {
|
|
41
94
|
readonly attrs: {
|
|
42
95
|
readonly latex: string;
|
|
43
96
|
};
|
|
44
|
-
readonly type: "mathInline";
|
|
45
|
-
} | {
|
|
46
97
|
readonly marks?: readonly [{
|
|
47
98
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
48
99
|
} | {
|
|
@@ -68,8 +119,7 @@ export declare function bloodVisuals<E>(rich: RichSlot<E>): {
|
|
|
68
119
|
};
|
|
69
120
|
readonly type: "highlight";
|
|
70
121
|
})[]];
|
|
71
|
-
readonly
|
|
72
|
-
readonly type: "text";
|
|
122
|
+
readonly type: "mathInline";
|
|
73
123
|
})[]], E, never, never>>;
|
|
74
124
|
readonly title: RichSlot<E>;
|
|
75
125
|
readonly labels: Schema.Struct<{
|