@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.
Files changed (90) hide show
  1. package/dist/assessment/choice.d.ts +26 -0
  2. package/dist/assessment/document.d.ts +39 -0
  3. package/dist/assessment/figure.d.ts +13 -0
  4. package/dist/assessment/hash.d.ts +711 -111
  5. package/dist/assessment/inline.d.ts +53 -0
  6. package/dist/assessment/inline.js +1 -0
  7. package/dist/assessment/interaction.d.ts +26 -0
  8. package/dist/assessment/item.d.ts +414 -36
  9. package/dist/assessment/paper.d.ts +731 -131
  10. package/dist/assessment/part.d.ts +13 -0
  11. package/dist/assessment/rows.d.ts +336 -36
  12. package/dist/assessment/snapshot.d.ts +773 -121
  13. package/dist/release/snapshot/data.d.ts +26 -0
  14. package/dist/release/snapshot/verify.d.ts +336 -36
  15. package/dist/transport/group.d.ts +78 -0
  16. package/dist/transport/request.d.ts +2195 -343
  17. package/dist/transport/snapshot.d.ts +52 -0
  18. package/dist/visual/base/math.d.ts +56 -6
  19. package/dist/visual/base/media.d.ts +56 -6
  20. package/dist/visual/biology/bacteria.d.ts +224 -24
  21. package/dist/visual/biology/blood.d.ts +56 -6
  22. package/dist/visual/biology/cell.d.ts +168 -18
  23. package/dist/visual/biology/climate.d.ts +168 -18
  24. package/dist/visual/biology/ecology.d.ts +224 -24
  25. package/dist/visual/biology/heart.d.ts +56 -6
  26. package/dist/visual/biology/mitochondrion.d.ts +56 -6
  27. package/dist/visual/biology/muscle.d.ts +56 -6
  28. package/dist/visual/biology/neuron.d.ts +56 -6
  29. package/dist/visual/biology/paddy.d.ts +56 -6
  30. package/dist/visual/biology/physiology.d.ts +168 -18
  31. package/dist/visual/biology/plant.d.ts +280 -30
  32. package/dist/visual/biology/synapse.d.ts +56 -6
  33. package/dist/visual/biology/vessel.d.ts +56 -6
  34. package/dist/visual/biology/yeast.d.ts +56 -6
  35. package/dist/visual/card.d.ts +56 -6
  36. package/dist/visual/catalog.d.ts +16734 -5484
  37. package/dist/visual/chemistry/atom.d.ts +168 -18
  38. package/dist/visual/chemistry/balance.d.ts +280 -30
  39. package/dist/visual/chemistry/bonding.d.ts +280 -30
  40. package/dist/visual/chemistry/discovery.d.ts +392 -42
  41. package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
  42. package/dist/visual/chemistry/electron.d.ts +112 -12
  43. package/dist/visual/chemistry/laws.d.ts +224 -24
  44. package/dist/visual/chemistry/particles.d.ts +280 -30
  45. package/dist/visual/chemistry/periodic.d.ts +112 -12
  46. package/dist/visual/chemistry/rate.d.ts +56 -6
  47. package/dist/visual/chemistry/reaction.d.ts +168 -18
  48. package/dist/visual/chemistry/titration.d.ts +56 -6
  49. package/dist/visual/length.d.ts +56 -6
  50. package/dist/visual/mathematics/chance.d.ts +168 -18
  51. package/dist/visual/mathematics/chart.d.ts +56 -6
  52. package/dist/visual/mathematics/charts.d.ts +280 -30
  53. package/dist/visual/mathematics/function.d.ts +168 -18
  54. package/dist/visual/mathematics/journey.d.ts +56 -6
  55. package/dist/visual/mathematics/logic.d.ts +56 -6
  56. package/dist/visual/mathematics/network.d.ts +56 -6
  57. package/dist/visual/mathematics/numeral.d.ts +168 -18
  58. package/dist/visual/mathematics/sets.d.ts +56 -6
  59. package/dist/visual/physics/braking.d.ts +224 -24
  60. package/dist/visual/physics/circuit.d.ts +224 -24
  61. package/dist/visual/physics/circular.d.ts +112 -12
  62. package/dist/visual/physics/dynamics.d.ts +392 -42
  63. package/dist/visual/physics/efficiency.d.ts +336 -36
  64. package/dist/visual/physics/electronics.d.ts +168 -18
  65. package/dist/visual/physics/falling.d.ts +224 -24
  66. package/dist/visual/physics/field.d.ts +168 -18
  67. package/dist/visual/physics/fluid.d.ts +224 -24
  68. package/dist/visual/physics/force.d.ts +280 -30
  69. package/dist/visual/physics/gravity.d.ts +112 -12
  70. package/dist/visual/physics/heat.d.ts +168 -18
  71. package/dist/visual/physics/instrument.d.ts +392 -42
  72. package/dist/visual/physics/light.d.ts +224 -24
  73. package/dist/visual/physics/measurement.d.ts +224 -24
  74. package/dist/visual/physics/motion.d.ts +336 -36
  75. package/dist/visual/physics/nuclear.d.ts +168 -18
  76. package/dist/visual/physics/parabolic.d.ts +56 -6
  77. package/dist/visual/physics/position.d.ts +336 -36
  78. package/dist/visual/physics/power.d.ts +448 -48
  79. package/dist/visual/physics/precision.d.ts +392 -42
  80. package/dist/visual/physics/product.d.ts +224 -24
  81. package/dist/visual/physics/reading.d.ts +168 -18
  82. package/dist/visual/physics/record.d.ts +112 -12
  83. package/dist/visual/physics/relative.d.ts +168 -18
  84. package/dist/visual/physics/solar.d.ts +336 -36
  85. package/dist/visual/physics/thermodynamics.d.ts +56 -6
  86. package/dist/visual/physics/vector.d.ts +280 -30
  87. package/dist/visual/physics/velocity.d.ts +392 -42
  88. package/dist/visual/physics/wave.d.ts +224 -24
  89. package/dist/visual/politics.d.ts +336 -36
  90. package/package.json +1 -1
@@ -8,11 +8,64 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
8
8
  EchoLab: 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 waveVisuals<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 waveVisuals<E>(rich: RichSlot<E>): {
71
122
  };
72
123
  readonly type: "highlight";
73
124
  })[]];
74
- readonly text: string;
75
- readonly type: "text";
125
+ readonly type: "mathInline";
76
126
  })[]], E, never, never>>;
77
127
  readonly title: RichSlot<E>;
78
128
  readonly boatSpeed: Schema.Finite;
@@ -89,11 +139,64 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
89
139
  DoubleSlitLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
90
140
  readonly description: RichSlot<E>;
91
141
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
142
+ readonly marks?: readonly [{
143
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
144
+ } | {
145
+ readonly attrs: {
146
+ readonly href: string;
147
+ };
148
+ readonly type: "link";
149
+ } | {
150
+ readonly attrs: {
151
+ readonly variant: "success" | "warning" | null;
152
+ };
153
+ readonly type: "highlight";
154
+ }, ...({
155
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
156
+ } | {
157
+ readonly attrs: {
158
+ readonly href: string;
159
+ };
160
+ readonly type: "link";
161
+ } | {
162
+ readonly attrs: {
163
+ readonly variant: "success" | "warning" | null;
164
+ };
165
+ readonly type: "highlight";
166
+ })[]];
167
+ readonly text: string;
168
+ readonly type: "text";
169
+ } | {
92
170
  readonly attrs: {
93
171
  readonly latex: string;
94
172
  };
173
+ readonly marks?: readonly [{
174
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
175
+ } | {
176
+ readonly attrs: {
177
+ readonly href: string;
178
+ };
179
+ readonly type: "link";
180
+ } | {
181
+ readonly attrs: {
182
+ readonly variant: "success" | "warning" | null;
183
+ };
184
+ readonly type: "highlight";
185
+ }, ...({
186
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
187
+ } | {
188
+ readonly attrs: {
189
+ readonly href: string;
190
+ };
191
+ readonly type: "link";
192
+ } | {
193
+ readonly attrs: {
194
+ readonly variant: "success" | "warning" | null;
195
+ };
196
+ readonly type: "highlight";
197
+ })[]];
95
198
  readonly type: "mathInline";
96
- } | {
199
+ }, ...({
97
200
  readonly marks?: readonly [{
98
201
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
99
202
  } | {
@@ -121,12 +224,10 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
121
224
  })[]];
122
225
  readonly text: string;
123
226
  readonly type: "text";
124
- }, ...({
227
+ } | {
125
228
  readonly attrs: {
126
229
  readonly latex: string;
127
230
  };
128
- readonly type: "mathInline";
129
- } | {
130
231
  readonly marks?: readonly [{
131
232
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
132
233
  } | {
@@ -152,8 +253,7 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
152
253
  };
153
254
  readonly type: "highlight";
154
255
  })[]];
155
- readonly text: string;
156
- readonly type: "text";
256
+ readonly type: "mathInline";
157
257
  })[]], E, never, never>>;
158
258
  readonly title: RichSlot<E>;
159
259
  readonly distance: Schema.Finite;
@@ -173,11 +273,64 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
173
273
  SpeakerInterferenceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
174
274
  readonly description: RichSlot<E>;
175
275
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
276
+ readonly marks?: readonly [{
277
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
278
+ } | {
279
+ readonly attrs: {
280
+ readonly href: string;
281
+ };
282
+ readonly type: "link";
283
+ } | {
284
+ readonly attrs: {
285
+ readonly variant: "success" | "warning" | null;
286
+ };
287
+ readonly type: "highlight";
288
+ }, ...({
289
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
290
+ } | {
291
+ readonly attrs: {
292
+ readonly href: string;
293
+ };
294
+ readonly type: "link";
295
+ } | {
296
+ readonly attrs: {
297
+ readonly variant: "success" | "warning" | null;
298
+ };
299
+ readonly type: "highlight";
300
+ })[]];
301
+ readonly text: string;
302
+ readonly type: "text";
303
+ } | {
176
304
  readonly attrs: {
177
305
  readonly latex: string;
178
306
  };
307
+ readonly marks?: readonly [{
308
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
309
+ } | {
310
+ readonly attrs: {
311
+ readonly href: string;
312
+ };
313
+ readonly type: "link";
314
+ } | {
315
+ readonly attrs: {
316
+ readonly variant: "success" | "warning" | null;
317
+ };
318
+ readonly type: "highlight";
319
+ }, ...({
320
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
321
+ } | {
322
+ readonly attrs: {
323
+ readonly href: string;
324
+ };
325
+ readonly type: "link";
326
+ } | {
327
+ readonly attrs: {
328
+ readonly variant: "success" | "warning" | null;
329
+ };
330
+ readonly type: "highlight";
331
+ })[]];
179
332
  readonly type: "mathInline";
180
- } | {
333
+ }, ...({
181
334
  readonly marks?: readonly [{
182
335
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
183
336
  } | {
@@ -205,12 +358,10 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
205
358
  })[]];
206
359
  readonly text: string;
207
360
  readonly type: "text";
208
- }, ...({
361
+ } | {
209
362
  readonly attrs: {
210
363
  readonly latex: string;
211
364
  };
212
- readonly type: "mathInline";
213
- } | {
214
365
  readonly marks?: readonly [{
215
366
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
216
367
  } | {
@@ -236,8 +387,7 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
236
387
  };
237
388
  readonly type: "highlight";
238
389
  })[]];
239
- readonly text: string;
240
- readonly type: "text";
390
+ readonly type: "mathInline";
241
391
  })[]], E, never, never>>;
242
392
  readonly title: RichSlot<E>;
243
393
  readonly distance: Schema.Finite;
@@ -255,11 +405,64 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
255
405
  RippleTankLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
256
406
  readonly description: RichSlot<E>;
257
407
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
408
+ readonly marks?: readonly [{
409
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
410
+ } | {
411
+ readonly attrs: {
412
+ readonly href: string;
413
+ };
414
+ readonly type: "link";
415
+ } | {
416
+ readonly attrs: {
417
+ readonly variant: "success" | "warning" | null;
418
+ };
419
+ readonly type: "highlight";
420
+ }, ...({
421
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
422
+ } | {
423
+ readonly attrs: {
424
+ readonly href: string;
425
+ };
426
+ readonly type: "link";
427
+ } | {
428
+ readonly attrs: {
429
+ readonly variant: "success" | "warning" | null;
430
+ };
431
+ readonly type: "highlight";
432
+ })[]];
433
+ readonly text: string;
434
+ readonly type: "text";
435
+ } | {
258
436
  readonly attrs: {
259
437
  readonly latex: string;
260
438
  };
439
+ readonly marks?: readonly [{
440
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
441
+ } | {
442
+ readonly attrs: {
443
+ readonly href: string;
444
+ };
445
+ readonly type: "link";
446
+ } | {
447
+ readonly attrs: {
448
+ readonly variant: "success" | "warning" | null;
449
+ };
450
+ readonly type: "highlight";
451
+ }, ...({
452
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
453
+ } | {
454
+ readonly attrs: {
455
+ readonly href: string;
456
+ };
457
+ readonly type: "link";
458
+ } | {
459
+ readonly attrs: {
460
+ readonly variant: "success" | "warning" | null;
461
+ };
462
+ readonly type: "highlight";
463
+ })[]];
261
464
  readonly type: "mathInline";
262
- } | {
465
+ }, ...({
263
466
  readonly marks?: readonly [{
264
467
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
265
468
  } | {
@@ -287,12 +490,10 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
287
490
  })[]];
288
491
  readonly text: string;
289
492
  readonly type: "text";
290
- }, ...({
493
+ } | {
291
494
  readonly attrs: {
292
495
  readonly latex: string;
293
496
  };
294
- readonly type: "mathInline";
295
- } | {
296
497
  readonly marks?: readonly [{
297
498
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
298
499
  } | {
@@ -318,8 +519,7 @@ export declare function waveVisuals<E>(rich: RichSlot<E>): {
318
519
  };
319
520
  readonly type: "highlight";
320
521
  })[]];
321
- readonly text: string;
322
- readonly type: "text";
522
+ readonly type: "mathInline";
323
523
  })[]], E, never, never>>;
324
524
  readonly title: RichSlot<E>;
325
525
  readonly deepSpeed: Schema.Finite;