@nakafa/aksara-contracts 8.9.1 → 8.12.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 (160) 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/binomial.d.ts +139 -0
  22. package/dist/visual/biology/binomial.js +46 -0
  23. package/dist/visual/biology/blood.d.ts +56 -6
  24. package/dist/visual/biology/bone.d.ts +141 -0
  25. package/dist/visual/biology/bone.js +46 -0
  26. package/dist/visual/biology/cell.d.ts +168 -18
  27. package/dist/visual/biology/chromosome.d.ts +139 -0
  28. package/dist/visual/biology/chromosome.js +42 -0
  29. package/dist/visual/biology/climate.d.ts +168 -18
  30. package/dist/visual/biology/control.d.ts +17 -0
  31. package/dist/visual/biology/control.js +21 -0
  32. package/dist/visual/biology/denature.d.ts +159 -0
  33. package/dist/visual/biology/denature.js +74 -0
  34. package/dist/visual/biology/drawing.d.ts +151 -0
  35. package/dist/visual/biology/drawing.js +69 -0
  36. package/dist/visual/biology/ecology.d.ts +224 -24
  37. package/dist/visual/biology/enzyme.d.ts +145 -0
  38. package/dist/visual/biology/enzyme.js +54 -0
  39. package/dist/visual/biology/equipment.d.ts +140 -0
  40. package/dist/visual/biology/equipment.js +64 -0
  41. package/dist/visual/biology/gametogenesis.d.ts +145 -0
  42. package/dist/visual/biology/gametogenesis.js +83 -0
  43. package/dist/visual/biology/heart.d.ts +56 -6
  44. package/dist/visual/biology/implantation.d.ts +138 -0
  45. package/dist/visual/biology/implantation.js +44 -0
  46. package/dist/visual/biology/joint.d.ts +140 -0
  47. package/dist/visual/biology/joint.js +47 -0
  48. package/dist/visual/biology/key.d.ts +141 -0
  49. package/dist/visual/biology/key.js +58 -0
  50. package/dist/visual/biology/kingdom.d.ts +142 -0
  51. package/dist/visual/biology/kingdom.js +82 -0
  52. package/dist/visual/biology/lactase.d.ts +147 -0
  53. package/dist/visual/biology/lactase.js +48 -0
  54. package/dist/visual/biology/limb.d.ts +139 -0
  55. package/dist/visual/biology/limb.js +44 -0
  56. package/dist/visual/biology/lipid.d.ts +144 -0
  57. package/dist/visual/biology/lipid.js +43 -0
  58. package/dist/visual/biology/locomotion.d.ts +141 -0
  59. package/dist/visual/biology/locomotion.js +48 -0
  60. package/dist/visual/biology/menstrual.d.ts +148 -0
  61. package/dist/visual/biology/menstrual.js +65 -0
  62. package/dist/visual/biology/metamorphosis.d.ts +140 -0
  63. package/dist/visual/biology/metamorphosis.js +34 -0
  64. package/dist/visual/biology/mitochondrion.d.ts +56 -6
  65. package/dist/visual/biology/muscle.d.ts +56 -6
  66. package/dist/visual/biology/neuron.d.ts +56 -6
  67. package/dist/visual/biology/paddy.d.ts +56 -6
  68. package/dist/visual/biology/physiology.d.ts +168 -18
  69. package/dist/visual/biology/placenta.d.ts +139 -0
  70. package/dist/visual/biology/placenta.js +52 -0
  71. package/dist/visual/biology/planes.d.ts +145 -0
  72. package/dist/visual/biology/planes.js +62 -0
  73. package/dist/visual/biology/plant.d.ts +280 -30
  74. package/dist/visual/biology/protein.d.ts +142 -0
  75. package/dist/visual/biology/protein.js +41 -0
  76. package/dist/visual/biology/saturation.d.ts +149 -0
  77. package/dist/visual/biology/saturation.js +40 -0
  78. package/dist/visual/biology/secretion.d.ts +149 -0
  79. package/dist/visual/biology/secretion.js +79 -0
  80. package/dist/visual/biology/spill.d.ts +165 -0
  81. package/dist/visual/biology/spill.js +58 -0
  82. package/dist/visual/biology/sugar.d.ts +152 -0
  83. package/dist/visual/biology/sugar.js +59 -0
  84. package/dist/visual/biology/synapse.d.ts +56 -6
  85. package/dist/visual/biology/taxon.d.ts +138 -0
  86. package/dist/visual/biology/taxon.js +50 -0
  87. package/dist/visual/biology/twins.d.ts +144 -0
  88. package/dist/visual/biology/twins.js +60 -0
  89. package/dist/visual/biology/vernacular.d.ts +141 -0
  90. package/dist/visual/biology/vernacular.js +57 -0
  91. package/dist/visual/biology/vertebra.d.ts +141 -0
  92. package/dist/visual/biology/vertebra.js +59 -0
  93. package/dist/visual/biology/vessel.d.ts +56 -6
  94. package/dist/visual/biology/waste.d.ts +140 -0
  95. package/dist/visual/biology/waste.js +57 -0
  96. package/dist/visual/biology/water.d.ts +152 -0
  97. package/dist/visual/biology/water.js +54 -0
  98. package/dist/visual/biology/yeast.d.ts +56 -6
  99. package/dist/visual/card.d.ts +67 -6
  100. package/dist/visual/card.js +17 -1
  101. package/dist/visual/catalog.d.ts +21584 -5487
  102. package/dist/visual/catalog.js +66 -0
  103. package/dist/visual/chemistry/atom.d.ts +168 -18
  104. package/dist/visual/chemistry/balance.d.ts +280 -30
  105. package/dist/visual/chemistry/bonding.d.ts +280 -30
  106. package/dist/visual/chemistry/discovery.d.ts +392 -42
  107. package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
  108. package/dist/visual/chemistry/electron.d.ts +112 -12
  109. package/dist/visual/chemistry/laws.d.ts +224 -24
  110. package/dist/visual/chemistry/particles.d.ts +280 -30
  111. package/dist/visual/chemistry/periodic.d.ts +112 -12
  112. package/dist/visual/chemistry/rate.d.ts +56 -6
  113. package/dist/visual/chemistry/reaction.d.ts +168 -18
  114. package/dist/visual/chemistry/titration.d.ts +56 -6
  115. package/dist/visual/length.d.ts +56 -6
  116. package/dist/visual/mathematics/argument.d.ts +226 -0
  117. package/dist/visual/mathematics/argument.js +150 -0
  118. package/dist/visual/mathematics/chance.d.ts +168 -18
  119. package/dist/visual/mathematics/chart.d.ts +56 -6
  120. package/dist/visual/mathematics/charts.d.ts +280 -30
  121. package/dist/visual/mathematics/counterexample.d.ts +340 -0
  122. package/dist/visual/mathematics/counterexample.js +157 -0
  123. package/dist/visual/mathematics/function.d.ts +168 -18
  124. package/dist/visual/mathematics/journey.d.ts +56 -6
  125. package/dist/visual/mathematics/logic.d.ts +56 -6
  126. package/dist/visual/mathematics/network.d.ts +56 -6
  127. package/dist/visual/mathematics/numeral.d.ts +168 -18
  128. package/dist/visual/mathematics/sets.d.ts +56 -6
  129. package/dist/visual/physics/braking.d.ts +224 -24
  130. package/dist/visual/physics/circuit.d.ts +224 -24
  131. package/dist/visual/physics/circular.d.ts +112 -12
  132. package/dist/visual/physics/dynamics.d.ts +392 -42
  133. package/dist/visual/physics/efficiency.d.ts +336 -36
  134. package/dist/visual/physics/electronics.d.ts +168 -18
  135. package/dist/visual/physics/falling.d.ts +224 -24
  136. package/dist/visual/physics/field.d.ts +168 -18
  137. package/dist/visual/physics/fluid.d.ts +224 -24
  138. package/dist/visual/physics/force.d.ts +280 -30
  139. package/dist/visual/physics/gravity.d.ts +112 -12
  140. package/dist/visual/physics/heat.d.ts +168 -18
  141. package/dist/visual/physics/instrument.d.ts +392 -42
  142. package/dist/visual/physics/light.d.ts +224 -24
  143. package/dist/visual/physics/measurement.d.ts +224 -24
  144. package/dist/visual/physics/motion.d.ts +336 -36
  145. package/dist/visual/physics/nuclear.d.ts +168 -18
  146. package/dist/visual/physics/parabolic.d.ts +56 -6
  147. package/dist/visual/physics/position.d.ts +336 -36
  148. package/dist/visual/physics/power.d.ts +448 -48
  149. package/dist/visual/physics/precision.d.ts +392 -42
  150. package/dist/visual/physics/product.d.ts +224 -24
  151. package/dist/visual/physics/reading.d.ts +168 -18
  152. package/dist/visual/physics/record.d.ts +112 -12
  153. package/dist/visual/physics/relative.d.ts +168 -18
  154. package/dist/visual/physics/solar.d.ts +336 -36
  155. package/dist/visual/physics/thermodynamics.d.ts +56 -6
  156. package/dist/visual/physics/vector.d.ts +280 -30
  157. package/dist/visual/physics/velocity.d.ts +392 -42
  158. package/dist/visual/physics/wave.d.ts +224 -24
  159. package/dist/visual/politics.d.ts +336 -36
  160. package/package.json +1 -1
@@ -39,6 +39,19 @@ export declare const TextPartSchema: Schema.Struct<{
39
39
  readonly attrs: Schema.Struct<{
40
40
  readonly latex: Schema.Trimmed;
41
41
  }>;
42
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
43
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
44
+ }>, Schema.Struct<{
45
+ readonly attrs: Schema.Struct<{
46
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
47
+ }>;
48
+ readonly type: Schema.Literal<"highlight">;
49
+ }>, Schema.Struct<{
50
+ readonly attrs: Schema.Struct<{
51
+ readonly href: Schema.String;
52
+ }>;
53
+ readonly type: Schema.Literal<"link">;
54
+ }>]>>>;
42
55
  readonly type: Schema.Literal<"mathInline">;
43
56
  }>]>>;
44
57
  }>;
@@ -237,11 +237,64 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
237
237
  readonly options: readonly {
238
238
  readonly id: string;
239
239
  readonly label: readonly [{
240
+ readonly marks?: readonly [{
241
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
242
+ } | {
243
+ readonly attrs: {
244
+ readonly href: string;
245
+ };
246
+ readonly type: "link";
247
+ } | {
248
+ readonly attrs: {
249
+ readonly variant: "success" | "warning" | null;
250
+ };
251
+ readonly type: "highlight";
252
+ }, ...({
253
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
254
+ } | {
255
+ readonly attrs: {
256
+ readonly href: string;
257
+ };
258
+ readonly type: "link";
259
+ } | {
260
+ readonly attrs: {
261
+ readonly variant: "success" | "warning" | null;
262
+ };
263
+ readonly type: "highlight";
264
+ })[]];
265
+ readonly text: string;
266
+ readonly type: "text";
267
+ } | {
240
268
  readonly attrs: {
241
269
  readonly latex: string;
242
270
  };
271
+ readonly marks?: readonly [{
272
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
273
+ } | {
274
+ readonly attrs: {
275
+ readonly href: string;
276
+ };
277
+ readonly type: "link";
278
+ } | {
279
+ readonly attrs: {
280
+ readonly variant: "success" | "warning" | null;
281
+ };
282
+ readonly type: "highlight";
283
+ }, ...({
284
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
285
+ } | {
286
+ readonly attrs: {
287
+ readonly href: string;
288
+ };
289
+ readonly type: "link";
290
+ } | {
291
+ readonly attrs: {
292
+ readonly variant: "success" | "warning" | null;
293
+ };
294
+ readonly type: "highlight";
295
+ })[]];
243
296
  readonly type: "mathInline";
244
- } | {
297
+ }, ...({
245
298
  readonly marks?: readonly [{
246
299
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
247
300
  } | {
@@ -269,12 +322,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
269
322
  })[]];
270
323
  readonly text: string;
271
324
  readonly type: "text";
272
- }, ...({
325
+ } | {
273
326
  readonly attrs: {
274
327
  readonly latex: string;
275
328
  };
276
- readonly type: "mathInline";
277
- } | {
278
329
  readonly marks?: readonly [{
279
330
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
280
331
  } | {
@@ -300,8 +351,7 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
300
351
  };
301
352
  readonly type: "highlight";
302
353
  })[]];
303
- readonly text: string;
304
- readonly type: "text";
354
+ readonly type: "mathInline";
305
355
  })[]];
306
356
  }[];
307
357
  readonly shuffle: boolean;
@@ -311,11 +361,64 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
311
361
  readonly choices: readonly [{
312
362
  readonly id: string;
313
363
  readonly label: readonly [{
364
+ readonly marks?: readonly [{
365
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
366
+ } | {
367
+ readonly attrs: {
368
+ readonly href: string;
369
+ };
370
+ readonly type: "link";
371
+ } | {
372
+ readonly attrs: {
373
+ readonly variant: "success" | "warning" | null;
374
+ };
375
+ readonly type: "highlight";
376
+ }, ...({
377
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
378
+ } | {
379
+ readonly attrs: {
380
+ readonly href: string;
381
+ };
382
+ readonly type: "link";
383
+ } | {
384
+ readonly attrs: {
385
+ readonly variant: "success" | "warning" | null;
386
+ };
387
+ readonly type: "highlight";
388
+ })[]];
389
+ readonly text: string;
390
+ readonly type: "text";
391
+ } | {
314
392
  readonly attrs: {
315
393
  readonly latex: string;
316
394
  };
395
+ readonly marks?: readonly [{
396
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
397
+ } | {
398
+ readonly attrs: {
399
+ readonly href: string;
400
+ };
401
+ readonly type: "link";
402
+ } | {
403
+ readonly attrs: {
404
+ readonly variant: "success" | "warning" | null;
405
+ };
406
+ readonly type: "highlight";
407
+ }, ...({
408
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
409
+ } | {
410
+ readonly attrs: {
411
+ readonly href: string;
412
+ };
413
+ readonly type: "link";
414
+ } | {
415
+ readonly attrs: {
416
+ readonly variant: "success" | "warning" | null;
417
+ };
418
+ readonly type: "highlight";
419
+ })[]];
317
420
  readonly type: "mathInline";
318
- } | {
421
+ }, ...({
319
422
  readonly marks?: readonly [{
320
423
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
321
424
  } | {
@@ -343,12 +446,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
343
446
  })[]];
344
447
  readonly text: string;
345
448
  readonly type: "text";
346
- }, ...({
449
+ } | {
347
450
  readonly attrs: {
348
451
  readonly latex: string;
349
452
  };
350
- readonly type: "mathInline";
351
- } | {
352
453
  readonly marks?: readonly [{
353
454
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
354
455
  } | {
@@ -374,18 +475,70 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
374
475
  };
375
476
  readonly type: "highlight";
376
477
  })[]];
377
- readonly text: string;
378
- readonly type: "text";
478
+ readonly type: "mathInline";
379
479
  })[]];
380
480
  readonly maxMatches: number;
381
481
  }, ...{
382
482
  readonly id: string;
383
483
  readonly label: readonly [{
484
+ readonly marks?: readonly [{
485
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
486
+ } | {
487
+ readonly attrs: {
488
+ readonly href: string;
489
+ };
490
+ readonly type: "link";
491
+ } | {
492
+ readonly attrs: {
493
+ readonly variant: "success" | "warning" | null;
494
+ };
495
+ readonly type: "highlight";
496
+ }, ...({
497
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
498
+ } | {
499
+ readonly attrs: {
500
+ readonly href: string;
501
+ };
502
+ readonly type: "link";
503
+ } | {
504
+ readonly attrs: {
505
+ readonly variant: "success" | "warning" | null;
506
+ };
507
+ readonly type: "highlight";
508
+ })[]];
509
+ readonly text: string;
510
+ readonly type: "text";
511
+ } | {
384
512
  readonly attrs: {
385
513
  readonly latex: string;
386
514
  };
515
+ readonly marks?: readonly [{
516
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
517
+ } | {
518
+ readonly attrs: {
519
+ readonly href: string;
520
+ };
521
+ readonly type: "link";
522
+ } | {
523
+ readonly attrs: {
524
+ readonly variant: "success" | "warning" | null;
525
+ };
526
+ readonly type: "highlight";
527
+ }, ...({
528
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
529
+ } | {
530
+ readonly attrs: {
531
+ readonly href: string;
532
+ };
533
+ readonly type: "link";
534
+ } | {
535
+ readonly attrs: {
536
+ readonly variant: "success" | "warning" | null;
537
+ };
538
+ readonly type: "highlight";
539
+ })[]];
387
540
  readonly type: "mathInline";
388
- } | {
541
+ }, ...({
389
542
  readonly marks?: readonly [{
390
543
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
391
544
  } | {
@@ -413,12 +566,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
413
566
  })[]];
414
567
  readonly text: string;
415
568
  readonly type: "text";
416
- }, ...({
569
+ } | {
417
570
  readonly attrs: {
418
571
  readonly latex: string;
419
572
  };
420
- readonly type: "mathInline";
421
- } | {
422
573
  readonly marks?: readonly [{
423
574
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
424
575
  } | {
@@ -444,8 +595,7 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
444
595
  };
445
596
  readonly type: "highlight";
446
597
  })[]];
447
- readonly text: string;
448
- readonly type: "text";
598
+ readonly type: "mathInline";
449
599
  })[]];
450
600
  readonly maxMatches: number;
451
601
  }[]];
@@ -643,11 +793,64 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
643
793
  readonly options: readonly {
644
794
  readonly id: string;
645
795
  readonly label: readonly [{
796
+ readonly marks?: readonly [{
797
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
798
+ } | {
799
+ readonly attrs: {
800
+ readonly href: string;
801
+ };
802
+ readonly type: "link";
803
+ } | {
804
+ readonly attrs: {
805
+ readonly variant: "success" | "warning" | null;
806
+ };
807
+ readonly type: "highlight";
808
+ }, ...({
809
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
810
+ } | {
811
+ readonly attrs: {
812
+ readonly href: string;
813
+ };
814
+ readonly type: "link";
815
+ } | {
816
+ readonly attrs: {
817
+ readonly variant: "success" | "warning" | null;
818
+ };
819
+ readonly type: "highlight";
820
+ })[]];
821
+ readonly text: string;
822
+ readonly type: "text";
823
+ } | {
646
824
  readonly attrs: {
647
825
  readonly latex: string;
648
826
  };
827
+ readonly marks?: readonly [{
828
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
829
+ } | {
830
+ readonly attrs: {
831
+ readonly href: string;
832
+ };
833
+ readonly type: "link";
834
+ } | {
835
+ readonly attrs: {
836
+ readonly variant: "success" | "warning" | null;
837
+ };
838
+ readonly type: "highlight";
839
+ }, ...({
840
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
841
+ } | {
842
+ readonly attrs: {
843
+ readonly href: string;
844
+ };
845
+ readonly type: "link";
846
+ } | {
847
+ readonly attrs: {
848
+ readonly variant: "success" | "warning" | null;
849
+ };
850
+ readonly type: "highlight";
851
+ })[]];
649
852
  readonly type: "mathInline";
650
- } | {
853
+ }, ...({
651
854
  readonly marks?: readonly [{
652
855
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
653
856
  } | {
@@ -675,12 +878,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
675
878
  })[]];
676
879
  readonly text: string;
677
880
  readonly type: "text";
678
- }, ...({
881
+ } | {
679
882
  readonly attrs: {
680
883
  readonly latex: string;
681
884
  };
682
- readonly type: "mathInline";
683
- } | {
684
885
  readonly marks?: readonly [{
685
886
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
686
887
  } | {
@@ -706,8 +907,7 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
706
907
  };
707
908
  readonly type: "highlight";
708
909
  })[]];
709
- readonly text: string;
710
- readonly type: "text";
910
+ readonly type: "mathInline";
711
911
  })[]];
712
912
  }[];
713
913
  readonly shuffle: boolean;
@@ -717,11 +917,64 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
717
917
  readonly choices: readonly [{
718
918
  readonly id: string;
719
919
  readonly label: readonly [{
920
+ readonly marks?: readonly [{
921
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
922
+ } | {
923
+ readonly attrs: {
924
+ readonly href: string;
925
+ };
926
+ readonly type: "link";
927
+ } | {
928
+ readonly attrs: {
929
+ readonly variant: "success" | "warning" | null;
930
+ };
931
+ readonly type: "highlight";
932
+ }, ...({
933
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
934
+ } | {
935
+ readonly attrs: {
936
+ readonly href: string;
937
+ };
938
+ readonly type: "link";
939
+ } | {
940
+ readonly attrs: {
941
+ readonly variant: "success" | "warning" | null;
942
+ };
943
+ readonly type: "highlight";
944
+ })[]];
945
+ readonly text: string;
946
+ readonly type: "text";
947
+ } | {
720
948
  readonly attrs: {
721
949
  readonly latex: string;
722
950
  };
951
+ readonly marks?: readonly [{
952
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
953
+ } | {
954
+ readonly attrs: {
955
+ readonly href: string;
956
+ };
957
+ readonly type: "link";
958
+ } | {
959
+ readonly attrs: {
960
+ readonly variant: "success" | "warning" | null;
961
+ };
962
+ readonly type: "highlight";
963
+ }, ...({
964
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
965
+ } | {
966
+ readonly attrs: {
967
+ readonly href: string;
968
+ };
969
+ readonly type: "link";
970
+ } | {
971
+ readonly attrs: {
972
+ readonly variant: "success" | "warning" | null;
973
+ };
974
+ readonly type: "highlight";
975
+ })[]];
723
976
  readonly type: "mathInline";
724
- } | {
977
+ }, ...({
725
978
  readonly marks?: readonly [{
726
979
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
727
980
  } | {
@@ -749,12 +1002,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
749
1002
  })[]];
750
1003
  readonly text: string;
751
1004
  readonly type: "text";
752
- }, ...({
1005
+ } | {
753
1006
  readonly attrs: {
754
1007
  readonly latex: string;
755
1008
  };
756
- readonly type: "mathInline";
757
- } | {
758
1009
  readonly marks?: readonly [{
759
1010
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
760
1011
  } | {
@@ -780,18 +1031,70 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
780
1031
  };
781
1032
  readonly type: "highlight";
782
1033
  })[]];
783
- readonly text: string;
784
- readonly type: "text";
1034
+ readonly type: "mathInline";
785
1035
  })[]];
786
1036
  readonly maxMatches: number;
787
1037
  }, ...{
788
1038
  readonly id: string;
789
1039
  readonly label: readonly [{
1040
+ readonly marks?: readonly [{
1041
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1042
+ } | {
1043
+ readonly attrs: {
1044
+ readonly href: string;
1045
+ };
1046
+ readonly type: "link";
1047
+ } | {
1048
+ readonly attrs: {
1049
+ readonly variant: "success" | "warning" | null;
1050
+ };
1051
+ readonly type: "highlight";
1052
+ }, ...({
1053
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1054
+ } | {
1055
+ readonly attrs: {
1056
+ readonly href: string;
1057
+ };
1058
+ readonly type: "link";
1059
+ } | {
1060
+ readonly attrs: {
1061
+ readonly variant: "success" | "warning" | null;
1062
+ };
1063
+ readonly type: "highlight";
1064
+ })[]];
1065
+ readonly text: string;
1066
+ readonly type: "text";
1067
+ } | {
790
1068
  readonly attrs: {
791
1069
  readonly latex: string;
792
1070
  };
1071
+ readonly marks?: readonly [{
1072
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1073
+ } | {
1074
+ readonly attrs: {
1075
+ readonly href: string;
1076
+ };
1077
+ readonly type: "link";
1078
+ } | {
1079
+ readonly attrs: {
1080
+ readonly variant: "success" | "warning" | null;
1081
+ };
1082
+ readonly type: "highlight";
1083
+ }, ...({
1084
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
1085
+ } | {
1086
+ readonly attrs: {
1087
+ readonly href: string;
1088
+ };
1089
+ readonly type: "link";
1090
+ } | {
1091
+ readonly attrs: {
1092
+ readonly variant: "success" | "warning" | null;
1093
+ };
1094
+ readonly type: "highlight";
1095
+ })[]];
793
1096
  readonly type: "mathInline";
794
- } | {
1097
+ }, ...({
795
1098
  readonly marks?: readonly [{
796
1099
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
797
1100
  } | {
@@ -819,12 +1122,10 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
819
1122
  })[]];
820
1123
  readonly text: string;
821
1124
  readonly type: "text";
822
- }, ...({
1125
+ } | {
823
1126
  readonly attrs: {
824
1127
  readonly latex: string;
825
1128
  };
826
- readonly type: "mathInline";
827
- } | {
828
1129
  readonly marks?: readonly [{
829
1130
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
830
1131
  } | {
@@ -850,8 +1151,7 @@ export declare function indexRows(records: readonly AssessmentRecord[]): {
850
1151
  };
851
1152
  readonly type: "highlight";
852
1153
  })[]];
853
- readonly text: string;
854
- readonly type: "text";
1154
+ readonly type: "mathInline";
855
1155
  })[]];
856
1156
  readonly maxMatches: number;
857
1157
  }[]];