@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
@@ -290,7 +290,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
290
290
  readonly seconds: number;
291
291
  }[];
292
292
  readonly defaults: readonly {
293
- readonly interaction: "choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry";
293
+ readonly interaction: "choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "sketch" | "textEntry";
294
294
  readonly rule: {
295
295
  readonly kind: "allOrNothing";
296
296
  } | {
@@ -349,7 +349,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
349
349
  };
350
350
  readonly sections: readonly [{
351
351
  readonly id: string;
352
- 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")[]];
352
+ 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")[]];
353
353
  readonly items: number;
354
354
  readonly names: {
355
355
  readonly de: string;
@@ -362,7 +362,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
362
362
  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")[];
363
363
  }, ...{
364
364
  readonly id: string;
365
- 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")[]];
365
+ 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")[]];
366
366
  readonly items: number;
367
367
  readonly names: {
368
368
  readonly de: string;
@@ -547,11 +547,64 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
547
547
  readonly options: readonly {
548
548
  readonly id: string;
549
549
  readonly label: readonly [{
550
+ readonly marks?: readonly [{
551
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
552
+ } | {
553
+ readonly attrs: {
554
+ readonly href: string;
555
+ };
556
+ readonly type: "link";
557
+ } | {
558
+ readonly attrs: {
559
+ readonly variant: "success" | "warning" | null;
560
+ };
561
+ readonly type: "highlight";
562
+ }, ...({
563
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
564
+ } | {
565
+ readonly attrs: {
566
+ readonly href: string;
567
+ };
568
+ readonly type: "link";
569
+ } | {
570
+ readonly attrs: {
571
+ readonly variant: "success" | "warning" | null;
572
+ };
573
+ readonly type: "highlight";
574
+ })[]];
575
+ readonly text: string;
576
+ readonly type: "text";
577
+ } | {
550
578
  readonly attrs: {
551
579
  readonly latex: string;
552
580
  };
581
+ readonly marks?: readonly [{
582
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
583
+ } | {
584
+ readonly attrs: {
585
+ readonly href: string;
586
+ };
587
+ readonly type: "link";
588
+ } | {
589
+ readonly attrs: {
590
+ readonly variant: "success" | "warning" | null;
591
+ };
592
+ readonly type: "highlight";
593
+ }, ...({
594
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
595
+ } | {
596
+ readonly attrs: {
597
+ readonly href: string;
598
+ };
599
+ readonly type: "link";
600
+ } | {
601
+ readonly attrs: {
602
+ readonly variant: "success" | "warning" | null;
603
+ };
604
+ readonly type: "highlight";
605
+ })[]];
553
606
  readonly type: "mathInline";
554
- } | {
607
+ }, ...({
555
608
  readonly marks?: readonly [{
556
609
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
557
610
  } | {
@@ -579,12 +632,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
579
632
  })[]];
580
633
  readonly text: string;
581
634
  readonly type: "text";
582
- }, ...({
635
+ } | {
583
636
  readonly attrs: {
584
637
  readonly latex: string;
585
638
  };
586
- readonly type: "mathInline";
587
- } | {
588
639
  readonly marks?: readonly [{
589
640
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
590
641
  } | {
@@ -610,8 +661,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
610
661
  };
611
662
  readonly type: "highlight";
612
663
  })[]];
613
- readonly text: string;
614
- readonly type: "text";
664
+ readonly type: "mathInline";
615
665
  })[]];
616
666
  }[];
617
667
  readonly shuffle: boolean;
@@ -621,11 +671,64 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
621
671
  readonly choices: readonly [{
622
672
  readonly id: string;
623
673
  readonly label: readonly [{
674
+ readonly marks?: readonly [{
675
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
676
+ } | {
677
+ readonly attrs: {
678
+ readonly href: string;
679
+ };
680
+ readonly type: "link";
681
+ } | {
682
+ readonly attrs: {
683
+ readonly variant: "success" | "warning" | null;
684
+ };
685
+ readonly type: "highlight";
686
+ }, ...({
687
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
688
+ } | {
689
+ readonly attrs: {
690
+ readonly href: string;
691
+ };
692
+ readonly type: "link";
693
+ } | {
694
+ readonly attrs: {
695
+ readonly variant: "success" | "warning" | null;
696
+ };
697
+ readonly type: "highlight";
698
+ })[]];
699
+ readonly text: string;
700
+ readonly type: "text";
701
+ } | {
624
702
  readonly attrs: {
625
703
  readonly latex: string;
626
704
  };
705
+ readonly marks?: readonly [{
706
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
707
+ } | {
708
+ readonly attrs: {
709
+ readonly href: string;
710
+ };
711
+ readonly type: "link";
712
+ } | {
713
+ readonly attrs: {
714
+ readonly variant: "success" | "warning" | null;
715
+ };
716
+ readonly type: "highlight";
717
+ }, ...({
718
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
719
+ } | {
720
+ readonly attrs: {
721
+ readonly href: string;
722
+ };
723
+ readonly type: "link";
724
+ } | {
725
+ readonly attrs: {
726
+ readonly variant: "success" | "warning" | null;
727
+ };
728
+ readonly type: "highlight";
729
+ })[]];
627
730
  readonly type: "mathInline";
628
- } | {
731
+ }, ...({
629
732
  readonly marks?: readonly [{
630
733
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
631
734
  } | {
@@ -653,12 +756,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
653
756
  })[]];
654
757
  readonly text: string;
655
758
  readonly type: "text";
656
- }, ...({
759
+ } | {
657
760
  readonly attrs: {
658
761
  readonly latex: string;
659
762
  };
660
- readonly type: "mathInline";
661
- } | {
662
763
  readonly marks?: readonly [{
663
764
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
664
765
  } | {
@@ -684,18 +785,70 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
684
785
  };
685
786
  readonly type: "highlight";
686
787
  })[]];
687
- readonly text: string;
688
- readonly type: "text";
788
+ readonly type: "mathInline";
689
789
  })[]];
690
790
  readonly maxMatches: number;
691
791
  }, ...{
692
792
  readonly id: string;
693
793
  readonly label: readonly [{
794
+ readonly marks?: readonly [{
795
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
796
+ } | {
797
+ readonly attrs: {
798
+ readonly href: string;
799
+ };
800
+ readonly type: "link";
801
+ } | {
802
+ readonly attrs: {
803
+ readonly variant: "success" | "warning" | null;
804
+ };
805
+ readonly type: "highlight";
806
+ }, ...({
807
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
808
+ } | {
809
+ readonly attrs: {
810
+ readonly href: string;
811
+ };
812
+ readonly type: "link";
813
+ } | {
814
+ readonly attrs: {
815
+ readonly variant: "success" | "warning" | null;
816
+ };
817
+ readonly type: "highlight";
818
+ })[]];
819
+ readonly text: string;
820
+ readonly type: "text";
821
+ } | {
694
822
  readonly attrs: {
695
823
  readonly latex: string;
696
824
  };
825
+ readonly marks?: readonly [{
826
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
827
+ } | {
828
+ readonly attrs: {
829
+ readonly href: string;
830
+ };
831
+ readonly type: "link";
832
+ } | {
833
+ readonly attrs: {
834
+ readonly variant: "success" | "warning" | null;
835
+ };
836
+ readonly type: "highlight";
837
+ }, ...({
838
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
839
+ } | {
840
+ readonly attrs: {
841
+ readonly href: string;
842
+ };
843
+ readonly type: "link";
844
+ } | {
845
+ readonly attrs: {
846
+ readonly variant: "success" | "warning" | null;
847
+ };
848
+ readonly type: "highlight";
849
+ })[]];
697
850
  readonly type: "mathInline";
698
- } | {
851
+ }, ...({
699
852
  readonly marks?: readonly [{
700
853
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
701
854
  } | {
@@ -723,12 +876,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
723
876
  })[]];
724
877
  readonly text: string;
725
878
  readonly type: "text";
726
- }, ...({
879
+ } | {
727
880
  readonly attrs: {
728
881
  readonly latex: string;
729
882
  };
730
- readonly type: "mathInline";
731
- } | {
732
883
  readonly marks?: readonly [{
733
884
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
734
885
  } | {
@@ -754,8 +905,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
754
905
  };
755
906
  readonly type: "highlight";
756
907
  })[]];
757
- readonly text: string;
758
- readonly type: "text";
908
+ readonly type: "mathInline";
759
909
  })[]];
760
910
  readonly maxMatches: number;
761
911
  }[]];
@@ -841,6 +991,23 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
841
991
  readonly kind: "graphPoint";
842
992
  readonly placing: "lines" | "points";
843
993
  readonly snap?: number;
994
+ } | {
995
+ readonly id: string;
996
+ readonly label: string;
997
+ readonly frame: {
998
+ readonly kind: "cartesian";
999
+ readonly x: {
1000
+ readonly max: number;
1001
+ readonly min: number;
1002
+ };
1003
+ readonly y: {
1004
+ readonly max: number;
1005
+ readonly min: number;
1006
+ };
1007
+ };
1008
+ readonly grid?: number;
1009
+ readonly kind: "sketch";
1010
+ readonly marks: readonly ("asymptote" | "point")[];
844
1011
  }, ...({
845
1012
  readonly id: string;
846
1013
  readonly label: string;
@@ -936,11 +1103,64 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
936
1103
  readonly options: readonly {
937
1104
  readonly id: string;
938
1105
  readonly label: readonly [{
1106
+ readonly marks?: readonly [{
1107
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1108
+ } | {
1109
+ readonly attrs: {
1110
+ readonly href: string;
1111
+ };
1112
+ readonly type: "link";
1113
+ } | {
1114
+ readonly attrs: {
1115
+ readonly variant: "success" | "warning" | null;
1116
+ };
1117
+ readonly type: "highlight";
1118
+ }, ...({
1119
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1120
+ } | {
1121
+ readonly attrs: {
1122
+ readonly href: string;
1123
+ };
1124
+ readonly type: "link";
1125
+ } | {
1126
+ readonly attrs: {
1127
+ readonly variant: "success" | "warning" | null;
1128
+ };
1129
+ readonly type: "highlight";
1130
+ })[]];
1131
+ readonly text: string;
1132
+ readonly type: "text";
1133
+ } | {
939
1134
  readonly attrs: {
940
1135
  readonly latex: string;
941
1136
  };
1137
+ readonly marks?: readonly [{
1138
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1139
+ } | {
1140
+ readonly attrs: {
1141
+ readonly href: string;
1142
+ };
1143
+ readonly type: "link";
1144
+ } | {
1145
+ readonly attrs: {
1146
+ readonly variant: "success" | "warning" | null;
1147
+ };
1148
+ readonly type: "highlight";
1149
+ }, ...({
1150
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1151
+ } | {
1152
+ readonly attrs: {
1153
+ readonly href: string;
1154
+ };
1155
+ readonly type: "link";
1156
+ } | {
1157
+ readonly attrs: {
1158
+ readonly variant: "success" | "warning" | null;
1159
+ };
1160
+ readonly type: "highlight";
1161
+ })[]];
942
1162
  readonly type: "mathInline";
943
- } | {
1163
+ }, ...({
944
1164
  readonly marks?: readonly [{
945
1165
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
946
1166
  } | {
@@ -968,12 +1188,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
968
1188
  })[]];
969
1189
  readonly text: string;
970
1190
  readonly type: "text";
971
- }, ...({
1191
+ } | {
972
1192
  readonly attrs: {
973
1193
  readonly latex: string;
974
1194
  };
975
- readonly type: "mathInline";
976
- } | {
977
1195
  readonly marks?: readonly [{
978
1196
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
979
1197
  } | {
@@ -999,8 +1217,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
999
1217
  };
1000
1218
  readonly type: "highlight";
1001
1219
  })[]];
1002
- readonly text: string;
1003
- readonly type: "text";
1220
+ readonly type: "mathInline";
1004
1221
  })[]];
1005
1222
  }[];
1006
1223
  readonly shuffle: boolean;
@@ -1010,11 +1227,64 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
1010
1227
  readonly choices: readonly [{
1011
1228
  readonly id: string;
1012
1229
  readonly label: readonly [{
1230
+ readonly marks?: readonly [{
1231
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1232
+ } | {
1233
+ readonly attrs: {
1234
+ readonly href: string;
1235
+ };
1236
+ readonly type: "link";
1237
+ } | {
1238
+ readonly attrs: {
1239
+ readonly variant: "success" | "warning" | null;
1240
+ };
1241
+ readonly type: "highlight";
1242
+ }, ...({
1243
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1244
+ } | {
1245
+ readonly attrs: {
1246
+ readonly href: string;
1247
+ };
1248
+ readonly type: "link";
1249
+ } | {
1250
+ readonly attrs: {
1251
+ readonly variant: "success" | "warning" | null;
1252
+ };
1253
+ readonly type: "highlight";
1254
+ })[]];
1255
+ readonly text: string;
1256
+ readonly type: "text";
1257
+ } | {
1013
1258
  readonly attrs: {
1014
1259
  readonly latex: string;
1015
1260
  };
1261
+ readonly marks?: readonly [{
1262
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1263
+ } | {
1264
+ readonly attrs: {
1265
+ readonly href: string;
1266
+ };
1267
+ readonly type: "link";
1268
+ } | {
1269
+ readonly attrs: {
1270
+ readonly variant: "success" | "warning" | null;
1271
+ };
1272
+ readonly type: "highlight";
1273
+ }, ...({
1274
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1275
+ } | {
1276
+ readonly attrs: {
1277
+ readonly href: string;
1278
+ };
1279
+ readonly type: "link";
1280
+ } | {
1281
+ readonly attrs: {
1282
+ readonly variant: "success" | "warning" | null;
1283
+ };
1284
+ readonly type: "highlight";
1285
+ })[]];
1016
1286
  readonly type: "mathInline";
1017
- } | {
1287
+ }, ...({
1018
1288
  readonly marks?: readonly [{
1019
1289
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1020
1290
  } | {
@@ -1042,12 +1312,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
1042
1312
  })[]];
1043
1313
  readonly text: string;
1044
1314
  readonly type: "text";
1045
- }, ...({
1315
+ } | {
1046
1316
  readonly attrs: {
1047
1317
  readonly latex: string;
1048
1318
  };
1049
- readonly type: "mathInline";
1050
- } | {
1051
1319
  readonly marks?: readonly [{
1052
1320
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1053
1321
  } | {
@@ -1073,18 +1341,70 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
1073
1341
  };
1074
1342
  readonly type: "highlight";
1075
1343
  })[]];
1076
- readonly text: string;
1077
- readonly type: "text";
1344
+ readonly type: "mathInline";
1078
1345
  })[]];
1079
1346
  readonly maxMatches: number;
1080
1347
  }, ...{
1081
1348
  readonly id: string;
1082
1349
  readonly label: readonly [{
1350
+ readonly marks?: readonly [{
1351
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1352
+ } | {
1353
+ readonly attrs: {
1354
+ readonly href: string;
1355
+ };
1356
+ readonly type: "link";
1357
+ } | {
1358
+ readonly attrs: {
1359
+ readonly variant: "success" | "warning" | null;
1360
+ };
1361
+ readonly type: "highlight";
1362
+ }, ...({
1363
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1364
+ } | {
1365
+ readonly attrs: {
1366
+ readonly href: string;
1367
+ };
1368
+ readonly type: "link";
1369
+ } | {
1370
+ readonly attrs: {
1371
+ readonly variant: "success" | "warning" | null;
1372
+ };
1373
+ readonly type: "highlight";
1374
+ })[]];
1375
+ readonly text: string;
1376
+ readonly type: "text";
1377
+ } | {
1083
1378
  readonly attrs: {
1084
1379
  readonly latex: string;
1085
1380
  };
1381
+ readonly marks?: readonly [{
1382
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1383
+ } | {
1384
+ readonly attrs: {
1385
+ readonly href: string;
1386
+ };
1387
+ readonly type: "link";
1388
+ } | {
1389
+ readonly attrs: {
1390
+ readonly variant: "success" | "warning" | null;
1391
+ };
1392
+ readonly type: "highlight";
1393
+ }, ...({
1394
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1395
+ } | {
1396
+ readonly attrs: {
1397
+ readonly href: string;
1398
+ };
1399
+ readonly type: "link";
1400
+ } | {
1401
+ readonly attrs: {
1402
+ readonly variant: "success" | "warning" | null;
1403
+ };
1404
+ readonly type: "highlight";
1405
+ })[]];
1086
1406
  readonly type: "mathInline";
1087
- } | {
1407
+ }, ...({
1088
1408
  readonly marks?: readonly [{
1089
1409
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1090
1410
  } | {
@@ -1112,12 +1432,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
1112
1432
  })[]];
1113
1433
  readonly text: string;
1114
1434
  readonly type: "text";
1115
- }, ...({
1435
+ } | {
1116
1436
  readonly attrs: {
1117
1437
  readonly latex: string;
1118
1438
  };
1119
- readonly type: "mathInline";
1120
- } | {
1121
1439
  readonly marks?: readonly [{
1122
1440
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1123
1441
  } | {
@@ -1143,8 +1461,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
1143
1461
  };
1144
1462
  readonly type: "highlight";
1145
1463
  })[]];
1146
- readonly text: string;
1147
- readonly type: "text";
1464
+ readonly type: "mathInline";
1148
1465
  })[]];
1149
1466
  readonly maxMatches: number;
1150
1467
  }[]];
@@ -1230,6 +1547,23 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
1230
1547
  readonly kind: "graphPoint";
1231
1548
  readonly placing: "lines" | "points";
1232
1549
  readonly snap?: number;
1550
+ } | {
1551
+ readonly id: string;
1552
+ readonly label: string;
1553
+ readonly frame: {
1554
+ readonly kind: "cartesian";
1555
+ readonly x: {
1556
+ readonly max: number;
1557
+ readonly min: number;
1558
+ };
1559
+ readonly y: {
1560
+ readonly max: number;
1561
+ readonly min: number;
1562
+ };
1563
+ };
1564
+ readonly grid?: number;
1565
+ readonly kind: "sketch";
1566
+ readonly marks: readonly ("asymptote" | "point")[];
1233
1567
  })[]];
1234
1568
  readonly joint?: {
1235
1569
  readonly levels: readonly [{
@@ -1303,6 +1637,122 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
1303
1637
  } | {
1304
1638
  readonly key: {
1305
1639
  readonly answers: readonly [{
1640
+ readonly criteria: readonly [{
1641
+ readonly check: {
1642
+ readonly feature: {
1643
+ readonly contact: "cross" | "touch";
1644
+ readonly kind: "zero";
1645
+ readonly x: string;
1646
+ } | {
1647
+ readonly kind: "yIntercept";
1648
+ readonly y: string;
1649
+ } | {
1650
+ readonly kind: "extremum";
1651
+ readonly turn: "maximum" | "minimum";
1652
+ readonly x: string;
1653
+ readonly y: string;
1654
+ } | {
1655
+ readonly kind: "asymptote";
1656
+ readonly line: {
1657
+ readonly kind: "vertical";
1658
+ readonly x: string;
1659
+ } | {
1660
+ readonly intercept: string;
1661
+ readonly kind: "sloped";
1662
+ readonly slope: string;
1663
+ };
1664
+ } | {
1665
+ readonly direction: "falling" | "rising";
1666
+ readonly from: string | null;
1667
+ readonly kind: "interval";
1668
+ readonly to: string | null;
1669
+ } | {
1670
+ readonly kind: "end";
1671
+ readonly limit: string;
1672
+ readonly side: "left" | "right";
1673
+ } | {
1674
+ readonly kind: "inflection";
1675
+ readonly x: string;
1676
+ readonly y: string;
1677
+ } | {
1678
+ readonly end?: "closed" | "open";
1679
+ readonly kind: "point";
1680
+ readonly x: string;
1681
+ readonly y: string;
1682
+ };
1683
+ readonly kind: "feature";
1684
+ };
1685
+ readonly criterion: string;
1686
+ readonly feedback: {
1687
+ readonly earned: string;
1688
+ readonly missed: string;
1689
+ };
1690
+ readonly requires?: readonly [string, ...string[]];
1691
+ }, ...{
1692
+ readonly check: {
1693
+ readonly feature: {
1694
+ readonly contact: "cross" | "touch";
1695
+ readonly kind: "zero";
1696
+ readonly x: string;
1697
+ } | {
1698
+ readonly kind: "yIntercept";
1699
+ readonly y: string;
1700
+ } | {
1701
+ readonly kind: "extremum";
1702
+ readonly turn: "maximum" | "minimum";
1703
+ readonly x: string;
1704
+ readonly y: string;
1705
+ } | {
1706
+ readonly kind: "asymptote";
1707
+ readonly line: {
1708
+ readonly kind: "vertical";
1709
+ readonly x: string;
1710
+ } | {
1711
+ readonly intercept: string;
1712
+ readonly kind: "sloped";
1713
+ readonly slope: string;
1714
+ };
1715
+ } | {
1716
+ readonly direction: "falling" | "rising";
1717
+ readonly from: string | null;
1718
+ readonly kind: "interval";
1719
+ readonly to: string | null;
1720
+ } | {
1721
+ readonly kind: "end";
1722
+ readonly limit: string;
1723
+ readonly side: "left" | "right";
1724
+ } | {
1725
+ readonly kind: "inflection";
1726
+ readonly x: string;
1727
+ readonly y: string;
1728
+ } | {
1729
+ readonly end?: "closed" | "open";
1730
+ readonly kind: "point";
1731
+ readonly x: string;
1732
+ readonly y: string;
1733
+ };
1734
+ readonly kind: "feature";
1735
+ };
1736
+ readonly criterion: string;
1737
+ readonly feedback: {
1738
+ readonly earned: string;
1739
+ readonly missed: string;
1740
+ };
1741
+ readonly requires?: readonly [string, ...string[]];
1742
+ }[]];
1743
+ readonly interaction: string;
1744
+ readonly kind: "sketch";
1745
+ readonly tolerances: {
1746
+ readonly asymptote?: string;
1747
+ readonly end?: string;
1748
+ readonly extremum?: string;
1749
+ readonly inflection?: string;
1750
+ readonly interval?: string;
1751
+ readonly point?: string;
1752
+ readonly yIntercept?: string;
1753
+ readonly zero?: string;
1754
+ };
1755
+ } | {
1306
1756
  readonly interaction: string;
1307
1757
  readonly correct: readonly [string, ...string[]];
1308
1758
  readonly kind: "choice";
@@ -1398,6 +1848,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
1398
1848
  readonly interaction: string;
1399
1849
  readonly criteria: readonly [{
1400
1850
  readonly criterion: string;
1851
+ readonly feedback?: {
1852
+ readonly earned: string;
1853
+ readonly missed: string;
1854
+ };
1401
1855
  readonly levels: readonly [{
1402
1856
  readonly descriptor: string;
1403
1857
  readonly level: string;
@@ -1407,6 +1861,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
1407
1861
  }[]];
1408
1862
  }, ...{
1409
1863
  readonly criterion: string;
1864
+ readonly feedback?: {
1865
+ readonly earned: string;
1866
+ readonly missed: string;
1867
+ };
1410
1868
  readonly levels: readonly [{
1411
1869
  readonly descriptor: string;
1412
1870
  readonly level: string;
@@ -1425,6 +1883,122 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
1425
1883
  };
1426
1884
  readonly value: string;
1427
1885
  }, ...({
1886
+ readonly criteria: readonly [{
1887
+ readonly check: {
1888
+ readonly feature: {
1889
+ readonly contact: "cross" | "touch";
1890
+ readonly kind: "zero";
1891
+ readonly x: string;
1892
+ } | {
1893
+ readonly kind: "yIntercept";
1894
+ readonly y: string;
1895
+ } | {
1896
+ readonly kind: "extremum";
1897
+ readonly turn: "maximum" | "minimum";
1898
+ readonly x: string;
1899
+ readonly y: string;
1900
+ } | {
1901
+ readonly kind: "asymptote";
1902
+ readonly line: {
1903
+ readonly kind: "vertical";
1904
+ readonly x: string;
1905
+ } | {
1906
+ readonly intercept: string;
1907
+ readonly kind: "sloped";
1908
+ readonly slope: string;
1909
+ };
1910
+ } | {
1911
+ readonly direction: "falling" | "rising";
1912
+ readonly from: string | null;
1913
+ readonly kind: "interval";
1914
+ readonly to: string | null;
1915
+ } | {
1916
+ readonly kind: "end";
1917
+ readonly limit: string;
1918
+ readonly side: "left" | "right";
1919
+ } | {
1920
+ readonly kind: "inflection";
1921
+ readonly x: string;
1922
+ readonly y: string;
1923
+ } | {
1924
+ readonly end?: "closed" | "open";
1925
+ readonly kind: "point";
1926
+ readonly x: string;
1927
+ readonly y: string;
1928
+ };
1929
+ readonly kind: "feature";
1930
+ };
1931
+ readonly criterion: string;
1932
+ readonly feedback: {
1933
+ readonly earned: string;
1934
+ readonly missed: string;
1935
+ };
1936
+ readonly requires?: readonly [string, ...string[]];
1937
+ }, ...{
1938
+ readonly check: {
1939
+ readonly feature: {
1940
+ readonly contact: "cross" | "touch";
1941
+ readonly kind: "zero";
1942
+ readonly x: string;
1943
+ } | {
1944
+ readonly kind: "yIntercept";
1945
+ readonly y: string;
1946
+ } | {
1947
+ readonly kind: "extremum";
1948
+ readonly turn: "maximum" | "minimum";
1949
+ readonly x: string;
1950
+ readonly y: string;
1951
+ } | {
1952
+ readonly kind: "asymptote";
1953
+ readonly line: {
1954
+ readonly kind: "vertical";
1955
+ readonly x: string;
1956
+ } | {
1957
+ readonly intercept: string;
1958
+ readonly kind: "sloped";
1959
+ readonly slope: string;
1960
+ };
1961
+ } | {
1962
+ readonly direction: "falling" | "rising";
1963
+ readonly from: string | null;
1964
+ readonly kind: "interval";
1965
+ readonly to: string | null;
1966
+ } | {
1967
+ readonly kind: "end";
1968
+ readonly limit: string;
1969
+ readonly side: "left" | "right";
1970
+ } | {
1971
+ readonly kind: "inflection";
1972
+ readonly x: string;
1973
+ readonly y: string;
1974
+ } | {
1975
+ readonly end?: "closed" | "open";
1976
+ readonly kind: "point";
1977
+ readonly x: string;
1978
+ readonly y: string;
1979
+ };
1980
+ readonly kind: "feature";
1981
+ };
1982
+ readonly criterion: string;
1983
+ readonly feedback: {
1984
+ readonly earned: string;
1985
+ readonly missed: string;
1986
+ };
1987
+ readonly requires?: readonly [string, ...string[]];
1988
+ }[]];
1989
+ readonly interaction: string;
1990
+ readonly kind: "sketch";
1991
+ readonly tolerances: {
1992
+ readonly asymptote?: string;
1993
+ readonly end?: string;
1994
+ readonly extremum?: string;
1995
+ readonly inflection?: string;
1996
+ readonly interval?: string;
1997
+ readonly point?: string;
1998
+ readonly yIntercept?: string;
1999
+ readonly zero?: string;
2000
+ };
2001
+ } | {
1428
2002
  readonly interaction: string;
1429
2003
  readonly correct: readonly [string, ...string[]];
1430
2004
  readonly kind: "choice";
@@ -1520,6 +2094,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
1520
2094
  readonly interaction: string;
1521
2095
  readonly criteria: readonly [{
1522
2096
  readonly criterion: string;
2097
+ readonly feedback?: {
2098
+ readonly earned: string;
2099
+ readonly missed: string;
2100
+ };
1523
2101
  readonly levels: readonly [{
1524
2102
  readonly descriptor: string;
1525
2103
  readonly level: string;
@@ -1529,6 +2107,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
1529
2107
  }[]];
1530
2108
  }, ...{
1531
2109
  readonly criterion: string;
2110
+ readonly feedback?: {
2111
+ readonly earned: string;
2112
+ readonly missed: string;
2113
+ };
1532
2114
  readonly levels: readonly [{
1533
2115
  readonly descriptor: string;
1534
2116
  readonly level: string;