@nakafa/aksara-contracts 0.27.0 → 0.31.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/README.md +18 -10
- package/dist/math/base.d.ts +49 -0
- package/dist/math/base.js +103 -0
- package/dist/math/plane.d.ts +317 -0
- package/dist/math/plane.js +151 -0
- package/dist/math/space.d.ts +397 -0
- package/dist/math/space.js +129 -0
- package/dist/math/vector.d.ts +3 -0
- package/dist/math/vector.js +74 -0
- package/dist/math/visual.d.ts +984 -0
- package/dist/math/visual.js +15 -0
- package/dist/preview/artifact.d.ts +4 -32
- package/dist/preview/artifact.js +2 -2
- package/dist/preview/spec.d.ts +8 -64
- package/dist/projection/digest.d.ts +4 -74
- package/dist/projection/page.d.ts +1 -50
- package/dist/projection/page.js +9 -38
- package/dist/projection/question.d.ts +16 -184
- package/dist/projection/spec.d.ts +7 -253
- package/dist/projection/spec.js +2 -9
- package/dist/projection/verify.d.ts +4 -74
- package/dist/question/item.d.ts +24 -304
- package/dist/question/item.js +4 -4
- package/dist/question/response.d.ts +9 -97
- package/dist/question/response.js +8 -31
- package/dist/release/policy.d.ts +3 -0
- package/dist/release/policy.js +2 -0
- package/dist/release/rollback/spec.d.ts +36 -288
- package/dist/release/snapshot/data.d.ts +4 -32
- package/dist/release/snapshot/verify.d.ts +4 -60
- package/dist/renderer/compatibility.d.ts +49 -2
- package/dist/renderer/compatibility.js +49 -1
- package/dist/runtime/spec.d.ts +4 -46
- package/dist/runtime/verify.d.ts +0 -28
- package/dist/transport/batch.d.ts +8 -481
- package/dist/transport/batch.js +2 -14
- package/dist/transport/group.d.ts +50 -836
- package/dist/transport/group.js +1 -2
- package/dist/transport/request.d.ts +440 -2356
- package/dist/transport/response.d.ts +44 -436
- package/dist/transport/snapshot.d.ts +8 -64
- package/dist/tryout/content-hash.d.ts +4 -32
- package/dist/tryout/placement.d.ts +12 -96
- package/package.json +9 -1
|
@@ -572,41 +572,13 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
572
572
|
readonly response: {
|
|
573
573
|
readonly categories: readonly {
|
|
574
574
|
readonly categoryKey: string;
|
|
575
|
-
readonly label:
|
|
576
|
-
readonly display: "block" | "inline";
|
|
577
|
-
readonly kind: "math";
|
|
578
|
-
readonly math: string;
|
|
579
|
-
} | {
|
|
580
|
-
readonly kind: "text";
|
|
581
|
-
readonly text: string;
|
|
582
|
-
}, ...({
|
|
583
|
-
readonly display: "block" | "inline";
|
|
584
|
-
readonly kind: "math";
|
|
585
|
-
readonly math: string;
|
|
586
|
-
} | {
|
|
587
|
-
readonly kind: "text";
|
|
588
|
-
readonly text: string;
|
|
589
|
-
})[]];
|
|
575
|
+
readonly label: string;
|
|
590
576
|
readonly order: number;
|
|
591
577
|
}[];
|
|
592
578
|
readonly kind: "category";
|
|
593
579
|
readonly statements: readonly {
|
|
594
580
|
readonly correctCategoryKey: string;
|
|
595
|
-
readonly label:
|
|
596
|
-
readonly display: "block" | "inline";
|
|
597
|
-
readonly kind: "math";
|
|
598
|
-
readonly math: string;
|
|
599
|
-
} | {
|
|
600
|
-
readonly kind: "text";
|
|
601
|
-
readonly text: string;
|
|
602
|
-
}, ...({
|
|
603
|
-
readonly display: "block" | "inline";
|
|
604
|
-
readonly kind: "math";
|
|
605
|
-
readonly math: string;
|
|
606
|
-
} | {
|
|
607
|
-
readonly kind: "text";
|
|
608
|
-
readonly text: string;
|
|
609
|
-
})[]];
|
|
581
|
+
readonly label: string;
|
|
610
582
|
readonly order: number;
|
|
611
583
|
readonly statementKey: string;
|
|
612
584
|
}[];
|
|
@@ -614,21 +586,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
614
586
|
readonly kind: "multiple-choice";
|
|
615
587
|
readonly options: readonly {
|
|
616
588
|
readonly isCorrect: boolean;
|
|
617
|
-
readonly label:
|
|
618
|
-
readonly display: "block" | "inline";
|
|
619
|
-
readonly kind: "math";
|
|
620
|
-
readonly math: string;
|
|
621
|
-
} | {
|
|
622
|
-
readonly kind: "text";
|
|
623
|
-
readonly text: string;
|
|
624
|
-
}, ...({
|
|
625
|
-
readonly display: "block" | "inline";
|
|
626
|
-
readonly kind: "math";
|
|
627
|
-
readonly math: string;
|
|
628
|
-
} | {
|
|
629
|
-
readonly kind: "text";
|
|
630
|
-
readonly text: string;
|
|
631
|
-
})[]];
|
|
589
|
+
readonly label: string;
|
|
632
590
|
readonly optionKey: string;
|
|
633
591
|
readonly order: number;
|
|
634
592
|
}[];
|
|
@@ -636,21 +594,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
636
594
|
readonly kind: "single-choice";
|
|
637
595
|
readonly options: readonly {
|
|
638
596
|
readonly isCorrect: boolean;
|
|
639
|
-
readonly label:
|
|
640
|
-
readonly display: "block" | "inline";
|
|
641
|
-
readonly kind: "math";
|
|
642
|
-
readonly math: string;
|
|
643
|
-
} | {
|
|
644
|
-
readonly kind: "text";
|
|
645
|
-
readonly text: string;
|
|
646
|
-
}, ...({
|
|
647
|
-
readonly display: "block" | "inline";
|
|
648
|
-
readonly kind: "math";
|
|
649
|
-
readonly math: string;
|
|
650
|
-
} | {
|
|
651
|
-
readonly kind: "text";
|
|
652
|
-
readonly text: string;
|
|
653
|
-
})[]];
|
|
597
|
+
readonly label: string;
|
|
654
598
|
readonly optionKey: string;
|
|
655
599
|
readonly order: number;
|
|
656
600
|
}[];
|
|
@@ -1,6 +1,52 @@
|
|
|
1
|
-
import { Effect } from "effect";
|
|
1
|
+
import { Effect, Schema } from "effect";
|
|
2
2
|
import { ArtifactRendererComponentMissingError, ArtifactRendererDomainUnpublishedError, ArtifactRendererVersionUnsupportedError, type ArtifactVerificationRequest, RendererContractVersionMismatchError } from "#contracts/artifact/spec";
|
|
3
3
|
import type { CompiledContentPayload } from "#contracts/content";
|
|
4
|
+
import { type RendererManifestEnvelope } from "#contracts/renderer/contract";
|
|
5
|
+
declare const RendererManifestDomainUnpublishedError_base: Schema.Class<RendererManifestDomainUnpublishedError, Schema.TaggedStruct<"RendererManifestDomainUnpublishedError", {
|
|
6
|
+
readonly rendererDomain: Schema.Literals<readonly ["ai-ds", "biology", "chemistry", "mathematics", "physics", "politics", "site", "snbt-general", "snbt-math", "snbt-plain", "snbt-quant", "tka-math"]>;
|
|
7
|
+
}>, import("effect/Cause").YieldableError>;
|
|
8
|
+
/** A live renderer no longer publishes one domain frozen by a signed release. */
|
|
9
|
+
export declare class RendererManifestDomainUnpublishedError extends RendererManifestDomainUnpublishedError_base {
|
|
10
|
+
}
|
|
11
|
+
declare const RendererManifestComponentUnsupportedError_base: Schema.Class<RendererManifestComponentUnsupportedError, Schema.TaggedStruct<"RendererManifestComponentUnsupportedError", {
|
|
12
|
+
readonly componentName: Schema.String;
|
|
13
|
+
readonly componentVersion: Schema.Finite;
|
|
14
|
+
readonly rendererScope: Schema.Union<readonly [Schema.Literal<"base">, Schema.Literals<readonly ["ai-ds", "biology", "chemistry", "mathematics", "physics", "politics", "site", "snbt-general", "snbt-math", "snbt-plain", "snbt-quant", "tka-math"]>]>;
|
|
15
|
+
}>, import("effect/Cause").YieldableError>;
|
|
16
|
+
/** A live renderer no longer supports one exact frozen component version. */
|
|
17
|
+
export declare class RendererManifestComponentUnsupportedError extends RendererManifestComponentUnsupportedError_base {
|
|
18
|
+
}
|
|
19
|
+
/** Proves a current live renderer can execute every frozen release capability. */
|
|
20
|
+
export declare const verifyRendererManifestCompatibility: (input: {
|
|
21
|
+
readonly frozen: RendererManifestEnvelope;
|
|
22
|
+
readonly live: RendererManifestEnvelope;
|
|
23
|
+
}) => Effect.Effect<{
|
|
24
|
+
readonly base: {
|
|
25
|
+
readonly authoringComponents: readonly {
|
|
26
|
+
readonly name: string;
|
|
27
|
+
readonly version: number;
|
|
28
|
+
}[];
|
|
29
|
+
readonly supportedComponents: readonly {
|
|
30
|
+
readonly name: string;
|
|
31
|
+
readonly version: number;
|
|
32
|
+
}[];
|
|
33
|
+
};
|
|
34
|
+
readonly domains: readonly {
|
|
35
|
+
readonly authoringComponents: readonly {
|
|
36
|
+
readonly name: string;
|
|
37
|
+
readonly version: number;
|
|
38
|
+
}[];
|
|
39
|
+
readonly name: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
|
|
40
|
+
readonly supportedComponents: readonly {
|
|
41
|
+
readonly name: string;
|
|
42
|
+
readonly version: number;
|
|
43
|
+
}[];
|
|
44
|
+
}[];
|
|
45
|
+
readonly format: "nakafa-mdx-renderer-v1";
|
|
46
|
+
readonly hash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
47
|
+
readonly publishedDomains: readonly ("ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math")[];
|
|
48
|
+
readonly rendererContractVersion: "1.0.0";
|
|
49
|
+
}, import("#contracts/renderer/contract").RendererDomainCapabilityMissingError | RendererManifestComponentUnsupportedError | RendererManifestDomainUnpublishedError, never>;
|
|
4
50
|
/** Verifies that a deployed live renderer can route and execute one artifact. */
|
|
5
51
|
export declare const verifyContentRendererCompatibility: (args_0: {
|
|
6
52
|
readonly payload: CompiledContentPayload;
|
|
@@ -32,4 +78,5 @@ export declare const verifyContentRendererCompatibility: (args_0: {
|
|
|
32
78
|
readonly hash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
33
79
|
readonly publishedDomains: readonly ("ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math")[];
|
|
34
80
|
readonly rendererContractVersion: "1.0.0";
|
|
35
|
-
}, ArtifactRendererComponentMissingError | ArtifactRendererDomainUnpublishedError | ArtifactRendererVersionUnsupportedError | import("../errors.js").ContractDecodeError | import("
|
|
81
|
+
}, ArtifactRendererComponentMissingError | ArtifactRendererDomainUnpublishedError | ArtifactRendererVersionUnsupportedError | import("../errors.js").ContractDecodeError | import("#contracts/renderer/component").RendererAuthoringComponentDuplicateError | import("#contracts/renderer/component").RendererAuthoringComponentExtraError | import("#contracts/renderer/component").RendererAuthoringComponentMissingError | import("#contracts/renderer/component").RendererAuthoringComponentUnsupportedError | import("#contracts/renderer/component").RendererAuthoringSelectionNonCanonicalError | RendererContractVersionMismatchError | import("#contracts/renderer/contract").RendererDomainCapabilityMissingError | import("#contracts/renderer/contract").RendererManifestHashComputeError | import("#contracts/renderer/contract").RendererManifestHashMismatchError, never>;
|
|
82
|
+
export {};
|
|
@@ -1,7 +1,55 @@
|
|
|
1
|
-
import { Effect } from "effect";
|
|
1
|
+
import { Effect, Schema } from "effect";
|
|
2
2
|
import { ArtifactRendererComponentMissingError, ArtifactRendererDomainUnpublishedError, ArtifactRendererVersionUnsupportedError, RendererContractVersionMismatchError, } from "#contracts/artifact/spec";
|
|
3
|
+
import { RendererComponentRequirementSchema, } from "#contracts/renderer/component";
|
|
3
4
|
import { selectRendererDomainCapability, } from "#contracts/renderer/contract";
|
|
5
|
+
import { RendererDomainSchema } from "#contracts/renderer/domain";
|
|
4
6
|
import { validateRendererManifestHash } from "#contracts/renderer/manifest";
|
|
7
|
+
const RendererCapabilityScopeSchema = Schema.Union([
|
|
8
|
+
Schema.Literal("base"),
|
|
9
|
+
RendererDomainSchema,
|
|
10
|
+
]);
|
|
11
|
+
/** A live renderer no longer publishes one domain frozen by a signed release. */
|
|
12
|
+
export class RendererManifestDomainUnpublishedError extends Schema.TaggedError()("RendererManifestDomainUnpublishedError", { rendererDomain: RendererDomainSchema }) {
|
|
13
|
+
}
|
|
14
|
+
/** A live renderer no longer supports one exact frozen component version. */
|
|
15
|
+
export class RendererManifestComponentUnsupportedError extends Schema.TaggedError()("RendererManifestComponentUnsupportedError", {
|
|
16
|
+
componentName: RendererComponentRequirementSchema.fields.name,
|
|
17
|
+
componentVersion: RendererComponentRequirementSchema.fields.version,
|
|
18
|
+
rendererScope: RendererCapabilityScopeSchema,
|
|
19
|
+
}) {
|
|
20
|
+
}
|
|
21
|
+
/** Requires every frozen runtime component pair from one physical registry. */
|
|
22
|
+
const verifyCapabilitySuperset = Effect.fn("AksaraContracts.verifyRendererCapabilitySuperset")(function* (frozen, live, rendererScope) {
|
|
23
|
+
const supported = new Set(live.supportedComponents.map(({ name, version }) => `${name}:${version}`));
|
|
24
|
+
for (const requirement of frozen.supportedComponents) {
|
|
25
|
+
if (supported.has(`${requirement.name}:${requirement.version}`)) {
|
|
26
|
+
continue;
|
|
27
|
+
}
|
|
28
|
+
return yield* new RendererManifestComponentUnsupportedError({
|
|
29
|
+
componentName: requirement.name,
|
|
30
|
+
componentVersion: requirement.version,
|
|
31
|
+
rendererScope,
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
/** Proves a current live renderer can execute every frozen release capability. */
|
|
36
|
+
export const verifyRendererManifestCompatibility = Effect.fn("AksaraContracts.verifyRendererManifestCompatibility")(function* (input) {
|
|
37
|
+
if (input.frozen.hash === input.live.hash) {
|
|
38
|
+
return input.live;
|
|
39
|
+
}
|
|
40
|
+
yield* verifyCapabilitySuperset(input.frozen.base, input.live.base, "base");
|
|
41
|
+
for (const rendererDomain of input.frozen.publishedDomains) {
|
|
42
|
+
if (!input.live.publishedDomains.includes(rendererDomain)) {
|
|
43
|
+
return yield* new RendererManifestDomainUnpublishedError({
|
|
44
|
+
rendererDomain,
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
const frozen = yield* selectRendererDomainCapability(input.frozen, rendererDomain);
|
|
48
|
+
const live = yield* selectRendererDomainCapability(input.live, rendererDomain);
|
|
49
|
+
yield* verifyCapabilitySuperset(frozen, live, rendererDomain);
|
|
50
|
+
}
|
|
51
|
+
return input.live;
|
|
52
|
+
});
|
|
5
53
|
/** Confirms that base plus the selected domain implement every requirement. */
|
|
6
54
|
function validateRendererRequirements(payload, manifest) {
|
|
7
55
|
return Effect.gen(function* () {
|
package/dist/runtime/spec.d.ts
CHANGED
|
@@ -203,7 +203,7 @@ export declare const PublicContentRuntimeFoundSchema: Schema.Struct<{
|
|
|
203
203
|
readonly parentPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
204
204
|
readonly sitemap: Schema.Literal<true>;
|
|
205
205
|
readonly topicTitle: Schema.String;
|
|
206
|
-
}>, Schema.
|
|
206
|
+
}>, Schema.Struct<{
|
|
207
207
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
208
208
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
209
209
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -218,21 +218,7 @@ export declare const PublicContentRuntimeFoundSchema: Schema.Struct<{
|
|
|
218
218
|
}>;
|
|
219
219
|
readonly sitemap: Schema.Literal<true>;
|
|
220
220
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
221
|
-
}
|
|
222
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
223
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
224
|
-
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
225
|
-
readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
|
|
226
|
-
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
227
|
-
readonly kind: Schema.Literal<"public-page">;
|
|
228
|
-
readonly metadata: Schema.Struct<{
|
|
229
|
-
readonly description: Schema.Trimmed;
|
|
230
|
-
readonly lastModified: Schema.String;
|
|
231
|
-
readonly title: Schema.Trimmed;
|
|
232
|
-
}>;
|
|
233
|
-
readonly sitemap: Schema.Literal<true>;
|
|
234
|
-
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
235
|
-
}>]>]>;
|
|
221
|
+
}>]>;
|
|
236
222
|
readonly projectionHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
237
223
|
}>;
|
|
238
224
|
export type PublicContentRuntimeFound = typeof PublicContentRuntimeFoundSchema.Type;
|
|
@@ -429,7 +415,7 @@ export declare const PublicContentRuntimeResponseSchema: Schema.Union<readonly [
|
|
|
429
415
|
readonly parentPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
430
416
|
readonly sitemap: Schema.Literal<true>;
|
|
431
417
|
readonly topicTitle: Schema.String;
|
|
432
|
-
}>, Schema.
|
|
418
|
+
}>, Schema.Struct<{
|
|
433
419
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
434
420
|
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
435
421
|
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
@@ -444,21 +430,7 @@ export declare const PublicContentRuntimeResponseSchema: Schema.Union<readonly [
|
|
|
444
430
|
}>;
|
|
445
431
|
readonly sitemap: Schema.Literal<true>;
|
|
446
432
|
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
447
|
-
}
|
|
448
|
-
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
449
|
-
readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
450
|
-
readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
451
|
-
readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
|
|
452
|
-
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
453
|
-
readonly kind: Schema.Literal<"public-page">;
|
|
454
|
-
readonly metadata: Schema.Struct<{
|
|
455
|
-
readonly description: Schema.Trimmed;
|
|
456
|
-
readonly lastModified: Schema.String;
|
|
457
|
-
readonly title: Schema.Trimmed;
|
|
458
|
-
}>;
|
|
459
|
-
readonly sitemap: Schema.Literal<true>;
|
|
460
|
-
readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
|
|
461
|
-
}>]>]>;
|
|
433
|
+
}>]>;
|
|
462
434
|
readonly projectionHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
463
435
|
}>, Schema.Struct<{
|
|
464
436
|
readonly kind: Schema.Literal<"missing">;
|
|
@@ -681,20 +653,6 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
681
653
|
};
|
|
682
654
|
readonly sitemap: true;
|
|
683
655
|
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
684
|
-
} | {
|
|
685
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
686
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
687
|
-
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
688
|
-
readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
|
|
689
|
-
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
690
|
-
readonly kind: "public-page";
|
|
691
|
-
readonly metadata: {
|
|
692
|
-
readonly description: string;
|
|
693
|
-
readonly lastModified: string;
|
|
694
|
-
readonly title: string;
|
|
695
|
-
};
|
|
696
|
-
readonly sitemap: true;
|
|
697
|
-
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
698
656
|
};
|
|
699
657
|
readonly projectionHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
700
658
|
} | {
|
package/dist/runtime/verify.d.ts
CHANGED
|
@@ -148,20 +148,6 @@ export declare const verifyContentRuntimeEvidenceExchange: (input: {
|
|
|
148
148
|
};
|
|
149
149
|
readonly sitemap: true;
|
|
150
150
|
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
151
|
-
} | {
|
|
152
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
153
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
154
|
-
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
155
|
-
readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
|
|
156
|
-
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
157
|
-
readonly kind: "public-page";
|
|
158
|
-
readonly metadata: {
|
|
159
|
-
readonly description: string;
|
|
160
|
-
readonly lastModified: string;
|
|
161
|
-
readonly title: string;
|
|
162
|
-
};
|
|
163
|
-
readonly sitemap: true;
|
|
164
|
-
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
165
151
|
} | {
|
|
166
152
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
167
153
|
readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
@@ -387,20 +373,6 @@ export declare const verifyContentRuntimeExchange: (input: {
|
|
|
387
373
|
};
|
|
388
374
|
readonly sitemap: true;
|
|
389
375
|
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
390
|
-
} | {
|
|
391
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
392
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
393
|
-
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
394
|
-
readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
|
|
395
|
-
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
396
|
-
readonly kind: "public-page";
|
|
397
|
-
readonly metadata: {
|
|
398
|
-
readonly description: string;
|
|
399
|
-
readonly lastModified: string;
|
|
400
|
-
readonly title: string;
|
|
401
|
-
};
|
|
402
|
-
readonly sitemap: true;
|
|
403
|
-
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
404
376
|
} | {
|
|
405
377
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
406
378
|
readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|