@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
|
@@ -1201,7 +1201,7 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1201
1201
|
}>;
|
|
1202
1202
|
readonly sitemap: Schema.Literal<true>;
|
|
1203
1203
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
1204
|
-
}>, Schema.Union<readonly [Schema.Struct<{
|
|
1204
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1205
1205
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1206
1206
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1207
1207
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -1277,7 +1277,43 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1277
1277
|
readonly title: Schema.String;
|
|
1278
1278
|
}>;
|
|
1279
1279
|
readonly stimulusKey: Schema.optionalKey<Schema.String>;
|
|
1280
|
-
}>]
|
|
1280
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1281
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1282
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1283
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1284
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
1285
|
+
readonly questionNumber: Schema.Finite;
|
|
1286
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
1287
|
+
readonly bodyKind: Schema.Literal<"question">;
|
|
1288
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
1289
|
+
readonly metadata: Schema.Struct<{
|
|
1290
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
1291
|
+
readonly name: Schema.String;
|
|
1292
|
+
}>>;
|
|
1293
|
+
readonly date: Schema.String;
|
|
1294
|
+
readonly title: Schema.String;
|
|
1295
|
+
}>;
|
|
1296
|
+
readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1297
|
+
readonly label: Schema.mutableKey<Schema.String>;
|
|
1298
|
+
readonly value: Schema.mutableKey<Schema.Boolean>;
|
|
1299
|
+
}>>>;
|
|
1300
|
+
}>, Schema.Struct<{
|
|
1301
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1302
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1303
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1304
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
1305
|
+
readonly questionNumber: Schema.Finite;
|
|
1306
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
1307
|
+
readonly bodyKind: Schema.Literal<"answer">;
|
|
1308
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
1309
|
+
readonly metadata: Schema.Struct<{
|
|
1310
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
1311
|
+
readonly name: Schema.String;
|
|
1312
|
+
}>>;
|
|
1313
|
+
readonly date: Schema.String;
|
|
1314
|
+
readonly title: Schema.String;
|
|
1315
|
+
}>;
|
|
1316
|
+
}>]>]>]>;
|
|
1281
1317
|
}>, Schema.Struct<{
|
|
1282
1318
|
readonly change: Schema.Struct<{
|
|
1283
1319
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -1404,7 +1440,7 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1404
1440
|
}>;
|
|
1405
1441
|
readonly sitemap: Schema.Literal<true>;
|
|
1406
1442
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
1407
|
-
}>, Schema.Union<readonly [Schema.Struct<{
|
|
1443
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1408
1444
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1409
1445
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1410
1446
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -1480,7 +1516,43 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1480
1516
|
readonly title: Schema.String;
|
|
1481
1517
|
}>;
|
|
1482
1518
|
readonly stimulusKey: Schema.optionalKey<Schema.String>;
|
|
1483
|
-
}>]
|
|
1519
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1520
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1521
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1522
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1523
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
1524
|
+
readonly questionNumber: Schema.Finite;
|
|
1525
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
1526
|
+
readonly bodyKind: Schema.Literal<"question">;
|
|
1527
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
1528
|
+
readonly metadata: Schema.Struct<{
|
|
1529
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
1530
|
+
readonly name: Schema.String;
|
|
1531
|
+
}>>;
|
|
1532
|
+
readonly date: Schema.String;
|
|
1533
|
+
readonly title: Schema.String;
|
|
1534
|
+
}>;
|
|
1535
|
+
readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1536
|
+
readonly label: Schema.mutableKey<Schema.String>;
|
|
1537
|
+
readonly value: Schema.mutableKey<Schema.Boolean>;
|
|
1538
|
+
}>>>;
|
|
1539
|
+
}>, Schema.Struct<{
|
|
1540
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1541
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1542
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1543
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
1544
|
+
readonly questionNumber: Schema.Finite;
|
|
1545
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
1546
|
+
readonly bodyKind: Schema.Literal<"answer">;
|
|
1547
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
1548
|
+
readonly metadata: Schema.Struct<{
|
|
1549
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
1550
|
+
readonly name: Schema.String;
|
|
1551
|
+
}>>;
|
|
1552
|
+
readonly date: Schema.String;
|
|
1553
|
+
readonly title: Schema.String;
|
|
1554
|
+
}>;
|
|
1555
|
+
}>]>]>]>;
|
|
1484
1556
|
}>, Schema.Struct<{
|
|
1485
1557
|
readonly change: Schema.Struct<{
|
|
1486
1558
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -2654,7 +2726,7 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
2654
2726
|
}>;
|
|
2655
2727
|
readonly sitemap: Schema.Literal<true>;
|
|
2656
2728
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
2657
|
-
}>, Schema.Union<readonly [Schema.Struct<{
|
|
2729
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
2658
2730
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
2659
2731
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
2660
2732
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -2730,7 +2802,43 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
2730
2802
|
readonly title: Schema.String;
|
|
2731
2803
|
}>;
|
|
2732
2804
|
readonly stimulusKey: Schema.optionalKey<Schema.String>;
|
|
2733
|
-
}>]
|
|
2805
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2806
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
2807
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
2808
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
2809
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
2810
|
+
readonly questionNumber: Schema.Finite;
|
|
2811
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
2812
|
+
readonly bodyKind: Schema.Literal<"question">;
|
|
2813
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
2814
|
+
readonly metadata: Schema.Struct<{
|
|
2815
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
2816
|
+
readonly name: Schema.String;
|
|
2817
|
+
}>>;
|
|
2818
|
+
readonly date: Schema.String;
|
|
2819
|
+
readonly title: Schema.String;
|
|
2820
|
+
}>;
|
|
2821
|
+
readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
2822
|
+
readonly label: Schema.mutableKey<Schema.String>;
|
|
2823
|
+
readonly value: Schema.mutableKey<Schema.Boolean>;
|
|
2824
|
+
}>>>;
|
|
2825
|
+
}>, Schema.Struct<{
|
|
2826
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
2827
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
2828
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
2829
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
2830
|
+
readonly questionNumber: Schema.Finite;
|
|
2831
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
2832
|
+
readonly bodyKind: Schema.Literal<"answer">;
|
|
2833
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
2834
|
+
readonly metadata: Schema.Struct<{
|
|
2835
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
2836
|
+
readonly name: Schema.String;
|
|
2837
|
+
}>>;
|
|
2838
|
+
readonly date: Schema.String;
|
|
2839
|
+
readonly title: Schema.String;
|
|
2840
|
+
}>;
|
|
2841
|
+
}>]>]>]>;
|
|
2734
2842
|
}>, Schema.Struct<{
|
|
2735
2843
|
readonly change: Schema.Struct<{
|
|
2736
2844
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -2857,7 +2965,7 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
2857
2965
|
}>;
|
|
2858
2966
|
readonly sitemap: Schema.Literal<true>;
|
|
2859
2967
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
2860
|
-
}>, Schema.Union<readonly [Schema.Struct<{
|
|
2968
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
2861
2969
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
2862
2970
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
2863
2971
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -2933,7 +3041,43 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
2933
3041
|
readonly title: Schema.String;
|
|
2934
3042
|
}>;
|
|
2935
3043
|
readonly stimulusKey: Schema.optionalKey<Schema.String>;
|
|
2936
|
-
}>]
|
|
3044
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
3045
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
3046
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
3047
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
3048
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
3049
|
+
readonly questionNumber: Schema.Finite;
|
|
3050
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
3051
|
+
readonly bodyKind: Schema.Literal<"question">;
|
|
3052
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
3053
|
+
readonly metadata: Schema.Struct<{
|
|
3054
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
3055
|
+
readonly name: Schema.String;
|
|
3056
|
+
}>>;
|
|
3057
|
+
readonly date: Schema.String;
|
|
3058
|
+
readonly title: Schema.String;
|
|
3059
|
+
}>;
|
|
3060
|
+
readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
3061
|
+
readonly label: Schema.mutableKey<Schema.String>;
|
|
3062
|
+
readonly value: Schema.mutableKey<Schema.Boolean>;
|
|
3063
|
+
}>>>;
|
|
3064
|
+
}>, Schema.Struct<{
|
|
3065
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
3066
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
3067
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
3068
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
3069
|
+
readonly questionNumber: Schema.Finite;
|
|
3070
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
3071
|
+
readonly bodyKind: Schema.Literal<"answer">;
|
|
3072
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
3073
|
+
readonly metadata: Schema.Struct<{
|
|
3074
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
3075
|
+
readonly name: Schema.String;
|
|
3076
|
+
}>>;
|
|
3077
|
+
readonly date: Schema.String;
|
|
3078
|
+
readonly title: Schema.String;
|
|
3079
|
+
}>;
|
|
3080
|
+
}>]>]>]>;
|
|
2937
3081
|
}>, Schema.Struct<{
|
|
2938
3082
|
readonly change: Schema.Struct<{
|
|
2939
3083
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -4173,7 +4317,7 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4173
4317
|
}>;
|
|
4174
4318
|
readonly sitemap: Schema.Literal<true>;
|
|
4175
4319
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
4176
|
-
}>, Schema.Union<readonly [Schema.Struct<{
|
|
4320
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
4177
4321
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
4178
4322
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4179
4323
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -4249,7 +4393,43 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4249
4393
|
readonly title: Schema.String;
|
|
4250
4394
|
}>;
|
|
4251
4395
|
readonly stimulusKey: Schema.optionalKey<Schema.String>;
|
|
4252
|
-
}>]
|
|
4396
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
4397
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
4398
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4399
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4400
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
4401
|
+
readonly questionNumber: Schema.Finite;
|
|
4402
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
4403
|
+
readonly bodyKind: Schema.Literal<"question">;
|
|
4404
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
4405
|
+
readonly metadata: Schema.Struct<{
|
|
4406
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
4407
|
+
readonly name: Schema.String;
|
|
4408
|
+
}>>;
|
|
4409
|
+
readonly date: Schema.String;
|
|
4410
|
+
readonly title: Schema.String;
|
|
4411
|
+
}>;
|
|
4412
|
+
readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
4413
|
+
readonly label: Schema.mutableKey<Schema.String>;
|
|
4414
|
+
readonly value: Schema.mutableKey<Schema.Boolean>;
|
|
4415
|
+
}>>>;
|
|
4416
|
+
}>, Schema.Struct<{
|
|
4417
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
4418
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4419
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4420
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
4421
|
+
readonly questionNumber: Schema.Finite;
|
|
4422
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
4423
|
+
readonly bodyKind: Schema.Literal<"answer">;
|
|
4424
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
4425
|
+
readonly metadata: Schema.Struct<{
|
|
4426
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
4427
|
+
readonly name: Schema.String;
|
|
4428
|
+
}>>;
|
|
4429
|
+
readonly date: Schema.String;
|
|
4430
|
+
readonly title: Schema.String;
|
|
4431
|
+
}>;
|
|
4432
|
+
}>]>]>]>;
|
|
4253
4433
|
}>, Schema.Struct<{
|
|
4254
4434
|
readonly change: Schema.Struct<{
|
|
4255
4435
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -4376,7 +4556,7 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4376
4556
|
}>;
|
|
4377
4557
|
readonly sitemap: Schema.Literal<true>;
|
|
4378
4558
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
4379
|
-
}>, Schema.Union<readonly [Schema.Struct<{
|
|
4559
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
4380
4560
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
4381
4561
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4382
4562
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -4452,7 +4632,43 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4452
4632
|
readonly title: Schema.String;
|
|
4453
4633
|
}>;
|
|
4454
4634
|
readonly stimulusKey: Schema.optionalKey<Schema.String>;
|
|
4455
|
-
}>]
|
|
4635
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
4636
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
4637
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4638
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4639
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
4640
|
+
readonly questionNumber: Schema.Finite;
|
|
4641
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
4642
|
+
readonly bodyKind: Schema.Literal<"question">;
|
|
4643
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
4644
|
+
readonly metadata: Schema.Struct<{
|
|
4645
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
4646
|
+
readonly name: Schema.String;
|
|
4647
|
+
}>>;
|
|
4648
|
+
readonly date: Schema.String;
|
|
4649
|
+
readonly title: Schema.String;
|
|
4650
|
+
}>;
|
|
4651
|
+
readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
4652
|
+
readonly label: Schema.mutableKey<Schema.String>;
|
|
4653
|
+
readonly value: Schema.mutableKey<Schema.Boolean>;
|
|
4654
|
+
}>>>;
|
|
4655
|
+
}>, Schema.Struct<{
|
|
4656
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
4657
|
+
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4658
|
+
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4659
|
+
readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
|
|
4660
|
+
readonly questionNumber: Schema.Finite;
|
|
4661
|
+
readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
|
|
4662
|
+
readonly bodyKind: Schema.Literal<"answer">;
|
|
4663
|
+
readonly kind: Schema.Literal<"question-body">;
|
|
4664
|
+
readonly metadata: Schema.Struct<{
|
|
4665
|
+
readonly authors: Schema.$Array<Schema.Struct<{
|
|
4666
|
+
readonly name: Schema.String;
|
|
4667
|
+
}>>;
|
|
4668
|
+
readonly date: Schema.String;
|
|
4669
|
+
readonly title: Schema.String;
|
|
4670
|
+
}>;
|
|
4671
|
+
}>]>]>]>;
|
|
4456
4672
|
}>, Schema.Struct<{
|
|
4457
4673
|
readonly change: Schema.Struct<{
|
|
4458
4674
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -5533,6 +5749,42 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
|
|
|
5533
5749
|
readonly title: string;
|
|
5534
5750
|
};
|
|
5535
5751
|
readonly stimulusKey?: string;
|
|
5752
|
+
} | {
|
|
5753
|
+
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
5754
|
+
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
5755
|
+
readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
5756
|
+
readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
|
|
5757
|
+
readonly questionNumber: number;
|
|
5758
|
+
readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
|
|
5759
|
+
readonly bodyKind: "question";
|
|
5760
|
+
readonly kind: "question-body";
|
|
5761
|
+
readonly metadata: {
|
|
5762
|
+
readonly authors: readonly {
|
|
5763
|
+
readonly name: string;
|
|
5764
|
+
}[];
|
|
5765
|
+
readonly date: string;
|
|
5766
|
+
readonly title: string;
|
|
5767
|
+
};
|
|
5768
|
+
readonly choices: {
|
|
5769
|
+
label: string;
|
|
5770
|
+
value: boolean;
|
|
5771
|
+
}[];
|
|
5772
|
+
} | {
|
|
5773
|
+
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
5774
|
+
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
5775
|
+
readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
5776
|
+
readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
|
|
5777
|
+
readonly questionNumber: number;
|
|
5778
|
+
readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
|
|
5779
|
+
readonly bodyKind: "answer";
|
|
5780
|
+
readonly kind: "question-body";
|
|
5781
|
+
readonly metadata: {
|
|
5782
|
+
readonly authors: readonly {
|
|
5783
|
+
readonly name: string;
|
|
5784
|
+
}[];
|
|
5785
|
+
readonly date: string;
|
|
5786
|
+
readonly title: string;
|
|
5787
|
+
};
|
|
5536
5788
|
};
|
|
5537
5789
|
} | {
|
|
5538
5790
|
readonly change: {
|
|
@@ -5736,6 +5988,42 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
|
|
|
5736
5988
|
readonly title: string;
|
|
5737
5989
|
};
|
|
5738
5990
|
readonly stimulusKey?: string;
|
|
5991
|
+
} | {
|
|
5992
|
+
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
5993
|
+
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
5994
|
+
readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
5995
|
+
readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
|
|
5996
|
+
readonly questionNumber: number;
|
|
5997
|
+
readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
|
|
5998
|
+
readonly bodyKind: "question";
|
|
5999
|
+
readonly kind: "question-body";
|
|
6000
|
+
readonly metadata: {
|
|
6001
|
+
readonly authors: readonly {
|
|
6002
|
+
readonly name: string;
|
|
6003
|
+
}[];
|
|
6004
|
+
readonly date: string;
|
|
6005
|
+
readonly title: string;
|
|
6006
|
+
};
|
|
6007
|
+
readonly choices: {
|
|
6008
|
+
label: string;
|
|
6009
|
+
value: boolean;
|
|
6010
|
+
}[];
|
|
6011
|
+
} | {
|
|
6012
|
+
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
6013
|
+
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
6014
|
+
readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
6015
|
+
readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
|
|
6016
|
+
readonly questionNumber: number;
|
|
6017
|
+
readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
|
|
6018
|
+
readonly bodyKind: "answer";
|
|
6019
|
+
readonly kind: "question-body";
|
|
6020
|
+
readonly metadata: {
|
|
6021
|
+
readonly authors: readonly {
|
|
6022
|
+
readonly name: string;
|
|
6023
|
+
}[];
|
|
6024
|
+
readonly date: string;
|
|
6025
|
+
readonly title: string;
|
|
6026
|
+
};
|
|
5739
6027
|
};
|
|
5740
6028
|
} | {
|
|
5741
6029
|
readonly change: {
|
package/package.json
CHANGED