@nakafa/aksara-contracts 4.1.2 → 4.1.3

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.
@@ -1350,11 +1350,6 @@ export declare const hashAssessmentRow: (row: {
1350
1350
  readonly interaction: "choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry";
1351
1351
  readonly rule: {
1352
1352
  readonly kind: "allOrNothing";
1353
- } | {
1354
- readonly floor: number;
1355
- readonly kind: "perPart";
1356
- readonly penaltyPerWrongPart?: number;
1357
- readonly pointsPerPart: number;
1358
1353
  } | {
1359
1354
  readonly bands: readonly [{
1360
1355
  readonly points: number;
@@ -1364,6 +1359,11 @@ export declare const hashAssessmentRow: (row: {
1364
1359
  readonly wrong: number;
1365
1360
  }[]];
1366
1361
  readonly kind: "wrongParts";
1362
+ } | {
1363
+ readonly floor: number;
1364
+ readonly kind: "perPart";
1365
+ readonly penaltyPerWrongPart?: number;
1366
+ readonly pointsPerPart: number;
1367
1367
  };
1368
1368
  }[];
1369
1369
  readonly graceSeconds: number;
@@ -1480,43 +1480,6 @@ export declare const hashAssessmentRow: (row: {
1480
1480
  readonly deliveryLanguage: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentLanguage">;
1481
1481
  readonly family: string & import("effect/Brand").Brand<"@NakafaAI/AksaraItemFamilyId">;
1482
1482
  readonly interactions: readonly [{
1483
- readonly id: string;
1484
- readonly label: string;
1485
- readonly areas: readonly ({
1486
- readonly id: string;
1487
- readonly label: string;
1488
- readonly coords: readonly [number, number, number, number];
1489
- readonly shape: "rect";
1490
- } | {
1491
- readonly id: string;
1492
- readonly label: string;
1493
- readonly coords: readonly [number, number, number];
1494
- readonly shape: "circle";
1495
- } | {
1496
- readonly id: string;
1497
- readonly label: string;
1498
- readonly coords: readonly [number, number, number, number];
1499
- readonly shape: "ellipse";
1500
- } | {
1501
- readonly id: string;
1502
- readonly label: string;
1503
- readonly coords: readonly [number, number, number, number, number, number, ...number[]];
1504
- readonly shape: "poly";
1505
- } | {
1506
- readonly id: string;
1507
- readonly label: string;
1508
- readonly shape: "default";
1509
- })[];
1510
- readonly image: {
1511
- readonly alt: string;
1512
- readonly asset: string;
1513
- readonly height: number;
1514
- readonly width: number;
1515
- };
1516
- readonly kind: "hotspot";
1517
- readonly maxChoices: number;
1518
- readonly minChoices: number;
1519
- } | {
1520
1483
  readonly id: string;
1521
1484
  readonly label: string;
1522
1485
  readonly kind: "choice";
@@ -1611,6 +1574,11 @@ export declare const hashAssessmentRow: (row: {
1611
1574
  readonly options: readonly {
1612
1575
  readonly id: string;
1613
1576
  readonly label: readonly [{
1577
+ readonly attrs: {
1578
+ readonly latex: string;
1579
+ };
1580
+ readonly type: "mathInline";
1581
+ } | {
1614
1582
  readonly marks?: readonly [{
1615
1583
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1616
1584
  } | {
@@ -1628,12 +1596,12 @@ export declare const hashAssessmentRow: (row: {
1628
1596
  })[]];
1629
1597
  readonly text: string;
1630
1598
  readonly type: "text";
1631
- } | {
1599
+ }, ...({
1632
1600
  readonly attrs: {
1633
1601
  readonly latex: string;
1634
1602
  };
1635
1603
  readonly type: "mathInline";
1636
- }, ...({
1604
+ } | {
1637
1605
  readonly marks?: readonly [{
1638
1606
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1639
1607
  } | {
@@ -1651,35 +1619,20 @@ export declare const hashAssessmentRow: (row: {
1651
1619
  })[]];
1652
1620
  readonly text: string;
1653
1621
  readonly type: "text";
1654
- } | {
1655
- readonly attrs: {
1656
- readonly latex: string;
1657
- };
1658
- readonly type: "mathInline";
1659
1622
  })[]];
1660
1623
  }[];
1661
1624
  readonly shuffle: boolean;
1662
- } | {
1663
- readonly id: string;
1664
- readonly label: string;
1665
- readonly expectedLength?: number;
1666
- readonly kind: "textEntry";
1667
- } | {
1668
- readonly id: string;
1669
- readonly label: string;
1670
- readonly acceptsFractions: boolean;
1671
- readonly kind: "numericEntry";
1672
- readonly unit?: string;
1673
- } | {
1674
- readonly id: string;
1675
- readonly label: string;
1676
- readonly kind: "mathEntry";
1677
1625
  } | {
1678
1626
  readonly id: string;
1679
1627
  readonly label: string;
1680
1628
  readonly choices: readonly [{
1681
1629
  readonly id: string;
1682
1630
  readonly label: readonly [{
1631
+ readonly attrs: {
1632
+ readonly latex: string;
1633
+ };
1634
+ readonly type: "mathInline";
1635
+ } | {
1683
1636
  readonly marks?: readonly [{
1684
1637
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1685
1638
  } | {
@@ -1697,12 +1650,12 @@ export declare const hashAssessmentRow: (row: {
1697
1650
  })[]];
1698
1651
  readonly text: string;
1699
1652
  readonly type: "text";
1700
- } | {
1653
+ }, ...({
1701
1654
  readonly attrs: {
1702
1655
  readonly latex: string;
1703
1656
  };
1704
1657
  readonly type: "mathInline";
1705
- }, ...({
1658
+ } | {
1706
1659
  readonly marks?: readonly [{
1707
1660
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1708
1661
  } | {
@@ -1720,16 +1673,16 @@ export declare const hashAssessmentRow: (row: {
1720
1673
  })[]];
1721
1674
  readonly text: string;
1722
1675
  readonly type: "text";
1723
- } | {
1724
- readonly attrs: {
1725
- readonly latex: string;
1726
- };
1727
- readonly type: "mathInline";
1728
1676
  })[]];
1729
1677
  readonly maxMatches: number;
1730
1678
  }, ...{
1731
1679
  readonly id: string;
1732
1680
  readonly label: readonly [{
1681
+ readonly attrs: {
1682
+ readonly latex: string;
1683
+ };
1684
+ readonly type: "mathInline";
1685
+ } | {
1733
1686
  readonly marks?: readonly [{
1734
1687
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1735
1688
  } | {
@@ -1747,12 +1700,12 @@ export declare const hashAssessmentRow: (row: {
1747
1700
  })[]];
1748
1701
  readonly text: string;
1749
1702
  readonly type: "text";
1750
- } | {
1703
+ }, ...({
1751
1704
  readonly attrs: {
1752
1705
  readonly latex: string;
1753
1706
  };
1754
1707
  readonly type: "mathInline";
1755
- }, ...({
1708
+ } | {
1756
1709
  readonly marks?: readonly [{
1757
1710
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1758
1711
  } | {
@@ -1770,11 +1723,6 @@ export declare const hashAssessmentRow: (row: {
1770
1723
  })[]];
1771
1724
  readonly text: string;
1772
1725
  readonly type: "text";
1773
- } | {
1774
- readonly attrs: {
1775
- readonly latex: string;
1776
- };
1777
- readonly type: "mathInline";
1778
1726
  })[]];
1779
1727
  readonly maxMatches: number;
1780
1728
  }[]];
@@ -1788,27 +1736,8 @@ export declare const hashAssessmentRow: (row: {
1788
1736
  } | {
1789
1737
  readonly id: string;
1790
1738
  readonly label: string;
1791
- readonly count: number;
1792
- readonly frame: {
1793
- readonly kind: "cartesian";
1794
- readonly x: {
1795
- readonly max: number;
1796
- readonly min: number;
1797
- };
1798
- readonly y: {
1799
- readonly max: number;
1800
- readonly min: number;
1801
- };
1802
- };
1803
- readonly kind: "graphPoint";
1804
- readonly placing: "lines" | "points";
1805
- readonly snap?: number;
1739
+ readonly kind: "mathEntry";
1806
1740
  } | {
1807
- readonly id: string;
1808
- readonly label: string;
1809
- readonly expectedLines?: number;
1810
- readonly kind: "extendedText";
1811
- }, ...({
1812
1741
  readonly id: string;
1813
1742
  readonly label: string;
1814
1743
  readonly areas: readonly ({
@@ -1846,6 +1775,40 @@ export declare const hashAssessmentRow: (row: {
1846
1775
  readonly maxChoices: number;
1847
1776
  readonly minChoices: number;
1848
1777
  } | {
1778
+ readonly id: string;
1779
+ readonly label: string;
1780
+ readonly expectedLength?: number;
1781
+ readonly kind: "textEntry";
1782
+ } | {
1783
+ readonly id: string;
1784
+ readonly label: string;
1785
+ readonly acceptsFractions: boolean;
1786
+ readonly kind: "numericEntry";
1787
+ readonly unit?: string;
1788
+ } | {
1789
+ readonly id: string;
1790
+ readonly label: string;
1791
+ readonly expectedLines?: number;
1792
+ readonly kind: "extendedText";
1793
+ } | {
1794
+ readonly id: string;
1795
+ readonly label: string;
1796
+ readonly count: number;
1797
+ readonly frame: {
1798
+ readonly kind: "cartesian";
1799
+ readonly x: {
1800
+ readonly max: number;
1801
+ readonly min: number;
1802
+ };
1803
+ readonly y: {
1804
+ readonly max: number;
1805
+ readonly min: number;
1806
+ };
1807
+ };
1808
+ readonly kind: "graphPoint";
1809
+ readonly placing: "lines" | "points";
1810
+ readonly snap?: number;
1811
+ }, ...({
1849
1812
  readonly id: string;
1850
1813
  readonly label: string;
1851
1814
  readonly kind: "choice";
@@ -1940,6 +1903,11 @@ export declare const hashAssessmentRow: (row: {
1940
1903
  readonly options: readonly {
1941
1904
  readonly id: string;
1942
1905
  readonly label: readonly [{
1906
+ readonly attrs: {
1907
+ readonly latex: string;
1908
+ };
1909
+ readonly type: "mathInline";
1910
+ } | {
1943
1911
  readonly marks?: readonly [{
1944
1912
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1945
1913
  } | {
@@ -1957,12 +1925,12 @@ export declare const hashAssessmentRow: (row: {
1957
1925
  })[]];
1958
1926
  readonly text: string;
1959
1927
  readonly type: "text";
1960
- } | {
1928
+ }, ...({
1961
1929
  readonly attrs: {
1962
1930
  readonly latex: string;
1963
1931
  };
1964
1932
  readonly type: "mathInline";
1965
- }, ...({
1933
+ } | {
1966
1934
  readonly marks?: readonly [{
1967
1935
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1968
1936
  } | {
@@ -1980,35 +1948,20 @@ export declare const hashAssessmentRow: (row: {
1980
1948
  })[]];
1981
1949
  readonly text: string;
1982
1950
  readonly type: "text";
1983
- } | {
1984
- readonly attrs: {
1985
- readonly latex: string;
1986
- };
1987
- readonly type: "mathInline";
1988
1951
  })[]];
1989
1952
  }[];
1990
1953
  readonly shuffle: boolean;
1991
- } | {
1992
- readonly id: string;
1993
- readonly label: string;
1994
- readonly expectedLength?: number;
1995
- readonly kind: "textEntry";
1996
- } | {
1997
- readonly id: string;
1998
- readonly label: string;
1999
- readonly acceptsFractions: boolean;
2000
- readonly kind: "numericEntry";
2001
- readonly unit?: string;
2002
- } | {
2003
- readonly id: string;
2004
- readonly label: string;
2005
- readonly kind: "mathEntry";
2006
1954
  } | {
2007
1955
  readonly id: string;
2008
1956
  readonly label: string;
2009
1957
  readonly choices: readonly [{
2010
1958
  readonly id: string;
2011
1959
  readonly label: readonly [{
1960
+ readonly attrs: {
1961
+ readonly latex: string;
1962
+ };
1963
+ readonly type: "mathInline";
1964
+ } | {
2012
1965
  readonly marks?: readonly [{
2013
1966
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2014
1967
  } | {
@@ -2026,12 +1979,12 @@ export declare const hashAssessmentRow: (row: {
2026
1979
  })[]];
2027
1980
  readonly text: string;
2028
1981
  readonly type: "text";
2029
- } | {
1982
+ }, ...({
2030
1983
  readonly attrs: {
2031
1984
  readonly latex: string;
2032
1985
  };
2033
1986
  readonly type: "mathInline";
2034
- }, ...({
1987
+ } | {
2035
1988
  readonly marks?: readonly [{
2036
1989
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2037
1990
  } | {
@@ -2049,16 +2002,16 @@ export declare const hashAssessmentRow: (row: {
2049
2002
  })[]];
2050
2003
  readonly text: string;
2051
2004
  readonly type: "text";
2052
- } | {
2053
- readonly attrs: {
2054
- readonly latex: string;
2055
- };
2056
- readonly type: "mathInline";
2057
2005
  })[]];
2058
2006
  readonly maxMatches: number;
2059
2007
  }, ...{
2060
2008
  readonly id: string;
2061
2009
  readonly label: readonly [{
2010
+ readonly attrs: {
2011
+ readonly latex: string;
2012
+ };
2013
+ readonly type: "mathInline";
2014
+ } | {
2062
2015
  readonly marks?: readonly [{
2063
2016
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2064
2017
  } | {
@@ -2076,12 +2029,12 @@ export declare const hashAssessmentRow: (row: {
2076
2029
  })[]];
2077
2030
  readonly text: string;
2078
2031
  readonly type: "text";
2079
- } | {
2032
+ }, ...({
2080
2033
  readonly attrs: {
2081
2034
  readonly latex: string;
2082
2035
  };
2083
2036
  readonly type: "mathInline";
2084
- }, ...({
2037
+ } | {
2085
2038
  readonly marks?: readonly [{
2086
2039
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2087
2040
  } | {
@@ -2099,11 +2052,6 @@ export declare const hashAssessmentRow: (row: {
2099
2052
  })[]];
2100
2053
  readonly text: string;
2101
2054
  readonly type: "text";
2102
- } | {
2103
- readonly attrs: {
2104
- readonly latex: string;
2105
- };
2106
- readonly type: "mathInline";
2107
2055
  })[]];
2108
2056
  readonly maxMatches: number;
2109
2057
  }[]];
@@ -2114,6 +2062,63 @@ export declare const hashAssessmentRow: (row: {
2114
2062
  }[]];
2115
2063
  readonly kind: "gapMatch";
2116
2064
  readonly shuffle: boolean;
2065
+ } | {
2066
+ readonly id: string;
2067
+ readonly label: string;
2068
+ readonly kind: "mathEntry";
2069
+ } | {
2070
+ readonly id: string;
2071
+ readonly label: string;
2072
+ readonly areas: readonly ({
2073
+ readonly id: string;
2074
+ readonly label: string;
2075
+ readonly coords: readonly [number, number, number, number];
2076
+ readonly shape: "rect";
2077
+ } | {
2078
+ readonly id: string;
2079
+ readonly label: string;
2080
+ readonly coords: readonly [number, number, number];
2081
+ readonly shape: "circle";
2082
+ } | {
2083
+ readonly id: string;
2084
+ readonly label: string;
2085
+ readonly coords: readonly [number, number, number, number];
2086
+ readonly shape: "ellipse";
2087
+ } | {
2088
+ readonly id: string;
2089
+ readonly label: string;
2090
+ readonly coords: readonly [number, number, number, number, number, number, ...number[]];
2091
+ readonly shape: "poly";
2092
+ } | {
2093
+ readonly id: string;
2094
+ readonly label: string;
2095
+ readonly shape: "default";
2096
+ })[];
2097
+ readonly image: {
2098
+ readonly alt: string;
2099
+ readonly asset: string;
2100
+ readonly height: number;
2101
+ readonly width: number;
2102
+ };
2103
+ readonly kind: "hotspot";
2104
+ readonly maxChoices: number;
2105
+ readonly minChoices: number;
2106
+ } | {
2107
+ readonly id: string;
2108
+ readonly label: string;
2109
+ readonly expectedLength?: number;
2110
+ readonly kind: "textEntry";
2111
+ } | {
2112
+ readonly id: string;
2113
+ readonly label: string;
2114
+ readonly acceptsFractions: boolean;
2115
+ readonly kind: "numericEntry";
2116
+ readonly unit?: string;
2117
+ } | {
2118
+ readonly id: string;
2119
+ readonly label: string;
2120
+ readonly expectedLines?: number;
2121
+ readonly kind: "extendedText";
2117
2122
  } | {
2118
2123
  readonly id: string;
2119
2124
  readonly label: string;
@@ -2132,11 +2137,6 @@ export declare const hashAssessmentRow: (row: {
2132
2137
  readonly kind: "graphPoint";
2133
2138
  readonly placing: "lines" | "points";
2134
2139
  readonly snap?: number;
2135
- } | {
2136
- readonly id: string;
2137
- readonly label: string;
2138
- readonly expectedLines?: number;
2139
- readonly kind: "extendedText";
2140
2140
  })[]];
2141
2141
  readonly joint?: {
2142
2142
  readonly levels: readonly [{
@@ -2155,11 +2155,6 @@ export declare const hashAssessmentRow: (row: {
2155
2155
  readonly interaction: string;
2156
2156
  readonly rule: {
2157
2157
  readonly kind: "allOrNothing";
2158
- } | {
2159
- readonly floor: number;
2160
- readonly kind: "perPart";
2161
- readonly penaltyPerWrongPart?: number;
2162
- readonly pointsPerPart: number;
2163
2158
  } | {
2164
2159
  readonly bands: readonly [{
2165
2160
  readonly points: number;
@@ -2188,6 +2183,11 @@ export declare const hashAssessmentRow: (row: {
2188
2183
  }[];
2189
2184
  }[]];
2190
2185
  readonly kind: "rubric";
2186
+ } | {
2187
+ readonly floor: number;
2188
+ readonly kind: "perPart";
2189
+ readonly penaltyPerWrongPart?: number;
2190
+ readonly pointsPerPart: number;
2191
2191
  };
2192
2192
  }[];
2193
2193
  readonly stimulus?: {
@@ -2250,14 +2250,6 @@ export declare const hashAssessmentRow: (row: {
2250
2250
  readonly kind: "text";
2251
2251
  };
2252
2252
  readonly kind: "textEntry";
2253
- } | {
2254
- readonly interaction: string;
2255
- readonly kind: "numericEntry";
2256
- readonly tolerance?: {
2257
- readonly kind: "absolute" | "relative";
2258
- readonly value: string;
2259
- };
2260
- readonly value: string;
2261
2253
  } | {
2262
2254
  readonly interaction: string;
2263
2255
  readonly expression: string;
@@ -2331,6 +2323,14 @@ export declare const hashAssessmentRow: (row: {
2331
2323
  }[]];
2332
2324
  }[]];
2333
2325
  readonly kind: "extendedText";
2326
+ } | {
2327
+ readonly interaction: string;
2328
+ readonly kind: "numericEntry";
2329
+ readonly tolerance?: {
2330
+ readonly kind: "absolute" | "relative";
2331
+ readonly value: string;
2332
+ };
2333
+ readonly value: string;
2334
2334
  }, ...({
2335
2335
  readonly interaction: string;
2336
2336
  readonly correct: readonly [string, ...string[]];
@@ -2372,14 +2372,6 @@ export declare const hashAssessmentRow: (row: {
2372
2372
  readonly kind: "text";
2373
2373
  };
2374
2374
  readonly kind: "textEntry";
2375
- } | {
2376
- readonly interaction: string;
2377
- readonly kind: "numericEntry";
2378
- readonly tolerance?: {
2379
- readonly kind: "absolute" | "relative";
2380
- readonly value: string;
2381
- };
2382
- readonly value: string;
2383
2375
  } | {
2384
2376
  readonly interaction: string;
2385
2377
  readonly expression: string;
@@ -2453,6 +2445,14 @@ export declare const hashAssessmentRow: (row: {
2453
2445
  }[]];
2454
2446
  }[]];
2455
2447
  readonly kind: "extendedText";
2448
+ } | {
2449
+ readonly interaction: string;
2450
+ readonly kind: "numericEntry";
2451
+ readonly tolerance?: {
2452
+ readonly kind: "absolute" | "relative";
2453
+ readonly value: string;
2454
+ };
2455
+ readonly value: string;
2456
2456
  })[]];
2457
2457
  readonly version: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
2458
2458
  };
@@ -2611,11 +2611,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2611
2611
  readonly interaction: "choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry";
2612
2612
  readonly rule: {
2613
2613
  readonly kind: "allOrNothing";
2614
- } | {
2615
- readonly floor: number;
2616
- readonly kind: "perPart";
2617
- readonly penaltyPerWrongPart?: number;
2618
- readonly pointsPerPart: number;
2619
2614
  } | {
2620
2615
  readonly bands: readonly [{
2621
2616
  readonly points: number;
@@ -2625,6 +2620,11 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2625
2620
  readonly wrong: number;
2626
2621
  }[]];
2627
2622
  readonly kind: "wrongParts";
2623
+ } | {
2624
+ readonly floor: number;
2625
+ readonly kind: "perPart";
2626
+ readonly penaltyPerWrongPart?: number;
2627
+ readonly pointsPerPart: number;
2628
2628
  };
2629
2629
  }[];
2630
2630
  readonly graceSeconds: number;
@@ -2741,43 +2741,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2741
2741
  readonly deliveryLanguage: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentLanguage">;
2742
2742
  readonly family: string & import("effect/Brand").Brand<"@NakafaAI/AksaraItemFamilyId">;
2743
2743
  readonly interactions: readonly [{
2744
- readonly id: string;
2745
- readonly label: string;
2746
- readonly areas: readonly ({
2747
- readonly id: string;
2748
- readonly label: string;
2749
- readonly coords: readonly [number, number, number, number];
2750
- readonly shape: "rect";
2751
- } | {
2752
- readonly id: string;
2753
- readonly label: string;
2754
- readonly coords: readonly [number, number, number];
2755
- readonly shape: "circle";
2756
- } | {
2757
- readonly id: string;
2758
- readonly label: string;
2759
- readonly coords: readonly [number, number, number, number];
2760
- readonly shape: "ellipse";
2761
- } | {
2762
- readonly id: string;
2763
- readonly label: string;
2764
- readonly coords: readonly [number, number, number, number, number, number, ...number[]];
2765
- readonly shape: "poly";
2766
- } | {
2767
- readonly id: string;
2768
- readonly label: string;
2769
- readonly shape: "default";
2770
- })[];
2771
- readonly image: {
2772
- readonly alt: string;
2773
- readonly asset: string;
2774
- readonly height: number;
2775
- readonly width: number;
2776
- };
2777
- readonly kind: "hotspot";
2778
- readonly maxChoices: number;
2779
- readonly minChoices: number;
2780
- } | {
2781
2744
  readonly id: string;
2782
2745
  readonly label: string;
2783
2746
  readonly kind: "choice";
@@ -2872,6 +2835,11 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2872
2835
  readonly options: readonly {
2873
2836
  readonly id: string;
2874
2837
  readonly label: readonly [{
2838
+ readonly attrs: {
2839
+ readonly latex: string;
2840
+ };
2841
+ readonly type: "mathInline";
2842
+ } | {
2875
2843
  readonly marks?: readonly [{
2876
2844
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2877
2845
  } | {
@@ -2889,12 +2857,12 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2889
2857
  })[]];
2890
2858
  readonly text: string;
2891
2859
  readonly type: "text";
2892
- } | {
2860
+ }, ...({
2893
2861
  readonly attrs: {
2894
2862
  readonly latex: string;
2895
2863
  };
2896
2864
  readonly type: "mathInline";
2897
- }, ...({
2865
+ } | {
2898
2866
  readonly marks?: readonly [{
2899
2867
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2900
2868
  } | {
@@ -2903,44 +2871,29 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2903
2871
  };
2904
2872
  readonly type: "link";
2905
2873
  }, ...({
2906
- readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2907
- } | {
2908
- readonly attrs: {
2909
- readonly href: string;
2910
- };
2911
- readonly type: "link";
2912
- })[]];
2913
- readonly text: string;
2914
- readonly type: "text";
2915
- } | {
2916
- readonly attrs: {
2917
- readonly latex: string;
2918
- };
2919
- readonly type: "mathInline";
2920
- })[]];
2921
- }[];
2922
- readonly shuffle: boolean;
2923
- } | {
2924
- readonly id: string;
2925
- readonly label: string;
2926
- readonly expectedLength?: number;
2927
- readonly kind: "textEntry";
2928
- } | {
2929
- readonly id: string;
2930
- readonly label: string;
2931
- readonly acceptsFractions: boolean;
2932
- readonly kind: "numericEntry";
2933
- readonly unit?: string;
2934
- } | {
2935
- readonly id: string;
2936
- readonly label: string;
2937
- readonly kind: "mathEntry";
2874
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2875
+ } | {
2876
+ readonly attrs: {
2877
+ readonly href: string;
2878
+ };
2879
+ readonly type: "link";
2880
+ })[]];
2881
+ readonly text: string;
2882
+ readonly type: "text";
2883
+ })[]];
2884
+ }[];
2885
+ readonly shuffle: boolean;
2938
2886
  } | {
2939
2887
  readonly id: string;
2940
2888
  readonly label: string;
2941
2889
  readonly choices: readonly [{
2942
2890
  readonly id: string;
2943
2891
  readonly label: readonly [{
2892
+ readonly attrs: {
2893
+ readonly latex: string;
2894
+ };
2895
+ readonly type: "mathInline";
2896
+ } | {
2944
2897
  readonly marks?: readonly [{
2945
2898
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2946
2899
  } | {
@@ -2958,12 +2911,12 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2958
2911
  })[]];
2959
2912
  readonly text: string;
2960
2913
  readonly type: "text";
2961
- } | {
2914
+ }, ...({
2962
2915
  readonly attrs: {
2963
2916
  readonly latex: string;
2964
2917
  };
2965
2918
  readonly type: "mathInline";
2966
- }, ...({
2919
+ } | {
2967
2920
  readonly marks?: readonly [{
2968
2921
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2969
2922
  } | {
@@ -2981,16 +2934,16 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2981
2934
  })[]];
2982
2935
  readonly text: string;
2983
2936
  readonly type: "text";
2984
- } | {
2985
- readonly attrs: {
2986
- readonly latex: string;
2987
- };
2988
- readonly type: "mathInline";
2989
2937
  })[]];
2990
2938
  readonly maxMatches: number;
2991
2939
  }, ...{
2992
2940
  readonly id: string;
2993
2941
  readonly label: readonly [{
2942
+ readonly attrs: {
2943
+ readonly latex: string;
2944
+ };
2945
+ readonly type: "mathInline";
2946
+ } | {
2994
2947
  readonly marks?: readonly [{
2995
2948
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2996
2949
  } | {
@@ -3008,12 +2961,12 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3008
2961
  })[]];
3009
2962
  readonly text: string;
3010
2963
  readonly type: "text";
3011
- } | {
2964
+ }, ...({
3012
2965
  readonly attrs: {
3013
2966
  readonly latex: string;
3014
2967
  };
3015
2968
  readonly type: "mathInline";
3016
- }, ...({
2969
+ } | {
3017
2970
  readonly marks?: readonly [{
3018
2971
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3019
2972
  } | {
@@ -3031,11 +2984,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3031
2984
  })[]];
3032
2985
  readonly text: string;
3033
2986
  readonly type: "text";
3034
- } | {
3035
- readonly attrs: {
3036
- readonly latex: string;
3037
- };
3038
- readonly type: "mathInline";
3039
2987
  })[]];
3040
2988
  readonly maxMatches: number;
3041
2989
  }[]];
@@ -3049,27 +2997,8 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3049
2997
  } | {
3050
2998
  readonly id: string;
3051
2999
  readonly label: string;
3052
- readonly count: number;
3053
- readonly frame: {
3054
- readonly kind: "cartesian";
3055
- readonly x: {
3056
- readonly max: number;
3057
- readonly min: number;
3058
- };
3059
- readonly y: {
3060
- readonly max: number;
3061
- readonly min: number;
3062
- };
3063
- };
3064
- readonly kind: "graphPoint";
3065
- readonly placing: "lines" | "points";
3066
- readonly snap?: number;
3000
+ readonly kind: "mathEntry";
3067
3001
  } | {
3068
- readonly id: string;
3069
- readonly label: string;
3070
- readonly expectedLines?: number;
3071
- readonly kind: "extendedText";
3072
- }, ...({
3073
3002
  readonly id: string;
3074
3003
  readonly label: string;
3075
3004
  readonly areas: readonly ({
@@ -3107,6 +3036,40 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3107
3036
  readonly maxChoices: number;
3108
3037
  readonly minChoices: number;
3109
3038
  } | {
3039
+ readonly id: string;
3040
+ readonly label: string;
3041
+ readonly expectedLength?: number;
3042
+ readonly kind: "textEntry";
3043
+ } | {
3044
+ readonly id: string;
3045
+ readonly label: string;
3046
+ readonly acceptsFractions: boolean;
3047
+ readonly kind: "numericEntry";
3048
+ readonly unit?: string;
3049
+ } | {
3050
+ readonly id: string;
3051
+ readonly label: string;
3052
+ readonly expectedLines?: number;
3053
+ readonly kind: "extendedText";
3054
+ } | {
3055
+ readonly id: string;
3056
+ readonly label: string;
3057
+ readonly count: number;
3058
+ readonly frame: {
3059
+ readonly kind: "cartesian";
3060
+ readonly x: {
3061
+ readonly max: number;
3062
+ readonly min: number;
3063
+ };
3064
+ readonly y: {
3065
+ readonly max: number;
3066
+ readonly min: number;
3067
+ };
3068
+ };
3069
+ readonly kind: "graphPoint";
3070
+ readonly placing: "lines" | "points";
3071
+ readonly snap?: number;
3072
+ }, ...({
3110
3073
  readonly id: string;
3111
3074
  readonly label: string;
3112
3075
  readonly kind: "choice";
@@ -3201,6 +3164,11 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3201
3164
  readonly options: readonly {
3202
3165
  readonly id: string;
3203
3166
  readonly label: readonly [{
3167
+ readonly attrs: {
3168
+ readonly latex: string;
3169
+ };
3170
+ readonly type: "mathInline";
3171
+ } | {
3204
3172
  readonly marks?: readonly [{
3205
3173
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3206
3174
  } | {
@@ -3218,12 +3186,12 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3218
3186
  })[]];
3219
3187
  readonly text: string;
3220
3188
  readonly type: "text";
3221
- } | {
3189
+ }, ...({
3222
3190
  readonly attrs: {
3223
3191
  readonly latex: string;
3224
3192
  };
3225
3193
  readonly type: "mathInline";
3226
- }, ...({
3194
+ } | {
3227
3195
  readonly marks?: readonly [{
3228
3196
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3229
3197
  } | {
@@ -3241,35 +3209,20 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3241
3209
  })[]];
3242
3210
  readonly text: string;
3243
3211
  readonly type: "text";
3244
- } | {
3245
- readonly attrs: {
3246
- readonly latex: string;
3247
- };
3248
- readonly type: "mathInline";
3249
3212
  })[]];
3250
3213
  }[];
3251
3214
  readonly shuffle: boolean;
3252
- } | {
3253
- readonly id: string;
3254
- readonly label: string;
3255
- readonly expectedLength?: number;
3256
- readonly kind: "textEntry";
3257
- } | {
3258
- readonly id: string;
3259
- readonly label: string;
3260
- readonly acceptsFractions: boolean;
3261
- readonly kind: "numericEntry";
3262
- readonly unit?: string;
3263
- } | {
3264
- readonly id: string;
3265
- readonly label: string;
3266
- readonly kind: "mathEntry";
3267
3215
  } | {
3268
3216
  readonly id: string;
3269
3217
  readonly label: string;
3270
3218
  readonly choices: readonly [{
3271
3219
  readonly id: string;
3272
3220
  readonly label: readonly [{
3221
+ readonly attrs: {
3222
+ readonly latex: string;
3223
+ };
3224
+ readonly type: "mathInline";
3225
+ } | {
3273
3226
  readonly marks?: readonly [{
3274
3227
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3275
3228
  } | {
@@ -3287,12 +3240,12 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3287
3240
  })[]];
3288
3241
  readonly text: string;
3289
3242
  readonly type: "text";
3290
- } | {
3243
+ }, ...({
3291
3244
  readonly attrs: {
3292
3245
  readonly latex: string;
3293
3246
  };
3294
3247
  readonly type: "mathInline";
3295
- }, ...({
3248
+ } | {
3296
3249
  readonly marks?: readonly [{
3297
3250
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3298
3251
  } | {
@@ -3310,16 +3263,16 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3310
3263
  })[]];
3311
3264
  readonly text: string;
3312
3265
  readonly type: "text";
3313
- } | {
3314
- readonly attrs: {
3315
- readonly latex: string;
3316
- };
3317
- readonly type: "mathInline";
3318
3266
  })[]];
3319
3267
  readonly maxMatches: number;
3320
3268
  }, ...{
3321
3269
  readonly id: string;
3322
3270
  readonly label: readonly [{
3271
+ readonly attrs: {
3272
+ readonly latex: string;
3273
+ };
3274
+ readonly type: "mathInline";
3275
+ } | {
3323
3276
  readonly marks?: readonly [{
3324
3277
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3325
3278
  } | {
@@ -3337,12 +3290,12 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3337
3290
  })[]];
3338
3291
  readonly text: string;
3339
3292
  readonly type: "text";
3340
- } | {
3293
+ }, ...({
3341
3294
  readonly attrs: {
3342
3295
  readonly latex: string;
3343
3296
  };
3344
3297
  readonly type: "mathInline";
3345
- }, ...({
3298
+ } | {
3346
3299
  readonly marks?: readonly [{
3347
3300
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3348
3301
  } | {
@@ -3360,11 +3313,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3360
3313
  })[]];
3361
3314
  readonly text: string;
3362
3315
  readonly type: "text";
3363
- } | {
3364
- readonly attrs: {
3365
- readonly latex: string;
3366
- };
3367
- readonly type: "mathInline";
3368
3316
  })[]];
3369
3317
  readonly maxMatches: number;
3370
3318
  }[]];
@@ -3375,6 +3323,63 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3375
3323
  }[]];
3376
3324
  readonly kind: "gapMatch";
3377
3325
  readonly shuffle: boolean;
3326
+ } | {
3327
+ readonly id: string;
3328
+ readonly label: string;
3329
+ readonly kind: "mathEntry";
3330
+ } | {
3331
+ readonly id: string;
3332
+ readonly label: string;
3333
+ readonly areas: readonly ({
3334
+ readonly id: string;
3335
+ readonly label: string;
3336
+ readonly coords: readonly [number, number, number, number];
3337
+ readonly shape: "rect";
3338
+ } | {
3339
+ readonly id: string;
3340
+ readonly label: string;
3341
+ readonly coords: readonly [number, number, number];
3342
+ readonly shape: "circle";
3343
+ } | {
3344
+ readonly id: string;
3345
+ readonly label: string;
3346
+ readonly coords: readonly [number, number, number, number];
3347
+ readonly shape: "ellipse";
3348
+ } | {
3349
+ readonly id: string;
3350
+ readonly label: string;
3351
+ readonly coords: readonly [number, number, number, number, number, number, ...number[]];
3352
+ readonly shape: "poly";
3353
+ } | {
3354
+ readonly id: string;
3355
+ readonly label: string;
3356
+ readonly shape: "default";
3357
+ })[];
3358
+ readonly image: {
3359
+ readonly alt: string;
3360
+ readonly asset: string;
3361
+ readonly height: number;
3362
+ readonly width: number;
3363
+ };
3364
+ readonly kind: "hotspot";
3365
+ readonly maxChoices: number;
3366
+ readonly minChoices: number;
3367
+ } | {
3368
+ readonly id: string;
3369
+ readonly label: string;
3370
+ readonly expectedLength?: number;
3371
+ readonly kind: "textEntry";
3372
+ } | {
3373
+ readonly id: string;
3374
+ readonly label: string;
3375
+ readonly acceptsFractions: boolean;
3376
+ readonly kind: "numericEntry";
3377
+ readonly unit?: string;
3378
+ } | {
3379
+ readonly id: string;
3380
+ readonly label: string;
3381
+ readonly expectedLines?: number;
3382
+ readonly kind: "extendedText";
3378
3383
  } | {
3379
3384
  readonly id: string;
3380
3385
  readonly label: string;
@@ -3393,11 +3398,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3393
3398
  readonly kind: "graphPoint";
3394
3399
  readonly placing: "lines" | "points";
3395
3400
  readonly snap?: number;
3396
- } | {
3397
- readonly id: string;
3398
- readonly label: string;
3399
- readonly expectedLines?: number;
3400
- readonly kind: "extendedText";
3401
3401
  })[]];
3402
3402
  readonly joint?: {
3403
3403
  readonly levels: readonly [{
@@ -3416,11 +3416,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3416
3416
  readonly interaction: string;
3417
3417
  readonly rule: {
3418
3418
  readonly kind: "allOrNothing";
3419
- } | {
3420
- readonly floor: number;
3421
- readonly kind: "perPart";
3422
- readonly penaltyPerWrongPart?: number;
3423
- readonly pointsPerPart: number;
3424
3419
  } | {
3425
3420
  readonly bands: readonly [{
3426
3421
  readonly points: number;
@@ -3449,6 +3444,11 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3449
3444
  }[];
3450
3445
  }[]];
3451
3446
  readonly kind: "rubric";
3447
+ } | {
3448
+ readonly floor: number;
3449
+ readonly kind: "perPart";
3450
+ readonly penaltyPerWrongPart?: number;
3451
+ readonly pointsPerPart: number;
3452
3452
  };
3453
3453
  }[];
3454
3454
  readonly stimulus?: {
@@ -3511,14 +3511,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3511
3511
  readonly kind: "text";
3512
3512
  };
3513
3513
  readonly kind: "textEntry";
3514
- } | {
3515
- readonly interaction: string;
3516
- readonly kind: "numericEntry";
3517
- readonly tolerance?: {
3518
- readonly kind: "absolute" | "relative";
3519
- readonly value: string;
3520
- };
3521
- readonly value: string;
3522
3514
  } | {
3523
3515
  readonly interaction: string;
3524
3516
  readonly expression: string;
@@ -3592,6 +3584,14 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3592
3584
  }[]];
3593
3585
  }[]];
3594
3586
  readonly kind: "extendedText";
3587
+ } | {
3588
+ readonly interaction: string;
3589
+ readonly kind: "numericEntry";
3590
+ readonly tolerance?: {
3591
+ readonly kind: "absolute" | "relative";
3592
+ readonly value: string;
3593
+ };
3594
+ readonly value: string;
3595
3595
  }, ...({
3596
3596
  readonly interaction: string;
3597
3597
  readonly correct: readonly [string, ...string[]];
@@ -3633,14 +3633,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3633
3633
  readonly kind: "text";
3634
3634
  };
3635
3635
  readonly kind: "textEntry";
3636
- } | {
3637
- readonly interaction: string;
3638
- readonly kind: "numericEntry";
3639
- readonly tolerance?: {
3640
- readonly kind: "absolute" | "relative";
3641
- readonly value: string;
3642
- };
3643
- readonly value: string;
3644
3636
  } | {
3645
3637
  readonly interaction: string;
3646
3638
  readonly expression: string;
@@ -3714,6 +3706,14 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3714
3706
  }[]];
3715
3707
  }[]];
3716
3708
  readonly kind: "extendedText";
3709
+ } | {
3710
+ readonly interaction: string;
3711
+ readonly kind: "numericEntry";
3712
+ readonly tolerance?: {
3713
+ readonly kind: "absolute" | "relative";
3714
+ readonly value: string;
3715
+ };
3716
+ readonly value: string;
3717
3717
  })[]];
3718
3718
  readonly version: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3719
3719
  };