@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 bondingVisuals<E>(rich: RichSlot<E>): {
|
|
|
8
8
|
AlkaliWaterLab: 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 bondingVisuals<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 bondingVisuals<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 bondingVisuals<E>(rich: RichSlot<E>): {
|
|
|
89
139
|
IonLatticeLab: 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 bondingVisuals<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 bondingVisuals<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 crystals: Schema.$Array<Schema.Literals<readonly ["sodium-chloride", "magnesium-oxide", "lithium-fluoride", "potassium-chloride", "sodium-fluoride", "sodium-bromide"]>>;
|
|
@@ -170,11 +270,64 @@ export declare function bondingVisuals<E>(rich: RichSlot<E>): {
|
|
|
170
270
|
IonFormationLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
171
271
|
readonly description: RichSlot<E>;
|
|
172
272
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
273
|
+
readonly marks?: readonly [{
|
|
274
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
275
|
+
} | {
|
|
276
|
+
readonly attrs: {
|
|
277
|
+
readonly href: string;
|
|
278
|
+
};
|
|
279
|
+
readonly type: "link";
|
|
280
|
+
} | {
|
|
281
|
+
readonly attrs: {
|
|
282
|
+
readonly variant: "success" | "warning" | null;
|
|
283
|
+
};
|
|
284
|
+
readonly type: "highlight";
|
|
285
|
+
}, ...({
|
|
286
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
287
|
+
} | {
|
|
288
|
+
readonly attrs: {
|
|
289
|
+
readonly href: string;
|
|
290
|
+
};
|
|
291
|
+
readonly type: "link";
|
|
292
|
+
} | {
|
|
293
|
+
readonly attrs: {
|
|
294
|
+
readonly variant: "success" | "warning" | null;
|
|
295
|
+
};
|
|
296
|
+
readonly type: "highlight";
|
|
297
|
+
})[]];
|
|
298
|
+
readonly text: string;
|
|
299
|
+
readonly type: "text";
|
|
300
|
+
} | {
|
|
173
301
|
readonly attrs: {
|
|
174
302
|
readonly latex: string;
|
|
175
303
|
};
|
|
304
|
+
readonly marks?: readonly [{
|
|
305
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
306
|
+
} | {
|
|
307
|
+
readonly attrs: {
|
|
308
|
+
readonly href: string;
|
|
309
|
+
};
|
|
310
|
+
readonly type: "link";
|
|
311
|
+
} | {
|
|
312
|
+
readonly attrs: {
|
|
313
|
+
readonly variant: "success" | "warning" | null;
|
|
314
|
+
};
|
|
315
|
+
readonly type: "highlight";
|
|
316
|
+
}, ...({
|
|
317
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
318
|
+
} | {
|
|
319
|
+
readonly attrs: {
|
|
320
|
+
readonly href: string;
|
|
321
|
+
};
|
|
322
|
+
readonly type: "link";
|
|
323
|
+
} | {
|
|
324
|
+
readonly attrs: {
|
|
325
|
+
readonly variant: "success" | "warning" | null;
|
|
326
|
+
};
|
|
327
|
+
readonly type: "highlight";
|
|
328
|
+
})[]];
|
|
176
329
|
readonly type: "mathInline";
|
|
177
|
-
}
|
|
330
|
+
}, ...({
|
|
178
331
|
readonly marks?: readonly [{
|
|
179
332
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
180
333
|
} | {
|
|
@@ -202,12 +355,10 @@ export declare function bondingVisuals<E>(rich: RichSlot<E>): {
|
|
|
202
355
|
})[]];
|
|
203
356
|
readonly text: string;
|
|
204
357
|
readonly type: "text";
|
|
205
|
-
}
|
|
358
|
+
} | {
|
|
206
359
|
readonly attrs: {
|
|
207
360
|
readonly latex: string;
|
|
208
361
|
};
|
|
209
|
-
readonly type: "mathInline";
|
|
210
|
-
} | {
|
|
211
362
|
readonly marks?: readonly [{
|
|
212
363
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
213
364
|
} | {
|
|
@@ -233,8 +384,7 @@ export declare function bondingVisuals<E>(rich: RichSlot<E>): {
|
|
|
233
384
|
};
|
|
234
385
|
readonly type: "highlight";
|
|
235
386
|
})[]];
|
|
236
|
-
readonly
|
|
237
|
-
readonly type: "text";
|
|
387
|
+
readonly type: "mathInline";
|
|
238
388
|
})[]], E, never, never>>;
|
|
239
389
|
readonly title: RichSlot<E>;
|
|
240
390
|
readonly labels: Schema.Struct<{
|
|
@@ -251,11 +401,64 @@ export declare function bondingVisuals<E>(rich: RichSlot<E>): {
|
|
|
251
401
|
MoleculeShapeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
252
402
|
readonly description: RichSlot<E>;
|
|
253
403
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
404
|
+
readonly marks?: readonly [{
|
|
405
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
406
|
+
} | {
|
|
407
|
+
readonly attrs: {
|
|
408
|
+
readonly href: string;
|
|
409
|
+
};
|
|
410
|
+
readonly type: "link";
|
|
411
|
+
} | {
|
|
412
|
+
readonly attrs: {
|
|
413
|
+
readonly variant: "success" | "warning" | null;
|
|
414
|
+
};
|
|
415
|
+
readonly type: "highlight";
|
|
416
|
+
}, ...({
|
|
417
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
418
|
+
} | {
|
|
419
|
+
readonly attrs: {
|
|
420
|
+
readonly href: string;
|
|
421
|
+
};
|
|
422
|
+
readonly type: "link";
|
|
423
|
+
} | {
|
|
424
|
+
readonly attrs: {
|
|
425
|
+
readonly variant: "success" | "warning" | null;
|
|
426
|
+
};
|
|
427
|
+
readonly type: "highlight";
|
|
428
|
+
})[]];
|
|
429
|
+
readonly text: string;
|
|
430
|
+
readonly type: "text";
|
|
431
|
+
} | {
|
|
254
432
|
readonly attrs: {
|
|
255
433
|
readonly latex: string;
|
|
256
434
|
};
|
|
435
|
+
readonly marks?: readonly [{
|
|
436
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
437
|
+
} | {
|
|
438
|
+
readonly attrs: {
|
|
439
|
+
readonly href: string;
|
|
440
|
+
};
|
|
441
|
+
readonly type: "link";
|
|
442
|
+
} | {
|
|
443
|
+
readonly attrs: {
|
|
444
|
+
readonly variant: "success" | "warning" | null;
|
|
445
|
+
};
|
|
446
|
+
readonly type: "highlight";
|
|
447
|
+
}, ...({
|
|
448
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
449
|
+
} | {
|
|
450
|
+
readonly attrs: {
|
|
451
|
+
readonly href: string;
|
|
452
|
+
};
|
|
453
|
+
readonly type: "link";
|
|
454
|
+
} | {
|
|
455
|
+
readonly attrs: {
|
|
456
|
+
readonly variant: "success" | "warning" | null;
|
|
457
|
+
};
|
|
458
|
+
readonly type: "highlight";
|
|
459
|
+
})[]];
|
|
257
460
|
readonly type: "mathInline";
|
|
258
|
-
}
|
|
461
|
+
}, ...({
|
|
259
462
|
readonly marks?: readonly [{
|
|
260
463
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
261
464
|
} | {
|
|
@@ -283,12 +486,10 @@ export declare function bondingVisuals<E>(rich: RichSlot<E>): {
|
|
|
283
486
|
})[]];
|
|
284
487
|
readonly text: string;
|
|
285
488
|
readonly type: "text";
|
|
286
|
-
}
|
|
489
|
+
} | {
|
|
287
490
|
readonly attrs: {
|
|
288
491
|
readonly latex: string;
|
|
289
492
|
};
|
|
290
|
-
readonly type: "mathInline";
|
|
291
|
-
} | {
|
|
292
493
|
readonly marks?: readonly [{
|
|
293
494
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
294
495
|
} | {
|
|
@@ -314,8 +515,7 @@ export declare function bondingVisuals<E>(rich: RichSlot<E>): {
|
|
|
314
515
|
};
|
|
315
516
|
readonly type: "highlight";
|
|
316
517
|
})[]];
|
|
317
|
-
readonly
|
|
318
|
-
readonly type: "text";
|
|
518
|
+
readonly type: "mathInline";
|
|
319
519
|
})[]], E, never, never>>;
|
|
320
520
|
readonly title: RichSlot<E>;
|
|
321
521
|
readonly labels: Schema.Struct<{
|
|
@@ -335,11 +535,64 @@ export declare function bondingVisuals<E>(rich: RichSlot<E>): {
|
|
|
335
535
|
OrbitalCloudLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
336
536
|
readonly description: RichSlot<E>;
|
|
337
537
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
538
|
+
readonly marks?: readonly [{
|
|
539
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
540
|
+
} | {
|
|
541
|
+
readonly attrs: {
|
|
542
|
+
readonly href: string;
|
|
543
|
+
};
|
|
544
|
+
readonly type: "link";
|
|
545
|
+
} | {
|
|
546
|
+
readonly attrs: {
|
|
547
|
+
readonly variant: "success" | "warning" | null;
|
|
548
|
+
};
|
|
549
|
+
readonly type: "highlight";
|
|
550
|
+
}, ...({
|
|
551
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
552
|
+
} | {
|
|
553
|
+
readonly attrs: {
|
|
554
|
+
readonly href: string;
|
|
555
|
+
};
|
|
556
|
+
readonly type: "link";
|
|
557
|
+
} | {
|
|
558
|
+
readonly attrs: {
|
|
559
|
+
readonly variant: "success" | "warning" | null;
|
|
560
|
+
};
|
|
561
|
+
readonly type: "highlight";
|
|
562
|
+
})[]];
|
|
563
|
+
readonly text: string;
|
|
564
|
+
readonly type: "text";
|
|
565
|
+
} | {
|
|
338
566
|
readonly attrs: {
|
|
339
567
|
readonly latex: string;
|
|
340
568
|
};
|
|
569
|
+
readonly marks?: readonly [{
|
|
570
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
571
|
+
} | {
|
|
572
|
+
readonly attrs: {
|
|
573
|
+
readonly href: string;
|
|
574
|
+
};
|
|
575
|
+
readonly type: "link";
|
|
576
|
+
} | {
|
|
577
|
+
readonly attrs: {
|
|
578
|
+
readonly variant: "success" | "warning" | null;
|
|
579
|
+
};
|
|
580
|
+
readonly type: "highlight";
|
|
581
|
+
}, ...({
|
|
582
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
583
|
+
} | {
|
|
584
|
+
readonly attrs: {
|
|
585
|
+
readonly href: string;
|
|
586
|
+
};
|
|
587
|
+
readonly type: "link";
|
|
588
|
+
} | {
|
|
589
|
+
readonly attrs: {
|
|
590
|
+
readonly variant: "success" | "warning" | null;
|
|
591
|
+
};
|
|
592
|
+
readonly type: "highlight";
|
|
593
|
+
})[]];
|
|
341
594
|
readonly type: "mathInline";
|
|
342
|
-
}
|
|
595
|
+
}, ...({
|
|
343
596
|
readonly marks?: readonly [{
|
|
344
597
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
345
598
|
} | {
|
|
@@ -367,12 +620,10 @@ export declare function bondingVisuals<E>(rich: RichSlot<E>): {
|
|
|
367
620
|
})[]];
|
|
368
621
|
readonly text: string;
|
|
369
622
|
readonly type: "text";
|
|
370
|
-
}
|
|
623
|
+
} | {
|
|
371
624
|
readonly attrs: {
|
|
372
625
|
readonly latex: string;
|
|
373
626
|
};
|
|
374
|
-
readonly type: "mathInline";
|
|
375
|
-
} | {
|
|
376
627
|
readonly marks?: readonly [{
|
|
377
628
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
378
629
|
} | {
|
|
@@ -398,8 +649,7 @@ export declare function bondingVisuals<E>(rich: RichSlot<E>): {
|
|
|
398
649
|
};
|
|
399
650
|
readonly type: "highlight";
|
|
400
651
|
})[]];
|
|
401
|
-
readonly
|
|
402
|
-
readonly type: "text";
|
|
652
|
+
readonly type: "mathInline";
|
|
403
653
|
})[]], E, never, never>>;
|
|
404
654
|
readonly title: RichSlot<E>;
|
|
405
655
|
readonly labels: Schema.Struct<{
|