@nakafa/aksara-contracts 8.9.1 → 8.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/assessment/choice.d.ts +26 -0
  2. package/dist/assessment/document.d.ts +39 -0
  3. package/dist/assessment/figure.d.ts +13 -0
  4. package/dist/assessment/hash.d.ts +711 -111
  5. package/dist/assessment/inline.d.ts +53 -0
  6. package/dist/assessment/inline.js +1 -0
  7. package/dist/assessment/interaction.d.ts +26 -0
  8. package/dist/assessment/item.d.ts +414 -36
  9. package/dist/assessment/paper.d.ts +731 -131
  10. package/dist/assessment/part.d.ts +13 -0
  11. package/dist/assessment/rows.d.ts +336 -36
  12. package/dist/assessment/snapshot.d.ts +773 -121
  13. package/dist/release/snapshot/data.d.ts +26 -0
  14. package/dist/release/snapshot/verify.d.ts +336 -36
  15. package/dist/transport/group.d.ts +78 -0
  16. package/dist/transport/request.d.ts +2195 -343
  17. package/dist/transport/snapshot.d.ts +52 -0
  18. package/dist/visual/base/math.d.ts +56 -6
  19. package/dist/visual/base/media.d.ts +56 -6
  20. package/dist/visual/biology/bacteria.d.ts +224 -24
  21. package/dist/visual/biology/blood.d.ts +56 -6
  22. package/dist/visual/biology/cell.d.ts +168 -18
  23. package/dist/visual/biology/climate.d.ts +168 -18
  24. package/dist/visual/biology/ecology.d.ts +224 -24
  25. package/dist/visual/biology/heart.d.ts +56 -6
  26. package/dist/visual/biology/mitochondrion.d.ts +56 -6
  27. package/dist/visual/biology/muscle.d.ts +56 -6
  28. package/dist/visual/biology/neuron.d.ts +56 -6
  29. package/dist/visual/biology/paddy.d.ts +56 -6
  30. package/dist/visual/biology/physiology.d.ts +168 -18
  31. package/dist/visual/biology/plant.d.ts +280 -30
  32. package/dist/visual/biology/synapse.d.ts +56 -6
  33. package/dist/visual/biology/vessel.d.ts +56 -6
  34. package/dist/visual/biology/yeast.d.ts +56 -6
  35. package/dist/visual/card.d.ts +56 -6
  36. package/dist/visual/catalog.d.ts +16734 -5484
  37. package/dist/visual/chemistry/atom.d.ts +168 -18
  38. package/dist/visual/chemistry/balance.d.ts +280 -30
  39. package/dist/visual/chemistry/bonding.d.ts +280 -30
  40. package/dist/visual/chemistry/discovery.d.ts +392 -42
  41. package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
  42. package/dist/visual/chemistry/electron.d.ts +112 -12
  43. package/dist/visual/chemistry/laws.d.ts +224 -24
  44. package/dist/visual/chemistry/particles.d.ts +280 -30
  45. package/dist/visual/chemistry/periodic.d.ts +112 -12
  46. package/dist/visual/chemistry/rate.d.ts +56 -6
  47. package/dist/visual/chemistry/reaction.d.ts +168 -18
  48. package/dist/visual/chemistry/titration.d.ts +56 -6
  49. package/dist/visual/length.d.ts +56 -6
  50. package/dist/visual/mathematics/chance.d.ts +168 -18
  51. package/dist/visual/mathematics/chart.d.ts +56 -6
  52. package/dist/visual/mathematics/charts.d.ts +280 -30
  53. package/dist/visual/mathematics/function.d.ts +168 -18
  54. package/dist/visual/mathematics/journey.d.ts +56 -6
  55. package/dist/visual/mathematics/logic.d.ts +56 -6
  56. package/dist/visual/mathematics/network.d.ts +56 -6
  57. package/dist/visual/mathematics/numeral.d.ts +168 -18
  58. package/dist/visual/mathematics/sets.d.ts +56 -6
  59. package/dist/visual/physics/braking.d.ts +224 -24
  60. package/dist/visual/physics/circuit.d.ts +224 -24
  61. package/dist/visual/physics/circular.d.ts +112 -12
  62. package/dist/visual/physics/dynamics.d.ts +392 -42
  63. package/dist/visual/physics/efficiency.d.ts +336 -36
  64. package/dist/visual/physics/electronics.d.ts +168 -18
  65. package/dist/visual/physics/falling.d.ts +224 -24
  66. package/dist/visual/physics/field.d.ts +168 -18
  67. package/dist/visual/physics/fluid.d.ts +224 -24
  68. package/dist/visual/physics/force.d.ts +280 -30
  69. package/dist/visual/physics/gravity.d.ts +112 -12
  70. package/dist/visual/physics/heat.d.ts +168 -18
  71. package/dist/visual/physics/instrument.d.ts +392 -42
  72. package/dist/visual/physics/light.d.ts +224 -24
  73. package/dist/visual/physics/measurement.d.ts +224 -24
  74. package/dist/visual/physics/motion.d.ts +336 -36
  75. package/dist/visual/physics/nuclear.d.ts +168 -18
  76. package/dist/visual/physics/parabolic.d.ts +56 -6
  77. package/dist/visual/physics/position.d.ts +336 -36
  78. package/dist/visual/physics/power.d.ts +448 -48
  79. package/dist/visual/physics/precision.d.ts +392 -42
  80. package/dist/visual/physics/product.d.ts +224 -24
  81. package/dist/visual/physics/reading.d.ts +168 -18
  82. package/dist/visual/physics/record.d.ts +112 -12
  83. package/dist/visual/physics/relative.d.ts +168 -18
  84. package/dist/visual/physics/solar.d.ts +336 -36
  85. package/dist/visual/physics/thermodynamics.d.ts +56 -6
  86. package/dist/visual/physics/vector.d.ts +280 -30
  87. package/dist/visual/physics/velocity.d.ts +392 -42
  88. package/dist/visual/physics/wave.d.ts +224 -24
  89. package/dist/visual/politics.d.ts +336 -36
  90. package/package.json +1 -1
@@ -346,6 +346,19 @@ export declare const AssessmentRowSchema: Schema.Union<readonly [Schema.Struct<{
346
346
  readonly attrs: Schema.Struct<{
347
347
  readonly latex: Schema.Trimmed;
348
348
  }>;
349
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
350
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
351
+ }>, Schema.Struct<{
352
+ readonly attrs: Schema.Struct<{
353
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
354
+ }>;
355
+ readonly type: Schema.Literal<"highlight">;
356
+ }>, Schema.Struct<{
357
+ readonly attrs: Schema.Struct<{
358
+ readonly href: Schema.String;
359
+ }>;
360
+ readonly type: Schema.Literal<"link">;
361
+ }>]>>>;
349
362
  readonly type: Schema.Literal<"mathInline">;
350
363
  }>]>>;
351
364
  }>>;
@@ -427,6 +440,19 @@ export declare const AssessmentRowSchema: Schema.Union<readonly [Schema.Struct<{
427
440
  readonly attrs: Schema.Struct<{
428
441
  readonly latex: Schema.Trimmed;
429
442
  }>;
443
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
444
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
445
+ }>, Schema.Struct<{
446
+ readonly attrs: Schema.Struct<{
447
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
448
+ }>;
449
+ readonly type: Schema.Literal<"highlight">;
450
+ }>, Schema.Struct<{
451
+ readonly attrs: Schema.Struct<{
452
+ readonly href: Schema.String;
453
+ }>;
454
+ readonly type: Schema.Literal<"link">;
455
+ }>]>>>;
430
456
  readonly type: Schema.Literal<"mathInline">;
431
457
  }>]>>;
432
458
  readonly maxMatches: Schema.Int;
@@ -1054,6 +1080,19 @@ export declare const AssessmentRecordSchema: Schema.Struct<{
1054
1080
  readonly attrs: Schema.Struct<{
1055
1081
  readonly latex: Schema.Trimmed;
1056
1082
  }>;
1083
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1084
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1085
+ }>, Schema.Struct<{
1086
+ readonly attrs: Schema.Struct<{
1087
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
1088
+ }>;
1089
+ readonly type: Schema.Literal<"highlight">;
1090
+ }>, Schema.Struct<{
1091
+ readonly attrs: Schema.Struct<{
1092
+ readonly href: Schema.String;
1093
+ }>;
1094
+ readonly type: Schema.Literal<"link">;
1095
+ }>]>>>;
1057
1096
  readonly type: Schema.Literal<"mathInline">;
1058
1097
  }>]>>;
1059
1098
  }>>;
@@ -1135,6 +1174,19 @@ export declare const AssessmentRecordSchema: Schema.Struct<{
1135
1174
  readonly attrs: Schema.Struct<{
1136
1175
  readonly latex: Schema.Trimmed;
1137
1176
  }>;
1177
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1178
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1179
+ }>, Schema.Struct<{
1180
+ readonly attrs: Schema.Struct<{
1181
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
1182
+ }>;
1183
+ readonly type: Schema.Literal<"highlight">;
1184
+ }>, Schema.Struct<{
1185
+ readonly attrs: Schema.Struct<{
1186
+ readonly href: Schema.String;
1187
+ }>;
1188
+ readonly type: Schema.Literal<"link">;
1189
+ }>]>>>;
1138
1190
  readonly type: Schema.Literal<"mathInline">;
1139
1191
  }>]>>;
1140
1192
  readonly maxMatches: Schema.Int;
@@ -1882,11 +1934,64 @@ export declare const hashAssessmentRow: (row: {
1882
1934
  readonly options: readonly {
1883
1935
  readonly id: string;
1884
1936
  readonly label: readonly [{
1937
+ readonly marks?: readonly [{
1938
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1939
+ } | {
1940
+ readonly attrs: {
1941
+ readonly href: string;
1942
+ };
1943
+ readonly type: "link";
1944
+ } | {
1945
+ readonly attrs: {
1946
+ readonly variant: "success" | "warning" | null;
1947
+ };
1948
+ readonly type: "highlight";
1949
+ }, ...({
1950
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1951
+ } | {
1952
+ readonly attrs: {
1953
+ readonly href: string;
1954
+ };
1955
+ readonly type: "link";
1956
+ } | {
1957
+ readonly attrs: {
1958
+ readonly variant: "success" | "warning" | null;
1959
+ };
1960
+ readonly type: "highlight";
1961
+ })[]];
1962
+ readonly text: string;
1963
+ readonly type: "text";
1964
+ } | {
1885
1965
  readonly attrs: {
1886
1966
  readonly latex: string;
1887
1967
  };
1968
+ readonly marks?: readonly [{
1969
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1970
+ } | {
1971
+ readonly attrs: {
1972
+ readonly href: string;
1973
+ };
1974
+ readonly type: "link";
1975
+ } | {
1976
+ readonly attrs: {
1977
+ readonly variant: "success" | "warning" | null;
1978
+ };
1979
+ readonly type: "highlight";
1980
+ }, ...({
1981
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1982
+ } | {
1983
+ readonly attrs: {
1984
+ readonly href: string;
1985
+ };
1986
+ readonly type: "link";
1987
+ } | {
1988
+ readonly attrs: {
1989
+ readonly variant: "success" | "warning" | null;
1990
+ };
1991
+ readonly type: "highlight";
1992
+ })[]];
1888
1993
  readonly type: "mathInline";
1889
- } | {
1994
+ }, ...({
1890
1995
  readonly marks?: readonly [{
1891
1996
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1892
1997
  } | {
@@ -1914,12 +2019,10 @@ export declare const hashAssessmentRow: (row: {
1914
2019
  })[]];
1915
2020
  readonly text: string;
1916
2021
  readonly type: "text";
1917
- }, ...({
2022
+ } | {
1918
2023
  readonly attrs: {
1919
2024
  readonly latex: string;
1920
2025
  };
1921
- readonly type: "mathInline";
1922
- } | {
1923
2026
  readonly marks?: readonly [{
1924
2027
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1925
2028
  } | {
@@ -1945,8 +2048,7 @@ export declare const hashAssessmentRow: (row: {
1945
2048
  };
1946
2049
  readonly type: "highlight";
1947
2050
  })[]];
1948
- readonly text: string;
1949
- readonly type: "text";
2051
+ readonly type: "mathInline";
1950
2052
  })[]];
1951
2053
  }[];
1952
2054
  readonly shuffle: boolean;
@@ -1956,11 +2058,64 @@ export declare const hashAssessmentRow: (row: {
1956
2058
  readonly choices: readonly [{
1957
2059
  readonly id: string;
1958
2060
  readonly label: readonly [{
2061
+ readonly marks?: readonly [{
2062
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2063
+ } | {
2064
+ readonly attrs: {
2065
+ readonly href: string;
2066
+ };
2067
+ readonly type: "link";
2068
+ } | {
2069
+ readonly attrs: {
2070
+ readonly variant: "success" | "warning" | null;
2071
+ };
2072
+ readonly type: "highlight";
2073
+ }, ...({
2074
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2075
+ } | {
2076
+ readonly attrs: {
2077
+ readonly href: string;
2078
+ };
2079
+ readonly type: "link";
2080
+ } | {
2081
+ readonly attrs: {
2082
+ readonly variant: "success" | "warning" | null;
2083
+ };
2084
+ readonly type: "highlight";
2085
+ })[]];
2086
+ readonly text: string;
2087
+ readonly type: "text";
2088
+ } | {
1959
2089
  readonly attrs: {
1960
2090
  readonly latex: string;
1961
2091
  };
2092
+ readonly marks?: readonly [{
2093
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2094
+ } | {
2095
+ readonly attrs: {
2096
+ readonly href: string;
2097
+ };
2098
+ readonly type: "link";
2099
+ } | {
2100
+ readonly attrs: {
2101
+ readonly variant: "success" | "warning" | null;
2102
+ };
2103
+ readonly type: "highlight";
2104
+ }, ...({
2105
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2106
+ } | {
2107
+ readonly attrs: {
2108
+ readonly href: string;
2109
+ };
2110
+ readonly type: "link";
2111
+ } | {
2112
+ readonly attrs: {
2113
+ readonly variant: "success" | "warning" | null;
2114
+ };
2115
+ readonly type: "highlight";
2116
+ })[]];
1962
2117
  readonly type: "mathInline";
1963
- } | {
2118
+ }, ...({
1964
2119
  readonly marks?: readonly [{
1965
2120
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1966
2121
  } | {
@@ -1988,12 +2143,10 @@ export declare const hashAssessmentRow: (row: {
1988
2143
  })[]];
1989
2144
  readonly text: string;
1990
2145
  readonly type: "text";
1991
- }, ...({
2146
+ } | {
1992
2147
  readonly attrs: {
1993
2148
  readonly latex: string;
1994
2149
  };
1995
- readonly type: "mathInline";
1996
- } | {
1997
2150
  readonly marks?: readonly [{
1998
2151
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1999
2152
  } | {
@@ -2019,18 +2172,70 @@ export declare const hashAssessmentRow: (row: {
2019
2172
  };
2020
2173
  readonly type: "highlight";
2021
2174
  })[]];
2022
- readonly text: string;
2023
- readonly type: "text";
2175
+ readonly type: "mathInline";
2024
2176
  })[]];
2025
2177
  readonly maxMatches: number;
2026
2178
  }, ...{
2027
2179
  readonly id: string;
2028
2180
  readonly label: readonly [{
2181
+ readonly marks?: readonly [{
2182
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2183
+ } | {
2184
+ readonly attrs: {
2185
+ readonly href: string;
2186
+ };
2187
+ readonly type: "link";
2188
+ } | {
2189
+ readonly attrs: {
2190
+ readonly variant: "success" | "warning" | null;
2191
+ };
2192
+ readonly type: "highlight";
2193
+ }, ...({
2194
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2195
+ } | {
2196
+ readonly attrs: {
2197
+ readonly href: string;
2198
+ };
2199
+ readonly type: "link";
2200
+ } | {
2201
+ readonly attrs: {
2202
+ readonly variant: "success" | "warning" | null;
2203
+ };
2204
+ readonly type: "highlight";
2205
+ })[]];
2206
+ readonly text: string;
2207
+ readonly type: "text";
2208
+ } | {
2029
2209
  readonly attrs: {
2030
2210
  readonly latex: string;
2031
2211
  };
2212
+ readonly marks?: readonly [{
2213
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2214
+ } | {
2215
+ readonly attrs: {
2216
+ readonly href: string;
2217
+ };
2218
+ readonly type: "link";
2219
+ } | {
2220
+ readonly attrs: {
2221
+ readonly variant: "success" | "warning" | null;
2222
+ };
2223
+ readonly type: "highlight";
2224
+ }, ...({
2225
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2226
+ } | {
2227
+ readonly attrs: {
2228
+ readonly href: string;
2229
+ };
2230
+ readonly type: "link";
2231
+ } | {
2232
+ readonly attrs: {
2233
+ readonly variant: "success" | "warning" | null;
2234
+ };
2235
+ readonly type: "highlight";
2236
+ })[]];
2032
2237
  readonly type: "mathInline";
2033
- } | {
2238
+ }, ...({
2034
2239
  readonly marks?: readonly [{
2035
2240
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2036
2241
  } | {
@@ -2058,12 +2263,10 @@ export declare const hashAssessmentRow: (row: {
2058
2263
  })[]];
2059
2264
  readonly text: string;
2060
2265
  readonly type: "text";
2061
- }, ...({
2266
+ } | {
2062
2267
  readonly attrs: {
2063
2268
  readonly latex: string;
2064
2269
  };
2065
- readonly type: "mathInline";
2066
- } | {
2067
2270
  readonly marks?: readonly [{
2068
2271
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2069
2272
  } | {
@@ -2089,8 +2292,7 @@ export declare const hashAssessmentRow: (row: {
2089
2292
  };
2090
2293
  readonly type: "highlight";
2091
2294
  })[]];
2092
- readonly text: string;
2093
- readonly type: "text";
2295
+ readonly type: "mathInline";
2094
2296
  })[]];
2095
2297
  readonly maxMatches: number;
2096
2298
  }[]];
@@ -2288,11 +2490,6 @@ export declare const hashAssessmentRow: (row: {
2288
2490
  readonly options: readonly {
2289
2491
  readonly id: string;
2290
2492
  readonly label: readonly [{
2291
- readonly attrs: {
2292
- readonly latex: string;
2293
- };
2294
- readonly type: "mathInline";
2295
- } | {
2296
2493
  readonly marks?: readonly [{
2297
2494
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2298
2495
  } | {
@@ -2320,12 +2517,10 @@ export declare const hashAssessmentRow: (row: {
2320
2517
  })[]];
2321
2518
  readonly text: string;
2322
2519
  readonly type: "text";
2323
- }, ...({
2520
+ } | {
2324
2521
  readonly attrs: {
2325
2522
  readonly latex: string;
2326
2523
  };
2327
- readonly type: "mathInline";
2328
- } | {
2329
2524
  readonly marks?: readonly [{
2330
2525
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2331
2526
  } | {
@@ -2351,22 +2546,74 @@ export declare const hashAssessmentRow: (row: {
2351
2546
  };
2352
2547
  readonly type: "highlight";
2353
2548
  })[]];
2354
- readonly text: string;
2355
- readonly type: "text";
2356
- })[]];
2357
- }[];
2358
- readonly shuffle: boolean;
2359
- } | {
2360
- readonly id: string;
2361
- readonly label: string;
2362
- readonly choices: readonly [{
2363
- readonly id: string;
2364
- readonly label: readonly [{
2549
+ readonly type: "mathInline";
2550
+ }, ...({
2551
+ readonly marks?: readonly [{
2552
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2553
+ } | {
2554
+ readonly attrs: {
2555
+ readonly href: string;
2556
+ };
2557
+ readonly type: "link";
2558
+ } | {
2559
+ readonly attrs: {
2560
+ readonly variant: "success" | "warning" | null;
2561
+ };
2562
+ readonly type: "highlight";
2563
+ }, ...({
2564
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2565
+ } | {
2566
+ readonly attrs: {
2567
+ readonly href: string;
2568
+ };
2569
+ readonly type: "link";
2570
+ } | {
2571
+ readonly attrs: {
2572
+ readonly variant: "success" | "warning" | null;
2573
+ };
2574
+ readonly type: "highlight";
2575
+ })[]];
2576
+ readonly text: string;
2577
+ readonly type: "text";
2578
+ } | {
2365
2579
  readonly attrs: {
2366
2580
  readonly latex: string;
2367
2581
  };
2582
+ readonly marks?: readonly [{
2583
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2584
+ } | {
2585
+ readonly attrs: {
2586
+ readonly href: string;
2587
+ };
2588
+ readonly type: "link";
2589
+ } | {
2590
+ readonly attrs: {
2591
+ readonly variant: "success" | "warning" | null;
2592
+ };
2593
+ readonly type: "highlight";
2594
+ }, ...({
2595
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2596
+ } | {
2597
+ readonly attrs: {
2598
+ readonly href: string;
2599
+ };
2600
+ readonly type: "link";
2601
+ } | {
2602
+ readonly attrs: {
2603
+ readonly variant: "success" | "warning" | null;
2604
+ };
2605
+ readonly type: "highlight";
2606
+ })[]];
2368
2607
  readonly type: "mathInline";
2369
- } | {
2608
+ })[]];
2609
+ }[];
2610
+ readonly shuffle: boolean;
2611
+ } | {
2612
+ readonly id: string;
2613
+ readonly label: string;
2614
+ readonly choices: readonly [{
2615
+ readonly id: string;
2616
+ readonly label: readonly [{
2370
2617
  readonly marks?: readonly [{
2371
2618
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2372
2619
  } | {
@@ -2394,12 +2641,37 @@ export declare const hashAssessmentRow: (row: {
2394
2641
  })[]];
2395
2642
  readonly text: string;
2396
2643
  readonly type: "text";
2397
- }, ...({
2644
+ } | {
2398
2645
  readonly attrs: {
2399
2646
  readonly latex: string;
2400
2647
  };
2648
+ readonly marks?: readonly [{
2649
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2650
+ } | {
2651
+ readonly attrs: {
2652
+ readonly href: string;
2653
+ };
2654
+ readonly type: "link";
2655
+ } | {
2656
+ readonly attrs: {
2657
+ readonly variant: "success" | "warning" | null;
2658
+ };
2659
+ readonly type: "highlight";
2660
+ }, ...({
2661
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2662
+ } | {
2663
+ readonly attrs: {
2664
+ readonly href: string;
2665
+ };
2666
+ readonly type: "link";
2667
+ } | {
2668
+ readonly attrs: {
2669
+ readonly variant: "success" | "warning" | null;
2670
+ };
2671
+ readonly type: "highlight";
2672
+ })[]];
2401
2673
  readonly type: "mathInline";
2402
- } | {
2674
+ }, ...({
2403
2675
  readonly marks?: readonly [{
2404
2676
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2405
2677
  } | {
@@ -2427,16 +2699,99 @@ export declare const hashAssessmentRow: (row: {
2427
2699
  })[]];
2428
2700
  readonly text: string;
2429
2701
  readonly type: "text";
2702
+ } | {
2703
+ readonly attrs: {
2704
+ readonly latex: string;
2705
+ };
2706
+ readonly marks?: readonly [{
2707
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2708
+ } | {
2709
+ readonly attrs: {
2710
+ readonly href: string;
2711
+ };
2712
+ readonly type: "link";
2713
+ } | {
2714
+ readonly attrs: {
2715
+ readonly variant: "success" | "warning" | null;
2716
+ };
2717
+ readonly type: "highlight";
2718
+ }, ...({
2719
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2720
+ } | {
2721
+ readonly attrs: {
2722
+ readonly href: string;
2723
+ };
2724
+ readonly type: "link";
2725
+ } | {
2726
+ readonly attrs: {
2727
+ readonly variant: "success" | "warning" | null;
2728
+ };
2729
+ readonly type: "highlight";
2730
+ })[]];
2731
+ readonly type: "mathInline";
2430
2732
  })[]];
2431
2733
  readonly maxMatches: number;
2432
2734
  }, ...{
2433
2735
  readonly id: string;
2434
2736
  readonly label: readonly [{
2737
+ readonly marks?: readonly [{
2738
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2739
+ } | {
2740
+ readonly attrs: {
2741
+ readonly href: string;
2742
+ };
2743
+ readonly type: "link";
2744
+ } | {
2745
+ readonly attrs: {
2746
+ readonly variant: "success" | "warning" | null;
2747
+ };
2748
+ readonly type: "highlight";
2749
+ }, ...({
2750
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2751
+ } | {
2752
+ readonly attrs: {
2753
+ readonly href: string;
2754
+ };
2755
+ readonly type: "link";
2756
+ } | {
2757
+ readonly attrs: {
2758
+ readonly variant: "success" | "warning" | null;
2759
+ };
2760
+ readonly type: "highlight";
2761
+ })[]];
2762
+ readonly text: string;
2763
+ readonly type: "text";
2764
+ } | {
2435
2765
  readonly attrs: {
2436
2766
  readonly latex: string;
2437
2767
  };
2768
+ readonly marks?: readonly [{
2769
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2770
+ } | {
2771
+ readonly attrs: {
2772
+ readonly href: string;
2773
+ };
2774
+ readonly type: "link";
2775
+ } | {
2776
+ readonly attrs: {
2777
+ readonly variant: "success" | "warning" | null;
2778
+ };
2779
+ readonly type: "highlight";
2780
+ }, ...({
2781
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2782
+ } | {
2783
+ readonly attrs: {
2784
+ readonly href: string;
2785
+ };
2786
+ readonly type: "link";
2787
+ } | {
2788
+ readonly attrs: {
2789
+ readonly variant: "success" | "warning" | null;
2790
+ };
2791
+ readonly type: "highlight";
2792
+ })[]];
2438
2793
  readonly type: "mathInline";
2439
- } | {
2794
+ }, ...({
2440
2795
  readonly marks?: readonly [{
2441
2796
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2442
2797
  } | {
@@ -2464,12 +2819,10 @@ export declare const hashAssessmentRow: (row: {
2464
2819
  })[]];
2465
2820
  readonly text: string;
2466
2821
  readonly type: "text";
2467
- }, ...({
2822
+ } | {
2468
2823
  readonly attrs: {
2469
2824
  readonly latex: string;
2470
2825
  };
2471
- readonly type: "mathInline";
2472
- } | {
2473
2826
  readonly marks?: readonly [{
2474
2827
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
2475
2828
  } | {
@@ -2495,8 +2848,7 @@ export declare const hashAssessmentRow: (row: {
2495
2848
  };
2496
2849
  readonly type: "highlight";
2497
2850
  })[]];
2498
- readonly text: string;
2499
- readonly type: "text";
2851
+ readonly type: "mathInline";
2500
2852
  })[]];
2501
2853
  readonly maxMatches: number;
2502
2854
  }[]];
@@ -3601,11 +3953,6 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3601
3953
  readonly options: readonly {
3602
3954
  readonly id: string;
3603
3955
  readonly label: readonly [{
3604
- readonly attrs: {
3605
- readonly latex: string;
3606
- };
3607
- readonly type: "mathInline";
3608
- } | {
3609
3956
  readonly marks?: readonly [{
3610
3957
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3611
3958
  } | {
@@ -3633,12 +3980,10 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3633
3980
  })[]];
3634
3981
  readonly text: string;
3635
3982
  readonly type: "text";
3636
- }, ...({
3983
+ } | {
3637
3984
  readonly attrs: {
3638
3985
  readonly latex: string;
3639
3986
  };
3640
- readonly type: "mathInline";
3641
- } | {
3642
3987
  readonly marks?: readonly [{
3643
3988
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3644
3989
  } | {
@@ -3664,22 +4009,8 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3664
4009
  };
3665
4010
  readonly type: "highlight";
3666
4011
  })[]];
3667
- readonly text: string;
3668
- readonly type: "text";
3669
- })[]];
3670
- }[];
3671
- readonly shuffle: boolean;
3672
- } | {
3673
- readonly id: string;
3674
- readonly label: string;
3675
- readonly choices: readonly [{
3676
- readonly id: string;
3677
- readonly label: readonly [{
3678
- readonly attrs: {
3679
- readonly latex: string;
3680
- };
3681
4012
  readonly type: "mathInline";
3682
- } | {
4013
+ }, ...({
3683
4014
  readonly marks?: readonly [{
3684
4015
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3685
4016
  } | {
@@ -3707,12 +4038,10 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3707
4038
  })[]];
3708
4039
  readonly text: string;
3709
4040
  readonly type: "text";
3710
- }, ...({
4041
+ } | {
3711
4042
  readonly attrs: {
3712
4043
  readonly latex: string;
3713
4044
  };
3714
- readonly type: "mathInline";
3715
- } | {
3716
4045
  readonly marks?: readonly [{
3717
4046
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3718
4047
  } | {
@@ -3738,18 +4067,16 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3738
4067
  };
3739
4068
  readonly type: "highlight";
3740
4069
  })[]];
3741
- readonly text: string;
3742
- readonly type: "text";
4070
+ readonly type: "mathInline";
3743
4071
  })[]];
3744
- readonly maxMatches: number;
3745
- }, ...{
4072
+ }[];
4073
+ readonly shuffle: boolean;
4074
+ } | {
4075
+ readonly id: string;
4076
+ readonly label: string;
4077
+ readonly choices: readonly [{
3746
4078
  readonly id: string;
3747
4079
  readonly label: readonly [{
3748
- readonly attrs: {
3749
- readonly latex: string;
3750
- };
3751
- readonly type: "mathInline";
3752
- } | {
3753
4080
  readonly marks?: readonly [{
3754
4081
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3755
4082
  } | {
@@ -3777,12 +4104,10 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3777
4104
  })[]];
3778
4105
  readonly text: string;
3779
4106
  readonly type: "text";
3780
- }, ...({
4107
+ } | {
3781
4108
  readonly attrs: {
3782
4109
  readonly latex: string;
3783
4110
  };
3784
- readonly type: "mathInline";
3785
- } | {
3786
4111
  readonly marks?: readonly [{
3787
4112
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
3788
4113
  } | {
@@ -3808,25 +4133,202 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
3808
4133
  };
3809
4134
  readonly type: "highlight";
3810
4135
  })[]];
3811
- readonly text: string;
3812
- readonly type: "text";
3813
- })[]];
3814
- readonly maxMatches: number;
3815
- }[]];
3816
- readonly gaps: readonly [{
3817
- readonly id: string;
3818
- }, ...{
3819
- readonly id: string;
3820
- }[]];
3821
- readonly kind: "gapMatch";
3822
- readonly shuffle: boolean;
3823
- } | {
3824
- readonly id: string;
3825
- readonly label: string;
3826
- readonly kind: "mathEntry";
3827
- } | {
3828
- readonly id: string;
3829
- readonly label: string;
4136
+ readonly type: "mathInline";
4137
+ }, ...({
4138
+ readonly marks?: readonly [{
4139
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4140
+ } | {
4141
+ readonly attrs: {
4142
+ readonly href: string;
4143
+ };
4144
+ readonly type: "link";
4145
+ } | {
4146
+ readonly attrs: {
4147
+ readonly variant: "success" | "warning" | null;
4148
+ };
4149
+ readonly type: "highlight";
4150
+ }, ...({
4151
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4152
+ } | {
4153
+ readonly attrs: {
4154
+ readonly href: string;
4155
+ };
4156
+ readonly type: "link";
4157
+ } | {
4158
+ readonly attrs: {
4159
+ readonly variant: "success" | "warning" | null;
4160
+ };
4161
+ readonly type: "highlight";
4162
+ })[]];
4163
+ readonly text: string;
4164
+ readonly type: "text";
4165
+ } | {
4166
+ readonly attrs: {
4167
+ readonly latex: string;
4168
+ };
4169
+ readonly marks?: readonly [{
4170
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4171
+ } | {
4172
+ readonly attrs: {
4173
+ readonly href: string;
4174
+ };
4175
+ readonly type: "link";
4176
+ } | {
4177
+ readonly attrs: {
4178
+ readonly variant: "success" | "warning" | null;
4179
+ };
4180
+ readonly type: "highlight";
4181
+ }, ...({
4182
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4183
+ } | {
4184
+ readonly attrs: {
4185
+ readonly href: string;
4186
+ };
4187
+ readonly type: "link";
4188
+ } | {
4189
+ readonly attrs: {
4190
+ readonly variant: "success" | "warning" | null;
4191
+ };
4192
+ readonly type: "highlight";
4193
+ })[]];
4194
+ readonly type: "mathInline";
4195
+ })[]];
4196
+ readonly maxMatches: number;
4197
+ }, ...{
4198
+ readonly id: string;
4199
+ readonly label: readonly [{
4200
+ readonly marks?: readonly [{
4201
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4202
+ } | {
4203
+ readonly attrs: {
4204
+ readonly href: string;
4205
+ };
4206
+ readonly type: "link";
4207
+ } | {
4208
+ readonly attrs: {
4209
+ readonly variant: "success" | "warning" | null;
4210
+ };
4211
+ readonly type: "highlight";
4212
+ }, ...({
4213
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4214
+ } | {
4215
+ readonly attrs: {
4216
+ readonly href: string;
4217
+ };
4218
+ readonly type: "link";
4219
+ } | {
4220
+ readonly attrs: {
4221
+ readonly variant: "success" | "warning" | null;
4222
+ };
4223
+ readonly type: "highlight";
4224
+ })[]];
4225
+ readonly text: string;
4226
+ readonly type: "text";
4227
+ } | {
4228
+ readonly attrs: {
4229
+ readonly latex: string;
4230
+ };
4231
+ readonly marks?: readonly [{
4232
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4233
+ } | {
4234
+ readonly attrs: {
4235
+ readonly href: string;
4236
+ };
4237
+ readonly type: "link";
4238
+ } | {
4239
+ readonly attrs: {
4240
+ readonly variant: "success" | "warning" | null;
4241
+ };
4242
+ readonly type: "highlight";
4243
+ }, ...({
4244
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4245
+ } | {
4246
+ readonly attrs: {
4247
+ readonly href: string;
4248
+ };
4249
+ readonly type: "link";
4250
+ } | {
4251
+ readonly attrs: {
4252
+ readonly variant: "success" | "warning" | null;
4253
+ };
4254
+ readonly type: "highlight";
4255
+ })[]];
4256
+ readonly type: "mathInline";
4257
+ }, ...({
4258
+ readonly marks?: readonly [{
4259
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4260
+ } | {
4261
+ readonly attrs: {
4262
+ readonly href: string;
4263
+ };
4264
+ readonly type: "link";
4265
+ } | {
4266
+ readonly attrs: {
4267
+ readonly variant: "success" | "warning" | null;
4268
+ };
4269
+ readonly type: "highlight";
4270
+ }, ...({
4271
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4272
+ } | {
4273
+ readonly attrs: {
4274
+ readonly href: string;
4275
+ };
4276
+ readonly type: "link";
4277
+ } | {
4278
+ readonly attrs: {
4279
+ readonly variant: "success" | "warning" | null;
4280
+ };
4281
+ readonly type: "highlight";
4282
+ })[]];
4283
+ readonly text: string;
4284
+ readonly type: "text";
4285
+ } | {
4286
+ readonly attrs: {
4287
+ readonly latex: string;
4288
+ };
4289
+ readonly marks?: readonly [{
4290
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4291
+ } | {
4292
+ readonly attrs: {
4293
+ readonly href: string;
4294
+ };
4295
+ readonly type: "link";
4296
+ } | {
4297
+ readonly attrs: {
4298
+ readonly variant: "success" | "warning" | null;
4299
+ };
4300
+ readonly type: "highlight";
4301
+ }, ...({
4302
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4303
+ } | {
4304
+ readonly attrs: {
4305
+ readonly href: string;
4306
+ };
4307
+ readonly type: "link";
4308
+ } | {
4309
+ readonly attrs: {
4310
+ readonly variant: "success" | "warning" | null;
4311
+ };
4312
+ readonly type: "highlight";
4313
+ })[]];
4314
+ readonly type: "mathInline";
4315
+ })[]];
4316
+ readonly maxMatches: number;
4317
+ }[]];
4318
+ readonly gaps: readonly [{
4319
+ readonly id: string;
4320
+ }, ...{
4321
+ readonly id: string;
4322
+ }[]];
4323
+ readonly kind: "gapMatch";
4324
+ readonly shuffle: boolean;
4325
+ } | {
4326
+ readonly id: string;
4327
+ readonly label: string;
4328
+ readonly kind: "mathEntry";
4329
+ } | {
4330
+ readonly id: string;
4331
+ readonly label: string;
3830
4332
  readonly areas: readonly ({
3831
4333
  readonly id: string;
3832
4334
  readonly label: string;
@@ -4007,11 +4509,64 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
4007
4509
  readonly options: readonly {
4008
4510
  readonly id: string;
4009
4511
  readonly label: readonly [{
4512
+ readonly marks?: readonly [{
4513
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4514
+ } | {
4515
+ readonly attrs: {
4516
+ readonly href: string;
4517
+ };
4518
+ readonly type: "link";
4519
+ } | {
4520
+ readonly attrs: {
4521
+ readonly variant: "success" | "warning" | null;
4522
+ };
4523
+ readonly type: "highlight";
4524
+ }, ...({
4525
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4526
+ } | {
4527
+ readonly attrs: {
4528
+ readonly href: string;
4529
+ };
4530
+ readonly type: "link";
4531
+ } | {
4532
+ readonly attrs: {
4533
+ readonly variant: "success" | "warning" | null;
4534
+ };
4535
+ readonly type: "highlight";
4536
+ })[]];
4537
+ readonly text: string;
4538
+ readonly type: "text";
4539
+ } | {
4010
4540
  readonly attrs: {
4011
4541
  readonly latex: string;
4012
4542
  };
4543
+ readonly marks?: readonly [{
4544
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4545
+ } | {
4546
+ readonly attrs: {
4547
+ readonly href: string;
4548
+ };
4549
+ readonly type: "link";
4550
+ } | {
4551
+ readonly attrs: {
4552
+ readonly variant: "success" | "warning" | null;
4553
+ };
4554
+ readonly type: "highlight";
4555
+ }, ...({
4556
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4557
+ } | {
4558
+ readonly attrs: {
4559
+ readonly href: string;
4560
+ };
4561
+ readonly type: "link";
4562
+ } | {
4563
+ readonly attrs: {
4564
+ readonly variant: "success" | "warning" | null;
4565
+ };
4566
+ readonly type: "highlight";
4567
+ })[]];
4013
4568
  readonly type: "mathInline";
4014
- } | {
4569
+ }, ...({
4015
4570
  readonly marks?: readonly [{
4016
4571
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4017
4572
  } | {
@@ -4039,12 +4594,10 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
4039
4594
  })[]];
4040
4595
  readonly text: string;
4041
4596
  readonly type: "text";
4042
- }, ...({
4597
+ } | {
4043
4598
  readonly attrs: {
4044
4599
  readonly latex: string;
4045
4600
  };
4046
- readonly type: "mathInline";
4047
- } | {
4048
4601
  readonly marks?: readonly [{
4049
4602
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4050
4603
  } | {
@@ -4070,8 +4623,7 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
4070
4623
  };
4071
4624
  readonly type: "highlight";
4072
4625
  })[]];
4073
- readonly text: string;
4074
- readonly type: "text";
4626
+ readonly type: "mathInline";
4075
4627
  })[]];
4076
4628
  }[];
4077
4629
  readonly shuffle: boolean;
@@ -4081,11 +4633,64 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
4081
4633
  readonly choices: readonly [{
4082
4634
  readonly id: string;
4083
4635
  readonly label: readonly [{
4636
+ readonly marks?: readonly [{
4637
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4638
+ } | {
4639
+ readonly attrs: {
4640
+ readonly href: string;
4641
+ };
4642
+ readonly type: "link";
4643
+ } | {
4644
+ readonly attrs: {
4645
+ readonly variant: "success" | "warning" | null;
4646
+ };
4647
+ readonly type: "highlight";
4648
+ }, ...({
4649
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4650
+ } | {
4651
+ readonly attrs: {
4652
+ readonly href: string;
4653
+ };
4654
+ readonly type: "link";
4655
+ } | {
4656
+ readonly attrs: {
4657
+ readonly variant: "success" | "warning" | null;
4658
+ };
4659
+ readonly type: "highlight";
4660
+ })[]];
4661
+ readonly text: string;
4662
+ readonly type: "text";
4663
+ } | {
4084
4664
  readonly attrs: {
4085
4665
  readonly latex: string;
4086
4666
  };
4667
+ readonly marks?: readonly [{
4668
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4669
+ } | {
4670
+ readonly attrs: {
4671
+ readonly href: string;
4672
+ };
4673
+ readonly type: "link";
4674
+ } | {
4675
+ readonly attrs: {
4676
+ readonly variant: "success" | "warning" | null;
4677
+ };
4678
+ readonly type: "highlight";
4679
+ }, ...({
4680
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4681
+ } | {
4682
+ readonly attrs: {
4683
+ readonly href: string;
4684
+ };
4685
+ readonly type: "link";
4686
+ } | {
4687
+ readonly attrs: {
4688
+ readonly variant: "success" | "warning" | null;
4689
+ };
4690
+ readonly type: "highlight";
4691
+ })[]];
4087
4692
  readonly type: "mathInline";
4088
- } | {
4693
+ }, ...({
4089
4694
  readonly marks?: readonly [{
4090
4695
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4091
4696
  } | {
@@ -4113,12 +4718,10 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
4113
4718
  })[]];
4114
4719
  readonly text: string;
4115
4720
  readonly type: "text";
4116
- }, ...({
4721
+ } | {
4117
4722
  readonly attrs: {
4118
4723
  readonly latex: string;
4119
4724
  };
4120
- readonly type: "mathInline";
4121
- } | {
4122
4725
  readonly marks?: readonly [{
4123
4726
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4124
4727
  } | {
@@ -4144,18 +4747,70 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
4144
4747
  };
4145
4748
  readonly type: "highlight";
4146
4749
  })[]];
4147
- readonly text: string;
4148
- readonly type: "text";
4750
+ readonly type: "mathInline";
4149
4751
  })[]];
4150
4752
  readonly maxMatches: number;
4151
4753
  }, ...{
4152
4754
  readonly id: string;
4153
4755
  readonly label: readonly [{
4756
+ readonly marks?: readonly [{
4757
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4758
+ } | {
4759
+ readonly attrs: {
4760
+ readonly href: string;
4761
+ };
4762
+ readonly type: "link";
4763
+ } | {
4764
+ readonly attrs: {
4765
+ readonly variant: "success" | "warning" | null;
4766
+ };
4767
+ readonly type: "highlight";
4768
+ }, ...({
4769
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4770
+ } | {
4771
+ readonly attrs: {
4772
+ readonly href: string;
4773
+ };
4774
+ readonly type: "link";
4775
+ } | {
4776
+ readonly attrs: {
4777
+ readonly variant: "success" | "warning" | null;
4778
+ };
4779
+ readonly type: "highlight";
4780
+ })[]];
4781
+ readonly text: string;
4782
+ readonly type: "text";
4783
+ } | {
4154
4784
  readonly attrs: {
4155
4785
  readonly latex: string;
4156
4786
  };
4787
+ readonly marks?: readonly [{
4788
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4789
+ } | {
4790
+ readonly attrs: {
4791
+ readonly href: string;
4792
+ };
4793
+ readonly type: "link";
4794
+ } | {
4795
+ readonly attrs: {
4796
+ readonly variant: "success" | "warning" | null;
4797
+ };
4798
+ readonly type: "highlight";
4799
+ }, ...({
4800
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4801
+ } | {
4802
+ readonly attrs: {
4803
+ readonly href: string;
4804
+ };
4805
+ readonly type: "link";
4806
+ } | {
4807
+ readonly attrs: {
4808
+ readonly variant: "success" | "warning" | null;
4809
+ };
4810
+ readonly type: "highlight";
4811
+ })[]];
4157
4812
  readonly type: "mathInline";
4158
- } | {
4813
+ }, ...({
4159
4814
  readonly marks?: readonly [{
4160
4815
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4161
4816
  } | {
@@ -4183,12 +4838,10 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
4183
4838
  })[]];
4184
4839
  readonly text: string;
4185
4840
  readonly type: "text";
4186
- }, ...({
4841
+ } | {
4187
4842
  readonly attrs: {
4188
4843
  readonly latex: string;
4189
4844
  };
4190
- readonly type: "mathInline";
4191
- } | {
4192
4845
  readonly marks?: readonly [{
4193
4846
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4194
4847
  } | {
@@ -4214,8 +4867,7 @@ export declare const digestAssessmentRows: <E, R>(records: Stream.Stream<{
4214
4867
  };
4215
4868
  readonly type: "highlight";
4216
4869
  })[]];
4217
- readonly text: string;
4218
- readonly type: "text";
4870
+ readonly type: "mathInline";
4219
4871
  })[]];
4220
4872
  readonly maxMatches: number;
4221
4873
  }[]];