@nakafa/aksara-contracts 0.31.0 → 0.33.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/math/bounds.d.ts +7 -0
- package/dist/math/bounds.js +120 -0
- package/dist/math/extent.d.ts +21 -0
- package/dist/math/extent.js +134 -0
- package/dist/math/intersection.d.ts +14 -0
- package/dist/math/intersection.js +37 -0
- package/dist/math/plane.d.ts +31 -68
- package/dist/math/plane.js +19 -15
- package/dist/math/rational.d.ts +18 -0
- package/dist/math/rational.js +33 -0
- package/dist/math/space.d.ts +3 -84
- package/dist/math/space.js +5 -15
- package/dist/math/visual.d.ts +152 -338
- package/dist/preview/artifact.js +2 -2
- package/dist/projection/digest.d.ts +36 -0
- package/dist/projection/question.d.ts +159 -1
- package/dist/projection/question.js +75 -17
- package/dist/projection/spec.d.ts +199 -1
- package/dist/projection/spec.js +8 -1
- package/dist/projection/verify.d.ts +36 -0
- package/dist/release/rollback/spec.d.ts +228 -12
- package/dist/transport/batch.d.ts +405 -0
- package/dist/transport/batch.js +14 -2
- package/dist/transport/group.d.ts +632 -32
- package/dist/transport/group.js +2 -1
- package/dist/transport/request.d.ts +1122 -132
- package/dist/transport/response.d.ts +300 -12
- package/package.json +1 -1
|
@@ -343,7 +343,7 @@ export declare const RollbackUpsertStateSchema: Schema.Struct<{
|
|
|
343
343
|
}>;
|
|
344
344
|
readonly sitemap: Schema.Literal<true>;
|
|
345
345
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
346
|
-
}>, Schema.Union<readonly [Schema.Struct<{
|
|
346
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
347
347
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
348
348
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
349
349
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -419,7 +419,43 @@ export declare const RollbackUpsertStateSchema: Schema.Struct<{
|
|
|
419
419
|
readonly title: Schema.String;
|
|
420
420
|
}>;
|
|
421
421
|
readonly stimulusKey: Schema.optionalKey<Schema.String>;
|
|
422
|
-
}>]
|
|
422
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
423
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
424
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
425
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
426
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
427
|
+
readonly questionNumber: Schema.Finite;
|
|
428
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
429
|
+
readonly bodyKind: Schema.Literal<"question">;
|
|
430
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
431
|
+
readonly metadata: Schema.Struct<{
|
|
432
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
433
|
+
readonly name: Schema.String;
|
|
434
|
+
}>>;
|
|
435
|
+
readonly date: Schema.String;
|
|
436
|
+
readonly title: Schema.String;
|
|
437
|
+
}>;
|
|
438
|
+
readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
439
|
+
readonly label: Schema.mutableKey<Schema.String>;
|
|
440
|
+
readonly value: Schema.mutableKey<Schema.Boolean>;
|
|
441
|
+
}>>>;
|
|
442
|
+
}>, Schema.Struct<{
|
|
443
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
444
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
445
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
446
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
447
|
+
readonly questionNumber: Schema.Finite;
|
|
448
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
449
|
+
readonly bodyKind: Schema.Literal<"answer">;
|
|
450
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
451
|
+
readonly metadata: Schema.Struct<{
|
|
452
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
453
|
+
readonly name: Schema.String;
|
|
454
|
+
}>>;
|
|
455
|
+
readonly date: Schema.String;
|
|
456
|
+
readonly title: Schema.String;
|
|
457
|
+
}>;
|
|
458
|
+
}>]>]>]>;
|
|
423
459
|
}>;
|
|
424
460
|
export type RollbackUpsertState = typeof RollbackUpsertStateSchema.Type;
|
|
425
461
|
/** Body-free state proving that one locale-specific head is absent. */
|
|
@@ -550,7 +586,7 @@ export declare const RollbackStateSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
550
586
|
}>;
|
|
551
587
|
readonly sitemap: Schema.Literal<true>;
|
|
552
588
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
553
|
-
}>, Schema.Union<readonly [Schema.Struct<{
|
|
589
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
554
590
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
555
591
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
556
592
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -626,7 +662,43 @@ export declare const RollbackStateSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
626
662
|
readonly title: Schema.String;
|
|
627
663
|
}>;
|
|
628
664
|
readonly stimulusKey: Schema.optionalKey<Schema.String>;
|
|
629
|
-
}>]
|
|
665
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
666
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
667
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
668
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
669
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
670
|
+
readonly questionNumber: Schema.Finite;
|
|
671
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
672
|
+
readonly bodyKind: Schema.Literal<"question">;
|
|
673
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
674
|
+
readonly metadata: Schema.Struct<{
|
|
675
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
676
|
+
readonly name: Schema.String;
|
|
677
|
+
}>>;
|
|
678
|
+
readonly date: Schema.String;
|
|
679
|
+
readonly title: Schema.String;
|
|
680
|
+
}>;
|
|
681
|
+
readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
682
|
+
readonly label: Schema.mutableKey<Schema.String>;
|
|
683
|
+
readonly value: Schema.mutableKey<Schema.Boolean>;
|
|
684
|
+
}>>>;
|
|
685
|
+
}>, Schema.Struct<{
|
|
686
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
687
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
688
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
689
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
690
|
+
readonly questionNumber: Schema.Finite;
|
|
691
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
692
|
+
readonly bodyKind: Schema.Literal<"answer">;
|
|
693
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
694
|
+
readonly metadata: Schema.Struct<{
|
|
695
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
696
|
+
readonly name: Schema.String;
|
|
697
|
+
}>>;
|
|
698
|
+
readonly date: Schema.String;
|
|
699
|
+
readonly title: Schema.String;
|
|
700
|
+
}>;
|
|
701
|
+
}>]>]>]>;
|
|
630
702
|
}>, Schema.Struct<{
|
|
631
703
|
readonly change: Schema.Struct<{
|
|
632
704
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -755,7 +827,7 @@ export declare const RollbackRecordSchema: Schema.Struct<{
|
|
|
755
827
|
}>;
|
|
756
828
|
readonly sitemap: Schema.Literal<true>;
|
|
757
829
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
758
|
-
}>, Schema.Union<readonly [Schema.Struct<{
|
|
830
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
759
831
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
760
832
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
761
833
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -831,7 +903,43 @@ export declare const RollbackRecordSchema: Schema.Struct<{
|
|
|
831
903
|
readonly title: Schema.String;
|
|
832
904
|
}>;
|
|
833
905
|
readonly stimulusKey: Schema.optionalKey<Schema.String>;
|
|
834
|
-
}>]
|
|
906
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
907
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
908
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
909
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
910
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
911
|
+
readonly questionNumber: Schema.Finite;
|
|
912
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
913
|
+
readonly bodyKind: Schema.Literal<"question">;
|
|
914
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
915
|
+
readonly metadata: Schema.Struct<{
|
|
916
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
917
|
+
readonly name: Schema.String;
|
|
918
|
+
}>>;
|
|
919
|
+
readonly date: Schema.String;
|
|
920
|
+
readonly title: Schema.String;
|
|
921
|
+
}>;
|
|
922
|
+
readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
923
|
+
readonly label: Schema.mutableKey<Schema.String>;
|
|
924
|
+
readonly value: Schema.mutableKey<Schema.Boolean>;
|
|
925
|
+
}>>>;
|
|
926
|
+
}>, Schema.Struct<{
|
|
927
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
928
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
929
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
930
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
931
|
+
readonly questionNumber: Schema.Finite;
|
|
932
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
933
|
+
readonly bodyKind: Schema.Literal<"answer">;
|
|
934
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
935
|
+
readonly metadata: Schema.Struct<{
|
|
936
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
937
|
+
readonly name: Schema.String;
|
|
938
|
+
}>>;
|
|
939
|
+
readonly date: Schema.String;
|
|
940
|
+
readonly title: Schema.String;
|
|
941
|
+
}>;
|
|
942
|
+
}>]>]>]>;
|
|
835
943
|
}>, Schema.Struct<{
|
|
836
944
|
readonly change: Schema.Struct<{
|
|
837
945
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -958,7 +1066,7 @@ export declare const RollbackRecordSchema: Schema.Struct<{
|
|
|
958
1066
|
}>;
|
|
959
1067
|
readonly sitemap: Schema.Literal<true>;
|
|
960
1068
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
961
|
-
}>, Schema.Union<readonly [Schema.Struct<{
|
|
1069
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
962
1070
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
963
1071
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
964
1072
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -1034,7 +1142,43 @@ export declare const RollbackRecordSchema: Schema.Struct<{
|
|
|
1034
1142
|
readonly title: Schema.String;
|
|
1035
1143
|
}>;
|
|
1036
1144
|
readonly stimulusKey: Schema.optionalKey<Schema.String>;
|
|
1037
|
-
}>]
|
|
1145
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1146
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1147
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1148
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1149
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
1150
|
+
readonly questionNumber: Schema.Finite;
|
|
1151
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
1152
|
+
readonly bodyKind: Schema.Literal<"question">;
|
|
1153
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
1154
|
+
readonly metadata: Schema.Struct<{
|
|
1155
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
1156
|
+
readonly name: Schema.String;
|
|
1157
|
+
}>>;
|
|
1158
|
+
readonly date: Schema.String;
|
|
1159
|
+
readonly title: Schema.String;
|
|
1160
|
+
}>;
|
|
1161
|
+
readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1162
|
+
readonly label: Schema.mutableKey<Schema.String>;
|
|
1163
|
+
readonly value: Schema.mutableKey<Schema.Boolean>;
|
|
1164
|
+
}>>>;
|
|
1165
|
+
}>, Schema.Struct<{
|
|
1166
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1167
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1168
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1169
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
1170
|
+
readonly questionNumber: Schema.Finite;
|
|
1171
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
1172
|
+
readonly bodyKind: Schema.Literal<"answer">;
|
|
1173
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
1174
|
+
readonly metadata: Schema.Struct<{
|
|
1175
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
1176
|
+
readonly name: Schema.String;
|
|
1177
|
+
}>>;
|
|
1178
|
+
readonly date: Schema.String;
|
|
1179
|
+
readonly title: Schema.String;
|
|
1180
|
+
}>;
|
|
1181
|
+
}>]>]>]>;
|
|
1038
1182
|
}>, Schema.Struct<{
|
|
1039
1183
|
readonly change: Schema.Struct<{
|
|
1040
1184
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -1175,7 +1319,7 @@ export declare const RollbackPageSchema: Schema.Struct<{
|
|
|
1175
1319
|
}>;
|
|
1176
1320
|
readonly sitemap: Schema.Literal<true>;
|
|
1177
1321
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
1178
|
-
}>, Schema.Union<readonly [Schema.Struct<{
|
|
1322
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1179
1323
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1180
1324
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1181
1325
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -1251,7 +1395,43 @@ export declare const RollbackPageSchema: Schema.Struct<{
|
|
|
1251
1395
|
readonly title: Schema.String;
|
|
1252
1396
|
}>;
|
|
1253
1397
|
readonly stimulusKey: Schema.optionalKey<Schema.String>;
|
|
1254
|
-
}>]
|
|
1398
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1399
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1400
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1401
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1402
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
1403
|
+
readonly questionNumber: Schema.Finite;
|
|
1404
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
1405
|
+
readonly bodyKind: Schema.Literal<"question">;
|
|
1406
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
1407
|
+
readonly metadata: Schema.Struct<{
|
|
1408
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
1409
|
+
readonly name: Schema.String;
|
|
1410
|
+
}>>;
|
|
1411
|
+
readonly date: Schema.String;
|
|
1412
|
+
readonly title: Schema.String;
|
|
1413
|
+
}>;
|
|
1414
|
+
readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1415
|
+
readonly label: Schema.mutableKey<Schema.String>;
|
|
1416
|
+
readonly value: Schema.mutableKey<Schema.Boolean>;
|
|
1417
|
+
}>>>;
|
|
1418
|
+
}>, Schema.Struct<{
|
|
1419
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1420
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1421
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1422
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
1423
|
+
readonly questionNumber: Schema.Finite;
|
|
1424
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
1425
|
+
readonly bodyKind: Schema.Literal<"answer">;
|
|
1426
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
1427
|
+
readonly metadata: Schema.Struct<{
|
|
1428
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
1429
|
+
readonly name: Schema.String;
|
|
1430
|
+
}>>;
|
|
1431
|
+
readonly date: Schema.String;
|
|
1432
|
+
readonly title: Schema.String;
|
|
1433
|
+
}>;
|
|
1434
|
+
}>]>]>]>;
|
|
1255
1435
|
}>, Schema.Struct<{
|
|
1256
1436
|
readonly change: Schema.Struct<{
|
|
1257
1437
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -1378,7 +1558,7 @@ export declare const RollbackPageSchema: Schema.Struct<{
|
|
|
1378
1558
|
}>;
|
|
1379
1559
|
readonly sitemap: Schema.Literal<true>;
|
|
1380
1560
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
1381
|
-
}>, Schema.Union<readonly [Schema.Struct<{
|
|
1561
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1382
1562
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1383
1563
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1384
1564
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -1454,7 +1634,43 @@ export declare const RollbackPageSchema: Schema.Struct<{
|
|
|
1454
1634
|
readonly title: Schema.String;
|
|
1455
1635
|
}>;
|
|
1456
1636
|
readonly stimulusKey: Schema.optionalKey<Schema.String>;
|
|
1457
|
-
}>]
|
|
1637
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1638
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1639
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1640
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1641
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
1642
|
+
readonly questionNumber: Schema.Finite;
|
|
1643
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
1644
|
+
readonly bodyKind: Schema.Literal<"question">;
|
|
1645
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
1646
|
+
readonly metadata: Schema.Struct<{
|
|
1647
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
1648
|
+
readonly name: Schema.String;
|
|
1649
|
+
}>>;
|
|
1650
|
+
readonly date: Schema.String;
|
|
1651
|
+
readonly title: Schema.String;
|
|
1652
|
+
}>;
|
|
1653
|
+
readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1654
|
+
readonly label: Schema.mutableKey<Schema.String>;
|
|
1655
|
+
readonly value: Schema.mutableKey<Schema.Boolean>;
|
|
1656
|
+
}>>>;
|
|
1657
|
+
}>, Schema.Struct<{
|
|
1658
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1659
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1660
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1661
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
1662
|
+
readonly questionNumber: Schema.Finite;
|
|
1663
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
1664
|
+
readonly bodyKind: Schema.Literal<"answer">;
|
|
1665
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
1666
|
+
readonly metadata: Schema.Struct<{
|
|
1667
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
1668
|
+
readonly name: Schema.String;
|
|
1669
|
+
}>>;
|
|
1670
|
+
readonly date: Schema.String;
|
|
1671
|
+
readonly title: Schema.String;
|
|
1672
|
+
}>;
|
|
1673
|
+
}>]>]>]>;
|
|
1458
1674
|
}>, Schema.Struct<{
|
|
1459
1675
|
readonly change: Schema.Struct<{
|
|
1460
1676
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|