@nakafa/aksara-contracts 8.9.1 → 8.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assessment/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/blood.d.ts +56 -6
- package/dist/visual/biology/cell.d.ts +168 -18
- package/dist/visual/biology/climate.d.ts +168 -18
- package/dist/visual/biology/ecology.d.ts +224 -24
- package/dist/visual/biology/heart.d.ts +56 -6
- package/dist/visual/biology/mitochondrion.d.ts +56 -6
- package/dist/visual/biology/muscle.d.ts +56 -6
- package/dist/visual/biology/neuron.d.ts +56 -6
- package/dist/visual/biology/paddy.d.ts +56 -6
- package/dist/visual/biology/physiology.d.ts +168 -18
- package/dist/visual/biology/plant.d.ts +280 -30
- package/dist/visual/biology/synapse.d.ts +56 -6
- package/dist/visual/biology/vessel.d.ts +56 -6
- package/dist/visual/biology/yeast.d.ts +56 -6
- package/dist/visual/card.d.ts +56 -6
- package/dist/visual/catalog.d.ts +16734 -5484
- package/dist/visual/chemistry/atom.d.ts +168 -18
- package/dist/visual/chemistry/balance.d.ts +280 -30
- package/dist/visual/chemistry/bonding.d.ts +280 -30
- package/dist/visual/chemistry/discovery.d.ts +392 -42
- package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
- package/dist/visual/chemistry/electron.d.ts +112 -12
- package/dist/visual/chemistry/laws.d.ts +224 -24
- package/dist/visual/chemistry/particles.d.ts +280 -30
- package/dist/visual/chemistry/periodic.d.ts +112 -12
- package/dist/visual/chemistry/rate.d.ts +56 -6
- package/dist/visual/chemistry/reaction.d.ts +168 -18
- package/dist/visual/chemistry/titration.d.ts +56 -6
- package/dist/visual/length.d.ts +56 -6
- package/dist/visual/mathematics/chance.d.ts +168 -18
- package/dist/visual/mathematics/chart.d.ts +56 -6
- package/dist/visual/mathematics/charts.d.ts +280 -30
- package/dist/visual/mathematics/function.d.ts +168 -18
- package/dist/visual/mathematics/journey.d.ts +56 -6
- package/dist/visual/mathematics/logic.d.ts +56 -6
- package/dist/visual/mathematics/network.d.ts +56 -6
- package/dist/visual/mathematics/numeral.d.ts +168 -18
- package/dist/visual/mathematics/sets.d.ts +56 -6
- package/dist/visual/physics/braking.d.ts +224 -24
- package/dist/visual/physics/circuit.d.ts +224 -24
- package/dist/visual/physics/circular.d.ts +112 -12
- package/dist/visual/physics/dynamics.d.ts +392 -42
- package/dist/visual/physics/efficiency.d.ts +336 -36
- package/dist/visual/physics/electronics.d.ts +168 -18
- package/dist/visual/physics/falling.d.ts +224 -24
- package/dist/visual/physics/field.d.ts +168 -18
- package/dist/visual/physics/fluid.d.ts +224 -24
- package/dist/visual/physics/force.d.ts +280 -30
- package/dist/visual/physics/gravity.d.ts +112 -12
- package/dist/visual/physics/heat.d.ts +168 -18
- package/dist/visual/physics/instrument.d.ts +392 -42
- package/dist/visual/physics/light.d.ts +224 -24
- package/dist/visual/physics/measurement.d.ts +224 -24
- package/dist/visual/physics/motion.d.ts +336 -36
- package/dist/visual/physics/nuclear.d.ts +168 -18
- package/dist/visual/physics/parabolic.d.ts +56 -6
- package/dist/visual/physics/position.d.ts +336 -36
- package/dist/visual/physics/power.d.ts +448 -48
- package/dist/visual/physics/precision.d.ts +392 -42
- package/dist/visual/physics/product.d.ts +224 -24
- package/dist/visual/physics/reading.d.ts +168 -18
- package/dist/visual/physics/record.d.ts +112 -12
- package/dist/visual/physics/relative.d.ts +168 -18
- package/dist/visual/physics/solar.d.ts +336 -36
- package/dist/visual/physics/thermodynamics.d.ts +56 -6
- package/dist/visual/physics/vector.d.ts +280 -30
- package/dist/visual/physics/velocity.d.ts +392 -42
- package/dist/visual/physics/wave.d.ts +224 -24
- package/dist/visual/politics.d.ts +336 -36
- package/package.json +1 -1
|
@@ -11,11 +11,64 @@ export declare function atomVisuals<E>(rich: RichSlot<E>): {
|
|
|
11
11
|
AncientAtomLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
12
12
|
readonly description: RichSlot<E>;
|
|
13
13
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
14
|
+
readonly marks?: readonly [{
|
|
15
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
16
|
+
} | {
|
|
17
|
+
readonly attrs: {
|
|
18
|
+
readonly href: string;
|
|
19
|
+
};
|
|
20
|
+
readonly type: "link";
|
|
21
|
+
} | {
|
|
22
|
+
readonly attrs: {
|
|
23
|
+
readonly variant: "success" | "warning" | null;
|
|
24
|
+
};
|
|
25
|
+
readonly type: "highlight";
|
|
26
|
+
}, ...({
|
|
27
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
28
|
+
} | {
|
|
29
|
+
readonly attrs: {
|
|
30
|
+
readonly href: string;
|
|
31
|
+
};
|
|
32
|
+
readonly type: "link";
|
|
33
|
+
} | {
|
|
34
|
+
readonly attrs: {
|
|
35
|
+
readonly variant: "success" | "warning" | null;
|
|
36
|
+
};
|
|
37
|
+
readonly type: "highlight";
|
|
38
|
+
})[]];
|
|
39
|
+
readonly text: string;
|
|
40
|
+
readonly type: "text";
|
|
41
|
+
} | {
|
|
14
42
|
readonly attrs: {
|
|
15
43
|
readonly latex: string;
|
|
16
44
|
};
|
|
45
|
+
readonly marks?: readonly [{
|
|
46
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
47
|
+
} | {
|
|
48
|
+
readonly attrs: {
|
|
49
|
+
readonly href: string;
|
|
50
|
+
};
|
|
51
|
+
readonly type: "link";
|
|
52
|
+
} | {
|
|
53
|
+
readonly attrs: {
|
|
54
|
+
readonly variant: "success" | "warning" | null;
|
|
55
|
+
};
|
|
56
|
+
readonly type: "highlight";
|
|
57
|
+
}, ...({
|
|
58
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
59
|
+
} | {
|
|
60
|
+
readonly attrs: {
|
|
61
|
+
readonly href: string;
|
|
62
|
+
};
|
|
63
|
+
readonly type: "link";
|
|
64
|
+
} | {
|
|
65
|
+
readonly attrs: {
|
|
66
|
+
readonly variant: "success" | "warning" | null;
|
|
67
|
+
};
|
|
68
|
+
readonly type: "highlight";
|
|
69
|
+
})[]];
|
|
17
70
|
readonly type: "mathInline";
|
|
18
|
-
}
|
|
71
|
+
}, ...({
|
|
19
72
|
readonly marks?: readonly [{
|
|
20
73
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
21
74
|
} | {
|
|
@@ -43,12 +96,10 @@ export declare function atomVisuals<E>(rich: RichSlot<E>): {
|
|
|
43
96
|
})[]];
|
|
44
97
|
readonly text: string;
|
|
45
98
|
readonly type: "text";
|
|
46
|
-
}
|
|
99
|
+
} | {
|
|
47
100
|
readonly attrs: {
|
|
48
101
|
readonly latex: string;
|
|
49
102
|
};
|
|
50
|
-
readonly type: "mathInline";
|
|
51
|
-
} | {
|
|
52
103
|
readonly marks?: readonly [{
|
|
53
104
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
54
105
|
} | {
|
|
@@ -74,8 +125,7 @@ export declare function atomVisuals<E>(rich: RichSlot<E>): {
|
|
|
74
125
|
};
|
|
75
126
|
readonly type: "highlight";
|
|
76
127
|
})[]];
|
|
77
|
-
readonly
|
|
78
|
-
readonly type: "text";
|
|
128
|
+
readonly type: "mathInline";
|
|
79
129
|
})[]], E, never, never>>;
|
|
80
130
|
readonly title: RichSlot<E>;
|
|
81
131
|
readonly labels: Schema.Struct<{
|
|
@@ -110,11 +160,64 @@ export declare function atomVisuals<E>(rich: RichSlot<E>): {
|
|
|
110
160
|
AtomSymbolLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
111
161
|
readonly description: RichSlot<E>;
|
|
112
162
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
163
|
+
readonly marks?: readonly [{
|
|
164
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
165
|
+
} | {
|
|
166
|
+
readonly attrs: {
|
|
167
|
+
readonly href: string;
|
|
168
|
+
};
|
|
169
|
+
readonly type: "link";
|
|
170
|
+
} | {
|
|
171
|
+
readonly attrs: {
|
|
172
|
+
readonly variant: "success" | "warning" | null;
|
|
173
|
+
};
|
|
174
|
+
readonly type: "highlight";
|
|
175
|
+
}, ...({
|
|
176
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
177
|
+
} | {
|
|
178
|
+
readonly attrs: {
|
|
179
|
+
readonly href: string;
|
|
180
|
+
};
|
|
181
|
+
readonly type: "link";
|
|
182
|
+
} | {
|
|
183
|
+
readonly attrs: {
|
|
184
|
+
readonly variant: "success" | "warning" | null;
|
|
185
|
+
};
|
|
186
|
+
readonly type: "highlight";
|
|
187
|
+
})[]];
|
|
188
|
+
readonly text: string;
|
|
189
|
+
readonly type: "text";
|
|
190
|
+
} | {
|
|
113
191
|
readonly attrs: {
|
|
114
192
|
readonly latex: string;
|
|
115
193
|
};
|
|
194
|
+
readonly marks?: readonly [{
|
|
195
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
196
|
+
} | {
|
|
197
|
+
readonly attrs: {
|
|
198
|
+
readonly href: string;
|
|
199
|
+
};
|
|
200
|
+
readonly type: "link";
|
|
201
|
+
} | {
|
|
202
|
+
readonly attrs: {
|
|
203
|
+
readonly variant: "success" | "warning" | null;
|
|
204
|
+
};
|
|
205
|
+
readonly type: "highlight";
|
|
206
|
+
}, ...({
|
|
207
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
208
|
+
} | {
|
|
209
|
+
readonly attrs: {
|
|
210
|
+
readonly href: string;
|
|
211
|
+
};
|
|
212
|
+
readonly type: "link";
|
|
213
|
+
} | {
|
|
214
|
+
readonly attrs: {
|
|
215
|
+
readonly variant: "success" | "warning" | null;
|
|
216
|
+
};
|
|
217
|
+
readonly type: "highlight";
|
|
218
|
+
})[]];
|
|
116
219
|
readonly type: "mathInline";
|
|
117
|
-
}
|
|
220
|
+
}, ...({
|
|
118
221
|
readonly marks?: readonly [{
|
|
119
222
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
120
223
|
} | {
|
|
@@ -142,12 +245,10 @@ export declare function atomVisuals<E>(rich: RichSlot<E>): {
|
|
|
142
245
|
})[]];
|
|
143
246
|
readonly text: string;
|
|
144
247
|
readonly type: "text";
|
|
145
|
-
}
|
|
248
|
+
} | {
|
|
146
249
|
readonly attrs: {
|
|
147
250
|
readonly latex: string;
|
|
148
251
|
};
|
|
149
|
-
readonly type: "mathInline";
|
|
150
|
-
} | {
|
|
151
252
|
readonly marks?: readonly [{
|
|
152
253
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
153
254
|
} | {
|
|
@@ -173,8 +274,7 @@ export declare function atomVisuals<E>(rich: RichSlot<E>): {
|
|
|
173
274
|
};
|
|
174
275
|
readonly type: "highlight";
|
|
175
276
|
})[]];
|
|
176
|
-
readonly
|
|
177
|
-
readonly type: "text";
|
|
277
|
+
readonly type: "mathInline";
|
|
178
278
|
})[]], E, never, never>>;
|
|
179
279
|
readonly title: RichSlot<E>;
|
|
180
280
|
readonly labels: Schema.Struct<{
|
|
@@ -196,11 +296,64 @@ export declare function atomVisuals<E>(rich: RichSlot<E>): {
|
|
|
196
296
|
DaltonEvidenceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
197
297
|
readonly description: RichSlot<E>;
|
|
198
298
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
299
|
+
readonly marks?: readonly [{
|
|
300
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
301
|
+
} | {
|
|
302
|
+
readonly attrs: {
|
|
303
|
+
readonly href: string;
|
|
304
|
+
};
|
|
305
|
+
readonly type: "link";
|
|
306
|
+
} | {
|
|
307
|
+
readonly attrs: {
|
|
308
|
+
readonly variant: "success" | "warning" | null;
|
|
309
|
+
};
|
|
310
|
+
readonly type: "highlight";
|
|
311
|
+
}, ...({
|
|
312
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
313
|
+
} | {
|
|
314
|
+
readonly attrs: {
|
|
315
|
+
readonly href: string;
|
|
316
|
+
};
|
|
317
|
+
readonly type: "link";
|
|
318
|
+
} | {
|
|
319
|
+
readonly attrs: {
|
|
320
|
+
readonly variant: "success" | "warning" | null;
|
|
321
|
+
};
|
|
322
|
+
readonly type: "highlight";
|
|
323
|
+
})[]];
|
|
324
|
+
readonly text: string;
|
|
325
|
+
readonly type: "text";
|
|
326
|
+
} | {
|
|
199
327
|
readonly attrs: {
|
|
200
328
|
readonly latex: string;
|
|
201
329
|
};
|
|
330
|
+
readonly marks?: readonly [{
|
|
331
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
332
|
+
} | {
|
|
333
|
+
readonly attrs: {
|
|
334
|
+
readonly href: string;
|
|
335
|
+
};
|
|
336
|
+
readonly type: "link";
|
|
337
|
+
} | {
|
|
338
|
+
readonly attrs: {
|
|
339
|
+
readonly variant: "success" | "warning" | null;
|
|
340
|
+
};
|
|
341
|
+
readonly type: "highlight";
|
|
342
|
+
}, ...({
|
|
343
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
344
|
+
} | {
|
|
345
|
+
readonly attrs: {
|
|
346
|
+
readonly href: string;
|
|
347
|
+
};
|
|
348
|
+
readonly type: "link";
|
|
349
|
+
} | {
|
|
350
|
+
readonly attrs: {
|
|
351
|
+
readonly variant: "success" | "warning" | null;
|
|
352
|
+
};
|
|
353
|
+
readonly type: "highlight";
|
|
354
|
+
})[]];
|
|
202
355
|
readonly type: "mathInline";
|
|
203
|
-
}
|
|
356
|
+
}, ...({
|
|
204
357
|
readonly marks?: readonly [{
|
|
205
358
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
206
359
|
} | {
|
|
@@ -228,12 +381,10 @@ export declare function atomVisuals<E>(rich: RichSlot<E>): {
|
|
|
228
381
|
})[]];
|
|
229
382
|
readonly text: string;
|
|
230
383
|
readonly type: "text";
|
|
231
|
-
}
|
|
384
|
+
} | {
|
|
232
385
|
readonly attrs: {
|
|
233
386
|
readonly latex: string;
|
|
234
387
|
};
|
|
235
|
-
readonly type: "mathInline";
|
|
236
|
-
} | {
|
|
237
388
|
readonly marks?: readonly [{
|
|
238
389
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
239
390
|
} | {
|
|
@@ -259,8 +410,7 @@ export declare function atomVisuals<E>(rich: RichSlot<E>): {
|
|
|
259
410
|
};
|
|
260
411
|
readonly type: "highlight";
|
|
261
412
|
})[]];
|
|
262
|
-
readonly
|
|
263
|
-
readonly type: "text";
|
|
413
|
+
readonly type: "mathInline";
|
|
264
414
|
})[]], E, never, never>>;
|
|
265
415
|
readonly title: RichSlot<E>;
|
|
266
416
|
readonly labels: Schema.Struct<{
|