@nakafa/aksara-contracts 0.51.0 → 1.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/LICENSE +207 -152
- package/README.md +3 -0
- package/dist/artifact/integrity.d.ts +22 -10
- package/dist/artifact/integrity.js +16 -2
- package/dist/artifact/limits.d.ts +13 -7
- package/dist/artifact/limits.js +5 -12
- package/dist/artifact/source.d.ts +10 -4
- package/dist/artifact/spec.d.ts +27 -15
- package/dist/artifact/spec.js +7 -8
- package/dist/artifact/verify.d.ts +11 -5
- package/dist/content.d.ts +37 -11
- package/dist/content.js +7 -21
- package/dist/limits.d.ts +2 -2
- package/dist/limits.js +2 -2
- package/dist/release/rollback/spec.d.ts +102 -24
- package/dist/runtime/protected/spec.d.ts +61 -16
- package/dist/runtime/protected/verify.d.ts +11 -5
- package/dist/runtime/spec.d.ts +44 -12
- package/dist/runtime/verify.d.ts +22 -10
- package/dist/transport/batch.d.ts +34 -8
- package/dist/transport/group.d.ts +51 -12
- package/dist/transport/request.d.ts +94 -32
- package/dist/transport/response.d.ts +122 -32
- package/dist/tree.d.ts +52 -0
- package/dist/tree.js +162 -0
- package/package.json +5 -1
|
@@ -40,12 +40,18 @@ export declare const verifyProtectedContentRuntimeExchange: (input: {
|
|
|
40
40
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
41
41
|
readonly payload: {
|
|
42
42
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
43
|
-
readonly byteLength: number;
|
|
44
|
-
readonly compiledCode: string;
|
|
45
43
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
46
|
-
readonly compilerVersion: "0.
|
|
44
|
+
readonly compilerVersion: "0.2.0";
|
|
47
45
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
48
|
-
readonly
|
|
46
|
+
readonly contentTree: {
|
|
47
|
+
readonly $node: "element";
|
|
48
|
+
readonly children: readonly import("../../tree.js").ContentTreeChild[];
|
|
49
|
+
readonly name: import("../../tree.js").ContentTreeElementName;
|
|
50
|
+
readonly props: {
|
|
51
|
+
readonly [key: string]: import("../../tree.js").ContentTreeValue;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
readonly format: "content-tree";
|
|
49
55
|
readonly mdxCompilerVersion: "3.1.1";
|
|
50
56
|
readonly plainText: string;
|
|
51
57
|
readonly rawMdx: string;
|
|
@@ -74,4 +80,4 @@ export declare const verifyProtectedContentRuntimeExchange: (input: {
|
|
|
74
80
|
} | {
|
|
75
81
|
readonly code: "CONTENT_RUNTIME_INTERNAL" | "CONTENT_RUNTIME_INVALID" | "CONTENT_RUNTIME_RESPONSE_TOO_LARGE" | "CONTENT_RUNTIME_UNAUTHORIZED";
|
|
76
82
|
readonly kind: "failure";
|
|
77
|
-
}, import("../../artifact/spec.js").
|
|
83
|
+
}, import("../../artifact/spec.js").ArtifactHashComputationError | import("../../artifact/spec.js").ArtifactHashMismatchError | import("../../artifact/spec.js").ArtifactPayloadFieldByteLimitError | import("../../artifact/spec.js").ArtifactRendererComponentMissingError | import("../../artifact/spec.js").ArtifactRendererDomainUnpublishedError | import("../../artifact/spec.js").ArtifactSourceHashComputationError | import("../../artifact/spec.js").ArtifactSourceHashMismatchError | import("../../artifact/spec.js").ArtifactTreeComponentUnlistedError | import("../../artifact/spec.js").ArtifactVerificationByteLimitError | import("../../artifact/spec.js").ArtifactVerificationDecodeError | ContentRuntimeMismatchError | import("../../errors.js").ContractDecodeError | import("../../signature/spec.js").PublicKeyParseError | import("../../signature/spec.js").PublicKeyTypeError | import("#contracts/renderer/contract").RendererDomainCapabilityMissingError | import("#contracts/renderer/contract").RendererManifestHashComputeError | import("#contracts/renderer/contract").RendererManifestHashMismatchError | import("../../signature/spec.js").SignatureCheckError | import("../../signature/spec.js").SignatureInvalidError | import("../../signature/spec.js").SigningKeyNotFoundError | import("../../signature/spec.js").SigningKeyResolutionError | import("../../tryout/canonical.js").TryoutCanonicalHashError | import("../../tryout/runtime/hash.js").TryoutRuntimeBundleHashComputationError | import("#contracts/tryout/runtime/verify").TryoutRuntimeBundleHashMismatchError | import("#contracts/tryout/runtime/verify").TryoutRuntimeBundleRendererMismatchError | import("#contracts/tryout/runtime/verify").TryoutRuntimeBundleSnapshotMismatchError | import("#contracts/tryout/runtime/verify").TryoutRuntimeBundleVerificationDecodeError, import("../../signature/spec.js").ContentVerificationKeyResolver>;
|
package/dist/runtime/spec.d.ts
CHANGED
|
@@ -17,12 +17,25 @@ export declare const PublicContentRuntimeFoundSchema: Schema.Struct<{
|
|
|
17
17
|
readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
|
|
18
18
|
readonly payload: Schema.Struct<{
|
|
19
19
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
20
|
-
readonly byteLength: Schema.Finite;
|
|
21
|
-
readonly compiledCode: Schema.String;
|
|
22
20
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
23
|
-
readonly compilerVersion: Schema.Literal<"0.
|
|
21
|
+
readonly compilerVersion: Schema.Literal<"0.2.0">;
|
|
24
22
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
25
|
-
readonly
|
|
23
|
+
readonly contentTree: Schema.Codec<{
|
|
24
|
+
readonly $node: "element";
|
|
25
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
26
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
27
|
+
readonly props: {
|
|
28
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
readonly $node: "element";
|
|
32
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
33
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
34
|
+
readonly props: {
|
|
35
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
36
|
+
};
|
|
37
|
+
}, never, never>;
|
|
38
|
+
readonly format: Schema.Literal<"content-tree">;
|
|
26
39
|
readonly mdxCompilerVersion: Schema.Literal<"3.1.1">;
|
|
27
40
|
readonly plainText: Schema.String;
|
|
28
41
|
readonly rawMdx: Schema.String;
|
|
@@ -204,12 +217,25 @@ export declare const PublicContentRuntimeResponseSchema: Schema.Union<readonly [
|
|
|
204
217
|
readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
|
|
205
218
|
readonly payload: Schema.Struct<{
|
|
206
219
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
207
|
-
readonly byteLength: Schema.Finite;
|
|
208
|
-
readonly compiledCode: Schema.String;
|
|
209
220
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
210
|
-
readonly compilerVersion: Schema.Literal<"0.
|
|
221
|
+
readonly compilerVersion: Schema.Literal<"0.2.0">;
|
|
211
222
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
212
|
-
readonly
|
|
223
|
+
readonly contentTree: Schema.Codec<{
|
|
224
|
+
readonly $node: "element";
|
|
225
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
226
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
227
|
+
readonly props: {
|
|
228
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
229
|
+
};
|
|
230
|
+
}, {
|
|
231
|
+
readonly $node: "element";
|
|
232
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
233
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
234
|
+
readonly props: {
|
|
235
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
236
|
+
};
|
|
237
|
+
}, never, never>;
|
|
238
|
+
readonly format: Schema.Literal<"content-tree">;
|
|
213
239
|
readonly mdxCompilerVersion: Schema.Literal<"3.1.1">;
|
|
214
240
|
readonly plainText: Schema.String;
|
|
215
241
|
readonly rawMdx: Schema.String;
|
|
@@ -402,12 +428,18 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
402
428
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
403
429
|
readonly payload: {
|
|
404
430
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
405
|
-
readonly byteLength: number;
|
|
406
|
-
readonly compiledCode: string;
|
|
407
431
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
408
|
-
readonly compilerVersion: "0.
|
|
432
|
+
readonly compilerVersion: "0.2.0";
|
|
409
433
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
410
|
-
readonly
|
|
434
|
+
readonly contentTree: {
|
|
435
|
+
readonly $node: "element";
|
|
436
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
437
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
438
|
+
readonly props: {
|
|
439
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
readonly format: "content-tree";
|
|
411
443
|
readonly mdxCompilerVersion: "3.1.1";
|
|
412
444
|
readonly plainText: string;
|
|
413
445
|
readonly rawMdx: string;
|
package/dist/runtime/verify.d.ts
CHANGED
|
@@ -15,12 +15,18 @@ export declare const verifyContentRuntimeEvidenceExchange: (input: {
|
|
|
15
15
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
16
16
|
readonly payload: {
|
|
17
17
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
18
|
-
readonly byteLength: number;
|
|
19
|
-
readonly compiledCode: string;
|
|
20
18
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
21
|
-
readonly compilerVersion: "0.
|
|
19
|
+
readonly compilerVersion: "0.2.0";
|
|
22
20
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
23
|
-
readonly
|
|
21
|
+
readonly contentTree: {
|
|
22
|
+
readonly $node: "element";
|
|
23
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
24
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
25
|
+
readonly props: {
|
|
26
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
readonly format: "content-tree";
|
|
24
30
|
readonly mdxCompilerVersion: "3.1.1";
|
|
25
31
|
readonly plainText: string;
|
|
26
32
|
readonly rawMdx: string;
|
|
@@ -198,7 +204,7 @@ export declare const verifyContentRuntimeEvidenceExchange: (input: {
|
|
|
198
204
|
} | {
|
|
199
205
|
readonly code: "CONTENT_RUNTIME_INTERNAL" | "CONTENT_RUNTIME_INVALID" | "CONTENT_RUNTIME_RESPONSE_TOO_LARGE" | "CONTENT_RUNTIME_UNAUTHORIZED";
|
|
200
206
|
readonly kind: "failure";
|
|
201
|
-
}, import("../artifact/spec.js").
|
|
207
|
+
}, import("../artifact/spec.js").ArtifactHashComputationError | import("../artifact/spec.js").ArtifactHashMismatchError | import("../artifact/spec.js").ArtifactPayloadFieldByteLimitError | import("../artifact/spec.js").ArtifactRendererComponentMissingError | import("../artifact/spec.js").ArtifactRendererDomainUnpublishedError | import("../artifact/spec.js").ArtifactSourceHashComputationError | import("../artifact/spec.js").ArtifactSourceHashMismatchError | import("../artifact/spec.js").ArtifactTreeComponentUnlistedError | import("../artifact/spec.js").ArtifactVerificationByteLimitError | import("../artifact/spec.js").ArtifactVerificationDecodeError | import("#contracts/projection/hash").ContentProjectionHashError | ContentRuntimeMismatchError | import("../errors.js").ContractDecodeError | import("../signature/spec.js").PublicKeyParseError | import("../signature/spec.js").PublicKeyTypeError | import("#contracts/release/verify").ReleaseBundleVerificationDecodeError | import("../release/hash.js").ReleaseHashComputationError | import("#contracts/release/verify").ReleaseManifestHashMismatchError | import("#contracts/release/verify").ReleaseVerificationDecodeError | import("../renderer/contract.js").RendererDomainCapabilityMissingError | import("../renderer/contract.js").RendererManifestHashComputeError | import("../renderer/contract.js").RendererManifestHashMismatchError | import("../signature/spec.js").SignatureCheckError | import("../signature/spec.js").SignatureInvalidError | import("../signature/spec.js").SigningKeyNotFoundError | import("../signature/spec.js").SigningKeyResolutionError, import("../signature/spec.js").ContentVerificationKeyResolver>;
|
|
202
208
|
/**
|
|
203
209
|
* Verifies independently signed runtime values selected for one exact request.
|
|
204
210
|
*
|
|
@@ -215,12 +221,18 @@ export declare const verifyContentRuntimeExchange: (input: {
|
|
|
215
221
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
216
222
|
readonly payload: {
|
|
217
223
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
218
|
-
readonly byteLength: number;
|
|
219
|
-
readonly compiledCode: string;
|
|
220
224
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
221
|
-
readonly compilerVersion: "0.
|
|
225
|
+
readonly compilerVersion: "0.2.0";
|
|
222
226
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
223
|
-
readonly
|
|
227
|
+
readonly contentTree: {
|
|
228
|
+
readonly $node: "element";
|
|
229
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
230
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
231
|
+
readonly props: {
|
|
232
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
readonly format: "content-tree";
|
|
224
236
|
readonly mdxCompilerVersion: "3.1.1";
|
|
225
237
|
readonly plainText: string;
|
|
226
238
|
readonly rawMdx: string;
|
|
@@ -398,4 +410,4 @@ export declare const verifyContentRuntimeExchange: (input: {
|
|
|
398
410
|
} | {
|
|
399
411
|
readonly code: "CONTENT_RUNTIME_INTERNAL" | "CONTENT_RUNTIME_INVALID" | "CONTENT_RUNTIME_RESPONSE_TOO_LARGE" | "CONTENT_RUNTIME_UNAUTHORIZED";
|
|
400
412
|
readonly kind: "failure";
|
|
401
|
-
}, import("../artifact/spec.js").
|
|
413
|
+
}, import("../artifact/spec.js").ArtifactHashComputationError | import("../artifact/spec.js").ArtifactHashMismatchError | import("../artifact/spec.js").ArtifactPayloadFieldByteLimitError | import("../artifact/spec.js").ArtifactRendererComponentMissingError | import("../artifact/spec.js").ArtifactRendererDomainUnpublishedError | import("../artifact/spec.js").ArtifactSourceHashComputationError | import("../artifact/spec.js").ArtifactSourceHashMismatchError | import("../artifact/spec.js").ArtifactTreeComponentUnlistedError | import("../artifact/spec.js").ArtifactVerificationByteLimitError | import("../artifact/spec.js").ArtifactVerificationDecodeError | import("#contracts/projection/hash").ContentProjectionHashError | ContentRuntimeMismatchError | import("../errors.js").ContractDecodeError | import("../signature/spec.js").PublicKeyParseError | import("../signature/spec.js").PublicKeyTypeError | import("#contracts/release/verify").ReleaseBundleVerificationDecodeError | import("../release/hash.js").ReleaseHashComputationError | import("#contracts/release/verify").ReleaseManifestHashMismatchError | import("#contracts/release/verify").ReleaseVerificationDecodeError | import("../renderer/contract.js").RendererDomainCapabilityMissingError | import("../renderer/contract.js").RendererManifestHashComputeError | import("../renderer/contract.js").RendererManifestHashMismatchError | import("../signature/spec.js").SignatureCheckError | import("../signature/spec.js").SignatureInvalidError | import("../signature/spec.js").SigningKeyNotFoundError | import("../signature/spec.js").SigningKeyResolutionError, import("../signature/spec.js").ContentVerificationKeyResolver>;
|
|
@@ -524,12 +524,25 @@ export declare const StageArtifactBatchInputSchema: Schema.Struct<{
|
|
|
524
524
|
readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
|
|
525
525
|
readonly payload: Schema.Struct<{
|
|
526
526
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
527
|
-
readonly byteLength: Schema.Finite;
|
|
528
|
-
readonly compiledCode: Schema.String;
|
|
529
527
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
530
|
-
readonly compilerVersion: Schema.Literal<"0.
|
|
528
|
+
readonly compilerVersion: Schema.Literal<"0.2.0">;
|
|
531
529
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
532
|
-
readonly
|
|
530
|
+
readonly contentTree: Schema.Codec<{
|
|
531
|
+
readonly $node: "element";
|
|
532
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
533
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
534
|
+
readonly props: {
|
|
535
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
536
|
+
};
|
|
537
|
+
}, {
|
|
538
|
+
readonly $node: "element";
|
|
539
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
540
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
541
|
+
readonly props: {
|
|
542
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
543
|
+
};
|
|
544
|
+
}, never, never>;
|
|
545
|
+
readonly format: Schema.Literal<"content-tree">;
|
|
533
546
|
readonly mdxCompilerVersion: Schema.Literal<"3.1.1">;
|
|
534
547
|
readonly plainText: Schema.String;
|
|
535
548
|
readonly rawMdx: Schema.String;
|
|
@@ -550,12 +563,25 @@ export declare const StageArtifactBatchRequestSchema: Schema.Struct<{
|
|
|
550
563
|
readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
|
|
551
564
|
readonly payload: Schema.Struct<{
|
|
552
565
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
553
|
-
readonly byteLength: Schema.Finite;
|
|
554
|
-
readonly compiledCode: Schema.String;
|
|
555
566
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
556
|
-
readonly compilerVersion: Schema.Literal<"0.
|
|
567
|
+
readonly compilerVersion: Schema.Literal<"0.2.0">;
|
|
557
568
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
558
|
-
readonly
|
|
569
|
+
readonly contentTree: Schema.Codec<{
|
|
570
|
+
readonly $node: "element";
|
|
571
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
572
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
573
|
+
readonly props: {
|
|
574
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
575
|
+
};
|
|
576
|
+
}, {
|
|
577
|
+
readonly $node: "element";
|
|
578
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
579
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
580
|
+
readonly props: {
|
|
581
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
582
|
+
};
|
|
583
|
+
}, never, never>;
|
|
584
|
+
readonly format: Schema.Literal<"content-tree">;
|
|
559
585
|
readonly mdxCompilerVersion: Schema.Literal<"3.1.1">;
|
|
560
586
|
readonly plainText: Schema.String;
|
|
561
587
|
readonly rawMdx: Schema.String;
|
|
@@ -6,12 +6,25 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
|
|
|
6
6
|
readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
|
|
7
7
|
readonly payload: Schema.Struct<{
|
|
8
8
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
9
|
-
readonly byteLength: Schema.Finite;
|
|
10
|
-
readonly compiledCode: Schema.String;
|
|
11
9
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
12
|
-
readonly compilerVersion: Schema.Literal<"0.
|
|
10
|
+
readonly compilerVersion: Schema.Literal<"0.2.0">;
|
|
13
11
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
14
|
-
readonly
|
|
12
|
+
readonly contentTree: Schema.Codec<{
|
|
13
|
+
readonly $node: "element";
|
|
14
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
15
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
16
|
+
readonly props: {
|
|
17
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
readonly $node: "element";
|
|
21
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
22
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
23
|
+
readonly props: {
|
|
24
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
25
|
+
};
|
|
26
|
+
}, never, never>;
|
|
27
|
+
readonly format: Schema.Literal<"content-tree">;
|
|
15
28
|
readonly mdxCompilerVersion: Schema.Literal<"3.1.1">;
|
|
16
29
|
readonly plainText: Schema.String;
|
|
17
30
|
readonly rawMdx: Schema.String;
|
|
@@ -810,12 +823,25 @@ export declare const StageGroupInputSchema: Schema.Struct<{
|
|
|
810
823
|
readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
|
|
811
824
|
readonly payload: Schema.Struct<{
|
|
812
825
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
813
|
-
readonly byteLength: Schema.Finite;
|
|
814
|
-
readonly compiledCode: Schema.String;
|
|
815
826
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
816
|
-
readonly compilerVersion: Schema.Literal<"0.
|
|
827
|
+
readonly compilerVersion: Schema.Literal<"0.2.0">;
|
|
817
828
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
818
|
-
readonly
|
|
829
|
+
readonly contentTree: Schema.Codec<{
|
|
830
|
+
readonly $node: "element";
|
|
831
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
832
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
833
|
+
readonly props: {
|
|
834
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
835
|
+
};
|
|
836
|
+
}, {
|
|
837
|
+
readonly $node: "element";
|
|
838
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
839
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
840
|
+
readonly props: {
|
|
841
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
842
|
+
};
|
|
843
|
+
}, never, never>;
|
|
844
|
+
readonly format: Schema.Literal<"content-tree">;
|
|
819
845
|
readonly mdxCompilerVersion: Schema.Literal<"3.1.1">;
|
|
820
846
|
readonly plainText: Schema.String;
|
|
821
847
|
readonly rawMdx: Schema.String;
|
|
@@ -1615,12 +1641,25 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
|
|
|
1615
1641
|
readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
|
|
1616
1642
|
readonly payload: Schema.Struct<{
|
|
1617
1643
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1618
|
-
readonly byteLength: Schema.Finite;
|
|
1619
|
-
readonly compiledCode: Schema.String;
|
|
1620
1644
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
1621
|
-
readonly compilerVersion: Schema.Literal<"0.
|
|
1645
|
+
readonly compilerVersion: Schema.Literal<"0.2.0">;
|
|
1622
1646
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1623
|
-
readonly
|
|
1647
|
+
readonly contentTree: Schema.Codec<{
|
|
1648
|
+
readonly $node: "element";
|
|
1649
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
1650
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
1651
|
+
readonly props: {
|
|
1652
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
1653
|
+
};
|
|
1654
|
+
}, {
|
|
1655
|
+
readonly $node: "element";
|
|
1656
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
1657
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
1658
|
+
readonly props: {
|
|
1659
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
1660
|
+
};
|
|
1661
|
+
}, never, never>;
|
|
1662
|
+
readonly format: Schema.Literal<"content-tree">;
|
|
1624
1663
|
readonly mdxCompilerVersion: Schema.Literal<"3.1.1">;
|
|
1625
1664
|
readonly plainText: Schema.String;
|
|
1626
1665
|
readonly rawMdx: Schema.String;
|
|
@@ -1203,12 +1203,25 @@ export declare const PublicationRequestSchema: Schema.Union<readonly [Schema.Str
|
|
|
1203
1203
|
readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
|
|
1204
1204
|
readonly payload: Schema.Struct<{
|
|
1205
1205
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
1206
|
-
readonly byteLength: Schema.Finite;
|
|
1207
|
-
readonly compiledCode: Schema.String;
|
|
1208
1206
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
1209
|
-
readonly compilerVersion: Schema.Literal<"0.
|
|
1207
|
+
readonly compilerVersion: Schema.Literal<"0.2.0">;
|
|
1210
1208
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
1211
|
-
readonly
|
|
1209
|
+
readonly contentTree: Schema.Codec<{
|
|
1210
|
+
readonly $node: "element";
|
|
1211
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
1212
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
1213
|
+
readonly props: {
|
|
1214
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
1215
|
+
};
|
|
1216
|
+
}, {
|
|
1217
|
+
readonly $node: "element";
|
|
1218
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
1219
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
1220
|
+
readonly props: {
|
|
1221
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
1222
|
+
};
|
|
1223
|
+
}, never, never>;
|
|
1224
|
+
readonly format: Schema.Literal<"content-tree">;
|
|
1212
1225
|
readonly mdxCompilerVersion: Schema.Literal<"3.1.1">;
|
|
1213
1226
|
readonly plainText: Schema.String;
|
|
1214
1227
|
readonly rawMdx: Schema.String;
|
|
@@ -2253,12 +2266,25 @@ export declare const PublicationRequestSchema: Schema.Union<readonly [Schema.Str
|
|
|
2253
2266
|
readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
|
|
2254
2267
|
readonly payload: Schema.Struct<{
|
|
2255
2268
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
2256
|
-
readonly byteLength: Schema.Finite;
|
|
2257
|
-
readonly compiledCode: Schema.String;
|
|
2258
2269
|
readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
2259
|
-
readonly compilerVersion: Schema.Literal<"0.
|
|
2270
|
+
readonly compilerVersion: Schema.Literal<"0.2.0">;
|
|
2260
2271
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
2261
|
-
readonly
|
|
2272
|
+
readonly contentTree: Schema.Codec<{
|
|
2273
|
+
readonly $node: "element";
|
|
2274
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
2275
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
2276
|
+
readonly props: {
|
|
2277
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
2278
|
+
};
|
|
2279
|
+
}, {
|
|
2280
|
+
readonly $node: "element";
|
|
2281
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
2282
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
2283
|
+
readonly props: {
|
|
2284
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
2285
|
+
};
|
|
2286
|
+
}, never, never>;
|
|
2287
|
+
readonly format: Schema.Literal<"content-tree">;
|
|
2262
2288
|
readonly mdxCompilerVersion: Schema.Literal<"3.1.1">;
|
|
2263
2289
|
readonly plainText: Schema.String;
|
|
2264
2290
|
readonly rawMdx: Schema.String;
|
|
@@ -2990,12 +3016,18 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
|
|
|
2990
3016
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
2991
3017
|
readonly payload: {
|
|
2992
3018
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
2993
|
-
readonly byteLength: number;
|
|
2994
|
-
readonly compiledCode: string;
|
|
2995
3019
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
2996
|
-
readonly compilerVersion: "0.
|
|
3020
|
+
readonly compilerVersion: "0.2.0";
|
|
2997
3021
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
2998
|
-
readonly
|
|
3022
|
+
readonly contentTree: {
|
|
3023
|
+
readonly $node: "element";
|
|
3024
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
3025
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
3026
|
+
readonly props: {
|
|
3027
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
3028
|
+
};
|
|
3029
|
+
};
|
|
3030
|
+
readonly format: "content-tree";
|
|
2999
3031
|
readonly mdxCompilerVersion: "3.1.1";
|
|
3000
3032
|
readonly plainText: string;
|
|
3001
3033
|
readonly rawMdx: string;
|
|
@@ -3009,12 +3041,18 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
|
|
|
3009
3041
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
3010
3042
|
readonly payload: {
|
|
3011
3043
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
3012
|
-
readonly byteLength: number;
|
|
3013
|
-
readonly compiledCode: string;
|
|
3014
3044
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
3015
|
-
readonly compilerVersion: "0.
|
|
3045
|
+
readonly compilerVersion: "0.2.0";
|
|
3016
3046
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
3017
|
-
readonly
|
|
3047
|
+
readonly contentTree: {
|
|
3048
|
+
readonly $node: "element";
|
|
3049
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
3050
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
3051
|
+
readonly props: {
|
|
3052
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
3053
|
+
};
|
|
3054
|
+
};
|
|
3055
|
+
readonly format: "content-tree";
|
|
3018
3056
|
readonly mdxCompilerVersion: "3.1.1";
|
|
3019
3057
|
readonly plainText: string;
|
|
3020
3058
|
readonly rawMdx: string;
|
|
@@ -5006,12 +5044,18 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
|
|
|
5006
5044
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
5007
5045
|
readonly payload: {
|
|
5008
5046
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
5009
|
-
readonly byteLength: number;
|
|
5010
|
-
readonly compiledCode: string;
|
|
5011
5047
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
5012
|
-
readonly compilerVersion: "0.
|
|
5048
|
+
readonly compilerVersion: "0.2.0";
|
|
5013
5049
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
5014
|
-
readonly
|
|
5050
|
+
readonly contentTree: {
|
|
5051
|
+
readonly $node: "element";
|
|
5052
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
5053
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
5054
|
+
readonly props: {
|
|
5055
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
5056
|
+
};
|
|
5057
|
+
};
|
|
5058
|
+
readonly format: "content-tree";
|
|
5015
5059
|
readonly mdxCompilerVersion: "3.1.1";
|
|
5016
5060
|
readonly plainText: string;
|
|
5017
5061
|
readonly rawMdx: string;
|
|
@@ -5025,12 +5069,18 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
|
|
|
5025
5069
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
5026
5070
|
readonly payload: {
|
|
5027
5071
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
5028
|
-
readonly byteLength: number;
|
|
5029
|
-
readonly compiledCode: string;
|
|
5030
5072
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
5031
|
-
readonly compilerVersion: "0.
|
|
5073
|
+
readonly compilerVersion: "0.2.0";
|
|
5032
5074
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
5033
|
-
readonly
|
|
5075
|
+
readonly contentTree: {
|
|
5076
|
+
readonly $node: "element";
|
|
5077
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
5078
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
5079
|
+
readonly props: {
|
|
5080
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
5081
|
+
};
|
|
5082
|
+
};
|
|
5083
|
+
readonly format: "content-tree";
|
|
5034
5084
|
readonly mdxCompilerVersion: "3.1.1";
|
|
5035
5085
|
readonly plainText: string;
|
|
5036
5086
|
readonly rawMdx: string;
|
|
@@ -6776,12 +6826,18 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
|
|
|
6776
6826
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
6777
6827
|
readonly payload: {
|
|
6778
6828
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
6779
|
-
readonly byteLength: number;
|
|
6780
|
-
readonly compiledCode: string;
|
|
6781
6829
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
6782
|
-
readonly compilerVersion: "0.
|
|
6830
|
+
readonly compilerVersion: "0.2.0";
|
|
6783
6831
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
6784
|
-
readonly
|
|
6832
|
+
readonly contentTree: {
|
|
6833
|
+
readonly $node: "element";
|
|
6834
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
6835
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
6836
|
+
readonly props: {
|
|
6837
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
6838
|
+
};
|
|
6839
|
+
};
|
|
6840
|
+
readonly format: "content-tree";
|
|
6785
6841
|
readonly mdxCompilerVersion: "3.1.1";
|
|
6786
6842
|
readonly plainText: string;
|
|
6787
6843
|
readonly rawMdx: string;
|
|
@@ -6795,12 +6851,18 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
|
|
|
6795
6851
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
6796
6852
|
readonly payload: {
|
|
6797
6853
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
6798
|
-
readonly byteLength: number;
|
|
6799
|
-
readonly compiledCode: string;
|
|
6800
6854
|
readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
6801
|
-
readonly compilerVersion: "0.
|
|
6855
|
+
readonly compilerVersion: "0.2.0";
|
|
6802
6856
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
6803
|
-
readonly
|
|
6857
|
+
readonly contentTree: {
|
|
6858
|
+
readonly $node: "element";
|
|
6859
|
+
readonly children: readonly import("../tree.js").ContentTreeChild[];
|
|
6860
|
+
readonly name: import("../tree.js").ContentTreeElementName;
|
|
6861
|
+
readonly props: {
|
|
6862
|
+
readonly [key: string]: import("../tree.js").ContentTreeValue;
|
|
6863
|
+
};
|
|
6864
|
+
};
|
|
6865
|
+
readonly format: "content-tree";
|
|
6804
6866
|
readonly mdxCompilerVersion: "3.1.1";
|
|
6805
6867
|
readonly plainText: string;
|
|
6806
6868
|
readonly rawMdx: string;
|