@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.
- package/dist/assessment/choice.d.ts +26 -0
- package/dist/assessment/document.d.ts +39 -0
- package/dist/assessment/figure.d.ts +13 -0
- package/dist/assessment/hash.d.ts +711 -111
- package/dist/assessment/inline.d.ts +53 -0
- package/dist/assessment/inline.js +1 -0
- package/dist/assessment/interaction.d.ts +26 -0
- package/dist/assessment/item.d.ts +414 -36
- package/dist/assessment/paper.d.ts +731 -131
- package/dist/assessment/part.d.ts +13 -0
- package/dist/assessment/rows.d.ts +336 -36
- package/dist/assessment/snapshot.d.ts +773 -121
- package/dist/release/snapshot/data.d.ts +26 -0
- package/dist/release/snapshot/verify.d.ts +336 -36
- package/dist/transport/group.d.ts +78 -0
- package/dist/transport/request.d.ts +2195 -343
- package/dist/transport/snapshot.d.ts +52 -0
- package/dist/visual/base/math.d.ts +56 -6
- package/dist/visual/base/media.d.ts +56 -6
- package/dist/visual/biology/bacteria.d.ts +224 -24
- package/dist/visual/biology/binomial.d.ts +139 -0
- package/dist/visual/biology/binomial.js +46 -0
- package/dist/visual/biology/blood.d.ts +56 -6
- package/dist/visual/biology/bone.d.ts +141 -0
- package/dist/visual/biology/bone.js +46 -0
- package/dist/visual/biology/cell.d.ts +168 -18
- package/dist/visual/biology/chromosome.d.ts +139 -0
- package/dist/visual/biology/chromosome.js +42 -0
- package/dist/visual/biology/climate.d.ts +168 -18
- package/dist/visual/biology/control.d.ts +17 -0
- package/dist/visual/biology/control.js +21 -0
- package/dist/visual/biology/denature.d.ts +159 -0
- package/dist/visual/biology/denature.js +74 -0
- package/dist/visual/biology/drawing.d.ts +151 -0
- package/dist/visual/biology/drawing.js +69 -0
- package/dist/visual/biology/ecology.d.ts +224 -24
- package/dist/visual/biology/enzyme.d.ts +145 -0
- package/dist/visual/biology/enzyme.js +54 -0
- package/dist/visual/biology/equipment.d.ts +140 -0
- package/dist/visual/biology/equipment.js +64 -0
- package/dist/visual/biology/gametogenesis.d.ts +145 -0
- package/dist/visual/biology/gametogenesis.js +83 -0
- package/dist/visual/biology/heart.d.ts +56 -6
- package/dist/visual/biology/implantation.d.ts +138 -0
- package/dist/visual/biology/implantation.js +44 -0
- package/dist/visual/biology/joint.d.ts +140 -0
- package/dist/visual/biology/joint.js +47 -0
- package/dist/visual/biology/key.d.ts +141 -0
- package/dist/visual/biology/key.js +58 -0
- package/dist/visual/biology/kingdom.d.ts +142 -0
- package/dist/visual/biology/kingdom.js +82 -0
- package/dist/visual/biology/lactase.d.ts +147 -0
- package/dist/visual/biology/lactase.js +48 -0
- package/dist/visual/biology/limb.d.ts +139 -0
- package/dist/visual/biology/limb.js +44 -0
- package/dist/visual/biology/lipid.d.ts +144 -0
- package/dist/visual/biology/lipid.js +43 -0
- package/dist/visual/biology/locomotion.d.ts +141 -0
- package/dist/visual/biology/locomotion.js +48 -0
- package/dist/visual/biology/menstrual.d.ts +148 -0
- package/dist/visual/biology/menstrual.js +65 -0
- package/dist/visual/biology/metamorphosis.d.ts +140 -0
- package/dist/visual/biology/metamorphosis.js +34 -0
- package/dist/visual/biology/mitochondrion.d.ts +56 -6
- package/dist/visual/biology/muscle.d.ts +56 -6
- package/dist/visual/biology/neuron.d.ts +56 -6
- package/dist/visual/biology/paddy.d.ts +56 -6
- package/dist/visual/biology/physiology.d.ts +168 -18
- package/dist/visual/biology/placenta.d.ts +139 -0
- package/dist/visual/biology/placenta.js +52 -0
- package/dist/visual/biology/planes.d.ts +145 -0
- package/dist/visual/biology/planes.js +62 -0
- package/dist/visual/biology/plant.d.ts +280 -30
- package/dist/visual/biology/protein.d.ts +142 -0
- package/dist/visual/biology/protein.js +41 -0
- package/dist/visual/biology/saturation.d.ts +149 -0
- package/dist/visual/biology/saturation.js +40 -0
- package/dist/visual/biology/secretion.d.ts +149 -0
- package/dist/visual/biology/secretion.js +79 -0
- package/dist/visual/biology/spill.d.ts +165 -0
- package/dist/visual/biology/spill.js +58 -0
- package/dist/visual/biology/sugar.d.ts +152 -0
- package/dist/visual/biology/sugar.js +59 -0
- package/dist/visual/biology/synapse.d.ts +56 -6
- package/dist/visual/biology/taxon.d.ts +138 -0
- package/dist/visual/biology/taxon.js +50 -0
- package/dist/visual/biology/twins.d.ts +144 -0
- package/dist/visual/biology/twins.js +60 -0
- package/dist/visual/biology/vernacular.d.ts +141 -0
- package/dist/visual/biology/vernacular.js +57 -0
- package/dist/visual/biology/vertebra.d.ts +141 -0
- package/dist/visual/biology/vertebra.js +59 -0
- package/dist/visual/biology/vessel.d.ts +56 -6
- package/dist/visual/biology/waste.d.ts +140 -0
- package/dist/visual/biology/waste.js +57 -0
- package/dist/visual/biology/water.d.ts +152 -0
- package/dist/visual/biology/water.js +54 -0
- package/dist/visual/biology/yeast.d.ts +56 -6
- package/dist/visual/card.d.ts +67 -6
- package/dist/visual/card.js +17 -1
- package/dist/visual/catalog.d.ts +21584 -5487
- package/dist/visual/catalog.js +66 -0
- package/dist/visual/chemistry/atom.d.ts +168 -18
- package/dist/visual/chemistry/balance.d.ts +280 -30
- package/dist/visual/chemistry/bonding.d.ts +280 -30
- package/dist/visual/chemistry/discovery.d.ts +392 -42
- package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
- package/dist/visual/chemistry/electron.d.ts +112 -12
- package/dist/visual/chemistry/laws.d.ts +224 -24
- package/dist/visual/chemistry/particles.d.ts +280 -30
- package/dist/visual/chemistry/periodic.d.ts +112 -12
- package/dist/visual/chemistry/rate.d.ts +56 -6
- package/dist/visual/chemistry/reaction.d.ts +168 -18
- package/dist/visual/chemistry/titration.d.ts +56 -6
- package/dist/visual/length.d.ts +56 -6
- package/dist/visual/mathematics/argument.d.ts +226 -0
- package/dist/visual/mathematics/argument.js +150 -0
- package/dist/visual/mathematics/chance.d.ts +168 -18
- package/dist/visual/mathematics/chart.d.ts +56 -6
- package/dist/visual/mathematics/charts.d.ts +280 -30
- package/dist/visual/mathematics/counterexample.d.ts +340 -0
- package/dist/visual/mathematics/counterexample.js +157 -0
- package/dist/visual/mathematics/function.d.ts +168 -18
- package/dist/visual/mathematics/journey.d.ts +56 -6
- package/dist/visual/mathematics/logic.d.ts +56 -6
- package/dist/visual/mathematics/network.d.ts +56 -6
- package/dist/visual/mathematics/numeral.d.ts +168 -18
- package/dist/visual/mathematics/sets.d.ts +56 -6
- package/dist/visual/physics/braking.d.ts +224 -24
- package/dist/visual/physics/circuit.d.ts +224 -24
- package/dist/visual/physics/circular.d.ts +112 -12
- package/dist/visual/physics/dynamics.d.ts +392 -42
- package/dist/visual/physics/efficiency.d.ts +336 -36
- package/dist/visual/physics/electronics.d.ts +168 -18
- package/dist/visual/physics/falling.d.ts +224 -24
- package/dist/visual/physics/field.d.ts +168 -18
- package/dist/visual/physics/fluid.d.ts +224 -24
- package/dist/visual/physics/force.d.ts +280 -30
- package/dist/visual/physics/gravity.d.ts +112 -12
- package/dist/visual/physics/heat.d.ts +168 -18
- package/dist/visual/physics/instrument.d.ts +392 -42
- package/dist/visual/physics/light.d.ts +224 -24
- package/dist/visual/physics/measurement.d.ts +224 -24
- package/dist/visual/physics/motion.d.ts +336 -36
- package/dist/visual/physics/nuclear.d.ts +168 -18
- package/dist/visual/physics/parabolic.d.ts +56 -6
- package/dist/visual/physics/position.d.ts +336 -36
- package/dist/visual/physics/power.d.ts +448 -48
- package/dist/visual/physics/precision.d.ts +392 -42
- package/dist/visual/physics/product.d.ts +224 -24
- package/dist/visual/physics/reading.d.ts +168 -18
- package/dist/visual/physics/record.d.ts +112 -12
- package/dist/visual/physics/relative.d.ts +168 -18
- package/dist/visual/physics/solar.d.ts +336 -36
- package/dist/visual/physics/thermodynamics.d.ts +56 -6
- package/dist/visual/physics/vector.d.ts +280 -30
- package/dist/visual/physics/velocity.d.ts +392 -42
- package/dist/visual/physics/wave.d.ts +224 -24
- package/dist/visual/politics.d.ts +336 -36
- package/package.json +1 -1
|
@@ -401,6 +401,19 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
401
401
|
readonly attrs: Schema.Struct<{
|
|
402
402
|
readonly latex: Schema.Trimmed;
|
|
403
403
|
}>;
|
|
404
|
+
readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
405
|
+
readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
|
|
406
|
+
}>, Schema.Struct<{
|
|
407
|
+
readonly attrs: Schema.Struct<{
|
|
408
|
+
readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
|
|
409
|
+
}>;
|
|
410
|
+
readonly type: Schema.Literal<"highlight">;
|
|
411
|
+
}>, Schema.Struct<{
|
|
412
|
+
readonly attrs: Schema.Struct<{
|
|
413
|
+
readonly href: Schema.String;
|
|
414
|
+
}>;
|
|
415
|
+
readonly type: Schema.Literal<"link">;
|
|
416
|
+
}>]>>>;
|
|
404
417
|
readonly type: Schema.Literal<"mathInline">;
|
|
405
418
|
}>]>>;
|
|
406
419
|
}>>;
|
|
@@ -482,6 +495,19 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
482
495
|
readonly attrs: Schema.Struct<{
|
|
483
496
|
readonly latex: Schema.Trimmed;
|
|
484
497
|
}>;
|
|
498
|
+
readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
499
|
+
readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
|
|
500
|
+
}>, Schema.Struct<{
|
|
501
|
+
readonly attrs: Schema.Struct<{
|
|
502
|
+
readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
|
|
503
|
+
}>;
|
|
504
|
+
readonly type: Schema.Literal<"highlight">;
|
|
505
|
+
}>, Schema.Struct<{
|
|
506
|
+
readonly attrs: Schema.Struct<{
|
|
507
|
+
readonly href: Schema.String;
|
|
508
|
+
}>;
|
|
509
|
+
readonly type: Schema.Literal<"link">;
|
|
510
|
+
}>]>>>;
|
|
485
511
|
readonly type: Schema.Literal<"mathInline">;
|
|
486
512
|
}>]>>;
|
|
487
513
|
readonly maxMatches: Schema.Int;
|
|
@@ -547,11 +547,64 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
547
547
|
readonly options: readonly {
|
|
548
548
|
readonly id: string;
|
|
549
549
|
readonly label: readonly [{
|
|
550
|
+
readonly marks?: readonly [{
|
|
551
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
552
|
+
} | {
|
|
553
|
+
readonly attrs: {
|
|
554
|
+
readonly href: string;
|
|
555
|
+
};
|
|
556
|
+
readonly type: "link";
|
|
557
|
+
} | {
|
|
558
|
+
readonly attrs: {
|
|
559
|
+
readonly variant: "success" | "warning" | null;
|
|
560
|
+
};
|
|
561
|
+
readonly type: "highlight";
|
|
562
|
+
}, ...({
|
|
563
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
564
|
+
} | {
|
|
565
|
+
readonly attrs: {
|
|
566
|
+
readonly href: string;
|
|
567
|
+
};
|
|
568
|
+
readonly type: "link";
|
|
569
|
+
} | {
|
|
570
|
+
readonly attrs: {
|
|
571
|
+
readonly variant: "success" | "warning" | null;
|
|
572
|
+
};
|
|
573
|
+
readonly type: "highlight";
|
|
574
|
+
})[]];
|
|
575
|
+
readonly text: string;
|
|
576
|
+
readonly type: "text";
|
|
577
|
+
} | {
|
|
550
578
|
readonly attrs: {
|
|
551
579
|
readonly latex: string;
|
|
552
580
|
};
|
|
581
|
+
readonly marks?: readonly [{
|
|
582
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
583
|
+
} | {
|
|
584
|
+
readonly attrs: {
|
|
585
|
+
readonly href: string;
|
|
586
|
+
};
|
|
587
|
+
readonly type: "link";
|
|
588
|
+
} | {
|
|
589
|
+
readonly attrs: {
|
|
590
|
+
readonly variant: "success" | "warning" | null;
|
|
591
|
+
};
|
|
592
|
+
readonly type: "highlight";
|
|
593
|
+
}, ...({
|
|
594
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
595
|
+
} | {
|
|
596
|
+
readonly attrs: {
|
|
597
|
+
readonly href: string;
|
|
598
|
+
};
|
|
599
|
+
readonly type: "link";
|
|
600
|
+
} | {
|
|
601
|
+
readonly attrs: {
|
|
602
|
+
readonly variant: "success" | "warning" | null;
|
|
603
|
+
};
|
|
604
|
+
readonly type: "highlight";
|
|
605
|
+
})[]];
|
|
553
606
|
readonly type: "mathInline";
|
|
554
|
-
}
|
|
607
|
+
}, ...({
|
|
555
608
|
readonly marks?: readonly [{
|
|
556
609
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
557
610
|
} | {
|
|
@@ -579,12 +632,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
579
632
|
})[]];
|
|
580
633
|
readonly text: string;
|
|
581
634
|
readonly type: "text";
|
|
582
|
-
}
|
|
635
|
+
} | {
|
|
583
636
|
readonly attrs: {
|
|
584
637
|
readonly latex: string;
|
|
585
638
|
};
|
|
586
|
-
readonly type: "mathInline";
|
|
587
|
-
} | {
|
|
588
639
|
readonly marks?: readonly [{
|
|
589
640
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
590
641
|
} | {
|
|
@@ -610,8 +661,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
610
661
|
};
|
|
611
662
|
readonly type: "highlight";
|
|
612
663
|
})[]];
|
|
613
|
-
readonly
|
|
614
|
-
readonly type: "text";
|
|
664
|
+
readonly type: "mathInline";
|
|
615
665
|
})[]];
|
|
616
666
|
}[];
|
|
617
667
|
readonly shuffle: boolean;
|
|
@@ -621,11 +671,64 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
621
671
|
readonly choices: readonly [{
|
|
622
672
|
readonly id: string;
|
|
623
673
|
readonly label: readonly [{
|
|
674
|
+
readonly marks?: readonly [{
|
|
675
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
676
|
+
} | {
|
|
677
|
+
readonly attrs: {
|
|
678
|
+
readonly href: string;
|
|
679
|
+
};
|
|
680
|
+
readonly type: "link";
|
|
681
|
+
} | {
|
|
682
|
+
readonly attrs: {
|
|
683
|
+
readonly variant: "success" | "warning" | null;
|
|
684
|
+
};
|
|
685
|
+
readonly type: "highlight";
|
|
686
|
+
}, ...({
|
|
687
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
688
|
+
} | {
|
|
689
|
+
readonly attrs: {
|
|
690
|
+
readonly href: string;
|
|
691
|
+
};
|
|
692
|
+
readonly type: "link";
|
|
693
|
+
} | {
|
|
694
|
+
readonly attrs: {
|
|
695
|
+
readonly variant: "success" | "warning" | null;
|
|
696
|
+
};
|
|
697
|
+
readonly type: "highlight";
|
|
698
|
+
})[]];
|
|
699
|
+
readonly text: string;
|
|
700
|
+
readonly type: "text";
|
|
701
|
+
} | {
|
|
624
702
|
readonly attrs: {
|
|
625
703
|
readonly latex: string;
|
|
626
704
|
};
|
|
705
|
+
readonly marks?: readonly [{
|
|
706
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
707
|
+
} | {
|
|
708
|
+
readonly attrs: {
|
|
709
|
+
readonly href: string;
|
|
710
|
+
};
|
|
711
|
+
readonly type: "link";
|
|
712
|
+
} | {
|
|
713
|
+
readonly attrs: {
|
|
714
|
+
readonly variant: "success" | "warning" | null;
|
|
715
|
+
};
|
|
716
|
+
readonly type: "highlight";
|
|
717
|
+
}, ...({
|
|
718
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
719
|
+
} | {
|
|
720
|
+
readonly attrs: {
|
|
721
|
+
readonly href: string;
|
|
722
|
+
};
|
|
723
|
+
readonly type: "link";
|
|
724
|
+
} | {
|
|
725
|
+
readonly attrs: {
|
|
726
|
+
readonly variant: "success" | "warning" | null;
|
|
727
|
+
};
|
|
728
|
+
readonly type: "highlight";
|
|
729
|
+
})[]];
|
|
627
730
|
readonly type: "mathInline";
|
|
628
|
-
}
|
|
731
|
+
}, ...({
|
|
629
732
|
readonly marks?: readonly [{
|
|
630
733
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
631
734
|
} | {
|
|
@@ -653,12 +756,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
653
756
|
})[]];
|
|
654
757
|
readonly text: string;
|
|
655
758
|
readonly type: "text";
|
|
656
|
-
}
|
|
759
|
+
} | {
|
|
657
760
|
readonly attrs: {
|
|
658
761
|
readonly latex: string;
|
|
659
762
|
};
|
|
660
|
-
readonly type: "mathInline";
|
|
661
|
-
} | {
|
|
662
763
|
readonly marks?: readonly [{
|
|
663
764
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
664
765
|
} | {
|
|
@@ -684,18 +785,70 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
684
785
|
};
|
|
685
786
|
readonly type: "highlight";
|
|
686
787
|
})[]];
|
|
687
|
-
readonly
|
|
688
|
-
readonly type: "text";
|
|
788
|
+
readonly type: "mathInline";
|
|
689
789
|
})[]];
|
|
690
790
|
readonly maxMatches: number;
|
|
691
791
|
}, ...{
|
|
692
792
|
readonly id: string;
|
|
693
793
|
readonly label: readonly [{
|
|
794
|
+
readonly marks?: readonly [{
|
|
795
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
796
|
+
} | {
|
|
797
|
+
readonly attrs: {
|
|
798
|
+
readonly href: string;
|
|
799
|
+
};
|
|
800
|
+
readonly type: "link";
|
|
801
|
+
} | {
|
|
802
|
+
readonly attrs: {
|
|
803
|
+
readonly variant: "success" | "warning" | null;
|
|
804
|
+
};
|
|
805
|
+
readonly type: "highlight";
|
|
806
|
+
}, ...({
|
|
807
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
808
|
+
} | {
|
|
809
|
+
readonly attrs: {
|
|
810
|
+
readonly href: string;
|
|
811
|
+
};
|
|
812
|
+
readonly type: "link";
|
|
813
|
+
} | {
|
|
814
|
+
readonly attrs: {
|
|
815
|
+
readonly variant: "success" | "warning" | null;
|
|
816
|
+
};
|
|
817
|
+
readonly type: "highlight";
|
|
818
|
+
})[]];
|
|
819
|
+
readonly text: string;
|
|
820
|
+
readonly type: "text";
|
|
821
|
+
} | {
|
|
694
822
|
readonly attrs: {
|
|
695
823
|
readonly latex: string;
|
|
696
824
|
};
|
|
825
|
+
readonly marks?: readonly [{
|
|
826
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
827
|
+
} | {
|
|
828
|
+
readonly attrs: {
|
|
829
|
+
readonly href: string;
|
|
830
|
+
};
|
|
831
|
+
readonly type: "link";
|
|
832
|
+
} | {
|
|
833
|
+
readonly attrs: {
|
|
834
|
+
readonly variant: "success" | "warning" | null;
|
|
835
|
+
};
|
|
836
|
+
readonly type: "highlight";
|
|
837
|
+
}, ...({
|
|
838
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
839
|
+
} | {
|
|
840
|
+
readonly attrs: {
|
|
841
|
+
readonly href: string;
|
|
842
|
+
};
|
|
843
|
+
readonly type: "link";
|
|
844
|
+
} | {
|
|
845
|
+
readonly attrs: {
|
|
846
|
+
readonly variant: "success" | "warning" | null;
|
|
847
|
+
};
|
|
848
|
+
readonly type: "highlight";
|
|
849
|
+
})[]];
|
|
697
850
|
readonly type: "mathInline";
|
|
698
|
-
}
|
|
851
|
+
}, ...({
|
|
699
852
|
readonly marks?: readonly [{
|
|
700
853
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
701
854
|
} | {
|
|
@@ -723,12 +876,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
723
876
|
})[]];
|
|
724
877
|
readonly text: string;
|
|
725
878
|
readonly type: "text";
|
|
726
|
-
}
|
|
879
|
+
} | {
|
|
727
880
|
readonly attrs: {
|
|
728
881
|
readonly latex: string;
|
|
729
882
|
};
|
|
730
|
-
readonly type: "mathInline";
|
|
731
|
-
} | {
|
|
732
883
|
readonly marks?: readonly [{
|
|
733
884
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
734
885
|
} | {
|
|
@@ -754,8 +905,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
754
905
|
};
|
|
755
906
|
readonly type: "highlight";
|
|
756
907
|
})[]];
|
|
757
|
-
readonly
|
|
758
|
-
readonly type: "text";
|
|
908
|
+
readonly type: "mathInline";
|
|
759
909
|
})[]];
|
|
760
910
|
readonly maxMatches: number;
|
|
761
911
|
}[]];
|
|
@@ -953,11 +1103,64 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
953
1103
|
readonly options: readonly {
|
|
954
1104
|
readonly id: string;
|
|
955
1105
|
readonly label: readonly [{
|
|
1106
|
+
readonly marks?: readonly [{
|
|
1107
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1108
|
+
} | {
|
|
1109
|
+
readonly attrs: {
|
|
1110
|
+
readonly href: string;
|
|
1111
|
+
};
|
|
1112
|
+
readonly type: "link";
|
|
1113
|
+
} | {
|
|
1114
|
+
readonly attrs: {
|
|
1115
|
+
readonly variant: "success" | "warning" | null;
|
|
1116
|
+
};
|
|
1117
|
+
readonly type: "highlight";
|
|
1118
|
+
}, ...({
|
|
1119
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1120
|
+
} | {
|
|
1121
|
+
readonly attrs: {
|
|
1122
|
+
readonly href: string;
|
|
1123
|
+
};
|
|
1124
|
+
readonly type: "link";
|
|
1125
|
+
} | {
|
|
1126
|
+
readonly attrs: {
|
|
1127
|
+
readonly variant: "success" | "warning" | null;
|
|
1128
|
+
};
|
|
1129
|
+
readonly type: "highlight";
|
|
1130
|
+
})[]];
|
|
1131
|
+
readonly text: string;
|
|
1132
|
+
readonly type: "text";
|
|
1133
|
+
} | {
|
|
956
1134
|
readonly attrs: {
|
|
957
1135
|
readonly latex: string;
|
|
958
1136
|
};
|
|
1137
|
+
readonly marks?: readonly [{
|
|
1138
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1139
|
+
} | {
|
|
1140
|
+
readonly attrs: {
|
|
1141
|
+
readonly href: string;
|
|
1142
|
+
};
|
|
1143
|
+
readonly type: "link";
|
|
1144
|
+
} | {
|
|
1145
|
+
readonly attrs: {
|
|
1146
|
+
readonly variant: "success" | "warning" | null;
|
|
1147
|
+
};
|
|
1148
|
+
readonly type: "highlight";
|
|
1149
|
+
}, ...({
|
|
1150
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1151
|
+
} | {
|
|
1152
|
+
readonly attrs: {
|
|
1153
|
+
readonly href: string;
|
|
1154
|
+
};
|
|
1155
|
+
readonly type: "link";
|
|
1156
|
+
} | {
|
|
1157
|
+
readonly attrs: {
|
|
1158
|
+
readonly variant: "success" | "warning" | null;
|
|
1159
|
+
};
|
|
1160
|
+
readonly type: "highlight";
|
|
1161
|
+
})[]];
|
|
959
1162
|
readonly type: "mathInline";
|
|
960
|
-
}
|
|
1163
|
+
}, ...({
|
|
961
1164
|
readonly marks?: readonly [{
|
|
962
1165
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
963
1166
|
} | {
|
|
@@ -985,12 +1188,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
985
1188
|
})[]];
|
|
986
1189
|
readonly text: string;
|
|
987
1190
|
readonly type: "text";
|
|
988
|
-
}
|
|
1191
|
+
} | {
|
|
989
1192
|
readonly attrs: {
|
|
990
1193
|
readonly latex: string;
|
|
991
1194
|
};
|
|
992
|
-
readonly type: "mathInline";
|
|
993
|
-
} | {
|
|
994
1195
|
readonly marks?: readonly [{
|
|
995
1196
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
996
1197
|
} | {
|
|
@@ -1016,8 +1217,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1016
1217
|
};
|
|
1017
1218
|
readonly type: "highlight";
|
|
1018
1219
|
})[]];
|
|
1019
|
-
readonly
|
|
1020
|
-
readonly type: "text";
|
|
1220
|
+
readonly type: "mathInline";
|
|
1021
1221
|
})[]];
|
|
1022
1222
|
}[];
|
|
1023
1223
|
readonly shuffle: boolean;
|
|
@@ -1027,11 +1227,64 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1027
1227
|
readonly choices: readonly [{
|
|
1028
1228
|
readonly id: string;
|
|
1029
1229
|
readonly label: readonly [{
|
|
1230
|
+
readonly marks?: readonly [{
|
|
1231
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1232
|
+
} | {
|
|
1233
|
+
readonly attrs: {
|
|
1234
|
+
readonly href: string;
|
|
1235
|
+
};
|
|
1236
|
+
readonly type: "link";
|
|
1237
|
+
} | {
|
|
1238
|
+
readonly attrs: {
|
|
1239
|
+
readonly variant: "success" | "warning" | null;
|
|
1240
|
+
};
|
|
1241
|
+
readonly type: "highlight";
|
|
1242
|
+
}, ...({
|
|
1243
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1244
|
+
} | {
|
|
1245
|
+
readonly attrs: {
|
|
1246
|
+
readonly href: string;
|
|
1247
|
+
};
|
|
1248
|
+
readonly type: "link";
|
|
1249
|
+
} | {
|
|
1250
|
+
readonly attrs: {
|
|
1251
|
+
readonly variant: "success" | "warning" | null;
|
|
1252
|
+
};
|
|
1253
|
+
readonly type: "highlight";
|
|
1254
|
+
})[]];
|
|
1255
|
+
readonly text: string;
|
|
1256
|
+
readonly type: "text";
|
|
1257
|
+
} | {
|
|
1030
1258
|
readonly attrs: {
|
|
1031
1259
|
readonly latex: string;
|
|
1032
1260
|
};
|
|
1261
|
+
readonly marks?: readonly [{
|
|
1262
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1263
|
+
} | {
|
|
1264
|
+
readonly attrs: {
|
|
1265
|
+
readonly href: string;
|
|
1266
|
+
};
|
|
1267
|
+
readonly type: "link";
|
|
1268
|
+
} | {
|
|
1269
|
+
readonly attrs: {
|
|
1270
|
+
readonly variant: "success" | "warning" | null;
|
|
1271
|
+
};
|
|
1272
|
+
readonly type: "highlight";
|
|
1273
|
+
}, ...({
|
|
1274
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1275
|
+
} | {
|
|
1276
|
+
readonly attrs: {
|
|
1277
|
+
readonly href: string;
|
|
1278
|
+
};
|
|
1279
|
+
readonly type: "link";
|
|
1280
|
+
} | {
|
|
1281
|
+
readonly attrs: {
|
|
1282
|
+
readonly variant: "success" | "warning" | null;
|
|
1283
|
+
};
|
|
1284
|
+
readonly type: "highlight";
|
|
1285
|
+
})[]];
|
|
1033
1286
|
readonly type: "mathInline";
|
|
1034
|
-
}
|
|
1287
|
+
}, ...({
|
|
1035
1288
|
readonly marks?: readonly [{
|
|
1036
1289
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1037
1290
|
} | {
|
|
@@ -1059,12 +1312,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1059
1312
|
})[]];
|
|
1060
1313
|
readonly text: string;
|
|
1061
1314
|
readonly type: "text";
|
|
1062
|
-
}
|
|
1315
|
+
} | {
|
|
1063
1316
|
readonly attrs: {
|
|
1064
1317
|
readonly latex: string;
|
|
1065
1318
|
};
|
|
1066
|
-
readonly type: "mathInline";
|
|
1067
|
-
} | {
|
|
1068
1319
|
readonly marks?: readonly [{
|
|
1069
1320
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1070
1321
|
} | {
|
|
@@ -1090,18 +1341,70 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1090
1341
|
};
|
|
1091
1342
|
readonly type: "highlight";
|
|
1092
1343
|
})[]];
|
|
1093
|
-
readonly
|
|
1094
|
-
readonly type: "text";
|
|
1344
|
+
readonly type: "mathInline";
|
|
1095
1345
|
})[]];
|
|
1096
1346
|
readonly maxMatches: number;
|
|
1097
1347
|
}, ...{
|
|
1098
1348
|
readonly id: string;
|
|
1099
1349
|
readonly label: readonly [{
|
|
1350
|
+
readonly marks?: readonly [{
|
|
1351
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1352
|
+
} | {
|
|
1353
|
+
readonly attrs: {
|
|
1354
|
+
readonly href: string;
|
|
1355
|
+
};
|
|
1356
|
+
readonly type: "link";
|
|
1357
|
+
} | {
|
|
1358
|
+
readonly attrs: {
|
|
1359
|
+
readonly variant: "success" | "warning" | null;
|
|
1360
|
+
};
|
|
1361
|
+
readonly type: "highlight";
|
|
1362
|
+
}, ...({
|
|
1363
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1364
|
+
} | {
|
|
1365
|
+
readonly attrs: {
|
|
1366
|
+
readonly href: string;
|
|
1367
|
+
};
|
|
1368
|
+
readonly type: "link";
|
|
1369
|
+
} | {
|
|
1370
|
+
readonly attrs: {
|
|
1371
|
+
readonly variant: "success" | "warning" | null;
|
|
1372
|
+
};
|
|
1373
|
+
readonly type: "highlight";
|
|
1374
|
+
})[]];
|
|
1375
|
+
readonly text: string;
|
|
1376
|
+
readonly type: "text";
|
|
1377
|
+
} | {
|
|
1100
1378
|
readonly attrs: {
|
|
1101
1379
|
readonly latex: string;
|
|
1102
1380
|
};
|
|
1381
|
+
readonly marks?: readonly [{
|
|
1382
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1383
|
+
} | {
|
|
1384
|
+
readonly attrs: {
|
|
1385
|
+
readonly href: string;
|
|
1386
|
+
};
|
|
1387
|
+
readonly type: "link";
|
|
1388
|
+
} | {
|
|
1389
|
+
readonly attrs: {
|
|
1390
|
+
readonly variant: "success" | "warning" | null;
|
|
1391
|
+
};
|
|
1392
|
+
readonly type: "highlight";
|
|
1393
|
+
}, ...({
|
|
1394
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1395
|
+
} | {
|
|
1396
|
+
readonly attrs: {
|
|
1397
|
+
readonly href: string;
|
|
1398
|
+
};
|
|
1399
|
+
readonly type: "link";
|
|
1400
|
+
} | {
|
|
1401
|
+
readonly attrs: {
|
|
1402
|
+
readonly variant: "success" | "warning" | null;
|
|
1403
|
+
};
|
|
1404
|
+
readonly type: "highlight";
|
|
1405
|
+
})[]];
|
|
1103
1406
|
readonly type: "mathInline";
|
|
1104
|
-
}
|
|
1407
|
+
}, ...({
|
|
1105
1408
|
readonly marks?: readonly [{
|
|
1106
1409
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1107
1410
|
} | {
|
|
@@ -1129,12 +1432,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1129
1432
|
})[]];
|
|
1130
1433
|
readonly text: string;
|
|
1131
1434
|
readonly type: "text";
|
|
1132
|
-
}
|
|
1435
|
+
} | {
|
|
1133
1436
|
readonly attrs: {
|
|
1134
1437
|
readonly latex: string;
|
|
1135
1438
|
};
|
|
1136
|
-
readonly type: "mathInline";
|
|
1137
|
-
} | {
|
|
1138
1439
|
readonly marks?: readonly [{
|
|
1139
1440
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1140
1441
|
} | {
|
|
@@ -1160,8 +1461,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1160
1461
|
};
|
|
1161
1462
|
readonly type: "highlight";
|
|
1162
1463
|
})[]];
|
|
1163
|
-
readonly
|
|
1164
|
-
readonly type: "text";
|
|
1464
|
+
readonly type: "mathInline";
|
|
1165
1465
|
})[]];
|
|
1166
1466
|
readonly maxMatches: number;
|
|
1167
1467
|
}[]];
|