@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 politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
8
8
|
KimPlusElectabilityChart: 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 politicsVisuals<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 politicsVisuals<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 footnote: RichSlot<E>;
|
|
@@ -84,11 +134,64 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
84
134
|
MerahPutihCabinetChart: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
85
135
|
readonly description: RichSlot<E>;
|
|
86
136
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
137
|
+
readonly marks?: readonly [{
|
|
138
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
139
|
+
} | {
|
|
140
|
+
readonly attrs: {
|
|
141
|
+
readonly href: string;
|
|
142
|
+
};
|
|
143
|
+
readonly type: "link";
|
|
144
|
+
} | {
|
|
145
|
+
readonly attrs: {
|
|
146
|
+
readonly variant: "success" | "warning" | null;
|
|
147
|
+
};
|
|
148
|
+
readonly type: "highlight";
|
|
149
|
+
}, ...({
|
|
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 text: string;
|
|
163
|
+
readonly type: "text";
|
|
164
|
+
} | {
|
|
87
165
|
readonly attrs: {
|
|
88
166
|
readonly latex: string;
|
|
89
167
|
};
|
|
168
|
+
readonly marks?: readonly [{
|
|
169
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
170
|
+
} | {
|
|
171
|
+
readonly attrs: {
|
|
172
|
+
readonly href: string;
|
|
173
|
+
};
|
|
174
|
+
readonly type: "link";
|
|
175
|
+
} | {
|
|
176
|
+
readonly attrs: {
|
|
177
|
+
readonly variant: "success" | "warning" | null;
|
|
178
|
+
};
|
|
179
|
+
readonly type: "highlight";
|
|
180
|
+
}, ...({
|
|
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
|
+
})[]];
|
|
90
193
|
readonly type: "mathInline";
|
|
91
|
-
}
|
|
194
|
+
}, ...({
|
|
92
195
|
readonly marks?: readonly [{
|
|
93
196
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
94
197
|
} | {
|
|
@@ -116,12 +219,10 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
116
219
|
})[]];
|
|
117
220
|
readonly text: string;
|
|
118
221
|
readonly type: "text";
|
|
119
|
-
}
|
|
222
|
+
} | {
|
|
120
223
|
readonly attrs: {
|
|
121
224
|
readonly latex: string;
|
|
122
225
|
};
|
|
123
|
-
readonly type: "mathInline";
|
|
124
|
-
} | {
|
|
125
226
|
readonly marks?: readonly [{
|
|
126
227
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
127
228
|
} | {
|
|
@@ -147,8 +248,7 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
147
248
|
};
|
|
148
249
|
readonly type: "highlight";
|
|
149
250
|
})[]];
|
|
150
|
-
readonly
|
|
151
|
-
readonly type: "text";
|
|
251
|
+
readonly type: "mathInline";
|
|
152
252
|
})[]], E, never, never>>;
|
|
153
253
|
readonly title: RichSlot<E>;
|
|
154
254
|
readonly footnote: RichSlot<E>;
|
|
@@ -159,11 +259,64 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
159
259
|
MerahPutihCompositionChart: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
160
260
|
readonly description: RichSlot<E>;
|
|
161
261
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
262
|
+
readonly marks?: readonly [{
|
|
263
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
264
|
+
} | {
|
|
265
|
+
readonly attrs: {
|
|
266
|
+
readonly href: string;
|
|
267
|
+
};
|
|
268
|
+
readonly type: "link";
|
|
269
|
+
} | {
|
|
270
|
+
readonly attrs: {
|
|
271
|
+
readonly variant: "success" | "warning" | null;
|
|
272
|
+
};
|
|
273
|
+
readonly type: "highlight";
|
|
274
|
+
}, ...({
|
|
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 text: string;
|
|
288
|
+
readonly type: "text";
|
|
289
|
+
} | {
|
|
162
290
|
readonly attrs: {
|
|
163
291
|
readonly latex: string;
|
|
164
292
|
};
|
|
293
|
+
readonly marks?: readonly [{
|
|
294
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
295
|
+
} | {
|
|
296
|
+
readonly attrs: {
|
|
297
|
+
readonly href: string;
|
|
298
|
+
};
|
|
299
|
+
readonly type: "link";
|
|
300
|
+
} | {
|
|
301
|
+
readonly attrs: {
|
|
302
|
+
readonly variant: "success" | "warning" | null;
|
|
303
|
+
};
|
|
304
|
+
readonly type: "highlight";
|
|
305
|
+
}, ...({
|
|
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
|
+
})[]];
|
|
165
318
|
readonly type: "mathInline";
|
|
166
|
-
}
|
|
319
|
+
}, ...({
|
|
167
320
|
readonly marks?: readonly [{
|
|
168
321
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
169
322
|
} | {
|
|
@@ -191,12 +344,10 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
191
344
|
})[]];
|
|
192
345
|
readonly text: string;
|
|
193
346
|
readonly type: "text";
|
|
194
|
-
}
|
|
347
|
+
} | {
|
|
195
348
|
readonly attrs: {
|
|
196
349
|
readonly latex: string;
|
|
197
350
|
};
|
|
198
|
-
readonly type: "mathInline";
|
|
199
|
-
} | {
|
|
200
351
|
readonly marks?: readonly [{
|
|
201
352
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
202
353
|
} | {
|
|
@@ -222,8 +373,7 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
222
373
|
};
|
|
223
374
|
readonly type: "highlight";
|
|
224
375
|
})[]];
|
|
225
|
-
readonly
|
|
226
|
-
readonly type: "text";
|
|
376
|
+
readonly type: "mathInline";
|
|
227
377
|
})[]], E, never, never>>;
|
|
228
378
|
readonly title: RichSlot<E>;
|
|
229
379
|
readonly footnote: RichSlot<E>;
|
|
@@ -264,11 +414,64 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
264
414
|
PorkBarrelBudgetChart: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
265
415
|
readonly description: RichSlot<E>;
|
|
266
416
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
417
|
+
readonly marks?: readonly [{
|
|
418
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
419
|
+
} | {
|
|
420
|
+
readonly attrs: {
|
|
421
|
+
readonly href: string;
|
|
422
|
+
};
|
|
423
|
+
readonly type: "link";
|
|
424
|
+
} | {
|
|
425
|
+
readonly attrs: {
|
|
426
|
+
readonly variant: "success" | "warning" | null;
|
|
427
|
+
};
|
|
428
|
+
readonly type: "highlight";
|
|
429
|
+
}, ...({
|
|
430
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
431
|
+
} | {
|
|
432
|
+
readonly attrs: {
|
|
433
|
+
readonly href: string;
|
|
434
|
+
};
|
|
435
|
+
readonly type: "link";
|
|
436
|
+
} | {
|
|
437
|
+
readonly attrs: {
|
|
438
|
+
readonly variant: "success" | "warning" | null;
|
|
439
|
+
};
|
|
440
|
+
readonly type: "highlight";
|
|
441
|
+
})[]];
|
|
442
|
+
readonly text: string;
|
|
443
|
+
readonly type: "text";
|
|
444
|
+
} | {
|
|
267
445
|
readonly attrs: {
|
|
268
446
|
readonly latex: string;
|
|
269
447
|
};
|
|
448
|
+
readonly marks?: readonly [{
|
|
449
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
450
|
+
} | {
|
|
451
|
+
readonly attrs: {
|
|
452
|
+
readonly href: string;
|
|
453
|
+
};
|
|
454
|
+
readonly type: "link";
|
|
455
|
+
} | {
|
|
456
|
+
readonly attrs: {
|
|
457
|
+
readonly variant: "success" | "warning" | null;
|
|
458
|
+
};
|
|
459
|
+
readonly type: "highlight";
|
|
460
|
+
}, ...({
|
|
461
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
462
|
+
} | {
|
|
463
|
+
readonly attrs: {
|
|
464
|
+
readonly href: string;
|
|
465
|
+
};
|
|
466
|
+
readonly type: "link";
|
|
467
|
+
} | {
|
|
468
|
+
readonly attrs: {
|
|
469
|
+
readonly variant: "success" | "warning" | null;
|
|
470
|
+
};
|
|
471
|
+
readonly type: "highlight";
|
|
472
|
+
})[]];
|
|
270
473
|
readonly type: "mathInline";
|
|
271
|
-
}
|
|
474
|
+
}, ...({
|
|
272
475
|
readonly marks?: readonly [{
|
|
273
476
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
274
477
|
} | {
|
|
@@ -296,12 +499,10 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
296
499
|
})[]];
|
|
297
500
|
readonly text: string;
|
|
298
501
|
readonly type: "text";
|
|
299
|
-
}
|
|
502
|
+
} | {
|
|
300
503
|
readonly attrs: {
|
|
301
504
|
readonly latex: string;
|
|
302
505
|
};
|
|
303
|
-
readonly type: "mathInline";
|
|
304
|
-
} | {
|
|
305
506
|
readonly marks?: readonly [{
|
|
306
507
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
307
508
|
} | {
|
|
@@ -327,8 +528,7 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
327
528
|
};
|
|
328
529
|
readonly type: "highlight";
|
|
329
530
|
})[]];
|
|
330
|
-
readonly
|
|
331
|
-
readonly type: "text";
|
|
531
|
+
readonly type: "mathInline";
|
|
332
532
|
})[]], E, never, never>>;
|
|
333
533
|
readonly title: RichSlot<E>;
|
|
334
534
|
readonly footnote: RichSlot<E>;
|
|
@@ -340,11 +540,64 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
340
540
|
PorkBarrelElectabilityChart: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
341
541
|
readonly description: RichSlot<E>;
|
|
342
542
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
543
|
+
readonly marks?: readonly [{
|
|
544
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
545
|
+
} | {
|
|
546
|
+
readonly attrs: {
|
|
547
|
+
readonly href: string;
|
|
548
|
+
};
|
|
549
|
+
readonly type: "link";
|
|
550
|
+
} | {
|
|
551
|
+
readonly attrs: {
|
|
552
|
+
readonly variant: "success" | "warning" | null;
|
|
553
|
+
};
|
|
554
|
+
readonly type: "highlight";
|
|
555
|
+
}, ...({
|
|
556
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
557
|
+
} | {
|
|
558
|
+
readonly attrs: {
|
|
559
|
+
readonly href: string;
|
|
560
|
+
};
|
|
561
|
+
readonly type: "link";
|
|
562
|
+
} | {
|
|
563
|
+
readonly attrs: {
|
|
564
|
+
readonly variant: "success" | "warning" | null;
|
|
565
|
+
};
|
|
566
|
+
readonly type: "highlight";
|
|
567
|
+
})[]];
|
|
568
|
+
readonly text: string;
|
|
569
|
+
readonly type: "text";
|
|
570
|
+
} | {
|
|
343
571
|
readonly attrs: {
|
|
344
572
|
readonly latex: string;
|
|
345
573
|
};
|
|
574
|
+
readonly marks?: readonly [{
|
|
575
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
576
|
+
} | {
|
|
577
|
+
readonly attrs: {
|
|
578
|
+
readonly href: string;
|
|
579
|
+
};
|
|
580
|
+
readonly type: "link";
|
|
581
|
+
} | {
|
|
582
|
+
readonly attrs: {
|
|
583
|
+
readonly variant: "success" | "warning" | null;
|
|
584
|
+
};
|
|
585
|
+
readonly type: "highlight";
|
|
586
|
+
}, ...({
|
|
587
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
588
|
+
} | {
|
|
589
|
+
readonly attrs: {
|
|
590
|
+
readonly href: string;
|
|
591
|
+
};
|
|
592
|
+
readonly type: "link";
|
|
593
|
+
} | {
|
|
594
|
+
readonly attrs: {
|
|
595
|
+
readonly variant: "success" | "warning" | null;
|
|
596
|
+
};
|
|
597
|
+
readonly type: "highlight";
|
|
598
|
+
})[]];
|
|
346
599
|
readonly type: "mathInline";
|
|
347
|
-
}
|
|
600
|
+
}, ...({
|
|
348
601
|
readonly marks?: readonly [{
|
|
349
602
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
350
603
|
} | {
|
|
@@ -372,12 +625,10 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
372
625
|
})[]];
|
|
373
626
|
readonly text: string;
|
|
374
627
|
readonly type: "text";
|
|
375
|
-
}
|
|
628
|
+
} | {
|
|
376
629
|
readonly attrs: {
|
|
377
630
|
readonly latex: string;
|
|
378
631
|
};
|
|
379
|
-
readonly type: "mathInline";
|
|
380
|
-
} | {
|
|
381
632
|
readonly marks?: readonly [{
|
|
382
633
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
383
634
|
} | {
|
|
@@ -403,8 +654,7 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
403
654
|
};
|
|
404
655
|
readonly type: "highlight";
|
|
405
656
|
})[]];
|
|
406
|
-
readonly
|
|
407
|
-
readonly type: "text";
|
|
657
|
+
readonly type: "mathInline";
|
|
408
658
|
})[]], E, never, never>>;
|
|
409
659
|
readonly title: RichSlot<E>;
|
|
410
660
|
readonly footnote: RichSlot<E>;
|
|
@@ -418,11 +668,64 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
418
668
|
PorkBarrelFundChart: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
419
669
|
readonly description: RichSlot<E>;
|
|
420
670
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
671
|
+
readonly marks?: readonly [{
|
|
672
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
673
|
+
} | {
|
|
674
|
+
readonly attrs: {
|
|
675
|
+
readonly href: string;
|
|
676
|
+
};
|
|
677
|
+
readonly type: "link";
|
|
678
|
+
} | {
|
|
679
|
+
readonly attrs: {
|
|
680
|
+
readonly variant: "success" | "warning" | null;
|
|
681
|
+
};
|
|
682
|
+
readonly type: "highlight";
|
|
683
|
+
}, ...({
|
|
684
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
685
|
+
} | {
|
|
686
|
+
readonly attrs: {
|
|
687
|
+
readonly href: string;
|
|
688
|
+
};
|
|
689
|
+
readonly type: "link";
|
|
690
|
+
} | {
|
|
691
|
+
readonly attrs: {
|
|
692
|
+
readonly variant: "success" | "warning" | null;
|
|
693
|
+
};
|
|
694
|
+
readonly type: "highlight";
|
|
695
|
+
})[]];
|
|
696
|
+
readonly text: string;
|
|
697
|
+
readonly type: "text";
|
|
698
|
+
} | {
|
|
421
699
|
readonly attrs: {
|
|
422
700
|
readonly latex: string;
|
|
423
701
|
};
|
|
702
|
+
readonly marks?: readonly [{
|
|
703
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
704
|
+
} | {
|
|
705
|
+
readonly attrs: {
|
|
706
|
+
readonly href: string;
|
|
707
|
+
};
|
|
708
|
+
readonly type: "link";
|
|
709
|
+
} | {
|
|
710
|
+
readonly attrs: {
|
|
711
|
+
readonly variant: "success" | "warning" | null;
|
|
712
|
+
};
|
|
713
|
+
readonly type: "highlight";
|
|
714
|
+
}, ...({
|
|
715
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
716
|
+
} | {
|
|
717
|
+
readonly attrs: {
|
|
718
|
+
readonly href: string;
|
|
719
|
+
};
|
|
720
|
+
readonly type: "link";
|
|
721
|
+
} | {
|
|
722
|
+
readonly attrs: {
|
|
723
|
+
readonly variant: "success" | "warning" | null;
|
|
724
|
+
};
|
|
725
|
+
readonly type: "highlight";
|
|
726
|
+
})[]];
|
|
424
727
|
readonly type: "mathInline";
|
|
425
|
-
}
|
|
728
|
+
}, ...({
|
|
426
729
|
readonly marks?: readonly [{
|
|
427
730
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
428
731
|
} | {
|
|
@@ -450,12 +753,10 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
450
753
|
})[]];
|
|
451
754
|
readonly text: string;
|
|
452
755
|
readonly type: "text";
|
|
453
|
-
}
|
|
756
|
+
} | {
|
|
454
757
|
readonly attrs: {
|
|
455
758
|
readonly latex: string;
|
|
456
759
|
};
|
|
457
|
-
readonly type: "mathInline";
|
|
458
|
-
} | {
|
|
459
760
|
readonly marks?: readonly [{
|
|
460
761
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
461
762
|
} | {
|
|
@@ -481,8 +782,7 @@ export declare function politicsVisuals<E>(rich: RichSlot<E>): {
|
|
|
481
782
|
};
|
|
482
783
|
readonly type: "highlight";
|
|
483
784
|
})[]];
|
|
484
|
-
readonly
|
|
485
|
-
readonly type: "text";
|
|
785
|
+
readonly type: "mathInline";
|
|
486
786
|
})[]], E, never, never>>;
|
|
487
787
|
readonly title: RichSlot<E>;
|
|
488
788
|
readonly footnote: RichSlot<E>;
|
package/package.json
CHANGED