@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
|
@@ -9,11 +9,64 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
|
|
|
9
9
|
DimensionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
10
10
|
readonly description: RichSlot<E>;
|
|
11
11
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
12
|
+
readonly marks?: readonly [{
|
|
13
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
14
|
+
} | {
|
|
15
|
+
readonly attrs: {
|
|
16
|
+
readonly href: string;
|
|
17
|
+
};
|
|
18
|
+
readonly type: "link";
|
|
19
|
+
} | {
|
|
20
|
+
readonly attrs: {
|
|
21
|
+
readonly variant: "success" | "warning" | null;
|
|
22
|
+
};
|
|
23
|
+
readonly type: "highlight";
|
|
24
|
+
}, ...({
|
|
25
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
26
|
+
} | {
|
|
27
|
+
readonly attrs: {
|
|
28
|
+
readonly href: string;
|
|
29
|
+
};
|
|
30
|
+
readonly type: "link";
|
|
31
|
+
} | {
|
|
32
|
+
readonly attrs: {
|
|
33
|
+
readonly variant: "success" | "warning" | null;
|
|
34
|
+
};
|
|
35
|
+
readonly type: "highlight";
|
|
36
|
+
})[]];
|
|
37
|
+
readonly text: string;
|
|
38
|
+
readonly type: "text";
|
|
39
|
+
} | {
|
|
12
40
|
readonly attrs: {
|
|
13
41
|
readonly latex: string;
|
|
14
42
|
};
|
|
43
|
+
readonly marks?: readonly [{
|
|
44
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
45
|
+
} | {
|
|
46
|
+
readonly attrs: {
|
|
47
|
+
readonly href: string;
|
|
48
|
+
};
|
|
49
|
+
readonly type: "link";
|
|
50
|
+
} | {
|
|
51
|
+
readonly attrs: {
|
|
52
|
+
readonly variant: "success" | "warning" | null;
|
|
53
|
+
};
|
|
54
|
+
readonly type: "highlight";
|
|
55
|
+
}, ...({
|
|
56
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
57
|
+
} | {
|
|
58
|
+
readonly attrs: {
|
|
59
|
+
readonly href: string;
|
|
60
|
+
};
|
|
61
|
+
readonly type: "link";
|
|
62
|
+
} | {
|
|
63
|
+
readonly attrs: {
|
|
64
|
+
readonly variant: "success" | "warning" | null;
|
|
65
|
+
};
|
|
66
|
+
readonly type: "highlight";
|
|
67
|
+
})[]];
|
|
15
68
|
readonly type: "mathInline";
|
|
16
|
-
}
|
|
69
|
+
}, ...({
|
|
17
70
|
readonly marks?: readonly [{
|
|
18
71
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
19
72
|
} | {
|
|
@@ -41,12 +94,10 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
|
|
|
41
94
|
})[]];
|
|
42
95
|
readonly text: string;
|
|
43
96
|
readonly type: "text";
|
|
44
|
-
}
|
|
97
|
+
} | {
|
|
45
98
|
readonly attrs: {
|
|
46
99
|
readonly latex: string;
|
|
47
100
|
};
|
|
48
|
-
readonly type: "mathInline";
|
|
49
|
-
} | {
|
|
50
101
|
readonly marks?: readonly [{
|
|
51
102
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
52
103
|
} | {
|
|
@@ -72,8 +123,7 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
|
|
|
72
123
|
};
|
|
73
124
|
readonly type: "highlight";
|
|
74
125
|
})[]];
|
|
75
|
-
readonly
|
|
76
|
-
readonly type: "text";
|
|
126
|
+
readonly type: "mathInline";
|
|
77
127
|
})[]], E, never, never>>;
|
|
78
128
|
readonly title: RichSlot<E>;
|
|
79
129
|
readonly labels: Schema.Struct<{
|
|
@@ -87,11 +137,64 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
|
|
|
87
137
|
MeasurementToolsLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
88
138
|
readonly description: RichSlot<E>;
|
|
89
139
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
140
|
+
readonly marks?: readonly [{
|
|
141
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
142
|
+
} | {
|
|
143
|
+
readonly attrs: {
|
|
144
|
+
readonly href: string;
|
|
145
|
+
};
|
|
146
|
+
readonly type: "link";
|
|
147
|
+
} | {
|
|
148
|
+
readonly attrs: {
|
|
149
|
+
readonly variant: "success" | "warning" | null;
|
|
150
|
+
};
|
|
151
|
+
readonly type: "highlight";
|
|
152
|
+
}, ...({
|
|
153
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
154
|
+
} | {
|
|
155
|
+
readonly attrs: {
|
|
156
|
+
readonly href: string;
|
|
157
|
+
};
|
|
158
|
+
readonly type: "link";
|
|
159
|
+
} | {
|
|
160
|
+
readonly attrs: {
|
|
161
|
+
readonly variant: "success" | "warning" | null;
|
|
162
|
+
};
|
|
163
|
+
readonly type: "highlight";
|
|
164
|
+
})[]];
|
|
165
|
+
readonly text: string;
|
|
166
|
+
readonly type: "text";
|
|
167
|
+
} | {
|
|
90
168
|
readonly attrs: {
|
|
91
169
|
readonly latex: string;
|
|
92
170
|
};
|
|
171
|
+
readonly marks?: readonly [{
|
|
172
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
173
|
+
} | {
|
|
174
|
+
readonly attrs: {
|
|
175
|
+
readonly href: string;
|
|
176
|
+
};
|
|
177
|
+
readonly type: "link";
|
|
178
|
+
} | {
|
|
179
|
+
readonly attrs: {
|
|
180
|
+
readonly variant: "success" | "warning" | null;
|
|
181
|
+
};
|
|
182
|
+
readonly type: "highlight";
|
|
183
|
+
}, ...({
|
|
184
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
185
|
+
} | {
|
|
186
|
+
readonly attrs: {
|
|
187
|
+
readonly href: string;
|
|
188
|
+
};
|
|
189
|
+
readonly type: "link";
|
|
190
|
+
} | {
|
|
191
|
+
readonly attrs: {
|
|
192
|
+
readonly variant: "success" | "warning" | null;
|
|
193
|
+
};
|
|
194
|
+
readonly type: "highlight";
|
|
195
|
+
})[]];
|
|
93
196
|
readonly type: "mathInline";
|
|
94
|
-
}
|
|
197
|
+
}, ...({
|
|
95
198
|
readonly marks?: readonly [{
|
|
96
199
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
97
200
|
} | {
|
|
@@ -119,12 +222,10 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
|
|
|
119
222
|
})[]];
|
|
120
223
|
readonly text: string;
|
|
121
224
|
readonly type: "text";
|
|
122
|
-
}
|
|
225
|
+
} | {
|
|
123
226
|
readonly attrs: {
|
|
124
227
|
readonly latex: string;
|
|
125
228
|
};
|
|
126
|
-
readonly type: "mathInline";
|
|
127
|
-
} | {
|
|
128
229
|
readonly marks?: readonly [{
|
|
129
230
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
130
231
|
} | {
|
|
@@ -150,8 +251,7 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
|
|
|
150
251
|
};
|
|
151
252
|
readonly type: "highlight";
|
|
152
253
|
})[]];
|
|
153
|
-
readonly
|
|
154
|
-
readonly type: "text";
|
|
254
|
+
readonly type: "mathInline";
|
|
155
255
|
})[]], E, never, never>>;
|
|
156
256
|
readonly title: RichSlot<E>;
|
|
157
257
|
readonly labels: Schema.Struct<{
|
|
@@ -171,11 +271,64 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
|
|
|
171
271
|
VectorConceptLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
172
272
|
readonly description: RichSlot<E>;
|
|
173
273
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
274
|
+
readonly marks?: readonly [{
|
|
275
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
276
|
+
} | {
|
|
277
|
+
readonly attrs: {
|
|
278
|
+
readonly href: string;
|
|
279
|
+
};
|
|
280
|
+
readonly type: "link";
|
|
281
|
+
} | {
|
|
282
|
+
readonly attrs: {
|
|
283
|
+
readonly variant: "success" | "warning" | null;
|
|
284
|
+
};
|
|
285
|
+
readonly type: "highlight";
|
|
286
|
+
}, ...({
|
|
287
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
288
|
+
} | {
|
|
289
|
+
readonly attrs: {
|
|
290
|
+
readonly href: string;
|
|
291
|
+
};
|
|
292
|
+
readonly type: "link";
|
|
293
|
+
} | {
|
|
294
|
+
readonly attrs: {
|
|
295
|
+
readonly variant: "success" | "warning" | null;
|
|
296
|
+
};
|
|
297
|
+
readonly type: "highlight";
|
|
298
|
+
})[]];
|
|
299
|
+
readonly text: string;
|
|
300
|
+
readonly type: "text";
|
|
301
|
+
} | {
|
|
174
302
|
readonly attrs: {
|
|
175
303
|
readonly latex: string;
|
|
176
304
|
};
|
|
305
|
+
readonly marks?: readonly [{
|
|
306
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
307
|
+
} | {
|
|
308
|
+
readonly attrs: {
|
|
309
|
+
readonly href: string;
|
|
310
|
+
};
|
|
311
|
+
readonly type: "link";
|
|
312
|
+
} | {
|
|
313
|
+
readonly attrs: {
|
|
314
|
+
readonly variant: "success" | "warning" | null;
|
|
315
|
+
};
|
|
316
|
+
readonly type: "highlight";
|
|
317
|
+
}, ...({
|
|
318
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
319
|
+
} | {
|
|
320
|
+
readonly attrs: {
|
|
321
|
+
readonly href: string;
|
|
322
|
+
};
|
|
323
|
+
readonly type: "link";
|
|
324
|
+
} | {
|
|
325
|
+
readonly attrs: {
|
|
326
|
+
readonly variant: "success" | "warning" | null;
|
|
327
|
+
};
|
|
328
|
+
readonly type: "highlight";
|
|
329
|
+
})[]];
|
|
177
330
|
readonly type: "mathInline";
|
|
178
|
-
}
|
|
331
|
+
}, ...({
|
|
179
332
|
readonly marks?: readonly [{
|
|
180
333
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
181
334
|
} | {
|
|
@@ -203,12 +356,10 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
|
|
|
203
356
|
})[]];
|
|
204
357
|
readonly text: string;
|
|
205
358
|
readonly type: "text";
|
|
206
|
-
}
|
|
359
|
+
} | {
|
|
207
360
|
readonly attrs: {
|
|
208
361
|
readonly latex: string;
|
|
209
362
|
};
|
|
210
|
-
readonly type: "mathInline";
|
|
211
|
-
} | {
|
|
212
363
|
readonly marks?: readonly [{
|
|
213
364
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
214
365
|
} | {
|
|
@@ -234,8 +385,7 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
|
|
|
234
385
|
};
|
|
235
386
|
readonly type: "highlight";
|
|
236
387
|
})[]];
|
|
237
|
-
readonly
|
|
238
|
-
readonly type: "text";
|
|
388
|
+
readonly type: "mathInline";
|
|
239
389
|
})[]], E, never, never>>;
|
|
240
390
|
readonly title: RichSlot<E>;
|
|
241
391
|
readonly labels: Schema.Struct<{
|
|
@@ -254,11 +404,64 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
|
|
|
254
404
|
WindEnergyConversionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
255
405
|
readonly description: RichSlot<E>;
|
|
256
406
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
407
|
+
readonly marks?: readonly [{
|
|
408
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
409
|
+
} | {
|
|
410
|
+
readonly attrs: {
|
|
411
|
+
readonly href: string;
|
|
412
|
+
};
|
|
413
|
+
readonly type: "link";
|
|
414
|
+
} | {
|
|
415
|
+
readonly attrs: {
|
|
416
|
+
readonly variant: "success" | "warning" | null;
|
|
417
|
+
};
|
|
418
|
+
readonly type: "highlight";
|
|
419
|
+
}, ...({
|
|
420
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
421
|
+
} | {
|
|
422
|
+
readonly attrs: {
|
|
423
|
+
readonly href: string;
|
|
424
|
+
};
|
|
425
|
+
readonly type: "link";
|
|
426
|
+
} | {
|
|
427
|
+
readonly attrs: {
|
|
428
|
+
readonly variant: "success" | "warning" | null;
|
|
429
|
+
};
|
|
430
|
+
readonly type: "highlight";
|
|
431
|
+
})[]];
|
|
432
|
+
readonly text: string;
|
|
433
|
+
readonly type: "text";
|
|
434
|
+
} | {
|
|
257
435
|
readonly attrs: {
|
|
258
436
|
readonly latex: string;
|
|
259
437
|
};
|
|
438
|
+
readonly marks?: readonly [{
|
|
439
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
440
|
+
} | {
|
|
441
|
+
readonly attrs: {
|
|
442
|
+
readonly href: string;
|
|
443
|
+
};
|
|
444
|
+
readonly type: "link";
|
|
445
|
+
} | {
|
|
446
|
+
readonly attrs: {
|
|
447
|
+
readonly variant: "success" | "warning" | null;
|
|
448
|
+
};
|
|
449
|
+
readonly type: "highlight";
|
|
450
|
+
}, ...({
|
|
451
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
452
|
+
} | {
|
|
453
|
+
readonly attrs: {
|
|
454
|
+
readonly href: string;
|
|
455
|
+
};
|
|
456
|
+
readonly type: "link";
|
|
457
|
+
} | {
|
|
458
|
+
readonly attrs: {
|
|
459
|
+
readonly variant: "success" | "warning" | null;
|
|
460
|
+
};
|
|
461
|
+
readonly type: "highlight";
|
|
462
|
+
})[]];
|
|
260
463
|
readonly type: "mathInline";
|
|
261
|
-
}
|
|
464
|
+
}, ...({
|
|
262
465
|
readonly marks?: readonly [{
|
|
263
466
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
264
467
|
} | {
|
|
@@ -286,12 +489,10 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
|
|
|
286
489
|
})[]];
|
|
287
490
|
readonly text: string;
|
|
288
491
|
readonly type: "text";
|
|
289
|
-
}
|
|
492
|
+
} | {
|
|
290
493
|
readonly attrs: {
|
|
291
494
|
readonly latex: string;
|
|
292
495
|
};
|
|
293
|
-
readonly type: "mathInline";
|
|
294
|
-
} | {
|
|
295
496
|
readonly marks?: readonly [{
|
|
296
497
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
297
498
|
} | {
|
|
@@ -317,8 +518,7 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
|
|
|
317
518
|
};
|
|
318
519
|
readonly type: "highlight";
|
|
319
520
|
})[]];
|
|
320
|
-
readonly
|
|
321
|
-
readonly type: "text";
|
|
521
|
+
readonly type: "mathInline";
|
|
322
522
|
})[]], E, never, never>>;
|
|
323
523
|
readonly title: RichSlot<E>;
|
|
324
524
|
readonly labels: Schema.Struct<{
|