@nakafa/aksara-contracts 5.0.0 → 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 +12 -12
- package/dist/assessment/snapshot.d.ts +24 -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 +12 -12
- package/dist/release/snapshot/verify.d.ts +22 -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 +69 -69
- package/dist/transport/request.d.ts +244 -244
- package/dist/transport/response.d.ts +92 -92
- package/dist/transport/snapshot.d.ts +24 -24
- package/package.json +1 -1
|
@@ -20,12 +20,12 @@ export declare function completeRouteDigest(state: RouteDigestState): Effect.Eff
|
|
|
20
20
|
/** Digests a canonical route stream. Its canonical bytes are held until one digest runs. */
|
|
21
21
|
export declare const digestRoutes: <E, R>(routes: Stream.Stream<{
|
|
22
22
|
readonly change: {
|
|
23
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
23
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
24
24
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
25
25
|
readonly operation: "bind";
|
|
26
26
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
27
27
|
} | {
|
|
28
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
28
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
29
29
|
readonly operation: "delete";
|
|
30
30
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
31
31
|
};
|
|
@@ -5,12 +5,12 @@ export declare const MAX_ROUTE_PAGE_RECORDS = 100;
|
|
|
5
5
|
export declare const RouteRollbackRecordSchema: Schema.Struct<{
|
|
6
6
|
readonly current: Schema.Struct<{
|
|
7
7
|
readonly change: Schema.Union<readonly [Schema.Struct<{
|
|
8
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
8
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
9
9
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
10
10
|
readonly operation: Schema.Literal<"bind">;
|
|
11
11
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
12
12
|
}>, Schema.Struct<{
|
|
13
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
13
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
14
14
|
readonly operation: Schema.Literal<"delete">;
|
|
15
15
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
16
16
|
}>]>;
|
|
@@ -35,12 +35,12 @@ export declare const RoutePageSchema: Schema.Struct<{
|
|
|
35
35
|
readonly records: Schema.$Array<Schema.Struct<{
|
|
36
36
|
readonly current: Schema.Struct<{
|
|
37
37
|
readonly change: Schema.Union<readonly [Schema.Struct<{
|
|
38
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
38
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
39
39
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
40
40
|
readonly operation: Schema.Literal<"bind">;
|
|
41
41
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
42
42
|
}>, Schema.Struct<{
|
|
43
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
43
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
44
44
|
readonly operation: Schema.Literal<"delete">;
|
|
45
45
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
46
46
|
}>]>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Schema } from "effect";
|
|
3
3
|
/** One public route bound to a stable locale-specific content identity. */
|
|
4
4
|
export declare const ContentRouteBindSchema: Schema.Struct<{
|
|
5
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
5
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
6
6
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
7
7
|
readonly operation: Schema.Literal<"bind">;
|
|
8
8
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
@@ -10,19 +10,19 @@ export declare const ContentRouteBindSchema: Schema.Struct<{
|
|
|
10
10
|
export type ContentRouteBind = typeof ContentRouteBindSchema.Type;
|
|
11
11
|
/** One public route removed without deleting its stable content identity. */
|
|
12
12
|
export declare const ContentRouteDeleteSchema: Schema.Struct<{
|
|
13
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
13
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
14
14
|
readonly operation: Schema.Literal<"delete">;
|
|
15
15
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
16
16
|
}>;
|
|
17
17
|
export type ContentRouteDelete = typeof ContentRouteDeleteSchema.Type;
|
|
18
18
|
/** Complete immutable public-route change vocabulary for one release. */
|
|
19
19
|
export declare const ContentRouteChangeSchema: Schema.Union<readonly [Schema.Struct<{
|
|
20
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
20
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
21
21
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
22
22
|
readonly operation: Schema.Literal<"bind">;
|
|
23
23
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
24
24
|
}>, 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 operation: Schema.Literal<"delete">;
|
|
27
27
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
28
28
|
}>]>;
|
|
@@ -30,12 +30,12 @@ export type ContentRouteChange = typeof ContentRouteChangeSchema.Type;
|
|
|
30
30
|
/** One ordered route change authenticated by the signed release manifest. */
|
|
31
31
|
export declare const ContentRouteItemSchema: Schema.Struct<{
|
|
32
32
|
readonly change: Schema.Union<readonly [Schema.Struct<{
|
|
33
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
33
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
34
34
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
35
35
|
readonly operation: Schema.Literal<"bind">;
|
|
36
36
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
37
37
|
}>, Schema.Struct<{
|
|
38
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
38
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
39
39
|
readonly operation: Schema.Literal<"delete">;
|
|
40
40
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
41
41
|
}>]>;
|
|
@@ -55,12 +55,12 @@ export declare function decodeContentRoutes<E, R>(input: {
|
|
|
55
55
|
readonly routes: Stream.Stream<unknown, E, R>;
|
|
56
56
|
}): Stream.Stream<{
|
|
57
57
|
readonly change: {
|
|
58
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
58
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
59
59
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
60
60
|
readonly operation: "bind";
|
|
61
61
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
62
62
|
} | {
|
|
63
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
63
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
64
64
|
readonly operation: "delete";
|
|
65
65
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
66
66
|
};
|
|
@@ -64,7 +64,7 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
64
64
|
readonly row: Schema.Union<readonly [Schema.Struct<{
|
|
65
65
|
readonly kind: Schema.Literal<"catalog">;
|
|
66
66
|
readonly row: Schema.Union<readonly [Schema.Struct<{
|
|
67
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
67
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
68
68
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
69
69
|
readonly graph: Schema.Struct<{
|
|
70
70
|
readonly alignmentId: Schema.String;
|
|
@@ -81,7 +81,7 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
81
81
|
readonly order: Schema.Int;
|
|
82
82
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
83
83
|
}>, Schema.Struct<{
|
|
84
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
84
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
85
85
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
86
86
|
readonly graph: Schema.Struct<{
|
|
87
87
|
readonly alignmentId: Schema.String;
|
|
@@ -99,7 +99,7 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
99
99
|
readonly order: Schema.Int;
|
|
100
100
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
101
101
|
}>, Schema.Struct<{
|
|
102
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
102
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
103
103
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
104
104
|
readonly graph: Schema.Struct<{
|
|
105
105
|
readonly alignmentId: Schema.String;
|
|
@@ -117,7 +117,7 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
117
117
|
readonly order: Schema.Int;
|
|
118
118
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
119
119
|
}>, Schema.Struct<{
|
|
120
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
120
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
121
121
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
122
122
|
readonly graph: Schema.Struct<{
|
|
123
123
|
readonly alignmentId: Schema.String;
|
|
@@ -136,7 +136,7 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
136
136
|
readonly order: Schema.Int;
|
|
137
137
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
138
138
|
}>, Schema.Struct<{
|
|
139
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
139
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
140
140
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
141
141
|
readonly graph: Schema.Struct<{
|
|
142
142
|
readonly alignmentId: Schema.String;
|
|
@@ -160,7 +160,7 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
160
160
|
}>;
|
|
161
161
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
162
162
|
}>, Schema.Struct<{
|
|
163
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
163
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
164
164
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
165
165
|
readonly graph: Schema.Struct<{
|
|
166
166
|
readonly alignmentId: Schema.String;
|
|
@@ -686,7 +686,7 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
686
686
|
readonly url: Schema.String;
|
|
687
687
|
}>>;
|
|
688
688
|
readonly translations: Schema.NonEmptyArray<Schema.Struct<{
|
|
689
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
689
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
690
690
|
readonly publicSlug: Schema.String;
|
|
691
691
|
readonly title: Schema.Trimmed;
|
|
692
692
|
}>>;
|
|
@@ -700,7 +700,7 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
700
700
|
}>, Schema.Struct<{
|
|
701
701
|
readonly kind: Schema.Literal<"curriculum">;
|
|
702
702
|
readonly row: Schema.Struct<{
|
|
703
|
-
appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
703
|
+
appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
704
704
|
canonicalPath: Schema.optional<Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">>;
|
|
705
705
|
displayGroupIconKey: Schema.optional<Schema.Literals<readonly ["advanced", "assessment", "certificate", "course", "diploma", "early-years", "global-education", "grade-1", "grade-10", "grade-11", "grade-12", "grade-2", "grade-3", "grade-4", "grade-5", "grade-6", "grade-7", "grade-8", "grade-9", "high-school", "mathematics", "middle-school", "primary-school", "science", "school", "standards", "state"]>>;
|
|
706
706
|
displayGroupTitle: Schema.optional<Schema.String>;
|
|
@@ -733,7 +733,7 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
733
733
|
readonly kind: Schema.Literal<"quran-attribution">;
|
|
734
734
|
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
735
735
|
readonly copy: Schema.NonEmptyArray<Schema.Struct<{
|
|
736
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
736
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
737
737
|
readonly notice: Schema.Trimmed;
|
|
738
738
|
readonly title: Schema.Trimmed;
|
|
739
739
|
}>>;
|
|
@@ -759,7 +759,7 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
759
759
|
}>;
|
|
760
760
|
}>, Schema.Struct<{
|
|
761
761
|
readonly copy: Schema.NonEmptyArray<Schema.Struct<{
|
|
762
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
762
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
763
763
|
readonly notice: Schema.Trimmed;
|
|
764
764
|
readonly title: Schema.Trimmed;
|
|
765
765
|
}>>;
|
|
@@ -832,7 +832,7 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
832
832
|
readonly arabic: Schema.String;
|
|
833
833
|
}>;
|
|
834
834
|
readonly translations: Schema.NonEmptyArray<Schema.Struct<{
|
|
835
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
835
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
836
836
|
readonly value: Schema.Struct<{
|
|
837
837
|
readonly footnotes: Schema.String;
|
|
838
838
|
readonly text: Schema.String;
|
|
@@ -840,7 +840,7 @@ export declare const ContentSnapshotRowSchema: Schema.Union<readonly [Schema.Str
|
|
|
840
840
|
}>>;
|
|
841
841
|
}>>;
|
|
842
842
|
}>, Schema.Struct<{
|
|
843
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
843
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
844
844
|
readonly graph: Schema.Struct<{
|
|
845
845
|
readonly alignmentId: Schema.String;
|
|
846
846
|
readonly assetId: Schema.String;
|
|
@@ -144,7 +144,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
144
144
|
readonly row: {
|
|
145
145
|
readonly kind: "catalog";
|
|
146
146
|
readonly row: {
|
|
147
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
147
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
148
148
|
readonly description?: string;
|
|
149
149
|
readonly graph: {
|
|
150
150
|
readonly alignmentId: string;
|
|
@@ -161,7 +161,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
161
161
|
readonly order: number;
|
|
162
162
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
163
163
|
} | {
|
|
164
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
164
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
165
165
|
readonly description?: string;
|
|
166
166
|
readonly graph: {
|
|
167
167
|
readonly alignmentId: string;
|
|
@@ -179,7 +179,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
179
179
|
readonly order: number;
|
|
180
180
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
181
181
|
} | {
|
|
182
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
182
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
183
183
|
readonly description?: string;
|
|
184
184
|
readonly graph: {
|
|
185
185
|
readonly alignmentId: string;
|
|
@@ -197,7 +197,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
197
197
|
readonly order: number;
|
|
198
198
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
199
199
|
} | {
|
|
200
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
200
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
201
201
|
readonly description?: string;
|
|
202
202
|
readonly graph: {
|
|
203
203
|
readonly alignmentId: string;
|
|
@@ -216,7 +216,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
216
216
|
readonly order: number;
|
|
217
217
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
218
218
|
} | {
|
|
219
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
219
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
220
220
|
readonly description?: string;
|
|
221
221
|
readonly graph: {
|
|
222
222
|
readonly alignmentId: string;
|
|
@@ -240,7 +240,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
240
240
|
};
|
|
241
241
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
242
242
|
} | {
|
|
243
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
243
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
244
244
|
readonly description?: string;
|
|
245
245
|
readonly graph: {
|
|
246
246
|
readonly alignmentId: string;
|
|
@@ -1440,11 +1440,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1440
1440
|
readonly url: string;
|
|
1441
1441
|
}[]];
|
|
1442
1442
|
readonly translations: readonly [{
|
|
1443
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1443
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1444
1444
|
readonly publicSlug: string;
|
|
1445
1445
|
readonly title: string;
|
|
1446
1446
|
}, ...{
|
|
1447
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1447
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1448
1448
|
readonly publicSlug: string;
|
|
1449
1449
|
readonly title: string;
|
|
1450
1450
|
}[]];
|
|
@@ -1458,7 +1458,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1458
1458
|
} | {
|
|
1459
1459
|
readonly kind: "curriculum";
|
|
1460
1460
|
readonly row: {
|
|
1461
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1461
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1462
1462
|
readonly canonicalPath?: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">) | undefined;
|
|
1463
1463
|
readonly displayGroupIconKey?: "advanced" | "assessment" | "certificate" | "course" | "diploma" | "early-years" | "global-education" | "grade-1" | "grade-10" | "grade-11" | "grade-12" | "grade-2" | "grade-3" | "grade-4" | "grade-5" | "grade-6" | "grade-7" | "grade-8" | "grade-9" | "high-school" | "mathematics" | "middle-school" | "primary-school" | "school" | "science" | "standards" | "state" | undefined;
|
|
1464
1464
|
readonly displayGroupTitle?: string | undefined;
|
|
@@ -1508,11 +1508,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1508
1508
|
readonly kind: "quran-attribution";
|
|
1509
1509
|
readonly sources: readonly [{
|
|
1510
1510
|
readonly copy: readonly [{
|
|
1511
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1511
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1512
1512
|
readonly notice: string;
|
|
1513
1513
|
readonly title: string;
|
|
1514
1514
|
}, ...{
|
|
1515
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1515
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1516
1516
|
readonly notice: string;
|
|
1517
1517
|
readonly title: string;
|
|
1518
1518
|
}[]];
|
|
@@ -1538,11 +1538,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1538
1538
|
};
|
|
1539
1539
|
} | {
|
|
1540
1540
|
readonly copy: readonly [{
|
|
1541
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1541
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1542
1542
|
readonly notice: string;
|
|
1543
1543
|
readonly title: string;
|
|
1544
1544
|
}, ...{
|
|
1545
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1545
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1546
1546
|
readonly notice: string;
|
|
1547
1547
|
readonly title: string;
|
|
1548
1548
|
}[]];
|
|
@@ -1559,11 +1559,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1559
1559
|
};
|
|
1560
1560
|
}, ...({
|
|
1561
1561
|
readonly copy: readonly [{
|
|
1562
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1562
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1563
1563
|
readonly notice: string;
|
|
1564
1564
|
readonly title: string;
|
|
1565
1565
|
}, ...{
|
|
1566
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1566
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1567
1567
|
readonly notice: string;
|
|
1568
1568
|
readonly title: string;
|
|
1569
1569
|
}[]];
|
|
@@ -1589,11 +1589,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1589
1589
|
};
|
|
1590
1590
|
} | {
|
|
1591
1591
|
readonly copy: readonly [{
|
|
1592
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1592
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1593
1593
|
readonly notice: string;
|
|
1594
1594
|
readonly title: string;
|
|
1595
1595
|
}, ...{
|
|
1596
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1596
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1597
1597
|
readonly notice: string;
|
|
1598
1598
|
readonly title: string;
|
|
1599
1599
|
}[]];
|
|
@@ -1668,13 +1668,13 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1668
1668
|
readonly arabic: string;
|
|
1669
1669
|
};
|
|
1670
1670
|
readonly translations: readonly [{
|
|
1671
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1671
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1672
1672
|
readonly value: {
|
|
1673
1673
|
readonly footnotes: string;
|
|
1674
1674
|
readonly text: string;
|
|
1675
1675
|
};
|
|
1676
1676
|
}, ...{
|
|
1677
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1677
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1678
1678
|
readonly value: {
|
|
1679
1679
|
readonly footnotes: string;
|
|
1680
1680
|
readonly text: string;
|
|
@@ -1702,13 +1702,13 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1702
1702
|
readonly arabic: string;
|
|
1703
1703
|
};
|
|
1704
1704
|
readonly translations: readonly [{
|
|
1705
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1705
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1706
1706
|
readonly value: {
|
|
1707
1707
|
readonly footnotes: string;
|
|
1708
1708
|
readonly text: string;
|
|
1709
1709
|
};
|
|
1710
1710
|
}, ...{
|
|
1711
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1711
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1712
1712
|
readonly value: {
|
|
1713
1713
|
readonly footnotes: string;
|
|
1714
1714
|
readonly text: string;
|
|
@@ -1716,7 +1716,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
1716
1716
|
}[]];
|
|
1717
1717
|
}[]];
|
|
1718
1718
|
} | {
|
|
1719
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1719
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
1720
1720
|
readonly graph: {
|
|
1721
1721
|
readonly alignmentId: string;
|
|
1722
1722
|
readonly assetId: string;
|
package/dist/release/spec.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const CONTENT_RELEASE_FORMAT = "localized-content-release";
|
|
|
5
5
|
/** One immutable artifact selected for a locale-specific content head. */
|
|
6
6
|
export declare const ContentUpsertSchema: Schema.Struct<{
|
|
7
7
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
8
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
8
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
9
9
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
10
10
|
readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
|
|
11
11
|
readonly family: Schema.Literals<readonly ["article", "material", "page"]>;
|
|
@@ -15,7 +15,7 @@ export declare const ContentUpsertSchema: Schema.Struct<{
|
|
|
15
15
|
}>;
|
|
16
16
|
/** One locale-specific content head removed by an explicit tombstone. */
|
|
17
17
|
export declare const ContentDeleteSchema: Schema.Struct<{
|
|
18
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
18
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
19
19
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
20
20
|
readonly family: Schema.Literals<readonly ["article", "material", "page"]>;
|
|
21
21
|
readonly operation: Schema.Literal<"delete">;
|
|
@@ -23,7 +23,7 @@ export declare const ContentDeleteSchema: Schema.Struct<{
|
|
|
23
23
|
/** Complete tagged change vocabulary accepted by the current release. */
|
|
24
24
|
export declare const ContentChangeSchema: Schema.Union<readonly [Schema.Struct<{
|
|
25
25
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
26
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
26
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
27
27
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
28
28
|
readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
|
|
29
29
|
readonly family: Schema.Literals<readonly ["article", "material", "page"]>;
|
|
@@ -31,7 +31,7 @@ export declare const ContentChangeSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
31
31
|
readonly rendererDomain: Schema.Literals<readonly ["ai-ds", "biology", "chemistry", "mathematics", "physics", "politics", "site", "snbt-general", "snbt-math", "snbt-plain", "snbt-quant", "tka-math"]>;
|
|
32
32
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
33
33
|
}>, Schema.Struct<{
|
|
34
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
34
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
35
35
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
36
36
|
readonly family: Schema.Literals<readonly ["article", "material", "page"]>;
|
|
37
37
|
readonly operation: Schema.Literal<"delete">;
|
|
@@ -42,7 +42,7 @@ export declare const ReleaseItemIndexSchema: Schema.Finite;
|
|
|
42
42
|
export declare const ContentReleaseItemSchema: Schema.Struct<{
|
|
43
43
|
readonly change: Schema.Union<readonly [Schema.Struct<{
|
|
44
44
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
45
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
45
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
46
46
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
47
47
|
readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
|
|
48
48
|
readonly family: Schema.Literals<readonly ["article", "material", "page"]>;
|
|
@@ -50,7 +50,7 @@ export declare const ContentReleaseItemSchema: Schema.Struct<{
|
|
|
50
50
|
readonly rendererDomain: Schema.Literals<readonly ["ai-ds", "biology", "chemistry", "mathematics", "physics", "politics", "site", "snbt-general", "snbt-math", "snbt-plain", "snbt-quant", "tka-math"]>;
|
|
51
51
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
52
52
|
}>, Schema.Struct<{
|
|
53
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
53
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
54
54
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
55
55
|
readonly family: Schema.Literals<readonly ["article", "material", "page"]>;
|
|
56
56
|
readonly operation: Schema.Literal<"delete">;
|
package/dist/runtime/spec.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const MAX_PUBLIC_RUNTIME_REQUEST_BYTES: number;
|
|
|
5
5
|
export declare const MAX_PUBLIC_RUNTIME_RESPONSE_BYTES: number;
|
|
6
6
|
/** Exact public route requested by the Nakafa server runtime. */
|
|
7
7
|
export declare const PublicContentRuntimeRequestSchema: Schema.Struct<{
|
|
8
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
8
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
9
9
|
readonly delivery: Schema.Literal<"public">;
|
|
10
10
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
11
11
|
}>;
|
|
@@ -16,7 +16,7 @@ export declare const PublicContentRuntimeFoundSchema: Schema.Struct<{
|
|
|
16
16
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
17
17
|
readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
|
|
18
18
|
readonly payload: Schema.Struct<{
|
|
19
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
19
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
20
20
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
21
21
|
readonly compilerVersion: Schema.Literal<"0.2.0">;
|
|
22
22
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -123,10 +123,10 @@ export declare const PublicContentRuntimeFoundSchema: Schema.Struct<{
|
|
|
123
123
|
readonly activeReleaseId: Schema.brand<Schema.String, "@NakafaAI/AksaraReleaseId">;
|
|
124
124
|
readonly delivery: Schema.Literal<"public">;
|
|
125
125
|
readonly projection: Schema.Union<readonly [Schema.Struct<{
|
|
126
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
126
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
127
127
|
readonly articleRouteSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleRouteSlug">;
|
|
128
128
|
readonly articleSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleSlug">;
|
|
129
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
129
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
130
130
|
readonly category: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleCategory">;
|
|
131
131
|
readonly categoryRouteSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleRouteSlug">;
|
|
132
132
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -162,8 +162,8 @@ export declare const PublicContentRuntimeFoundSchema: Schema.Struct<{
|
|
|
162
162
|
}>>;
|
|
163
163
|
readonly sitemap: Schema.Literal<true>;
|
|
164
164
|
}>, Schema.Struct<{
|
|
165
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
166
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
165
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
166
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
167
167
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
168
168
|
readonly graph: Schema.Struct<{
|
|
169
169
|
readonly alignmentId: Schema.String;
|
|
@@ -192,8 +192,8 @@ export declare const PublicContentRuntimeFoundSchema: Schema.Struct<{
|
|
|
192
192
|
readonly sitemap: Schema.Literal<true>;
|
|
193
193
|
readonly topicTitle: Schema.String;
|
|
194
194
|
}>, Schema.Struct<{
|
|
195
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
196
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
195
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
196
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
197
197
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
198
198
|
readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
|
|
199
199
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
@@ -216,7 +216,7 @@ export declare const PublicContentRuntimeResponseSchema: Schema.Union<readonly [
|
|
|
216
216
|
readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
217
217
|
readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
|
|
218
218
|
readonly payload: Schema.Struct<{
|
|
219
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
219
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
220
220
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
221
221
|
readonly compilerVersion: Schema.Literal<"0.2.0">;
|
|
222
222
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -323,10 +323,10 @@ export declare const PublicContentRuntimeResponseSchema: Schema.Union<readonly [
|
|
|
323
323
|
readonly activeReleaseId: Schema.brand<Schema.String, "@NakafaAI/AksaraReleaseId">;
|
|
324
324
|
readonly delivery: Schema.Literal<"public">;
|
|
325
325
|
readonly projection: Schema.Union<readonly [Schema.Struct<{
|
|
326
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
326
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
327
327
|
readonly articleRouteSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleRouteSlug">;
|
|
328
328
|
readonly articleSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleSlug">;
|
|
329
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
329
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
330
330
|
readonly category: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleCategory">;
|
|
331
331
|
readonly categoryRouteSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleRouteSlug">;
|
|
332
332
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -362,8 +362,8 @@ export declare const PublicContentRuntimeResponseSchema: Schema.Union<readonly [
|
|
|
362
362
|
}>>;
|
|
363
363
|
readonly sitemap: Schema.Literal<true>;
|
|
364
364
|
}>, Schema.Struct<{
|
|
365
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
366
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
365
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
366
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
367
367
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
368
368
|
readonly graph: Schema.Struct<{
|
|
369
369
|
readonly alignmentId: Schema.String;
|
|
@@ -392,8 +392,8 @@ export declare const PublicContentRuntimeResponseSchema: Schema.Union<readonly [
|
|
|
392
392
|
readonly sitemap: Schema.Literal<true>;
|
|
393
393
|
readonly topicTitle: Schema.String;
|
|
394
394
|
}>, Schema.Struct<{
|
|
395
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
396
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
395
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
|
|
396
|
+
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
397
397
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
398
398
|
readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
|
|
399
399
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
@@ -417,7 +417,7 @@ export declare const PublicContentRuntimeResponseSchema: Schema.Union<readonly [
|
|
|
417
417
|
export type PublicContentRuntimeResponse = typeof PublicContentRuntimeResponseSchema.Type;
|
|
418
418
|
/** Strictly decodes one unknown public server-runtime request. */
|
|
419
419
|
export declare const decodePublicContentRuntimeRequest: (input: unknown) => Effect.Effect<{
|
|
420
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
420
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
421
421
|
readonly delivery: "public";
|
|
422
422
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
423
423
|
}, import("../errors.js").ContractDecodeError, never>;
|
|
@@ -432,7 +432,7 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
432
432
|
readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
433
433
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
434
434
|
readonly payload: {
|
|
435
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
435
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
436
436
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
437
437
|
readonly compilerVersion: "0.2.0";
|
|
438
438
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
@@ -532,10 +532,10 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
532
532
|
readonly activeReleaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
|
|
533
533
|
readonly delivery: "public";
|
|
534
534
|
readonly projection: {
|
|
535
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
535
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
536
536
|
readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
537
537
|
readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
|
|
538
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
538
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
539
539
|
readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
|
|
540
540
|
readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
541
541
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
@@ -571,8 +571,8 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
571
571
|
}[];
|
|
572
572
|
readonly sitemap: true;
|
|
573
573
|
} | {
|
|
574
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
575
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
574
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
575
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
576
576
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
577
577
|
readonly graph: {
|
|
578
578
|
readonly alignmentId: string;
|
|
@@ -601,8 +601,8 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
601
601
|
readonly sitemap: true;
|
|
602
602
|
readonly topicTitle: string;
|
|
603
603
|
} | {
|
|
604
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
605
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
604
|
+
readonly appLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
605
|
+
readonly artifactLocale: ("de" | "en" | "id" | "ms") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
606
606
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
607
607
|
readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
|
|
608
608
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|