@nakafa/aksara-contracts 0.27.0 → 0.30.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 +13 -9
- package/dist/preview/artifact.d.ts +4 -32
- package/dist/preview/artifact.js +2 -2
- package/dist/preview/spec.d.ts +8 -64
- package/dist/projection/digest.d.ts +4 -74
- package/dist/projection/page.d.ts +1 -50
- package/dist/projection/page.js +9 -38
- package/dist/projection/question.d.ts +16 -184
- package/dist/projection/spec.d.ts +7 -253
- package/dist/projection/spec.js +2 -9
- package/dist/projection/verify.d.ts +4 -74
- package/dist/question/item.d.ts +24 -304
- package/dist/question/item.js +4 -4
- package/dist/question/response.d.ts +9 -97
- package/dist/question/response.js +8 -31
- package/dist/release/policy.d.ts +3 -0
- package/dist/release/policy.js +2 -0
- package/dist/release/rollback/spec.d.ts +36 -288
- package/dist/release/snapshot/data.d.ts +4 -32
- package/dist/release/snapshot/verify.d.ts +4 -60
- package/dist/renderer/compatibility.d.ts +49 -2
- package/dist/renderer/compatibility.js +49 -1
- package/dist/runtime/spec.d.ts +4 -46
- package/dist/runtime/verify.d.ts +0 -28
- package/dist/transport/batch.d.ts +8 -481
- package/dist/transport/batch.js +2 -14
- package/dist/transport/group.d.ts +50 -836
- package/dist/transport/group.js +1 -2
- package/dist/transport/request.d.ts +440 -2356
- package/dist/transport/response.d.ts +44 -436
- package/dist/transport/snapshot.d.ts +8 -64
- package/dist/tryout/content-hash.d.ts +4 -32
- package/dist/tryout/placement.d.ts +12 -96
- package/package.json +5 -1
|
@@ -1186,7 +1186,7 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1186
1186
|
readonly parentPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
1187
1187
|
readonly sitemap: Schema.Literal<true>;
|
|
1188
1188
|
readonly topicTitle: Schema.String;
|
|
1189
|
-
}>, Schema.
|
|
1189
|
+
}>, Schema.Struct<{
|
|
1190
1190
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
1191
1191
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1192
1192
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -1201,21 +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.Struct<{
|
|
1205
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
1206
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1207
|
-
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1208
|
-
readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
|
|
1209
|
-
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
1210
|
-
readonly kind: Schema.Literal<"public-page">;
|
|
1211
|
-
readonly metadata: Schema.Struct<{
|
|
1212
|
-
readonly description: Schema.Trimmed;
|
|
1213
|
-
readonly lastModified: Schema.String;
|
|
1214
|
-
readonly title: Schema.Trimmed;
|
|
1215
|
-
}>;
|
|
1216
|
-
readonly sitemap: Schema.Literal<true>;
|
|
1217
|
-
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
1218
|
-
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1204
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
1219
1205
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1220
1206
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1221
1207
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -1241,27 +1227,13 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1241
1227
|
readonly response: Schema.Union<readonly [Schema.Struct<{
|
|
1242
1228
|
readonly categories: Schema.$Array<Schema.Struct<{
|
|
1243
1229
|
readonly categoryKey: Schema.String;
|
|
1244
|
-
readonly label: Schema.
|
|
1245
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
1246
|
-
readonly kind: Schema.Literal<"math">;
|
|
1247
|
-
readonly math: Schema.String;
|
|
1248
|
-
}>, Schema.Struct<{
|
|
1249
|
-
readonly kind: Schema.Literal<"text">;
|
|
1250
|
-
readonly text: Schema.String;
|
|
1251
|
-
}>]>>;
|
|
1230
|
+
readonly label: Schema.String;
|
|
1252
1231
|
readonly order: Schema.Int;
|
|
1253
1232
|
}>>;
|
|
1254
1233
|
readonly kind: Schema.Literal<"category">;
|
|
1255
1234
|
readonly statements: Schema.$Array<Schema.Struct<{
|
|
1256
1235
|
readonly correctCategoryKey: Schema.String;
|
|
1257
|
-
readonly label: Schema.
|
|
1258
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
1259
|
-
readonly kind: Schema.Literal<"math">;
|
|
1260
|
-
readonly math: Schema.String;
|
|
1261
|
-
}>, Schema.Struct<{
|
|
1262
|
-
readonly kind: Schema.Literal<"text">;
|
|
1263
|
-
readonly text: Schema.String;
|
|
1264
|
-
}>]>>;
|
|
1236
|
+
readonly label: Schema.String;
|
|
1265
1237
|
readonly order: Schema.Int;
|
|
1266
1238
|
readonly statementKey: Schema.String;
|
|
1267
1239
|
}>>;
|
|
@@ -1269,14 +1241,7 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1269
1241
|
readonly kind: Schema.Literal<"multiple-choice">;
|
|
1270
1242
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
1271
1243
|
readonly isCorrect: Schema.Boolean;
|
|
1272
|
-
readonly label: Schema.
|
|
1273
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
1274
|
-
readonly kind: Schema.Literal<"math">;
|
|
1275
|
-
readonly math: Schema.String;
|
|
1276
|
-
}>, Schema.Struct<{
|
|
1277
|
-
readonly kind: Schema.Literal<"text">;
|
|
1278
|
-
readonly text: Schema.String;
|
|
1279
|
-
}>]>>;
|
|
1244
|
+
readonly label: Schema.String;
|
|
1280
1245
|
readonly optionKey: Schema.String;
|
|
1281
1246
|
readonly order: Schema.Int;
|
|
1282
1247
|
}>>;
|
|
@@ -1284,14 +1249,7 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1284
1249
|
readonly kind: Schema.Literal<"single-choice">;
|
|
1285
1250
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
1286
1251
|
readonly isCorrect: Schema.Boolean;
|
|
1287
|
-
readonly label: Schema.
|
|
1288
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
1289
|
-
readonly kind: Schema.Literal<"math">;
|
|
1290
|
-
readonly math: Schema.String;
|
|
1291
|
-
}>, Schema.Struct<{
|
|
1292
|
-
readonly kind: Schema.Literal<"text">;
|
|
1293
|
-
readonly text: Schema.String;
|
|
1294
|
-
}>]>>;
|
|
1252
|
+
readonly label: Schema.String;
|
|
1295
1253
|
readonly optionKey: Schema.String;
|
|
1296
1254
|
readonly order: Schema.Int;
|
|
1297
1255
|
}>>;
|
|
@@ -1431,7 +1389,7 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1431
1389
|
readonly parentPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
1432
1390
|
readonly sitemap: Schema.Literal<true>;
|
|
1433
1391
|
readonly topicTitle: Schema.String;
|
|
1434
|
-
}>, Schema.
|
|
1392
|
+
}>, Schema.Struct<{
|
|
1435
1393
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
1436
1394
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1437
1395
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -1446,21 +1404,7 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1446
1404
|
}>;
|
|
1447
1405
|
readonly sitemap: Schema.Literal<true>;
|
|
1448
1406
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
1449
|
-
}>, Schema.Struct<{
|
|
1450
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
1451
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1452
|
-
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1453
|
-
readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
|
|
1454
|
-
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
1455
|
-
readonly kind: Schema.Literal<"public-page">;
|
|
1456
|
-
readonly metadata: Schema.Struct<{
|
|
1457
|
-
readonly description: Schema.Trimmed;
|
|
1458
|
-
readonly lastModified: Schema.String;
|
|
1459
|
-
readonly title: Schema.Trimmed;
|
|
1460
|
-
}>;
|
|
1461
|
-
readonly sitemap: Schema.Literal<true>;
|
|
1462
|
-
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
1463
|
-
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1407
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
1464
1408
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1465
1409
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1466
1410
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -1486,27 +1430,13 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1486
1430
|
readonly response: Schema.Union<readonly [Schema.Struct<{
|
|
1487
1431
|
readonly categories: Schema.$Array<Schema.Struct<{
|
|
1488
1432
|
readonly categoryKey: Schema.String;
|
|
1489
|
-
readonly label: Schema.
|
|
1490
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
1491
|
-
readonly kind: Schema.Literal<"math">;
|
|
1492
|
-
readonly math: Schema.String;
|
|
1493
|
-
}>, Schema.Struct<{
|
|
1494
|
-
readonly kind: Schema.Literal<"text">;
|
|
1495
|
-
readonly text: Schema.String;
|
|
1496
|
-
}>]>>;
|
|
1433
|
+
readonly label: Schema.String;
|
|
1497
1434
|
readonly order: Schema.Int;
|
|
1498
1435
|
}>>;
|
|
1499
1436
|
readonly kind: Schema.Literal<"category">;
|
|
1500
1437
|
readonly statements: Schema.$Array<Schema.Struct<{
|
|
1501
1438
|
readonly correctCategoryKey: Schema.String;
|
|
1502
|
-
readonly label: Schema.
|
|
1503
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
1504
|
-
readonly kind: Schema.Literal<"math">;
|
|
1505
|
-
readonly math: Schema.String;
|
|
1506
|
-
}>, Schema.Struct<{
|
|
1507
|
-
readonly kind: Schema.Literal<"text">;
|
|
1508
|
-
readonly text: Schema.String;
|
|
1509
|
-
}>]>>;
|
|
1439
|
+
readonly label: Schema.String;
|
|
1510
1440
|
readonly order: Schema.Int;
|
|
1511
1441
|
readonly statementKey: Schema.String;
|
|
1512
1442
|
}>>;
|
|
@@ -1514,14 +1444,7 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1514
1444
|
readonly kind: Schema.Literal<"multiple-choice">;
|
|
1515
1445
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
1516
1446
|
readonly isCorrect: Schema.Boolean;
|
|
1517
|
-
readonly label: Schema.
|
|
1518
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
1519
|
-
readonly kind: Schema.Literal<"math">;
|
|
1520
|
-
readonly math: Schema.String;
|
|
1521
|
-
}>, Schema.Struct<{
|
|
1522
|
-
readonly kind: Schema.Literal<"text">;
|
|
1523
|
-
readonly text: Schema.String;
|
|
1524
|
-
}>]>>;
|
|
1447
|
+
readonly label: Schema.String;
|
|
1525
1448
|
readonly optionKey: Schema.String;
|
|
1526
1449
|
readonly order: Schema.Int;
|
|
1527
1450
|
}>>;
|
|
@@ -1529,14 +1452,7 @@ export declare const PublicationRollbackSuccessSchema: Schema.Struct<{
|
|
|
1529
1452
|
readonly kind: Schema.Literal<"single-choice">;
|
|
1530
1453
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
1531
1454
|
readonly isCorrect: Schema.Boolean;
|
|
1532
|
-
readonly label: Schema.
|
|
1533
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
1534
|
-
readonly kind: Schema.Literal<"math">;
|
|
1535
|
-
readonly math: Schema.String;
|
|
1536
|
-
}>, Schema.Struct<{
|
|
1537
|
-
readonly kind: Schema.Literal<"text">;
|
|
1538
|
-
readonly text: Schema.String;
|
|
1539
|
-
}>]>>;
|
|
1455
|
+
readonly label: Schema.String;
|
|
1540
1456
|
readonly optionKey: Schema.String;
|
|
1541
1457
|
readonly order: Schema.Int;
|
|
1542
1458
|
}>>;
|
|
@@ -2723,7 +2639,7 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
2723
2639
|
readonly parentPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
2724
2640
|
readonly sitemap: Schema.Literal<true>;
|
|
2725
2641
|
readonly topicTitle: Schema.String;
|
|
2726
|
-
}>, Schema.
|
|
2642
|
+
}>, Schema.Struct<{
|
|
2727
2643
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
2728
2644
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
2729
2645
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -2738,21 +2654,7 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
2738
2654
|
}>;
|
|
2739
2655
|
readonly sitemap: Schema.Literal<true>;
|
|
2740
2656
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
2741
|
-
}>, Schema.Struct<{
|
|
2742
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
2743
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
2744
|
-
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
2745
|
-
readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
|
|
2746
|
-
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
2747
|
-
readonly kind: Schema.Literal<"public-page">;
|
|
2748
|
-
readonly metadata: Schema.Struct<{
|
|
2749
|
-
readonly description: Schema.Trimmed;
|
|
2750
|
-
readonly lastModified: Schema.String;
|
|
2751
|
-
readonly title: Schema.Trimmed;
|
|
2752
|
-
}>;
|
|
2753
|
-
readonly sitemap: Schema.Literal<true>;
|
|
2754
|
-
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
2755
|
-
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2657
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
2756
2658
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
2757
2659
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
2758
2660
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -2778,27 +2680,13 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
2778
2680
|
readonly response: Schema.Union<readonly [Schema.Struct<{
|
|
2779
2681
|
readonly categories: Schema.$Array<Schema.Struct<{
|
|
2780
2682
|
readonly categoryKey: Schema.String;
|
|
2781
|
-
readonly label: Schema.
|
|
2782
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
2783
|
-
readonly kind: Schema.Literal<"math">;
|
|
2784
|
-
readonly math: Schema.String;
|
|
2785
|
-
}>, Schema.Struct<{
|
|
2786
|
-
readonly kind: Schema.Literal<"text">;
|
|
2787
|
-
readonly text: Schema.String;
|
|
2788
|
-
}>]>>;
|
|
2683
|
+
readonly label: Schema.String;
|
|
2789
2684
|
readonly order: Schema.Int;
|
|
2790
2685
|
}>>;
|
|
2791
2686
|
readonly kind: Schema.Literal<"category">;
|
|
2792
2687
|
readonly statements: Schema.$Array<Schema.Struct<{
|
|
2793
2688
|
readonly correctCategoryKey: Schema.String;
|
|
2794
|
-
readonly label: Schema.
|
|
2795
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
2796
|
-
readonly kind: Schema.Literal<"math">;
|
|
2797
|
-
readonly math: Schema.String;
|
|
2798
|
-
}>, Schema.Struct<{
|
|
2799
|
-
readonly kind: Schema.Literal<"text">;
|
|
2800
|
-
readonly text: Schema.String;
|
|
2801
|
-
}>]>>;
|
|
2689
|
+
readonly label: Schema.String;
|
|
2802
2690
|
readonly order: Schema.Int;
|
|
2803
2691
|
readonly statementKey: Schema.String;
|
|
2804
2692
|
}>>;
|
|
@@ -2806,14 +2694,7 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
2806
2694
|
readonly kind: Schema.Literal<"multiple-choice">;
|
|
2807
2695
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
2808
2696
|
readonly isCorrect: Schema.Boolean;
|
|
2809
|
-
readonly label: Schema.
|
|
2810
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
2811
|
-
readonly kind: Schema.Literal<"math">;
|
|
2812
|
-
readonly math: Schema.String;
|
|
2813
|
-
}>, Schema.Struct<{
|
|
2814
|
-
readonly kind: Schema.Literal<"text">;
|
|
2815
|
-
readonly text: Schema.String;
|
|
2816
|
-
}>]>>;
|
|
2697
|
+
readonly label: Schema.String;
|
|
2817
2698
|
readonly optionKey: Schema.String;
|
|
2818
2699
|
readonly order: Schema.Int;
|
|
2819
2700
|
}>>;
|
|
@@ -2821,14 +2702,7 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
2821
2702
|
readonly kind: Schema.Literal<"single-choice">;
|
|
2822
2703
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
2823
2704
|
readonly isCorrect: Schema.Boolean;
|
|
2824
|
-
readonly label: Schema.
|
|
2825
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
2826
|
-
readonly kind: Schema.Literal<"math">;
|
|
2827
|
-
readonly math: Schema.String;
|
|
2828
|
-
}>, Schema.Struct<{
|
|
2829
|
-
readonly kind: Schema.Literal<"text">;
|
|
2830
|
-
readonly text: Schema.String;
|
|
2831
|
-
}>]>>;
|
|
2705
|
+
readonly label: Schema.String;
|
|
2832
2706
|
readonly optionKey: Schema.String;
|
|
2833
2707
|
readonly order: Schema.Int;
|
|
2834
2708
|
}>>;
|
|
@@ -2968,7 +2842,7 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
2968
2842
|
readonly parentPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
2969
2843
|
readonly sitemap: Schema.Literal<true>;
|
|
2970
2844
|
readonly topicTitle: Schema.String;
|
|
2971
|
-
}>, Schema.
|
|
2845
|
+
}>, Schema.Struct<{
|
|
2972
2846
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
2973
2847
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
2974
2848
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -2983,21 +2857,7 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
2983
2857
|
}>;
|
|
2984
2858
|
readonly sitemap: Schema.Literal<true>;
|
|
2985
2859
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
2986
|
-
}>, Schema.Struct<{
|
|
2987
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
2988
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
2989
|
-
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
2990
|
-
readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
|
|
2991
|
-
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
2992
|
-
readonly kind: Schema.Literal<"public-page">;
|
|
2993
|
-
readonly metadata: Schema.Struct<{
|
|
2994
|
-
readonly description: Schema.Trimmed;
|
|
2995
|
-
readonly lastModified: Schema.String;
|
|
2996
|
-
readonly title: Schema.Trimmed;
|
|
2997
|
-
}>;
|
|
2998
|
-
readonly sitemap: Schema.Literal<true>;
|
|
2999
|
-
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
3000
|
-
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2860
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
3001
2861
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
3002
2862
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
3003
2863
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -3023,27 +2883,13 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
3023
2883
|
readonly response: Schema.Union<readonly [Schema.Struct<{
|
|
3024
2884
|
readonly categories: Schema.$Array<Schema.Struct<{
|
|
3025
2885
|
readonly categoryKey: Schema.String;
|
|
3026
|
-
readonly label: Schema.
|
|
3027
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
3028
|
-
readonly kind: Schema.Literal<"math">;
|
|
3029
|
-
readonly math: Schema.String;
|
|
3030
|
-
}>, Schema.Struct<{
|
|
3031
|
-
readonly kind: Schema.Literal<"text">;
|
|
3032
|
-
readonly text: Schema.String;
|
|
3033
|
-
}>]>>;
|
|
2886
|
+
readonly label: Schema.String;
|
|
3034
2887
|
readonly order: Schema.Int;
|
|
3035
2888
|
}>>;
|
|
3036
2889
|
readonly kind: Schema.Literal<"category">;
|
|
3037
2890
|
readonly statements: Schema.$Array<Schema.Struct<{
|
|
3038
2891
|
readonly correctCategoryKey: Schema.String;
|
|
3039
|
-
readonly label: Schema.
|
|
3040
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
3041
|
-
readonly kind: Schema.Literal<"math">;
|
|
3042
|
-
readonly math: Schema.String;
|
|
3043
|
-
}>, Schema.Struct<{
|
|
3044
|
-
readonly kind: Schema.Literal<"text">;
|
|
3045
|
-
readonly text: Schema.String;
|
|
3046
|
-
}>]>>;
|
|
2892
|
+
readonly label: Schema.String;
|
|
3047
2893
|
readonly order: Schema.Int;
|
|
3048
2894
|
readonly statementKey: Schema.String;
|
|
3049
2895
|
}>>;
|
|
@@ -3051,14 +2897,7 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
3051
2897
|
readonly kind: Schema.Literal<"multiple-choice">;
|
|
3052
2898
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
3053
2899
|
readonly isCorrect: Schema.Boolean;
|
|
3054
|
-
readonly label: Schema.
|
|
3055
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
3056
|
-
readonly kind: Schema.Literal<"math">;
|
|
3057
|
-
readonly math: Schema.String;
|
|
3058
|
-
}>, Schema.Struct<{
|
|
3059
|
-
readonly kind: Schema.Literal<"text">;
|
|
3060
|
-
readonly text: Schema.String;
|
|
3061
|
-
}>]>>;
|
|
2900
|
+
readonly label: Schema.String;
|
|
3062
2901
|
readonly optionKey: Schema.String;
|
|
3063
2902
|
readonly order: Schema.Int;
|
|
3064
2903
|
}>>;
|
|
@@ -3066,14 +2905,7 @@ export declare const PublicationSuccessSchema: Schema.Union<readonly [Schema.Str
|
|
|
3066
2905
|
readonly kind: Schema.Literal<"single-choice">;
|
|
3067
2906
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
3068
2907
|
readonly isCorrect: Schema.Boolean;
|
|
3069
|
-
readonly label: Schema.
|
|
3070
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
3071
|
-
readonly kind: Schema.Literal<"math">;
|
|
3072
|
-
readonly math: Schema.String;
|
|
3073
|
-
}>, Schema.Struct<{
|
|
3074
|
-
readonly kind: Schema.Literal<"text">;
|
|
3075
|
-
readonly text: Schema.String;
|
|
3076
|
-
}>]>>;
|
|
2908
|
+
readonly label: Schema.String;
|
|
3077
2909
|
readonly optionKey: Schema.String;
|
|
3078
2910
|
readonly order: Schema.Int;
|
|
3079
2911
|
}>>;
|
|
@@ -4326,7 +4158,7 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4326
4158
|
readonly parentPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
4327
4159
|
readonly sitemap: Schema.Literal<true>;
|
|
4328
4160
|
readonly topicTitle: Schema.String;
|
|
4329
|
-
}>, Schema.
|
|
4161
|
+
}>, Schema.Struct<{
|
|
4330
4162
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
4331
4163
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
4332
4164
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -4341,21 +4173,7 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4341
4173
|
}>;
|
|
4342
4174
|
readonly sitemap: Schema.Literal<true>;
|
|
4343
4175
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
4344
|
-
}>, Schema.Struct<{
|
|
4345
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
4346
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
4347
|
-
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4348
|
-
readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
|
|
4349
|
-
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
4350
|
-
readonly kind: Schema.Literal<"public-page">;
|
|
4351
|
-
readonly metadata: Schema.Struct<{
|
|
4352
|
-
readonly description: Schema.Trimmed;
|
|
4353
|
-
readonly lastModified: Schema.String;
|
|
4354
|
-
readonly title: Schema.Trimmed;
|
|
4355
|
-
}>;
|
|
4356
|
-
readonly sitemap: Schema.Literal<true>;
|
|
4357
|
-
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
4358
|
-
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
4176
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
4359
4177
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
4360
4178
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4361
4179
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -4381,27 +4199,13 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4381
4199
|
readonly response: Schema.Union<readonly [Schema.Struct<{
|
|
4382
4200
|
readonly categories: Schema.$Array<Schema.Struct<{
|
|
4383
4201
|
readonly categoryKey: Schema.String;
|
|
4384
|
-
readonly label: Schema.
|
|
4385
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
4386
|
-
readonly kind: Schema.Literal<"math">;
|
|
4387
|
-
readonly math: Schema.String;
|
|
4388
|
-
}>, Schema.Struct<{
|
|
4389
|
-
readonly kind: Schema.Literal<"text">;
|
|
4390
|
-
readonly text: Schema.String;
|
|
4391
|
-
}>]>>;
|
|
4202
|
+
readonly label: Schema.String;
|
|
4392
4203
|
readonly order: Schema.Int;
|
|
4393
4204
|
}>>;
|
|
4394
4205
|
readonly kind: Schema.Literal<"category">;
|
|
4395
4206
|
readonly statements: Schema.$Array<Schema.Struct<{
|
|
4396
4207
|
readonly correctCategoryKey: Schema.String;
|
|
4397
|
-
readonly label: Schema.
|
|
4398
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
4399
|
-
readonly kind: Schema.Literal<"math">;
|
|
4400
|
-
readonly math: Schema.String;
|
|
4401
|
-
}>, Schema.Struct<{
|
|
4402
|
-
readonly kind: Schema.Literal<"text">;
|
|
4403
|
-
readonly text: Schema.String;
|
|
4404
|
-
}>]>>;
|
|
4208
|
+
readonly label: Schema.String;
|
|
4405
4209
|
readonly order: Schema.Int;
|
|
4406
4210
|
readonly statementKey: Schema.String;
|
|
4407
4211
|
}>>;
|
|
@@ -4409,14 +4213,7 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4409
4213
|
readonly kind: Schema.Literal<"multiple-choice">;
|
|
4410
4214
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
4411
4215
|
readonly isCorrect: Schema.Boolean;
|
|
4412
|
-
readonly label: Schema.
|
|
4413
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
4414
|
-
readonly kind: Schema.Literal<"math">;
|
|
4415
|
-
readonly math: Schema.String;
|
|
4416
|
-
}>, Schema.Struct<{
|
|
4417
|
-
readonly kind: Schema.Literal<"text">;
|
|
4418
|
-
readonly text: Schema.String;
|
|
4419
|
-
}>]>>;
|
|
4216
|
+
readonly label: Schema.String;
|
|
4420
4217
|
readonly optionKey: Schema.String;
|
|
4421
4218
|
readonly order: Schema.Int;
|
|
4422
4219
|
}>>;
|
|
@@ -4424,14 +4221,7 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4424
4221
|
readonly kind: Schema.Literal<"single-choice">;
|
|
4425
4222
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
4426
4223
|
readonly isCorrect: Schema.Boolean;
|
|
4427
|
-
readonly label: Schema.
|
|
4428
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
4429
|
-
readonly kind: Schema.Literal<"math">;
|
|
4430
|
-
readonly math: Schema.String;
|
|
4431
|
-
}>, Schema.Struct<{
|
|
4432
|
-
readonly kind: Schema.Literal<"text">;
|
|
4433
|
-
readonly text: Schema.String;
|
|
4434
|
-
}>]>>;
|
|
4224
|
+
readonly label: Schema.String;
|
|
4435
4225
|
readonly optionKey: Schema.String;
|
|
4436
4226
|
readonly order: Schema.Int;
|
|
4437
4227
|
}>>;
|
|
@@ -4571,7 +4361,7 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4571
4361
|
readonly parentPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
4572
4362
|
readonly sitemap: Schema.Literal<true>;
|
|
4573
4363
|
readonly topicTitle: Schema.String;
|
|
4574
|
-
}>, Schema.
|
|
4364
|
+
}>, Schema.Struct<{
|
|
4575
4365
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
4576
4366
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
4577
4367
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -4586,21 +4376,7 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4586
4376
|
}>;
|
|
4587
4377
|
readonly sitemap: Schema.Literal<true>;
|
|
4588
4378
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
4589
|
-
}>, Schema.Struct<{
|
|
4590
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
4591
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
4592
|
-
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4593
|
-
readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
|
|
4594
|
-
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
4595
|
-
readonly kind: Schema.Literal<"public-page">;
|
|
4596
|
-
readonly metadata: Schema.Struct<{
|
|
4597
|
-
readonly description: Schema.Trimmed;
|
|
4598
|
-
readonly lastModified: Schema.String;
|
|
4599
|
-
readonly title: Schema.Trimmed;
|
|
4600
|
-
}>;
|
|
4601
|
-
readonly sitemap: Schema.Literal<true>;
|
|
4602
|
-
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
4603
|
-
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
4379
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
4604
4380
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
4605
4381
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
4606
4382
|
readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -4626,27 +4402,13 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4626
4402
|
readonly response: Schema.Union<readonly [Schema.Struct<{
|
|
4627
4403
|
readonly categories: Schema.$Array<Schema.Struct<{
|
|
4628
4404
|
readonly categoryKey: Schema.String;
|
|
4629
|
-
readonly label: Schema.
|
|
4630
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
4631
|
-
readonly kind: Schema.Literal<"math">;
|
|
4632
|
-
readonly math: Schema.String;
|
|
4633
|
-
}>, Schema.Struct<{
|
|
4634
|
-
readonly kind: Schema.Literal<"text">;
|
|
4635
|
-
readonly text: Schema.String;
|
|
4636
|
-
}>]>>;
|
|
4405
|
+
readonly label: Schema.String;
|
|
4637
4406
|
readonly order: Schema.Int;
|
|
4638
4407
|
}>>;
|
|
4639
4408
|
readonly kind: Schema.Literal<"category">;
|
|
4640
4409
|
readonly statements: Schema.$Array<Schema.Struct<{
|
|
4641
4410
|
readonly correctCategoryKey: Schema.String;
|
|
4642
|
-
readonly label: Schema.
|
|
4643
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
4644
|
-
readonly kind: Schema.Literal<"math">;
|
|
4645
|
-
readonly math: Schema.String;
|
|
4646
|
-
}>, Schema.Struct<{
|
|
4647
|
-
readonly kind: Schema.Literal<"text">;
|
|
4648
|
-
readonly text: Schema.String;
|
|
4649
|
-
}>]>>;
|
|
4411
|
+
readonly label: Schema.String;
|
|
4650
4412
|
readonly order: Schema.Int;
|
|
4651
4413
|
readonly statementKey: Schema.String;
|
|
4652
4414
|
}>>;
|
|
@@ -4654,14 +4416,7 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4654
4416
|
readonly kind: Schema.Literal<"multiple-choice">;
|
|
4655
4417
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
4656
4418
|
readonly isCorrect: Schema.Boolean;
|
|
4657
|
-
readonly label: Schema.
|
|
4658
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
4659
|
-
readonly kind: Schema.Literal<"math">;
|
|
4660
|
-
readonly math: Schema.String;
|
|
4661
|
-
}>, Schema.Struct<{
|
|
4662
|
-
readonly kind: Schema.Literal<"text">;
|
|
4663
|
-
readonly text: Schema.String;
|
|
4664
|
-
}>]>>;
|
|
4419
|
+
readonly label: Schema.String;
|
|
4665
4420
|
readonly optionKey: Schema.String;
|
|
4666
4421
|
readonly order: Schema.Int;
|
|
4667
4422
|
}>>;
|
|
@@ -4669,14 +4424,7 @@ export declare const PublicationResponseSchema: Schema.Union<readonly [Schema.Un
|
|
|
4669
4424
|
readonly kind: Schema.Literal<"single-choice">;
|
|
4670
4425
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
4671
4426
|
readonly isCorrect: Schema.Boolean;
|
|
4672
|
-
readonly label: Schema.
|
|
4673
|
-
readonly display: Schema.Literals<readonly ["block", "inline"]>;
|
|
4674
|
-
readonly kind: Schema.Literal<"math">;
|
|
4675
|
-
readonly math: Schema.String;
|
|
4676
|
-
}>, Schema.Struct<{
|
|
4677
|
-
readonly kind: Schema.Literal<"text">;
|
|
4678
|
-
readonly text: Schema.String;
|
|
4679
|
-
}>]>>;
|
|
4427
|
+
readonly label: Schema.String;
|
|
4680
4428
|
readonly optionKey: Schema.String;
|
|
4681
4429
|
readonly order: Schema.Int;
|
|
4682
4430
|
}>>;
|
|
@@ -5709,20 +5457,6 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
|
|
|
5709
5457
|
};
|
|
5710
5458
|
readonly sitemap: true;
|
|
5711
5459
|
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
5712
|
-
} | {
|
|
5713
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
5714
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
5715
|
-
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
5716
|
-
readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
|
|
5717
|
-
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
5718
|
-
readonly kind: "public-page";
|
|
5719
|
-
readonly metadata: {
|
|
5720
|
-
readonly description: string;
|
|
5721
|
-
readonly lastModified: string;
|
|
5722
|
-
readonly title: string;
|
|
5723
|
-
};
|
|
5724
|
-
readonly sitemap: true;
|
|
5725
|
-
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
5726
5460
|
} | {
|
|
5727
5461
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
5728
5462
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
@@ -5749,41 +5483,13 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
|
|
|
5749
5483
|
readonly response: {
|
|
5750
5484
|
readonly categories: readonly {
|
|
5751
5485
|
readonly categoryKey: string;
|
|
5752
|
-
readonly label:
|
|
5753
|
-
readonly display: "block" | "inline";
|
|
5754
|
-
readonly kind: "math";
|
|
5755
|
-
readonly math: string;
|
|
5756
|
-
} | {
|
|
5757
|
-
readonly kind: "text";
|
|
5758
|
-
readonly text: string;
|
|
5759
|
-
}, ...({
|
|
5760
|
-
readonly display: "block" | "inline";
|
|
5761
|
-
readonly kind: "math";
|
|
5762
|
-
readonly math: string;
|
|
5763
|
-
} | {
|
|
5764
|
-
readonly kind: "text";
|
|
5765
|
-
readonly text: string;
|
|
5766
|
-
})[]];
|
|
5486
|
+
readonly label: string;
|
|
5767
5487
|
readonly order: number;
|
|
5768
5488
|
}[];
|
|
5769
5489
|
readonly kind: "category";
|
|
5770
5490
|
readonly statements: readonly {
|
|
5771
5491
|
readonly correctCategoryKey: string;
|
|
5772
|
-
readonly label:
|
|
5773
|
-
readonly display: "block" | "inline";
|
|
5774
|
-
readonly kind: "math";
|
|
5775
|
-
readonly math: string;
|
|
5776
|
-
} | {
|
|
5777
|
-
readonly kind: "text";
|
|
5778
|
-
readonly text: string;
|
|
5779
|
-
}, ...({
|
|
5780
|
-
readonly display: "block" | "inline";
|
|
5781
|
-
readonly kind: "math";
|
|
5782
|
-
readonly math: string;
|
|
5783
|
-
} | {
|
|
5784
|
-
readonly kind: "text";
|
|
5785
|
-
readonly text: string;
|
|
5786
|
-
})[]];
|
|
5492
|
+
readonly label: string;
|
|
5787
5493
|
readonly order: number;
|
|
5788
5494
|
readonly statementKey: string;
|
|
5789
5495
|
}[];
|
|
@@ -5791,21 +5497,7 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
|
|
|
5791
5497
|
readonly kind: "multiple-choice";
|
|
5792
5498
|
readonly options: readonly {
|
|
5793
5499
|
readonly isCorrect: boolean;
|
|
5794
|
-
readonly label:
|
|
5795
|
-
readonly display: "block" | "inline";
|
|
5796
|
-
readonly kind: "math";
|
|
5797
|
-
readonly math: string;
|
|
5798
|
-
} | {
|
|
5799
|
-
readonly kind: "text";
|
|
5800
|
-
readonly text: string;
|
|
5801
|
-
}, ...({
|
|
5802
|
-
readonly display: "block" | "inline";
|
|
5803
|
-
readonly kind: "math";
|
|
5804
|
-
readonly math: string;
|
|
5805
|
-
} | {
|
|
5806
|
-
readonly kind: "text";
|
|
5807
|
-
readonly text: string;
|
|
5808
|
-
})[]];
|
|
5500
|
+
readonly label: string;
|
|
5809
5501
|
readonly optionKey: string;
|
|
5810
5502
|
readonly order: number;
|
|
5811
5503
|
}[];
|
|
@@ -5813,21 +5505,7 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
|
|
|
5813
5505
|
readonly kind: "single-choice";
|
|
5814
5506
|
readonly options: readonly {
|
|
5815
5507
|
readonly isCorrect: boolean;
|
|
5816
|
-
readonly label:
|
|
5817
|
-
readonly display: "block" | "inline";
|
|
5818
|
-
readonly kind: "math";
|
|
5819
|
-
readonly math: string;
|
|
5820
|
-
} | {
|
|
5821
|
-
readonly kind: "text";
|
|
5822
|
-
readonly text: string;
|
|
5823
|
-
}, ...({
|
|
5824
|
-
readonly display: "block" | "inline";
|
|
5825
|
-
readonly kind: "math";
|
|
5826
|
-
readonly math: string;
|
|
5827
|
-
} | {
|
|
5828
|
-
readonly kind: "text";
|
|
5829
|
-
readonly text: string;
|
|
5830
|
-
})[]];
|
|
5508
|
+
readonly label: string;
|
|
5831
5509
|
readonly optionKey: string;
|
|
5832
5510
|
readonly order: number;
|
|
5833
5511
|
}[];
|
|
@@ -5982,20 +5660,6 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
|
|
|
5982
5660
|
};
|
|
5983
5661
|
readonly sitemap: true;
|
|
5984
5662
|
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
5985
|
-
} | {
|
|
5986
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
5987
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
5988
|
-
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
5989
|
-
readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
|
|
5990
|
-
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
5991
|
-
readonly kind: "public-page";
|
|
5992
|
-
readonly metadata: {
|
|
5993
|
-
readonly description: string;
|
|
5994
|
-
readonly lastModified: string;
|
|
5995
|
-
readonly title: string;
|
|
5996
|
-
};
|
|
5997
|
-
readonly sitemap: true;
|
|
5998
|
-
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
5999
5663
|
} | {
|
|
6000
5664
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
6001
5665
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
@@ -6022,41 +5686,13 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
|
|
|
6022
5686
|
readonly response: {
|
|
6023
5687
|
readonly categories: readonly {
|
|
6024
5688
|
readonly categoryKey: string;
|
|
6025
|
-
readonly label:
|
|
6026
|
-
readonly display: "block" | "inline";
|
|
6027
|
-
readonly kind: "math";
|
|
6028
|
-
readonly math: string;
|
|
6029
|
-
} | {
|
|
6030
|
-
readonly kind: "text";
|
|
6031
|
-
readonly text: string;
|
|
6032
|
-
}, ...({
|
|
6033
|
-
readonly display: "block" | "inline";
|
|
6034
|
-
readonly kind: "math";
|
|
6035
|
-
readonly math: string;
|
|
6036
|
-
} | {
|
|
6037
|
-
readonly kind: "text";
|
|
6038
|
-
readonly text: string;
|
|
6039
|
-
})[]];
|
|
5689
|
+
readonly label: string;
|
|
6040
5690
|
readonly order: number;
|
|
6041
5691
|
}[];
|
|
6042
5692
|
readonly kind: "category";
|
|
6043
5693
|
readonly statements: readonly {
|
|
6044
5694
|
readonly correctCategoryKey: string;
|
|
6045
|
-
readonly label:
|
|
6046
|
-
readonly display: "block" | "inline";
|
|
6047
|
-
readonly kind: "math";
|
|
6048
|
-
readonly math: string;
|
|
6049
|
-
} | {
|
|
6050
|
-
readonly kind: "text";
|
|
6051
|
-
readonly text: string;
|
|
6052
|
-
}, ...({
|
|
6053
|
-
readonly display: "block" | "inline";
|
|
6054
|
-
readonly kind: "math";
|
|
6055
|
-
readonly math: string;
|
|
6056
|
-
} | {
|
|
6057
|
-
readonly kind: "text";
|
|
6058
|
-
readonly text: string;
|
|
6059
|
-
})[]];
|
|
5695
|
+
readonly label: string;
|
|
6060
5696
|
readonly order: number;
|
|
6061
5697
|
readonly statementKey: string;
|
|
6062
5698
|
}[];
|
|
@@ -6064,21 +5700,7 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
|
|
|
6064
5700
|
readonly kind: "multiple-choice";
|
|
6065
5701
|
readonly options: readonly {
|
|
6066
5702
|
readonly isCorrect: boolean;
|
|
6067
|
-
readonly label:
|
|
6068
|
-
readonly display: "block" | "inline";
|
|
6069
|
-
readonly kind: "math";
|
|
6070
|
-
readonly math: string;
|
|
6071
|
-
} | {
|
|
6072
|
-
readonly kind: "text";
|
|
6073
|
-
readonly text: string;
|
|
6074
|
-
}, ...({
|
|
6075
|
-
readonly display: "block" | "inline";
|
|
6076
|
-
readonly kind: "math";
|
|
6077
|
-
readonly math: string;
|
|
6078
|
-
} | {
|
|
6079
|
-
readonly kind: "text";
|
|
6080
|
-
readonly text: string;
|
|
6081
|
-
})[]];
|
|
5703
|
+
readonly label: string;
|
|
6082
5704
|
readonly optionKey: string;
|
|
6083
5705
|
readonly order: number;
|
|
6084
5706
|
}[];
|
|
@@ -6086,21 +5708,7 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
|
|
|
6086
5708
|
readonly kind: "single-choice";
|
|
6087
5709
|
readonly options: readonly {
|
|
6088
5710
|
readonly isCorrect: boolean;
|
|
6089
|
-
readonly label:
|
|
6090
|
-
readonly display: "block" | "inline";
|
|
6091
|
-
readonly kind: "math";
|
|
6092
|
-
readonly math: string;
|
|
6093
|
-
} | {
|
|
6094
|
-
readonly kind: "text";
|
|
6095
|
-
readonly text: string;
|
|
6096
|
-
}, ...({
|
|
6097
|
-
readonly display: "block" | "inline";
|
|
6098
|
-
readonly kind: "math";
|
|
6099
|
-
readonly math: string;
|
|
6100
|
-
} | {
|
|
6101
|
-
readonly kind: "text";
|
|
6102
|
-
readonly text: string;
|
|
6103
|
-
})[]];
|
|
5711
|
+
readonly label: string;
|
|
6104
5712
|
readonly optionKey: string;
|
|
6105
5713
|
readonly order: number;
|
|
6106
5714
|
}[];
|