@nakafa/aksara-contracts 8.8.0 → 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 (110) hide show
  1. package/dist/assessment/answer.d.ts +2 -0
  2. package/dist/assessment/answer.js +5 -3
  3. package/dist/assessment/choice.d.ts +26 -0
  4. package/dist/assessment/closure.js +2 -1
  5. package/dist/assessment/document.d.ts +39 -0
  6. package/dist/assessment/figure.d.ts +13 -0
  7. package/dist/assessment/fit.d.ts +16 -2
  8. package/dist/assessment/fit.js +23 -5
  9. package/dist/assessment/graphic.d.ts +27 -0
  10. package/dist/assessment/graphic.js +17 -1
  11. package/dist/assessment/hash.d.ts +777 -109
  12. package/dist/assessment/inline.d.ts +53 -0
  13. package/dist/assessment/inline.js +1 -0
  14. package/dist/assessment/interaction.d.ts +44 -1
  15. package/dist/assessment/interaction.js +2 -1
  16. package/dist/assessment/item.d.ts +500 -37
  17. package/dist/assessment/item.js +1 -1
  18. package/dist/assessment/joint.d.ts +4 -3
  19. package/dist/assessment/joint.js +4 -3
  20. package/dist/assessment/key.d.ts +138 -0
  21. package/dist/assessment/key.js +6 -0
  22. package/dist/assessment/paper.d.ts +1006 -90
  23. package/dist/assessment/part.d.ts +13 -0
  24. package/dist/assessment/profile.d.ts +3 -3
  25. package/dist/assessment/profile.js +4 -4
  26. package/dist/assessment/rows.d.ts +621 -39
  27. package/dist/assessment/scoring.d.ts +12 -6
  28. package/dist/assessment/scoring.js +25 -8
  29. package/dist/assessment/sketch.d.ts +125 -0
  30. package/dist/assessment/sketch.js +175 -0
  31. package/dist/assessment/snapshot.d.ts +1479 -91
  32. package/dist/assessment/structure.js +4 -4
  33. package/dist/release/snapshot/data.d.ts +114 -2
  34. package/dist/release/snapshot/verify.d.ts +621 -39
  35. package/dist/transport/group.d.ts +342 -6
  36. package/dist/transport/request.d.ts +4032 -316
  37. package/dist/transport/snapshot.d.ts +228 -4
  38. package/dist/visual/base/math.d.ts +56 -6
  39. package/dist/visual/base/media.d.ts +56 -6
  40. package/dist/visual/biology/bacteria.d.ts +224 -24
  41. package/dist/visual/biology/blood.d.ts +56 -6
  42. package/dist/visual/biology/cell.d.ts +168 -18
  43. package/dist/visual/biology/climate.d.ts +168 -18
  44. package/dist/visual/biology/ecology.d.ts +224 -24
  45. package/dist/visual/biology/heart.d.ts +56 -6
  46. package/dist/visual/biology/mitochondrion.d.ts +56 -6
  47. package/dist/visual/biology/muscle.d.ts +56 -6
  48. package/dist/visual/biology/neuron.d.ts +56 -6
  49. package/dist/visual/biology/paddy.d.ts +56 -6
  50. package/dist/visual/biology/physiology.d.ts +168 -18
  51. package/dist/visual/biology/plant.d.ts +280 -30
  52. package/dist/visual/biology/synapse.d.ts +56 -6
  53. package/dist/visual/biology/vessel.d.ts +56 -6
  54. package/dist/visual/biology/yeast.d.ts +56 -6
  55. package/dist/visual/card.d.ts +56 -6
  56. package/dist/visual/catalog.d.ts +16734 -5484
  57. package/dist/visual/chemistry/atom.d.ts +168 -18
  58. package/dist/visual/chemistry/balance.d.ts +280 -30
  59. package/dist/visual/chemistry/bonding.d.ts +280 -30
  60. package/dist/visual/chemistry/discovery.d.ts +392 -42
  61. package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
  62. package/dist/visual/chemistry/electron.d.ts +112 -12
  63. package/dist/visual/chemistry/laws.d.ts +224 -24
  64. package/dist/visual/chemistry/particles.d.ts +280 -30
  65. package/dist/visual/chemistry/periodic.d.ts +112 -12
  66. package/dist/visual/chemistry/rate.d.ts +56 -6
  67. package/dist/visual/chemistry/reaction.d.ts +168 -18
  68. package/dist/visual/chemistry/titration.d.ts +56 -6
  69. package/dist/visual/length.d.ts +56 -6
  70. package/dist/visual/mathematics/chance.d.ts +168 -18
  71. package/dist/visual/mathematics/chart.d.ts +56 -6
  72. package/dist/visual/mathematics/charts.d.ts +280 -30
  73. package/dist/visual/mathematics/function.d.ts +168 -18
  74. package/dist/visual/mathematics/journey.d.ts +56 -6
  75. package/dist/visual/mathematics/logic.d.ts +56 -6
  76. package/dist/visual/mathematics/network.d.ts +56 -6
  77. package/dist/visual/mathematics/numeral.d.ts +168 -18
  78. package/dist/visual/mathematics/sets.d.ts +56 -6
  79. package/dist/visual/physics/braking.d.ts +224 -24
  80. package/dist/visual/physics/circuit.d.ts +224 -24
  81. package/dist/visual/physics/circular.d.ts +112 -12
  82. package/dist/visual/physics/dynamics.d.ts +392 -42
  83. package/dist/visual/physics/efficiency.d.ts +336 -36
  84. package/dist/visual/physics/electronics.d.ts +168 -18
  85. package/dist/visual/physics/falling.d.ts +224 -24
  86. package/dist/visual/physics/field.d.ts +168 -18
  87. package/dist/visual/physics/fluid.d.ts +224 -24
  88. package/dist/visual/physics/force.d.ts +280 -30
  89. package/dist/visual/physics/gravity.d.ts +112 -12
  90. package/dist/visual/physics/heat.d.ts +168 -18
  91. package/dist/visual/physics/instrument.d.ts +392 -42
  92. package/dist/visual/physics/light.d.ts +224 -24
  93. package/dist/visual/physics/measurement.d.ts +224 -24
  94. package/dist/visual/physics/motion.d.ts +336 -36
  95. package/dist/visual/physics/nuclear.d.ts +168 -18
  96. package/dist/visual/physics/parabolic.d.ts +56 -6
  97. package/dist/visual/physics/position.d.ts +336 -36
  98. package/dist/visual/physics/power.d.ts +448 -48
  99. package/dist/visual/physics/precision.d.ts +392 -42
  100. package/dist/visual/physics/product.d.ts +224 -24
  101. package/dist/visual/physics/reading.d.ts +168 -18
  102. package/dist/visual/physics/record.d.ts +112 -12
  103. package/dist/visual/physics/relative.d.ts +168 -18
  104. package/dist/visual/physics/solar.d.ts +336 -36
  105. package/dist/visual/physics/thermodynamics.d.ts +56 -6
  106. package/dist/visual/physics/vector.d.ts +280 -30
  107. package/dist/visual/physics/velocity.d.ts +392 -42
  108. package/dist/visual/physics/wave.d.ts +224 -24
  109. package/dist/visual/politics.d.ts +336 -36
  110. package/package.json +2 -2
@@ -237,11 +237,64 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
237
237
  readonly options: readonly {
238
238
  readonly id: string;
239
239
  readonly label: readonly [{
240
+ readonly marks?: readonly [{
241
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
242
+ } | {
243
+ readonly attrs: {
244
+ readonly href: string;
245
+ };
246
+ readonly type: "link";
247
+ } | {
248
+ readonly attrs: {
249
+ readonly variant: "success" | "warning" | null;
250
+ };
251
+ readonly type: "highlight";
252
+ }, ...({
253
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
254
+ } | {
255
+ readonly attrs: {
256
+ readonly href: string;
257
+ };
258
+ readonly type: "link";
259
+ } | {
260
+ readonly attrs: {
261
+ readonly variant: "success" | "warning" | null;
262
+ };
263
+ readonly type: "highlight";
264
+ })[]];
265
+ readonly text: string;
266
+ readonly type: "text";
267
+ } | {
240
268
  readonly attrs: {
241
269
  readonly latex: string;
242
270
  };
271
+ readonly marks?: readonly [{
272
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
273
+ } | {
274
+ readonly attrs: {
275
+ readonly href: string;
276
+ };
277
+ readonly type: "link";
278
+ } | {
279
+ readonly attrs: {
280
+ readonly variant: "success" | "warning" | null;
281
+ };
282
+ readonly type: "highlight";
283
+ }, ...({
284
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
285
+ } | {
286
+ readonly attrs: {
287
+ readonly href: string;
288
+ };
289
+ readonly type: "link";
290
+ } | {
291
+ readonly attrs: {
292
+ readonly variant: "success" | "warning" | null;
293
+ };
294
+ readonly type: "highlight";
295
+ })[]];
243
296
  readonly type: "mathInline";
244
- } | {
297
+ }, ...({
245
298
  readonly marks?: readonly [{
246
299
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
247
300
  } | {
@@ -269,12 +322,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
269
322
  })[]];
270
323
  readonly text: string;
271
324
  readonly type: "text";
272
- }, ...({
325
+ } | {
273
326
  readonly attrs: {
274
327
  readonly latex: string;
275
328
  };
276
- readonly type: "mathInline";
277
- } | {
278
329
  readonly marks?: readonly [{
279
330
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
280
331
  } | {
@@ -300,8 +351,7 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
300
351
  };
301
352
  readonly type: "highlight";
302
353
  })[]];
303
- readonly text: string;
304
- readonly type: "text";
354
+ readonly type: "mathInline";
305
355
  })[]];
306
356
  }[];
307
357
  readonly shuffle: boolean;
@@ -311,11 +361,64 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
311
361
  readonly choices: readonly [{
312
362
  readonly id: string;
313
363
  readonly label: readonly [{
364
+ readonly marks?: readonly [{
365
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
366
+ } | {
367
+ readonly attrs: {
368
+ readonly href: string;
369
+ };
370
+ readonly type: "link";
371
+ } | {
372
+ readonly attrs: {
373
+ readonly variant: "success" | "warning" | null;
374
+ };
375
+ readonly type: "highlight";
376
+ }, ...({
377
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
378
+ } | {
379
+ readonly attrs: {
380
+ readonly href: string;
381
+ };
382
+ readonly type: "link";
383
+ } | {
384
+ readonly attrs: {
385
+ readonly variant: "success" | "warning" | null;
386
+ };
387
+ readonly type: "highlight";
388
+ })[]];
389
+ readonly text: string;
390
+ readonly type: "text";
391
+ } | {
314
392
  readonly attrs: {
315
393
  readonly latex: string;
316
394
  };
395
+ readonly marks?: readonly [{
396
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
397
+ } | {
398
+ readonly attrs: {
399
+ readonly href: string;
400
+ };
401
+ readonly type: "link";
402
+ } | {
403
+ readonly attrs: {
404
+ readonly variant: "success" | "warning" | null;
405
+ };
406
+ readonly type: "highlight";
407
+ }, ...({
408
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
409
+ } | {
410
+ readonly attrs: {
411
+ readonly href: string;
412
+ };
413
+ readonly type: "link";
414
+ } | {
415
+ readonly attrs: {
416
+ readonly variant: "success" | "warning" | null;
417
+ };
418
+ readonly type: "highlight";
419
+ })[]];
317
420
  readonly type: "mathInline";
318
- } | {
421
+ }, ...({
319
422
  readonly marks?: readonly [{
320
423
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
321
424
  } | {
@@ -343,12 +446,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
343
446
  })[]];
344
447
  readonly text: string;
345
448
  readonly type: "text";
346
- }, ...({
449
+ } | {
347
450
  readonly attrs: {
348
451
  readonly latex: string;
349
452
  };
350
- readonly type: "mathInline";
351
- } | {
352
453
  readonly marks?: readonly [{
353
454
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
354
455
  } | {
@@ -374,18 +475,70 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
374
475
  };
375
476
  readonly type: "highlight";
376
477
  })[]];
377
- readonly text: string;
378
- readonly type: "text";
478
+ readonly type: "mathInline";
379
479
  })[]];
380
480
  readonly maxMatches: number;
381
481
  }, ...{
382
482
  readonly id: string;
383
483
  readonly label: readonly [{
484
+ readonly marks?: readonly [{
485
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
486
+ } | {
487
+ readonly attrs: {
488
+ readonly href: string;
489
+ };
490
+ readonly type: "link";
491
+ } | {
492
+ readonly attrs: {
493
+ readonly variant: "success" | "warning" | null;
494
+ };
495
+ readonly type: "highlight";
496
+ }, ...({
497
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
498
+ } | {
499
+ readonly attrs: {
500
+ readonly href: string;
501
+ };
502
+ readonly type: "link";
503
+ } | {
504
+ readonly attrs: {
505
+ readonly variant: "success" | "warning" | null;
506
+ };
507
+ readonly type: "highlight";
508
+ })[]];
509
+ readonly text: string;
510
+ readonly type: "text";
511
+ } | {
384
512
  readonly attrs: {
385
513
  readonly latex: string;
386
514
  };
515
+ readonly marks?: readonly [{
516
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
517
+ } | {
518
+ readonly attrs: {
519
+ readonly href: string;
520
+ };
521
+ readonly type: "link";
522
+ } | {
523
+ readonly attrs: {
524
+ readonly variant: "success" | "warning" | null;
525
+ };
526
+ readonly type: "highlight";
527
+ }, ...({
528
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
529
+ } | {
530
+ readonly attrs: {
531
+ readonly href: string;
532
+ };
533
+ readonly type: "link";
534
+ } | {
535
+ readonly attrs: {
536
+ readonly variant: "success" | "warning" | null;
537
+ };
538
+ readonly type: "highlight";
539
+ })[]];
387
540
  readonly type: "mathInline";
388
- } | {
541
+ }, ...({
389
542
  readonly marks?: readonly [{
390
543
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
391
544
  } | {
@@ -413,12 +566,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
413
566
  })[]];
414
567
  readonly text: string;
415
568
  readonly type: "text";
416
- }, ...({
569
+ } | {
417
570
  readonly attrs: {
418
571
  readonly latex: string;
419
572
  };
420
- readonly type: "mathInline";
421
- } | {
422
573
  readonly marks?: readonly [{
423
574
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
424
575
  } | {
@@ -444,8 +595,7 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
444
595
  };
445
596
  readonly type: "highlight";
446
597
  })[]];
447
- readonly text: string;
448
- readonly type: "text";
598
+ readonly type: "mathInline";
449
599
  })[]];
450
600
  readonly maxMatches: number;
451
601
  }[]];
@@ -531,6 +681,23 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
531
681
  readonly kind: "graphPoint";
532
682
  readonly placing: "lines" | "points";
533
683
  readonly snap?: number;
684
+ } | {
685
+ readonly id: string;
686
+ readonly label: string;
687
+ readonly frame: {
688
+ readonly kind: "cartesian";
689
+ readonly x: {
690
+ readonly max: number;
691
+ readonly min: number;
692
+ };
693
+ readonly y: {
694
+ readonly max: number;
695
+ readonly min: number;
696
+ };
697
+ };
698
+ readonly grid?: number;
699
+ readonly kind: "sketch";
700
+ readonly marks: readonly ("asymptote" | "point")[];
534
701
  }, ...({
535
702
  readonly id: string;
536
703
  readonly label: string;
@@ -626,11 +793,64 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
626
793
  readonly options: readonly {
627
794
  readonly id: string;
628
795
  readonly label: readonly [{
796
+ readonly marks?: readonly [{
797
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
798
+ } | {
799
+ readonly attrs: {
800
+ readonly href: string;
801
+ };
802
+ readonly type: "link";
803
+ } | {
804
+ readonly attrs: {
805
+ readonly variant: "success" | "warning" | null;
806
+ };
807
+ readonly type: "highlight";
808
+ }, ...({
809
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
810
+ } | {
811
+ readonly attrs: {
812
+ readonly href: string;
813
+ };
814
+ readonly type: "link";
815
+ } | {
816
+ readonly attrs: {
817
+ readonly variant: "success" | "warning" | null;
818
+ };
819
+ readonly type: "highlight";
820
+ })[]];
821
+ readonly text: string;
822
+ readonly type: "text";
823
+ } | {
629
824
  readonly attrs: {
630
825
  readonly latex: string;
631
826
  };
827
+ readonly marks?: readonly [{
828
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
829
+ } | {
830
+ readonly attrs: {
831
+ readonly href: string;
832
+ };
833
+ readonly type: "link";
834
+ } | {
835
+ readonly attrs: {
836
+ readonly variant: "success" | "warning" | null;
837
+ };
838
+ readonly type: "highlight";
839
+ }, ...({
840
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
841
+ } | {
842
+ readonly attrs: {
843
+ readonly href: string;
844
+ };
845
+ readonly type: "link";
846
+ } | {
847
+ readonly attrs: {
848
+ readonly variant: "success" | "warning" | null;
849
+ };
850
+ readonly type: "highlight";
851
+ })[]];
632
852
  readonly type: "mathInline";
633
- } | {
853
+ }, ...({
634
854
  readonly marks?: readonly [{
635
855
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
636
856
  } | {
@@ -658,12 +878,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
658
878
  })[]];
659
879
  readonly text: string;
660
880
  readonly type: "text";
661
- }, ...({
881
+ } | {
662
882
  readonly attrs: {
663
883
  readonly latex: string;
664
884
  };
665
- readonly type: "mathInline";
666
- } | {
667
885
  readonly marks?: readonly [{
668
886
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
669
887
  } | {
@@ -689,8 +907,7 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
689
907
  };
690
908
  readonly type: "highlight";
691
909
  })[]];
692
- readonly text: string;
693
- readonly type: "text";
910
+ readonly type: "mathInline";
694
911
  })[]];
695
912
  }[];
696
913
  readonly shuffle: boolean;
@@ -700,11 +917,64 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
700
917
  readonly choices: readonly [{
701
918
  readonly id: string;
702
919
  readonly label: readonly [{
920
+ readonly marks?: readonly [{
921
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
922
+ } | {
923
+ readonly attrs: {
924
+ readonly href: string;
925
+ };
926
+ readonly type: "link";
927
+ } | {
928
+ readonly attrs: {
929
+ readonly variant: "success" | "warning" | null;
930
+ };
931
+ readonly type: "highlight";
932
+ }, ...({
933
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
934
+ } | {
935
+ readonly attrs: {
936
+ readonly href: string;
937
+ };
938
+ readonly type: "link";
939
+ } | {
940
+ readonly attrs: {
941
+ readonly variant: "success" | "warning" | null;
942
+ };
943
+ readonly type: "highlight";
944
+ })[]];
945
+ readonly text: string;
946
+ readonly type: "text";
947
+ } | {
703
948
  readonly attrs: {
704
949
  readonly latex: string;
705
950
  };
951
+ readonly marks?: readonly [{
952
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
953
+ } | {
954
+ readonly attrs: {
955
+ readonly href: string;
956
+ };
957
+ readonly type: "link";
958
+ } | {
959
+ readonly attrs: {
960
+ readonly variant: "success" | "warning" | null;
961
+ };
962
+ readonly type: "highlight";
963
+ }, ...({
964
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
965
+ } | {
966
+ readonly attrs: {
967
+ readonly href: string;
968
+ };
969
+ readonly type: "link";
970
+ } | {
971
+ readonly attrs: {
972
+ readonly variant: "success" | "warning" | null;
973
+ };
974
+ readonly type: "highlight";
975
+ })[]];
706
976
  readonly type: "mathInline";
707
- } | {
977
+ }, ...({
708
978
  readonly marks?: readonly [{
709
979
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
710
980
  } | {
@@ -732,12 +1002,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
732
1002
  })[]];
733
1003
  readonly text: string;
734
1004
  readonly type: "text";
735
- }, ...({
1005
+ } | {
736
1006
  readonly attrs: {
737
1007
  readonly latex: string;
738
1008
  };
739
- readonly type: "mathInline";
740
- } | {
741
1009
  readonly marks?: readonly [{
742
1010
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
743
1011
  } | {
@@ -763,18 +1031,70 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
763
1031
  };
764
1032
  readonly type: "highlight";
765
1033
  })[]];
766
- readonly text: string;
767
- readonly type: "text";
1034
+ readonly type: "mathInline";
768
1035
  })[]];
769
1036
  readonly maxMatches: number;
770
1037
  }, ...{
771
1038
  readonly id: string;
772
1039
  readonly label: readonly [{
1040
+ readonly marks?: readonly [{
1041
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1042
+ } | {
1043
+ readonly attrs: {
1044
+ readonly href: string;
1045
+ };
1046
+ readonly type: "link";
1047
+ } | {
1048
+ readonly attrs: {
1049
+ readonly variant: "success" | "warning" | null;
1050
+ };
1051
+ readonly type: "highlight";
1052
+ }, ...({
1053
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1054
+ } | {
1055
+ readonly attrs: {
1056
+ readonly href: string;
1057
+ };
1058
+ readonly type: "link";
1059
+ } | {
1060
+ readonly attrs: {
1061
+ readonly variant: "success" | "warning" | null;
1062
+ };
1063
+ readonly type: "highlight";
1064
+ })[]];
1065
+ readonly text: string;
1066
+ readonly type: "text";
1067
+ } | {
773
1068
  readonly attrs: {
774
1069
  readonly latex: string;
775
1070
  };
1071
+ readonly marks?: readonly [{
1072
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1073
+ } | {
1074
+ readonly attrs: {
1075
+ readonly href: string;
1076
+ };
1077
+ readonly type: "link";
1078
+ } | {
1079
+ readonly attrs: {
1080
+ readonly variant: "success" | "warning" | null;
1081
+ };
1082
+ readonly type: "highlight";
1083
+ }, ...({
1084
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1085
+ } | {
1086
+ readonly attrs: {
1087
+ readonly href: string;
1088
+ };
1089
+ readonly type: "link";
1090
+ } | {
1091
+ readonly attrs: {
1092
+ readonly variant: "success" | "warning" | null;
1093
+ };
1094
+ readonly type: "highlight";
1095
+ })[]];
776
1096
  readonly type: "mathInline";
777
- } | {
1097
+ }, ...({
778
1098
  readonly marks?: readonly [{
779
1099
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
780
1100
  } | {
@@ -802,12 +1122,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
802
1122
  })[]];
803
1123
  readonly text: string;
804
1124
  readonly type: "text";
805
- }, ...({
1125
+ } | {
806
1126
  readonly attrs: {
807
1127
  readonly latex: string;
808
1128
  };
809
- readonly type: "mathInline";
810
- } | {
811
1129
  readonly marks?: readonly [{
812
1130
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
813
1131
  } | {
@@ -833,8 +1151,7 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
833
1151
  };
834
1152
  readonly type: "highlight";
835
1153
  })[]];
836
- readonly text: string;
837
- readonly type: "text";
1154
+ readonly type: "mathInline";
838
1155
  })[]];
839
1156
  readonly maxMatches: number;
840
1157
  }[]];
@@ -920,6 +1237,23 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
920
1237
  readonly kind: "graphPoint";
921
1238
  readonly placing: "lines" | "points";
922
1239
  readonly snap?: number;
1240
+ } | {
1241
+ readonly id: string;
1242
+ readonly label: string;
1243
+ readonly frame: {
1244
+ readonly kind: "cartesian";
1245
+ readonly x: {
1246
+ readonly max: number;
1247
+ readonly min: number;
1248
+ };
1249
+ readonly y: {
1250
+ readonly max: number;
1251
+ readonly min: number;
1252
+ };
1253
+ };
1254
+ readonly grid?: number;
1255
+ readonly kind: "sketch";
1256
+ readonly marks: readonly ("asymptote" | "point")[];
923
1257
  })[]];
924
1258
  readonly joint?: {
925
1259
  readonly levels: readonly [{
@@ -981,6 +1315,122 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
981
1315
  }>;
982
1316
  keys: HashMap.HashMap<string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">, {
983
1317
  readonly answers: readonly [{
1318
+ readonly criteria: readonly [{
1319
+ readonly check: {
1320
+ readonly feature: {
1321
+ readonly contact: "cross" | "touch";
1322
+ readonly kind: "zero";
1323
+ readonly x: string;
1324
+ } | {
1325
+ readonly kind: "yIntercept";
1326
+ readonly y: string;
1327
+ } | {
1328
+ readonly kind: "extremum";
1329
+ readonly turn: "maximum" | "minimum";
1330
+ readonly x: string;
1331
+ readonly y: string;
1332
+ } | {
1333
+ readonly kind: "asymptote";
1334
+ readonly line: {
1335
+ readonly kind: "vertical";
1336
+ readonly x: string;
1337
+ } | {
1338
+ readonly intercept: string;
1339
+ readonly kind: "sloped";
1340
+ readonly slope: string;
1341
+ };
1342
+ } | {
1343
+ readonly direction: "falling" | "rising";
1344
+ readonly from: string | null;
1345
+ readonly kind: "interval";
1346
+ readonly to: string | null;
1347
+ } | {
1348
+ readonly kind: "end";
1349
+ readonly limit: string;
1350
+ readonly side: "left" | "right";
1351
+ } | {
1352
+ readonly kind: "inflection";
1353
+ readonly x: string;
1354
+ readonly y: string;
1355
+ } | {
1356
+ readonly end?: "closed" | "open";
1357
+ readonly kind: "point";
1358
+ readonly x: string;
1359
+ readonly y: string;
1360
+ };
1361
+ readonly kind: "feature";
1362
+ };
1363
+ readonly criterion: string;
1364
+ readonly feedback: {
1365
+ readonly earned: string;
1366
+ readonly missed: string;
1367
+ };
1368
+ readonly requires?: readonly [string, ...string[]];
1369
+ }, ...{
1370
+ readonly check: {
1371
+ readonly feature: {
1372
+ readonly contact: "cross" | "touch";
1373
+ readonly kind: "zero";
1374
+ readonly x: string;
1375
+ } | {
1376
+ readonly kind: "yIntercept";
1377
+ readonly y: string;
1378
+ } | {
1379
+ readonly kind: "extremum";
1380
+ readonly turn: "maximum" | "minimum";
1381
+ readonly x: string;
1382
+ readonly y: string;
1383
+ } | {
1384
+ readonly kind: "asymptote";
1385
+ readonly line: {
1386
+ readonly kind: "vertical";
1387
+ readonly x: string;
1388
+ } | {
1389
+ readonly intercept: string;
1390
+ readonly kind: "sloped";
1391
+ readonly slope: string;
1392
+ };
1393
+ } | {
1394
+ readonly direction: "falling" | "rising";
1395
+ readonly from: string | null;
1396
+ readonly kind: "interval";
1397
+ readonly to: string | null;
1398
+ } | {
1399
+ readonly kind: "end";
1400
+ readonly limit: string;
1401
+ readonly side: "left" | "right";
1402
+ } | {
1403
+ readonly kind: "inflection";
1404
+ readonly x: string;
1405
+ readonly y: string;
1406
+ } | {
1407
+ readonly end?: "closed" | "open";
1408
+ readonly kind: "point";
1409
+ readonly x: string;
1410
+ readonly y: string;
1411
+ };
1412
+ readonly kind: "feature";
1413
+ };
1414
+ readonly criterion: string;
1415
+ readonly feedback: {
1416
+ readonly earned: string;
1417
+ readonly missed: string;
1418
+ };
1419
+ readonly requires?: readonly [string, ...string[]];
1420
+ }[]];
1421
+ readonly interaction: string;
1422
+ readonly kind: "sketch";
1423
+ readonly tolerances: {
1424
+ readonly asymptote?: string;
1425
+ readonly end?: string;
1426
+ readonly extremum?: string;
1427
+ readonly inflection?: string;
1428
+ readonly interval?: string;
1429
+ readonly point?: string;
1430
+ readonly yIntercept?: string;
1431
+ readonly zero?: string;
1432
+ };
1433
+ } | {
984
1434
  readonly interaction: string;
985
1435
  readonly correct: readonly [string, ...string[]];
986
1436
  readonly kind: "choice";
@@ -1076,6 +1526,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
1076
1526
  readonly interaction: string;
1077
1527
  readonly criteria: readonly [{
1078
1528
  readonly criterion: string;
1529
+ readonly feedback?: {
1530
+ readonly earned: string;
1531
+ readonly missed: string;
1532
+ };
1079
1533
  readonly levels: readonly [{
1080
1534
  readonly descriptor: string;
1081
1535
  readonly level: string;
@@ -1085,6 +1539,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
1085
1539
  }[]];
1086
1540
  }, ...{
1087
1541
  readonly criterion: string;
1542
+ readonly feedback?: {
1543
+ readonly earned: string;
1544
+ readonly missed: string;
1545
+ };
1088
1546
  readonly levels: readonly [{
1089
1547
  readonly descriptor: string;
1090
1548
  readonly level: string;
@@ -1103,6 +1561,122 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
1103
1561
  };
1104
1562
  readonly value: string;
1105
1563
  }, ...({
1564
+ readonly criteria: readonly [{
1565
+ readonly check: {
1566
+ readonly feature: {
1567
+ readonly contact: "cross" | "touch";
1568
+ readonly kind: "zero";
1569
+ readonly x: string;
1570
+ } | {
1571
+ readonly kind: "yIntercept";
1572
+ readonly y: string;
1573
+ } | {
1574
+ readonly kind: "extremum";
1575
+ readonly turn: "maximum" | "minimum";
1576
+ readonly x: string;
1577
+ readonly y: string;
1578
+ } | {
1579
+ readonly kind: "asymptote";
1580
+ readonly line: {
1581
+ readonly kind: "vertical";
1582
+ readonly x: string;
1583
+ } | {
1584
+ readonly intercept: string;
1585
+ readonly kind: "sloped";
1586
+ readonly slope: string;
1587
+ };
1588
+ } | {
1589
+ readonly direction: "falling" | "rising";
1590
+ readonly from: string | null;
1591
+ readonly kind: "interval";
1592
+ readonly to: string | null;
1593
+ } | {
1594
+ readonly kind: "end";
1595
+ readonly limit: string;
1596
+ readonly side: "left" | "right";
1597
+ } | {
1598
+ readonly kind: "inflection";
1599
+ readonly x: string;
1600
+ readonly y: string;
1601
+ } | {
1602
+ readonly end?: "closed" | "open";
1603
+ readonly kind: "point";
1604
+ readonly x: string;
1605
+ readonly y: string;
1606
+ };
1607
+ readonly kind: "feature";
1608
+ };
1609
+ readonly criterion: string;
1610
+ readonly feedback: {
1611
+ readonly earned: string;
1612
+ readonly missed: string;
1613
+ };
1614
+ readonly requires?: readonly [string, ...string[]];
1615
+ }, ...{
1616
+ readonly check: {
1617
+ readonly feature: {
1618
+ readonly contact: "cross" | "touch";
1619
+ readonly kind: "zero";
1620
+ readonly x: string;
1621
+ } | {
1622
+ readonly kind: "yIntercept";
1623
+ readonly y: string;
1624
+ } | {
1625
+ readonly kind: "extremum";
1626
+ readonly turn: "maximum" | "minimum";
1627
+ readonly x: string;
1628
+ readonly y: string;
1629
+ } | {
1630
+ readonly kind: "asymptote";
1631
+ readonly line: {
1632
+ readonly kind: "vertical";
1633
+ readonly x: string;
1634
+ } | {
1635
+ readonly intercept: string;
1636
+ readonly kind: "sloped";
1637
+ readonly slope: string;
1638
+ };
1639
+ } | {
1640
+ readonly direction: "falling" | "rising";
1641
+ readonly from: string | null;
1642
+ readonly kind: "interval";
1643
+ readonly to: string | null;
1644
+ } | {
1645
+ readonly kind: "end";
1646
+ readonly limit: string;
1647
+ readonly side: "left" | "right";
1648
+ } | {
1649
+ readonly kind: "inflection";
1650
+ readonly x: string;
1651
+ readonly y: string;
1652
+ } | {
1653
+ readonly end?: "closed" | "open";
1654
+ readonly kind: "point";
1655
+ readonly x: string;
1656
+ readonly y: string;
1657
+ };
1658
+ readonly kind: "feature";
1659
+ };
1660
+ readonly criterion: string;
1661
+ readonly feedback: {
1662
+ readonly earned: string;
1663
+ readonly missed: string;
1664
+ };
1665
+ readonly requires?: readonly [string, ...string[]];
1666
+ }[]];
1667
+ readonly interaction: string;
1668
+ readonly kind: "sketch";
1669
+ readonly tolerances: {
1670
+ readonly asymptote?: string;
1671
+ readonly end?: string;
1672
+ readonly extremum?: string;
1673
+ readonly inflection?: string;
1674
+ readonly interval?: string;
1675
+ readonly point?: string;
1676
+ readonly yIntercept?: string;
1677
+ readonly zero?: string;
1678
+ };
1679
+ } | {
1106
1680
  readonly interaction: string;
1107
1681
  readonly correct: readonly [string, ...string[]];
1108
1682
  readonly kind: "choice";
@@ -1198,6 +1772,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
1198
1772
  readonly interaction: string;
1199
1773
  readonly criteria: readonly [{
1200
1774
  readonly criterion: string;
1775
+ readonly feedback?: {
1776
+ readonly earned: string;
1777
+ readonly missed: string;
1778
+ };
1201
1779
  readonly levels: readonly [{
1202
1780
  readonly descriptor: string;
1203
1781
  readonly level: string;
@@ -1207,6 +1785,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
1207
1785
  }[]];
1208
1786
  }, ...{
1209
1787
  readonly criterion: string;
1788
+ readonly feedback?: {
1789
+ readonly earned: string;
1790
+ readonly missed: string;
1791
+ };
1210
1792
  readonly levels: readonly [{
1211
1793
  readonly descriptor: string;
1212
1794
  readonly level: string;
@@ -1309,7 +1891,7 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
1309
1891
  readonly seconds: number;
1310
1892
  }[];
1311
1893
  readonly defaults: readonly {
1312
- readonly interaction: "choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry";
1894
+ readonly interaction: "choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "sketch" | "textEntry";
1313
1895
  readonly rule: {
1314
1896
  readonly kind: "allOrNothing";
1315
1897
  } | {
@@ -1368,7 +1950,7 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
1368
1950
  };
1369
1951
  readonly sections: readonly [{
1370
1952
  readonly id: string;
1371
- readonly interactions: readonly ["choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry", ...("choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry")[]];
1953
+ readonly interactions: readonly ["choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "sketch" | "textEntry", ...("choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "sketch" | "textEntry")[]];
1372
1954
  readonly items: number;
1373
1955
  readonly names: {
1374
1956
  readonly de: string;
@@ -1381,7 +1963,7 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
1381
1963
  readonly tools: readonly ("calculator-basic" | "calculator-graphing" | "calculator-scientific" | "formula-sheet" | "hide-timer" | "highlighter" | "line-reader" | "mark-for-review" | "notes" | "option-eliminator" | "text-to-speech" | "zoom")[];
1382
1964
  }, ...{
1383
1965
  readonly id: string;
1384
- readonly interactions: readonly ["choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry", ...("choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry")[]];
1966
+ readonly interactions: readonly ["choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "sketch" | "textEntry", ...("choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "sketch" | "textEntry")[]];
1385
1967
  readonly items: number;
1386
1968
  readonly names: {
1387
1969
  readonly de: string;