@nakafa/aksara-contracts 0.36.0 → 0.37.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.
@@ -5591,89 +5591,6 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
5591
5591
  readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
5592
5592
  };
5593
5593
  readonly projection: {
5594
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
5595
- readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
5596
- readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
5597
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5598
- readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
5599
- readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
5600
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5601
- readonly graph: {
5602
- readonly alignmentId: string;
5603
- readonly assetId: string;
5604
- readonly conceptId: string;
5605
- readonly learningObjectId: string;
5606
- readonly lensId: string;
5607
- };
5608
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
5609
- readonly categoryTitle: string;
5610
- readonly kind: "article";
5611
- readonly metadata: {
5612
- readonly dateModified?: string;
5613
- readonly datePublished: string;
5614
- readonly authors: readonly {
5615
- readonly name: string;
5616
- }[];
5617
- readonly description?: string | undefined;
5618
- readonly title: string;
5619
- };
5620
- readonly official: boolean;
5621
- readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
5622
- readonly references: readonly {
5623
- readonly authors: string;
5624
- readonly citation?: string | undefined;
5625
- readonly details?: string | undefined;
5626
- readonly publication?: string | undefined;
5627
- readonly title: string;
5628
- readonly url?: string | undefined;
5629
- readonly year: number;
5630
- }[];
5631
- readonly sitemap: true;
5632
- } | {
5633
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
5634
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5635
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5636
- readonly graph: {
5637
- readonly alignmentId: string;
5638
- readonly assetId: string;
5639
- readonly conceptId: string;
5640
- readonly learningObjectId: string;
5641
- readonly lensId: string;
5642
- };
5643
- readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
5644
- readonly order: number;
5645
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
5646
- readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
5647
- readonly kind: "subject-lesson";
5648
- readonly metadata: {
5649
- readonly dateModified?: string;
5650
- readonly datePublished: string;
5651
- readonly authors: readonly {
5652
- readonly name: string;
5653
- }[];
5654
- readonly description?: string | undefined;
5655
- readonly subject?: string | undefined;
5656
- readonly title: string;
5657
- };
5658
- readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
5659
- readonly sitemap: true;
5660
- readonly topicTitle: string;
5661
- } | {
5662
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
5663
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5664
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5665
- readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
5666
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
5667
- readonly kind: "public-page";
5668
- readonly metadata: {
5669
- readonly dateModified?: string;
5670
- readonly datePublished: string;
5671
- readonly description: string;
5672
- readonly title: string;
5673
- };
5674
- readonly sitemap: true;
5675
- readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
5676
- } | {
5677
5594
  readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5678
5595
  readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5679
5596
  readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
@@ -5785,51 +5702,7 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
5785
5702
  readonly date: string;
5786
5703
  readonly title: string;
5787
5704
  };
5788
- };
5789
- } | {
5790
- readonly change: {
5791
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5792
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5793
- readonly family: "article" | "material" | "page" | "question";
5794
- readonly operation: "delete";
5795
- };
5796
- };
5797
- readonly index: number;
5798
- readonly prior: {
5799
- readonly artifact: {
5800
- readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5801
- readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
5802
- readonly payload: {
5803
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5804
- readonly byteLength: number;
5805
- readonly compiledCode: string;
5806
- readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5807
- readonly compilerVersion: "0.1.0";
5808
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5809
- readonly format: "mdx-function-body";
5810
- readonly mdxCompilerVersion: "3.1.1";
5811
- readonly plainText: string;
5812
- readonly rawMdx: string;
5813
- readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
5814
- readonly requiredComponents: readonly {
5815
- readonly name: string;
5816
- readonly version: number;
5817
- }[];
5818
- readonly sourceHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5819
- };
5820
- readonly signature: string & import("effect/Brand").Brand<"@NakafaAI/AksaraEd25519Signature">;
5821
- };
5822
- readonly change: {
5823
- readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5824
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5825
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5826
- readonly delivery: "authenticated" | "entitled" | "public";
5827
- readonly family: "article" | "material" | "page" | "question";
5828
- readonly operation: "upsert";
5829
- readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
5830
- readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
5831
- };
5832
- readonly projection: {
5705
+ } | {
5833
5706
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
5834
5707
  readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
5835
5708
  readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
@@ -5912,7 +5785,51 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
5912
5785
  };
5913
5786
  readonly sitemap: true;
5914
5787
  readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
5915
- } | {
5788
+ };
5789
+ } | {
5790
+ readonly change: {
5791
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5792
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5793
+ readonly family: "article" | "material" | "page" | "question";
5794
+ readonly operation: "delete";
5795
+ };
5796
+ };
5797
+ readonly index: number;
5798
+ readonly prior: {
5799
+ readonly artifact: {
5800
+ readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5801
+ readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
5802
+ readonly payload: {
5803
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5804
+ readonly byteLength: number;
5805
+ readonly compiledCode: string;
5806
+ readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5807
+ readonly compilerVersion: "0.1.0";
5808
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5809
+ readonly format: "mdx-function-body";
5810
+ readonly mdxCompilerVersion: "3.1.1";
5811
+ readonly plainText: string;
5812
+ readonly rawMdx: string;
5813
+ readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
5814
+ readonly requiredComponents: readonly {
5815
+ readonly name: string;
5816
+ readonly version: number;
5817
+ }[];
5818
+ readonly sourceHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5819
+ };
5820
+ readonly signature: string & import("effect/Brand").Brand<"@NakafaAI/AksaraEd25519Signature">;
5821
+ };
5822
+ readonly change: {
5823
+ readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
5824
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5825
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5826
+ readonly delivery: "authenticated" | "entitled" | "public";
5827
+ readonly family: "article" | "material" | "page" | "question";
5828
+ readonly operation: "upsert";
5829
+ readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
5830
+ readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
5831
+ };
5832
+ readonly projection: {
5916
5833
  readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5917
5834
  readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5918
5835
  readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
@@ -6024,6 +5941,89 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
6024
5941
  readonly date: string;
6025
5942
  readonly title: string;
6026
5943
  };
5944
+ } | {
5945
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
5946
+ readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
5947
+ readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
5948
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5949
+ readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
5950
+ readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
5951
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5952
+ readonly graph: {
5953
+ readonly alignmentId: string;
5954
+ readonly assetId: string;
5955
+ readonly conceptId: string;
5956
+ readonly learningObjectId: string;
5957
+ readonly lensId: string;
5958
+ };
5959
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
5960
+ readonly categoryTitle: string;
5961
+ readonly kind: "article";
5962
+ readonly metadata: {
5963
+ readonly dateModified?: string;
5964
+ readonly datePublished: string;
5965
+ readonly authors: readonly {
5966
+ readonly name: string;
5967
+ }[];
5968
+ readonly description?: string | undefined;
5969
+ readonly title: string;
5970
+ };
5971
+ readonly official: boolean;
5972
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
5973
+ readonly references: readonly {
5974
+ readonly authors: string;
5975
+ readonly citation?: string | undefined;
5976
+ readonly details?: string | undefined;
5977
+ readonly publication?: string | undefined;
5978
+ readonly title: string;
5979
+ readonly url?: string | undefined;
5980
+ readonly year: number;
5981
+ }[];
5982
+ readonly sitemap: true;
5983
+ } | {
5984
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
5985
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
5986
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
5987
+ readonly graph: {
5988
+ readonly alignmentId: string;
5989
+ readonly assetId: string;
5990
+ readonly conceptId: string;
5991
+ readonly learningObjectId: string;
5992
+ readonly lensId: string;
5993
+ };
5994
+ readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
5995
+ readonly order: number;
5996
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
5997
+ readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
5998
+ readonly kind: "subject-lesson";
5999
+ readonly metadata: {
6000
+ readonly dateModified?: string;
6001
+ readonly datePublished: string;
6002
+ readonly authors: readonly {
6003
+ readonly name: string;
6004
+ }[];
6005
+ readonly description?: string | undefined;
6006
+ readonly subject?: string | undefined;
6007
+ readonly title: string;
6008
+ };
6009
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6010
+ readonly sitemap: true;
6011
+ readonly topicTitle: string;
6012
+ } | {
6013
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
6014
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
6015
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
6016
+ readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
6017
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
6018
+ readonly kind: "public-page";
6019
+ readonly metadata: {
6020
+ readonly dateModified?: string;
6021
+ readonly datePublished: string;
6022
+ readonly description: string;
6023
+ readonly title: string;
6024
+ };
6025
+ readonly sitemap: true;
6026
+ readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
6027
6027
  };
6028
6028
  } | {
6029
6029
  readonly change: {
@@ -34,15 +34,16 @@ export declare const digestTryoutCatalog: <E, R>(records: Stream.Stream<{
34
34
  readonly title: string;
35
35
  readonly countryKey: string;
36
36
  readonly examKey: string;
37
- readonly kind: "track";
37
+ readonly kind: "section";
38
38
  readonly order: number;
39
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
39
+ readonly publicPath?: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">) | undefined;
40
40
  readonly questionCount: number;
41
- readonly sectionCount: number;
42
- readonly setCount: number;
41
+ readonly questionSourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
42
+ readonly sectionKey: string;
43
+ readonly setKey: string;
44
+ readonly timeLimitSeconds: number;
43
45
  readonly trackKey: string;
44
- readonly trackKind: "subject" | "year";
45
- readonly visibleSectionCount: number;
46
+ readonly visibility: "internal-entry" | "visible";
46
47
  } | {
47
48
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
48
49
  readonly description?: string | undefined;
@@ -81,16 +82,15 @@ export declare const digestTryoutCatalog: <E, R>(records: Stream.Stream<{
81
82
  readonly title: string;
82
83
  readonly countryKey: string;
83
84
  readonly examKey: string;
84
- readonly kind: "section";
85
+ readonly kind: "track";
85
86
  readonly order: number;
86
- readonly publicPath?: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">) | undefined;
87
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
87
88
  readonly questionCount: number;
88
- readonly questionSourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
89
- readonly sectionKey: string;
90
- readonly setKey: string;
91
- readonly timeLimitSeconds: number;
89
+ readonly sectionCount: number;
90
+ readonly setCount: number;
92
91
  readonly trackKey: string;
93
- readonly visibility: "internal-entry" | "visible";
92
+ readonly trackKind: "subject" | "year";
93
+ readonly visibleSectionCount: number;
94
94
  } | {
95
95
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
96
96
  readonly description?: string | undefined;
@@ -103,11 +103,12 @@ export declare const digestTryoutCatalog: <E, R>(records: Stream.Stream<{
103
103
  };
104
104
  readonly sourceRevision: string;
105
105
  readonly title: string;
106
- readonly countryCode: string;
107
106
  readonly countryKey: string;
108
- readonly kind: "country";
107
+ readonly examKey: string;
108
+ readonly kind: "exam";
109
109
  readonly order: number;
110
110
  readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
111
+ readonly scoringStrategy: "irt" | "raw";
111
112
  } | {
112
113
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
113
114
  readonly description?: string | undefined;
@@ -120,12 +121,11 @@ export declare const digestTryoutCatalog: <E, R>(records: Stream.Stream<{
120
121
  };
121
122
  readonly sourceRevision: string;
122
123
  readonly title: string;
124
+ readonly countryCode: string;
123
125
  readonly countryKey: string;
124
- readonly examKey: string;
125
- readonly kind: "exam";
126
+ readonly kind: "country";
126
127
  readonly order: number;
127
128
  readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
128
- readonly scoringStrategy: "irt" | "raw";
129
129
  };
130
130
  readonly rowHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
131
131
  }, E, R>) => Effect.Effect<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nakafa/aksara-contracts",
3
- "version": "0.36.0",
3
+ "version": "0.37.0",
4
4
  "description": "Schemas and verification contracts for Nakafa content releases.",
5
5
  "homepage": "https://github.com/nakafaai/aksara#readme",
6
6
  "license": "SEE LICENSE IN LICENSE",