@nakafa/aksara-contracts 0.38.0 → 0.40.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.
Files changed (64) hide show
  1. package/README.md +10 -5
  2. package/dist/adoption/protected.d.ts +125 -0
  3. package/dist/adoption/protected.js +70 -0
  4. package/dist/adoption/public.d.ts +619 -0
  5. package/dist/adoption/public.js +121 -0
  6. package/dist/adoption/runtime.d.ts +1297 -0
  7. package/dist/adoption/runtime.js +40 -0
  8. package/dist/adoption/schema.d.ts +3794 -0
  9. package/dist/adoption/schema.js +125 -0
  10. package/dist/adoption/transport.d.ts +23257 -0
  11. package/dist/adoption/transport.js +74 -0
  12. package/dist/adoption/verify.d.ts +457 -0
  13. package/dist/adoption/verify.js +167 -0
  14. package/dist/artifact/integrity.d.ts +1 -4
  15. package/dist/artifact/limits.d.ts +1 -4
  16. package/dist/artifact/source.d.ts +1 -4
  17. package/dist/artifact/spec.d.ts +5 -45
  18. package/dist/artifact/spec.js +2 -20
  19. package/dist/artifact/verify.d.ts +2 -5
  20. package/dist/artifact/verify.js +0 -1
  21. package/dist/content.d.ts +8 -48
  22. package/dist/content.js +4 -9
  23. package/dist/date.js +3 -5
  24. package/dist/preview/artifact.d.ts +1 -1
  25. package/dist/preview/artifact.js +1 -1
  26. package/dist/preview/auth.d.ts +3 -20
  27. package/dist/projection/digest.d.ts +35 -35
  28. package/dist/projection/verify.d.ts +87 -87
  29. package/dist/quran/snapshot/row/hash.d.ts +50 -50
  30. package/dist/release/current/evidence.d.ts +9 -63
  31. package/dist/release/current/state.d.ts +15 -105
  32. package/dist/release/hash.d.ts +0 -1
  33. package/dist/release/lifecycle.d.ts +6 -42
  34. package/dist/release/lifecycle.js +1 -3
  35. package/dist/release/result/digest.d.ts +4 -4
  36. package/dist/release/rollback/spec.d.ts +6 -24
  37. package/dist/release/signing.js +0 -1
  38. package/dist/release/snapshot/verify.d.ts +21 -21
  39. package/dist/release/spec.d.ts +0 -6
  40. package/dist/release/spec.js +0 -3
  41. package/dist/release/verify.d.ts +1 -2
  42. package/dist/renderer/compatibility.d.ts +10 -46
  43. package/dist/renderer/compatibility.js +20 -45
  44. package/dist/renderer/component.d.ts +7 -97
  45. package/dist/renderer/component.js +15 -93
  46. package/dist/renderer/contract.d.ts +14 -86
  47. package/dist/renderer/contract.js +16 -54
  48. package/dist/renderer/manifest.d.ts +10 -72
  49. package/dist/renderer/manifest.js +40 -41
  50. package/dist/runtime/protected/spec.d.ts +13 -76
  51. package/dist/runtime/protected/verify.d.ts +5 -25
  52. package/dist/runtime/protected/verify.js +2 -4
  53. package/dist/runtime/spec.d.ts +12 -75
  54. package/dist/runtime/verify.d.ts +64 -106
  55. package/dist/runtime/verify.js +2 -4
  56. package/dist/transport/batch.d.ts +2 -8
  57. package/dist/transport/group.d.ts +3 -12
  58. package/dist/transport/request.d.ts +116 -256
  59. package/dist/transport/response.d.ts +187 -467
  60. package/dist/tryout/catalog-hash.d.ts +18 -18
  61. package/dist/tryout/runtime/verify.d.ts +1 -1
  62. package/package.json +29 -2
  63. package/dist/renderer/selection.d.ts +0 -39
  64. package/dist/renderer/selection.js +0 -87
@@ -27,7 +27,11 @@ export declare function finalizeProjectionDigest(releaseId: typeof ReleaseIdSche
27
27
  /** Digests a projection stream without retaining its content bodies. */
28
28
  export declare const digestProjections: <E, R>(releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">, projections: Stream.Stream<{
29
29
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
30
+ readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
31
+ readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
30
32
  readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
33
+ readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
34
+ readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
31
35
  readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
32
36
  readonly graph: {
33
37
  readonly alignmentId: string;
@@ -36,11 +40,9 @@ export declare const digestProjections: <E, R>(releaseId: string & import("effec
36
40
  readonly learningObjectId: string;
37
41
  readonly lensId: string;
38
42
  };
39
- readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
40
- readonly order: number;
41
43
  readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
42
- readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
43
- readonly kind: "subject-lesson";
44
+ readonly categoryTitle: string;
45
+ readonly kind: "article";
44
46
  readonly metadata: {
45
47
  readonly dateModified?: string;
46
48
  readonly datePublished: string;
@@ -48,19 +50,23 @@ export declare const digestProjections: <E, R>(releaseId: string & import("effec
48
50
  readonly name: string;
49
51
  }[];
50
52
  readonly description?: string | undefined;
51
- readonly subject?: string | undefined;
52
53
  readonly title: string;
53
54
  };
55
+ readonly official: boolean;
54
56
  readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
57
+ readonly references: readonly {
58
+ readonly authors: string;
59
+ readonly citation?: string | undefined;
60
+ readonly details?: string | undefined;
61
+ readonly publication?: string | undefined;
62
+ readonly title: string;
63
+ readonly url?: string | undefined;
64
+ readonly year: number;
65
+ }[];
55
66
  readonly sitemap: true;
56
- readonly topicTitle: string;
57
67
  } | {
58
68
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
59
- readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
60
- readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
61
69
  readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
62
- readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
63
- readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
64
70
  readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
65
71
  readonly graph: {
66
72
  readonly alignmentId: string;
@@ -69,9 +75,11 @@ export declare const digestProjections: <E, R>(releaseId: string & import("effec
69
75
  readonly learningObjectId: string;
70
76
  readonly lensId: string;
71
77
  };
78
+ readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
79
+ readonly order: number;
72
80
  readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
73
- readonly categoryTitle: string;
74
- readonly kind: "article";
81
+ readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
82
+ readonly kind: "subject-lesson";
75
83
  readonly metadata: {
76
84
  readonly dateModified?: string;
77
85
  readonly datePublished: string;
@@ -79,20 +87,12 @@ export declare const digestProjections: <E, R>(releaseId: string & import("effec
79
87
  readonly name: string;
80
88
  }[];
81
89
  readonly description?: string | undefined;
90
+ readonly subject?: string | undefined;
82
91
  readonly title: string;
83
92
  };
84
- readonly official: boolean;
85
93
  readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
86
- readonly references: readonly {
87
- readonly authors: string;
88
- readonly citation?: string | undefined;
89
- readonly details?: string | undefined;
90
- readonly publication?: string | undefined;
91
- readonly title: string;
92
- readonly url?: string | undefined;
93
- readonly year: number;
94
- }[];
95
94
  readonly sitemap: true;
95
+ readonly topicTitle: string;
96
96
  } | {
97
97
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
98
98
  readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
@@ -132,13 +132,18 @@ export declare const digestProjections: <E, R>(releaseId: string & import("effec
132
132
  };
133
133
  readonly stimulusKey?: string;
134
134
  readonly response: {
135
- readonly kind: "single-choice";
136
- readonly options: readonly {
137
- readonly isCorrect: boolean;
135
+ readonly categories: readonly {
136
+ readonly categoryKey: string;
138
137
  readonly label: string;
139
- readonly optionKey: string;
140
138
  readonly order: number;
141
139
  }[];
140
+ readonly kind: "category";
141
+ readonly statements: readonly {
142
+ readonly correctCategoryKey: string;
143
+ readonly label: string;
144
+ readonly order: number;
145
+ readonly statementKey: string;
146
+ }[];
142
147
  } | {
143
148
  readonly kind: "multiple-choice";
144
149
  readonly options: readonly {
@@ -148,17 +153,12 @@ export declare const digestProjections: <E, R>(releaseId: string & import("effec
148
153
  readonly order: number;
149
154
  }[];
150
155
  } | {
151
- readonly categories: readonly {
152
- readonly categoryKey: string;
153
- readonly label: string;
154
- readonly order: number;
155
- }[];
156
- readonly kind: "category";
157
- readonly statements: readonly {
158
- readonly correctCategoryKey: string;
156
+ readonly kind: "single-choice";
157
+ readonly options: readonly {
158
+ readonly isCorrect: boolean;
159
159
  readonly label: string;
160
+ readonly optionKey: string;
160
161
  readonly order: number;
161
- readonly statementKey: string;
162
162
  }[];
163
163
  };
164
164
  } | {
@@ -42,81 +42,34 @@ export interface VerifiedContentProjections {
42
42
  }
43
43
  /** Strictly decodes a replayable canonical content projection stream. */
44
44
  export declare function decodeContentProjections<E, R>(projections: Stream.Stream<unknown, E, R>): Stream.Stream<{
45
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
45
46
  readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
46
47
  readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
47
- readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
48
- readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
49
- readonly questionNumber: number;
50
- readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
51
- readonly bodyKind: "question";
52
- readonly blueprint?: {
53
- readonly cognitiveLevel: string;
54
- readonly contentDomain: string;
55
- readonly topic: string;
56
- };
57
- readonly kind: "question-body";
58
- readonly metadata: {
59
- readonly dateModified?: string;
60
- readonly datePublished: string;
61
- readonly authors: readonly {
62
- readonly name: string;
63
- }[];
64
- readonly title: string;
65
- };
66
- readonly stimulusKey?: string;
67
- readonly response: {
68
- readonly categories: readonly {
69
- readonly categoryKey: string;
70
- readonly label: string;
71
- readonly order: number;
72
- }[];
73
- readonly kind: "category";
74
- readonly statements: readonly {
75
- readonly correctCategoryKey: string;
76
- readonly label: string;
77
- readonly order: number;
78
- readonly statementKey: string;
79
- }[];
80
- } | {
81
- readonly kind: "multiple-choice";
82
- readonly options: readonly {
83
- readonly isCorrect: boolean;
84
- readonly label: string;
85
- readonly optionKey: string;
86
- readonly order: number;
87
- }[];
88
- } | {
89
- readonly kind: "single-choice";
90
- readonly options: readonly {
91
- readonly isCorrect: boolean;
92
- readonly label: string;
93
- readonly optionKey: string;
94
- readonly order: number;
95
- }[];
96
- };
97
- } | {
98
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
99
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
100
- readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
101
- readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
102
- readonly questionNumber: number;
103
- readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
104
- readonly bodyKind: "answer";
105
- readonly blueprint?: {
106
- readonly cognitiveLevel: string;
107
- readonly contentDomain: string;
108
- readonly topic: string;
48
+ readonly graph: {
49
+ readonly alignmentId: string;
50
+ readonly assetId: string;
51
+ readonly conceptId: string;
52
+ readonly learningObjectId: string;
53
+ readonly lensId: string;
109
54
  };
110
- readonly kind: "question-body";
55
+ readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
56
+ readonly order: number;
57
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
58
+ readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
59
+ readonly kind: "subject-lesson";
111
60
  readonly metadata: {
112
61
  readonly dateModified?: string;
113
62
  readonly datePublished: string;
114
63
  readonly authors: readonly {
115
64
  readonly name: string;
116
65
  }[];
66
+ readonly description?: string | undefined;
67
+ readonly subject?: string | undefined;
117
68
  readonly title: string;
118
69
  };
119
- readonly stimulusKey?: string;
70
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
71
+ readonly sitemap: true;
72
+ readonly topicTitle: string;
120
73
  } | {
121
74
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
122
75
  readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
@@ -160,46 +113,93 @@ export declare function decodeContentProjections<E, R>(projections: Stream.Strea
160
113
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
161
114
  readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
162
115
  readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
163
- readonly graph: {
164
- readonly alignmentId: string;
165
- readonly assetId: string;
166
- readonly conceptId: string;
167
- readonly learningObjectId: string;
168
- readonly lensId: string;
169
- };
170
- readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
171
- readonly order: number;
116
+ readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
172
117
  readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
173
- readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
174
- readonly kind: "subject-lesson";
118
+ readonly kind: "public-page";
119
+ readonly metadata: {
120
+ readonly dateModified?: string;
121
+ readonly datePublished: string;
122
+ readonly description: string;
123
+ readonly title: string;
124
+ };
125
+ readonly sitemap: true;
126
+ readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
127
+ } | {
128
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
129
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
130
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
131
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
132
+ readonly questionNumber: number;
133
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
134
+ readonly bodyKind: "question";
135
+ readonly blueprint?: {
136
+ readonly cognitiveLevel: string;
137
+ readonly contentDomain: string;
138
+ readonly topic: string;
139
+ };
140
+ readonly kind: "question-body";
175
141
  readonly metadata: {
176
142
  readonly dateModified?: string;
177
143
  readonly datePublished: string;
178
144
  readonly authors: readonly {
179
145
  readonly name: string;
180
146
  }[];
181
- readonly description?: string | undefined;
182
- readonly subject?: string | undefined;
183
147
  readonly title: string;
184
148
  };
185
- readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
186
- readonly sitemap: true;
187
- readonly topicTitle: string;
149
+ readonly stimulusKey?: string;
150
+ readonly response: {
151
+ readonly kind: "single-choice";
152
+ readonly options: readonly {
153
+ readonly isCorrect: boolean;
154
+ readonly label: string;
155
+ readonly optionKey: string;
156
+ readonly order: number;
157
+ }[];
158
+ } | {
159
+ readonly kind: "multiple-choice";
160
+ readonly options: readonly {
161
+ readonly isCorrect: boolean;
162
+ readonly label: string;
163
+ readonly optionKey: string;
164
+ readonly order: number;
165
+ }[];
166
+ } | {
167
+ readonly categories: readonly {
168
+ readonly categoryKey: string;
169
+ readonly label: string;
170
+ readonly order: number;
171
+ }[];
172
+ readonly kind: "category";
173
+ readonly statements: readonly {
174
+ readonly correctCategoryKey: string;
175
+ readonly label: string;
176
+ readonly order: number;
177
+ readonly statementKey: string;
178
+ }[];
179
+ };
188
180
  } | {
189
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
190
181
  readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
191
182
  readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
192
- readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
193
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
194
- readonly kind: "public-page";
183
+ readonly peerContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
184
+ readonly questionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionKey">;
185
+ readonly questionNumber: number;
186
+ readonly setKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraQuestionSetKey">;
187
+ readonly bodyKind: "answer";
188
+ readonly blueprint?: {
189
+ readonly cognitiveLevel: string;
190
+ readonly contentDomain: string;
191
+ readonly topic: string;
192
+ };
193
+ readonly kind: "question-body";
195
194
  readonly metadata: {
196
195
  readonly dateModified?: string;
197
196
  readonly datePublished: string;
198
- readonly description: string;
197
+ readonly authors: readonly {
198
+ readonly name: string;
199
+ }[];
199
200
  readonly title: string;
200
201
  };
201
- readonly sitemap: true;
202
- readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
202
+ readonly stimulusKey?: string;
203
203
  }, E | ProjectionDecodeError | ProjectionOrderError | ProjectionRouteError, R>;
204
204
  /** Authenticates a replayable projection stream against its signed manifest. */
205
205
  export declare const verifyContentProjections: <E, R>(input: {
@@ -10,6 +10,23 @@ export declare class QuranRowHashError extends QuranRowHashError_base {
10
10
  export declare function canonicalizeQuranRow(payload: QuranRowPayload): string;
11
11
  /** Computes one current row's domain-separated identity. */
12
12
  export declare const hashQuranRow: (payload: {
13
+ readonly name: {
14
+ readonly arabic: string;
15
+ readonly meaning: {
16
+ readonly de: string;
17
+ readonly en: string;
18
+ readonly id: string;
19
+ };
20
+ readonly transliteration: string;
21
+ };
22
+ readonly number: number;
23
+ readonly numberOfVerses: number;
24
+ readonly revelation: {
25
+ readonly order: number;
26
+ readonly place: "Meccan" | "Medinan";
27
+ };
28
+ readonly kind: "quran-surah";
29
+ } | {
13
30
  readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
14
31
  readonly kind: "quran-attribution";
15
32
  readonly sources: readonly [{
@@ -222,6 +239,22 @@ export declare const hashQuranRow: (payload: {
222
239
  }[]];
223
240
  }[]];
224
241
  } | {
242
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
243
+ readonly graph: {
244
+ readonly alignmentId: string;
245
+ readonly assetId: string;
246
+ readonly conceptId: string;
247
+ readonly learningObjectId: string;
248
+ readonly lensId: string;
249
+ };
250
+ readonly kind: "quran-search";
251
+ readonly route: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
252
+ readonly surahNumber: number;
253
+ readonly text: string;
254
+ readonly title: string;
255
+ }) => Effect.Effect<string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">, QuranRowHashError, never>;
256
+ /** Creates one snapshot-bound current row. */
257
+ export declare const bindQuranRow: (snapshotId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">, payload: {
225
258
  readonly name: {
226
259
  readonly arabic: string;
227
260
  readonly meaning: {
@@ -239,22 +272,6 @@ export declare const hashQuranRow: (payload: {
239
272
  };
240
273
  readonly kind: "quran-surah";
241
274
  } | {
242
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
243
- readonly graph: {
244
- readonly alignmentId: string;
245
- readonly assetId: string;
246
- readonly conceptId: string;
247
- readonly learningObjectId: string;
248
- readonly lensId: string;
249
- };
250
- readonly kind: "quran-search";
251
- readonly route: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
252
- readonly surahNumber: number;
253
- readonly text: string;
254
- readonly title: string;
255
- }) => Effect.Effect<string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">, QuranRowHashError, never>;
256
- /** Creates one snapshot-bound current row. */
257
- export declare const bindQuranRow: (snapshotId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">, payload: {
258
275
  readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
259
276
  readonly kind: "quran-attribution";
260
277
  readonly sources: readonly [{
@@ -466,23 +483,6 @@ export declare const bindQuranRow: (snapshotId: string & import("effect/Brand").
466
483
  };
467
484
  }[]];
468
485
  }[]];
469
- } | {
470
- readonly name: {
471
- readonly arabic: string;
472
- readonly meaning: {
473
- readonly de: string;
474
- readonly en: string;
475
- readonly id: string;
476
- };
477
- readonly transliteration: string;
478
- };
479
- readonly number: number;
480
- readonly numberOfVerses: number;
481
- readonly revelation: {
482
- readonly order: number;
483
- readonly place: "Meccan" | "Medinan";
484
- };
485
- readonly kind: "quran-surah";
486
486
  } | {
487
487
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
488
488
  readonly graph: {
@@ -499,6 +499,23 @@ export declare const bindQuranRow: (snapshotId: string & import("effect/Brand").
499
499
  readonly title: string;
500
500
  }) => Effect.Effect<{
501
501
  readonly payload: {
502
+ readonly name: {
503
+ readonly arabic: string;
504
+ readonly meaning: {
505
+ readonly de: string;
506
+ readonly en: string;
507
+ readonly id: string;
508
+ };
509
+ readonly transliteration: string;
510
+ };
511
+ readonly number: number;
512
+ readonly numberOfVerses: number;
513
+ readonly revelation: {
514
+ readonly order: number;
515
+ readonly place: "Meccan" | "Medinan";
516
+ };
517
+ readonly kind: "quran-surah";
518
+ } | {
502
519
  readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
503
520
  readonly kind: "quran-attribution";
504
521
  readonly sources: readonly [{
@@ -710,23 +727,6 @@ export declare const bindQuranRow: (snapshotId: string & import("effect/Brand").
710
727
  };
711
728
  }[]];
712
729
  }[]];
713
- } | {
714
- readonly name: {
715
- readonly arabic: string;
716
- readonly meaning: {
717
- readonly de: string;
718
- readonly en: string;
719
- readonly id: string;
720
- };
721
- readonly transliteration: string;
722
- };
723
- readonly number: number;
724
- readonly numberOfVerses: number;
725
- readonly revelation: {
726
- readonly order: number;
727
- readonly place: "Meccan" | "Medinan";
728
- };
729
- readonly kind: "quran-surah";
730
730
  } | {
731
731
  readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
732
732
  readonly graph: {
@@ -25,7 +25,6 @@ export declare const ActiveContentReleaseSchema: Schema.Struct<{
25
25
  readonly projectionCount: Schema.Finite;
26
26
  readonly projectionDigest: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
27
27
  readonly releaseId: Schema.brand<Schema.String, "@NakafaAI/AksaraReleaseId">;
28
- readonly rendererContractVersion: Schema.Literal<"1.0.0">;
29
28
  readonly rendererManifestHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
30
29
  readonly resultCount: Schema.Finite;
31
30
  readonly resultDigest: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
@@ -68,31 +67,14 @@ export declare const ActiveContentReleaseSchema: Schema.Struct<{
68
67
  readonly signature: Schema.brand<Schema.String, "@NakafaAI/AksaraEd25519Signature">;
69
68
  }>;
70
69
  readonly rendererManifest: Schema.Struct<{
71
- readonly base: Schema.Struct<{
72
- authoringComponents: Schema.$Array<Schema.Struct<{
73
- readonly name: Schema.String;
74
- readonly version: Schema.Finite;
75
- }>>;
76
- supportedComponents: Schema.$Array<Schema.Struct<{
77
- readonly name: Schema.String;
78
- readonly version: Schema.Finite;
79
- }>>;
80
- }>;
70
+ readonly base: Schema.$Array<Schema.String>;
81
71
  readonly domains: Schema.$Array<Schema.Struct<{
82
- readonly authoringComponents: Schema.$Array<Schema.Struct<{
83
- readonly name: Schema.String;
84
- readonly version: Schema.Finite;
85
- }>>;
72
+ readonly components: Schema.$Array<Schema.String>;
86
73
  readonly name: Schema.Literals<readonly ["ai-ds", "biology", "chemistry", "mathematics", "physics", "politics", "site", "snbt-general", "snbt-math", "snbt-plain", "snbt-quant", "tka-math"]>;
87
- readonly supportedComponents: Schema.$Array<Schema.Struct<{
88
- readonly name: Schema.String;
89
- readonly version: Schema.Finite;
90
- }>>;
91
74
  }>>;
92
- readonly format: Schema.Literal<"nakafa-mdx-renderer-v1">;
75
+ readonly format: Schema.Literal<"nakafa-mdx-renderer">;
93
76
  readonly hash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
94
77
  readonly publishedDomains: Schema.$Array<Schema.Literals<readonly ["ai-ds", "biology", "chemistry", "mathematics", "physics", "politics", "site", "snbt-general", "snbt-math", "snbt-plain", "snbt-quant", "tka-math"]>>;
95
- readonly rendererContractVersion: Schema.Literal<"1.0.0">;
96
78
  }>;
97
79
  readonly receipt: Schema.Struct<{
98
80
  readonly activatedHeads: Schema.Finite;
@@ -160,7 +142,6 @@ export declare const ActiveRollbackContentReleaseSchema: Schema.refine<ActiveRol
160
142
  readonly projectionCount: Schema.Finite;
161
143
  readonly projectionDigest: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
162
144
  readonly releaseId: Schema.brand<Schema.String, "@NakafaAI/AksaraReleaseId">;
163
- readonly rendererContractVersion: Schema.Literal<"1.0.0">;
164
145
  readonly rendererManifestHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
165
146
  readonly resultCount: Schema.Finite;
166
147
  readonly resultDigest: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
@@ -203,31 +184,14 @@ export declare const ActiveRollbackContentReleaseSchema: Schema.refine<ActiveRol
203
184
  readonly signature: Schema.brand<Schema.String, "@NakafaAI/AksaraEd25519Signature">;
204
185
  }>;
205
186
  readonly rendererManifest: Schema.Struct<{
206
- readonly base: Schema.Struct<{
207
- authoringComponents: Schema.$Array<Schema.Struct<{
208
- readonly name: Schema.String;
209
- readonly version: Schema.Finite;
210
- }>>;
211
- supportedComponents: Schema.$Array<Schema.Struct<{
212
- readonly name: Schema.String;
213
- readonly version: Schema.Finite;
214
- }>>;
215
- }>;
187
+ readonly base: Schema.$Array<Schema.String>;
216
188
  readonly domains: Schema.$Array<Schema.Struct<{
217
- readonly authoringComponents: Schema.$Array<Schema.Struct<{
218
- readonly name: Schema.String;
219
- readonly version: Schema.Finite;
220
- }>>;
189
+ readonly components: Schema.$Array<Schema.String>;
221
190
  readonly name: Schema.Literals<readonly ["ai-ds", "biology", "chemistry", "mathematics", "physics", "politics", "site", "snbt-general", "snbt-math", "snbt-plain", "snbt-quant", "tka-math"]>;
222
- readonly supportedComponents: Schema.$Array<Schema.Struct<{
223
- readonly name: Schema.String;
224
- readonly version: Schema.Finite;
225
- }>>;
226
191
  }>>;
227
- readonly format: Schema.Literal<"nakafa-mdx-renderer-v1">;
192
+ readonly format: Schema.Literal<"nakafa-mdx-renderer">;
228
193
  readonly hash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
229
194
  readonly publishedDomains: Schema.$Array<Schema.Literals<readonly ["ai-ds", "biology", "chemistry", "mathematics", "physics", "politics", "site", "snbt-general", "snbt-math", "snbt-plain", "snbt-quant", "tka-math"]>>;
230
- readonly rendererContractVersion: Schema.Literal<"1.0.0">;
231
195
  }>;
232
196
  readonly receipt: Schema.Struct<{
233
197
  readonly activatedHeads: Schema.Finite;
@@ -296,7 +260,6 @@ export declare const RecoveryLookupSchema: Schema.Union<readonly [Schema.Struct<
296
260
  readonly projectionCount: Schema.Finite;
297
261
  readonly projectionDigest: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
298
262
  readonly releaseId: Schema.brand<Schema.String, "@NakafaAI/AksaraReleaseId">;
299
- readonly rendererContractVersion: Schema.Literal<"1.0.0">;
300
263
  readonly rendererManifestHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
301
264
  readonly resultCount: Schema.Finite;
302
265
  readonly resultDigest: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
@@ -339,31 +302,14 @@ export declare const RecoveryLookupSchema: Schema.Union<readonly [Schema.Struct<
339
302
  readonly signature: Schema.brand<Schema.String, "@NakafaAI/AksaraEd25519Signature">;
340
303
  }>;
341
304
  readonly rendererManifest: Schema.Struct<{
342
- readonly base: Schema.Struct<{
343
- authoringComponents: Schema.$Array<Schema.Struct<{
344
- readonly name: Schema.String;
345
- readonly version: Schema.Finite;
346
- }>>;
347
- supportedComponents: Schema.$Array<Schema.Struct<{
348
- readonly name: Schema.String;
349
- readonly version: Schema.Finite;
350
- }>>;
351
- }>;
305
+ readonly base: Schema.$Array<Schema.String>;
352
306
  readonly domains: Schema.$Array<Schema.Struct<{
353
- readonly authoringComponents: Schema.$Array<Schema.Struct<{
354
- readonly name: Schema.String;
355
- readonly version: Schema.Finite;
356
- }>>;
307
+ readonly components: Schema.$Array<Schema.String>;
357
308
  readonly name: Schema.Literals<readonly ["ai-ds", "biology", "chemistry", "mathematics", "physics", "politics", "site", "snbt-general", "snbt-math", "snbt-plain", "snbt-quant", "tka-math"]>;
358
- readonly supportedComponents: Schema.$Array<Schema.Struct<{
359
- readonly name: Schema.String;
360
- readonly version: Schema.Finite;
361
- }>>;
362
309
  }>>;
363
- readonly format: Schema.Literal<"nakafa-mdx-renderer-v1">;
310
+ readonly format: Schema.Literal<"nakafa-mdx-renderer">;
364
311
  readonly hash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
365
312
  readonly publishedDomains: Schema.$Array<Schema.Literals<readonly ["ai-ds", "biology", "chemistry", "mathematics", "physics", "politics", "site", "snbt-general", "snbt-math", "snbt-plain", "snbt-quant", "tka-math"]>>;
366
- readonly rendererContractVersion: Schema.Literal<"1.0.0">;
367
313
  }>;
368
314
  readonly receipt: Schema.Struct<{
369
315
  readonly activatedHeads: Schema.Finite;