@nakafa/aksara-contracts 4.1.2 → 5.0.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.
@@ -39,9 +39,28 @@ export declare const AssessmentRowSchema: Schema.Union<readonly [Schema.Struct<{
39
39
  readonly title: Schema.String;
40
40
  readonly countryKey: Schema.String;
41
41
  readonly examKey: Schema.String;
42
+ readonly groupAxis: Schema.Literals<readonly ["grade", "institution", "year"]>;
42
43
  readonly kind: Schema.Literal<"exam">;
43
44
  readonly order: Schema.Int;
44
45
  readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
46
+ }>, Schema.Struct<{
47
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
48
+ readonly description: Schema.optionalKey<Schema.String>;
49
+ readonly graph: Schema.Struct<{
50
+ readonly alignmentId: Schema.String;
51
+ readonly assetId: Schema.String;
52
+ readonly conceptId: Schema.String;
53
+ readonly learningObjectId: Schema.String;
54
+ readonly lensId: Schema.String;
55
+ }>;
56
+ readonly sourceRevision: Schema.Trimmed;
57
+ readonly title: Schema.String;
58
+ readonly countryKey: Schema.String;
59
+ readonly examKey: Schema.String;
60
+ readonly groupKey: Schema.String;
61
+ readonly kind: Schema.Literal<"group">;
62
+ readonly order: Schema.Int;
63
+ readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
45
64
  }>, Schema.Struct<{
46
65
  readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
47
66
  readonly description: Schema.optionalKey<Schema.String>;
@@ -57,10 +76,10 @@ export declare const AssessmentRowSchema: Schema.Union<readonly [Schema.Struct<{
57
76
  readonly countryKey: Schema.String;
58
77
  readonly examKey: Schema.String;
59
78
  readonly trackKey: Schema.String;
79
+ readonly groupKey: Schema.String;
60
80
  readonly kind: Schema.Literal<"track">;
61
81
  readonly order: Schema.Int;
62
82
  readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
63
- readonly trackKind: Schema.Literals<readonly ["institution", "subject", "year"]>;
64
83
  }>, Schema.Struct<{
65
84
  readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
66
85
  readonly description: Schema.optionalKey<Schema.String>;
@@ -621,9 +640,28 @@ export declare const AssessmentRecordSchema: Schema.Struct<{
621
640
  readonly title: Schema.String;
622
641
  readonly countryKey: Schema.String;
623
642
  readonly examKey: Schema.String;
643
+ readonly groupAxis: Schema.Literals<readonly ["grade", "institution", "year"]>;
624
644
  readonly kind: Schema.Literal<"exam">;
625
645
  readonly order: Schema.Int;
626
646
  readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
647
+ }>, Schema.Struct<{
648
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
649
+ readonly description: Schema.optionalKey<Schema.String>;
650
+ readonly graph: Schema.Struct<{
651
+ readonly alignmentId: Schema.String;
652
+ readonly assetId: Schema.String;
653
+ readonly conceptId: Schema.String;
654
+ readonly learningObjectId: Schema.String;
655
+ readonly lensId: Schema.String;
656
+ }>;
657
+ readonly sourceRevision: Schema.Trimmed;
658
+ readonly title: Schema.String;
659
+ readonly countryKey: Schema.String;
660
+ readonly examKey: Schema.String;
661
+ readonly groupKey: Schema.String;
662
+ readonly kind: Schema.Literal<"group">;
663
+ readonly order: Schema.Int;
664
+ readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
627
665
  }>, Schema.Struct<{
628
666
  readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
629
667
  readonly description: Schema.optionalKey<Schema.String>;
@@ -639,10 +677,10 @@ export declare const AssessmentRecordSchema: Schema.Struct<{
639
677
  readonly countryKey: Schema.String;
640
678
  readonly examKey: Schema.String;
641
679
  readonly trackKey: Schema.String;
680
+ readonly groupKey: Schema.String;
642
681
  readonly kind: Schema.Literal<"track">;
643
682
  readonly order: Schema.Int;
644
683
  readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
645
- readonly trackKind: Schema.Literals<readonly ["institution", "subject", "year"]>;
646
684
  }>, Schema.Struct<{
647
685
  readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
648
686
  readonly description: Schema.optionalKey<Schema.String>;
@@ -1257,9 +1295,28 @@ export declare const hashAssessmentRow: (row: {
1257
1295
  readonly title: string;
1258
1296
  readonly countryKey: string;
1259
1297
  readonly examKey: string;
1298
+ readonly groupAxis: "grade" | "institution" | "year";
1260
1299
  readonly kind: "exam";
1261
1300
  readonly order: number;
1262
1301
  readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
1302
+ } | {
1303
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
1304
+ readonly description?: string;
1305
+ readonly graph: {
1306
+ readonly alignmentId: string;
1307
+ readonly assetId: string;
1308
+ readonly conceptId: string;
1309
+ readonly learningObjectId: string;
1310
+ readonly lensId: string;
1311
+ };
1312
+ readonly sourceRevision: string;
1313
+ readonly title: string;
1314
+ readonly countryKey: string;
1315
+ readonly examKey: string;
1316
+ readonly groupKey: string;
1317
+ readonly kind: "group";
1318
+ readonly order: number;
1319
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
1263
1320
  } | {
1264
1321
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
1265
1322
  readonly description?: string;
@@ -1275,10 +1332,10 @@ export declare const hashAssessmentRow: (row: {
1275
1332
  readonly countryKey: string;
1276
1333
  readonly examKey: string;
1277
1334
  readonly trackKey: string;
1335
+ readonly groupKey: string;
1278
1336
  readonly kind: "track";
1279
1337
  readonly order: number;
1280
1338
  readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
1281
- readonly trackKind: "institution" | "subject" | "year";
1282
1339
  } | {
1283
1340
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
1284
1341
  readonly description?: string;
@@ -1350,11 +1407,6 @@ export declare const hashAssessmentRow: (row: {
1350
1407
  readonly interaction: "choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry";
1351
1408
  readonly rule: {
1352
1409
  readonly kind: "allOrNothing";
1353
- } | {
1354
- readonly floor: number;
1355
- readonly kind: "perPart";
1356
- readonly penaltyPerWrongPart?: number;
1357
- readonly pointsPerPart: number;
1358
1410
  } | {
1359
1411
  readonly bands: readonly [{
1360
1412
  readonly points: number;
@@ -1364,6 +1416,11 @@ export declare const hashAssessmentRow: (row: {
1364
1416
  readonly wrong: number;
1365
1417
  }[]];
1366
1418
  readonly kind: "wrongParts";
1419
+ } | {
1420
+ readonly floor: number;
1421
+ readonly kind: "perPart";
1422
+ readonly penaltyPerWrongPart?: number;
1423
+ readonly pointsPerPart: number;
1367
1424
  };
1368
1425
  }[];
1369
1426
  readonly graceSeconds: number;
@@ -1480,43 +1537,6 @@ export declare const hashAssessmentRow: (row: {
1480
1537
  readonly deliveryLanguage: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentLanguage">;
1481
1538
  readonly family: string & import("effect/Brand").Brand<"@NakafaAI/AksaraItemFamilyId">;
1482
1539
  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
1540
  readonly id: string;
1521
1541
  readonly label: string;
1522
1542
  readonly kind: "choice";
@@ -1611,6 +1631,11 @@ export declare const hashAssessmentRow: (row: {
1611
1631
  readonly options: readonly {
1612
1632
  readonly id: string;
1613
1633
  readonly label: readonly [{
1634
+ readonly attrs: {
1635
+ readonly latex: string;
1636
+ };
1637
+ readonly type: "mathInline";
1638
+ } | {
1614
1639
  readonly marks?: readonly [{
1615
1640
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1616
1641
  } | {
@@ -1628,12 +1653,12 @@ export declare const hashAssessmentRow: (row: {
1628
1653
  })[]];
1629
1654
  readonly text: string;
1630
1655
  readonly type: "text";
1631
- } | {
1656
+ }, ...({
1632
1657
  readonly attrs: {
1633
1658
  readonly latex: string;
1634
1659
  };
1635
1660
  readonly type: "mathInline";
1636
- }, ...({
1661
+ } | {
1637
1662
  readonly marks?: readonly [{
1638
1663
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1639
1664
  } | {
@@ -1651,35 +1676,20 @@ export declare const hashAssessmentRow: (row: {
1651
1676
  })[]];
1652
1677
  readonly text: string;
1653
1678
  readonly type: "text";
1654
- } | {
1655
- readonly attrs: {
1656
- readonly latex: string;
1657
- };
1658
- readonly type: "mathInline";
1659
1679
  })[]];
1660
1680
  }[];
1661
1681
  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
1682
  } | {
1678
1683
  readonly id: string;
1679
1684
  readonly label: string;
1680
1685
  readonly choices: readonly [{
1681
1686
  readonly id: string;
1682
1687
  readonly label: readonly [{
1688
+ readonly attrs: {
1689
+ readonly latex: string;
1690
+ };
1691
+ readonly type: "mathInline";
1692
+ } | {
1683
1693
  readonly marks?: readonly [{
1684
1694
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1685
1695
  } | {
@@ -1697,12 +1707,12 @@ export declare const hashAssessmentRow: (row: {
1697
1707
  })[]];
1698
1708
  readonly text: string;
1699
1709
  readonly type: "text";
1700
- } | {
1710
+ }, ...({
1701
1711
  readonly attrs: {
1702
1712
  readonly latex: string;
1703
1713
  };
1704
1714
  readonly type: "mathInline";
1705
- }, ...({
1715
+ } | {
1706
1716
  readonly marks?: readonly [{
1707
1717
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1708
1718
  } | {
@@ -1720,16 +1730,16 @@ export declare const hashAssessmentRow: (row: {
1720
1730
  })[]];
1721
1731
  readonly text: string;
1722
1732
  readonly type: "text";
1723
- } | {
1724
- readonly attrs: {
1725
- readonly latex: string;
1726
- };
1727
- readonly type: "mathInline";
1728
1733
  })[]];
1729
1734
  readonly maxMatches: number;
1730
1735
  }, ...{
1731
1736
  readonly id: string;
1732
1737
  readonly label: readonly [{
1738
+ readonly attrs: {
1739
+ readonly latex: string;
1740
+ };
1741
+ readonly type: "mathInline";
1742
+ } | {
1733
1743
  readonly marks?: readonly [{
1734
1744
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1735
1745
  } | {
@@ -1747,12 +1757,12 @@ export declare const hashAssessmentRow: (row: {
1747
1757
  })[]];
1748
1758
  readonly text: string;
1749
1759
  readonly type: "text";
1750
- } | {
1760
+ }, ...({
1751
1761
  readonly attrs: {
1752
1762
  readonly latex: string;
1753
1763
  };
1754
1764
  readonly type: "mathInline";
1755
- }, ...({
1765
+ } | {
1756
1766
  readonly marks?: readonly [{
1757
1767
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1758
1768
  } | {
@@ -1770,11 +1780,6 @@ export declare const hashAssessmentRow: (row: {
1770
1780
  })[]];
1771
1781
  readonly text: string;
1772
1782
  readonly type: "text";
1773
- } | {
1774
- readonly attrs: {
1775
- readonly latex: string;
1776
- };
1777
- readonly type: "mathInline";
1778
1783
  })[]];
1779
1784
  readonly maxMatches: number;
1780
1785
  }[]];
@@ -1788,27 +1793,8 @@ export declare const hashAssessmentRow: (row: {
1788
1793
  } | {
1789
1794
  readonly id: string;
1790
1795
  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;
1796
+ readonly kind: "mathEntry";
1806
1797
  } | {
1807
- readonly id: string;
1808
- readonly label: string;
1809
- readonly expectedLines?: number;
1810
- readonly kind: "extendedText";
1811
- }, ...({
1812
1798
  readonly id: string;
1813
1799
  readonly label: string;
1814
1800
  readonly areas: readonly ({
@@ -1846,6 +1832,40 @@ export declare const hashAssessmentRow: (row: {
1846
1832
  readonly maxChoices: number;
1847
1833
  readonly minChoices: number;
1848
1834
  } | {
1835
+ readonly id: string;
1836
+ readonly label: string;
1837
+ readonly expectedLength?: number;
1838
+ readonly kind: "textEntry";
1839
+ } | {
1840
+ readonly id: string;
1841
+ readonly label: string;
1842
+ readonly acceptsFractions: boolean;
1843
+ readonly kind: "numericEntry";
1844
+ readonly unit?: string;
1845
+ } | {
1846
+ readonly id: string;
1847
+ readonly label: string;
1848
+ readonly expectedLines?: number;
1849
+ readonly kind: "extendedText";
1850
+ } | {
1851
+ readonly id: string;
1852
+ readonly label: string;
1853
+ readonly count: number;
1854
+ readonly frame: {
1855
+ readonly kind: "cartesian";
1856
+ readonly x: {
1857
+ readonly max: number;
1858
+ readonly min: number;
1859
+ };
1860
+ readonly y: {
1861
+ readonly max: number;
1862
+ readonly min: number;
1863
+ };
1864
+ };
1865
+ readonly kind: "graphPoint";
1866
+ readonly placing: "lines" | "points";
1867
+ readonly snap?: number;
1868
+ }, ...({
1849
1869
  readonly id: string;
1850
1870
  readonly label: string;
1851
1871
  readonly kind: "choice";
@@ -1940,6 +1960,11 @@ export declare const hashAssessmentRow: (row: {
1940
1960
  readonly options: readonly {
1941
1961
  readonly id: string;
1942
1962
  readonly label: readonly [{
1963
+ readonly attrs: {
1964
+ readonly latex: string;
1965
+ };
1966
+ readonly type: "mathInline";
1967
+ } | {
1943
1968
  readonly marks?: readonly [{
1944
1969
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1945
1970
  } | {
@@ -1957,12 +1982,12 @@ export declare const hashAssessmentRow: (row: {
1957
1982
  })[]];
1958
1983
  readonly text: string;
1959
1984
  readonly type: "text";
1960
- } | {
1985
+ }, ...({
1961
1986
  readonly attrs: {
1962
1987
  readonly latex: string;
1963
1988
  };
1964
1989
  readonly type: "mathInline";
1965
- }, ...({
1990
+ } | {
1966
1991
  readonly marks?: readonly [{
1967
1992
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1968
1993
  } | {
@@ -1980,35 +2005,20 @@ export declare const hashAssessmentRow: (row: {
1980
2005
  })[]];
1981
2006
  readonly text: string;
1982
2007
  readonly type: "text";
1983
- } | {
1984
- readonly attrs: {
1985
- readonly latex: string;
1986
- };
1987
- readonly type: "mathInline";
1988
2008
  })[]];
1989
2009
  }[];
1990
2010
  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
2011
  } | {
2007
2012
  readonly id: string;
2008
2013
  readonly label: string;
2009
2014
  readonly choices: readonly [{
2010
2015
  readonly id: string;
2011
2016
  readonly label: readonly [{
2017
+ readonly attrs: {
2018
+ readonly latex: string;
2019
+ };
2020
+ readonly type: "mathInline";
2021
+ } | {
2012
2022
  readonly marks?: readonly [{
2013
2023
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2014
2024
  } | {
@@ -2026,12 +2036,12 @@ export declare const hashAssessmentRow: (row: {
2026
2036
  })[]];
2027
2037
  readonly text: string;
2028
2038
  readonly type: "text";
2029
- } | {
2039
+ }, ...({
2030
2040
  readonly attrs: {
2031
2041
  readonly latex: string;
2032
2042
  };
2033
2043
  readonly type: "mathInline";
2034
- }, ...({
2044
+ } | {
2035
2045
  readonly marks?: readonly [{
2036
2046
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2037
2047
  } | {
@@ -2049,16 +2059,16 @@ export declare const hashAssessmentRow: (row: {
2049
2059
  })[]];
2050
2060
  readonly text: string;
2051
2061
  readonly type: "text";
2052
- } | {
2053
- readonly attrs: {
2054
- readonly latex: string;
2055
- };
2056
- readonly type: "mathInline";
2057
2062
  })[]];
2058
2063
  readonly maxMatches: number;
2059
2064
  }, ...{
2060
2065
  readonly id: string;
2061
2066
  readonly label: readonly [{
2067
+ readonly attrs: {
2068
+ readonly latex: string;
2069
+ };
2070
+ readonly type: "mathInline";
2071
+ } | {
2062
2072
  readonly marks?: readonly [{
2063
2073
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2064
2074
  } | {
@@ -2076,12 +2086,12 @@ export declare const hashAssessmentRow: (row: {
2076
2086
  })[]];
2077
2087
  readonly text: string;
2078
2088
  readonly type: "text";
2079
- } | {
2089
+ }, ...({
2080
2090
  readonly attrs: {
2081
2091
  readonly latex: string;
2082
2092
  };
2083
2093
  readonly type: "mathInline";
2084
- }, ...({
2094
+ } | {
2085
2095
  readonly marks?: readonly [{
2086
2096
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2087
2097
  } | {
@@ -2099,11 +2109,6 @@ export declare const hashAssessmentRow: (row: {
2099
2109
  })[]];
2100
2110
  readonly text: string;
2101
2111
  readonly type: "text";
2102
- } | {
2103
- readonly attrs: {
2104
- readonly latex: string;
2105
- };
2106
- readonly type: "mathInline";
2107
2112
  })[]];
2108
2113
  readonly maxMatches: number;
2109
2114
  }[]];
@@ -2114,6 +2119,63 @@ export declare const hashAssessmentRow: (row: {
2114
2119
  }[]];
2115
2120
  readonly kind: "gapMatch";
2116
2121
  readonly shuffle: boolean;
2122
+ } | {
2123
+ readonly id: string;
2124
+ readonly label: string;
2125
+ readonly kind: "mathEntry";
2126
+ } | {
2127
+ readonly id: string;
2128
+ readonly label: string;
2129
+ readonly areas: readonly ({
2130
+ readonly id: string;
2131
+ readonly label: string;
2132
+ readonly coords: readonly [number, number, number, number];
2133
+ readonly shape: "rect";
2134
+ } | {
2135
+ readonly id: string;
2136
+ readonly label: string;
2137
+ readonly coords: readonly [number, number, number];
2138
+ readonly shape: "circle";
2139
+ } | {
2140
+ readonly id: string;
2141
+ readonly label: string;
2142
+ readonly coords: readonly [number, number, number, number];
2143
+ readonly shape: "ellipse";
2144
+ } | {
2145
+ readonly id: string;
2146
+ readonly label: string;
2147
+ readonly coords: readonly [number, number, number, number, number, number, ...number[]];
2148
+ readonly shape: "poly";
2149
+ } | {
2150
+ readonly id: string;
2151
+ readonly label: string;
2152
+ readonly shape: "default";
2153
+ })[];
2154
+ readonly image: {
2155
+ readonly alt: string;
2156
+ readonly asset: string;
2157
+ readonly height: number;
2158
+ readonly width: number;
2159
+ };
2160
+ readonly kind: "hotspot";
2161
+ readonly maxChoices: number;
2162
+ readonly minChoices: number;
2163
+ } | {
2164
+ readonly id: string;
2165
+ readonly label: string;
2166
+ readonly expectedLength?: number;
2167
+ readonly kind: "textEntry";
2168
+ } | {
2169
+ readonly id: string;
2170
+ readonly label: string;
2171
+ readonly acceptsFractions: boolean;
2172
+ readonly kind: "numericEntry";
2173
+ readonly unit?: string;
2174
+ } | {
2175
+ readonly id: string;
2176
+ readonly label: string;
2177
+ readonly expectedLines?: number;
2178
+ readonly kind: "extendedText";
2117
2179
  } | {
2118
2180
  readonly id: string;
2119
2181
  readonly label: string;
@@ -2132,11 +2194,6 @@ export declare const hashAssessmentRow: (row: {
2132
2194
  readonly kind: "graphPoint";
2133
2195
  readonly placing: "lines" | "points";
2134
2196
  readonly snap?: number;
2135
- } | {
2136
- readonly id: string;
2137
- readonly label: string;
2138
- readonly expectedLines?: number;
2139
- readonly kind: "extendedText";
2140
2197
  })[]];
2141
2198
  readonly joint?: {
2142
2199
  readonly levels: readonly [{
@@ -2155,11 +2212,6 @@ export declare const hashAssessmentRow: (row: {
2155
2212
  readonly interaction: string;
2156
2213
  readonly rule: {
2157
2214
  readonly kind: "allOrNothing";
2158
- } | {
2159
- readonly floor: number;
2160
- readonly kind: "perPart";
2161
- readonly penaltyPerWrongPart?: number;
2162
- readonly pointsPerPart: number;
2163
2215
  } | {
2164
2216
  readonly bands: readonly [{
2165
2217
  readonly points: number;
@@ -2188,6 +2240,11 @@ export declare const hashAssessmentRow: (row: {
2188
2240
  }[];
2189
2241
  }[]];
2190
2242
  readonly kind: "rubric";
2243
+ } | {
2244
+ readonly floor: number;
2245
+ readonly kind: "perPart";
2246
+ readonly penaltyPerWrongPart?: number;
2247
+ readonly pointsPerPart: number;
2191
2248
  };
2192
2249
  }[];
2193
2250
  readonly stimulus?: {
@@ -2250,14 +2307,6 @@ export declare const hashAssessmentRow: (row: {
2250
2307
  readonly kind: "text";
2251
2308
  };
2252
2309
  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
2310
  } | {
2262
2311
  readonly interaction: string;
2263
2312
  readonly expression: string;
@@ -2331,6 +2380,14 @@ export declare const hashAssessmentRow: (row: {
2331
2380
  }[]];
2332
2381
  }[]];
2333
2382
  readonly kind: "extendedText";
2383
+ } | {
2384
+ readonly interaction: string;
2385
+ readonly kind: "numericEntry";
2386
+ readonly tolerance?: {
2387
+ readonly kind: "absolute" | "relative";
2388
+ readonly value: string;
2389
+ };
2390
+ readonly value: string;
2334
2391
  }, ...({
2335
2392
  readonly interaction: string;
2336
2393
  readonly correct: readonly [string, ...string[]];
@@ -2372,14 +2429,6 @@ export declare const hashAssessmentRow: (row: {
2372
2429
  readonly kind: "text";
2373
2430
  };
2374
2431
  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
2432
  } | {
2384
2433
  readonly interaction: string;
2385
2434
  readonly expression: string;
@@ -2453,6 +2502,14 @@ export declare const hashAssessmentRow: (row: {
2453
2502
  }[]];
2454
2503
  }[]];
2455
2504
  readonly kind: "extendedText";
2505
+ } | {
2506
+ readonly interaction: string;
2507
+ readonly kind: "numericEntry";
2508
+ readonly tolerance?: {
2509
+ readonly kind: "absolute" | "relative";
2510
+ readonly value: string;
2511
+ };
2512
+ readonly value: string;
2456
2513
  })[]];
2457
2514
  readonly version: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
2458
2515
  };
@@ -2518,9 +2575,28 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2518
2575
  readonly title: string;
2519
2576
  readonly countryKey: string;
2520
2577
  readonly examKey: string;
2578
+ readonly groupAxis: "grade" | "institution" | "year";
2521
2579
  readonly kind: "exam";
2522
2580
  readonly order: number;
2523
2581
  readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
2582
+ } | {
2583
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
2584
+ readonly description?: string;
2585
+ readonly graph: {
2586
+ readonly alignmentId: string;
2587
+ readonly assetId: string;
2588
+ readonly conceptId: string;
2589
+ readonly learningObjectId: string;
2590
+ readonly lensId: string;
2591
+ };
2592
+ readonly sourceRevision: string;
2593
+ readonly title: string;
2594
+ readonly countryKey: string;
2595
+ readonly examKey: string;
2596
+ readonly groupKey: string;
2597
+ readonly kind: "group";
2598
+ readonly order: number;
2599
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
2524
2600
  } | {
2525
2601
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
2526
2602
  readonly description?: string;
@@ -2536,10 +2612,10 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2536
2612
  readonly countryKey: string;
2537
2613
  readonly examKey: string;
2538
2614
  readonly trackKey: string;
2615
+ readonly groupKey: string;
2539
2616
  readonly kind: "track";
2540
2617
  readonly order: number;
2541
2618
  readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
2542
- readonly trackKind: "institution" | "subject" | "year";
2543
2619
  } | {
2544
2620
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
2545
2621
  readonly description?: string;
@@ -2611,11 +2687,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2611
2687
  readonly interaction: "choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry";
2612
2688
  readonly rule: {
2613
2689
  readonly kind: "allOrNothing";
2614
- } | {
2615
- readonly floor: number;
2616
- readonly kind: "perPart";
2617
- readonly penaltyPerWrongPart?: number;
2618
- readonly pointsPerPart: number;
2619
2690
  } | {
2620
2691
  readonly bands: readonly [{
2621
2692
  readonly points: number;
@@ -2625,6 +2696,11 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2625
2696
  readonly wrong: number;
2626
2697
  }[]];
2627
2698
  readonly kind: "wrongParts";
2699
+ } | {
2700
+ readonly floor: number;
2701
+ readonly kind: "perPart";
2702
+ readonly penaltyPerWrongPart?: number;
2703
+ readonly pointsPerPart: number;
2628
2704
  };
2629
2705
  }[];
2630
2706
  readonly graceSeconds: number;
@@ -2741,43 +2817,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2741
2817
  readonly deliveryLanguage: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentLanguage">;
2742
2818
  readonly family: string & import("effect/Brand").Brand<"@NakafaAI/AksaraItemFamilyId">;
2743
2819
  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
2820
  readonly id: string;
2782
2821
  readonly label: string;
2783
2822
  readonly kind: "choice";
@@ -2872,6 +2911,11 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2872
2911
  readonly options: readonly {
2873
2912
  readonly id: string;
2874
2913
  readonly label: readonly [{
2914
+ readonly attrs: {
2915
+ readonly latex: string;
2916
+ };
2917
+ readonly type: "mathInline";
2918
+ } | {
2875
2919
  readonly marks?: readonly [{
2876
2920
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2877
2921
  } | {
@@ -2889,12 +2933,12 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2889
2933
  })[]];
2890
2934
  readonly text: string;
2891
2935
  readonly type: "text";
2892
- } | {
2936
+ }, ...({
2893
2937
  readonly attrs: {
2894
2938
  readonly latex: string;
2895
2939
  };
2896
2940
  readonly type: "mathInline";
2897
- }, ...({
2941
+ } | {
2898
2942
  readonly marks?: readonly [{
2899
2943
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2900
2944
  } | {
@@ -2912,35 +2956,20 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2912
2956
  })[]];
2913
2957
  readonly text: string;
2914
2958
  readonly type: "text";
2915
- } | {
2916
- readonly attrs: {
2917
- readonly latex: string;
2918
- };
2919
- readonly type: "mathInline";
2920
2959
  })[]];
2921
2960
  }[];
2922
2961
  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";
2938
2962
  } | {
2939
2963
  readonly id: string;
2940
2964
  readonly label: string;
2941
2965
  readonly choices: readonly [{
2942
2966
  readonly id: string;
2943
2967
  readonly label: readonly [{
2968
+ readonly attrs: {
2969
+ readonly latex: string;
2970
+ };
2971
+ readonly type: "mathInline";
2972
+ } | {
2944
2973
  readonly marks?: readonly [{
2945
2974
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2946
2975
  } | {
@@ -2958,12 +2987,12 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2958
2987
  })[]];
2959
2988
  readonly text: string;
2960
2989
  readonly type: "text";
2961
- } | {
2990
+ }, ...({
2962
2991
  readonly attrs: {
2963
2992
  readonly latex: string;
2964
2993
  };
2965
2994
  readonly type: "mathInline";
2966
- }, ...({
2995
+ } | {
2967
2996
  readonly marks?: readonly [{
2968
2997
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2969
2998
  } | {
@@ -2981,16 +3010,16 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
2981
3010
  })[]];
2982
3011
  readonly text: string;
2983
3012
  readonly type: "text";
2984
- } | {
2985
- readonly attrs: {
2986
- readonly latex: string;
2987
- };
2988
- readonly type: "mathInline";
2989
3013
  })[]];
2990
3014
  readonly maxMatches: number;
2991
3015
  }, ...{
2992
3016
  readonly id: string;
2993
3017
  readonly label: readonly [{
3018
+ readonly attrs: {
3019
+ readonly latex: string;
3020
+ };
3021
+ readonly type: "mathInline";
3022
+ } | {
2994
3023
  readonly marks?: readonly [{
2995
3024
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2996
3025
  } | {
@@ -3008,12 +3037,12 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3008
3037
  })[]];
3009
3038
  readonly text: string;
3010
3039
  readonly type: "text";
3011
- } | {
3040
+ }, ...({
3012
3041
  readonly attrs: {
3013
3042
  readonly latex: string;
3014
3043
  };
3015
3044
  readonly type: "mathInline";
3016
- }, ...({
3045
+ } | {
3017
3046
  readonly marks?: readonly [{
3018
3047
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3019
3048
  } | {
@@ -3031,11 +3060,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3031
3060
  })[]];
3032
3061
  readonly text: string;
3033
3062
  readonly type: "text";
3034
- } | {
3035
- readonly attrs: {
3036
- readonly latex: string;
3037
- };
3038
- readonly type: "mathInline";
3039
3063
  })[]];
3040
3064
  readonly maxMatches: number;
3041
3065
  }[]];
@@ -3049,27 +3073,8 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3049
3073
  } | {
3050
3074
  readonly id: string;
3051
3075
  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;
3076
+ readonly kind: "mathEntry";
3067
3077
  } | {
3068
- readonly id: string;
3069
- readonly label: string;
3070
- readonly expectedLines?: number;
3071
- readonly kind: "extendedText";
3072
- }, ...({
3073
3078
  readonly id: string;
3074
3079
  readonly label: string;
3075
3080
  readonly areas: readonly ({
@@ -3107,6 +3112,40 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3107
3112
  readonly maxChoices: number;
3108
3113
  readonly minChoices: number;
3109
3114
  } | {
3115
+ readonly id: string;
3116
+ readonly label: string;
3117
+ readonly expectedLength?: number;
3118
+ readonly kind: "textEntry";
3119
+ } | {
3120
+ readonly id: string;
3121
+ readonly label: string;
3122
+ readonly acceptsFractions: boolean;
3123
+ readonly kind: "numericEntry";
3124
+ readonly unit?: string;
3125
+ } | {
3126
+ readonly id: string;
3127
+ readonly label: string;
3128
+ readonly expectedLines?: number;
3129
+ readonly kind: "extendedText";
3130
+ } | {
3131
+ readonly id: string;
3132
+ readonly label: string;
3133
+ readonly count: number;
3134
+ readonly frame: {
3135
+ readonly kind: "cartesian";
3136
+ readonly x: {
3137
+ readonly max: number;
3138
+ readonly min: number;
3139
+ };
3140
+ readonly y: {
3141
+ readonly max: number;
3142
+ readonly min: number;
3143
+ };
3144
+ };
3145
+ readonly kind: "graphPoint";
3146
+ readonly placing: "lines" | "points";
3147
+ readonly snap?: number;
3148
+ }, ...({
3110
3149
  readonly id: string;
3111
3150
  readonly label: string;
3112
3151
  readonly kind: "choice";
@@ -3201,6 +3240,11 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3201
3240
  readonly options: readonly {
3202
3241
  readonly id: string;
3203
3242
  readonly label: readonly [{
3243
+ readonly attrs: {
3244
+ readonly latex: string;
3245
+ };
3246
+ readonly type: "mathInline";
3247
+ } | {
3204
3248
  readonly marks?: readonly [{
3205
3249
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3206
3250
  } | {
@@ -3218,12 +3262,12 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3218
3262
  })[]];
3219
3263
  readonly text: string;
3220
3264
  readonly type: "text";
3221
- } | {
3265
+ }, ...({
3222
3266
  readonly attrs: {
3223
3267
  readonly latex: string;
3224
3268
  };
3225
3269
  readonly type: "mathInline";
3226
- }, ...({
3270
+ } | {
3227
3271
  readonly marks?: readonly [{
3228
3272
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3229
3273
  } | {
@@ -3241,35 +3285,20 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3241
3285
  })[]];
3242
3286
  readonly text: string;
3243
3287
  readonly type: "text";
3244
- } | {
3245
- readonly attrs: {
3246
- readonly latex: string;
3247
- };
3248
- readonly type: "mathInline";
3249
3288
  })[]];
3250
3289
  }[];
3251
3290
  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
3291
  } | {
3268
3292
  readonly id: string;
3269
3293
  readonly label: string;
3270
3294
  readonly choices: readonly [{
3271
3295
  readonly id: string;
3272
3296
  readonly label: readonly [{
3297
+ readonly attrs: {
3298
+ readonly latex: string;
3299
+ };
3300
+ readonly type: "mathInline";
3301
+ } | {
3273
3302
  readonly marks?: readonly [{
3274
3303
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3275
3304
  } | {
@@ -3287,12 +3316,12 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3287
3316
  })[]];
3288
3317
  readonly text: string;
3289
3318
  readonly type: "text";
3290
- } | {
3319
+ }, ...({
3291
3320
  readonly attrs: {
3292
3321
  readonly latex: string;
3293
3322
  };
3294
3323
  readonly type: "mathInline";
3295
- }, ...({
3324
+ } | {
3296
3325
  readonly marks?: readonly [{
3297
3326
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3298
3327
  } | {
@@ -3310,16 +3339,16 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3310
3339
  })[]];
3311
3340
  readonly text: string;
3312
3341
  readonly type: "text";
3313
- } | {
3314
- readonly attrs: {
3315
- readonly latex: string;
3316
- };
3317
- readonly type: "mathInline";
3318
3342
  })[]];
3319
3343
  readonly maxMatches: number;
3320
3344
  }, ...{
3321
3345
  readonly id: string;
3322
3346
  readonly label: readonly [{
3347
+ readonly attrs: {
3348
+ readonly latex: string;
3349
+ };
3350
+ readonly type: "mathInline";
3351
+ } | {
3323
3352
  readonly marks?: readonly [{
3324
3353
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3325
3354
  } | {
@@ -3337,12 +3366,12 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3337
3366
  })[]];
3338
3367
  readonly text: string;
3339
3368
  readonly type: "text";
3340
- } | {
3369
+ }, ...({
3341
3370
  readonly attrs: {
3342
3371
  readonly latex: string;
3343
3372
  };
3344
3373
  readonly type: "mathInline";
3345
- }, ...({
3374
+ } | {
3346
3375
  readonly marks?: readonly [{
3347
3376
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3348
3377
  } | {
@@ -3360,11 +3389,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3360
3389
  })[]];
3361
3390
  readonly text: string;
3362
3391
  readonly type: "text";
3363
- } | {
3364
- readonly attrs: {
3365
- readonly latex: string;
3366
- };
3367
- readonly type: "mathInline";
3368
3392
  })[]];
3369
3393
  readonly maxMatches: number;
3370
3394
  }[]];
@@ -3375,6 +3399,63 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3375
3399
  }[]];
3376
3400
  readonly kind: "gapMatch";
3377
3401
  readonly shuffle: boolean;
3402
+ } | {
3403
+ readonly id: string;
3404
+ readonly label: string;
3405
+ readonly kind: "mathEntry";
3406
+ } | {
3407
+ readonly id: string;
3408
+ readonly label: string;
3409
+ readonly areas: readonly ({
3410
+ readonly id: string;
3411
+ readonly label: string;
3412
+ readonly coords: readonly [number, number, number, number];
3413
+ readonly shape: "rect";
3414
+ } | {
3415
+ readonly id: string;
3416
+ readonly label: string;
3417
+ readonly coords: readonly [number, number, number];
3418
+ readonly shape: "circle";
3419
+ } | {
3420
+ readonly id: string;
3421
+ readonly label: string;
3422
+ readonly coords: readonly [number, number, number, number];
3423
+ readonly shape: "ellipse";
3424
+ } | {
3425
+ readonly id: string;
3426
+ readonly label: string;
3427
+ readonly coords: readonly [number, number, number, number, number, number, ...number[]];
3428
+ readonly shape: "poly";
3429
+ } | {
3430
+ readonly id: string;
3431
+ readonly label: string;
3432
+ readonly shape: "default";
3433
+ })[];
3434
+ readonly image: {
3435
+ readonly alt: string;
3436
+ readonly asset: string;
3437
+ readonly height: number;
3438
+ readonly width: number;
3439
+ };
3440
+ readonly kind: "hotspot";
3441
+ readonly maxChoices: number;
3442
+ readonly minChoices: number;
3443
+ } | {
3444
+ readonly id: string;
3445
+ readonly label: string;
3446
+ readonly expectedLength?: number;
3447
+ readonly kind: "textEntry";
3448
+ } | {
3449
+ readonly id: string;
3450
+ readonly label: string;
3451
+ readonly acceptsFractions: boolean;
3452
+ readonly kind: "numericEntry";
3453
+ readonly unit?: string;
3454
+ } | {
3455
+ readonly id: string;
3456
+ readonly label: string;
3457
+ readonly expectedLines?: number;
3458
+ readonly kind: "extendedText";
3378
3459
  } | {
3379
3460
  readonly id: string;
3380
3461
  readonly label: string;
@@ -3393,11 +3474,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3393
3474
  readonly kind: "graphPoint";
3394
3475
  readonly placing: "lines" | "points";
3395
3476
  readonly snap?: number;
3396
- } | {
3397
- readonly id: string;
3398
- readonly label: string;
3399
- readonly expectedLines?: number;
3400
- readonly kind: "extendedText";
3401
3477
  })[]];
3402
3478
  readonly joint?: {
3403
3479
  readonly levels: readonly [{
@@ -3416,11 +3492,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3416
3492
  readonly interaction: string;
3417
3493
  readonly rule: {
3418
3494
  readonly kind: "allOrNothing";
3419
- } | {
3420
- readonly floor: number;
3421
- readonly kind: "perPart";
3422
- readonly penaltyPerWrongPart?: number;
3423
- readonly pointsPerPart: number;
3424
3495
  } | {
3425
3496
  readonly bands: readonly [{
3426
3497
  readonly points: number;
@@ -3449,6 +3520,11 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3449
3520
  }[];
3450
3521
  }[]];
3451
3522
  readonly kind: "rubric";
3523
+ } | {
3524
+ readonly floor: number;
3525
+ readonly kind: "perPart";
3526
+ readonly penaltyPerWrongPart?: number;
3527
+ readonly pointsPerPart: number;
3452
3528
  };
3453
3529
  }[];
3454
3530
  readonly stimulus?: {
@@ -3511,14 +3587,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3511
3587
  readonly kind: "text";
3512
3588
  };
3513
3589
  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
3590
  } | {
3523
3591
  readonly interaction: string;
3524
3592
  readonly expression: string;
@@ -3592,6 +3660,14 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3592
3660
  }[]];
3593
3661
  }[]];
3594
3662
  readonly kind: "extendedText";
3663
+ } | {
3664
+ readonly interaction: string;
3665
+ readonly kind: "numericEntry";
3666
+ readonly tolerance?: {
3667
+ readonly kind: "absolute" | "relative";
3668
+ readonly value: string;
3669
+ };
3670
+ readonly value: string;
3595
3671
  }, ...({
3596
3672
  readonly interaction: string;
3597
3673
  readonly correct: readonly [string, ...string[]];
@@ -3633,14 +3709,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3633
3709
  readonly kind: "text";
3634
3710
  };
3635
3711
  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
3712
  } | {
3645
3713
  readonly interaction: string;
3646
3714
  readonly expression: string;
@@ -3714,6 +3782,14 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3714
3782
  }[]];
3715
3783
  }[]];
3716
3784
  readonly kind: "extendedText";
3785
+ } | {
3786
+ readonly interaction: string;
3787
+ readonly kind: "numericEntry";
3788
+ readonly tolerance?: {
3789
+ readonly kind: "absolute" | "relative";
3790
+ readonly value: string;
3791
+ };
3792
+ readonly value: string;
3717
3793
  })[]];
3718
3794
  readonly version: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3719
3795
  };