@nakafa/aksara-contracts 8.9.1 → 8.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assessment/choice.d.ts +26 -0
- package/dist/assessment/document.d.ts +39 -0
- package/dist/assessment/figure.d.ts +13 -0
- package/dist/assessment/hash.d.ts +711 -111
- package/dist/assessment/inline.d.ts +53 -0
- package/dist/assessment/inline.js +1 -0
- package/dist/assessment/interaction.d.ts +26 -0
- package/dist/assessment/item.d.ts +414 -36
- package/dist/assessment/paper.d.ts +731 -131
- package/dist/assessment/part.d.ts +13 -0
- package/dist/assessment/rows.d.ts +336 -36
- package/dist/assessment/snapshot.d.ts +773 -121
- package/dist/release/snapshot/data.d.ts +26 -0
- package/dist/release/snapshot/verify.d.ts +336 -36
- package/dist/transport/group.d.ts +78 -0
- package/dist/transport/request.d.ts +2195 -343
- package/dist/transport/snapshot.d.ts +52 -0
- package/dist/visual/base/math.d.ts +56 -6
- package/dist/visual/base/media.d.ts +56 -6
- package/dist/visual/biology/bacteria.d.ts +224 -24
- package/dist/visual/biology/binomial.d.ts +139 -0
- package/dist/visual/biology/binomial.js +46 -0
- package/dist/visual/biology/blood.d.ts +56 -6
- package/dist/visual/biology/bone.d.ts +141 -0
- package/dist/visual/biology/bone.js +46 -0
- package/dist/visual/biology/cell.d.ts +168 -18
- package/dist/visual/biology/chromosome.d.ts +139 -0
- package/dist/visual/biology/chromosome.js +42 -0
- package/dist/visual/biology/climate.d.ts +168 -18
- package/dist/visual/biology/control.d.ts +17 -0
- package/dist/visual/biology/control.js +21 -0
- package/dist/visual/biology/denature.d.ts +159 -0
- package/dist/visual/biology/denature.js +74 -0
- package/dist/visual/biology/drawing.d.ts +151 -0
- package/dist/visual/biology/drawing.js +69 -0
- package/dist/visual/biology/ecology.d.ts +224 -24
- package/dist/visual/biology/enzyme.d.ts +145 -0
- package/dist/visual/biology/enzyme.js +54 -0
- package/dist/visual/biology/equipment.d.ts +140 -0
- package/dist/visual/biology/equipment.js +64 -0
- package/dist/visual/biology/gametogenesis.d.ts +145 -0
- package/dist/visual/biology/gametogenesis.js +83 -0
- package/dist/visual/biology/heart.d.ts +56 -6
- package/dist/visual/biology/implantation.d.ts +138 -0
- package/dist/visual/biology/implantation.js +44 -0
- package/dist/visual/biology/joint.d.ts +140 -0
- package/dist/visual/biology/joint.js +47 -0
- package/dist/visual/biology/key.d.ts +141 -0
- package/dist/visual/biology/key.js +58 -0
- package/dist/visual/biology/kingdom.d.ts +142 -0
- package/dist/visual/biology/kingdom.js +82 -0
- package/dist/visual/biology/lactase.d.ts +147 -0
- package/dist/visual/biology/lactase.js +48 -0
- package/dist/visual/biology/limb.d.ts +139 -0
- package/dist/visual/biology/limb.js +44 -0
- package/dist/visual/biology/lipid.d.ts +144 -0
- package/dist/visual/biology/lipid.js +43 -0
- package/dist/visual/biology/locomotion.d.ts +141 -0
- package/dist/visual/biology/locomotion.js +48 -0
- package/dist/visual/biology/menstrual.d.ts +148 -0
- package/dist/visual/biology/menstrual.js +65 -0
- package/dist/visual/biology/metamorphosis.d.ts +140 -0
- package/dist/visual/biology/metamorphosis.js +34 -0
- package/dist/visual/biology/mitochondrion.d.ts +56 -6
- package/dist/visual/biology/muscle.d.ts +56 -6
- package/dist/visual/biology/neuron.d.ts +56 -6
- package/dist/visual/biology/paddy.d.ts +56 -6
- package/dist/visual/biology/physiology.d.ts +168 -18
- package/dist/visual/biology/placenta.d.ts +139 -0
- package/dist/visual/biology/placenta.js +52 -0
- package/dist/visual/biology/planes.d.ts +145 -0
- package/dist/visual/biology/planes.js +62 -0
- package/dist/visual/biology/plant.d.ts +280 -30
- package/dist/visual/biology/protein.d.ts +142 -0
- package/dist/visual/biology/protein.js +41 -0
- package/dist/visual/biology/saturation.d.ts +149 -0
- package/dist/visual/biology/saturation.js +40 -0
- package/dist/visual/biology/secretion.d.ts +149 -0
- package/dist/visual/biology/secretion.js +79 -0
- package/dist/visual/biology/spill.d.ts +165 -0
- package/dist/visual/biology/spill.js +58 -0
- package/dist/visual/biology/sugar.d.ts +152 -0
- package/dist/visual/biology/sugar.js +59 -0
- package/dist/visual/biology/synapse.d.ts +56 -6
- package/dist/visual/biology/taxon.d.ts +138 -0
- package/dist/visual/biology/taxon.js +50 -0
- package/dist/visual/biology/twins.d.ts +144 -0
- package/dist/visual/biology/twins.js +60 -0
- package/dist/visual/biology/vernacular.d.ts +141 -0
- package/dist/visual/biology/vernacular.js +57 -0
- package/dist/visual/biology/vertebra.d.ts +141 -0
- package/dist/visual/biology/vertebra.js +59 -0
- package/dist/visual/biology/vessel.d.ts +56 -6
- package/dist/visual/biology/waste.d.ts +140 -0
- package/dist/visual/biology/waste.js +57 -0
- package/dist/visual/biology/water.d.ts +152 -0
- package/dist/visual/biology/water.js +54 -0
- package/dist/visual/biology/yeast.d.ts +56 -6
- package/dist/visual/card.d.ts +67 -6
- package/dist/visual/card.js +17 -1
- package/dist/visual/catalog.d.ts +21584 -5487
- package/dist/visual/catalog.js +66 -0
- package/dist/visual/chemistry/atom.d.ts +168 -18
- package/dist/visual/chemistry/balance.d.ts +280 -30
- package/dist/visual/chemistry/bonding.d.ts +280 -30
- package/dist/visual/chemistry/discovery.d.ts +392 -42
- package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
- package/dist/visual/chemistry/electron.d.ts +112 -12
- package/dist/visual/chemistry/laws.d.ts +224 -24
- package/dist/visual/chemistry/particles.d.ts +280 -30
- package/dist/visual/chemistry/periodic.d.ts +112 -12
- package/dist/visual/chemistry/rate.d.ts +56 -6
- package/dist/visual/chemistry/reaction.d.ts +168 -18
- package/dist/visual/chemistry/titration.d.ts +56 -6
- package/dist/visual/length.d.ts +56 -6
- package/dist/visual/mathematics/argument.d.ts +226 -0
- package/dist/visual/mathematics/argument.js +150 -0
- package/dist/visual/mathematics/chance.d.ts +168 -18
- package/dist/visual/mathematics/chart.d.ts +56 -6
- package/dist/visual/mathematics/charts.d.ts +280 -30
- package/dist/visual/mathematics/counterexample.d.ts +340 -0
- package/dist/visual/mathematics/counterexample.js +157 -0
- package/dist/visual/mathematics/function.d.ts +168 -18
- package/dist/visual/mathematics/journey.d.ts +56 -6
- package/dist/visual/mathematics/logic.d.ts +56 -6
- package/dist/visual/mathematics/network.d.ts +56 -6
- package/dist/visual/mathematics/numeral.d.ts +168 -18
- package/dist/visual/mathematics/sets.d.ts +56 -6
- package/dist/visual/physics/braking.d.ts +224 -24
- package/dist/visual/physics/circuit.d.ts +224 -24
- package/dist/visual/physics/circular.d.ts +112 -12
- package/dist/visual/physics/dynamics.d.ts +392 -42
- package/dist/visual/physics/efficiency.d.ts +336 -36
- package/dist/visual/physics/electronics.d.ts +168 -18
- package/dist/visual/physics/falling.d.ts +224 -24
- package/dist/visual/physics/field.d.ts +168 -18
- package/dist/visual/physics/fluid.d.ts +224 -24
- package/dist/visual/physics/force.d.ts +280 -30
- package/dist/visual/physics/gravity.d.ts +112 -12
- package/dist/visual/physics/heat.d.ts +168 -18
- package/dist/visual/physics/instrument.d.ts +392 -42
- package/dist/visual/physics/light.d.ts +224 -24
- package/dist/visual/physics/measurement.d.ts +224 -24
- package/dist/visual/physics/motion.d.ts +336 -36
- package/dist/visual/physics/nuclear.d.ts +168 -18
- package/dist/visual/physics/parabolic.d.ts +56 -6
- package/dist/visual/physics/position.d.ts +336 -36
- package/dist/visual/physics/power.d.ts +448 -48
- package/dist/visual/physics/precision.d.ts +392 -42
- package/dist/visual/physics/product.d.ts +224 -24
- package/dist/visual/physics/reading.d.ts +168 -18
- package/dist/visual/physics/record.d.ts +112 -12
- package/dist/visual/physics/relative.d.ts +168 -18
- package/dist/visual/physics/solar.d.ts +336 -36
- package/dist/visual/physics/thermodynamics.d.ts +56 -6
- package/dist/visual/physics/vector.d.ts +280 -30
- package/dist/visual/physics/velocity.d.ts +392 -42
- package/dist/visual/physics/wave.d.ts +224 -24
- package/dist/visual/politics.d.ts +336 -36
- package/package.json +1 -1
|
@@ -8,11 +8,64 @@ export declare function lightVisuals<E>(rich: RichSlot<E>): {
|
|
|
8
8
|
GlassBlockLab: 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 lightVisuals<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 lightVisuals<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 incidence: Schema.Finite;
|
|
@@ -92,11 +142,64 @@ export declare function lightVisuals<E>(rich: RichSlot<E>): {
|
|
|
92
142
|
ApparentDepthLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
93
143
|
readonly description: RichSlot<E>;
|
|
94
144
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
145
|
+
readonly marks?: readonly [{
|
|
146
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
147
|
+
} | {
|
|
148
|
+
readonly attrs: {
|
|
149
|
+
readonly href: string;
|
|
150
|
+
};
|
|
151
|
+
readonly type: "link";
|
|
152
|
+
} | {
|
|
153
|
+
readonly attrs: {
|
|
154
|
+
readonly variant: "success" | "warning" | null;
|
|
155
|
+
};
|
|
156
|
+
readonly type: "highlight";
|
|
157
|
+
}, ...({
|
|
158
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
159
|
+
} | {
|
|
160
|
+
readonly attrs: {
|
|
161
|
+
readonly href: string;
|
|
162
|
+
};
|
|
163
|
+
readonly type: "link";
|
|
164
|
+
} | {
|
|
165
|
+
readonly attrs: {
|
|
166
|
+
readonly variant: "success" | "warning" | null;
|
|
167
|
+
};
|
|
168
|
+
readonly type: "highlight";
|
|
169
|
+
})[]];
|
|
170
|
+
readonly text: string;
|
|
171
|
+
readonly type: "text";
|
|
172
|
+
} | {
|
|
95
173
|
readonly attrs: {
|
|
96
174
|
readonly latex: string;
|
|
97
175
|
};
|
|
176
|
+
readonly marks?: readonly [{
|
|
177
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
178
|
+
} | {
|
|
179
|
+
readonly attrs: {
|
|
180
|
+
readonly href: string;
|
|
181
|
+
};
|
|
182
|
+
readonly type: "link";
|
|
183
|
+
} | {
|
|
184
|
+
readonly attrs: {
|
|
185
|
+
readonly variant: "success" | "warning" | null;
|
|
186
|
+
};
|
|
187
|
+
readonly type: "highlight";
|
|
188
|
+
}, ...({
|
|
189
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
190
|
+
} | {
|
|
191
|
+
readonly attrs: {
|
|
192
|
+
readonly href: string;
|
|
193
|
+
};
|
|
194
|
+
readonly type: "link";
|
|
195
|
+
} | {
|
|
196
|
+
readonly attrs: {
|
|
197
|
+
readonly variant: "success" | "warning" | null;
|
|
198
|
+
};
|
|
199
|
+
readonly type: "highlight";
|
|
200
|
+
})[]];
|
|
98
201
|
readonly type: "mathInline";
|
|
99
|
-
}
|
|
202
|
+
}, ...({
|
|
100
203
|
readonly marks?: readonly [{
|
|
101
204
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
102
205
|
} | {
|
|
@@ -124,12 +227,10 @@ export declare function lightVisuals<E>(rich: RichSlot<E>): {
|
|
|
124
227
|
})[]];
|
|
125
228
|
readonly text: string;
|
|
126
229
|
readonly type: "text";
|
|
127
|
-
}
|
|
230
|
+
} | {
|
|
128
231
|
readonly attrs: {
|
|
129
232
|
readonly latex: string;
|
|
130
233
|
};
|
|
131
|
-
readonly type: "mathInline";
|
|
132
|
-
} | {
|
|
133
234
|
readonly marks?: readonly [{
|
|
134
235
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
135
236
|
} | {
|
|
@@ -155,8 +256,7 @@ export declare function lightVisuals<E>(rich: RichSlot<E>): {
|
|
|
155
256
|
};
|
|
156
257
|
readonly type: "highlight";
|
|
157
258
|
})[]];
|
|
158
|
-
readonly
|
|
159
|
-
readonly type: "text";
|
|
259
|
+
readonly type: "mathInline";
|
|
160
260
|
})[]], E, never, never>>;
|
|
161
261
|
readonly title: RichSlot<E>;
|
|
162
262
|
readonly labels: Schema.Struct<{
|
|
@@ -176,11 +276,64 @@ export declare function lightVisuals<E>(rich: RichSlot<E>): {
|
|
|
176
276
|
ConvexLensLab: 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 lightVisuals<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 lightVisuals<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 focal: Schema.Finite;
|
|
@@ -262,11 +412,64 @@ export declare function lightVisuals<E>(rich: RichSlot<E>): {
|
|
|
262
412
|
TelescopeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
263
413
|
readonly description: RichSlot<E>;
|
|
264
414
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
415
|
+
readonly marks?: readonly [{
|
|
416
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
417
|
+
} | {
|
|
418
|
+
readonly attrs: {
|
|
419
|
+
readonly href: string;
|
|
420
|
+
};
|
|
421
|
+
readonly type: "link";
|
|
422
|
+
} | {
|
|
423
|
+
readonly attrs: {
|
|
424
|
+
readonly variant: "success" | "warning" | null;
|
|
425
|
+
};
|
|
426
|
+
readonly type: "highlight";
|
|
427
|
+
}, ...({
|
|
428
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
429
|
+
} | {
|
|
430
|
+
readonly attrs: {
|
|
431
|
+
readonly href: string;
|
|
432
|
+
};
|
|
433
|
+
readonly type: "link";
|
|
434
|
+
} | {
|
|
435
|
+
readonly attrs: {
|
|
436
|
+
readonly variant: "success" | "warning" | null;
|
|
437
|
+
};
|
|
438
|
+
readonly type: "highlight";
|
|
439
|
+
})[]];
|
|
440
|
+
readonly text: string;
|
|
441
|
+
readonly type: "text";
|
|
442
|
+
} | {
|
|
265
443
|
readonly attrs: {
|
|
266
444
|
readonly latex: string;
|
|
267
445
|
};
|
|
446
|
+
readonly marks?: readonly [{
|
|
447
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
448
|
+
} | {
|
|
449
|
+
readonly attrs: {
|
|
450
|
+
readonly href: string;
|
|
451
|
+
};
|
|
452
|
+
readonly type: "link";
|
|
453
|
+
} | {
|
|
454
|
+
readonly attrs: {
|
|
455
|
+
readonly variant: "success" | "warning" | null;
|
|
456
|
+
};
|
|
457
|
+
readonly type: "highlight";
|
|
458
|
+
}, ...({
|
|
459
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
460
|
+
} | {
|
|
461
|
+
readonly attrs: {
|
|
462
|
+
readonly href: string;
|
|
463
|
+
};
|
|
464
|
+
readonly type: "link";
|
|
465
|
+
} | {
|
|
466
|
+
readonly attrs: {
|
|
467
|
+
readonly variant: "success" | "warning" | null;
|
|
468
|
+
};
|
|
469
|
+
readonly type: "highlight";
|
|
470
|
+
})[]];
|
|
268
471
|
readonly type: "mathInline";
|
|
269
|
-
}
|
|
472
|
+
}, ...({
|
|
270
473
|
readonly marks?: readonly [{
|
|
271
474
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
272
475
|
} | {
|
|
@@ -294,12 +497,10 @@ export declare function lightVisuals<E>(rich: RichSlot<E>): {
|
|
|
294
497
|
})[]];
|
|
295
498
|
readonly text: string;
|
|
296
499
|
readonly type: "text";
|
|
297
|
-
}
|
|
500
|
+
} | {
|
|
298
501
|
readonly attrs: {
|
|
299
502
|
readonly latex: string;
|
|
300
503
|
};
|
|
301
|
-
readonly type: "mathInline";
|
|
302
|
-
} | {
|
|
303
504
|
readonly marks?: readonly [{
|
|
304
505
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
305
506
|
} | {
|
|
@@ -325,8 +526,7 @@ export declare function lightVisuals<E>(rich: RichSlot<E>): {
|
|
|
325
526
|
};
|
|
326
527
|
readonly type: "highlight";
|
|
327
528
|
})[]];
|
|
328
|
-
readonly
|
|
329
|
-
readonly type: "text";
|
|
529
|
+
readonly type: "mathInline";
|
|
330
530
|
})[]], E, never, never>>;
|
|
331
531
|
readonly title: RichSlot<E>;
|
|
332
532
|
readonly eyepiecePower: Schema.Finite;
|