@nakafa/aksara-contracts 4.1.2 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assessment/catalog.d.ts +56 -8
- package/dist/assessment/catalog.js +28 -8
- package/dist/assessment/hash.d.ts +327 -327
- package/dist/assessment/paper.d.ts +139 -139
- package/dist/assessment/snapshot.d.ts +400 -324
- 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/data.d.ts +20 -1
- package/dist/release/snapshot/verify.d.ts +229 -210
- package/dist/runtime/spec.d.ts +28 -28
- package/dist/runtime/verify.d.ts +40 -40
- package/dist/transport/group.d.ts +60 -3
- package/dist/transport/request.d.ts +2498 -2346
- package/dist/transport/response.d.ts +571 -571
- package/dist/transport/snapshot.d.ts +40 -2
- package/package.json +1 -1
|
@@ -174,9 +174,28 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
174
174
|
readonly title: string;
|
|
175
175
|
readonly countryKey: string;
|
|
176
176
|
readonly examKey: string;
|
|
177
|
+
readonly groupAxis: "grade" | "institution" | "year";
|
|
177
178
|
readonly kind: "exam";
|
|
178
179
|
readonly order: number;
|
|
179
180
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
181
|
+
} | {
|
|
182
|
+
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
183
|
+
readonly description?: string;
|
|
184
|
+
readonly graph: {
|
|
185
|
+
readonly alignmentId: string;
|
|
186
|
+
readonly assetId: string;
|
|
187
|
+
readonly conceptId: string;
|
|
188
|
+
readonly learningObjectId: string;
|
|
189
|
+
readonly lensId: string;
|
|
190
|
+
};
|
|
191
|
+
readonly sourceRevision: string;
|
|
192
|
+
readonly title: string;
|
|
193
|
+
readonly countryKey: string;
|
|
194
|
+
readonly examKey: string;
|
|
195
|
+
readonly groupKey: string;
|
|
196
|
+
readonly kind: "group";
|
|
197
|
+
readonly order: number;
|
|
198
|
+
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
180
199
|
} | {
|
|
181
200
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
182
201
|
readonly description?: string;
|
|
@@ -192,10 +211,10 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
192
211
|
readonly countryKey: string;
|
|
193
212
|
readonly examKey: string;
|
|
194
213
|
readonly trackKey: string;
|
|
214
|
+
readonly groupKey: string;
|
|
195
215
|
readonly kind: "track";
|
|
196
216
|
readonly order: number;
|
|
197
217
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
198
|
-
readonly trackKind: "institution" | "subject" | "year";
|
|
199
218
|
} | {
|
|
200
219
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
201
220
|
readonly description?: string;
|
|
@@ -267,11 +286,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
267
286
|
readonly interaction: "choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry";
|
|
268
287
|
readonly rule: {
|
|
269
288
|
readonly kind: "allOrNothing";
|
|
270
|
-
} | {
|
|
271
|
-
readonly floor: number;
|
|
272
|
-
readonly kind: "perPart";
|
|
273
|
-
readonly penaltyPerWrongPart?: number;
|
|
274
|
-
readonly pointsPerPart: number;
|
|
275
289
|
} | {
|
|
276
290
|
readonly bands: readonly [{
|
|
277
291
|
readonly points: number;
|
|
@@ -281,6 +295,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
281
295
|
readonly wrong: number;
|
|
282
296
|
}[]];
|
|
283
297
|
readonly kind: "wrongParts";
|
|
298
|
+
} | {
|
|
299
|
+
readonly floor: number;
|
|
300
|
+
readonly kind: "perPart";
|
|
301
|
+
readonly penaltyPerWrongPart?: number;
|
|
302
|
+
readonly pointsPerPart: number;
|
|
284
303
|
};
|
|
285
304
|
}[];
|
|
286
305
|
readonly graceSeconds: number;
|
|
@@ -491,6 +510,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
491
510
|
readonly options: readonly {
|
|
492
511
|
readonly id: string;
|
|
493
512
|
readonly label: readonly [{
|
|
513
|
+
readonly attrs: {
|
|
514
|
+
readonly latex: string;
|
|
515
|
+
};
|
|
516
|
+
readonly type: "mathInline";
|
|
517
|
+
} | {
|
|
494
518
|
readonly marks?: readonly [{
|
|
495
519
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
496
520
|
} | {
|
|
@@ -508,12 +532,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
508
532
|
})[]];
|
|
509
533
|
readonly text: string;
|
|
510
534
|
readonly type: "text";
|
|
511
|
-
}
|
|
535
|
+
}, ...({
|
|
512
536
|
readonly attrs: {
|
|
513
537
|
readonly latex: string;
|
|
514
538
|
};
|
|
515
539
|
readonly type: "mathInline";
|
|
516
|
-
}
|
|
540
|
+
} | {
|
|
517
541
|
readonly marks?: readonly [{
|
|
518
542
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
519
543
|
} | {
|
|
@@ -531,72 +555,20 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
531
555
|
})[]];
|
|
532
556
|
readonly text: string;
|
|
533
557
|
readonly type: "text";
|
|
534
|
-
} | {
|
|
535
|
-
readonly attrs: {
|
|
536
|
-
readonly latex: string;
|
|
537
|
-
};
|
|
538
|
-
readonly type: "mathInline";
|
|
539
558
|
})[]];
|
|
540
559
|
}[];
|
|
541
560
|
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
561
|
} | {
|
|
595
562
|
readonly id: string;
|
|
596
563
|
readonly label: string;
|
|
597
564
|
readonly choices: readonly [{
|
|
598
565
|
readonly id: string;
|
|
599
566
|
readonly label: readonly [{
|
|
567
|
+
readonly attrs: {
|
|
568
|
+
readonly latex: string;
|
|
569
|
+
};
|
|
570
|
+
readonly type: "mathInline";
|
|
571
|
+
} | {
|
|
600
572
|
readonly marks?: readonly [{
|
|
601
573
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
602
574
|
} | {
|
|
@@ -614,12 +586,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
614
586
|
})[]];
|
|
615
587
|
readonly text: string;
|
|
616
588
|
readonly type: "text";
|
|
617
|
-
}
|
|
589
|
+
}, ...({
|
|
618
590
|
readonly attrs: {
|
|
619
591
|
readonly latex: string;
|
|
620
592
|
};
|
|
621
593
|
readonly type: "mathInline";
|
|
622
|
-
}
|
|
594
|
+
} | {
|
|
623
595
|
readonly marks?: readonly [{
|
|
624
596
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
625
597
|
} | {
|
|
@@ -637,16 +609,16 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
637
609
|
})[]];
|
|
638
610
|
readonly text: string;
|
|
639
611
|
readonly type: "text";
|
|
640
|
-
} | {
|
|
641
|
-
readonly attrs: {
|
|
642
|
-
readonly latex: string;
|
|
643
|
-
};
|
|
644
|
-
readonly type: "mathInline";
|
|
645
612
|
})[]];
|
|
646
613
|
readonly maxMatches: number;
|
|
647
614
|
}, ...{
|
|
648
615
|
readonly id: string;
|
|
649
616
|
readonly label: readonly [{
|
|
617
|
+
readonly attrs: {
|
|
618
|
+
readonly latex: string;
|
|
619
|
+
};
|
|
620
|
+
readonly type: "mathInline";
|
|
621
|
+
} | {
|
|
650
622
|
readonly marks?: readonly [{
|
|
651
623
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
652
624
|
} | {
|
|
@@ -664,12 +636,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
664
636
|
})[]];
|
|
665
637
|
readonly text: string;
|
|
666
638
|
readonly type: "text";
|
|
667
|
-
}
|
|
639
|
+
}, ...({
|
|
668
640
|
readonly attrs: {
|
|
669
641
|
readonly latex: string;
|
|
670
642
|
};
|
|
671
643
|
readonly type: "mathInline";
|
|
672
|
-
}
|
|
644
|
+
} | {
|
|
673
645
|
readonly marks?: readonly [{
|
|
674
646
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
675
647
|
} | {
|
|
@@ -687,11 +659,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
687
659
|
})[]];
|
|
688
660
|
readonly text: string;
|
|
689
661
|
readonly type: "text";
|
|
690
|
-
} | {
|
|
691
|
-
readonly attrs: {
|
|
692
|
-
readonly latex: string;
|
|
693
|
-
};
|
|
694
|
-
readonly type: "mathInline";
|
|
695
662
|
})[]];
|
|
696
663
|
readonly maxMatches: number;
|
|
697
664
|
}[]];
|
|
@@ -702,6 +669,63 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
702
669
|
}[]];
|
|
703
670
|
readonly kind: "gapMatch";
|
|
704
671
|
readonly shuffle: boolean;
|
|
672
|
+
} | {
|
|
673
|
+
readonly id: string;
|
|
674
|
+
readonly label: string;
|
|
675
|
+
readonly kind: "mathEntry";
|
|
676
|
+
} | {
|
|
677
|
+
readonly id: string;
|
|
678
|
+
readonly label: string;
|
|
679
|
+
readonly areas: readonly ({
|
|
680
|
+
readonly id: string;
|
|
681
|
+
readonly label: string;
|
|
682
|
+
readonly coords: readonly [number, number, number, number];
|
|
683
|
+
readonly shape: "rect";
|
|
684
|
+
} | {
|
|
685
|
+
readonly id: string;
|
|
686
|
+
readonly label: string;
|
|
687
|
+
readonly coords: readonly [number, number, number];
|
|
688
|
+
readonly shape: "circle";
|
|
689
|
+
} | {
|
|
690
|
+
readonly id: string;
|
|
691
|
+
readonly label: string;
|
|
692
|
+
readonly coords: readonly [number, number, number, number];
|
|
693
|
+
readonly shape: "ellipse";
|
|
694
|
+
} | {
|
|
695
|
+
readonly id: string;
|
|
696
|
+
readonly label: string;
|
|
697
|
+
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
698
|
+
readonly shape: "poly";
|
|
699
|
+
} | {
|
|
700
|
+
readonly id: string;
|
|
701
|
+
readonly label: string;
|
|
702
|
+
readonly shape: "default";
|
|
703
|
+
})[];
|
|
704
|
+
readonly image: {
|
|
705
|
+
readonly alt: string;
|
|
706
|
+
readonly asset: string;
|
|
707
|
+
readonly height: number;
|
|
708
|
+
readonly width: number;
|
|
709
|
+
};
|
|
710
|
+
readonly kind: "hotspot";
|
|
711
|
+
readonly maxChoices: number;
|
|
712
|
+
readonly minChoices: number;
|
|
713
|
+
} | {
|
|
714
|
+
readonly id: string;
|
|
715
|
+
readonly label: string;
|
|
716
|
+
readonly expectedLength?: number;
|
|
717
|
+
readonly kind: "textEntry";
|
|
718
|
+
} | {
|
|
719
|
+
readonly id: string;
|
|
720
|
+
readonly label: string;
|
|
721
|
+
readonly acceptsFractions: boolean;
|
|
722
|
+
readonly kind: "numericEntry";
|
|
723
|
+
readonly unit?: string;
|
|
724
|
+
} | {
|
|
725
|
+
readonly id: string;
|
|
726
|
+
readonly label: string;
|
|
727
|
+
readonly expectedLines?: number;
|
|
728
|
+
readonly kind: "extendedText";
|
|
705
729
|
} | {
|
|
706
730
|
readonly id: string;
|
|
707
731
|
readonly label: string;
|
|
@@ -720,11 +744,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
720
744
|
readonly kind: "graphPoint";
|
|
721
745
|
readonly placing: "lines" | "points";
|
|
722
746
|
readonly snap?: number;
|
|
723
|
-
} | {
|
|
724
|
-
readonly id: string;
|
|
725
|
-
readonly label: string;
|
|
726
|
-
readonly expectedLines?: number;
|
|
727
|
-
readonly kind: "extendedText";
|
|
728
747
|
}, ...({
|
|
729
748
|
readonly id: string;
|
|
730
749
|
readonly label: string;
|
|
@@ -820,6 +839,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
820
839
|
readonly options: readonly {
|
|
821
840
|
readonly id: string;
|
|
822
841
|
readonly label: readonly [{
|
|
842
|
+
readonly attrs: {
|
|
843
|
+
readonly latex: string;
|
|
844
|
+
};
|
|
845
|
+
readonly type: "mathInline";
|
|
846
|
+
} | {
|
|
823
847
|
readonly marks?: readonly [{
|
|
824
848
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
825
849
|
} | {
|
|
@@ -837,12 +861,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
837
861
|
})[]];
|
|
838
862
|
readonly text: string;
|
|
839
863
|
readonly type: "text";
|
|
840
|
-
}
|
|
864
|
+
}, ...({
|
|
841
865
|
readonly attrs: {
|
|
842
866
|
readonly latex: string;
|
|
843
867
|
};
|
|
844
868
|
readonly type: "mathInline";
|
|
845
|
-
}
|
|
869
|
+
} | {
|
|
846
870
|
readonly marks?: readonly [{
|
|
847
871
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
848
872
|
} | {
|
|
@@ -860,72 +884,20 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
860
884
|
})[]];
|
|
861
885
|
readonly text: string;
|
|
862
886
|
readonly type: "text";
|
|
863
|
-
} | {
|
|
864
|
-
readonly attrs: {
|
|
865
|
-
readonly latex: string;
|
|
866
|
-
};
|
|
867
|
-
readonly type: "mathInline";
|
|
868
887
|
})[]];
|
|
869
888
|
}[];
|
|
870
889
|
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
890
|
} | {
|
|
924
891
|
readonly id: string;
|
|
925
892
|
readonly label: string;
|
|
926
893
|
readonly choices: readonly [{
|
|
927
894
|
readonly id: string;
|
|
928
895
|
readonly label: readonly [{
|
|
896
|
+
readonly attrs: {
|
|
897
|
+
readonly latex: string;
|
|
898
|
+
};
|
|
899
|
+
readonly type: "mathInline";
|
|
900
|
+
} | {
|
|
929
901
|
readonly marks?: readonly [{
|
|
930
902
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
931
903
|
} | {
|
|
@@ -943,12 +915,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
943
915
|
})[]];
|
|
944
916
|
readonly text: string;
|
|
945
917
|
readonly type: "text";
|
|
946
|
-
}
|
|
918
|
+
}, ...({
|
|
947
919
|
readonly attrs: {
|
|
948
920
|
readonly latex: string;
|
|
949
921
|
};
|
|
950
922
|
readonly type: "mathInline";
|
|
951
|
-
}
|
|
923
|
+
} | {
|
|
952
924
|
readonly marks?: readonly [{
|
|
953
925
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
954
926
|
} | {
|
|
@@ -966,16 +938,16 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
966
938
|
})[]];
|
|
967
939
|
readonly text: string;
|
|
968
940
|
readonly type: "text";
|
|
969
|
-
} | {
|
|
970
|
-
readonly attrs: {
|
|
971
|
-
readonly latex: string;
|
|
972
|
-
};
|
|
973
|
-
readonly type: "mathInline";
|
|
974
941
|
})[]];
|
|
975
942
|
readonly maxMatches: number;
|
|
976
943
|
}, ...{
|
|
977
944
|
readonly id: string;
|
|
978
945
|
readonly label: readonly [{
|
|
946
|
+
readonly attrs: {
|
|
947
|
+
readonly latex: string;
|
|
948
|
+
};
|
|
949
|
+
readonly type: "mathInline";
|
|
950
|
+
} | {
|
|
979
951
|
readonly marks?: readonly [{
|
|
980
952
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
981
953
|
} | {
|
|
@@ -993,12 +965,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
993
965
|
})[]];
|
|
994
966
|
readonly text: string;
|
|
995
967
|
readonly type: "text";
|
|
996
|
-
}
|
|
968
|
+
}, ...({
|
|
997
969
|
readonly attrs: {
|
|
998
970
|
readonly latex: string;
|
|
999
971
|
};
|
|
1000
972
|
readonly type: "mathInline";
|
|
1001
|
-
}
|
|
973
|
+
} | {
|
|
1002
974
|
readonly marks?: readonly [{
|
|
1003
975
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1004
976
|
} | {
|
|
@@ -1016,11 +988,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1016
988
|
})[]];
|
|
1017
989
|
readonly text: string;
|
|
1018
990
|
readonly type: "text";
|
|
1019
|
-
} | {
|
|
1020
|
-
readonly attrs: {
|
|
1021
|
-
readonly latex: string;
|
|
1022
|
-
};
|
|
1023
|
-
readonly type: "mathInline";
|
|
1024
991
|
})[]];
|
|
1025
992
|
readonly maxMatches: number;
|
|
1026
993
|
}[]];
|
|
@@ -1031,6 +998,63 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1031
998
|
}[]];
|
|
1032
999
|
readonly kind: "gapMatch";
|
|
1033
1000
|
readonly shuffle: boolean;
|
|
1001
|
+
} | {
|
|
1002
|
+
readonly id: string;
|
|
1003
|
+
readonly label: string;
|
|
1004
|
+
readonly kind: "mathEntry";
|
|
1005
|
+
} | {
|
|
1006
|
+
readonly id: string;
|
|
1007
|
+
readonly label: string;
|
|
1008
|
+
readonly areas: readonly ({
|
|
1009
|
+
readonly id: string;
|
|
1010
|
+
readonly label: string;
|
|
1011
|
+
readonly coords: readonly [number, number, number, number];
|
|
1012
|
+
readonly shape: "rect";
|
|
1013
|
+
} | {
|
|
1014
|
+
readonly id: string;
|
|
1015
|
+
readonly label: string;
|
|
1016
|
+
readonly coords: readonly [number, number, number];
|
|
1017
|
+
readonly shape: "circle";
|
|
1018
|
+
} | {
|
|
1019
|
+
readonly id: string;
|
|
1020
|
+
readonly label: string;
|
|
1021
|
+
readonly coords: readonly [number, number, number, number];
|
|
1022
|
+
readonly shape: "ellipse";
|
|
1023
|
+
} | {
|
|
1024
|
+
readonly id: string;
|
|
1025
|
+
readonly label: string;
|
|
1026
|
+
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
1027
|
+
readonly shape: "poly";
|
|
1028
|
+
} | {
|
|
1029
|
+
readonly id: string;
|
|
1030
|
+
readonly label: string;
|
|
1031
|
+
readonly shape: "default";
|
|
1032
|
+
})[];
|
|
1033
|
+
readonly image: {
|
|
1034
|
+
readonly alt: string;
|
|
1035
|
+
readonly asset: string;
|
|
1036
|
+
readonly height: number;
|
|
1037
|
+
readonly width: number;
|
|
1038
|
+
};
|
|
1039
|
+
readonly kind: "hotspot";
|
|
1040
|
+
readonly maxChoices: number;
|
|
1041
|
+
readonly minChoices: number;
|
|
1042
|
+
} | {
|
|
1043
|
+
readonly id: string;
|
|
1044
|
+
readonly label: string;
|
|
1045
|
+
readonly expectedLength?: number;
|
|
1046
|
+
readonly kind: "textEntry";
|
|
1047
|
+
} | {
|
|
1048
|
+
readonly id: string;
|
|
1049
|
+
readonly label: string;
|
|
1050
|
+
readonly acceptsFractions: boolean;
|
|
1051
|
+
readonly kind: "numericEntry";
|
|
1052
|
+
readonly unit?: string;
|
|
1053
|
+
} | {
|
|
1054
|
+
readonly id: string;
|
|
1055
|
+
readonly label: string;
|
|
1056
|
+
readonly expectedLines?: number;
|
|
1057
|
+
readonly kind: "extendedText";
|
|
1034
1058
|
} | {
|
|
1035
1059
|
readonly id: string;
|
|
1036
1060
|
readonly label: string;
|
|
@@ -1049,11 +1073,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1049
1073
|
readonly kind: "graphPoint";
|
|
1050
1074
|
readonly placing: "lines" | "points";
|
|
1051
1075
|
readonly snap?: number;
|
|
1052
|
-
} | {
|
|
1053
|
-
readonly id: string;
|
|
1054
|
-
readonly label: string;
|
|
1055
|
-
readonly expectedLines?: number;
|
|
1056
|
-
readonly kind: "extendedText";
|
|
1057
1076
|
})[]];
|
|
1058
1077
|
readonly joint?: {
|
|
1059
1078
|
readonly levels: readonly [{
|
|
@@ -1072,11 +1091,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1072
1091
|
readonly interaction: string;
|
|
1073
1092
|
readonly rule: {
|
|
1074
1093
|
readonly kind: "allOrNothing";
|
|
1075
|
-
} | {
|
|
1076
|
-
readonly floor: number;
|
|
1077
|
-
readonly kind: "perPart";
|
|
1078
|
-
readonly penaltyPerWrongPart?: number;
|
|
1079
|
-
readonly pointsPerPart: number;
|
|
1080
1094
|
} | {
|
|
1081
1095
|
readonly bands: readonly [{
|
|
1082
1096
|
readonly points: number;
|
|
@@ -1105,6 +1119,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1105
1119
|
}[];
|
|
1106
1120
|
}[]];
|
|
1107
1121
|
readonly kind: "rubric";
|
|
1122
|
+
} | {
|
|
1123
|
+
readonly floor: number;
|
|
1124
|
+
readonly kind: "perPart";
|
|
1125
|
+
readonly penaltyPerWrongPart?: number;
|
|
1126
|
+
readonly pointsPerPart: number;
|
|
1108
1127
|
};
|
|
1109
1128
|
}[];
|
|
1110
1129
|
readonly stimulus?: {
|
|
@@ -1167,14 +1186,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1167
1186
|
readonly kind: "text";
|
|
1168
1187
|
};
|
|
1169
1188
|
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
1189
|
} | {
|
|
1179
1190
|
readonly interaction: string;
|
|
1180
1191
|
readonly expression: string;
|
|
@@ -1248,6 +1259,14 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1248
1259
|
}[]];
|
|
1249
1260
|
}[]];
|
|
1250
1261
|
readonly kind: "extendedText";
|
|
1262
|
+
} | {
|
|
1263
|
+
readonly interaction: string;
|
|
1264
|
+
readonly kind: "numericEntry";
|
|
1265
|
+
readonly tolerance?: {
|
|
1266
|
+
readonly kind: "absolute" | "relative";
|
|
1267
|
+
readonly value: string;
|
|
1268
|
+
};
|
|
1269
|
+
readonly value: string;
|
|
1251
1270
|
}, ...({
|
|
1252
1271
|
readonly interaction: string;
|
|
1253
1272
|
readonly correct: readonly [string, ...string[]];
|
|
@@ -1289,14 +1308,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1289
1308
|
readonly kind: "text";
|
|
1290
1309
|
};
|
|
1291
1310
|
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
1311
|
} | {
|
|
1301
1312
|
readonly interaction: string;
|
|
1302
1313
|
readonly expression: string;
|
|
@@ -1370,6 +1381,14 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1370
1381
|
}[]];
|
|
1371
1382
|
}[]];
|
|
1372
1383
|
readonly kind: "extendedText";
|
|
1384
|
+
} | {
|
|
1385
|
+
readonly interaction: string;
|
|
1386
|
+
readonly kind: "numericEntry";
|
|
1387
|
+
readonly tolerance?: {
|
|
1388
|
+
readonly kind: "absolute" | "relative";
|
|
1389
|
+
readonly value: string;
|
|
1390
|
+
};
|
|
1391
|
+
readonly value: string;
|
|
1373
1392
|
})[]];
|
|
1374
1393
|
readonly version: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
1375
1394
|
};
|
|
@@ -1468,6 +1487,23 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1468
1487
|
readonly family: "quran";
|
|
1469
1488
|
readonly record: {
|
|
1470
1489
|
readonly payload: {
|
|
1490
|
+
readonly name: {
|
|
1491
|
+
readonly arabic: string;
|
|
1492
|
+
readonly meaning: {
|
|
1493
|
+
readonly de: string;
|
|
1494
|
+
readonly en: string;
|
|
1495
|
+
readonly id: string;
|
|
1496
|
+
};
|
|
1497
|
+
readonly transliteration: string;
|
|
1498
|
+
};
|
|
1499
|
+
readonly number: number;
|
|
1500
|
+
readonly numberOfVerses: number;
|
|
1501
|
+
readonly revelation: {
|
|
1502
|
+
readonly order: number;
|
|
1503
|
+
readonly place: "Meccan" | "Medinan";
|
|
1504
|
+
};
|
|
1505
|
+
readonly kind: "quran-surah";
|
|
1506
|
+
} | {
|
|
1471
1507
|
readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
|
|
1472
1508
|
readonly kind: "quran-attribution";
|
|
1473
1509
|
readonly sources: readonly [{
|
|
@@ -1574,30 +1610,30 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1574
1610
|
};
|
|
1575
1611
|
})[]];
|
|
1576
1612
|
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
1613
|
readonly appLocale: "id" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1583
1614
|
readonly kind: "embedded";
|
|
1584
1615
|
readonly notice: string;
|
|
1585
1616
|
readonly sourceId: "quranenc-tafsir";
|
|
1586
1617
|
} | {
|
|
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
1618
|
readonly appLocale: "en" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1593
1619
|
readonly kind: "external";
|
|
1594
1620
|
readonly notice: string;
|
|
1595
1621
|
readonly sourceId: "mokhtasar-english";
|
|
1596
1622
|
} | {
|
|
1623
|
+
readonly appLocale: "de" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1624
|
+
readonly kind: "external";
|
|
1625
|
+
readonly notice: string;
|
|
1626
|
+
readonly sourceId: "mokhtasar-german";
|
|
1627
|
+
}, ...({
|
|
1597
1628
|
readonly appLocale: "id" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1598
1629
|
readonly kind: "embedded";
|
|
1599
1630
|
readonly notice: string;
|
|
1600
1631
|
readonly sourceId: "quranenc-tafsir";
|
|
1632
|
+
} | {
|
|
1633
|
+
readonly appLocale: "en" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1634
|
+
readonly kind: "external";
|
|
1635
|
+
readonly notice: string;
|
|
1636
|
+
readonly sourceId: "mokhtasar-english";
|
|
1601
1637
|
} | {
|
|
1602
1638
|
readonly appLocale: "de" & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1603
1639
|
readonly kind: "external";
|
|
@@ -1679,23 +1715,6 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1679
1715
|
};
|
|
1680
1716
|
}[]];
|
|
1681
1717
|
}[]];
|
|
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
1718
|
} | {
|
|
1700
1719
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1701
1720
|
readonly graph: {
|