@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 cellVisuals<E>(rich: RichSlot<E>): {
|
|
|
8
8
|
CellCutawayLab: 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 cellVisuals<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 cellVisuals<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 cells: Schema.$Array<Schema.Literals<readonly ["animal", "plant", "yeast", "bacterium"]>>;
|
|
@@ -117,11 +167,64 @@ export declare function cellVisuals<E>(rich: RichSlot<E>): {
|
|
|
117
167
|
CellScaleLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
118
168
|
readonly description: RichSlot<E>;
|
|
119
169
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
170
|
+
readonly marks?: readonly [{
|
|
171
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
172
|
+
} | {
|
|
173
|
+
readonly attrs: {
|
|
174
|
+
readonly href: string;
|
|
175
|
+
};
|
|
176
|
+
readonly type: "link";
|
|
177
|
+
} | {
|
|
178
|
+
readonly attrs: {
|
|
179
|
+
readonly variant: "success" | "warning" | null;
|
|
180
|
+
};
|
|
181
|
+
readonly type: "highlight";
|
|
182
|
+
}, ...({
|
|
183
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
184
|
+
} | {
|
|
185
|
+
readonly attrs: {
|
|
186
|
+
readonly href: string;
|
|
187
|
+
};
|
|
188
|
+
readonly type: "link";
|
|
189
|
+
} | {
|
|
190
|
+
readonly attrs: {
|
|
191
|
+
readonly variant: "success" | "warning" | null;
|
|
192
|
+
};
|
|
193
|
+
readonly type: "highlight";
|
|
194
|
+
})[]];
|
|
195
|
+
readonly text: string;
|
|
196
|
+
readonly type: "text";
|
|
197
|
+
} | {
|
|
120
198
|
readonly attrs: {
|
|
121
199
|
readonly latex: string;
|
|
122
200
|
};
|
|
201
|
+
readonly marks?: readonly [{
|
|
202
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
203
|
+
} | {
|
|
204
|
+
readonly attrs: {
|
|
205
|
+
readonly href: string;
|
|
206
|
+
};
|
|
207
|
+
readonly type: "link";
|
|
208
|
+
} | {
|
|
209
|
+
readonly attrs: {
|
|
210
|
+
readonly variant: "success" | "warning" | null;
|
|
211
|
+
};
|
|
212
|
+
readonly type: "highlight";
|
|
213
|
+
}, ...({
|
|
214
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
215
|
+
} | {
|
|
216
|
+
readonly attrs: {
|
|
217
|
+
readonly href: string;
|
|
218
|
+
};
|
|
219
|
+
readonly type: "link";
|
|
220
|
+
} | {
|
|
221
|
+
readonly attrs: {
|
|
222
|
+
readonly variant: "success" | "warning" | null;
|
|
223
|
+
};
|
|
224
|
+
readonly type: "highlight";
|
|
225
|
+
})[]];
|
|
123
226
|
readonly type: "mathInline";
|
|
124
|
-
}
|
|
227
|
+
}, ...({
|
|
125
228
|
readonly marks?: readonly [{
|
|
126
229
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
127
230
|
} | {
|
|
@@ -149,12 +252,10 @@ export declare function cellVisuals<E>(rich: RichSlot<E>): {
|
|
|
149
252
|
})[]];
|
|
150
253
|
readonly text: string;
|
|
151
254
|
readonly type: "text";
|
|
152
|
-
}
|
|
255
|
+
} | {
|
|
153
256
|
readonly attrs: {
|
|
154
257
|
readonly latex: string;
|
|
155
258
|
};
|
|
156
|
-
readonly type: "mathInline";
|
|
157
|
-
} | {
|
|
158
259
|
readonly marks?: readonly [{
|
|
159
260
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
160
261
|
} | {
|
|
@@ -180,8 +281,7 @@ export declare function cellVisuals<E>(rich: RichSlot<E>): {
|
|
|
180
281
|
};
|
|
181
282
|
readonly type: "highlight";
|
|
182
283
|
})[]];
|
|
183
|
-
readonly
|
|
184
|
-
readonly type: "text";
|
|
284
|
+
readonly type: "mathInline";
|
|
185
285
|
})[]], E, never, never>>;
|
|
186
286
|
readonly title: RichSlot<E>;
|
|
187
287
|
readonly labels: Schema.Struct<{
|
|
@@ -196,11 +296,64 @@ export declare function cellVisuals<E>(rich: RichSlot<E>): {
|
|
|
196
296
|
DnaHelixLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
197
297
|
readonly description: RichSlot<E>;
|
|
198
298
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
299
|
+
readonly marks?: readonly [{
|
|
300
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
301
|
+
} | {
|
|
302
|
+
readonly attrs: {
|
|
303
|
+
readonly href: string;
|
|
304
|
+
};
|
|
305
|
+
readonly type: "link";
|
|
306
|
+
} | {
|
|
307
|
+
readonly attrs: {
|
|
308
|
+
readonly variant: "success" | "warning" | null;
|
|
309
|
+
};
|
|
310
|
+
readonly type: "highlight";
|
|
311
|
+
}, ...({
|
|
312
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
313
|
+
} | {
|
|
314
|
+
readonly attrs: {
|
|
315
|
+
readonly href: string;
|
|
316
|
+
};
|
|
317
|
+
readonly type: "link";
|
|
318
|
+
} | {
|
|
319
|
+
readonly attrs: {
|
|
320
|
+
readonly variant: "success" | "warning" | null;
|
|
321
|
+
};
|
|
322
|
+
readonly type: "highlight";
|
|
323
|
+
})[]];
|
|
324
|
+
readonly text: string;
|
|
325
|
+
readonly type: "text";
|
|
326
|
+
} | {
|
|
199
327
|
readonly attrs: {
|
|
200
328
|
readonly latex: string;
|
|
201
329
|
};
|
|
330
|
+
readonly marks?: readonly [{
|
|
331
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
332
|
+
} | {
|
|
333
|
+
readonly attrs: {
|
|
334
|
+
readonly href: string;
|
|
335
|
+
};
|
|
336
|
+
readonly type: "link";
|
|
337
|
+
} | {
|
|
338
|
+
readonly attrs: {
|
|
339
|
+
readonly variant: "success" | "warning" | null;
|
|
340
|
+
};
|
|
341
|
+
readonly type: "highlight";
|
|
342
|
+
}, ...({
|
|
343
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
344
|
+
} | {
|
|
345
|
+
readonly attrs: {
|
|
346
|
+
readonly href: string;
|
|
347
|
+
};
|
|
348
|
+
readonly type: "link";
|
|
349
|
+
} | {
|
|
350
|
+
readonly attrs: {
|
|
351
|
+
readonly variant: "success" | "warning" | null;
|
|
352
|
+
};
|
|
353
|
+
readonly type: "highlight";
|
|
354
|
+
})[]];
|
|
202
355
|
readonly type: "mathInline";
|
|
203
|
-
}
|
|
356
|
+
}, ...({
|
|
204
357
|
readonly marks?: readonly [{
|
|
205
358
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
206
359
|
} | {
|
|
@@ -228,12 +381,10 @@ export declare function cellVisuals<E>(rich: RichSlot<E>): {
|
|
|
228
381
|
})[]];
|
|
229
382
|
readonly text: string;
|
|
230
383
|
readonly type: "text";
|
|
231
|
-
}
|
|
384
|
+
} | {
|
|
232
385
|
readonly attrs: {
|
|
233
386
|
readonly latex: string;
|
|
234
387
|
};
|
|
235
|
-
readonly type: "mathInline";
|
|
236
|
-
} | {
|
|
237
388
|
readonly marks?: readonly [{
|
|
238
389
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
239
390
|
} | {
|
|
@@ -259,8 +410,7 @@ export declare function cellVisuals<E>(rich: RichSlot<E>): {
|
|
|
259
410
|
};
|
|
260
411
|
readonly type: "highlight";
|
|
261
412
|
})[]];
|
|
262
|
-
readonly
|
|
263
|
-
readonly type: "text";
|
|
413
|
+
readonly type: "mathInline";
|
|
264
414
|
})[]], E, never, never>>;
|
|
265
415
|
readonly title: RichSlot<E>;
|
|
266
416
|
readonly copy: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -8,11 +8,64 @@ export declare function climateVisuals<E>(rich: RichSlot<E>): {
|
|
|
8
8
|
CarbonBudgetLab: 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 climateVisuals<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 climateVisuals<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<{
|
|
@@ -96,11 +146,64 @@ export declare function climateVisuals<E>(rich: RichSlot<E>): {
|
|
|
96
146
|
CoralBleachLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
97
147
|
readonly description: RichSlot<E>;
|
|
98
148
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
149
|
+
readonly marks?: readonly [{
|
|
150
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
151
|
+
} | {
|
|
152
|
+
readonly attrs: {
|
|
153
|
+
readonly href: string;
|
|
154
|
+
};
|
|
155
|
+
readonly type: "link";
|
|
156
|
+
} | {
|
|
157
|
+
readonly attrs: {
|
|
158
|
+
readonly variant: "success" | "warning" | null;
|
|
159
|
+
};
|
|
160
|
+
readonly type: "highlight";
|
|
161
|
+
}, ...({
|
|
162
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
163
|
+
} | {
|
|
164
|
+
readonly attrs: {
|
|
165
|
+
readonly href: string;
|
|
166
|
+
};
|
|
167
|
+
readonly type: "link";
|
|
168
|
+
} | {
|
|
169
|
+
readonly attrs: {
|
|
170
|
+
readonly variant: "success" | "warning" | null;
|
|
171
|
+
};
|
|
172
|
+
readonly type: "highlight";
|
|
173
|
+
})[]];
|
|
174
|
+
readonly text: string;
|
|
175
|
+
readonly type: "text";
|
|
176
|
+
} | {
|
|
99
177
|
readonly attrs: {
|
|
100
178
|
readonly latex: string;
|
|
101
179
|
};
|
|
180
|
+
readonly marks?: readonly [{
|
|
181
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
182
|
+
} | {
|
|
183
|
+
readonly attrs: {
|
|
184
|
+
readonly href: string;
|
|
185
|
+
};
|
|
186
|
+
readonly type: "link";
|
|
187
|
+
} | {
|
|
188
|
+
readonly attrs: {
|
|
189
|
+
readonly variant: "success" | "warning" | null;
|
|
190
|
+
};
|
|
191
|
+
readonly type: "highlight";
|
|
192
|
+
}, ...({
|
|
193
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
194
|
+
} | {
|
|
195
|
+
readonly attrs: {
|
|
196
|
+
readonly href: string;
|
|
197
|
+
};
|
|
198
|
+
readonly type: "link";
|
|
199
|
+
} | {
|
|
200
|
+
readonly attrs: {
|
|
201
|
+
readonly variant: "success" | "warning" | null;
|
|
202
|
+
};
|
|
203
|
+
readonly type: "highlight";
|
|
204
|
+
})[]];
|
|
102
205
|
readonly type: "mathInline";
|
|
103
|
-
}
|
|
206
|
+
}, ...({
|
|
104
207
|
readonly marks?: readonly [{
|
|
105
208
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
106
209
|
} | {
|
|
@@ -128,12 +231,10 @@ export declare function climateVisuals<E>(rich: RichSlot<E>): {
|
|
|
128
231
|
})[]];
|
|
129
232
|
readonly text: string;
|
|
130
233
|
readonly type: "text";
|
|
131
|
-
}
|
|
234
|
+
} | {
|
|
132
235
|
readonly attrs: {
|
|
133
236
|
readonly latex: string;
|
|
134
237
|
};
|
|
135
|
-
readonly type: "mathInline";
|
|
136
|
-
} | {
|
|
137
238
|
readonly marks?: readonly [{
|
|
138
239
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
139
240
|
} | {
|
|
@@ -159,8 +260,7 @@ export declare function climateVisuals<E>(rich: RichSlot<E>): {
|
|
|
159
260
|
};
|
|
160
261
|
readonly type: "highlight";
|
|
161
262
|
})[]];
|
|
162
|
-
readonly
|
|
163
|
-
readonly type: "text";
|
|
263
|
+
readonly type: "mathInline";
|
|
164
264
|
})[]], E, never, never>>;
|
|
165
265
|
readonly title: RichSlot<E>;
|
|
166
266
|
readonly labels: Schema.Struct<{
|
|
@@ -176,11 +276,64 @@ export declare function climateVisuals<E>(rich: RichSlot<E>): {
|
|
|
176
276
|
SeaLevelRiseLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
177
277
|
readonly description: RichSlot<E>;
|
|
178
278
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
279
|
+
readonly marks?: readonly [{
|
|
280
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
281
|
+
} | {
|
|
282
|
+
readonly attrs: {
|
|
283
|
+
readonly href: string;
|
|
284
|
+
};
|
|
285
|
+
readonly type: "link";
|
|
286
|
+
} | {
|
|
287
|
+
readonly attrs: {
|
|
288
|
+
readonly variant: "success" | "warning" | null;
|
|
289
|
+
};
|
|
290
|
+
readonly type: "highlight";
|
|
291
|
+
}, ...({
|
|
292
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
293
|
+
} | {
|
|
294
|
+
readonly attrs: {
|
|
295
|
+
readonly href: string;
|
|
296
|
+
};
|
|
297
|
+
readonly type: "link";
|
|
298
|
+
} | {
|
|
299
|
+
readonly attrs: {
|
|
300
|
+
readonly variant: "success" | "warning" | null;
|
|
301
|
+
};
|
|
302
|
+
readonly type: "highlight";
|
|
303
|
+
})[]];
|
|
304
|
+
readonly text: string;
|
|
305
|
+
readonly type: "text";
|
|
306
|
+
} | {
|
|
179
307
|
readonly attrs: {
|
|
180
308
|
readonly latex: string;
|
|
181
309
|
};
|
|
310
|
+
readonly marks?: readonly [{
|
|
311
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
312
|
+
} | {
|
|
313
|
+
readonly attrs: {
|
|
314
|
+
readonly href: string;
|
|
315
|
+
};
|
|
316
|
+
readonly type: "link";
|
|
317
|
+
} | {
|
|
318
|
+
readonly attrs: {
|
|
319
|
+
readonly variant: "success" | "warning" | null;
|
|
320
|
+
};
|
|
321
|
+
readonly type: "highlight";
|
|
322
|
+
}, ...({
|
|
323
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
324
|
+
} | {
|
|
325
|
+
readonly attrs: {
|
|
326
|
+
readonly href: string;
|
|
327
|
+
};
|
|
328
|
+
readonly type: "link";
|
|
329
|
+
} | {
|
|
330
|
+
readonly attrs: {
|
|
331
|
+
readonly variant: "success" | "warning" | null;
|
|
332
|
+
};
|
|
333
|
+
readonly type: "highlight";
|
|
334
|
+
})[]];
|
|
182
335
|
readonly type: "mathInline";
|
|
183
|
-
}
|
|
336
|
+
}, ...({
|
|
184
337
|
readonly marks?: readonly [{
|
|
185
338
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
186
339
|
} | {
|
|
@@ -208,12 +361,10 @@ export declare function climateVisuals<E>(rich: RichSlot<E>): {
|
|
|
208
361
|
})[]];
|
|
209
362
|
readonly text: string;
|
|
210
363
|
readonly type: "text";
|
|
211
|
-
}
|
|
364
|
+
} | {
|
|
212
365
|
readonly attrs: {
|
|
213
366
|
readonly latex: string;
|
|
214
367
|
};
|
|
215
|
-
readonly type: "mathInline";
|
|
216
|
-
} | {
|
|
217
368
|
readonly marks?: readonly [{
|
|
218
369
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
219
370
|
} | {
|
|
@@ -239,8 +390,7 @@ export declare function climateVisuals<E>(rich: RichSlot<E>): {
|
|
|
239
390
|
};
|
|
240
391
|
readonly type: "highlight";
|
|
241
392
|
})[]];
|
|
242
|
-
readonly
|
|
243
|
-
readonly type: "text";
|
|
393
|
+
readonly type: "mathInline";
|
|
244
394
|
})[]], E, never, never>>;
|
|
245
395
|
readonly title: RichSlot<E>;
|
|
246
396
|
readonly labels: Schema.Struct<{
|