@nakafa/aksara-contracts 8.4.1 → 8.9.1

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 (78) hide show
  1. package/dist/assessment/answer.d.ts +2 -0
  2. package/dist/assessment/answer.js +5 -3
  3. package/dist/assessment/closure.js +2 -1
  4. package/dist/assessment/fit.d.ts +16 -2
  5. package/dist/assessment/fit.js +23 -5
  6. package/dist/assessment/graphic.d.ts +27 -0
  7. package/dist/assessment/graphic.js +17 -1
  8. package/dist/assessment/hash.d.ts +71 -3
  9. package/dist/assessment/interaction.d.ts +18 -1
  10. package/dist/assessment/interaction.js +2 -1
  11. package/dist/assessment/item.d.ts +85 -0
  12. package/dist/assessment/item.js +1 -1
  13. package/dist/assessment/joint.d.ts +4 -3
  14. package/dist/assessment/joint.js +4 -3
  15. package/dist/assessment/key.d.ts +138 -0
  16. package/dist/assessment/key.js +6 -0
  17. package/dist/assessment/paper.d.ts +316 -0
  18. package/dist/assessment/profile.d.ts +3 -3
  19. package/dist/assessment/profile.js +4 -4
  20. package/dist/assessment/rows.d.ts +285 -3
  21. package/dist/assessment/scoring.d.ts +12 -6
  22. package/dist/assessment/scoring.js +25 -8
  23. package/dist/assessment/sketch.d.ts +125 -0
  24. package/dist/assessment/sketch.js +175 -0
  25. package/dist/assessment/snapshot.d.ts +746 -10
  26. package/dist/assessment/structure.js +4 -4
  27. package/dist/hash/sha256.d.ts +16 -0
  28. package/dist/hash/sha256.js +164 -0
  29. package/dist/hash/stream.d.ts +7 -5
  30. package/dist/hash/stream.js +13 -18
  31. package/dist/math/boundary.js +3 -22
  32. package/dist/math/edge.d.ts +11 -0
  33. package/dist/math/edge.js +74 -0
  34. package/dist/math/graph.d.ts +9 -0
  35. package/dist/math/graph.js +66 -0
  36. package/dist/math/plane.js +6 -0
  37. package/dist/math/shape.d.ts +392 -0
  38. package/dist/math/shape.js +59 -0
  39. package/dist/math/straight.d.ts +13 -0
  40. package/dist/math/straight.js +26 -0
  41. package/dist/release/snapshot/data.d.ts +88 -2
  42. package/dist/release/snapshot/verify.d.ts +285 -3
  43. package/dist/transport/group.d.ts +264 -6
  44. package/dist/transport/request.d.ts +1886 -22
  45. package/dist/transport/snapshot.d.ts +176 -4
  46. package/dist/visual/biology/blood.d.ts +91 -0
  47. package/dist/visual/biology/blood.js +55 -0
  48. package/dist/visual/biology/heart.d.ts +92 -0
  49. package/dist/visual/biology/heart.js +54 -0
  50. package/dist/visual/biology/mitochondrion.d.ts +91 -0
  51. package/dist/visual/biology/mitochondrion.js +45 -0
  52. package/dist/visual/biology/muscle.d.ts +103 -0
  53. package/dist/visual/biology/muscle.js +62 -0
  54. package/dist/visual/biology/neuron.d.ts +97 -0
  55. package/dist/visual/biology/neuron.js +48 -0
  56. package/dist/visual/biology/paddy.d.ts +100 -0
  57. package/dist/visual/biology/paddy.js +54 -0
  58. package/dist/visual/biology/synapse.d.ts +101 -0
  59. package/dist/visual/biology/synapse.js +46 -0
  60. package/dist/visual/biology/vessel.d.ts +104 -0
  61. package/dist/visual/biology/vessel.js +60 -0
  62. package/dist/visual/biology/yeast.d.ts +108 -0
  63. package/dist/visual/biology/yeast.js +61 -0
  64. package/dist/visual/catalog.d.ts +2177 -778
  65. package/dist/visual/catalog.js +28 -0
  66. package/dist/visual/mathematics/journey.d.ts +118 -0
  67. package/dist/visual/mathematics/journey.js +125 -0
  68. package/dist/visual/mathematics/logic.d.ts +90 -0
  69. package/dist/visual/mathematics/logic.js +49 -0
  70. package/dist/visual/mathematics/network.d.ts +101 -0
  71. package/dist/visual/mathematics/network.js +97 -0
  72. package/dist/visual/mathematics/numeral.d.ts +81 -0
  73. package/dist/visual/mathematics/numeral.js +48 -0
  74. package/dist/visual/mathematics/sets.d.ts +92 -0
  75. package/dist/visual/mathematics/sets.js +95 -0
  76. package/dist/visual/physics/thermodynamics.d.ts +117 -0
  77. package/dist/visual/physics/thermodynamics.js +95 -0
  78. 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"]>;
@@ -685,6 +685,23 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
685
685
  readonly label: Schema.Trimmed;
686
686
  readonly expectedLines: Schema.optionalKey<Schema.Int>;
687
687
  readonly kind: Schema.Literal<"extendedText">;
688
+ }>, Schema.Struct<{
689
+ readonly id: Schema.String;
690
+ readonly label: Schema.Trimmed;
691
+ readonly frame: Schema.Struct<{
692
+ readonly kind: Schema.Literal<"cartesian">;
693
+ readonly x: Schema.Struct<{
694
+ readonly max: Schema.Finite;
695
+ readonly min: Schema.Finite;
696
+ }>;
697
+ readonly y: Schema.Struct<{
698
+ readonly max: Schema.Finite;
699
+ readonly min: Schema.Finite;
700
+ }>;
701
+ }>;
702
+ readonly grid: Schema.optionalKey<Schema.Finite>;
703
+ readonly kind: Schema.Literal<"sketch">;
704
+ readonly marks: Schema.$Array<Schema.Literals<readonly ["asymptote", "point"]>>;
688
705
  }>]>>;
689
706
  readonly joint: Schema.optionalKey<Schema.Struct<{
690
707
  readonly levels: Schema.NonEmptyArray<Schema.Struct<{
@@ -827,12 +844,81 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
827
844
  readonly interaction: Schema.String;
828
845
  readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
829
846
  readonly criterion: Schema.String;
847
+ readonly feedback: Schema.optionalKey<Schema.Struct<{
848
+ readonly earned: Schema.Trimmed;
849
+ readonly missed: Schema.Trimmed;
850
+ }>>;
830
851
  readonly levels: Schema.NonEmptyArray<Schema.Struct<{
831
852
  readonly descriptor: Schema.Trimmed;
832
853
  readonly level: Schema.String;
833
854
  }>>;
834
855
  }>>;
835
856
  readonly kind: Schema.Literal<"extendedText">;
857
+ }>, Schema.Struct<{
858
+ readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
859
+ readonly check: Schema.Struct<{
860
+ readonly feature: Schema.Union<readonly [Schema.Struct<{
861
+ readonly contact: Schema.Literals<readonly ["cross", "touch"]>;
862
+ readonly kind: Schema.Literal<"zero">;
863
+ readonly x: Schema.String;
864
+ }>, Schema.Struct<{
865
+ readonly kind: Schema.Literal<"yIntercept">;
866
+ readonly y: Schema.String;
867
+ }>, Schema.Struct<{
868
+ readonly kind: Schema.Literal<"extremum">;
869
+ readonly turn: Schema.Literals<readonly ["maximum", "minimum"]>;
870
+ readonly x: Schema.String;
871
+ readonly y: Schema.String;
872
+ }>, Schema.Struct<{
873
+ readonly kind: Schema.Literal<"asymptote">;
874
+ readonly line: Schema.Union<readonly [Schema.Struct<{
875
+ readonly kind: Schema.Literal<"vertical">;
876
+ readonly x: Schema.String;
877
+ }>, Schema.Struct<{
878
+ readonly intercept: Schema.String;
879
+ readonly kind: Schema.Literal<"sloped">;
880
+ readonly slope: Schema.String;
881
+ }>]>;
882
+ }>, Schema.Struct<{
883
+ readonly direction: Schema.Literals<readonly ["falling", "rising"]>;
884
+ readonly from: Schema.NullOr<Schema.String>;
885
+ readonly kind: Schema.Literal<"interval">;
886
+ readonly to: Schema.NullOr<Schema.String>;
887
+ }>, Schema.Struct<{
888
+ readonly kind: Schema.Literal<"end">;
889
+ readonly limit: Schema.Union<readonly [Schema.Literals<readonly ["negativeInfinity", "positiveInfinity"]>, Schema.String]>;
890
+ readonly side: Schema.Literals<readonly ["left", "right"]>;
891
+ }>, Schema.Struct<{
892
+ readonly kind: Schema.Literal<"inflection">;
893
+ readonly x: Schema.String;
894
+ readonly y: Schema.String;
895
+ }>, Schema.Struct<{
896
+ readonly end: Schema.optionalKey<Schema.Literals<readonly ["closed", "open"]>>;
897
+ readonly kind: Schema.Literal<"point">;
898
+ readonly x: Schema.String;
899
+ readonly y: Schema.String;
900
+ }>]>;
901
+ readonly kind: Schema.Literal<"feature">;
902
+ }>;
903
+ readonly criterion: Schema.String;
904
+ readonly feedback: Schema.Struct<{
905
+ readonly earned: Schema.Trimmed;
906
+ readonly missed: Schema.Trimmed;
907
+ }>;
908
+ readonly requires: Schema.optionalKey<Schema.NonEmptyArray<Schema.String>>;
909
+ }>>;
910
+ readonly interaction: Schema.String;
911
+ readonly kind: Schema.Literal<"sketch">;
912
+ readonly tolerances: Schema.Struct<{
913
+ readonly asymptote: Schema.optionalKey<Schema.String>;
914
+ readonly end: Schema.optionalKey<Schema.String>;
915
+ readonly extremum: Schema.optionalKey<Schema.String>;
916
+ readonly inflection: Schema.optionalKey<Schema.String>;
917
+ readonly interval: Schema.optionalKey<Schema.String>;
918
+ readonly point: Schema.optionalKey<Schema.String>;
919
+ readonly yIntercept: Schema.optionalKey<Schema.String>;
920
+ readonly zero: Schema.optionalKey<Schema.String>;
921
+ }>;
836
922
  }>]>>;
837
923
  readonly version: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
838
924
  }>;
@@ -1443,7 +1529,7 @@ export declare const StageGroupInputSchema: Schema.Struct<{
1443
1529
  readonly seconds: Schema.Int;
1444
1530
  }>>;
1445
1531
  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">)[]]>;
1532
+ 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
1533
  readonly rule: Schema.Union<readonly [Schema.Struct<{
1448
1534
  readonly kind: Schema.Literal<"allOrNothing">;
1449
1535
  }>, Schema.Struct<{
@@ -1489,7 +1575,7 @@ export declare const StageGroupInputSchema: Schema.Struct<{
1489
1575
  }>]>;
1490
1576
  readonly sections: Schema.NonEmptyArray<Schema.Struct<{
1491
1577
  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">)[]]>>;
1578
+ 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
1579
  readonly items: Schema.Int;
1494
1580
  readonly names: Schema.$Record<Schema.Literals<readonly ["en", "id", "de", "ms"]>, Schema.Trimmed>;
1495
1581
  readonly navigation: Schema.Literals<readonly ["free", "linear"]>;
@@ -1747,6 +1833,23 @@ export declare const StageGroupInputSchema: Schema.Struct<{
1747
1833
  readonly label: Schema.Trimmed;
1748
1834
  readonly expectedLines: Schema.optionalKey<Schema.Int>;
1749
1835
  readonly kind: Schema.Literal<"extendedText">;
1836
+ }>, Schema.Struct<{
1837
+ readonly id: Schema.String;
1838
+ readonly label: Schema.Trimmed;
1839
+ readonly frame: Schema.Struct<{
1840
+ readonly kind: Schema.Literal<"cartesian">;
1841
+ readonly x: Schema.Struct<{
1842
+ readonly max: Schema.Finite;
1843
+ readonly min: Schema.Finite;
1844
+ }>;
1845
+ readonly y: Schema.Struct<{
1846
+ readonly max: Schema.Finite;
1847
+ readonly min: Schema.Finite;
1848
+ }>;
1849
+ }>;
1850
+ readonly grid: Schema.optionalKey<Schema.Finite>;
1851
+ readonly kind: Schema.Literal<"sketch">;
1852
+ readonly marks: Schema.$Array<Schema.Literals<readonly ["asymptote", "point"]>>;
1750
1853
  }>]>>;
1751
1854
  readonly joint: Schema.optionalKey<Schema.Struct<{
1752
1855
  readonly levels: Schema.NonEmptyArray<Schema.Struct<{
@@ -1889,12 +1992,81 @@ export declare const StageGroupInputSchema: Schema.Struct<{
1889
1992
  readonly interaction: Schema.String;
1890
1993
  readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
1891
1994
  readonly criterion: Schema.String;
1995
+ readonly feedback: Schema.optionalKey<Schema.Struct<{
1996
+ readonly earned: Schema.Trimmed;
1997
+ readonly missed: Schema.Trimmed;
1998
+ }>>;
1892
1999
  readonly levels: Schema.NonEmptyArray<Schema.Struct<{
1893
2000
  readonly descriptor: Schema.Trimmed;
1894
2001
  readonly level: Schema.String;
1895
2002
  }>>;
1896
2003
  }>>;
1897
2004
  readonly kind: Schema.Literal<"extendedText">;
2005
+ }>, Schema.Struct<{
2006
+ readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
2007
+ readonly check: Schema.Struct<{
2008
+ readonly feature: Schema.Union<readonly [Schema.Struct<{
2009
+ readonly contact: Schema.Literals<readonly ["cross", "touch"]>;
2010
+ readonly kind: Schema.Literal<"zero">;
2011
+ readonly x: Schema.String;
2012
+ }>, Schema.Struct<{
2013
+ readonly kind: Schema.Literal<"yIntercept">;
2014
+ readonly y: Schema.String;
2015
+ }>, Schema.Struct<{
2016
+ readonly kind: Schema.Literal<"extremum">;
2017
+ readonly turn: Schema.Literals<readonly ["maximum", "minimum"]>;
2018
+ readonly x: Schema.String;
2019
+ readonly y: Schema.String;
2020
+ }>, Schema.Struct<{
2021
+ readonly kind: Schema.Literal<"asymptote">;
2022
+ readonly line: Schema.Union<readonly [Schema.Struct<{
2023
+ readonly kind: Schema.Literal<"vertical">;
2024
+ readonly x: Schema.String;
2025
+ }>, Schema.Struct<{
2026
+ readonly intercept: Schema.String;
2027
+ readonly kind: Schema.Literal<"sloped">;
2028
+ readonly slope: Schema.String;
2029
+ }>]>;
2030
+ }>, Schema.Struct<{
2031
+ readonly direction: Schema.Literals<readonly ["falling", "rising"]>;
2032
+ readonly from: Schema.NullOr<Schema.String>;
2033
+ readonly kind: Schema.Literal<"interval">;
2034
+ readonly to: Schema.NullOr<Schema.String>;
2035
+ }>, Schema.Struct<{
2036
+ readonly kind: Schema.Literal<"end">;
2037
+ readonly limit: Schema.Union<readonly [Schema.Literals<readonly ["negativeInfinity", "positiveInfinity"]>, Schema.String]>;
2038
+ readonly side: Schema.Literals<readonly ["left", "right"]>;
2039
+ }>, Schema.Struct<{
2040
+ readonly kind: Schema.Literal<"inflection">;
2041
+ readonly x: Schema.String;
2042
+ readonly y: Schema.String;
2043
+ }>, Schema.Struct<{
2044
+ readonly end: Schema.optionalKey<Schema.Literals<readonly ["closed", "open"]>>;
2045
+ readonly kind: Schema.Literal<"point">;
2046
+ readonly x: Schema.String;
2047
+ readonly y: Schema.String;
2048
+ }>]>;
2049
+ readonly kind: Schema.Literal<"feature">;
2050
+ }>;
2051
+ readonly criterion: Schema.String;
2052
+ readonly feedback: Schema.Struct<{
2053
+ readonly earned: Schema.Trimmed;
2054
+ readonly missed: Schema.Trimmed;
2055
+ }>;
2056
+ readonly requires: Schema.optionalKey<Schema.NonEmptyArray<Schema.String>>;
2057
+ }>>;
2058
+ readonly interaction: Schema.String;
2059
+ readonly kind: Schema.Literal<"sketch">;
2060
+ readonly tolerances: Schema.Struct<{
2061
+ readonly asymptote: Schema.optionalKey<Schema.String>;
2062
+ readonly end: Schema.optionalKey<Schema.String>;
2063
+ readonly extremum: Schema.optionalKey<Schema.String>;
2064
+ readonly inflection: Schema.optionalKey<Schema.String>;
2065
+ readonly interval: Schema.optionalKey<Schema.String>;
2066
+ readonly point: Schema.optionalKey<Schema.String>;
2067
+ readonly yIntercept: Schema.optionalKey<Schema.String>;
2068
+ readonly zero: Schema.optionalKey<Schema.String>;
2069
+ }>;
1898
2070
  }>]>>;
1899
2071
  readonly version: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
1900
2072
  }>;
@@ -2506,7 +2678,7 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
2506
2678
  readonly seconds: Schema.Int;
2507
2679
  }>>;
2508
2680
  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">)[]]>;
2681
+ 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
2682
  readonly rule: Schema.Union<readonly [Schema.Struct<{
2511
2683
  readonly kind: Schema.Literal<"allOrNothing">;
2512
2684
  }>, Schema.Struct<{
@@ -2552,7 +2724,7 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
2552
2724
  }>]>;
2553
2725
  readonly sections: Schema.NonEmptyArray<Schema.Struct<{
2554
2726
  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">)[]]>>;
2727
+ 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
2728
  readonly items: Schema.Int;
2557
2729
  readonly names: Schema.$Record<Schema.Literals<readonly ["en", "id", "de", "ms"]>, Schema.Trimmed>;
2558
2730
  readonly navigation: Schema.Literals<readonly ["free", "linear"]>;
@@ -2810,6 +2982,23 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
2810
2982
  readonly label: Schema.Trimmed;
2811
2983
  readonly expectedLines: Schema.optionalKey<Schema.Int>;
2812
2984
  readonly kind: Schema.Literal<"extendedText">;
2985
+ }>, Schema.Struct<{
2986
+ readonly id: Schema.String;
2987
+ readonly label: Schema.Trimmed;
2988
+ readonly frame: Schema.Struct<{
2989
+ readonly kind: Schema.Literal<"cartesian">;
2990
+ readonly x: Schema.Struct<{
2991
+ readonly max: Schema.Finite;
2992
+ readonly min: Schema.Finite;
2993
+ }>;
2994
+ readonly y: Schema.Struct<{
2995
+ readonly max: Schema.Finite;
2996
+ readonly min: Schema.Finite;
2997
+ }>;
2998
+ }>;
2999
+ readonly grid: Schema.optionalKey<Schema.Finite>;
3000
+ readonly kind: Schema.Literal<"sketch">;
3001
+ readonly marks: Schema.$Array<Schema.Literals<readonly ["asymptote", "point"]>>;
2813
3002
  }>]>>;
2814
3003
  readonly joint: Schema.optionalKey<Schema.Struct<{
2815
3004
  readonly levels: Schema.NonEmptyArray<Schema.Struct<{
@@ -2952,12 +3141,81 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
2952
3141
  readonly interaction: Schema.String;
2953
3142
  readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
2954
3143
  readonly criterion: Schema.String;
3144
+ readonly feedback: Schema.optionalKey<Schema.Struct<{
3145
+ readonly earned: Schema.Trimmed;
3146
+ readonly missed: Schema.Trimmed;
3147
+ }>>;
2955
3148
  readonly levels: Schema.NonEmptyArray<Schema.Struct<{
2956
3149
  readonly descriptor: Schema.Trimmed;
2957
3150
  readonly level: Schema.String;
2958
3151
  }>>;
2959
3152
  }>>;
2960
3153
  readonly kind: Schema.Literal<"extendedText">;
3154
+ }>, Schema.Struct<{
3155
+ readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
3156
+ readonly check: Schema.Struct<{
3157
+ readonly feature: Schema.Union<readonly [Schema.Struct<{
3158
+ readonly contact: Schema.Literals<readonly ["cross", "touch"]>;
3159
+ readonly kind: Schema.Literal<"zero">;
3160
+ readonly x: Schema.String;
3161
+ }>, Schema.Struct<{
3162
+ readonly kind: Schema.Literal<"yIntercept">;
3163
+ readonly y: Schema.String;
3164
+ }>, Schema.Struct<{
3165
+ readonly kind: Schema.Literal<"extremum">;
3166
+ readonly turn: Schema.Literals<readonly ["maximum", "minimum"]>;
3167
+ readonly x: Schema.String;
3168
+ readonly y: Schema.String;
3169
+ }>, Schema.Struct<{
3170
+ readonly kind: Schema.Literal<"asymptote">;
3171
+ readonly line: Schema.Union<readonly [Schema.Struct<{
3172
+ readonly kind: Schema.Literal<"vertical">;
3173
+ readonly x: Schema.String;
3174
+ }>, Schema.Struct<{
3175
+ readonly intercept: Schema.String;
3176
+ readonly kind: Schema.Literal<"sloped">;
3177
+ readonly slope: Schema.String;
3178
+ }>]>;
3179
+ }>, Schema.Struct<{
3180
+ readonly direction: Schema.Literals<readonly ["falling", "rising"]>;
3181
+ readonly from: Schema.NullOr<Schema.String>;
3182
+ readonly kind: Schema.Literal<"interval">;
3183
+ readonly to: Schema.NullOr<Schema.String>;
3184
+ }>, Schema.Struct<{
3185
+ readonly kind: Schema.Literal<"end">;
3186
+ readonly limit: Schema.Union<readonly [Schema.Literals<readonly ["negativeInfinity", "positiveInfinity"]>, Schema.String]>;
3187
+ readonly side: Schema.Literals<readonly ["left", "right"]>;
3188
+ }>, Schema.Struct<{
3189
+ readonly kind: Schema.Literal<"inflection">;
3190
+ readonly x: Schema.String;
3191
+ readonly y: Schema.String;
3192
+ }>, Schema.Struct<{
3193
+ readonly end: Schema.optionalKey<Schema.Literals<readonly ["closed", "open"]>>;
3194
+ readonly kind: Schema.Literal<"point">;
3195
+ readonly x: Schema.String;
3196
+ readonly y: Schema.String;
3197
+ }>]>;
3198
+ readonly kind: Schema.Literal<"feature">;
3199
+ }>;
3200
+ readonly criterion: Schema.String;
3201
+ readonly feedback: Schema.Struct<{
3202
+ readonly earned: Schema.Trimmed;
3203
+ readonly missed: Schema.Trimmed;
3204
+ }>;
3205
+ readonly requires: Schema.optionalKey<Schema.NonEmptyArray<Schema.String>>;
3206
+ }>>;
3207
+ readonly interaction: Schema.String;
3208
+ readonly kind: Schema.Literal<"sketch">;
3209
+ readonly tolerances: Schema.Struct<{
3210
+ readonly asymptote: Schema.optionalKey<Schema.String>;
3211
+ readonly end: Schema.optionalKey<Schema.String>;
3212
+ readonly extremum: Schema.optionalKey<Schema.String>;
3213
+ readonly inflection: Schema.optionalKey<Schema.String>;
3214
+ readonly interval: Schema.optionalKey<Schema.String>;
3215
+ readonly point: Schema.optionalKey<Schema.String>;
3216
+ readonly yIntercept: Schema.optionalKey<Schema.String>;
3217
+ readonly zero: Schema.optionalKey<Schema.String>;
3218
+ }>;
2961
3219
  }>]>>;
2962
3220
  readonly version: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
2963
3221
  }>;