@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 lawVisuals<E>(rich: RichSlot<E>): {
|
|
|
8
8
|
CombiningVolumesLab: 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 lawVisuals<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 lawVisuals<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<{
|
|
@@ -95,11 +145,64 @@ export declare function lawVisuals<E>(rich: RichSlot<E>): {
|
|
|
95
145
|
ConstantCompositionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
96
146
|
readonly description: RichSlot<E>;
|
|
97
147
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
148
|
+
readonly marks?: readonly [{
|
|
149
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
150
|
+
} | {
|
|
151
|
+
readonly attrs: {
|
|
152
|
+
readonly href: string;
|
|
153
|
+
};
|
|
154
|
+
readonly type: "link";
|
|
155
|
+
} | {
|
|
156
|
+
readonly attrs: {
|
|
157
|
+
readonly variant: "success" | "warning" | null;
|
|
158
|
+
};
|
|
159
|
+
readonly type: "highlight";
|
|
160
|
+
}, ...({
|
|
161
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
162
|
+
} | {
|
|
163
|
+
readonly attrs: {
|
|
164
|
+
readonly href: string;
|
|
165
|
+
};
|
|
166
|
+
readonly type: "link";
|
|
167
|
+
} | {
|
|
168
|
+
readonly attrs: {
|
|
169
|
+
readonly variant: "success" | "warning" | null;
|
|
170
|
+
};
|
|
171
|
+
readonly type: "highlight";
|
|
172
|
+
})[]];
|
|
173
|
+
readonly text: string;
|
|
174
|
+
readonly type: "text";
|
|
175
|
+
} | {
|
|
98
176
|
readonly attrs: {
|
|
99
177
|
readonly latex: string;
|
|
100
178
|
};
|
|
179
|
+
readonly marks?: readonly [{
|
|
180
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
181
|
+
} | {
|
|
182
|
+
readonly attrs: {
|
|
183
|
+
readonly href: string;
|
|
184
|
+
};
|
|
185
|
+
readonly type: "link";
|
|
186
|
+
} | {
|
|
187
|
+
readonly attrs: {
|
|
188
|
+
readonly variant: "success" | "warning" | null;
|
|
189
|
+
};
|
|
190
|
+
readonly type: "highlight";
|
|
191
|
+
}, ...({
|
|
192
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
193
|
+
} | {
|
|
194
|
+
readonly attrs: {
|
|
195
|
+
readonly href: string;
|
|
196
|
+
};
|
|
197
|
+
readonly type: "link";
|
|
198
|
+
} | {
|
|
199
|
+
readonly attrs: {
|
|
200
|
+
readonly variant: "success" | "warning" | null;
|
|
201
|
+
};
|
|
202
|
+
readonly type: "highlight";
|
|
203
|
+
})[]];
|
|
101
204
|
readonly type: "mathInline";
|
|
102
|
-
}
|
|
205
|
+
}, ...({
|
|
103
206
|
readonly marks?: readonly [{
|
|
104
207
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
105
208
|
} | {
|
|
@@ -127,12 +230,10 @@ export declare function lawVisuals<E>(rich: RichSlot<E>): {
|
|
|
127
230
|
})[]];
|
|
128
231
|
readonly text: string;
|
|
129
232
|
readonly type: "text";
|
|
130
|
-
}
|
|
233
|
+
} | {
|
|
131
234
|
readonly attrs: {
|
|
132
235
|
readonly latex: string;
|
|
133
236
|
};
|
|
134
|
-
readonly type: "mathInline";
|
|
135
|
-
} | {
|
|
136
237
|
readonly marks?: readonly [{
|
|
137
238
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
138
239
|
} | {
|
|
@@ -158,8 +259,7 @@ export declare function lawVisuals<E>(rich: RichSlot<E>): {
|
|
|
158
259
|
};
|
|
159
260
|
readonly type: "highlight";
|
|
160
261
|
})[]];
|
|
161
|
-
readonly
|
|
162
|
-
readonly type: "text";
|
|
262
|
+
readonly type: "mathInline";
|
|
163
263
|
})[]], E, never, never>>;
|
|
164
264
|
readonly title: RichSlot<E>;
|
|
165
265
|
readonly labels: Schema.Struct<{
|
|
@@ -183,11 +283,64 @@ export declare function lawVisuals<E>(rich: RichSlot<E>): {
|
|
|
183
283
|
MassConservationLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
184
284
|
readonly description: RichSlot<E>;
|
|
185
285
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
286
|
+
readonly marks?: readonly [{
|
|
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 type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
300
|
+
} | {
|
|
301
|
+
readonly attrs: {
|
|
302
|
+
readonly href: string;
|
|
303
|
+
};
|
|
304
|
+
readonly type: "link";
|
|
305
|
+
} | {
|
|
306
|
+
readonly attrs: {
|
|
307
|
+
readonly variant: "success" | "warning" | null;
|
|
308
|
+
};
|
|
309
|
+
readonly type: "highlight";
|
|
310
|
+
})[]];
|
|
311
|
+
readonly text: string;
|
|
312
|
+
readonly type: "text";
|
|
313
|
+
} | {
|
|
186
314
|
readonly attrs: {
|
|
187
315
|
readonly latex: string;
|
|
188
316
|
};
|
|
317
|
+
readonly marks?: readonly [{
|
|
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
|
+
}, ...({
|
|
330
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
331
|
+
} | {
|
|
332
|
+
readonly attrs: {
|
|
333
|
+
readonly href: string;
|
|
334
|
+
};
|
|
335
|
+
readonly type: "link";
|
|
336
|
+
} | {
|
|
337
|
+
readonly attrs: {
|
|
338
|
+
readonly variant: "success" | "warning" | null;
|
|
339
|
+
};
|
|
340
|
+
readonly type: "highlight";
|
|
341
|
+
})[]];
|
|
189
342
|
readonly type: "mathInline";
|
|
190
|
-
}
|
|
343
|
+
}, ...({
|
|
191
344
|
readonly marks?: readonly [{
|
|
192
345
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
193
346
|
} | {
|
|
@@ -215,12 +368,10 @@ export declare function lawVisuals<E>(rich: RichSlot<E>): {
|
|
|
215
368
|
})[]];
|
|
216
369
|
readonly text: string;
|
|
217
370
|
readonly type: "text";
|
|
218
|
-
}
|
|
371
|
+
} | {
|
|
219
372
|
readonly attrs: {
|
|
220
373
|
readonly latex: string;
|
|
221
374
|
};
|
|
222
|
-
readonly type: "mathInline";
|
|
223
|
-
} | {
|
|
224
375
|
readonly marks?: readonly [{
|
|
225
376
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
226
377
|
} | {
|
|
@@ -246,8 +397,7 @@ export declare function lawVisuals<E>(rich: RichSlot<E>): {
|
|
|
246
397
|
};
|
|
247
398
|
readonly type: "highlight";
|
|
248
399
|
})[]];
|
|
249
|
-
readonly
|
|
250
|
-
readonly type: "text";
|
|
400
|
+
readonly type: "mathInline";
|
|
251
401
|
})[]], E, never, never>>;
|
|
252
402
|
readonly title: RichSlot<E>;
|
|
253
403
|
readonly labels: Schema.Struct<{
|
|
@@ -270,11 +420,64 @@ export declare function lawVisuals<E>(rich: RichSlot<E>): {
|
|
|
270
420
|
MultipleProportionsLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
271
421
|
readonly description: RichSlot<E>;
|
|
272
422
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
423
|
+
readonly marks?: readonly [{
|
|
424
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
425
|
+
} | {
|
|
426
|
+
readonly attrs: {
|
|
427
|
+
readonly href: string;
|
|
428
|
+
};
|
|
429
|
+
readonly type: "link";
|
|
430
|
+
} | {
|
|
431
|
+
readonly attrs: {
|
|
432
|
+
readonly variant: "success" | "warning" | null;
|
|
433
|
+
};
|
|
434
|
+
readonly type: "highlight";
|
|
435
|
+
}, ...({
|
|
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 text: string;
|
|
449
|
+
readonly type: "text";
|
|
450
|
+
} | {
|
|
273
451
|
readonly attrs: {
|
|
274
452
|
readonly latex: string;
|
|
275
453
|
};
|
|
454
|
+
readonly marks?: readonly [{
|
|
455
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
456
|
+
} | {
|
|
457
|
+
readonly attrs: {
|
|
458
|
+
readonly href: string;
|
|
459
|
+
};
|
|
460
|
+
readonly type: "link";
|
|
461
|
+
} | {
|
|
462
|
+
readonly attrs: {
|
|
463
|
+
readonly variant: "success" | "warning" | null;
|
|
464
|
+
};
|
|
465
|
+
readonly type: "highlight";
|
|
466
|
+
}, ...({
|
|
467
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
468
|
+
} | {
|
|
469
|
+
readonly attrs: {
|
|
470
|
+
readonly href: string;
|
|
471
|
+
};
|
|
472
|
+
readonly type: "link";
|
|
473
|
+
} | {
|
|
474
|
+
readonly attrs: {
|
|
475
|
+
readonly variant: "success" | "warning" | null;
|
|
476
|
+
};
|
|
477
|
+
readonly type: "highlight";
|
|
478
|
+
})[]];
|
|
276
479
|
readonly type: "mathInline";
|
|
277
|
-
}
|
|
480
|
+
}, ...({
|
|
278
481
|
readonly marks?: readonly [{
|
|
279
482
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
280
483
|
} | {
|
|
@@ -302,12 +505,10 @@ export declare function lawVisuals<E>(rich: RichSlot<E>): {
|
|
|
302
505
|
})[]];
|
|
303
506
|
readonly text: string;
|
|
304
507
|
readonly type: "text";
|
|
305
|
-
}
|
|
508
|
+
} | {
|
|
306
509
|
readonly attrs: {
|
|
307
510
|
readonly latex: string;
|
|
308
511
|
};
|
|
309
|
-
readonly type: "mathInline";
|
|
310
|
-
} | {
|
|
311
512
|
readonly marks?: readonly [{
|
|
312
513
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
313
514
|
} | {
|
|
@@ -333,8 +534,7 @@ export declare function lawVisuals<E>(rich: RichSlot<E>): {
|
|
|
333
534
|
};
|
|
334
535
|
readonly type: "highlight";
|
|
335
536
|
})[]];
|
|
336
|
-
readonly
|
|
337
|
-
readonly type: "text";
|
|
537
|
+
readonly type: "mathInline";
|
|
338
538
|
})[]], E, never, never>>;
|
|
339
539
|
readonly title: RichSlot<E>;
|
|
340
540
|
readonly labels: Schema.Struct<{
|