@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 brakingVisuals<E>(rich: RichSlot<E>): {
8
8
  BrakeHeatLab: 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 brakingVisuals<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 brakingVisuals<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 labels: Schema.Struct<{
@@ -87,11 +137,64 @@ export declare function brakingVisuals<E>(rich: RichSlot<E>): {
87
137
  BrakingSurfaceLab: 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 brakingVisuals<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 brakingVisuals<E>(rich: RichSlot<E>): {
150
251
  };
151
252
  readonly type: "highlight";
152
253
  })[]];
153
- readonly text: string;
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<{
@@ -167,11 +267,64 @@ export declare function brakingVisuals<E>(rich: RichSlot<E>): {
167
267
  FollowingDistanceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
168
268
  readonly description: RichSlot<E>;
169
269
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
270
+ readonly marks?: readonly [{
271
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
272
+ } | {
273
+ readonly attrs: {
274
+ readonly href: string;
275
+ };
276
+ readonly type: "link";
277
+ } | {
278
+ readonly attrs: {
279
+ readonly variant: "success" | "warning" | null;
280
+ };
281
+ readonly type: "highlight";
282
+ }, ...({
283
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
284
+ } | {
285
+ readonly attrs: {
286
+ readonly href: string;
287
+ };
288
+ readonly type: "link";
289
+ } | {
290
+ readonly attrs: {
291
+ readonly variant: "success" | "warning" | null;
292
+ };
293
+ readonly type: "highlight";
294
+ })[]];
295
+ readonly text: string;
296
+ readonly type: "text";
297
+ } | {
170
298
  readonly attrs: {
171
299
  readonly latex: string;
172
300
  };
301
+ readonly marks?: readonly [{
302
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
303
+ } | {
304
+ readonly attrs: {
305
+ readonly href: string;
306
+ };
307
+ readonly type: "link";
308
+ } | {
309
+ readonly attrs: {
310
+ readonly variant: "success" | "warning" | null;
311
+ };
312
+ readonly type: "highlight";
313
+ }, ...({
314
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
315
+ } | {
316
+ readonly attrs: {
317
+ readonly href: string;
318
+ };
319
+ readonly type: "link";
320
+ } | {
321
+ readonly attrs: {
322
+ readonly variant: "success" | "warning" | null;
323
+ };
324
+ readonly type: "highlight";
325
+ })[]];
173
326
  readonly type: "mathInline";
174
- } | {
327
+ }, ...({
175
328
  readonly marks?: readonly [{
176
329
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
177
330
  } | {
@@ -199,12 +352,10 @@ export declare function brakingVisuals<E>(rich: RichSlot<E>): {
199
352
  })[]];
200
353
  readonly text: string;
201
354
  readonly type: "text";
202
- }, ...({
355
+ } | {
203
356
  readonly attrs: {
204
357
  readonly latex: string;
205
358
  };
206
- readonly type: "mathInline";
207
- } | {
208
359
  readonly marks?: readonly [{
209
360
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
210
361
  } | {
@@ -230,8 +381,7 @@ export declare function brakingVisuals<E>(rich: RichSlot<E>): {
230
381
  };
231
382
  readonly type: "highlight";
232
383
  })[]];
233
- readonly text: string;
234
- readonly type: "text";
384
+ readonly type: "mathInline";
235
385
  })[]], E, never, never>>;
236
386
  readonly title: RichSlot<E>;
237
387
  readonly labels: Schema.Struct<{
@@ -249,11 +399,64 @@ export declare function brakingVisuals<E>(rich: RichSlot<E>): {
249
399
  ReactionTimeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
250
400
  readonly description: RichSlot<E>;
251
401
  readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
402
+ readonly marks?: readonly [{
403
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
404
+ } | {
405
+ readonly attrs: {
406
+ readonly href: string;
407
+ };
408
+ readonly type: "link";
409
+ } | {
410
+ readonly attrs: {
411
+ readonly variant: "success" | "warning" | null;
412
+ };
413
+ readonly type: "highlight";
414
+ }, ...({
415
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
416
+ } | {
417
+ readonly attrs: {
418
+ readonly href: string;
419
+ };
420
+ readonly type: "link";
421
+ } | {
422
+ readonly attrs: {
423
+ readonly variant: "success" | "warning" | null;
424
+ };
425
+ readonly type: "highlight";
426
+ })[]];
427
+ readonly text: string;
428
+ readonly type: "text";
429
+ } | {
252
430
  readonly attrs: {
253
431
  readonly latex: string;
254
432
  };
433
+ readonly marks?: readonly [{
434
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
435
+ } | {
436
+ readonly attrs: {
437
+ readonly href: string;
438
+ };
439
+ readonly type: "link";
440
+ } | {
441
+ readonly attrs: {
442
+ readonly variant: "success" | "warning" | null;
443
+ };
444
+ readonly type: "highlight";
445
+ }, ...({
446
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
447
+ } | {
448
+ readonly attrs: {
449
+ readonly href: string;
450
+ };
451
+ readonly type: "link";
452
+ } | {
453
+ readonly attrs: {
454
+ readonly variant: "success" | "warning" | null;
455
+ };
456
+ readonly type: "highlight";
457
+ })[]];
255
458
  readonly type: "mathInline";
256
- } | {
459
+ }, ...({
257
460
  readonly marks?: readonly [{
258
461
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
259
462
  } | {
@@ -281,12 +484,10 @@ export declare function brakingVisuals<E>(rich: RichSlot<E>): {
281
484
  })[]];
282
485
  readonly text: string;
283
486
  readonly type: "text";
284
- }, ...({
487
+ } | {
285
488
  readonly attrs: {
286
489
  readonly latex: string;
287
490
  };
288
- readonly type: "mathInline";
289
- } | {
290
491
  readonly marks?: readonly [{
291
492
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
292
493
  } | {
@@ -312,8 +513,7 @@ export declare function brakingVisuals<E>(rich: RichSlot<E>): {
312
513
  };
313
514
  readonly type: "highlight";
314
515
  })[]];
315
- readonly text: string;
316
- readonly type: "text";
516
+ readonly type: "mathInline";
317
517
  })[]], E, never, never>>;
318
518
  readonly title: RichSlot<E>;
319
519
  readonly labels: Schema.Struct<{