@nakafa/aksara-contracts 4.1.2 → 4.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assessment/hash.d.ts +327 -327
- package/dist/assessment/paper.d.ts +139 -139
- package/dist/assessment/snapshot.d.ts +332 -332
- package/dist/locale.d.ts +1 -1
- package/dist/math/visual.d.ts +202 -202
- package/dist/quran/snapshot/row/hash.d.ts +80 -80
- package/dist/release/snapshot/verify.d.ts +209 -209
- package/dist/runtime/spec.d.ts +28 -28
- package/dist/runtime/verify.d.ts +40 -40
- package/dist/transport/request.d.ts +2423 -2423
- package/dist/transport/response.d.ts +571 -571
- package/package.json +1 -1
|
@@ -267,11 +267,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
267
267
|
readonly interaction: "choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry";
|
|
268
268
|
readonly rule: {
|
|
269
269
|
readonly kind: "allOrNothing";
|
|
270
|
-
} | {
|
|
271
|
-
readonly floor: number;
|
|
272
|
-
readonly kind: "perPart";
|
|
273
|
-
readonly penaltyPerWrongPart?: number;
|
|
274
|
-
readonly pointsPerPart: number;
|
|
275
270
|
} | {
|
|
276
271
|
readonly bands: readonly [{
|
|
277
272
|
readonly points: number;
|
|
@@ -281,6 +276,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
281
276
|
readonly wrong: number;
|
|
282
277
|
}[]];
|
|
283
278
|
readonly kind: "wrongParts";
|
|
279
|
+
} | {
|
|
280
|
+
readonly floor: number;
|
|
281
|
+
readonly kind: "perPart";
|
|
282
|
+
readonly penaltyPerWrongPart?: number;
|
|
283
|
+
readonly pointsPerPart: number;
|
|
284
284
|
};
|
|
285
285
|
}[];
|
|
286
286
|
readonly graceSeconds: number;
|
|
@@ -491,6 +491,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
491
491
|
readonly options: readonly {
|
|
492
492
|
readonly id: string;
|
|
493
493
|
readonly label: readonly [{
|
|
494
|
+
readonly attrs: {
|
|
495
|
+
readonly latex: string;
|
|
496
|
+
};
|
|
497
|
+
readonly type: "mathInline";
|
|
498
|
+
} | {
|
|
494
499
|
readonly marks?: readonly [{
|
|
495
500
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
496
501
|
} | {
|
|
@@ -508,12 +513,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
508
513
|
})[]];
|
|
509
514
|
readonly text: string;
|
|
510
515
|
readonly type: "text";
|
|
511
|
-
}
|
|
516
|
+
}, ...({
|
|
512
517
|
readonly attrs: {
|
|
513
518
|
readonly latex: string;
|
|
514
519
|
};
|
|
515
520
|
readonly type: "mathInline";
|
|
516
|
-
}
|
|
521
|
+
} | {
|
|
517
522
|
readonly marks?: readonly [{
|
|
518
523
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
519
524
|
} | {
|
|
@@ -531,72 +536,20 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
531
536
|
})[]];
|
|
532
537
|
readonly text: string;
|
|
533
538
|
readonly type: "text";
|
|
534
|
-
} | {
|
|
535
|
-
readonly attrs: {
|
|
536
|
-
readonly latex: string;
|
|
537
|
-
};
|
|
538
|
-
readonly type: "mathInline";
|
|
539
539
|
})[]];
|
|
540
540
|
}[];
|
|
541
541
|
readonly shuffle: boolean;
|
|
542
|
-
} | {
|
|
543
|
-
readonly id: string;
|
|
544
|
-
readonly label: string;
|
|
545
|
-
readonly expectedLength?: number;
|
|
546
|
-
readonly kind: "textEntry";
|
|
547
|
-
} | {
|
|
548
|
-
readonly id: string;
|
|
549
|
-
readonly label: string;
|
|
550
|
-
readonly acceptsFractions: boolean;
|
|
551
|
-
readonly kind: "numericEntry";
|
|
552
|
-
readonly unit?: string;
|
|
553
|
-
} | {
|
|
554
|
-
readonly id: string;
|
|
555
|
-
readonly label: string;
|
|
556
|
-
readonly kind: "mathEntry";
|
|
557
|
-
} | {
|
|
558
|
-
readonly id: string;
|
|
559
|
-
readonly label: string;
|
|
560
|
-
readonly areas: readonly ({
|
|
561
|
-
readonly id: string;
|
|
562
|
-
readonly label: string;
|
|
563
|
-
readonly coords: readonly [number, number, number, number];
|
|
564
|
-
readonly shape: "rect";
|
|
565
|
-
} | {
|
|
566
|
-
readonly id: string;
|
|
567
|
-
readonly label: string;
|
|
568
|
-
readonly coords: readonly [number, number, number];
|
|
569
|
-
readonly shape: "circle";
|
|
570
|
-
} | {
|
|
571
|
-
readonly id: string;
|
|
572
|
-
readonly label: string;
|
|
573
|
-
readonly coords: readonly [number, number, number, number];
|
|
574
|
-
readonly shape: "ellipse";
|
|
575
|
-
} | {
|
|
576
|
-
readonly id: string;
|
|
577
|
-
readonly label: string;
|
|
578
|
-
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
579
|
-
readonly shape: "poly";
|
|
580
|
-
} | {
|
|
581
|
-
readonly id: string;
|
|
582
|
-
readonly label: string;
|
|
583
|
-
readonly shape: "default";
|
|
584
|
-
})[];
|
|
585
|
-
readonly image: {
|
|
586
|
-
readonly alt: string;
|
|
587
|
-
readonly asset: string;
|
|
588
|
-
readonly height: number;
|
|
589
|
-
readonly width: number;
|
|
590
|
-
};
|
|
591
|
-
readonly kind: "hotspot";
|
|
592
|
-
readonly maxChoices: number;
|
|
593
|
-
readonly minChoices: number;
|
|
594
542
|
} | {
|
|
595
543
|
readonly id: string;
|
|
596
544
|
readonly label: string;
|
|
597
545
|
readonly choices: readonly [{
|
|
598
546
|
readonly id: string;
|
|
599
547
|
readonly label: readonly [{
|
|
548
|
+
readonly attrs: {
|
|
549
|
+
readonly latex: string;
|
|
550
|
+
};
|
|
551
|
+
readonly type: "mathInline";
|
|
552
|
+
} | {
|
|
600
553
|
readonly marks?: readonly [{
|
|
601
554
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
602
555
|
} | {
|
|
@@ -614,12 +567,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
614
567
|
})[]];
|
|
615
568
|
readonly text: string;
|
|
616
569
|
readonly type: "text";
|
|
617
|
-
}
|
|
570
|
+
}, ...({
|
|
618
571
|
readonly attrs: {
|
|
619
572
|
readonly latex: string;
|
|
620
573
|
};
|
|
621
574
|
readonly type: "mathInline";
|
|
622
|
-
}
|
|
575
|
+
} | {
|
|
623
576
|
readonly marks?: readonly [{
|
|
624
577
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
625
578
|
} | {
|
|
@@ -637,16 +590,16 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
637
590
|
})[]];
|
|
638
591
|
readonly text: string;
|
|
639
592
|
readonly type: "text";
|
|
640
|
-
} | {
|
|
641
|
-
readonly attrs: {
|
|
642
|
-
readonly latex: string;
|
|
643
|
-
};
|
|
644
|
-
readonly type: "mathInline";
|
|
645
593
|
})[]];
|
|
646
594
|
readonly maxMatches: number;
|
|
647
595
|
}, ...{
|
|
648
596
|
readonly id: string;
|
|
649
597
|
readonly label: readonly [{
|
|
598
|
+
readonly attrs: {
|
|
599
|
+
readonly latex: string;
|
|
600
|
+
};
|
|
601
|
+
readonly type: "mathInline";
|
|
602
|
+
} | {
|
|
650
603
|
readonly marks?: readonly [{
|
|
651
604
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
652
605
|
} | {
|
|
@@ -664,12 +617,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
664
617
|
})[]];
|
|
665
618
|
readonly text: string;
|
|
666
619
|
readonly type: "text";
|
|
667
|
-
}
|
|
620
|
+
}, ...({
|
|
668
621
|
readonly attrs: {
|
|
669
622
|
readonly latex: string;
|
|
670
623
|
};
|
|
671
624
|
readonly type: "mathInline";
|
|
672
|
-
}
|
|
625
|
+
} | {
|
|
673
626
|
readonly marks?: readonly [{
|
|
674
627
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
675
628
|
} | {
|
|
@@ -687,11 +640,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
687
640
|
})[]];
|
|
688
641
|
readonly text: string;
|
|
689
642
|
readonly type: "text";
|
|
690
|
-
} | {
|
|
691
|
-
readonly attrs: {
|
|
692
|
-
readonly latex: string;
|
|
693
|
-
};
|
|
694
|
-
readonly type: "mathInline";
|
|
695
643
|
})[]];
|
|
696
644
|
readonly maxMatches: number;
|
|
697
645
|
}[]];
|
|
@@ -702,6 +650,63 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
702
650
|
}[]];
|
|
703
651
|
readonly kind: "gapMatch";
|
|
704
652
|
readonly shuffle: boolean;
|
|
653
|
+
} | {
|
|
654
|
+
readonly id: string;
|
|
655
|
+
readonly label: string;
|
|
656
|
+
readonly kind: "mathEntry";
|
|
657
|
+
} | {
|
|
658
|
+
readonly id: string;
|
|
659
|
+
readonly label: string;
|
|
660
|
+
readonly areas: readonly ({
|
|
661
|
+
readonly id: string;
|
|
662
|
+
readonly label: string;
|
|
663
|
+
readonly coords: readonly [number, number, number, number];
|
|
664
|
+
readonly shape: "rect";
|
|
665
|
+
} | {
|
|
666
|
+
readonly id: string;
|
|
667
|
+
readonly label: string;
|
|
668
|
+
readonly coords: readonly [number, number, number];
|
|
669
|
+
readonly shape: "circle";
|
|
670
|
+
} | {
|
|
671
|
+
readonly id: string;
|
|
672
|
+
readonly label: string;
|
|
673
|
+
readonly coords: readonly [number, number, number, number];
|
|
674
|
+
readonly shape: "ellipse";
|
|
675
|
+
} | {
|
|
676
|
+
readonly id: string;
|
|
677
|
+
readonly label: string;
|
|
678
|
+
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
679
|
+
readonly shape: "poly";
|
|
680
|
+
} | {
|
|
681
|
+
readonly id: string;
|
|
682
|
+
readonly label: string;
|
|
683
|
+
readonly shape: "default";
|
|
684
|
+
})[];
|
|
685
|
+
readonly image: {
|
|
686
|
+
readonly alt: string;
|
|
687
|
+
readonly asset: string;
|
|
688
|
+
readonly height: number;
|
|
689
|
+
readonly width: number;
|
|
690
|
+
};
|
|
691
|
+
readonly kind: "hotspot";
|
|
692
|
+
readonly maxChoices: number;
|
|
693
|
+
readonly minChoices: number;
|
|
694
|
+
} | {
|
|
695
|
+
readonly id: string;
|
|
696
|
+
readonly label: string;
|
|
697
|
+
readonly expectedLength?: number;
|
|
698
|
+
readonly kind: "textEntry";
|
|
699
|
+
} | {
|
|
700
|
+
readonly id: string;
|
|
701
|
+
readonly label: string;
|
|
702
|
+
readonly acceptsFractions: boolean;
|
|
703
|
+
readonly kind: "numericEntry";
|
|
704
|
+
readonly unit?: string;
|
|
705
|
+
} | {
|
|
706
|
+
readonly id: string;
|
|
707
|
+
readonly label: string;
|
|
708
|
+
readonly expectedLines?: number;
|
|
709
|
+
readonly kind: "extendedText";
|
|
705
710
|
} | {
|
|
706
711
|
readonly id: string;
|
|
707
712
|
readonly label: string;
|
|
@@ -720,11 +725,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
720
725
|
readonly kind: "graphPoint";
|
|
721
726
|
readonly placing: "lines" | "points";
|
|
722
727
|
readonly snap?: number;
|
|
723
|
-
} | {
|
|
724
|
-
readonly id: string;
|
|
725
|
-
readonly label: string;
|
|
726
|
-
readonly expectedLines?: number;
|
|
727
|
-
readonly kind: "extendedText";
|
|
728
728
|
}, ...({
|
|
729
729
|
readonly id: string;
|
|
730
730
|
readonly label: string;
|
|
@@ -820,6 +820,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
820
820
|
readonly options: readonly {
|
|
821
821
|
readonly id: string;
|
|
822
822
|
readonly label: readonly [{
|
|
823
|
+
readonly attrs: {
|
|
824
|
+
readonly latex: string;
|
|
825
|
+
};
|
|
826
|
+
readonly type: "mathInline";
|
|
827
|
+
} | {
|
|
823
828
|
readonly marks?: readonly [{
|
|
824
829
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
825
830
|
} | {
|
|
@@ -837,12 +842,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
837
842
|
})[]];
|
|
838
843
|
readonly text: string;
|
|
839
844
|
readonly type: "text";
|
|
840
|
-
}
|
|
845
|
+
}, ...({
|
|
841
846
|
readonly attrs: {
|
|
842
847
|
readonly latex: string;
|
|
843
848
|
};
|
|
844
849
|
readonly type: "mathInline";
|
|
845
|
-
}
|
|
850
|
+
} | {
|
|
846
851
|
readonly marks?: readonly [{
|
|
847
852
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
848
853
|
} | {
|
|
@@ -860,72 +865,20 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
860
865
|
})[]];
|
|
861
866
|
readonly text: string;
|
|
862
867
|
readonly type: "text";
|
|
863
|
-
} | {
|
|
864
|
-
readonly attrs: {
|
|
865
|
-
readonly latex: string;
|
|
866
|
-
};
|
|
867
|
-
readonly type: "mathInline";
|
|
868
868
|
})[]];
|
|
869
869
|
}[];
|
|
870
870
|
readonly shuffle: boolean;
|
|
871
|
-
} | {
|
|
872
|
-
readonly id: string;
|
|
873
|
-
readonly label: string;
|
|
874
|
-
readonly expectedLength?: number;
|
|
875
|
-
readonly kind: "textEntry";
|
|
876
|
-
} | {
|
|
877
|
-
readonly id: string;
|
|
878
|
-
readonly label: string;
|
|
879
|
-
readonly acceptsFractions: boolean;
|
|
880
|
-
readonly kind: "numericEntry";
|
|
881
|
-
readonly unit?: string;
|
|
882
|
-
} | {
|
|
883
|
-
readonly id: string;
|
|
884
|
-
readonly label: string;
|
|
885
|
-
readonly kind: "mathEntry";
|
|
886
|
-
} | {
|
|
887
|
-
readonly id: string;
|
|
888
|
-
readonly label: string;
|
|
889
|
-
readonly areas: readonly ({
|
|
890
|
-
readonly id: string;
|
|
891
|
-
readonly label: string;
|
|
892
|
-
readonly coords: readonly [number, number, number, number];
|
|
893
|
-
readonly shape: "rect";
|
|
894
|
-
} | {
|
|
895
|
-
readonly id: string;
|
|
896
|
-
readonly label: string;
|
|
897
|
-
readonly coords: readonly [number, number, number];
|
|
898
|
-
readonly shape: "circle";
|
|
899
|
-
} | {
|
|
900
|
-
readonly id: string;
|
|
901
|
-
readonly label: string;
|
|
902
|
-
readonly coords: readonly [number, number, number, number];
|
|
903
|
-
readonly shape: "ellipse";
|
|
904
|
-
} | {
|
|
905
|
-
readonly id: string;
|
|
906
|
-
readonly label: string;
|
|
907
|
-
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
908
|
-
readonly shape: "poly";
|
|
909
|
-
} | {
|
|
910
|
-
readonly id: string;
|
|
911
|
-
readonly label: string;
|
|
912
|
-
readonly shape: "default";
|
|
913
|
-
})[];
|
|
914
|
-
readonly image: {
|
|
915
|
-
readonly alt: string;
|
|
916
|
-
readonly asset: string;
|
|
917
|
-
readonly height: number;
|
|
918
|
-
readonly width: number;
|
|
919
|
-
};
|
|
920
|
-
readonly kind: "hotspot";
|
|
921
|
-
readonly maxChoices: number;
|
|
922
|
-
readonly minChoices: number;
|
|
923
871
|
} | {
|
|
924
872
|
readonly id: string;
|
|
925
873
|
readonly label: string;
|
|
926
874
|
readonly choices: readonly [{
|
|
927
875
|
readonly id: string;
|
|
928
876
|
readonly label: readonly [{
|
|
877
|
+
readonly attrs: {
|
|
878
|
+
readonly latex: string;
|
|
879
|
+
};
|
|
880
|
+
readonly type: "mathInline";
|
|
881
|
+
} | {
|
|
929
882
|
readonly marks?: readonly [{
|
|
930
883
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
931
884
|
} | {
|
|
@@ -943,12 +896,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
943
896
|
})[]];
|
|
944
897
|
readonly text: string;
|
|
945
898
|
readonly type: "text";
|
|
946
|
-
}
|
|
899
|
+
}, ...({
|
|
947
900
|
readonly attrs: {
|
|
948
901
|
readonly latex: string;
|
|
949
902
|
};
|
|
950
903
|
readonly type: "mathInline";
|
|
951
|
-
}
|
|
904
|
+
} | {
|
|
952
905
|
readonly marks?: readonly [{
|
|
953
906
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
954
907
|
} | {
|
|
@@ -966,16 +919,16 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
966
919
|
})[]];
|
|
967
920
|
readonly text: string;
|
|
968
921
|
readonly type: "text";
|
|
969
|
-
} | {
|
|
970
|
-
readonly attrs: {
|
|
971
|
-
readonly latex: string;
|
|
972
|
-
};
|
|
973
|
-
readonly type: "mathInline";
|
|
974
922
|
})[]];
|
|
975
923
|
readonly maxMatches: number;
|
|
976
924
|
}, ...{
|
|
977
925
|
readonly id: string;
|
|
978
926
|
readonly label: readonly [{
|
|
927
|
+
readonly attrs: {
|
|
928
|
+
readonly latex: string;
|
|
929
|
+
};
|
|
930
|
+
readonly type: "mathInline";
|
|
931
|
+
} | {
|
|
979
932
|
readonly marks?: readonly [{
|
|
980
933
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
981
934
|
} | {
|
|
@@ -993,12 +946,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
993
946
|
})[]];
|
|
994
947
|
readonly text: string;
|
|
995
948
|
readonly type: "text";
|
|
996
|
-
}
|
|
949
|
+
}, ...({
|
|
997
950
|
readonly attrs: {
|
|
998
951
|
readonly latex: string;
|
|
999
952
|
};
|
|
1000
953
|
readonly type: "mathInline";
|
|
1001
|
-
}
|
|
954
|
+
} | {
|
|
1002
955
|
readonly marks?: readonly [{
|
|
1003
956
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1004
957
|
} | {
|
|
@@ -1016,11 +969,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1016
969
|
})[]];
|
|
1017
970
|
readonly text: string;
|
|
1018
971
|
readonly type: "text";
|
|
1019
|
-
} | {
|
|
1020
|
-
readonly attrs: {
|
|
1021
|
-
readonly latex: string;
|
|
1022
|
-
};
|
|
1023
|
-
readonly type: "mathInline";
|
|
1024
972
|
})[]];
|
|
1025
973
|
readonly maxMatches: number;
|
|
1026
974
|
}[]];
|
|
@@ -1031,6 +979,63 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1031
979
|
}[]];
|
|
1032
980
|
readonly kind: "gapMatch";
|
|
1033
981
|
readonly shuffle: boolean;
|
|
982
|
+
} | {
|
|
983
|
+
readonly id: string;
|
|
984
|
+
readonly label: string;
|
|
985
|
+
readonly kind: "mathEntry";
|
|
986
|
+
} | {
|
|
987
|
+
readonly id: string;
|
|
988
|
+
readonly label: string;
|
|
989
|
+
readonly areas: readonly ({
|
|
990
|
+
readonly id: string;
|
|
991
|
+
readonly label: string;
|
|
992
|
+
readonly coords: readonly [number, number, number, number];
|
|
993
|
+
readonly shape: "rect";
|
|
994
|
+
} | {
|
|
995
|
+
readonly id: string;
|
|
996
|
+
readonly label: string;
|
|
997
|
+
readonly coords: readonly [number, number, number];
|
|
998
|
+
readonly shape: "circle";
|
|
999
|
+
} | {
|
|
1000
|
+
readonly id: string;
|
|
1001
|
+
readonly label: string;
|
|
1002
|
+
readonly coords: readonly [number, number, number, number];
|
|
1003
|
+
readonly shape: "ellipse";
|
|
1004
|
+
} | {
|
|
1005
|
+
readonly id: string;
|
|
1006
|
+
readonly label: string;
|
|
1007
|
+
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
1008
|
+
readonly shape: "poly";
|
|
1009
|
+
} | {
|
|
1010
|
+
readonly id: string;
|
|
1011
|
+
readonly label: string;
|
|
1012
|
+
readonly shape: "default";
|
|
1013
|
+
})[];
|
|
1014
|
+
readonly image: {
|
|
1015
|
+
readonly alt: string;
|
|
1016
|
+
readonly asset: string;
|
|
1017
|
+
readonly height: number;
|
|
1018
|
+
readonly width: number;
|
|
1019
|
+
};
|
|
1020
|
+
readonly kind: "hotspot";
|
|
1021
|
+
readonly maxChoices: number;
|
|
1022
|
+
readonly minChoices: number;
|
|
1023
|
+
} | {
|
|
1024
|
+
readonly id: string;
|
|
1025
|
+
readonly label: string;
|
|
1026
|
+
readonly expectedLength?: number;
|
|
1027
|
+
readonly kind: "textEntry";
|
|
1028
|
+
} | {
|
|
1029
|
+
readonly id: string;
|
|
1030
|
+
readonly label: string;
|
|
1031
|
+
readonly acceptsFractions: boolean;
|
|
1032
|
+
readonly kind: "numericEntry";
|
|
1033
|
+
readonly unit?: string;
|
|
1034
|
+
} | {
|
|
1035
|
+
readonly id: string;
|
|
1036
|
+
readonly label: string;
|
|
1037
|
+
readonly expectedLines?: number;
|
|
1038
|
+
readonly kind: "extendedText";
|
|
1034
1039
|
} | {
|
|
1035
1040
|
readonly id: string;
|
|
1036
1041
|
readonly label: string;
|
|
@@ -1049,11 +1054,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1049
1054
|
readonly kind: "graphPoint";
|
|
1050
1055
|
readonly placing: "lines" | "points";
|
|
1051
1056
|
readonly snap?: number;
|
|
1052
|
-
} | {
|
|
1053
|
-
readonly id: string;
|
|
1054
|
-
readonly label: string;
|
|
1055
|
-
readonly expectedLines?: number;
|
|
1056
|
-
readonly kind: "extendedText";
|
|
1057
1057
|
})[]];
|
|
1058
1058
|
readonly joint?: {
|
|
1059
1059
|
readonly levels: readonly [{
|
|
@@ -1072,11 +1072,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1072
1072
|
readonly interaction: string;
|
|
1073
1073
|
readonly rule: {
|
|
1074
1074
|
readonly kind: "allOrNothing";
|
|
1075
|
-
} | {
|
|
1076
|
-
readonly floor: number;
|
|
1077
|
-
readonly kind: "perPart";
|
|
1078
|
-
readonly penaltyPerWrongPart?: number;
|
|
1079
|
-
readonly pointsPerPart: number;
|
|
1080
1075
|
} | {
|
|
1081
1076
|
readonly bands: readonly [{
|
|
1082
1077
|
readonly points: number;
|
|
@@ -1105,6 +1100,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1105
1100
|
}[];
|
|
1106
1101
|
}[]];
|
|
1107
1102
|
readonly kind: "rubric";
|
|
1103
|
+
} | {
|
|
1104
|
+
readonly floor: number;
|
|
1105
|
+
readonly kind: "perPart";
|
|
1106
|
+
readonly penaltyPerWrongPart?: number;
|
|
1107
|
+
readonly pointsPerPart: number;
|
|
1108
1108
|
};
|
|
1109
1109
|
}[];
|
|
1110
1110
|
readonly stimulus?: {
|
|
@@ -1167,14 +1167,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1167
1167
|
readonly kind: "text";
|
|
1168
1168
|
};
|
|
1169
1169
|
readonly kind: "textEntry";
|
|
1170
|
-
} | {
|
|
1171
|
-
readonly interaction: string;
|
|
1172
|
-
readonly kind: "numericEntry";
|
|
1173
|
-
readonly tolerance?: {
|
|
1174
|
-
readonly kind: "absolute" | "relative";
|
|
1175
|
-
readonly value: string;
|
|
1176
|
-
};
|
|
1177
|
-
readonly value: string;
|
|
1178
1170
|
} | {
|
|
1179
1171
|
readonly interaction: string;
|
|
1180
1172
|
readonly expression: string;
|
|
@@ -1248,6 +1240,14 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1248
1240
|
}[]];
|
|
1249
1241
|
}[]];
|
|
1250
1242
|
readonly kind: "extendedText";
|
|
1243
|
+
} | {
|
|
1244
|
+
readonly interaction: string;
|
|
1245
|
+
readonly kind: "numericEntry";
|
|
1246
|
+
readonly tolerance?: {
|
|
1247
|
+
readonly kind: "absolute" | "relative";
|
|
1248
|
+
readonly value: string;
|
|
1249
|
+
};
|
|
1250
|
+
readonly value: string;
|
|
1251
1251
|
}, ...({
|
|
1252
1252
|
readonly interaction: string;
|
|
1253
1253
|
readonly correct: readonly [string, ...string[]];
|
|
@@ -1289,14 +1289,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1289
1289
|
readonly kind: "text";
|
|
1290
1290
|
};
|
|
1291
1291
|
readonly kind: "textEntry";
|
|
1292
|
-
} | {
|
|
1293
|
-
readonly interaction: string;
|
|
1294
|
-
readonly kind: "numericEntry";
|
|
1295
|
-
readonly tolerance?: {
|
|
1296
|
-
readonly kind: "absolute" | "relative";
|
|
1297
|
-
readonly value: string;
|
|
1298
|
-
};
|
|
1299
|
-
readonly value: string;
|
|
1300
1292
|
} | {
|
|
1301
1293
|
readonly interaction: string;
|
|
1302
1294
|
readonly expression: string;
|
|
@@ -1370,6 +1362,14 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1370
1362
|
}[]];
|
|
1371
1363
|
}[]];
|
|
1372
1364
|
readonly kind: "extendedText";
|
|
1365
|
+
} | {
|
|
1366
|
+
readonly interaction: string;
|
|
1367
|
+
readonly kind: "numericEntry";
|
|
1368
|
+
readonly tolerance?: {
|
|
1369
|
+
readonly kind: "absolute" | "relative";
|
|
1370
|
+
readonly value: string;
|
|
1371
|
+
};
|
|
1372
|
+
readonly value: string;
|
|
1373
1373
|
})[]];
|
|
1374
1374
|
readonly version: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
1375
1375
|
};
|
|
@@ -1468,6 +1468,23 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1468
1468
|
readonly family: "quran";
|
|
1469
1469
|
readonly record: {
|
|
1470
1470
|
readonly payload: {
|
|
1471
|
+
readonly name: {
|
|
1472
|
+
readonly arabic: string;
|
|
1473
|
+
readonly meaning: {
|
|
1474
|
+
readonly de: string;
|
|
1475
|
+
readonly en: string;
|
|
1476
|
+
readonly id: string;
|
|
1477
|
+
};
|
|
1478
|
+
readonly transliteration: string;
|
|
1479
|
+
};
|
|
1480
|
+
readonly number: number;
|
|
1481
|
+
readonly numberOfVerses: number;
|
|
1482
|
+
readonly revelation: {
|
|
1483
|
+
readonly order: number;
|
|
1484
|
+
readonly place: "Meccan" | "Medinan";
|
|
1485
|
+
};
|
|
1486
|
+
readonly kind: "quran-surah";
|
|
1487
|
+
} | {
|
|
1471
1488
|
readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
|
|
1472
1489
|
readonly kind: "quran-attribution";
|
|
1473
1490
|
readonly sources: readonly [{
|
|
@@ -1574,30 +1591,30 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1574
1591
|
};
|
|
1575
1592
|
})[]];
|
|
1576
1593
|
readonly tafsirAccess: readonly [{
|
|
1577
|
-
readonly appLocale: "en" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1578
|
-
readonly kind: "external";
|
|
1579
|
-
readonly notice: string;
|
|
1580
|
-
readonly sourceId: "mokhtasar-english";
|
|
1581
|
-
} | {
|
|
1582
1594
|
readonly appLocale: "id" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1583
1595
|
readonly kind: "embedded";
|
|
1584
1596
|
readonly notice: string;
|
|
1585
1597
|
readonly sourceId: "quranenc-tafsir";
|
|
1586
1598
|
} | {
|
|
1587
|
-
readonly appLocale: "de" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1588
|
-
readonly kind: "external";
|
|
1589
|
-
readonly notice: string;
|
|
1590
|
-
readonly sourceId: "mokhtasar-german";
|
|
1591
|
-
}, ...({
|
|
1592
1599
|
readonly appLocale: "en" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1593
1600
|
readonly kind: "external";
|
|
1594
1601
|
readonly notice: string;
|
|
1595
1602
|
readonly sourceId: "mokhtasar-english";
|
|
1596
1603
|
} | {
|
|
1604
|
+
readonly appLocale: "de" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1605
|
+
readonly kind: "external";
|
|
1606
|
+
readonly notice: string;
|
|
1607
|
+
readonly sourceId: "mokhtasar-german";
|
|
1608
|
+
}, ...({
|
|
1597
1609
|
readonly appLocale: "id" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1598
1610
|
readonly kind: "embedded";
|
|
1599
1611
|
readonly notice: string;
|
|
1600
1612
|
readonly sourceId: "quranenc-tafsir";
|
|
1613
|
+
} | {
|
|
1614
|
+
readonly appLocale: "en" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1615
|
+
readonly kind: "external";
|
|
1616
|
+
readonly notice: string;
|
|
1617
|
+
readonly sourceId: "mokhtasar-english";
|
|
1601
1618
|
} | {
|
|
1602
1619
|
readonly appLocale: "de" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1603
1620
|
readonly kind: "external";
|
|
@@ -1679,23 +1696,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1679
1696
|
};
|
|
1680
1697
|
}[]];
|
|
1681
1698
|
}[]];
|
|
1682
|
-
} | {
|
|
1683
|
-
readonly name: {
|
|
1684
|
-
readonly arabic: string;
|
|
1685
|
-
readonly meaning: {
|
|
1686
|
-
readonly de: string;
|
|
1687
|
-
readonly en: string;
|
|
1688
|
-
readonly id: string;
|
|
1689
|
-
};
|
|
1690
|
-
readonly transliteration: string;
|
|
1691
|
-
};
|
|
1692
|
-
readonly number: number;
|
|
1693
|
-
readonly numberOfVerses: number;
|
|
1694
|
-
readonly revelation: {
|
|
1695
|
-
readonly order: number;
|
|
1696
|
-
readonly place: "Meccan" | "Medinan";
|
|
1697
|
-
};
|
|
1698
|
-
readonly kind: "quran-surah";
|
|
1699
1699
|
} | {
|
|
1700
1700
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1701
1701
|
readonly graph: {
|