@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
@@ -381,7 +381,7 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
381
381
  readonly seconds: Schema.Int;
382
382
  }>>;
383
383
  readonly defaults: Schema.$Array<Schema.Struct<{
384
- readonly interaction: Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">)[]]>;
384
+ readonly interaction: Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">)[]]>;
385
385
  readonly rule: Schema.Union<readonly [Schema.Struct<{
386
386
  readonly kind: Schema.Literal<"allOrNothing">;
387
387
  }>, Schema.Struct<{
@@ -427,7 +427,7 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
427
427
  }>]>;
428
428
  readonly sections: Schema.NonEmptyArray<Schema.Struct<{
429
429
  readonly id: Schema.String;
430
- readonly interactions: Schema.NonEmptyArray<Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">)[]]>>;
430
+ readonly interactions: Schema.NonEmptyArray<Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">)[]]>>;
431
431
  readonly items: Schema.Int;
432
432
  readonly names: Schema.$Record<Schema.Literals<readonly ["en", "id", "de", "ms"]>, Schema.Trimmed>;
433
433
  readonly navigation: Schema.Literals<readonly ["free", "linear"]>;
@@ -572,6 +572,19 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
572
572
  readonly attrs: Schema.Struct<{
573
573
  readonly latex: Schema.Trimmed;
574
574
  }>;
575
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
576
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
577
+ }>, Schema.Struct<{
578
+ readonly attrs: Schema.Struct<{
579
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
580
+ }>;
581
+ readonly type: Schema.Literal<"highlight">;
582
+ }>, Schema.Struct<{
583
+ readonly attrs: Schema.Struct<{
584
+ readonly href: Schema.String;
585
+ }>;
586
+ readonly type: Schema.Literal<"link">;
587
+ }>]>>>;
575
588
  readonly type: Schema.Literal<"mathInline">;
576
589
  }>]>>;
577
590
  }>>;
@@ -653,6 +666,19 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
653
666
  readonly attrs: Schema.Struct<{
654
667
  readonly latex: Schema.Trimmed;
655
668
  }>;
669
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
670
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
671
+ }>, Schema.Struct<{
672
+ readonly attrs: Schema.Struct<{
673
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
674
+ }>;
675
+ readonly type: Schema.Literal<"highlight">;
676
+ }>, Schema.Struct<{
677
+ readonly attrs: Schema.Struct<{
678
+ readonly href: Schema.String;
679
+ }>;
680
+ readonly type: Schema.Literal<"link">;
681
+ }>]>>>;
656
682
  readonly type: Schema.Literal<"mathInline">;
657
683
  }>]>>;
658
684
  readonly maxMatches: Schema.Int;
@@ -685,6 +711,23 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
685
711
  readonly label: Schema.Trimmed;
686
712
  readonly expectedLines: Schema.optionalKey<Schema.Int>;
687
713
  readonly kind: Schema.Literal<"extendedText">;
714
+ }>, Schema.Struct<{
715
+ readonly id: Schema.String;
716
+ readonly label: Schema.Trimmed;
717
+ readonly frame: Schema.Struct<{
718
+ readonly kind: Schema.Literal<"cartesian">;
719
+ readonly x: Schema.Struct<{
720
+ readonly max: Schema.Finite;
721
+ readonly min: Schema.Finite;
722
+ }>;
723
+ readonly y: Schema.Struct<{
724
+ readonly max: Schema.Finite;
725
+ readonly min: Schema.Finite;
726
+ }>;
727
+ }>;
728
+ readonly grid: Schema.optionalKey<Schema.Finite>;
729
+ readonly kind: Schema.Literal<"sketch">;
730
+ readonly marks: Schema.$Array<Schema.Literals<readonly ["asymptote", "point"]>>;
688
731
  }>]>>;
689
732
  readonly joint: Schema.optionalKey<Schema.Struct<{
690
733
  readonly levels: Schema.NonEmptyArray<Schema.Struct<{
@@ -827,12 +870,81 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
827
870
  readonly interaction: Schema.String;
828
871
  readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
829
872
  readonly criterion: Schema.String;
873
+ readonly feedback: Schema.optionalKey<Schema.Struct<{
874
+ readonly earned: Schema.Trimmed;
875
+ readonly missed: Schema.Trimmed;
876
+ }>>;
830
877
  readonly levels: Schema.NonEmptyArray<Schema.Struct<{
831
878
  readonly descriptor: Schema.Trimmed;
832
879
  readonly level: Schema.String;
833
880
  }>>;
834
881
  }>>;
835
882
  readonly kind: Schema.Literal<"extendedText">;
883
+ }>, Schema.Struct<{
884
+ readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
885
+ readonly check: Schema.Struct<{
886
+ readonly feature: Schema.Union<readonly [Schema.Struct<{
887
+ readonly contact: Schema.Literals<readonly ["cross", "touch"]>;
888
+ readonly kind: Schema.Literal<"zero">;
889
+ readonly x: Schema.String;
890
+ }>, Schema.Struct<{
891
+ readonly kind: Schema.Literal<"yIntercept">;
892
+ readonly y: Schema.String;
893
+ }>, Schema.Struct<{
894
+ readonly kind: Schema.Literal<"extremum">;
895
+ readonly turn: Schema.Literals<readonly ["maximum", "minimum"]>;
896
+ readonly x: Schema.String;
897
+ readonly y: Schema.String;
898
+ }>, Schema.Struct<{
899
+ readonly kind: Schema.Literal<"asymptote">;
900
+ readonly line: Schema.Union<readonly [Schema.Struct<{
901
+ readonly kind: Schema.Literal<"vertical">;
902
+ readonly x: Schema.String;
903
+ }>, Schema.Struct<{
904
+ readonly intercept: Schema.String;
905
+ readonly kind: Schema.Literal<"sloped">;
906
+ readonly slope: Schema.String;
907
+ }>]>;
908
+ }>, Schema.Struct<{
909
+ readonly direction: Schema.Literals<readonly ["falling", "rising"]>;
910
+ readonly from: Schema.NullOr<Schema.String>;
911
+ readonly kind: Schema.Literal<"interval">;
912
+ readonly to: Schema.NullOr<Schema.String>;
913
+ }>, Schema.Struct<{
914
+ readonly kind: Schema.Literal<"end">;
915
+ readonly limit: Schema.Union<readonly [Schema.Literals<readonly ["negativeInfinity", "positiveInfinity"]>, Schema.String]>;
916
+ readonly side: Schema.Literals<readonly ["left", "right"]>;
917
+ }>, Schema.Struct<{
918
+ readonly kind: Schema.Literal<"inflection">;
919
+ readonly x: Schema.String;
920
+ readonly y: Schema.String;
921
+ }>, Schema.Struct<{
922
+ readonly end: Schema.optionalKey<Schema.Literals<readonly ["closed", "open"]>>;
923
+ readonly kind: Schema.Literal<"point">;
924
+ readonly x: Schema.String;
925
+ readonly y: Schema.String;
926
+ }>]>;
927
+ readonly kind: Schema.Literal<"feature">;
928
+ }>;
929
+ readonly criterion: Schema.String;
930
+ readonly feedback: Schema.Struct<{
931
+ readonly earned: Schema.Trimmed;
932
+ readonly missed: Schema.Trimmed;
933
+ }>;
934
+ readonly requires: Schema.optionalKey<Schema.NonEmptyArray<Schema.String>>;
935
+ }>>;
936
+ readonly interaction: Schema.String;
937
+ readonly kind: Schema.Literal<"sketch">;
938
+ readonly tolerances: Schema.Struct<{
939
+ readonly asymptote: Schema.optionalKey<Schema.String>;
940
+ readonly end: Schema.optionalKey<Schema.String>;
941
+ readonly extremum: Schema.optionalKey<Schema.String>;
942
+ readonly inflection: Schema.optionalKey<Schema.String>;
943
+ readonly interval: Schema.optionalKey<Schema.String>;
944
+ readonly point: Schema.optionalKey<Schema.String>;
945
+ readonly yIntercept: Schema.optionalKey<Schema.String>;
946
+ readonly zero: Schema.optionalKey<Schema.String>;
947
+ }>;
836
948
  }>]>>;
837
949
  readonly version: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
838
950
  }>;
@@ -1443,7 +1555,7 @@ export declare const StageGroupInputSchema: Schema.Struct<{
1443
1555
  readonly seconds: Schema.Int;
1444
1556
  }>>;
1445
1557
  readonly defaults: Schema.$Array<Schema.Struct<{
1446
- readonly interaction: Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">)[]]>;
1558
+ readonly interaction: Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">)[]]>;
1447
1559
  readonly rule: Schema.Union<readonly [Schema.Struct<{
1448
1560
  readonly kind: Schema.Literal<"allOrNothing">;
1449
1561
  }>, Schema.Struct<{
@@ -1489,7 +1601,7 @@ export declare const StageGroupInputSchema: Schema.Struct<{
1489
1601
  }>]>;
1490
1602
  readonly sections: Schema.NonEmptyArray<Schema.Struct<{
1491
1603
  readonly id: Schema.String;
1492
- readonly interactions: Schema.NonEmptyArray<Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">)[]]>>;
1604
+ readonly interactions: Schema.NonEmptyArray<Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">)[]]>>;
1493
1605
  readonly items: Schema.Int;
1494
1606
  readonly names: Schema.$Record<Schema.Literals<readonly ["en", "id", "de", "ms"]>, Schema.Trimmed>;
1495
1607
  readonly navigation: Schema.Literals<readonly ["free", "linear"]>;
@@ -1634,6 +1746,19 @@ export declare const StageGroupInputSchema: Schema.Struct<{
1634
1746
  readonly attrs: Schema.Struct<{
1635
1747
  readonly latex: Schema.Trimmed;
1636
1748
  }>;
1749
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1750
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1751
+ }>, Schema.Struct<{
1752
+ readonly attrs: Schema.Struct<{
1753
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
1754
+ }>;
1755
+ readonly type: Schema.Literal<"highlight">;
1756
+ }>, Schema.Struct<{
1757
+ readonly attrs: Schema.Struct<{
1758
+ readonly href: Schema.String;
1759
+ }>;
1760
+ readonly type: Schema.Literal<"link">;
1761
+ }>]>>>;
1637
1762
  readonly type: Schema.Literal<"mathInline">;
1638
1763
  }>]>>;
1639
1764
  }>>;
@@ -1715,6 +1840,19 @@ export declare const StageGroupInputSchema: Schema.Struct<{
1715
1840
  readonly attrs: Schema.Struct<{
1716
1841
  readonly latex: Schema.Trimmed;
1717
1842
  }>;
1843
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1844
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1845
+ }>, Schema.Struct<{
1846
+ readonly attrs: Schema.Struct<{
1847
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
1848
+ }>;
1849
+ readonly type: Schema.Literal<"highlight">;
1850
+ }>, Schema.Struct<{
1851
+ readonly attrs: Schema.Struct<{
1852
+ readonly href: Schema.String;
1853
+ }>;
1854
+ readonly type: Schema.Literal<"link">;
1855
+ }>]>>>;
1718
1856
  readonly type: Schema.Literal<"mathInline">;
1719
1857
  }>]>>;
1720
1858
  readonly maxMatches: Schema.Int;
@@ -1747,6 +1885,23 @@ export declare const StageGroupInputSchema: Schema.Struct<{
1747
1885
  readonly label: Schema.Trimmed;
1748
1886
  readonly expectedLines: Schema.optionalKey<Schema.Int>;
1749
1887
  readonly kind: Schema.Literal<"extendedText">;
1888
+ }>, Schema.Struct<{
1889
+ readonly id: Schema.String;
1890
+ readonly label: Schema.Trimmed;
1891
+ readonly frame: Schema.Struct<{
1892
+ readonly kind: Schema.Literal<"cartesian">;
1893
+ readonly x: Schema.Struct<{
1894
+ readonly max: Schema.Finite;
1895
+ readonly min: Schema.Finite;
1896
+ }>;
1897
+ readonly y: Schema.Struct<{
1898
+ readonly max: Schema.Finite;
1899
+ readonly min: Schema.Finite;
1900
+ }>;
1901
+ }>;
1902
+ readonly grid: Schema.optionalKey<Schema.Finite>;
1903
+ readonly kind: Schema.Literal<"sketch">;
1904
+ readonly marks: Schema.$Array<Schema.Literals<readonly ["asymptote", "point"]>>;
1750
1905
  }>]>>;
1751
1906
  readonly joint: Schema.optionalKey<Schema.Struct<{
1752
1907
  readonly levels: Schema.NonEmptyArray<Schema.Struct<{
@@ -1889,12 +2044,81 @@ export declare const StageGroupInputSchema: Schema.Struct<{
1889
2044
  readonly interaction: Schema.String;
1890
2045
  readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
1891
2046
  readonly criterion: Schema.String;
2047
+ readonly feedback: Schema.optionalKey<Schema.Struct<{
2048
+ readonly earned: Schema.Trimmed;
2049
+ readonly missed: Schema.Trimmed;
2050
+ }>>;
1892
2051
  readonly levels: Schema.NonEmptyArray<Schema.Struct<{
1893
2052
  readonly descriptor: Schema.Trimmed;
1894
2053
  readonly level: Schema.String;
1895
2054
  }>>;
1896
2055
  }>>;
1897
2056
  readonly kind: Schema.Literal<"extendedText">;
2057
+ }>, Schema.Struct<{
2058
+ readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
2059
+ readonly check: Schema.Struct<{
2060
+ readonly feature: Schema.Union<readonly [Schema.Struct<{
2061
+ readonly contact: Schema.Literals<readonly ["cross", "touch"]>;
2062
+ readonly kind: Schema.Literal<"zero">;
2063
+ readonly x: Schema.String;
2064
+ }>, Schema.Struct<{
2065
+ readonly kind: Schema.Literal<"yIntercept">;
2066
+ readonly y: Schema.String;
2067
+ }>, Schema.Struct<{
2068
+ readonly kind: Schema.Literal<"extremum">;
2069
+ readonly turn: Schema.Literals<readonly ["maximum", "minimum"]>;
2070
+ readonly x: Schema.String;
2071
+ readonly y: Schema.String;
2072
+ }>, Schema.Struct<{
2073
+ readonly kind: Schema.Literal<"asymptote">;
2074
+ readonly line: Schema.Union<readonly [Schema.Struct<{
2075
+ readonly kind: Schema.Literal<"vertical">;
2076
+ readonly x: Schema.String;
2077
+ }>, Schema.Struct<{
2078
+ readonly intercept: Schema.String;
2079
+ readonly kind: Schema.Literal<"sloped">;
2080
+ readonly slope: Schema.String;
2081
+ }>]>;
2082
+ }>, Schema.Struct<{
2083
+ readonly direction: Schema.Literals<readonly ["falling", "rising"]>;
2084
+ readonly from: Schema.NullOr<Schema.String>;
2085
+ readonly kind: Schema.Literal<"interval">;
2086
+ readonly to: Schema.NullOr<Schema.String>;
2087
+ }>, Schema.Struct<{
2088
+ readonly kind: Schema.Literal<"end">;
2089
+ readonly limit: Schema.Union<readonly [Schema.Literals<readonly ["negativeInfinity", "positiveInfinity"]>, Schema.String]>;
2090
+ readonly side: Schema.Literals<readonly ["left", "right"]>;
2091
+ }>, Schema.Struct<{
2092
+ readonly kind: Schema.Literal<"inflection">;
2093
+ readonly x: Schema.String;
2094
+ readonly y: Schema.String;
2095
+ }>, Schema.Struct<{
2096
+ readonly end: Schema.optionalKey<Schema.Literals<readonly ["closed", "open"]>>;
2097
+ readonly kind: Schema.Literal<"point">;
2098
+ readonly x: Schema.String;
2099
+ readonly y: Schema.String;
2100
+ }>]>;
2101
+ readonly kind: Schema.Literal<"feature">;
2102
+ }>;
2103
+ readonly criterion: Schema.String;
2104
+ readonly feedback: Schema.Struct<{
2105
+ readonly earned: Schema.Trimmed;
2106
+ readonly missed: Schema.Trimmed;
2107
+ }>;
2108
+ readonly requires: Schema.optionalKey<Schema.NonEmptyArray<Schema.String>>;
2109
+ }>>;
2110
+ readonly interaction: Schema.String;
2111
+ readonly kind: Schema.Literal<"sketch">;
2112
+ readonly tolerances: Schema.Struct<{
2113
+ readonly asymptote: Schema.optionalKey<Schema.String>;
2114
+ readonly end: Schema.optionalKey<Schema.String>;
2115
+ readonly extremum: Schema.optionalKey<Schema.String>;
2116
+ readonly inflection: Schema.optionalKey<Schema.String>;
2117
+ readonly interval: Schema.optionalKey<Schema.String>;
2118
+ readonly point: Schema.optionalKey<Schema.String>;
2119
+ readonly yIntercept: Schema.optionalKey<Schema.String>;
2120
+ readonly zero: Schema.optionalKey<Schema.String>;
2121
+ }>;
1898
2122
  }>]>>;
1899
2123
  readonly version: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
1900
2124
  }>;
@@ -2506,7 +2730,7 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
2506
2730
  readonly seconds: Schema.Int;
2507
2731
  }>>;
2508
2732
  readonly defaults: Schema.$Array<Schema.Struct<{
2509
- readonly interaction: Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">)[]]>;
2733
+ readonly interaction: Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">)[]]>;
2510
2734
  readonly rule: Schema.Union<readonly [Schema.Struct<{
2511
2735
  readonly kind: Schema.Literal<"allOrNothing">;
2512
2736
  }>, Schema.Struct<{
@@ -2552,7 +2776,7 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
2552
2776
  }>]>;
2553
2777
  readonly sections: Schema.NonEmptyArray<Schema.Struct<{
2554
2778
  readonly id: Schema.String;
2555
- readonly interactions: Schema.NonEmptyArray<Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">)[]]>>;
2779
+ readonly interactions: Schema.NonEmptyArray<Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">)[]]>>;
2556
2780
  readonly items: Schema.Int;
2557
2781
  readonly names: Schema.$Record<Schema.Literals<readonly ["en", "id", "de", "ms"]>, Schema.Trimmed>;
2558
2782
  readonly navigation: Schema.Literals<readonly ["free", "linear"]>;
@@ -2697,6 +2921,19 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
2697
2921
  readonly attrs: Schema.Struct<{
2698
2922
  readonly latex: Schema.Trimmed;
2699
2923
  }>;
2924
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2925
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2926
+ }>, Schema.Struct<{
2927
+ readonly attrs: Schema.Struct<{
2928
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
2929
+ }>;
2930
+ readonly type: Schema.Literal<"highlight">;
2931
+ }>, Schema.Struct<{
2932
+ readonly attrs: Schema.Struct<{
2933
+ readonly href: Schema.String;
2934
+ }>;
2935
+ readonly type: Schema.Literal<"link">;
2936
+ }>]>>>;
2700
2937
  readonly type: Schema.Literal<"mathInline">;
2701
2938
  }>]>>;
2702
2939
  }>>;
@@ -2778,6 +3015,19 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
2778
3015
  readonly attrs: Schema.Struct<{
2779
3016
  readonly latex: Schema.Trimmed;
2780
3017
  }>;
3018
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
3019
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
3020
+ }>, Schema.Struct<{
3021
+ readonly attrs: Schema.Struct<{
3022
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
3023
+ }>;
3024
+ readonly type: Schema.Literal<"highlight">;
3025
+ }>, Schema.Struct<{
3026
+ readonly attrs: Schema.Struct<{
3027
+ readonly href: Schema.String;
3028
+ }>;
3029
+ readonly type: Schema.Literal<"link">;
3030
+ }>]>>>;
2781
3031
  readonly type: Schema.Literal<"mathInline">;
2782
3032
  }>]>>;
2783
3033
  readonly maxMatches: Schema.Int;
@@ -2810,6 +3060,23 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
2810
3060
  readonly label: Schema.Trimmed;
2811
3061
  readonly expectedLines: Schema.optionalKey<Schema.Int>;
2812
3062
  readonly kind: Schema.Literal<"extendedText">;
3063
+ }>, Schema.Struct<{
3064
+ readonly id: Schema.String;
3065
+ readonly label: Schema.Trimmed;
3066
+ readonly frame: Schema.Struct<{
3067
+ readonly kind: Schema.Literal<"cartesian">;
3068
+ readonly x: Schema.Struct<{
3069
+ readonly max: Schema.Finite;
3070
+ readonly min: Schema.Finite;
3071
+ }>;
3072
+ readonly y: Schema.Struct<{
3073
+ readonly max: Schema.Finite;
3074
+ readonly min: Schema.Finite;
3075
+ }>;
3076
+ }>;
3077
+ readonly grid: Schema.optionalKey<Schema.Finite>;
3078
+ readonly kind: Schema.Literal<"sketch">;
3079
+ readonly marks: Schema.$Array<Schema.Literals<readonly ["asymptote", "point"]>>;
2813
3080
  }>]>>;
2814
3081
  readonly joint: Schema.optionalKey<Schema.Struct<{
2815
3082
  readonly levels: Schema.NonEmptyArray<Schema.Struct<{
@@ -2952,12 +3219,81 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
2952
3219
  readonly interaction: Schema.String;
2953
3220
  readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
2954
3221
  readonly criterion: Schema.String;
3222
+ readonly feedback: Schema.optionalKey<Schema.Struct<{
3223
+ readonly earned: Schema.Trimmed;
3224
+ readonly missed: Schema.Trimmed;
3225
+ }>>;
2955
3226
  readonly levels: Schema.NonEmptyArray<Schema.Struct<{
2956
3227
  readonly descriptor: Schema.Trimmed;
2957
3228
  readonly level: Schema.String;
2958
3229
  }>>;
2959
3230
  }>>;
2960
3231
  readonly kind: Schema.Literal<"extendedText">;
3232
+ }>, Schema.Struct<{
3233
+ readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
3234
+ readonly check: Schema.Struct<{
3235
+ readonly feature: Schema.Union<readonly [Schema.Struct<{
3236
+ readonly contact: Schema.Literals<readonly ["cross", "touch"]>;
3237
+ readonly kind: Schema.Literal<"zero">;
3238
+ readonly x: Schema.String;
3239
+ }>, Schema.Struct<{
3240
+ readonly kind: Schema.Literal<"yIntercept">;
3241
+ readonly y: Schema.String;
3242
+ }>, Schema.Struct<{
3243
+ readonly kind: Schema.Literal<"extremum">;
3244
+ readonly turn: Schema.Literals<readonly ["maximum", "minimum"]>;
3245
+ readonly x: Schema.String;
3246
+ readonly y: Schema.String;
3247
+ }>, Schema.Struct<{
3248
+ readonly kind: Schema.Literal<"asymptote">;
3249
+ readonly line: Schema.Union<readonly [Schema.Struct<{
3250
+ readonly kind: Schema.Literal<"vertical">;
3251
+ readonly x: Schema.String;
3252
+ }>, Schema.Struct<{
3253
+ readonly intercept: Schema.String;
3254
+ readonly kind: Schema.Literal<"sloped">;
3255
+ readonly slope: Schema.String;
3256
+ }>]>;
3257
+ }>, Schema.Struct<{
3258
+ readonly direction: Schema.Literals<readonly ["falling", "rising"]>;
3259
+ readonly from: Schema.NullOr<Schema.String>;
3260
+ readonly kind: Schema.Literal<"interval">;
3261
+ readonly to: Schema.NullOr<Schema.String>;
3262
+ }>, Schema.Struct<{
3263
+ readonly kind: Schema.Literal<"end">;
3264
+ readonly limit: Schema.Union<readonly [Schema.Literals<readonly ["negativeInfinity", "positiveInfinity"]>, Schema.String]>;
3265
+ readonly side: Schema.Literals<readonly ["left", "right"]>;
3266
+ }>, Schema.Struct<{
3267
+ readonly kind: Schema.Literal<"inflection">;
3268
+ readonly x: Schema.String;
3269
+ readonly y: Schema.String;
3270
+ }>, Schema.Struct<{
3271
+ readonly end: Schema.optionalKey<Schema.Literals<readonly ["closed", "open"]>>;
3272
+ readonly kind: Schema.Literal<"point">;
3273
+ readonly x: Schema.String;
3274
+ readonly y: Schema.String;
3275
+ }>]>;
3276
+ readonly kind: Schema.Literal<"feature">;
3277
+ }>;
3278
+ readonly criterion: Schema.String;
3279
+ readonly feedback: Schema.Struct<{
3280
+ readonly earned: Schema.Trimmed;
3281
+ readonly missed: Schema.Trimmed;
3282
+ }>;
3283
+ readonly requires: Schema.optionalKey<Schema.NonEmptyArray<Schema.String>>;
3284
+ }>>;
3285
+ readonly interaction: Schema.String;
3286
+ readonly kind: Schema.Literal<"sketch">;
3287
+ readonly tolerances: Schema.Struct<{
3288
+ readonly asymptote: Schema.optionalKey<Schema.String>;
3289
+ readonly end: Schema.optionalKey<Schema.String>;
3290
+ readonly extremum: Schema.optionalKey<Schema.String>;
3291
+ readonly inflection: Schema.optionalKey<Schema.String>;
3292
+ readonly interval: Schema.optionalKey<Schema.String>;
3293
+ readonly point: Schema.optionalKey<Schema.String>;
3294
+ readonly yIntercept: Schema.optionalKey<Schema.String>;
3295
+ readonly zero: Schema.optionalKey<Schema.String>;
3296
+ }>;
2961
3297
  }>]>>;
2962
3298
  readonly version: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
2963
3299
  }>;