@nakafa/aksara-contracts 4.1.3 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/artifact/integrity.d.ts +2 -2
- package/dist/artifact/limits.d.ts +1 -1
- package/dist/artifact/source.d.ts +1 -1
- package/dist/artifact/spec.d.ts +1 -1
- package/dist/artifact/verify.d.ts +1 -1
- package/dist/assessment/catalog.d.ts +66 -18
- package/dist/assessment/catalog.js +28 -8
- package/dist/assessment/snapshot.d.ts +100 -24
- package/dist/content.d.ts +7 -7
- package/dist/graph/family.d.ts +2 -2
- package/dist/graph/identity.d.ts +1 -1
- package/dist/locale.d.ts +21 -10
- package/dist/locale.js +24 -9
- package/dist/preview/artifact.d.ts +6 -6
- package/dist/preview/document.d.ts +13 -13
- package/dist/preview/spec.d.ts +49 -49
- package/dist/preview/target.d.ts +2 -2
- package/dist/program/curriculum.d.ts +2 -2
- package/dist/program/snapshot/hash.d.ts +6 -6
- package/dist/program/snapshot/row.d.ts +4 -4
- package/dist/program/spec.d.ts +2 -2
- package/dist/projection/article.d.ts +6 -6
- package/dist/projection/digest.d.ts +6 -6
- package/dist/projection/hash.d.ts +6 -6
- package/dist/projection/material.d.ts +6 -6
- package/dist/projection/page.d.ts +6 -6
- package/dist/projection/spec.d.ts +7 -7
- package/dist/projection/verify.d.ts +6 -6
- package/dist/quran/attribution.d.ts +4 -4
- package/dist/quran/identity.d.ts +7 -7
- package/dist/quran/identity.js +3 -3
- package/dist/quran/provenance.d.ts +12 -12
- package/dist/quran/snapshot/row/hash.d.ts +39 -39
- package/dist/quran/snapshot/row.d.ts +12 -12
- package/dist/quran/source.d.ts +7 -7
- package/dist/quran/spec.d.ts +1 -1
- package/dist/quran/spec.js +3 -3
- package/dist/release/canonical.d.ts +2 -2
- package/dist/release/digest.d.ts +2 -2
- package/dist/release/head.d.ts +9 -9
- package/dist/release/items.d.ts +2 -2
- package/dist/release/result/digest.d.ts +5 -5
- package/dist/release/rollback/digest.d.ts +4 -4
- package/dist/release/rollback/spec.d.ts +66 -66
- package/dist/release/route/digest.d.ts +2 -2
- package/dist/release/route/page.d.ts +4 -4
- package/dist/release/route/spec.d.ts +6 -6
- package/dist/release/route/verify.d.ts +2 -2
- package/dist/release/snapshot/data.d.ts +31 -12
- package/dist/release/snapshot/verify.d.ts +41 -22
- package/dist/release/spec.d.ts +6 -6
- package/dist/runtime/spec.d.ts +23 -23
- package/dist/runtime/verify.d.ts +14 -14
- package/dist/transport/batch.d.ts +22 -22
- package/dist/transport/group.d.ts +126 -69
- package/dist/transport/request.d.ts +396 -244
- package/dist/transport/response.d.ts +92 -92
- package/dist/transport/snapshot.d.ts +62 -24
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
/** One locale-indexed QuranEnc translation. */
|
|
3
3
|
export declare const QuranLocalizedTranslationSchema: Schema.Struct<{
|
|
4
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
4
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
5
5
|
readonly value: Schema.Struct<{
|
|
6
6
|
readonly footnotes: Schema.String;
|
|
7
7
|
readonly text: Schema.String;
|
|
@@ -33,7 +33,7 @@ export declare const QuranRuntimeVerseSchema: Schema.Struct<{
|
|
|
33
33
|
readonly arabic: Schema.String;
|
|
34
34
|
}>;
|
|
35
35
|
readonly translations: Schema.NonEmptyArray<Schema.Struct<{
|
|
36
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
36
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
37
37
|
readonly value: Schema.Struct<{
|
|
38
38
|
readonly footnotes: Schema.String;
|
|
39
39
|
readonly text: Schema.String;
|
|
@@ -70,7 +70,7 @@ export declare const QuranChunkRowSchema: Schema.Struct<{
|
|
|
70
70
|
readonly arabic: Schema.String;
|
|
71
71
|
}>;
|
|
72
72
|
readonly translations: Schema.NonEmptyArray<Schema.Struct<{
|
|
73
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
73
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
74
74
|
readonly value: Schema.Struct<{
|
|
75
75
|
readonly footnotes: Schema.String;
|
|
76
76
|
readonly text: Schema.String;
|
|
@@ -80,7 +80,7 @@ export declare const QuranChunkRowSchema: Schema.Struct<{
|
|
|
80
80
|
}>;
|
|
81
81
|
/** One locale-specific Quran route and full-text search document. */
|
|
82
82
|
export declare const QuranSearchRowSchema: Schema.Struct<{
|
|
83
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
83
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
84
84
|
readonly graph: Schema.Struct<{
|
|
85
85
|
readonly alignmentId: Schema.String;
|
|
86
86
|
readonly assetId: Schema.String;
|
|
@@ -100,7 +100,7 @@ export declare const QuranRowPayloadSchema: Schema.Union<readonly [Schema.Struct
|
|
|
100
100
|
readonly kind: Schema.Literal<"quran-attribution">;
|
|
101
101
|
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
102
102
|
readonly copy: Schema.NonEmptyArray<Schema.Struct<{
|
|
103
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
103
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
104
104
|
readonly notice: Schema.Trimmed;
|
|
105
105
|
readonly title: Schema.Trimmed;
|
|
106
106
|
}>>;
|
|
@@ -126,7 +126,7 @@ export declare const QuranRowPayloadSchema: Schema.Union<readonly [Schema.Struct
|
|
|
126
126
|
}>;
|
|
127
127
|
}>, Schema.Struct<{
|
|
128
128
|
readonly copy: Schema.NonEmptyArray<Schema.Struct<{
|
|
129
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
129
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
130
130
|
readonly notice: Schema.Trimmed;
|
|
131
131
|
readonly title: Schema.Trimmed;
|
|
132
132
|
}>>;
|
|
@@ -199,7 +199,7 @@ export declare const QuranRowPayloadSchema: Schema.Union<readonly [Schema.Struct
|
|
|
199
199
|
readonly arabic: Schema.String;
|
|
200
200
|
}>;
|
|
201
201
|
readonly translations: Schema.NonEmptyArray<Schema.Struct<{
|
|
202
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
202
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
203
203
|
readonly value: Schema.Struct<{
|
|
204
204
|
readonly footnotes: Schema.String;
|
|
205
205
|
readonly text: Schema.String;
|
|
@@ -207,7 +207,7 @@ export declare const QuranRowPayloadSchema: Schema.Union<readonly [Schema.Struct
|
|
|
207
207
|
}>>;
|
|
208
208
|
}>>;
|
|
209
209
|
}>, Schema.Struct<{
|
|
210
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
210
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
211
211
|
readonly graph: Schema.Struct<{
|
|
212
212
|
readonly alignmentId: Schema.String;
|
|
213
213
|
readonly assetId: Schema.String;
|
|
@@ -229,7 +229,7 @@ export declare const QuranSnapshotRowSchema: Schema.Struct<{
|
|
|
229
229
|
readonly kind: Schema.Literal<"quran-attribution">;
|
|
230
230
|
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
231
231
|
readonly copy: Schema.NonEmptyArray<Schema.Struct<{
|
|
232
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
232
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
233
233
|
readonly notice: Schema.Trimmed;
|
|
234
234
|
readonly title: Schema.Trimmed;
|
|
235
235
|
}>>;
|
|
@@ -255,7 +255,7 @@ export declare const QuranSnapshotRowSchema: Schema.Struct<{
|
|
|
255
255
|
}>;
|
|
256
256
|
}>, Schema.Struct<{
|
|
257
257
|
readonly copy: Schema.NonEmptyArray<Schema.Struct<{
|
|
258
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
258
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
259
259
|
readonly notice: Schema.Trimmed;
|
|
260
260
|
readonly title: Schema.Trimmed;
|
|
261
261
|
}>>;
|
|
@@ -328,7 +328,7 @@ export declare const QuranSnapshotRowSchema: Schema.Struct<{
|
|
|
328
328
|
readonly arabic: Schema.String;
|
|
329
329
|
}>;
|
|
330
330
|
readonly translations: Schema.NonEmptyArray<Schema.Struct<{
|
|
331
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
331
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
332
332
|
readonly value: Schema.Struct<{
|
|
333
333
|
readonly footnotes: Schema.String;
|
|
334
334
|
readonly text: Schema.String;
|
|
@@ -336,7 +336,7 @@ export declare const QuranSnapshotRowSchema: Schema.Struct<{
|
|
|
336
336
|
}>>;
|
|
337
337
|
}>>;
|
|
338
338
|
}>, Schema.Struct<{
|
|
339
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
339
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
340
340
|
readonly graph: Schema.Struct<{
|
|
341
341
|
readonly alignmentId: Schema.String;
|
|
342
342
|
readonly assetId: Schema.String;
|
package/dist/quran/source.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const QuranSourceArtifactSchema: Schema.Struct<{
|
|
|
14
14
|
export type QuranSourceArtifact = typeof QuranSourceArtifactSchema.Type;
|
|
15
15
|
/** Nakafa-owned source label and notice for one application locale. */
|
|
16
16
|
export declare const QuranSourceCopySchema: Schema.Struct<{
|
|
17
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
17
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
18
18
|
readonly notice: Schema.Trimmed;
|
|
19
19
|
readonly title: Schema.Trimmed;
|
|
20
20
|
}>;
|
|
@@ -22,7 +22,7 @@ export type QuranSourceCopy = typeof QuranSourceCopySchema.Type;
|
|
|
22
22
|
/** Attribution for source bytes embedded and authenticated by Aksara. */
|
|
23
23
|
export declare const QuranEmbeddedSourceAttributionSchema: Schema.Struct<{
|
|
24
24
|
readonly copy: Schema.NonEmptyArray<Schema.Struct<{
|
|
25
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
25
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
26
26
|
readonly notice: Schema.Trimmed;
|
|
27
27
|
readonly title: Schema.Trimmed;
|
|
28
28
|
}>>;
|
|
@@ -51,7 +51,7 @@ export type QuranEmbeddedSourceAttribution = typeof QuranEmbeddedSourceAttributi
|
|
|
51
51
|
/** Attribution for an official edition that Aksara may only link to. */
|
|
52
52
|
export declare const QuranExternalSourceAttributionSchema: Schema.Struct<{
|
|
53
53
|
readonly copy: Schema.NonEmptyArray<Schema.Struct<{
|
|
54
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
54
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
55
55
|
readonly notice: Schema.Trimmed;
|
|
56
56
|
readonly title: Schema.Trimmed;
|
|
57
57
|
}>>;
|
|
@@ -71,7 +71,7 @@ export type QuranExternalSourceAttribution = typeof QuranExternalSourceAttributi
|
|
|
71
71
|
/** Public attribution that distinguishes embedded bytes from external links. */
|
|
72
72
|
export declare const QuranSourceAttributionSchema: Schema.Union<readonly [Schema.Struct<{
|
|
73
73
|
readonly copy: Schema.NonEmptyArray<Schema.Struct<{
|
|
74
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
74
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
75
75
|
readonly notice: Schema.Trimmed;
|
|
76
76
|
readonly title: Schema.Trimmed;
|
|
77
77
|
}>>;
|
|
@@ -97,7 +97,7 @@ export declare const QuranSourceAttributionSchema: Schema.Union<readonly [Schema
|
|
|
97
97
|
}>;
|
|
98
98
|
}>, Schema.Struct<{
|
|
99
99
|
readonly copy: Schema.NonEmptyArray<Schema.Struct<{
|
|
100
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
100
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
101
101
|
readonly notice: Schema.Trimmed;
|
|
102
102
|
readonly title: Schema.Trimmed;
|
|
103
103
|
}>>;
|
|
@@ -142,7 +142,7 @@ export declare const QuranAttributionRowSchema: Schema.Struct<{
|
|
|
142
142
|
readonly kind: Schema.Literal<"quran-attribution">;
|
|
143
143
|
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
144
144
|
readonly copy: Schema.NonEmptyArray<Schema.Struct<{
|
|
145
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
145
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
146
146
|
readonly notice: Schema.Trimmed;
|
|
147
147
|
readonly title: Schema.Trimmed;
|
|
148
148
|
}>>;
|
|
@@ -168,7 +168,7 @@ export declare const QuranAttributionRowSchema: Schema.Struct<{
|
|
|
168
168
|
}>;
|
|
169
169
|
}>, Schema.Struct<{
|
|
170
170
|
readonly copy: Schema.NonEmptyArray<Schema.Struct<{
|
|
171
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
171
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
172
172
|
readonly notice: Schema.Trimmed;
|
|
173
173
|
readonly title: Schema.Trimmed;
|
|
174
174
|
}>>;
|
package/dist/quran/spec.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const QURAN_ATTRIBUTION_COUNT = 1;
|
|
|
13
13
|
export declare const QURAN_CHUNK_SIZE = 6;
|
|
14
14
|
/** Valid Quran surah number in canonical order. */
|
|
15
15
|
export declare const QuranSurahNumberSchema: Schema.Int;
|
|
16
|
-
/** Complete reviewed surah-name meaning map
|
|
16
|
+
/** Complete reviewed surah-name meaning map, one meaning for every active app locale. */
|
|
17
17
|
export declare const QuranSurahNameMeaningSchema: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
18
18
|
/** Shared authored and published metadata for one reviewed Quran surah. */
|
|
19
19
|
export declare const QuranSurahMetadataSchema: Schema.Struct<{
|
package/dist/quran/spec.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import {
|
|
2
|
+
import { ActiveAppLocaleCodeSchema, ENGLISH_APP_LOCALE_CODE, GERMAN_APP_LOCALE_CODE, INDONESIAN_APP_LOCALE_CODE, } from "#contracts/locale";
|
|
3
3
|
import { QuranMeaningfulTextSchema } from "#contracts/quran/text";
|
|
4
4
|
/** Tafsir locale whose complete reviewed source may enter runtime rows. */
|
|
5
5
|
export const QuranTafsirLocaleSchema = Schema.Literal(INDONESIAN_APP_LOCALE_CODE);
|
|
@@ -18,8 +18,8 @@ export const QURAN_ATTRIBUTION_COUNT = 1;
|
|
|
18
18
|
export const QURAN_CHUNK_SIZE = 6;
|
|
19
19
|
/** Valid Quran surah number in canonical order. */
|
|
20
20
|
export const QuranSurahNumberSchema = Schema.Int.pipe(Schema.check(Schema.isBetween({ maximum: QURAN_SURAH_COUNT, minimum: 1 })));
|
|
21
|
-
/** Complete reviewed surah-name meaning map
|
|
22
|
-
export const QuranSurahNameMeaningSchema = Schema.Record(
|
|
21
|
+
/** Complete reviewed surah-name meaning map, one meaning for every active app locale. */
|
|
22
|
+
export const QuranSurahNameMeaningSchema = Schema.Record(ActiveAppLocaleCodeSchema, QuranMeaningfulTextSchema);
|
|
23
23
|
/** Shared authored and published metadata for one reviewed Quran surah. */
|
|
24
24
|
export const QuranSurahMetadataSchema = Schema.Struct({
|
|
25
25
|
name: Schema.Struct({
|
|
@@ -2,7 +2,7 @@ import type { ContentChange, ContentReleaseItem } from "#contracts/release/spec"
|
|
|
2
2
|
/** Serializes one change with stable fields for item digest computation. */
|
|
3
3
|
export declare function canonicalizeContentChange(change: ContentChange): {
|
|
4
4
|
artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
5
|
-
artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
5
|
+
artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
6
6
|
contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
7
7
|
delivery: "authenticated" | "entitled" | "public";
|
|
8
8
|
family: "article" | "material" | "page";
|
|
@@ -14,7 +14,7 @@ export declare function canonicalizeContentChange(change: ContentChange): {
|
|
|
14
14
|
delivery?: never;
|
|
15
15
|
rendererDomain?: never;
|
|
16
16
|
sourcePath?: never;
|
|
17
|
-
artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
17
|
+
artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
18
18
|
contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
19
19
|
family: "article" | "material" | "page";
|
|
20
20
|
operation: "delete";
|
package/dist/release/digest.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare function finalizeReleaseItemsDigest(state: ReleaseItemsDigestStat
|
|
|
23
23
|
export declare const digestItems: <E, R>(items: Stream.Stream<{
|
|
24
24
|
readonly change: {
|
|
25
25
|
readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
26
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
26
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
27
27
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
28
28
|
readonly delivery: "authenticated" | "entitled" | "public";
|
|
29
29
|
readonly family: "article" | "material" | "page";
|
|
@@ -31,7 +31,7 @@ export declare const digestItems: <E, R>(items: Stream.Stream<{
|
|
|
31
31
|
readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
|
|
32
32
|
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
33
33
|
} | {
|
|
34
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
34
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
35
35
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
36
36
|
readonly family: "article" | "material" | "page";
|
|
37
37
|
readonly operation: "delete";
|
package/dist/release/head.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Schema } from "effect";
|
|
|
2
2
|
/** Compact authoritative identity used to diff one published article head. */
|
|
3
3
|
export declare const ArticleHeadSchema: Schema.Struct<{
|
|
4
4
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
5
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
5
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
6
6
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
7
7
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
8
8
|
readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
|
|
@@ -17,7 +17,7 @@ export type ArticleHead = typeof ArticleHeadSchema.Type;
|
|
|
17
17
|
/** Compact authoritative identity used to diff one published material head. */
|
|
18
18
|
export declare const MaterialHeadSchema: Schema.Struct<{
|
|
19
19
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
20
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
20
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
21
21
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
22
22
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
23
23
|
readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
|
|
@@ -32,7 +32,7 @@ export type MaterialHead = typeof MaterialHeadSchema.Type;
|
|
|
32
32
|
/** Compact authoritative identity used to diff one published page head. */
|
|
33
33
|
export declare const PageHeadSchema: Schema.Struct<{
|
|
34
34
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
35
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
35
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
36
36
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
37
37
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
38
38
|
readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
|
|
@@ -47,7 +47,7 @@ export type PageHead = typeof PageHeadSchema.Type;
|
|
|
47
47
|
/** Complete compact-head vocabulary backed by implemented content families. */
|
|
48
48
|
export declare const ContentHeadSchema: Schema.Union<readonly [Schema.Struct<{
|
|
49
49
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
50
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
50
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
51
51
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
52
52
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
53
53
|
readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
|
|
@@ -59,7 +59,7 @@ export declare const ContentHeadSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
59
59
|
readonly family: Schema.Literal<"article">;
|
|
60
60
|
}>, Schema.Struct<{
|
|
61
61
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
62
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
62
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
63
63
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
64
64
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
65
65
|
readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
|
|
@@ -71,7 +71,7 @@ export declare const ContentHeadSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
71
71
|
readonly family: Schema.Literal<"material">;
|
|
72
72
|
}>, Schema.Struct<{
|
|
73
73
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
74
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
74
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
75
75
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
76
76
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
77
77
|
readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
|
|
@@ -104,7 +104,7 @@ export declare const HeadPageSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
104
104
|
readonly family: Schema.Literal<"article">;
|
|
105
105
|
readonly heads: Schema.$Array<Schema.Struct<{
|
|
106
106
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
107
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
107
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
108
108
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
109
109
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
110
110
|
readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
|
|
@@ -124,7 +124,7 @@ export declare const HeadPageSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
124
124
|
readonly family: Schema.Literal<"material">;
|
|
125
125
|
readonly heads: Schema.$Array<Schema.Struct<{
|
|
126
126
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
127
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
127
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
128
128
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
129
129
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
130
130
|
readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
|
|
@@ -144,7 +144,7 @@ export declare const HeadPageSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
144
144
|
readonly family: Schema.Literal<"page">;
|
|
145
145
|
readonly heads: Schema.$Array<Schema.Struct<{
|
|
146
146
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
147
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
147
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
148
148
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
149
149
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
150
150
|
readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
|
package/dist/release/items.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export declare function decodeContentReleaseItems<E, R>(input: {
|
|
|
88
88
|
}): Stream.Stream<{
|
|
89
89
|
readonly change: {
|
|
90
90
|
readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
91
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
91
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
92
92
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
93
93
|
readonly delivery: "authenticated" | "entitled" | "public";
|
|
94
94
|
readonly family: "article" | "material" | "page";
|
|
@@ -96,7 +96,7 @@ export declare function decodeContentReleaseItems<E, R>(input: {
|
|
|
96
96
|
readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
|
|
97
97
|
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
98
98
|
} | {
|
|
99
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
99
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
100
100
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
101
101
|
readonly family: "article" | "material" | "page";
|
|
102
102
|
readonly operation: "delete";
|
|
@@ -3,7 +3,7 @@ import { type PublicPath, type ReleaseId, type Sha256HashSchema } from "#contrac
|
|
|
3
3
|
import { type ArtifactLocale } from "#contracts/locale";
|
|
4
4
|
import { type ContentHead } from "#contracts/release/head";
|
|
5
5
|
declare const ResultCatalogOrderError_base: Schema.Class<ResultCatalogOrderError, Schema.TaggedStruct<"ResultCatalogOrderError", {
|
|
6
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
6
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
7
7
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
8
8
|
readonly releaseId: Schema.brand<Schema.String, "@NakafaAI/AksaraReleaseId">;
|
|
9
9
|
}>, import("effect/Cause").YieldableError & {
|
|
@@ -13,7 +13,7 @@ declare const ResultCatalogOrderError_base: Schema.Class<ResultCatalogOrderError
|
|
|
13
13
|
export declare class ResultCatalogOrderError extends ResultCatalogOrderError_base {
|
|
14
14
|
}
|
|
15
15
|
declare const ResultCatalogRouteError_base: Schema.Class<ResultCatalogRouteError, Schema.TaggedStruct<"ResultCatalogRouteError", {
|
|
16
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
16
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
17
17
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
18
18
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
19
19
|
readonly releaseId: Schema.brand<Schema.String, "@NakafaAI/AksaraReleaseId">;
|
|
@@ -66,7 +66,7 @@ export declare function finalizeResultCatalogDigest(state: ResultCatalogDigestSt
|
|
|
66
66
|
/** Digests one complete compact-head stream. Its canonical bytes are held until one digest runs. */
|
|
67
67
|
export declare const digestResultCatalog: <E, R>(releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">, heads: Stream.Stream<{
|
|
68
68
|
readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
69
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
69
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
70
70
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
71
71
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
72
72
|
readonly delivery: "authenticated" | "entitled" | "public";
|
|
@@ -78,7 +78,7 @@ export declare const digestResultCatalog: <E, R>(releaseId: string & import("eff
|
|
|
78
78
|
readonly family: "article";
|
|
79
79
|
} | {
|
|
80
80
|
readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
81
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
81
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
82
82
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
83
83
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
84
84
|
readonly delivery: "authenticated" | "entitled" | "public";
|
|
@@ -90,7 +90,7 @@ export declare const digestResultCatalog: <E, R>(releaseId: string & import("eff
|
|
|
90
90
|
readonly family: "material";
|
|
91
91
|
} | {
|
|
92
92
|
readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
93
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
93
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
94
94
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
95
95
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
96
96
|
readonly delivery: "authenticated" | "entitled" | "public";
|
|
@@ -43,14 +43,14 @@ export declare const digestRollbackSnapshot: <E, R>(entries: Stream.Stream<{
|
|
|
43
43
|
readonly index: number;
|
|
44
44
|
readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
|
|
45
45
|
readonly snapshot: {
|
|
46
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
46
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
47
47
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
48
48
|
readonly family: "article" | "material" | "page";
|
|
49
49
|
readonly state: "absent";
|
|
50
50
|
} | {
|
|
51
51
|
readonly head: {
|
|
52
52
|
readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
53
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
53
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
54
54
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
55
55
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
56
56
|
readonly delivery: "authenticated" | "entitled" | "public";
|
|
@@ -65,7 +65,7 @@ export declare const digestRollbackSnapshot: <E, R>(entries: Stream.Stream<{
|
|
|
65
65
|
} | {
|
|
66
66
|
readonly head: {
|
|
67
67
|
readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
68
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
68
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
69
69
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
70
70
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
71
71
|
readonly delivery: "authenticated" | "entitled" | "public";
|
|
@@ -80,7 +80,7 @@ export declare const digestRollbackSnapshot: <E, R>(entries: Stream.Stream<{
|
|
|
80
80
|
} | {
|
|
81
81
|
readonly head: {
|
|
82
82
|
readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
83
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
83
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
84
84
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
85
85
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
86
86
|
readonly delivery: "authenticated" | "entitled" | "public";
|