@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.
@@ -1495,6 +1495,206 @@ export declare const PublicationRequestSchema: Schema.Union<readonly [Schema.Str
1495
1495
  }>]>]>>;
1496
1496
  readonly releaseId: Schema.brand<Schema.String, "@NakafaAI/AksaraReleaseId">;
1497
1497
  readonly operation: Schema.Literal<"stageProjectionBatch">;
1498
+ }>, Schema.Struct<{
1499
+ readonly batchIndex: Schema.Finite;
1500
+ readonly projections: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1501
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
1502
+ readonly articleRouteSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleRouteSlug">;
1503
+ readonly articleSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleSlug">;
1504
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
1505
+ readonly category: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleCategory">;
1506
+ readonly categoryRouteSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleRouteSlug">;
1507
+ readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
1508
+ readonly graph: Schema.Struct<{
1509
+ readonly alignmentId: Schema.String;
1510
+ readonly assetId: Schema.String;
1511
+ readonly conceptId: Schema.String;
1512
+ readonly learningObjectId: Schema.String;
1513
+ readonly lensId: Schema.String;
1514
+ }>;
1515
+ readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
1516
+ readonly categoryTitle: Schema.Trimmed;
1517
+ readonly kind: Schema.Literal<"article">;
1518
+ readonly metadata: Schema.Struct<{
1519
+ readonly dateModified: Schema.optionalKey<Schema.String>;
1520
+ readonly datePublished: Schema.String;
1521
+ readonly authors: Schema.$Array<Schema.Struct<{
1522
+ readonly name: Schema.String;
1523
+ }>>;
1524
+ readonly description: Schema.optional<Schema.String>;
1525
+ readonly title: Schema.String;
1526
+ }>;
1527
+ readonly official: Schema.Boolean;
1528
+ readonly parentPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
1529
+ readonly references: Schema.$Array<Schema.Struct<{
1530
+ readonly authors: Schema.String;
1531
+ readonly citation: Schema.optional<Schema.String>;
1532
+ readonly details: Schema.optional<Schema.String>;
1533
+ readonly publication: Schema.optional<Schema.String>;
1534
+ readonly title: Schema.String;
1535
+ readonly url: Schema.optional<Schema.String>;
1536
+ readonly year: Schema.Finite;
1537
+ }>>;
1538
+ readonly sitemap: Schema.Literal<true>;
1539
+ }>, Schema.Struct<{
1540
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
1541
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
1542
+ readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
1543
+ readonly graph: Schema.Struct<{
1544
+ readonly alignmentId: Schema.String;
1545
+ readonly assetId: Schema.String;
1546
+ readonly conceptId: Schema.String;
1547
+ readonly learningObjectId: Schema.String;
1548
+ readonly lensId: Schema.String;
1549
+ }>;
1550
+ readonly materialKey: Schema.brand<Schema.String, "@NakafaAI/AksaraMaterialKey">;
1551
+ readonly order: Schema.Finite;
1552
+ readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
1553
+ readonly sectionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraMaterialSection">;
1554
+ readonly kind: Schema.Literal<"subject-lesson">;
1555
+ readonly metadata: Schema.Struct<{
1556
+ readonly dateModified: Schema.optionalKey<Schema.String>;
1557
+ readonly datePublished: Schema.String;
1558
+ readonly authors: Schema.$Array<Schema.Struct<{
1559
+ readonly name: Schema.String;
1560
+ }>>;
1561
+ readonly description: Schema.optional<Schema.String>;
1562
+ readonly subject: Schema.optional<Schema.String>;
1563
+ readonly title: Schema.String;
1564
+ }>;
1565
+ readonly parentPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
1566
+ readonly sitemap: Schema.Literal<true>;
1567
+ readonly topicTitle: Schema.String;
1568
+ }>, Schema.Struct<{
1569
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
1570
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
1571
+ readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
1572
+ readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
1573
+ readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
1574
+ readonly kind: Schema.Literal<"public-page">;
1575
+ readonly metadata: Schema.Struct<{
1576
+ readonly dateModified: Schema.optionalKey<Schema.String>;
1577
+ readonly datePublished: Schema.String;
1578
+ readonly description: Schema.Trimmed;
1579
+ readonly title: Schema.Trimmed;
1580
+ }>;
1581
+ readonly sitemap: Schema.Literal<true>;
1582
+ readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
1583
+ }>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
1584
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
1585
+ readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
1586
+ readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
1587
+ readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
1588
+ readonly questionNumber: Schema.Finite;
1589
+ readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
1590
+ readonly bodyKind: Schema.Literal<"question">;
1591
+ readonly blueprint: Schema.optionalKey<Schema.Struct<{
1592
+ readonly cognitiveLevel: Schema.String;
1593
+ readonly contentDomain: Schema.String;
1594
+ readonly topic: Schema.String;
1595
+ }>>;
1596
+ readonly kind: Schema.Literal<"question-body">;
1597
+ readonly metadata: Schema.Struct<{
1598
+ readonly dateModified: Schema.optionalKey<Schema.String>;
1599
+ readonly datePublished: Schema.String;
1600
+ readonly authors: Schema.$Array<Schema.Struct<{
1601
+ readonly name: Schema.String;
1602
+ }>>;
1603
+ readonly title: Schema.String;
1604
+ }>;
1605
+ readonly stimulusKey: Schema.optionalKey<Schema.String>;
1606
+ readonly response: Schema.Union<readonly [Schema.Struct<{
1607
+ readonly categories: Schema.$Array<Schema.Struct<{
1608
+ readonly categoryKey: Schema.String;
1609
+ readonly label: Schema.String;
1610
+ readonly order: Schema.Int;
1611
+ }>>;
1612
+ readonly kind: Schema.Literal<"category">;
1613
+ readonly statements: Schema.$Array<Schema.Struct<{
1614
+ readonly correctCategoryKey: Schema.String;
1615
+ readonly label: Schema.String;
1616
+ readonly order: Schema.Int;
1617
+ readonly statementKey: Schema.String;
1618
+ }>>;
1619
+ }>, Schema.Struct<{
1620
+ readonly kind: Schema.Literal<"multiple-choice">;
1621
+ readonly options: Schema.$Array<Schema.Struct<{
1622
+ readonly isCorrect: Schema.Boolean;
1623
+ readonly label: Schema.String;
1624
+ readonly optionKey: Schema.String;
1625
+ readonly order: Schema.Int;
1626
+ }>>;
1627
+ }>, Schema.Struct<{
1628
+ readonly kind: Schema.Literal<"single-choice">;
1629
+ readonly options: Schema.$Array<Schema.Struct<{
1630
+ readonly isCorrect: Schema.Boolean;
1631
+ readonly label: Schema.String;
1632
+ readonly optionKey: Schema.String;
1633
+ readonly order: Schema.Int;
1634
+ }>>;
1635
+ }>]>;
1636
+ }>, Schema.Struct<{
1637
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
1638
+ readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
1639
+ readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
1640
+ readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
1641
+ readonly questionNumber: Schema.Finite;
1642
+ readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
1643
+ readonly bodyKind: Schema.Literal<"answer">;
1644
+ readonly blueprint: Schema.optionalKey<Schema.Struct<{
1645
+ readonly cognitiveLevel: Schema.String;
1646
+ readonly contentDomain: Schema.String;
1647
+ readonly topic: Schema.String;
1648
+ }>>;
1649
+ readonly kind: Schema.Literal<"question-body">;
1650
+ readonly metadata: Schema.Struct<{
1651
+ readonly dateModified: Schema.optionalKey<Schema.String>;
1652
+ readonly datePublished: Schema.String;
1653
+ readonly authors: Schema.$Array<Schema.Struct<{
1654
+ readonly name: Schema.String;
1655
+ }>>;
1656
+ readonly title: Schema.String;
1657
+ }>;
1658
+ readonly stimulusKey: Schema.optionalKey<Schema.String>;
1659
+ }>]>, Schema.Union<readonly [Schema.Struct<{
1660
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
1661
+ readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
1662
+ readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
1663
+ readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
1664
+ readonly questionNumber: Schema.Finite;
1665
+ readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
1666
+ readonly bodyKind: Schema.Literal<"question">;
1667
+ readonly kind: Schema.Literal<"question-body">;
1668
+ readonly metadata: Schema.Struct<{
1669
+ readonly authors: Schema.$Array<Schema.Struct<{
1670
+ readonly name: Schema.String;
1671
+ }>>;
1672
+ readonly date: Schema.String;
1673
+ readonly title: Schema.String;
1674
+ }>;
1675
+ readonly choices: Schema.mutable<Schema.$Array<Schema.Struct<{
1676
+ readonly label: Schema.mutableKey<Schema.String>;
1677
+ readonly value: Schema.mutableKey<Schema.Boolean>;
1678
+ }>>>;
1679
+ }>, Schema.Struct<{
1680
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
1681
+ readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
1682
+ readonly peerContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
1683
+ readonly questionKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionKey">;
1684
+ readonly questionNumber: Schema.Finite;
1685
+ readonly setKey: Schema.brand<Schema.String, "@NakafaAI/AksaraQuestionSetKey">;
1686
+ readonly bodyKind: Schema.Literal<"answer">;
1687
+ readonly kind: Schema.Literal<"question-body">;
1688
+ readonly metadata: Schema.Struct<{
1689
+ readonly authors: Schema.$Array<Schema.Struct<{
1690
+ readonly name: Schema.String;
1691
+ }>>;
1692
+ readonly date: Schema.String;
1693
+ readonly title: Schema.String;
1694
+ }>;
1695
+ }>]>]>]>>;
1696
+ readonly releaseId: Schema.brand<Schema.String, "@NakafaAI/AksaraReleaseId">;
1697
+ readonly operation: Schema.Literal<"stageRollbackProjectionBatch">;
1498
1698
  }>, Schema.Struct<{
1499
1699
  readonly batchIndex: Schema.Finite;
1500
1700
  readonly releaseId: Schema.brand<Schema.String, "@NakafaAI/AksaraReleaseId">;
@@ -5796,53 +5996,448 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
5796
5996
  readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
5797
5997
  readonly operation: "stageProjectionBatch";
5798
5998
  } | {
5799
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
5800
- readonly snapshot: {
5801
- readonly family: "program";
5802
- readonly manifest: {
5803
- readonly curriculumRowCount: number;
5804
- readonly programRowCount: number;
5805
- readonly rowCount: number;
5806
- readonly sitemapCount: number;
5807
- readonly slugCount: number;
5808
- readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
5809
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5810
- readonly format: "localized-program-snapshot";
5811
- readonly snapshotId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5999
+ readonly batchIndex: number;
6000
+ readonly projections: readonly [{
6001
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6002
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6003
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6004
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
6005
+ readonly questionNumber: number;
6006
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
6007
+ readonly bodyKind: "question";
6008
+ readonly blueprint?: {
6009
+ readonly cognitiveLevel: string;
6010
+ readonly contentDomain: string;
6011
+ readonly topic: string;
5812
6012
  };
5813
- } | {
5814
- readonly family: "quran";
5815
- readonly manifest: {
5816
- readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
5817
- readonly attributionCount: number;
5818
- readonly chunkCount: number;
5819
- readonly projectionCount: number;
5820
- readonly projectionDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5821
- readonly provenanceDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5822
- readonly provenanceStatus: "approved" | "blocked";
5823
- readonly runtimeCount: number;
5824
- readonly runtimeDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5825
- readonly searchCount: number;
5826
- readonly searchDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5827
- readonly sourceBytes: number;
5828
- readonly sourceDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5829
- readonly sourceFileCount: number;
5830
- readonly surahCount: number;
5831
- readonly tafsirLocales: readonly "id"[];
5832
- readonly verseCount: number;
5833
- readonly format: "localized-quran-snapshot";
5834
- readonly snapshotId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
6013
+ readonly kind: "question-body";
6014
+ readonly metadata: {
6015
+ readonly dateModified?: string;
6016
+ readonly datePublished: string;
6017
+ readonly authors: readonly {
6018
+ readonly name: string;
6019
+ }[];
6020
+ readonly title: string;
5835
6021
  };
5836
- } | {
5837
- readonly family: "tryout";
5838
- readonly manifest: {
5839
- readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
5840
- readonly catalogDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5841
- readonly counts: {
5842
- readonly country: number;
5843
- readonly exam: number;
5844
- readonly section: number;
5845
- readonly set: number;
6022
+ readonly stimulusKey?: string;
6023
+ readonly response: {
6024
+ readonly categories: readonly {
6025
+ readonly categoryKey: string;
6026
+ readonly label: string;
6027
+ readonly order: number;
6028
+ }[];
6029
+ readonly kind: "category";
6030
+ readonly statements: readonly {
6031
+ readonly correctCategoryKey: string;
6032
+ readonly label: string;
6033
+ readonly order: number;
6034
+ readonly statementKey: string;
6035
+ }[];
6036
+ } | {
6037
+ readonly kind: "multiple-choice";
6038
+ readonly options: readonly {
6039
+ readonly isCorrect: boolean;
6040
+ readonly label: string;
6041
+ readonly optionKey: string;
6042
+ readonly order: number;
6043
+ }[];
6044
+ } | {
6045
+ readonly kind: "single-choice";
6046
+ readonly options: readonly {
6047
+ readonly isCorrect: boolean;
6048
+ readonly label: string;
6049
+ readonly optionKey: string;
6050
+ readonly order: number;
6051
+ }[];
6052
+ };
6053
+ } | {
6054
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6055
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6056
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6057
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
6058
+ readonly questionNumber: number;
6059
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
6060
+ readonly bodyKind: "answer";
6061
+ readonly blueprint?: {
6062
+ readonly cognitiveLevel: string;
6063
+ readonly contentDomain: string;
6064
+ readonly topic: string;
6065
+ };
6066
+ readonly kind: "question-body";
6067
+ readonly metadata: {
6068
+ readonly dateModified?: string;
6069
+ readonly datePublished: string;
6070
+ readonly authors: readonly {
6071
+ readonly name: string;
6072
+ }[];
6073
+ readonly title: string;
6074
+ };
6075
+ readonly stimulusKey?: string;
6076
+ } | {
6077
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6078
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6079
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6080
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
6081
+ readonly questionNumber: number;
6082
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
6083
+ readonly bodyKind: "question";
6084
+ readonly kind: "question-body";
6085
+ readonly metadata: {
6086
+ readonly authors: readonly {
6087
+ readonly name: string;
6088
+ }[];
6089
+ readonly date: string;
6090
+ readonly title: string;
6091
+ };
6092
+ readonly choices: {
6093
+ label: string;
6094
+ value: boolean;
6095
+ }[];
6096
+ } | {
6097
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6098
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6099
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6100
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
6101
+ readonly questionNumber: number;
6102
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
6103
+ readonly bodyKind: "answer";
6104
+ readonly kind: "question-body";
6105
+ readonly metadata: {
6106
+ readonly authors: readonly {
6107
+ readonly name: string;
6108
+ }[];
6109
+ readonly date: string;
6110
+ readonly title: string;
6111
+ };
6112
+ } | {
6113
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
6114
+ readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
6115
+ readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
6116
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6117
+ readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
6118
+ readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
6119
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6120
+ readonly graph: {
6121
+ readonly alignmentId: string;
6122
+ readonly assetId: string;
6123
+ readonly conceptId: string;
6124
+ readonly learningObjectId: string;
6125
+ readonly lensId: string;
6126
+ };
6127
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6128
+ readonly categoryTitle: string;
6129
+ readonly kind: "article";
6130
+ readonly metadata: {
6131
+ readonly dateModified?: string;
6132
+ readonly datePublished: string;
6133
+ readonly authors: readonly {
6134
+ readonly name: string;
6135
+ }[];
6136
+ readonly description?: string | undefined;
6137
+ readonly title: string;
6138
+ };
6139
+ readonly official: boolean;
6140
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6141
+ readonly references: readonly {
6142
+ readonly authors: string;
6143
+ readonly citation?: string | undefined;
6144
+ readonly details?: string | undefined;
6145
+ readonly publication?: string | undefined;
6146
+ readonly title: string;
6147
+ readonly url?: string | undefined;
6148
+ readonly year: number;
6149
+ }[];
6150
+ readonly sitemap: true;
6151
+ } | {
6152
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
6153
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6154
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6155
+ readonly graph: {
6156
+ readonly alignmentId: string;
6157
+ readonly assetId: string;
6158
+ readonly conceptId: string;
6159
+ readonly learningObjectId: string;
6160
+ readonly lensId: string;
6161
+ };
6162
+ readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
6163
+ readonly order: number;
6164
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6165
+ readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
6166
+ readonly kind: "subject-lesson";
6167
+ readonly metadata: {
6168
+ readonly dateModified?: string;
6169
+ readonly datePublished: string;
6170
+ readonly authors: readonly {
6171
+ readonly name: string;
6172
+ }[];
6173
+ readonly description?: string | undefined;
6174
+ readonly subject?: string | undefined;
6175
+ readonly title: string;
6176
+ };
6177
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6178
+ readonly sitemap: true;
6179
+ readonly topicTitle: string;
6180
+ } | {
6181
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
6182
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6183
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6184
+ readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
6185
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6186
+ readonly kind: "public-page";
6187
+ readonly metadata: {
6188
+ readonly dateModified?: string;
6189
+ readonly datePublished: string;
6190
+ readonly description: string;
6191
+ readonly title: string;
6192
+ };
6193
+ readonly sitemap: true;
6194
+ readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
6195
+ }, ...({
6196
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6197
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6198
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6199
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
6200
+ readonly questionNumber: number;
6201
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
6202
+ readonly bodyKind: "question";
6203
+ readonly blueprint?: {
6204
+ readonly cognitiveLevel: string;
6205
+ readonly contentDomain: string;
6206
+ readonly topic: string;
6207
+ };
6208
+ readonly kind: "question-body";
6209
+ readonly metadata: {
6210
+ readonly dateModified?: string;
6211
+ readonly datePublished: string;
6212
+ readonly authors: readonly {
6213
+ readonly name: string;
6214
+ }[];
6215
+ readonly title: string;
6216
+ };
6217
+ readonly stimulusKey?: string;
6218
+ readonly response: {
6219
+ readonly categories: readonly {
6220
+ readonly categoryKey: string;
6221
+ readonly label: string;
6222
+ readonly order: number;
6223
+ }[];
6224
+ readonly kind: "category";
6225
+ readonly statements: readonly {
6226
+ readonly correctCategoryKey: string;
6227
+ readonly label: string;
6228
+ readonly order: number;
6229
+ readonly statementKey: string;
6230
+ }[];
6231
+ } | {
6232
+ readonly kind: "multiple-choice";
6233
+ readonly options: readonly {
6234
+ readonly isCorrect: boolean;
6235
+ readonly label: string;
6236
+ readonly optionKey: string;
6237
+ readonly order: number;
6238
+ }[];
6239
+ } | {
6240
+ readonly kind: "single-choice";
6241
+ readonly options: readonly {
6242
+ readonly isCorrect: boolean;
6243
+ readonly label: string;
6244
+ readonly optionKey: string;
6245
+ readonly order: number;
6246
+ }[];
6247
+ };
6248
+ } | {
6249
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6250
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6251
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6252
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
6253
+ readonly questionNumber: number;
6254
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
6255
+ readonly bodyKind: "answer";
6256
+ readonly blueprint?: {
6257
+ readonly cognitiveLevel: string;
6258
+ readonly contentDomain: string;
6259
+ readonly topic: string;
6260
+ };
6261
+ readonly kind: "question-body";
6262
+ readonly metadata: {
6263
+ readonly dateModified?: string;
6264
+ readonly datePublished: string;
6265
+ readonly authors: readonly {
6266
+ readonly name: string;
6267
+ }[];
6268
+ readonly title: string;
6269
+ };
6270
+ readonly stimulusKey?: string;
6271
+ } | {
6272
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6273
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6274
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6275
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
6276
+ readonly questionNumber: number;
6277
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
6278
+ readonly bodyKind: "question";
6279
+ readonly kind: "question-body";
6280
+ readonly metadata: {
6281
+ readonly authors: readonly {
6282
+ readonly name: string;
6283
+ }[];
6284
+ readonly date: string;
6285
+ readonly title: string;
6286
+ };
6287
+ readonly choices: {
6288
+ label: string;
6289
+ value: boolean;
6290
+ }[];
6291
+ } | {
6292
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6293
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6294
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6295
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
6296
+ readonly questionNumber: number;
6297
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
6298
+ readonly bodyKind: "answer";
6299
+ readonly kind: "question-body";
6300
+ readonly metadata: {
6301
+ readonly authors: readonly {
6302
+ readonly name: string;
6303
+ }[];
6304
+ readonly date: string;
6305
+ readonly title: string;
6306
+ };
6307
+ } | {
6308
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
6309
+ readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
6310
+ readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
6311
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6312
+ readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
6313
+ readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
6314
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6315
+ readonly graph: {
6316
+ readonly alignmentId: string;
6317
+ readonly assetId: string;
6318
+ readonly conceptId: string;
6319
+ readonly learningObjectId: string;
6320
+ readonly lensId: string;
6321
+ };
6322
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6323
+ readonly categoryTitle: string;
6324
+ readonly kind: "article";
6325
+ readonly metadata: {
6326
+ readonly dateModified?: string;
6327
+ readonly datePublished: string;
6328
+ readonly authors: readonly {
6329
+ readonly name: string;
6330
+ }[];
6331
+ readonly description?: string | undefined;
6332
+ readonly title: string;
6333
+ };
6334
+ readonly official: boolean;
6335
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6336
+ readonly references: readonly {
6337
+ readonly authors: string;
6338
+ readonly citation?: string | undefined;
6339
+ readonly details?: string | undefined;
6340
+ readonly publication?: string | undefined;
6341
+ readonly title: string;
6342
+ readonly url?: string | undefined;
6343
+ readonly year: number;
6344
+ }[];
6345
+ readonly sitemap: true;
6346
+ } | {
6347
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
6348
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6349
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6350
+ readonly graph: {
6351
+ readonly alignmentId: string;
6352
+ readonly assetId: string;
6353
+ readonly conceptId: string;
6354
+ readonly learningObjectId: string;
6355
+ readonly lensId: string;
6356
+ };
6357
+ readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
6358
+ readonly order: number;
6359
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6360
+ readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
6361
+ readonly kind: "subject-lesson";
6362
+ readonly metadata: {
6363
+ readonly dateModified?: string;
6364
+ readonly datePublished: string;
6365
+ readonly authors: readonly {
6366
+ readonly name: string;
6367
+ }[];
6368
+ readonly description?: string | undefined;
6369
+ readonly subject?: string | undefined;
6370
+ readonly title: string;
6371
+ };
6372
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6373
+ readonly sitemap: true;
6374
+ readonly topicTitle: string;
6375
+ } | {
6376
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
6377
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6378
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6379
+ readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
6380
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6381
+ readonly kind: "public-page";
6382
+ readonly metadata: {
6383
+ readonly dateModified?: string;
6384
+ readonly datePublished: string;
6385
+ readonly description: string;
6386
+ readonly title: string;
6387
+ };
6388
+ readonly sitemap: true;
6389
+ readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
6390
+ })[]];
6391
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
6392
+ readonly operation: "stageRollbackProjectionBatch";
6393
+ } | {
6394
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
6395
+ readonly snapshot: {
6396
+ readonly family: "program";
6397
+ readonly manifest: {
6398
+ readonly curriculumRowCount: number;
6399
+ readonly programRowCount: number;
6400
+ readonly rowCount: number;
6401
+ readonly sitemapCount: number;
6402
+ readonly slugCount: number;
6403
+ readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
6404
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
6405
+ readonly format: "localized-program-snapshot";
6406
+ readonly snapshotId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
6407
+ };
6408
+ } | {
6409
+ readonly family: "quran";
6410
+ readonly manifest: {
6411
+ readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
6412
+ readonly attributionCount: number;
6413
+ readonly chunkCount: number;
6414
+ readonly projectionCount: number;
6415
+ readonly projectionDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
6416
+ readonly provenanceDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
6417
+ readonly provenanceStatus: "approved" | "blocked";
6418
+ readonly runtimeCount: number;
6419
+ readonly runtimeDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
6420
+ readonly searchCount: number;
6421
+ readonly searchDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
6422
+ readonly sourceBytes: number;
6423
+ readonly sourceDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
6424
+ readonly sourceFileCount: number;
6425
+ readonly surahCount: number;
6426
+ readonly tafsirLocales: readonly "id"[];
6427
+ readonly verseCount: number;
6428
+ readonly format: "localized-quran-snapshot";
6429
+ readonly snapshotId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
6430
+ };
6431
+ } | {
6432
+ readonly family: "tryout";
6433
+ readonly manifest: {
6434
+ readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
6435
+ readonly catalogDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
6436
+ readonly counts: {
6437
+ readonly country: number;
6438
+ readonly exam: number;
6439
+ readonly section: number;
6440
+ readonly set: number;
5846
6441
  readonly track: number;
5847
6442
  };
5848
6443
  readonly placementCount: number;
@@ -6930,106 +7525,429 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6930
7525
  readonly index: number;
6931
7526
  readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
6932
7527
  }, ...{
6933
- readonly change: {
6934
- readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
7528
+ readonly change: {
7529
+ readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
7530
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7531
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7532
+ readonly delivery: "authenticated" | "entitled" | "public";
7533
+ readonly family: "article" | "material" | "page" | "question";
7534
+ readonly operation: "upsert";
7535
+ readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
7536
+ readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
7537
+ } | {
7538
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7539
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7540
+ readonly family: "article" | "material" | "page" | "question";
7541
+ readonly operation: "delete";
7542
+ };
7543
+ readonly index: number;
7544
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
7545
+ }[]];
7546
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
7547
+ readonly operation: "stageItemBatch";
7548
+ } | {
7549
+ readonly batchIndex: number;
7550
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
7551
+ readonly routes: readonly [{
7552
+ readonly change: {
7553
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
7554
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7555
+ readonly operation: "bind";
7556
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7557
+ } | {
7558
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
7559
+ readonly operation: "delete";
7560
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7561
+ };
7562
+ readonly index: number;
7563
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
7564
+ }, ...{
7565
+ readonly change: {
7566
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
7567
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7568
+ readonly operation: "bind";
7569
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7570
+ } | {
7571
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
7572
+ readonly operation: "delete";
7573
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7574
+ };
7575
+ readonly index: number;
7576
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
7577
+ }[]];
7578
+ readonly operation: "stageRouteBatch";
7579
+ } | {
7580
+ readonly artifacts: readonly [{
7581
+ readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
7582
+ readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
7583
+ readonly payload: {
7584
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7585
+ readonly byteLength: number;
7586
+ readonly compiledCode: string;
7587
+ readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
7588
+ readonly compilerVersion: "0.1.0";
7589
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7590
+ readonly format: "mdx-function-body";
7591
+ readonly mdxCompilerVersion: "3.1.1";
7592
+ readonly plainText: string;
7593
+ readonly rawMdx: string;
7594
+ readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
7595
+ readonly requiredComponents: readonly {
7596
+ readonly name: string;
7597
+ readonly version: number;
7598
+ }[];
7599
+ readonly sourceHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
7600
+ };
7601
+ readonly signature: string & import("effect/Brand").Brand<"@NakafaAI/AksaraEd25519Signature">;
7602
+ }, ...{
7603
+ readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
7604
+ readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
7605
+ readonly payload: {
6935
7606
  readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7607
+ readonly byteLength: number;
7608
+ readonly compiledCode: string;
7609
+ readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
7610
+ readonly compilerVersion: "0.1.0";
6936
7611
  readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6937
- readonly delivery: "authenticated" | "entitled" | "public";
6938
- readonly family: "article" | "material" | "page" | "question";
6939
- readonly operation: "upsert";
7612
+ readonly format: "mdx-function-body";
7613
+ readonly mdxCompilerVersion: "3.1.1";
7614
+ readonly plainText: string;
7615
+ readonly rawMdx: string;
6940
7616
  readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
6941
- readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
7617
+ readonly requiredComponents: readonly {
7618
+ readonly name: string;
7619
+ readonly version: number;
7620
+ }[];
7621
+ readonly sourceHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
7622
+ };
7623
+ readonly signature: string & import("effect/Brand").Brand<"@NakafaAI/AksaraEd25519Signature">;
7624
+ }[]];
7625
+ readonly batchIndex: number;
7626
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
7627
+ readonly operation: "stageArtifactBatch";
7628
+ } | {
7629
+ readonly batchIndex: number;
7630
+ readonly projections: readonly [{
7631
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7632
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7633
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7634
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
7635
+ readonly questionNumber: number;
7636
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
7637
+ readonly bodyKind: "question";
7638
+ readonly blueprint?: {
7639
+ readonly cognitiveLevel: string;
7640
+ readonly contentDomain: string;
7641
+ readonly topic: string;
7642
+ };
7643
+ readonly kind: "question-body";
7644
+ readonly metadata: {
7645
+ readonly dateModified?: string;
7646
+ readonly datePublished: string;
7647
+ readonly authors: readonly {
7648
+ readonly name: string;
7649
+ }[];
7650
+ readonly title: string;
7651
+ };
7652
+ readonly stimulusKey?: string;
7653
+ readonly response: {
7654
+ readonly categories: readonly {
7655
+ readonly categoryKey: string;
7656
+ readonly label: string;
7657
+ readonly order: number;
7658
+ }[];
7659
+ readonly kind: "category";
7660
+ readonly statements: readonly {
7661
+ readonly correctCategoryKey: string;
7662
+ readonly label: string;
7663
+ readonly order: number;
7664
+ readonly statementKey: string;
7665
+ }[];
7666
+ } | {
7667
+ readonly kind: "multiple-choice";
7668
+ readonly options: readonly {
7669
+ readonly isCorrect: boolean;
7670
+ readonly label: string;
7671
+ readonly optionKey: string;
7672
+ readonly order: number;
7673
+ }[];
7674
+ } | {
7675
+ readonly kind: "single-choice";
7676
+ readonly options: readonly {
7677
+ readonly isCorrect: boolean;
7678
+ readonly label: string;
7679
+ readonly optionKey: string;
7680
+ readonly order: number;
7681
+ }[];
7682
+ };
7683
+ } | {
7684
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7685
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7686
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7687
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
7688
+ readonly questionNumber: number;
7689
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
7690
+ readonly bodyKind: "answer";
7691
+ readonly blueprint?: {
7692
+ readonly cognitiveLevel: string;
7693
+ readonly contentDomain: string;
7694
+ readonly topic: string;
7695
+ };
7696
+ readonly kind: "question-body";
7697
+ readonly metadata: {
7698
+ readonly dateModified?: string;
7699
+ readonly datePublished: string;
7700
+ readonly authors: readonly {
7701
+ readonly name: string;
7702
+ }[];
7703
+ readonly title: string;
7704
+ };
7705
+ readonly stimulusKey?: string;
7706
+ } | {
7707
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
7708
+ readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
7709
+ readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
7710
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7711
+ readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
7712
+ readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
7713
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7714
+ readonly graph: {
7715
+ readonly alignmentId: string;
7716
+ readonly assetId: string;
7717
+ readonly conceptId: string;
7718
+ readonly learningObjectId: string;
7719
+ readonly lensId: string;
7720
+ };
7721
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7722
+ readonly categoryTitle: string;
7723
+ readonly kind: "article";
7724
+ readonly metadata: {
7725
+ readonly dateModified?: string;
7726
+ readonly datePublished: string;
7727
+ readonly authors: readonly {
7728
+ readonly name: string;
7729
+ }[];
7730
+ readonly description?: string | undefined;
7731
+ readonly title: string;
7732
+ };
7733
+ readonly official: boolean;
7734
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7735
+ readonly references: readonly {
7736
+ readonly authors: string;
7737
+ readonly citation?: string | undefined;
7738
+ readonly details?: string | undefined;
7739
+ readonly publication?: string | undefined;
7740
+ readonly title: string;
7741
+ readonly url?: string | undefined;
7742
+ readonly year: number;
7743
+ }[];
7744
+ readonly sitemap: true;
7745
+ } | {
7746
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
7747
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7748
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7749
+ readonly graph: {
7750
+ readonly alignmentId: string;
7751
+ readonly assetId: string;
7752
+ readonly conceptId: string;
7753
+ readonly learningObjectId: string;
7754
+ readonly lensId: string;
7755
+ };
7756
+ readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
7757
+ readonly order: number;
7758
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7759
+ readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
7760
+ readonly kind: "subject-lesson";
7761
+ readonly metadata: {
7762
+ readonly dateModified?: string;
7763
+ readonly datePublished: string;
7764
+ readonly authors: readonly {
7765
+ readonly name: string;
7766
+ }[];
7767
+ readonly description?: string | undefined;
7768
+ readonly subject?: string | undefined;
7769
+ readonly title: string;
7770
+ };
7771
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7772
+ readonly sitemap: true;
7773
+ readonly topicTitle: string;
7774
+ } | {
7775
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
7776
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7777
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7778
+ readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
7779
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7780
+ readonly kind: "public-page";
7781
+ readonly metadata: {
7782
+ readonly dateModified?: string;
7783
+ readonly datePublished: string;
7784
+ readonly description: string;
7785
+ readonly title: string;
7786
+ };
7787
+ readonly sitemap: true;
7788
+ readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
7789
+ }, ...({
7790
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7791
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7792
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7793
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
7794
+ readonly questionNumber: number;
7795
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
7796
+ readonly bodyKind: "question";
7797
+ readonly blueprint?: {
7798
+ readonly cognitiveLevel: string;
7799
+ readonly contentDomain: string;
7800
+ readonly topic: string;
7801
+ };
7802
+ readonly kind: "question-body";
7803
+ readonly metadata: {
7804
+ readonly dateModified?: string;
7805
+ readonly datePublished: string;
7806
+ readonly authors: readonly {
7807
+ readonly name: string;
7808
+ }[];
7809
+ readonly title: string;
7810
+ };
7811
+ readonly stimulusKey?: string;
7812
+ readonly response: {
7813
+ readonly categories: readonly {
7814
+ readonly categoryKey: string;
7815
+ readonly label: string;
7816
+ readonly order: number;
7817
+ }[];
7818
+ readonly kind: "category";
7819
+ readonly statements: readonly {
7820
+ readonly correctCategoryKey: string;
7821
+ readonly label: string;
7822
+ readonly order: number;
7823
+ readonly statementKey: string;
7824
+ }[];
7825
+ } | {
7826
+ readonly kind: "multiple-choice";
7827
+ readonly options: readonly {
7828
+ readonly isCorrect: boolean;
7829
+ readonly label: string;
7830
+ readonly optionKey: string;
7831
+ readonly order: number;
7832
+ }[];
6942
7833
  } | {
6943
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6944
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6945
- readonly family: "article" | "material" | "page" | "question";
6946
- readonly operation: "delete";
7834
+ readonly kind: "single-choice";
7835
+ readonly options: readonly {
7836
+ readonly isCorrect: boolean;
7837
+ readonly label: string;
7838
+ readonly optionKey: string;
7839
+ readonly order: number;
7840
+ }[];
6947
7841
  };
6948
- readonly index: number;
6949
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
6950
- }[]];
6951
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
6952
- readonly operation: "stageItemBatch";
6953
- } | {
6954
- readonly batchIndex: number;
6955
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
6956
- readonly routes: readonly [{
6957
- readonly change: {
6958
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
6959
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6960
- readonly operation: "bind";
6961
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6962
- } | {
6963
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
6964
- readonly operation: "delete";
6965
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7842
+ } | {
7843
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7844
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7845
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7846
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
7847
+ readonly questionNumber: number;
7848
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
7849
+ readonly bodyKind: "answer";
7850
+ readonly blueprint?: {
7851
+ readonly cognitiveLevel: string;
7852
+ readonly contentDomain: string;
7853
+ readonly topic: string;
6966
7854
  };
6967
- readonly index: number;
6968
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
6969
- }, ...{
6970
- readonly change: {
6971
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
6972
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6973
- readonly operation: "bind";
6974
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6975
- } | {
6976
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
6977
- readonly operation: "delete";
6978
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7855
+ readonly kind: "question-body";
7856
+ readonly metadata: {
7857
+ readonly dateModified?: string;
7858
+ readonly datePublished: string;
7859
+ readonly authors: readonly {
7860
+ readonly name: string;
7861
+ }[];
7862
+ readonly title: string;
6979
7863
  };
6980
- readonly index: number;
6981
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
6982
- }[]];
6983
- readonly operation: "stageRouteBatch";
6984
- } | {
6985
- readonly artifacts: readonly [{
6986
- readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
6987
- readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
6988
- readonly payload: {
6989
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6990
- readonly byteLength: number;
6991
- readonly compiledCode: string;
6992
- readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
6993
- readonly compilerVersion: "0.1.0";
6994
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6995
- readonly format: "mdx-function-body";
6996
- readonly mdxCompilerVersion: "3.1.1";
6997
- readonly plainText: string;
6998
- readonly rawMdx: string;
6999
- readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
7000
- readonly requiredComponents: readonly {
7864
+ readonly stimulusKey?: string;
7865
+ } | {
7866
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
7867
+ readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
7868
+ readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
7869
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7870
+ readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
7871
+ readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
7872
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7873
+ readonly graph: {
7874
+ readonly alignmentId: string;
7875
+ readonly assetId: string;
7876
+ readonly conceptId: string;
7877
+ readonly learningObjectId: string;
7878
+ readonly lensId: string;
7879
+ };
7880
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7881
+ readonly categoryTitle: string;
7882
+ readonly kind: "article";
7883
+ readonly metadata: {
7884
+ readonly dateModified?: string;
7885
+ readonly datePublished: string;
7886
+ readonly authors: readonly {
7001
7887
  readonly name: string;
7002
- readonly version: number;
7003
7888
  }[];
7004
- readonly sourceHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
7889
+ readonly description?: string | undefined;
7890
+ readonly title: string;
7005
7891
  };
7006
- readonly signature: string & import("effect/Brand").Brand<"@NakafaAI/AksaraEd25519Signature">;
7007
- }, ...{
7008
- readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
7009
- readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
7010
- readonly payload: {
7011
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7012
- readonly byteLength: number;
7013
- readonly compiledCode: string;
7014
- readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
7015
- readonly compilerVersion: "0.1.0";
7016
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7017
- readonly format: "mdx-function-body";
7018
- readonly mdxCompilerVersion: "3.1.1";
7019
- readonly plainText: string;
7020
- readonly rawMdx: string;
7021
- readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
7022
- readonly requiredComponents: readonly {
7892
+ readonly official: boolean;
7893
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7894
+ readonly references: readonly {
7895
+ readonly authors: string;
7896
+ readonly citation?: string | undefined;
7897
+ readonly details?: string | undefined;
7898
+ readonly publication?: string | undefined;
7899
+ readonly title: string;
7900
+ readonly url?: string | undefined;
7901
+ readonly year: number;
7902
+ }[];
7903
+ readonly sitemap: true;
7904
+ } | {
7905
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
7906
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7907
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7908
+ readonly graph: {
7909
+ readonly alignmentId: string;
7910
+ readonly assetId: string;
7911
+ readonly conceptId: string;
7912
+ readonly learningObjectId: string;
7913
+ readonly lensId: string;
7914
+ };
7915
+ readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
7916
+ readonly order: number;
7917
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7918
+ readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
7919
+ readonly kind: "subject-lesson";
7920
+ readonly metadata: {
7921
+ readonly dateModified?: string;
7922
+ readonly datePublished: string;
7923
+ readonly authors: readonly {
7023
7924
  readonly name: string;
7024
- readonly version: number;
7025
7925
  }[];
7026
- readonly sourceHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
7926
+ readonly description?: string | undefined;
7927
+ readonly subject?: string | undefined;
7928
+ readonly title: string;
7027
7929
  };
7028
- readonly signature: string & import("effect/Brand").Brand<"@NakafaAI/AksaraEd25519Signature">;
7029
- }[]];
7030
- readonly batchIndex: number;
7930
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7931
+ readonly sitemap: true;
7932
+ readonly topicTitle: string;
7933
+ } | {
7934
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
7935
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
7936
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
7937
+ readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
7938
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
7939
+ readonly kind: "public-page";
7940
+ readonly metadata: {
7941
+ readonly dateModified?: string;
7942
+ readonly datePublished: string;
7943
+ readonly description: string;
7944
+ readonly title: string;
7945
+ };
7946
+ readonly sitemap: true;
7947
+ readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
7948
+ })[]];
7031
7949
  readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
7032
- readonly operation: "stageArtifactBatch";
7950
+ readonly operation: "stageProjectionBatch";
7033
7951
  } | {
7034
7952
  readonly batchIndex: number;
7035
7953
  readonly projections: readonly [{
@@ -7108,6 +8026,42 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
7108
8026
  readonly title: string;
7109
8027
  };
7110
8028
  readonly stimulusKey?: string;
8029
+ } | {
8030
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
8031
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
8032
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
8033
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
8034
+ readonly questionNumber: number;
8035
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
8036
+ readonly bodyKind: "question";
8037
+ readonly kind: "question-body";
8038
+ readonly metadata: {
8039
+ readonly authors: readonly {
8040
+ readonly name: string;
8041
+ }[];
8042
+ readonly date: string;
8043
+ readonly title: string;
8044
+ };
8045
+ readonly choices: {
8046
+ label: string;
8047
+ value: boolean;
8048
+ }[];
8049
+ } | {
8050
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
8051
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
8052
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
8053
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
8054
+ readonly questionNumber: number;
8055
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
8056
+ readonly bodyKind: "answer";
8057
+ readonly kind: "question-body";
8058
+ readonly metadata: {
8059
+ readonly authors: readonly {
8060
+ readonly name: string;
8061
+ }[];
8062
+ readonly date: string;
8063
+ readonly title: string;
8064
+ };
7111
8065
  } | {
7112
8066
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
7113
8067
  readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
@@ -7267,6 +8221,42 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
7267
8221
  readonly title: string;
7268
8222
  };
7269
8223
  readonly stimulusKey?: string;
8224
+ } | {
8225
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
8226
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
8227
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
8228
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
8229
+ readonly questionNumber: number;
8230
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
8231
+ readonly bodyKind: "question";
8232
+ readonly kind: "question-body";
8233
+ readonly metadata: {
8234
+ readonly authors: readonly {
8235
+ readonly name: string;
8236
+ }[];
8237
+ readonly date: string;
8238
+ readonly title: string;
8239
+ };
8240
+ readonly choices: {
8241
+ label: string;
8242
+ value: boolean;
8243
+ }[];
8244
+ } | {
8245
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
8246
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
8247
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
8248
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
8249
+ readonly questionNumber: number;
8250
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
8251
+ readonly bodyKind: "answer";
8252
+ readonly kind: "question-body";
8253
+ readonly metadata: {
8254
+ readonly authors: readonly {
8255
+ readonly name: string;
8256
+ }[];
8257
+ readonly date: string;
8258
+ readonly title: string;
8259
+ };
7270
8260
  } | {
7271
8261
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
7272
8262
  readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
@@ -7352,7 +8342,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
7352
8342
  readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
7353
8343
  })[]];
7354
8344
  readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
7355
- readonly operation: "stageProjectionBatch";
8345
+ readonly operation: "stageRollbackProjectionBatch";
7356
8346
  } | {
7357
8347
  readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
7358
8348
  readonly snapshot: {