@nakafa/aksara-contracts 0.42.0 → 0.44.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/README.md +20 -1
- package/dist/math/resolution.js +1 -1
- package/dist/math/scene.js +1 -1
- package/dist/preview/artifact.d.ts +44 -0
- package/dist/preview/document.d.ts +36 -12
- package/dist/preview/spec.d.ts +196 -36
- package/dist/preview/target.d.ts +10 -3
- package/dist/program/snapshot/digest.d.ts +1 -1
- package/dist/program/snapshot/digest.js +1 -1
- package/dist/program/snapshot/hash.d.ts +153 -0
- package/dist/program/snapshot/hash.js +31 -0
- package/dist/projection/digest.d.ts +74 -22
- package/dist/projection/material.d.ts +10 -0
- package/dist/projection/material.js +15 -0
- package/dist/projection/question.d.ts +188 -0
- package/dist/projection/spec.d.ts +45 -0
- package/dist/projection/verify.d.ts +127 -75
- package/dist/question/answer.d.ts +141 -0
- package/dist/question/answer.js +238 -0
- package/dist/question/item.d.ts +276 -1
- package/dist/question/item.js +63 -38
- package/dist/question/label.d.ts +3 -0
- package/dist/question/label.js +3 -0
- package/dist/question/points.d.ts +18 -0
- package/dist/question/points.js +22 -0
- package/dist/question/response.d.ts +187 -5
- package/dist/question/response.js +41 -4
- package/dist/question/rubric.d.ts +234 -0
- package/dist/question/rubric.js +182 -0
- package/dist/release/rollback/spec.d.ts +264 -0
- package/dist/release/snapshot/data.d.ts +52 -3
- package/dist/release/snapshot/{program-evidence.d.ts → evidence/program.d.ts} +2 -2
- package/dist/release/snapshot/{program-evidence.js → evidence/program.js} +1 -1
- package/dist/release/snapshot/{quran-evidence.d.ts → evidence/quran.d.ts} +2 -2
- package/dist/release/snapshot/{quran-evidence.js → evidence/quran.js} +1 -1
- package/dist/release/snapshot/{tryout-evidence.d.ts → evidence/tryout.d.ts} +2 -2
- package/dist/release/snapshot/{tryout-evidence.js → evidence/tryout.js} +4 -4
- package/dist/release/snapshot/evidence.d.ts +2 -2
- package/dist/release/snapshot/evidence.js +3 -3
- package/dist/release/snapshot/verify.d.ts +88 -31
- package/dist/runtime/spec.d.ts +25 -22
- package/dist/runtime/verify.d.ts +46 -44
- package/dist/transport/batch.d.ts +88 -0
- package/dist/transport/group.d.ts +288 -9
- package/dist/transport/request.d.ts +1858 -1018
- package/dist/transport/response.d.ts +499 -131
- package/dist/transport/snapshot.d.ts +104 -6
- package/dist/tryout/catalog.d.ts +28 -10
- package/dist/tryout/catalog.js +6 -2
- package/dist/tryout/closure/accounting.d.ts +16 -0
- package/dist/tryout/closure/accounting.js +68 -0
- package/dist/tryout/closure/locale.d.ts +14 -0
- package/dist/tryout/{locale-closure.js → closure/locale.js} +13 -72
- package/dist/tryout/{placement-closure.js → closure/placement.js} +1 -0
- package/dist/tryout/{catalog-hash.d.ts → hash/catalog.d.ts} +25 -20
- package/dist/tryout/{catalog-hash.js → hash/catalog.js} +8 -1
- package/dist/tryout/{content-hash.d.ts → hash/content.d.ts} +43 -0
- package/dist/tryout/{placement-hash.d.ts → hash/placement.d.ts} +1 -1
- package/dist/tryout/{placement-hash.js → hash/placement.js} +2 -1
- package/dist/tryout/placement.d.ts +136 -1
- package/dist/tryout/placement.js +16 -2
- package/dist/tryout/scoring.d.ts +37 -0
- package/dist/tryout/scoring.js +89 -0
- package/dist/tryout/spec.d.ts +32 -4
- package/dist/tryout/spec.js +35 -4
- package/package.json +29 -21
- package/dist/program/snapshot/row-hash.d.ts +0 -155
- package/dist/program/snapshot/row-hash.js +0 -34
- package/dist/tryout/locale-closure.d.ts +0 -20
- /package/dist/math/{arc-precision.d.ts → arc.d.ts} +0 -0
- /package/dist/math/{arc-precision.js → arc.js} +0 -0
- /package/dist/release/snapshot/{evidence-requirement.d.ts → evidence/requirement.d.ts} +0 -0
- /package/dist/release/snapshot/{evidence-requirement.js → evidence/requirement.js} +0 -0
- /package/dist/tryout/{placement-closure.d.ts → closure/placement.d.ts} +0 -0
- /package/dist/tryout/{row-hash.d.ts → digest.d.ts} +0 -0
- /package/dist/tryout/{row-hash.js → digest.js} +0 -0
- /package/dist/tryout/{content-hash.js → hash/content.js} +0 -0
|
@@ -111,6 +111,7 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
|
|
|
111
111
|
readonly name: Schema.String;
|
|
112
112
|
}>>;
|
|
113
113
|
readonly description: Schema.optional<Schema.String>;
|
|
114
|
+
readonly searchTitle: Schema.optionalKey<Schema.Trimmed>;
|
|
114
115
|
readonly subject: Schema.optional<Schema.String>;
|
|
115
116
|
readonly title: Schema.String;
|
|
116
117
|
}>;
|
|
@@ -176,6 +177,49 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
|
|
|
176
177
|
readonly optionKey: Schema.String;
|
|
177
178
|
readonly order: Schema.Int;
|
|
178
179
|
}>>;
|
|
180
|
+
}>, Schema.Struct<{
|
|
181
|
+
readonly criteria: Schema.$Array<Schema.Struct<{
|
|
182
|
+
readonly criterionKey: Schema.String;
|
|
183
|
+
readonly finalAnswer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
184
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
185
|
+
readonly kind: Schema.Literal<"number">;
|
|
186
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
187
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
188
|
+
readonly value: Schema.String;
|
|
189
|
+
}>>;
|
|
190
|
+
readonly value: Schema.String;
|
|
191
|
+
}>, Schema.Struct<{
|
|
192
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
193
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
194
|
+
readonly ignoreCase: Schema.Boolean;
|
|
195
|
+
readonly kind: Schema.Literal<"text">;
|
|
196
|
+
}>]>>;
|
|
197
|
+
readonly order: Schema.Int;
|
|
198
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
199
|
+
readonly levels: Schema.$Array<Schema.Struct<{
|
|
200
|
+
readonly levelKey: Schema.String;
|
|
201
|
+
readonly order: Schema.Int;
|
|
202
|
+
readonly points: Schema.Int;
|
|
203
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
204
|
+
}>>;
|
|
205
|
+
}>>;
|
|
206
|
+
readonly kind: Schema.Literal<"rubric">;
|
|
207
|
+
}>, Schema.Struct<{
|
|
208
|
+
readonly key: Schema.Union<readonly [Schema.Struct<{
|
|
209
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
210
|
+
readonly kind: Schema.Literal<"number">;
|
|
211
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
212
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
213
|
+
readonly value: Schema.String;
|
|
214
|
+
}>>;
|
|
215
|
+
readonly value: Schema.String;
|
|
216
|
+
}>, Schema.Struct<{
|
|
217
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
218
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
219
|
+
readonly ignoreCase: Schema.Boolean;
|
|
220
|
+
readonly kind: Schema.Literal<"text">;
|
|
221
|
+
}>]>;
|
|
222
|
+
readonly kind: Schema.Literal<"short-answer">;
|
|
179
223
|
}>, Schema.Struct<{
|
|
180
224
|
readonly kind: Schema.Literal<"single-choice">;
|
|
181
225
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
@@ -527,7 +571,7 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
|
|
|
527
571
|
readonly kind: Schema.Literal<"exam">;
|
|
528
572
|
readonly order: Schema.Finite;
|
|
529
573
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
530
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
574
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
531
575
|
}>, Schema.Struct<{
|
|
532
576
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
533
577
|
readonly description: Schema.optional<Schema.String>;
|
|
@@ -549,7 +593,7 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
|
|
|
549
593
|
readonly sectionCount: Schema.Finite;
|
|
550
594
|
readonly setCount: Schema.Finite;
|
|
551
595
|
readonly trackKey: Schema.String;
|
|
552
|
-
readonly trackKind: Schema.Literals<readonly ["subject", "year"]>;
|
|
596
|
+
readonly trackKind: Schema.Literals<readonly ["institution", "subject", "year"]>;
|
|
553
597
|
readonly visibleSectionCount: Schema.Finite;
|
|
554
598
|
}>, Schema.Struct<{
|
|
555
599
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
@@ -570,7 +614,7 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
|
|
|
570
614
|
readonly order: Schema.Finite;
|
|
571
615
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
572
616
|
readonly questionCount: Schema.Finite;
|
|
573
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
617
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
574
618
|
readonly sectionCount: Schema.Finite;
|
|
575
619
|
readonly setKey: Schema.String;
|
|
576
620
|
readonly trackKey: Schema.String;
|
|
@@ -590,6 +634,11 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
|
|
|
590
634
|
readonly countryKey: Schema.String;
|
|
591
635
|
readonly examKey: Schema.String;
|
|
592
636
|
readonly kind: Schema.Literal<"section">;
|
|
637
|
+
readonly marks: Schema.optionalKey<Schema.Struct<{
|
|
638
|
+
readonly blank: Schema.Int;
|
|
639
|
+
readonly correct: Schema.Int;
|
|
640
|
+
readonly wrong: Schema.Int;
|
|
641
|
+
}>>;
|
|
593
642
|
readonly order: Schema.Finite;
|
|
594
643
|
readonly publicPath: Schema.optional<Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">>;
|
|
595
644
|
readonly questionCount: Schema.Finite;
|
|
@@ -624,6 +673,7 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
|
|
|
624
673
|
readonly kind: Schema.Literal<"fixed">;
|
|
625
674
|
readonly language: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraDeliveryLanguage">;
|
|
626
675
|
}>]>;
|
|
676
|
+
readonly points: Schema.optionalKey<Schema.Int>;
|
|
627
677
|
readonly questionArtifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
628
678
|
readonly questionContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
629
679
|
readonly questionOrder: Schema.Finite;
|
|
@@ -650,6 +700,49 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
|
|
|
650
700
|
readonly optionKey: Schema.String;
|
|
651
701
|
readonly order: Schema.Int;
|
|
652
702
|
}>>;
|
|
703
|
+
}>, Schema.Struct<{
|
|
704
|
+
readonly criteria: Schema.$Array<Schema.Struct<{
|
|
705
|
+
readonly criterionKey: Schema.String;
|
|
706
|
+
readonly finalAnswer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
707
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
708
|
+
readonly kind: Schema.Literal<"number">;
|
|
709
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
710
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
711
|
+
readonly value: Schema.String;
|
|
712
|
+
}>>;
|
|
713
|
+
readonly value: Schema.String;
|
|
714
|
+
}>, Schema.Struct<{
|
|
715
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
716
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
717
|
+
readonly ignoreCase: Schema.Boolean;
|
|
718
|
+
readonly kind: Schema.Literal<"text">;
|
|
719
|
+
}>]>>;
|
|
720
|
+
readonly order: Schema.Int;
|
|
721
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
722
|
+
readonly levels: Schema.$Array<Schema.Struct<{
|
|
723
|
+
readonly levelKey: Schema.String;
|
|
724
|
+
readonly order: Schema.Int;
|
|
725
|
+
readonly points: Schema.Int;
|
|
726
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
727
|
+
}>>;
|
|
728
|
+
}>>;
|
|
729
|
+
readonly kind: Schema.Literal<"rubric">;
|
|
730
|
+
}>, Schema.Struct<{
|
|
731
|
+
readonly key: Schema.Union<readonly [Schema.Struct<{
|
|
732
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
733
|
+
readonly kind: Schema.Literal<"number">;
|
|
734
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
735
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
736
|
+
readonly value: Schema.String;
|
|
737
|
+
}>>;
|
|
738
|
+
readonly value: Schema.String;
|
|
739
|
+
}>, Schema.Struct<{
|
|
740
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
741
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
742
|
+
readonly ignoreCase: Schema.Boolean;
|
|
743
|
+
readonly kind: Schema.Literal<"text">;
|
|
744
|
+
}>]>;
|
|
745
|
+
readonly kind: Schema.Literal<"short-answer">;
|
|
653
746
|
}>, Schema.Struct<{
|
|
654
747
|
readonly kind: Schema.Literal<"single-choice">;
|
|
655
748
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
@@ -822,6 +915,7 @@ export declare const StageGroupInputSchema: Schema.Struct<{
|
|
|
822
915
|
readonly name: Schema.String;
|
|
823
916
|
}>>;
|
|
824
917
|
readonly description: Schema.optional<Schema.String>;
|
|
918
|
+
readonly searchTitle: Schema.optionalKey<Schema.Trimmed>;
|
|
825
919
|
readonly subject: Schema.optional<Schema.String>;
|
|
826
920
|
readonly title: Schema.String;
|
|
827
921
|
}>;
|
|
@@ -887,6 +981,49 @@ export declare const StageGroupInputSchema: Schema.Struct<{
|
|
|
887
981
|
readonly optionKey: Schema.String;
|
|
888
982
|
readonly order: Schema.Int;
|
|
889
983
|
}>>;
|
|
984
|
+
}>, Schema.Struct<{
|
|
985
|
+
readonly criteria: Schema.$Array<Schema.Struct<{
|
|
986
|
+
readonly criterionKey: Schema.String;
|
|
987
|
+
readonly finalAnswer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
988
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
989
|
+
readonly kind: Schema.Literal<"number">;
|
|
990
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
991
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
992
|
+
readonly value: Schema.String;
|
|
993
|
+
}>>;
|
|
994
|
+
readonly value: Schema.String;
|
|
995
|
+
}>, Schema.Struct<{
|
|
996
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
997
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
998
|
+
readonly ignoreCase: Schema.Boolean;
|
|
999
|
+
readonly kind: Schema.Literal<"text">;
|
|
1000
|
+
}>]>>;
|
|
1001
|
+
readonly order: Schema.Int;
|
|
1002
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
1003
|
+
readonly levels: Schema.$Array<Schema.Struct<{
|
|
1004
|
+
readonly levelKey: Schema.String;
|
|
1005
|
+
readonly order: Schema.Int;
|
|
1006
|
+
readonly points: Schema.Int;
|
|
1007
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
1008
|
+
}>>;
|
|
1009
|
+
}>>;
|
|
1010
|
+
readonly kind: Schema.Literal<"rubric">;
|
|
1011
|
+
}>, Schema.Struct<{
|
|
1012
|
+
readonly key: Schema.Union<readonly [Schema.Struct<{
|
|
1013
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
1014
|
+
readonly kind: Schema.Literal<"number">;
|
|
1015
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
1016
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
1017
|
+
readonly value: Schema.String;
|
|
1018
|
+
}>>;
|
|
1019
|
+
readonly value: Schema.String;
|
|
1020
|
+
}>, Schema.Struct<{
|
|
1021
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
1022
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
1023
|
+
readonly ignoreCase: Schema.Boolean;
|
|
1024
|
+
readonly kind: Schema.Literal<"text">;
|
|
1025
|
+
}>]>;
|
|
1026
|
+
readonly kind: Schema.Literal<"short-answer">;
|
|
890
1027
|
}>, Schema.Struct<{
|
|
891
1028
|
readonly kind: Schema.Literal<"single-choice">;
|
|
892
1029
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
@@ -1238,7 +1375,7 @@ export declare const StageGroupInputSchema: Schema.Struct<{
|
|
|
1238
1375
|
readonly kind: Schema.Literal<"exam">;
|
|
1239
1376
|
readonly order: Schema.Finite;
|
|
1240
1377
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
1241
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
1378
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
1242
1379
|
}>, Schema.Struct<{
|
|
1243
1380
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
1244
1381
|
readonly description: Schema.optional<Schema.String>;
|
|
@@ -1260,7 +1397,7 @@ export declare const StageGroupInputSchema: Schema.Struct<{
|
|
|
1260
1397
|
readonly sectionCount: Schema.Finite;
|
|
1261
1398
|
readonly setCount: Schema.Finite;
|
|
1262
1399
|
readonly trackKey: Schema.String;
|
|
1263
|
-
readonly trackKind: Schema.Literals<readonly ["subject", "year"]>;
|
|
1400
|
+
readonly trackKind: Schema.Literals<readonly ["institution", "subject", "year"]>;
|
|
1264
1401
|
readonly visibleSectionCount: Schema.Finite;
|
|
1265
1402
|
}>, Schema.Struct<{
|
|
1266
1403
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
@@ -1281,7 +1418,7 @@ export declare const StageGroupInputSchema: Schema.Struct<{
|
|
|
1281
1418
|
readonly order: Schema.Finite;
|
|
1282
1419
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
1283
1420
|
readonly questionCount: Schema.Finite;
|
|
1284
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
1421
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
1285
1422
|
readonly sectionCount: Schema.Finite;
|
|
1286
1423
|
readonly setKey: Schema.String;
|
|
1287
1424
|
readonly trackKey: Schema.String;
|
|
@@ -1301,6 +1438,11 @@ export declare const StageGroupInputSchema: Schema.Struct<{
|
|
|
1301
1438
|
readonly countryKey: Schema.String;
|
|
1302
1439
|
readonly examKey: Schema.String;
|
|
1303
1440
|
readonly kind: Schema.Literal<"section">;
|
|
1441
|
+
readonly marks: Schema.optionalKey<Schema.Struct<{
|
|
1442
|
+
readonly blank: Schema.Int;
|
|
1443
|
+
readonly correct: Schema.Int;
|
|
1444
|
+
readonly wrong: Schema.Int;
|
|
1445
|
+
}>>;
|
|
1304
1446
|
readonly order: Schema.Finite;
|
|
1305
1447
|
readonly publicPath: Schema.optional<Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">>;
|
|
1306
1448
|
readonly questionCount: Schema.Finite;
|
|
@@ -1335,6 +1477,7 @@ export declare const StageGroupInputSchema: Schema.Struct<{
|
|
|
1335
1477
|
readonly kind: Schema.Literal<"fixed">;
|
|
1336
1478
|
readonly language: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraDeliveryLanguage">;
|
|
1337
1479
|
}>]>;
|
|
1480
|
+
readonly points: Schema.optionalKey<Schema.Int>;
|
|
1338
1481
|
readonly questionArtifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1339
1482
|
readonly questionContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1340
1483
|
readonly questionOrder: Schema.Finite;
|
|
@@ -1361,6 +1504,49 @@ export declare const StageGroupInputSchema: Schema.Struct<{
|
|
|
1361
1504
|
readonly optionKey: Schema.String;
|
|
1362
1505
|
readonly order: Schema.Int;
|
|
1363
1506
|
}>>;
|
|
1507
|
+
}>, Schema.Struct<{
|
|
1508
|
+
readonly criteria: Schema.$Array<Schema.Struct<{
|
|
1509
|
+
readonly criterionKey: Schema.String;
|
|
1510
|
+
readonly finalAnswer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1511
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
1512
|
+
readonly kind: Schema.Literal<"number">;
|
|
1513
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
1514
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
1515
|
+
readonly value: Schema.String;
|
|
1516
|
+
}>>;
|
|
1517
|
+
readonly value: Schema.String;
|
|
1518
|
+
}>, Schema.Struct<{
|
|
1519
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
1520
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
1521
|
+
readonly ignoreCase: Schema.Boolean;
|
|
1522
|
+
readonly kind: Schema.Literal<"text">;
|
|
1523
|
+
}>]>>;
|
|
1524
|
+
readonly order: Schema.Int;
|
|
1525
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
1526
|
+
readonly levels: Schema.$Array<Schema.Struct<{
|
|
1527
|
+
readonly levelKey: Schema.String;
|
|
1528
|
+
readonly order: Schema.Int;
|
|
1529
|
+
readonly points: Schema.Int;
|
|
1530
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
1531
|
+
}>>;
|
|
1532
|
+
}>>;
|
|
1533
|
+
readonly kind: Schema.Literal<"rubric">;
|
|
1534
|
+
}>, Schema.Struct<{
|
|
1535
|
+
readonly key: Schema.Union<readonly [Schema.Struct<{
|
|
1536
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
1537
|
+
readonly kind: Schema.Literal<"number">;
|
|
1538
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
1539
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
1540
|
+
readonly value: Schema.String;
|
|
1541
|
+
}>>;
|
|
1542
|
+
readonly value: Schema.String;
|
|
1543
|
+
}>, Schema.Struct<{
|
|
1544
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
1545
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
1546
|
+
readonly ignoreCase: Schema.Boolean;
|
|
1547
|
+
readonly kind: Schema.Literal<"text">;
|
|
1548
|
+
}>]>;
|
|
1549
|
+
readonly kind: Schema.Literal<"short-answer">;
|
|
1364
1550
|
}>, Schema.Struct<{
|
|
1365
1551
|
readonly kind: Schema.Literal<"single-choice">;
|
|
1366
1552
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
@@ -1534,6 +1720,7 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
|
|
|
1534
1720
|
readonly name: Schema.String;
|
|
1535
1721
|
}>>;
|
|
1536
1722
|
readonly description: Schema.optional<Schema.String>;
|
|
1723
|
+
readonly searchTitle: Schema.optionalKey<Schema.Trimmed>;
|
|
1537
1724
|
readonly subject: Schema.optional<Schema.String>;
|
|
1538
1725
|
readonly title: Schema.String;
|
|
1539
1726
|
}>;
|
|
@@ -1599,6 +1786,49 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
|
|
|
1599
1786
|
readonly optionKey: Schema.String;
|
|
1600
1787
|
readonly order: Schema.Int;
|
|
1601
1788
|
}>>;
|
|
1789
|
+
}>, Schema.Struct<{
|
|
1790
|
+
readonly criteria: Schema.$Array<Schema.Struct<{
|
|
1791
|
+
readonly criterionKey: Schema.String;
|
|
1792
|
+
readonly finalAnswer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1793
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
1794
|
+
readonly kind: Schema.Literal<"number">;
|
|
1795
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
1796
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
1797
|
+
readonly value: Schema.String;
|
|
1798
|
+
}>>;
|
|
1799
|
+
readonly value: Schema.String;
|
|
1800
|
+
}>, Schema.Struct<{
|
|
1801
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
1802
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
1803
|
+
readonly ignoreCase: Schema.Boolean;
|
|
1804
|
+
readonly kind: Schema.Literal<"text">;
|
|
1805
|
+
}>]>>;
|
|
1806
|
+
readonly order: Schema.Int;
|
|
1807
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
1808
|
+
readonly levels: Schema.$Array<Schema.Struct<{
|
|
1809
|
+
readonly levelKey: Schema.String;
|
|
1810
|
+
readonly order: Schema.Int;
|
|
1811
|
+
readonly points: Schema.Int;
|
|
1812
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
1813
|
+
}>>;
|
|
1814
|
+
}>>;
|
|
1815
|
+
readonly kind: Schema.Literal<"rubric">;
|
|
1816
|
+
}>, Schema.Struct<{
|
|
1817
|
+
readonly key: Schema.Union<readonly [Schema.Struct<{
|
|
1818
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
1819
|
+
readonly kind: Schema.Literal<"number">;
|
|
1820
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
1821
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
1822
|
+
readonly value: Schema.String;
|
|
1823
|
+
}>>;
|
|
1824
|
+
readonly value: Schema.String;
|
|
1825
|
+
}>, Schema.Struct<{
|
|
1826
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
1827
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
1828
|
+
readonly ignoreCase: Schema.Boolean;
|
|
1829
|
+
readonly kind: Schema.Literal<"text">;
|
|
1830
|
+
}>]>;
|
|
1831
|
+
readonly kind: Schema.Literal<"short-answer">;
|
|
1602
1832
|
}>, Schema.Struct<{
|
|
1603
1833
|
readonly kind: Schema.Literal<"single-choice">;
|
|
1604
1834
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
@@ -1950,7 +2180,7 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
|
|
|
1950
2180
|
readonly kind: Schema.Literal<"exam">;
|
|
1951
2181
|
readonly order: Schema.Finite;
|
|
1952
2182
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
1953
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
2183
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
1954
2184
|
}>, Schema.Struct<{
|
|
1955
2185
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
1956
2186
|
readonly description: Schema.optional<Schema.String>;
|
|
@@ -1972,7 +2202,7 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
|
|
|
1972
2202
|
readonly sectionCount: Schema.Finite;
|
|
1973
2203
|
readonly setCount: Schema.Finite;
|
|
1974
2204
|
readonly trackKey: Schema.String;
|
|
1975
|
-
readonly trackKind: Schema.Literals<readonly ["subject", "year"]>;
|
|
2205
|
+
readonly trackKind: Schema.Literals<readonly ["institution", "subject", "year"]>;
|
|
1976
2206
|
readonly visibleSectionCount: Schema.Finite;
|
|
1977
2207
|
}>, Schema.Struct<{
|
|
1978
2208
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
@@ -1993,7 +2223,7 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
|
|
|
1993
2223
|
readonly order: Schema.Finite;
|
|
1994
2224
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
1995
2225
|
readonly questionCount: Schema.Finite;
|
|
1996
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
2226
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
1997
2227
|
readonly sectionCount: Schema.Finite;
|
|
1998
2228
|
readonly setKey: Schema.String;
|
|
1999
2229
|
readonly trackKey: Schema.String;
|
|
@@ -2013,6 +2243,11 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
|
|
|
2013
2243
|
readonly countryKey: Schema.String;
|
|
2014
2244
|
readonly examKey: Schema.String;
|
|
2015
2245
|
readonly kind: Schema.Literal<"section">;
|
|
2246
|
+
readonly marks: Schema.optionalKey<Schema.Struct<{
|
|
2247
|
+
readonly blank: Schema.Int;
|
|
2248
|
+
readonly correct: Schema.Int;
|
|
2249
|
+
readonly wrong: Schema.Int;
|
|
2250
|
+
}>>;
|
|
2016
2251
|
readonly order: Schema.Finite;
|
|
2017
2252
|
readonly publicPath: Schema.optional<Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">>;
|
|
2018
2253
|
readonly questionCount: Schema.Finite;
|
|
@@ -2047,6 +2282,7 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
|
|
|
2047
2282
|
readonly kind: Schema.Literal<"fixed">;
|
|
2048
2283
|
readonly language: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraDeliveryLanguage">;
|
|
2049
2284
|
}>]>;
|
|
2285
|
+
readonly points: Schema.optionalKey<Schema.Int>;
|
|
2050
2286
|
readonly questionArtifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
2051
2287
|
readonly questionContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
2052
2288
|
readonly questionOrder: Schema.Finite;
|
|
@@ -2073,6 +2309,49 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
|
|
|
2073
2309
|
readonly optionKey: Schema.String;
|
|
2074
2310
|
readonly order: Schema.Int;
|
|
2075
2311
|
}>>;
|
|
2312
|
+
}>, Schema.Struct<{
|
|
2313
|
+
readonly criteria: Schema.$Array<Schema.Struct<{
|
|
2314
|
+
readonly criterionKey: Schema.String;
|
|
2315
|
+
readonly finalAnswer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2316
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
2317
|
+
readonly kind: Schema.Literal<"number">;
|
|
2318
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
2319
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
2320
|
+
readonly value: Schema.String;
|
|
2321
|
+
}>>;
|
|
2322
|
+
readonly value: Schema.String;
|
|
2323
|
+
}>, Schema.Struct<{
|
|
2324
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
2325
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
2326
|
+
readonly ignoreCase: Schema.Boolean;
|
|
2327
|
+
readonly kind: Schema.Literal<"text">;
|
|
2328
|
+
}>]>>;
|
|
2329
|
+
readonly order: Schema.Int;
|
|
2330
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
2331
|
+
readonly levels: Schema.$Array<Schema.Struct<{
|
|
2332
|
+
readonly levelKey: Schema.String;
|
|
2333
|
+
readonly order: Schema.Int;
|
|
2334
|
+
readonly points: Schema.Int;
|
|
2335
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
2336
|
+
}>>;
|
|
2337
|
+
}>>;
|
|
2338
|
+
readonly kind: Schema.Literal<"rubric">;
|
|
2339
|
+
}>, Schema.Struct<{
|
|
2340
|
+
readonly key: Schema.Union<readonly [Schema.Struct<{
|
|
2341
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
2342
|
+
readonly kind: Schema.Literal<"number">;
|
|
2343
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
2344
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
2345
|
+
readonly value: Schema.String;
|
|
2346
|
+
}>>;
|
|
2347
|
+
readonly value: Schema.String;
|
|
2348
|
+
}>, Schema.Struct<{
|
|
2349
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
2350
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
2351
|
+
readonly ignoreCase: Schema.Boolean;
|
|
2352
|
+
readonly kind: Schema.Literal<"text">;
|
|
2353
|
+
}>]>;
|
|
2354
|
+
readonly kind: Schema.Literal<"short-answer">;
|
|
2076
2355
|
}>, Schema.Struct<{
|
|
2077
2356
|
readonly kind: Schema.Literal<"single-choice">;
|
|
2078
2357
|
readonly options: Schema.$Array<Schema.Struct<{
|