@voltro/cms 0.87.0 → 0.88.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/CHANGELOG.md +169 -6
- package/THIRD-PARTY-NOTICES.md +644 -48
- package/dist/ContentForm.js +1 -2
- package/dist/RichDocumentEditor.js +1 -2
- package/dist/RichDocumentView.js +1 -2
- package/dist/RichTextSurface.js +1 -2
- package/dist/aiCandidates.js +1 -2
- package/dist/aiOperations.js +1 -2
- package/dist/applicationBuildSnapshotService.js +1 -2
- package/dist/assetRenditions.js +1 -2
- package/dist/assetRevision.js +1 -2
- package/dist/assetUseRights.js +1 -2
- package/dist/audiences.js +1 -2
- package/dist/availability.js +1 -2
- package/dist/blueprint.js +1 -2
- package/dist/buildApplicationAdmission.js +1 -2
- package/dist/buildApplicationCatalog.js +1 -2
- package/dist/buildApplicationCatalogTable.js +1 -2
- package/dist/buildApplicationRest.js +1 -2
- package/dist/buildApplicationUpload.js +1 -2
- package/dist/buildSnapshot.js +1 -2
- package/dist/buildSnapshotApplicationPin.js +1 -2
- package/dist/buildSnapshotRest.js +1 -2
- package/dist/buildSnapshotService.js +1 -2
- package/dist/buildSnapshotTables.js +1 -2
- package/dist/bulk.js +1 -2
- package/dist/cacheIdentity.js +1 -2
- package/dist/changes.js +1 -2
- package/dist/cmsContext.js +1 -2
- package/dist/collections.js +1 -2
- package/dist/consent.js +1 -2
- package/dist/contentLocations.js +1 -2
- package/dist/contentProjection.js +1 -2
- package/dist/contentRouteIdentity.js +1 -2
- package/dist/contentRouteMaterializer.js +1 -2
- package/dist/contentRouteTypes.js +1 -2
- package/dist/contentSeo.js +1 -2
- package/dist/contentTreePath.js +1 -2
- package/dist/contentType.js +4 -5
- package/dist/contentValues.js +1 -2
- package/dist/contentfulImport.js +1 -2
- package/dist/copies.js +1 -2
- package/dist/cutover.js +1 -2
- package/dist/deliveryChecks.js +1 -2
- package/dist/domainHost.js +1 -2
- package/dist/domains.js +1 -2
- package/dist/draftTexts.js +1 -2
- package/dist/duplicates.js +1 -2
- package/dist/edgePurge.js +1 -2
- package/dist/editHistory.js +1 -2
- package/dist/effectForm.js +1 -2
- package/dist/environmentAliases.js +1 -2
- package/dist/environments.js +1 -2
- package/dist/errors.js +1 -2
- package/dist/experiments.js +1 -2
- package/dist/exposure.js +1 -2
- package/dist/extensionManifest.js +2 -3
- package/dist/extensions.js +1 -2
- package/dist/fieldSchema.js +1 -2
- package/dist/formStrings.js +1 -2
- package/dist/frontendBindings.js +1 -2
- package/dist/frontendMedia.js +1 -2
- package/dist/glossary.js +1 -2
- package/dist/history.js +1 -2
- package/dist/htmlImport.js +1 -2
- package/dist/initializePublicRoutes.js +1 -2
- package/dist/liveContentRouteView.js +1 -2
- package/dist/media.js +1 -2
- package/dist/metrics.js +1 -2
- package/dist/migration.js +1 -2
- package/dist/migrationStages.js +1 -2
- package/dist/nativeOutputDeploymentService.js +1 -2
- package/dist/outputActivation.js +1 -2
- package/dist/outputActivationOrigin.js +1 -2
- package/dist/outputActivationStore.js +1 -2
- package/dist/outputActivationTables.js +1 -2
- package/dist/outputActivationTarget.js +1 -2
- package/dist/outputActivationTargetTable.js +1 -2
- package/dist/outputDeployment.js +1 -2
- package/dist/outputDeploymentRest.js +1 -2
- package/dist/outputDeploymentService.js +1 -2
- package/dist/outputRouteGraph.js +1 -2
- package/dist/outputSafetyArtifact.js +1 -2
- package/dist/outputTargetRest.js +1 -2
- package/dist/pathSegmentEncoding.js +1 -2
- package/dist/presenceAnchors.js +1 -2
- package/dist/preview.js +1 -2
- package/dist/privateCmsTransport.js +1 -2
- package/dist/privateNativeRouteReservation.js +1 -2
- package/dist/promotion.js +1 -2
- package/dist/publicBuild.js +1 -2
- package/dist/publicBuildRest.js +1 -2
- package/dist/publicBuildService.js +1 -2
- package/dist/publicOutputHttp.js +1 -2
- package/dist/publicOutputService.js +1 -2
- package/dist/publicPresentation.js +1 -2
- package/dist/publicRouteDispositionAdmission.js +1 -2
- package/dist/publicRouteHistoryStore.js +1 -2
- package/dist/publicRouteHistoryView.js +1 -2
- package/dist/publicRouteIntegrity.js +1 -2
- package/dist/publicRouteMutation.js +1 -2
- package/dist/publicRouteNamespace.js +1 -2
- package/dist/publicRoutePublication.js +1 -2
- package/dist/publicRouteRegistry.js +1 -2
- package/dist/publicRouteRegistryBinding.js +1 -2
- package/dist/publicRouteRegistryDefinition.js +1 -2
- package/dist/publicRouteSitePublication.js +1 -2
- package/dist/publicRouteTables.js +1 -2
- package/dist/publicRouteUrl.js +1 -2
- package/dist/publicationSeo.js +1 -2
- package/dist/publicationState.js +1 -2
- package/dist/quality.js +1 -2
- package/dist/reconfigurePublicRoutes.js +1 -2
- package/dist/recurrence.js +1 -2
- package/dist/redirects.js +1 -2
- package/dist/referenceGraph.js +1 -2
- package/dist/references.js +1 -2
- package/dist/release.js +1 -2
- package/dist/renderReadAuthority.js +1 -2
- package/dist/renderReadGrant.js +1 -2
- package/dist/rest.js +1 -2
- package/dist/review.js +1 -2
- package/dist/richDocument.js +2 -3
- package/dist/richInline.js +1 -2
- package/dist/routeDispositionGraph.js +1 -2
- package/dist/routeDispositionRest.js +1 -2
- package/dist/routeDispositionService.js +1 -2
- package/dist/routeDispositionStore.js +1 -2
- package/dist/routeDispositionTables.js +1 -2
- package/dist/routeDispositions.js +1 -2
- package/dist/routeHistoryStorage.js +2 -3
- package/dist/routeHistoryStore.js +1 -2
- package/dist/schedule.js +1 -2
- package/dist/search.js +1 -2
- package/dist/selectionIntent.js +1 -2
- package/dist/seo.js +1 -2
- package/dist/series.js +1 -2
- package/dist/share.js +1 -2
- package/dist/siteBindings.js +1 -2
- package/dist/siteBuildCandidate.js +1 -2
- package/dist/siteDelivery.js +1 -2
- package/dist/siteState.js +1 -2
- package/dist/snapshotAddressGraph.js +1 -2
- package/dist/snapshotAddressRead.js +1 -2
- package/dist/snapshotAppConsumer.js +1 -2
- package/dist/snapshotAppExecution.js +1 -2
- package/dist/snapshotApplication.js +1 -2
- package/dist/snapshotApprovedRouteDispositions.js +1 -2
- package/dist/snapshotAssetAssembly.js +1 -2
- package/dist/snapshotAssetAssemblyRest.js +1 -2
- package/dist/snapshotBindingRead.js +1 -2
- package/dist/snapshotCodeSeo.js +1 -2
- package/dist/snapshotComponent.js +1 -2
- package/dist/snapshotComponentSource.js +1 -2
- package/dist/snapshotConsumer.js +1 -2
- package/dist/snapshotContentIdentity.js +1 -2
- package/dist/snapshotDefinitions.js +1 -2
- package/dist/snapshotDocumentAssembly.js +1 -2
- package/dist/snapshotDocumentAssemblyRest.js +1 -2
- package/dist/snapshotDocumentProjection.js +1 -2
- package/dist/snapshotDocumentTransfer.js +1 -2
- package/dist/snapshotDocumentTransferRest.js +1 -2
- package/dist/snapshotDomains.js +1 -2
- package/dist/snapshotEnvironment.js +1 -2
- package/dist/snapshotFieldPlan.js +1 -2
- package/dist/snapshotFrontend.js +1 -2
- package/dist/snapshotLink.js +1 -2
- package/dist/snapshotMedia.js +1 -2
- package/dist/snapshotMediaCapture.js +1 -2
- package/dist/snapshotMediaFields.js +1 -2
- package/dist/snapshotMediaRead.js +1 -2
- package/dist/snapshotMediaReader.js +1 -2
- package/dist/snapshotObservation.js +1 -2
- package/dist/snapshotObservedRouteHistory.js +1 -2
- package/dist/snapshotOutputTransfer.js +1 -2
- package/dist/snapshotPageLoader.js +1 -2
- package/dist/snapshotPageSeo.js +1 -2
- package/dist/snapshotPathLocale.js +1 -2
- package/dist/snapshotPresentation.js +1 -2
- package/dist/snapshotPresentationPolicy.js +1 -2
- package/dist/snapshotProjection.js +1 -2
- package/dist/snapshotPublicAccess.js +1 -2
- package/dist/snapshotPublicRouteHistory.js +1 -2
- package/dist/snapshotReadAdmission.js +1 -2
- package/dist/snapshotRedirectOutput.js +1 -2
- package/dist/snapshotRedirectTargets.js +1 -2
- package/dist/snapshotRedirects.js +1 -2
- package/dist/snapshotReference.js +1 -2
- package/dist/snapshotReferenceAddress.js +1 -2
- package/dist/snapshotReferenceGraph.js +1 -2
- package/dist/snapshotReferenceRead.js +1 -2
- package/dist/snapshotRelease.js +1 -2
- package/dist/snapshotRender.js +1 -2
- package/dist/snapshotRenderDependencies.js +1 -2
- package/dist/snapshotRenditions.js +1 -2
- package/dist/snapshotRichDocument.js +1 -2
- package/dist/snapshotRoleTransfer.js +1 -2
- package/dist/snapshotRoleTransferRest.js +1 -2
- package/dist/snapshotRouteAdmission.js +1 -2
- package/dist/snapshotRouteDispatch.js +1 -2
- package/dist/snapshotRouteDispositionPlan.js +1 -2
- package/dist/snapshotRouteRead.js +1 -2
- package/dist/snapshotRoutes.js +1 -2
- package/dist/snapshotRouting.js +1 -2
- package/dist/snapshotSeo.js +1 -2
- package/dist/snapshotSeoControls.js +1 -2
- package/dist/snapshotSeoDocumentInventory.js +1 -2
- package/dist/snapshotSeoDocuments.js +1 -2
- package/dist/snapshotSeoMerge.js +1 -2
- package/dist/snapshotSeoMetadata.js +1 -2
- package/dist/snapshotSeoOutput.js +1 -2
- package/dist/snapshotSeoPathSets.js +1 -2
- package/dist/snapshotSeoRead.js +1 -2
- package/dist/snapshotSite.js +1 -2
- package/dist/snapshotSitemapFiles.js +1 -2
- package/dist/snapshotTreeDependencies.js +1 -2
- package/dist/snapshotTreeLoader.js +1 -2
- package/dist/snapshotTreeRead.js +1 -2
- package/dist/staticPathSet.js +1 -2
- package/dist/staticPathSetRest.js +1 -2
- package/dist/staticPathSetService.js +1 -2
- package/dist/staticPathSetStore.js +1 -2
- package/dist/stewardship.js +2 -3
- package/dist/taxonomy.js +1 -2
- package/dist/team.js +1 -2
- package/dist/templates.js +2 -3
- package/dist/trackChanges.js +1 -2
- package/dist/translation.js +1 -2
- package/dist/tree.js +1 -2
- package/dist/usage.js +1 -2
- package/dist/validation.js +1 -2
- package/dist/visualEditing.js +1 -2
- package/dist/workflow.js +1 -2
- package/dist/write.js +1 -2
- package/dist/xliff.js +1 -2
- package/package.json +9 -9
package/dist/snapshotFrontend.js
CHANGED
|
@@ -3,7 +3,7 @@ import { snapshotComponentDefinition as n, snapshotDefinitionSources as r } from
|
|
|
3
3
|
import { FrontendBindingUnavailable as i, copyFrontendContexts as a, copyFrontendOutputSelection as o, defineFrontendBindings as s, frontendRendererId as c, supportsFrontendContext as l } from "./frontendBindings.js";
|
|
4
4
|
import { createHash as u } from "node:crypto";
|
|
5
5
|
import { canonicalJson as d } from "@voltro/runtime";
|
|
6
|
-
|
|
6
|
+
// src/snapshotFrontend.ts
|
|
7
7
|
var f = (e) => u("sha256").update(d(e)).digest("hex"), p = (e, t, n) => ({
|
|
8
8
|
kind: "app-implementation",
|
|
9
9
|
app: e,
|
|
@@ -99,5 +99,4 @@ var f = (e) => u("sha256").update(d(e)).digest("hex"), p = (e, t, n) => ({
|
|
|
99
99
|
let r = e;
|
|
100
100
|
return t.every((e) => r.components.some((t) => t.id === e.id && t.digest === e.digest && (n === void 0 || l(t.contexts, n))));
|
|
101
101
|
};
|
|
102
|
-
//#endregion
|
|
103
102
|
export { x as coversSnapshotComponents, b as matchesSnapshotFrontend, y as snapshotFrontendFromManifest, h as snapshotFrontendManifest };
|
package/dist/snapshotLink.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
// src/snapshotLink.ts
|
|
2
2
|
var e = (e, t) => {
|
|
3
3
|
let n = Object.getOwnPropertyDescriptor(e, Symbol.for("voltro.cms.snapshot.link/v1"));
|
|
4
4
|
if (n === void 0 || n.enumerable || n.writable || typeof n.value != "function") throw Error("Snapshot link unavailable");
|
|
5
5
|
return n.value(t);
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
7
|
export { e as snapshotLink };
|
package/dist/snapshotMedia.js
CHANGED
|
@@ -5,7 +5,7 @@ import { pinAssetRevision as a } from "./assetRevision.js";
|
|
|
5
5
|
import { SnapshotMediaUnavailable as o, compileSnapshotMediaFields as s } from "./snapshotMediaFields.js";
|
|
6
6
|
import { createHash as c } from "node:crypto";
|
|
7
7
|
import { canonicalJson as l } from "@voltro/runtime";
|
|
8
|
-
|
|
8
|
+
// src/snapshotMedia.ts
|
|
9
9
|
var u = (e) => {
|
|
10
10
|
throw new o({ reason: e });
|
|
11
11
|
}, d = (e) => c("sha256").update(l(e)).digest("hex"), f = (e) => typeof e == "string" && e.length > 0, p = (o, c, l, p, m = Date.now()) => {
|
|
@@ -107,5 +107,4 @@ var u = (e) => {
|
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
|
-
//#endregion
|
|
111
110
|
export { p as snapshotMediaUsesSource };
|
|
@@ -3,7 +3,7 @@ import { Effect as i, Schema as a, Stream as o } from "effect";
|
|
|
3
3
|
import { and as s, eq as c, json as l, table as u, text as d, timestamp as f } from "@voltro/database";
|
|
4
4
|
import { createHash as p, randomUUID as m } from "node:crypto";
|
|
5
5
|
import { canonicalJson as h } from "@voltro/runtime";
|
|
6
|
-
|
|
6
|
+
// src/snapshotMediaCapture.ts
|
|
7
7
|
var g = "_voltro_cms_snapshot_media_captures", _ = u(g, {
|
|
8
8
|
id: d().maxLength(64),
|
|
9
9
|
captureId: d().maxLength(64),
|
|
@@ -242,5 +242,4 @@ var g = "_voltro_cms_snapshot_media_captures", _ = u(g, {
|
|
|
242
242
|
}), v;
|
|
243
243
|
}));
|
|
244
244
|
});
|
|
245
|
-
//#endregion
|
|
246
245
|
export { g as SNAPSHOT_MEDIA_CAPTURES, v as SnapshotMediaCaptureUnavailable, F as beginSnapshotMediaCapture, I as resumeSnapshotMediaCapture, _ as snapshotMediaCapturesTable, M as snapshotMediaSelectionSource };
|
|
@@ -2,7 +2,7 @@ import { richDocumentProblems as e, richDocumentReferencePaths as t } from "./ri
|
|
|
2
2
|
import { Schema as n } from "effect";
|
|
3
3
|
import { createHash as r } from "node:crypto";
|
|
4
4
|
import { canonicalJson as i } from "@voltro/runtime";
|
|
5
|
-
|
|
5
|
+
// src/snapshotMediaFields.ts
|
|
6
6
|
var a = class extends n.TaggedError()("SnapshotMediaUnavailable", { reason: n.Literals([
|
|
7
7
|
"scope",
|
|
8
8
|
"definition",
|
|
@@ -221,5 +221,4 @@ var a = class extends n.TaggedError()("SnapshotMediaUnavailable", { reason: n.Li
|
|
|
221
221
|
]);
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
|
-
//#endregion
|
|
225
224
|
export { a as SnapshotMediaUnavailable, u as compileSnapshotMediaFields };
|
|
@@ -10,7 +10,7 @@ import { AssetUseRightsUnavailable as u, assertCurrentAssetUseRights as d, asset
|
|
|
10
10
|
import { Effect as p, Schema as m, Stream as h } from "effect";
|
|
11
11
|
import { createHash as g } from "node:crypto";
|
|
12
12
|
import { canonicalJson as _ } from "@voltro/runtime";
|
|
13
|
-
|
|
13
|
+
// src/snapshotMediaRead.ts
|
|
14
14
|
var v = class extends m.TaggedError()("SnapshotMediaReadUnavailable", { reason: m.Literals([
|
|
15
15
|
"input",
|
|
16
16
|
"route",
|
|
@@ -181,5 +181,4 @@ var v = class extends m.TaggedError()("SnapshotMediaReadUnavailable", { reason:
|
|
|
181
181
|
routeId: t.output.routeId
|
|
182
182
|
};
|
|
183
183
|
}, E = (e, t, n, r, i, a, o) => w(e, t, n, r, i, a, o, T), D = (e, t, n, r, i, a, o) => w(e, t, n, r, i, a, o, c), O = (e, t, n, r, i, a, o) => w(e, t, n, r, i, a, o, l);
|
|
184
|
-
//#endregion
|
|
185
184
|
export { v as SnapshotMediaReadUnavailable, D as readSnapshotBindingMediaBatch, O as readSnapshotReferenceMediaBatch, E as readSnapshotRouteMediaBatch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createFrontendMediaReader as e } from "./frontendMedia.js";
|
|
2
2
|
import { snapshotObserver as t, snapshotProjectedValue as n } from "./snapshotObservation.js";
|
|
3
|
-
|
|
3
|
+
// src/snapshotMediaReader.ts
|
|
4
4
|
var r = (r, i, a = { kind: "original" }) => {
|
|
5
5
|
let o = t(r), s = n(r, i);
|
|
6
6
|
if (typeof s != "string" || s === "") throw Error("Snapshot media occurrence unavailable");
|
|
@@ -9,5 +9,4 @@ var r = (r, i, a = { kind: "original" }) => {
|
|
|
9
9
|
...e
|
|
10
10
|
}))(i, a);
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
export { r as snapshotMedia };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/snapshotObservation.ts
|
|
2
2
|
var e = (e) => {
|
|
3
3
|
let t = Object.getOwnPropertyDescriptor(e, Symbol.for("voltro.cms.snapshot.observe/v1"));
|
|
4
4
|
if (t === void 0 || t.enumerable || t.writable || typeof t.value != "function") throw Error("Snapshot observation unavailable");
|
|
@@ -12,5 +12,4 @@ var e = (e) => {
|
|
|
12
12
|
}
|
|
13
13
|
return n;
|
|
14
14
|
};
|
|
15
|
-
//#endregion
|
|
16
15
|
export { e as snapshotObserver, t as snapshotProjectedValue };
|
|
@@ -2,7 +2,7 @@ import { copyOutputActivationScope as e } from "./outputActivation.js";
|
|
|
2
2
|
import { verifyPublicationState as t } from "./publicationState.js";
|
|
3
3
|
import { copySnapshotResource as n } from "./buildSnapshot.js";
|
|
4
4
|
import { iterateRouteHistory as r, readRouteHistoryPage as i } from "./routeHistoryStore.js";
|
|
5
|
-
|
|
5
|
+
// src/snapshotObservedRouteHistory.ts
|
|
6
6
|
var a = (a, o, s = Date.now()) => {
|
|
7
7
|
let c = e(o);
|
|
8
8
|
return {
|
|
@@ -30,5 +30,4 @@ var a = (a, o, s = Date.now()) => {
|
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
-
//#endregion
|
|
34
33
|
export { a as snapshotObservedRouteHistorySource };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SnapshotSeoReadUnavailable as e } from "./snapshotSeoRead.js";
|
|
2
2
|
import { createHash as t } from "node:crypto";
|
|
3
3
|
import { canonicalJson as n } from "@voltro/protocol";
|
|
4
|
-
|
|
4
|
+
// src/snapshotOutputTransfer.ts
|
|
5
5
|
var r = () => {
|
|
6
6
|
throw new e({ reason: "binding" });
|
|
7
7
|
}, i = (e) => t("sha256").update(e).digest("hex"), a = 65536, o = (e) => (t, a) => e(t, async (e) => {
|
|
@@ -74,5 +74,4 @@ var r = () => {
|
|
|
74
74
|
});
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
|
-
//#endregion
|
|
78
77
|
export { c as createSnapshotOutputBatch, s as createSnapshotOutputTransfer };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// src/snapshotPageLoader.ts
|
|
2
2
|
var e = async (e) => {
|
|
3
3
|
if (e.query === void 0) throw Error("Snapshot delivery unavailable");
|
|
4
4
|
return e.query("cms.snapshot.route", { path: e.pathname });
|
|
5
5
|
};
|
|
6
|
-
//#endregion
|
|
7
6
|
export { e as snapshotPageLoader };
|
package/dist/snapshotPageSeo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/snapshotPageSeo.ts
|
|
2
2
|
var e = ({ loaderData: e }) => {
|
|
3
3
|
let t = e.seo, n = t.structuredData, r = [
|
|
4
4
|
{
|
|
@@ -55,5 +55,4 @@ var e = ({ loaderData: e }) => {
|
|
|
55
55
|
}]
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
-
//#endregion
|
|
59
58
|
export { e as snapshotPageMeta };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SnapshotRouteReadUnavailable as e } from "./snapshotRouteAdmission.js";
|
|
2
|
-
|
|
2
|
+
// src/snapshotPathLocale.ts
|
|
3
3
|
var t = (t, n) => {
|
|
4
4
|
let r;
|
|
5
5
|
try {
|
|
@@ -11,5 +11,4 @@ var t = (t, n) => {
|
|
|
11
11
|
if (i === void 0 || !i.enabled) throw new e({ reason: "path" });
|
|
12
12
|
return i;
|
|
13
13
|
};
|
|
14
|
-
//#endregion
|
|
15
14
|
export { t as snapshotPathLocale };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { consentDecisionComplete as e, grantedPurposes as t } from "./consent.js";
|
|
2
2
|
import { Schema as n } from "effect";
|
|
3
|
-
|
|
3
|
+
// src/snapshotPresentation.ts
|
|
4
4
|
var r = class extends n.TaggedError()("SnapshotPresentationUnavailable", { reason: n.Literals([
|
|
5
5
|
"policy",
|
|
6
6
|
"selection",
|
|
@@ -82,5 +82,4 @@ var r = class extends n.TaggedError()("SnapshotPresentationUnavailable", { reaso
|
|
|
82
82
|
}))
|
|
83
83
|
];
|
|
84
84
|
};
|
|
85
|
-
//#endregion
|
|
86
85
|
export { r as SnapshotPresentationUnavailable, u as admitSnapshotPresentation, c as copySnapshotConsentPurposes, l as copySnapshotPresentationValue, p as decodeSnapshotPresentation, f as encodeSnapshotPresentation, d as snapshotPresentationFromChoices, m as snapshotPresentations };
|
|
@@ -2,11 +2,10 @@ import { readVerifiedSnapshotResource as e } from "./buildSnapshot.js";
|
|
|
2
2
|
import { SnapshotPresentationUnavailable as t, copySnapshotConsentPurposes as n } from "./snapshotPresentation.js";
|
|
3
3
|
import { createHash as r } from "node:crypto";
|
|
4
4
|
import { canonicalJson as i } from "@voltro/runtime";
|
|
5
|
-
|
|
5
|
+
// src/snapshotPresentationPolicy.ts
|
|
6
6
|
var a = async (a, o, s, c) => {
|
|
7
7
|
let l = await e(a, o, s, "policies", "configuration"), u = (await e(a, o, s, "policies", "registry")).value, d = l.value, f = r("sha256").update(i(l)).digest("hex");
|
|
8
8
|
if (s.manifest.parts.find((e) => e.part === "policies")?.format !== "voltro.cms.public-access/v2" || Object.keys(d).sort().join(",") !== "app,consentPurposes,version" || d.version !== 2 || u.version !== 2 || u.consentDigest !== f || i(d.app) !== i(c) || i(u.app) !== i(c)) throw new t({ reason: "policy" });
|
|
9
9
|
return n(d.consentPurposes);
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
11
|
export { a as readCapturedSnapshotConsentPurposes };
|
|
@@ -5,7 +5,7 @@ import { defineContentProjection as i } from "./contentProjection.js";
|
|
|
5
5
|
import { Schema as a } from "effect";
|
|
6
6
|
import { createHash as o } from "node:crypto";
|
|
7
7
|
import { canonicalJson as s } from "@voltro/runtime";
|
|
8
|
-
|
|
8
|
+
// src/snapshotProjection.ts
|
|
9
9
|
var c = class extends a.TaggedError()("SnapshotProjectionUnavailable", { reason: a.Literals([
|
|
10
10
|
"definition",
|
|
11
11
|
"scope",
|
|
@@ -115,5 +115,4 @@ var c = class extends a.TaggedError()("SnapshotProjectionUnavailable", { reason:
|
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
|
-
//#endregion
|
|
119
118
|
export { c as SnapshotProjectionUnavailable, p as copySnapshotReferenceRoutes, f as copySnapshotReferenceTypes, d as copySnapshotTrees, m as snapshotProjectionSource };
|
|
@@ -6,7 +6,7 @@ import { copySnapshotConsentPurposes as c } from "./snapshotPresentation.js";
|
|
|
6
6
|
import { Schema as l } from "effect";
|
|
7
7
|
import { createHash as u } from "node:crypto";
|
|
8
8
|
import { canonicalJson as d } from "@voltro/runtime";
|
|
9
|
-
|
|
9
|
+
// src/snapshotPublicAccess.ts
|
|
10
10
|
var f = class extends l.TaggedError()("SnapshotPublicAccessUnavailable", { reason: l.Literals([
|
|
11
11
|
"definition",
|
|
12
12
|
"binding",
|
|
@@ -157,5 +157,4 @@ var f = class extends l.TaggedError()("SnapshotPublicAccessUnavailable", { reaso
|
|
|
157
157
|
M = i;
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
|
-
//#endregion
|
|
161
160
|
export { f as SnapshotPublicAccessUnavailable, b as admitSnapshotPublicDocument, S as admitVerifiedSnapshotPublicDocument, C as admitVerifiedSnapshotPublicDocumentLocale, y as snapshotPublicAccessSource };
|
|
@@ -3,7 +3,7 @@ import { copySnapshotResource as t } from "./buildSnapshot.js";
|
|
|
3
3
|
import { compileCmsPublicRouteDeclaration as n } from "./initializePublicRoutes.js";
|
|
4
4
|
import { readPublicRouteHistoryView as r } from "./publicRouteHistoryView.js";
|
|
5
5
|
import { canonicalJson as i } from "@voltro/runtime";
|
|
6
|
-
|
|
6
|
+
// src/snapshotPublicRouteHistory.ts
|
|
7
7
|
var a = (a, o, s) => {
|
|
8
8
|
let c = n(s);
|
|
9
9
|
return {
|
|
@@ -36,5 +36,4 @@ var a = (a, o, s) => {
|
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
//#endregion
|
|
40
39
|
export { a as snapshotPublicRouteHistorySource };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { verifyBuildSnapshot as e } from "./buildSnapshot.js";
|
|
2
2
|
import { Schema as t } from "effect";
|
|
3
|
-
|
|
3
|
+
// src/snapshotReadAdmission.ts
|
|
4
4
|
var n = class extends t.TaggedError()("SnapshotReadAdmissionUnavailable", { reason: t.Literals(["binding"]) }) {}, r = async (t, r, i, a) => {
|
|
5
5
|
let o = await e(t, r, i, a);
|
|
6
6
|
for (let [e, t] of Object.entries({
|
|
@@ -34,5 +34,4 @@ var n = class extends t.TaggedError()("SnapshotReadAdmissionUnavailable", { reas
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
//#endregion
|
|
38
37
|
export { n as SnapshotReadAdmissionUnavailable, r as readAdmittedBuildSnapshot, i as resolveSnapshotReadBinding };
|
|
@@ -8,7 +8,7 @@ import { readSnapshotRouteDispositionPlan as c } from "./snapshotRouteDispositio
|
|
|
8
8
|
import { copySnapshotRedirectTargets as l } from "./snapshotRedirectTargets.js";
|
|
9
9
|
import { createHash as u } from "node:crypto";
|
|
10
10
|
import { canonicalJson as d } from "@voltro/runtime";
|
|
11
|
-
|
|
11
|
+
// src/snapshotRedirectOutput.ts
|
|
12
12
|
var f = (u, d, f, p, m) => {
|
|
13
13
|
let h = {
|
|
14
14
|
tenantId: d.tenantId,
|
|
@@ -147,5 +147,4 @@ var f = (u, d, f, p, m) => {
|
|
|
147
147
|
let g = await c(o);
|
|
148
148
|
return g.id !== o || d(g.manifest) !== d(h) || d(await s.read()) !== d(l) ? t("state") : structuredClone(g);
|
|
149
149
|
};
|
|
150
|
-
//#endregion
|
|
151
150
|
export { h as readSnapshotRedirectOutputArtifact, m as renderSnapshotRouteDispositions };
|
|
@@ -2,7 +2,7 @@ import { normalizeHost as e } from "./domainHost.js";
|
|
|
2
2
|
import { copySnapshotResource as t } from "./buildSnapshot.js";
|
|
3
3
|
import { routeDispositionFail as n } from "./routeDispositions.js";
|
|
4
4
|
import { copySnapshotSeoDocumentsSelection as r } from "./snapshotSeoPathSets.js";
|
|
5
|
-
|
|
5
|
+
// src/snapshotRedirectTargets.ts
|
|
6
6
|
var i = (i, a) => {
|
|
7
7
|
if (e(a) !== a) return n("input");
|
|
8
8
|
let o = t({
|
|
@@ -20,5 +20,4 @@ var i = (i, a) => {
|
|
|
20
20
|
});
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
|
-
//#endregion
|
|
24
23
|
export { i as copySnapshotRedirectTargets };
|
|
@@ -9,7 +9,7 @@ import { Schema as c } from "effect";
|
|
|
9
9
|
import { and as l, eq as u, gt as d, inSet as f } from "@voltro/database";
|
|
10
10
|
import { createHash as p } from "node:crypto";
|
|
11
11
|
import { canonicalJson as m } from "@voltro/runtime";
|
|
12
|
-
|
|
12
|
+
// src/snapshotRedirects.ts
|
|
13
13
|
var h = class extends c.TaggedError()("SnapshotRedirectUnavailable", { reason: c.Literals([
|
|
14
14
|
"scope",
|
|
15
15
|
"checkpoint",
|
|
@@ -128,5 +128,4 @@ var h = class extends c.TaggedError()("SnapshotRedirectUnavailable", { reason: c
|
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
-
//#endregion
|
|
132
131
|
export { h as SnapshotRedirectUnavailable, v as snapshotRedirectSource };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
// src/snapshotReference.ts
|
|
2
2
|
var e = (e, t) => {
|
|
3
3
|
let n = Object.getOwnPropertyDescriptor(e, Symbol.for("voltro.cms.snapshot.reference/v1"));
|
|
4
4
|
if (n === void 0 || n.enumerable || n.writable || typeof n.value != "function") throw Error("Snapshot reference unavailable");
|
|
5
5
|
return n.value(t);
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
7
|
export { e as snapshotReference };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { readCapturedPublicAddress as e } from "./snapshotAddressRead.js";
|
|
2
|
-
|
|
2
|
+
// src/snapshotReferenceAddress.ts
|
|
3
3
|
var t = (t, n, r, i, a, o) => e(t, n, r.snapshot, {
|
|
4
4
|
contentType: i.targetType,
|
|
5
5
|
documentId: i.targetDocumentId,
|
|
6
6
|
localeId: r.output.localeId,
|
|
7
7
|
mappingId: a
|
|
8
8
|
}, o);
|
|
9
|
-
//#endregion
|
|
10
9
|
export { t as readPlannedSnapshotReferenceAddress };
|
|
@@ -6,7 +6,7 @@ import { readAdmittedSnapshotFieldPlan as i } from "./snapshotFieldPlan.js";
|
|
|
6
6
|
import { readPlannedSnapshotReferenceContext as a } from "./snapshotReferenceRead.js";
|
|
7
7
|
import { createHash as o } from "node:crypto";
|
|
8
8
|
import { canonicalJson as s } from "@voltro/runtime";
|
|
9
|
-
|
|
9
|
+
// src/snapshotReferenceGraph.ts
|
|
10
10
|
var c = (e) => {
|
|
11
11
|
throw new r({ reason: e });
|
|
12
12
|
}, l = (e) => o("sha256").update(s(e)).digest("hex"), u = async (r, o, u, d, f, p) => {
|
|
@@ -75,5 +75,4 @@ var c = (e) => {
|
|
|
75
75
|
edges: v
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
|
-
//#endregion
|
|
79
78
|
export { u as readAdmittedSnapshotReferenceGraph };
|
|
@@ -7,7 +7,7 @@ import { readSnapshotRouteContext as a } from "./snapshotRouteRead.js";
|
|
|
7
7
|
import { readAdmittedSnapshotBindingContext as o } from "./snapshotBindingRead.js";
|
|
8
8
|
import { readAdmittedSnapshotFieldPlan as s } from "./snapshotFieldPlan.js";
|
|
9
9
|
import { canonicalJson as c } from "@voltro/runtime";
|
|
10
|
-
|
|
10
|
+
// src/snapshotReferenceRead.ts
|
|
11
11
|
var l = () => {
|
|
12
12
|
throw new r({ reason: "binding" });
|
|
13
13
|
}, u = (e) => !Array.isArray(e) || e.length === 0 || e.length > 128 || e.some((e) => typeof e == "number" ? !Number.isSafeInteger(e) || e < 0 : typeof e != "string" || e.length === 0 || e.length > 256) ? l() : [...e], d = async (e, t, n, r, i) => {
|
|
@@ -61,5 +61,4 @@ var l = () => {
|
|
|
61
61
|
}
|
|
62
62
|
return g;
|
|
63
63
|
}, h = async (...e) => !Array.isArray(e[3].references) || e[3].references.length === 0 ? l() : m(...e);
|
|
64
|
-
//#endregion
|
|
65
64
|
export { d as readAdmittedSnapshotReferenceContext, f as readAdmittedSnapshotReferenceUse, p as readPlannedSnapshotReferenceContext, h as readSnapshotReferenceContext, m as readSnapshotReferenceSourceContext };
|
package/dist/snapshotRelease.js
CHANGED
|
@@ -4,7 +4,7 @@ import { copySnapshotResource as n } from "./buildSnapshot.js";
|
|
|
4
4
|
import { CMS_RELEASES_TABLE as r, CMS_RELEASE_ITEMS_TABLE as i } from "./release.js";
|
|
5
5
|
import { Schema as a } from "effect";
|
|
6
6
|
import { and as o, eq as s, gt as c } from "@voltro/database";
|
|
7
|
-
|
|
7
|
+
// src/snapshotRelease.ts
|
|
8
8
|
var l = class extends a.TaggedError()("SnapshotReleaseUnavailable", { reason: a.Literals([
|
|
9
9
|
"scope",
|
|
10
10
|
"release",
|
|
@@ -95,5 +95,4 @@ var l = class extends a.TaggedError()("SnapshotReleaseUnavailable", { reason: a.
|
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
|
-
//#endregion
|
|
99
98
|
export { l as SnapshotReleaseUnavailable, p as snapshotReleaseSource };
|
package/dist/snapshotRender.js
CHANGED
|
@@ -11,7 +11,7 @@ import { Effect as re, Schema as u, Stream as d } from "effect";
|
|
|
11
11
|
import { createHash as f } from "node:crypto";
|
|
12
12
|
import { canonicalJson as p } from "@voltro/runtime";
|
|
13
13
|
import { encodeNativeFormCapture as ie } from "@voltro/protocol";
|
|
14
|
-
|
|
14
|
+
// src/snapshotRender.ts
|
|
15
15
|
var m = class extends u.TaggedError()("SnapshotRenderUnavailable", { reason: u.Literals(["output", "changed"]) }) {}, h = (e) => {
|
|
16
16
|
throw new m({ reason: e });
|
|
17
17
|
}, g = (e) => f("sha256").update(p(e)).digest("hex"), _ = async (u, m, _, v, y) => {
|
|
@@ -357,5 +357,4 @@ var m = class extends u.TaggedError()("SnapshotRenderUnavailable", { reason: u.L
|
|
|
357
357
|
throw await A?.abort(), e;
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
|
-
//#endregion
|
|
361
360
|
export { m as SnapshotRenderUnavailable, _ as renderSnapshotRoute };
|
|
@@ -3,7 +3,7 @@ import { copySnapshotContentIdentity as n } from "./snapshotContentIdentity.js";
|
|
|
3
3
|
import { snapshotProjectedValue as r } from "./snapshotObservation.js";
|
|
4
4
|
import { createHash as i } from "node:crypto";
|
|
5
5
|
import { canonicalJson as a } from "@voltro/runtime";
|
|
6
|
-
|
|
6
|
+
// src/snapshotRenderDependencies.ts
|
|
7
7
|
var o = () => {
|
|
8
8
|
throw Error("Snapshot dependencies unavailable");
|
|
9
9
|
}, s = (e) => i("sha256").update(a(e)).digest("hex"), c = (e) => typeof e != "object" || !e || Array.isArray(e) ? o() : e, l = (e, t) => a(e) === a(t), u = (e, t) => e.length > t.length && t.every((t, n) => t === e[n]), d = (i) => {
|
|
@@ -174,5 +174,4 @@ var o = () => {
|
|
|
174
174
|
events: p
|
|
175
175
|
} : o();
|
|
176
176
|
};
|
|
177
|
-
//#endregion
|
|
178
177
|
export { d as snapshotRenderDependencies };
|
|
@@ -3,7 +3,7 @@ import { copySnapshotResource as t } from "./buildSnapshot.js";
|
|
|
3
3
|
import { readAssetRendition as n, readAssetRenditionSelection as r } from "./assetRenditions.js";
|
|
4
4
|
import { Schema as i } from "effect";
|
|
5
5
|
import { canonicalJson as a } from "@voltro/runtime";
|
|
6
|
-
|
|
6
|
+
// src/snapshotRenditions.ts
|
|
7
7
|
var o = class extends i.TaggedError()("SnapshotRenditionUnavailable", { reason: i.Literals([
|
|
8
8
|
"configuration",
|
|
9
9
|
"publication",
|
|
@@ -84,5 +84,4 @@ var o = class extends i.TaggedError()("SnapshotRenditionUnavailable", { reason:
|
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
|
-
//#endregion
|
|
88
87
|
export { o as SnapshotRenditionUnavailable, d as copySnapshotRenditionRequirements, f as snapshotRenditionsSource };
|
|
@@ -2,7 +2,7 @@ import { richDocumentProblems as e } from "./richDocument.js";
|
|
|
2
2
|
import { createFrontendMediaReader as t } from "./frontendMedia.js";
|
|
3
3
|
import { snapshotObserver as n, snapshotProjectedValue as r } from "./snapshotObservation.js";
|
|
4
4
|
import { renderSnapshotComponent as i } from "./snapshotComponent.js";
|
|
5
|
-
|
|
5
|
+
// src/snapshotRichDocument.ts
|
|
6
6
|
var a = () => {
|
|
7
7
|
throw Error("Snapshot rich document unavailable");
|
|
8
8
|
}, o = (o, s, c) => {
|
|
@@ -58,5 +58,4 @@ var a = () => {
|
|
|
58
58
|
])
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
|
-
//#endregion
|
|
62
61
|
export { o as snapshotRichDocumentProps };
|
|
@@ -6,7 +6,7 @@ import { readSnapshotSeoOutputArtifact as a } from "./snapshotSeoOutput.js";
|
|
|
6
6
|
import { readSnapshotRedirectOutputArtifact as o } from "./snapshotRedirectOutput.js";
|
|
7
7
|
import { createSnapshotOutputBatch as s, createSnapshotOutputTransfer as c } from "./snapshotOutputTransfer.js";
|
|
8
8
|
import { canonicalJson as l } from "@voltro/protocol";
|
|
9
|
-
|
|
9
|
+
// src/snapshotRoleTransfer.ts
|
|
10
10
|
var u = () => {
|
|
11
11
|
throw new e({ reason: "binding" });
|
|
12
12
|
}, d = (e) => {
|
|
@@ -102,5 +102,4 @@ var u = () => {
|
|
|
102
102
|
readBatch: s(f, b)
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
|
-
//#endregion
|
|
106
105
|
export { d as createSnapshotRoleTransfer };
|
|
@@ -2,7 +2,7 @@ import { cmsCredential as e, privateCmsHttpRoutes as t, privateCmsOperation as n
|
|
|
2
2
|
import { CmsBuildSnapshotUnavailable as r } from "./buildSnapshotService.js";
|
|
3
3
|
import { Effect as i, Schema as a } from "effect";
|
|
4
4
|
import { strictInput as o } from "@voltro/protocol";
|
|
5
|
-
|
|
5
|
+
// src/snapshotRoleTransferRest.ts
|
|
6
6
|
var s = (s) => {
|
|
7
7
|
let c = {
|
|
8
8
|
namespace: "cms.roleTransfer",
|
|
@@ -95,5 +95,4 @@ var s = (s) => {
|
|
|
95
95
|
httpRoutes: t(h)
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
|
-
//#endregion
|
|
99
98
|
export { s as cmsSnapshotRoleTransferRest };
|
|
@@ -8,7 +8,7 @@ import { verifyRenderReadGrant as c } from "./renderReadGrant.js";
|
|
|
8
8
|
import { Schema as l } from "effect";
|
|
9
9
|
import { createHash as u } from "node:crypto";
|
|
10
10
|
import { canonicalJson as d } from "@voltro/runtime";
|
|
11
|
-
|
|
11
|
+
// src/snapshotRouteAdmission.ts
|
|
12
12
|
var f = class extends l.TaggedError()("SnapshotRouteReadUnavailable", { reason: l.Literals([
|
|
13
13
|
"binding",
|
|
14
14
|
"host",
|
|
@@ -67,5 +67,4 @@ var f = class extends l.TaggedError()("SnapshotRouteReadUnavailable", { reason:
|
|
|
67
67
|
now: h
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
|
-
//#endregion
|
|
71
70
|
export { f as SnapshotRouteReadUnavailable, _ as readSnapshotRouteAdmission, g as verifySnapshotContentRoute };
|
|
@@ -11,7 +11,7 @@ import { readAdmittedSnapshotFieldPlan as m } from "./snapshotFieldPlan.js";
|
|
|
11
11
|
import { readAdmittedSnapshotSeo as h } from "./snapshotSeoRead.js";
|
|
12
12
|
import { readAdmittedSnapshotAddressGraph as g } from "./snapshotAddressGraph.js";
|
|
13
13
|
import { readAdmittedSnapshotReferenceGraph as _ } from "./snapshotReferenceGraph.js";
|
|
14
|
-
|
|
14
|
+
// src/snapshotRouteDispatch.ts
|
|
15
15
|
var v = async (...v) => {
|
|
16
16
|
let [y] = v, b = await l(...v), { snapshot: x, place: S, input: C, route: w, configuration: T } = b, E = n(T);
|
|
17
17
|
if (w !== void 0 && T.definitionDigest !== w.definitionDigest) throw new c({ reason: "binding" });
|
|
@@ -107,5 +107,4 @@ var v = async (...v) => {
|
|
|
107
107
|
...A
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
|
-
//#endregion
|
|
111
110
|
export { v as readSnapshotRenderRoute };
|
|
@@ -6,7 +6,7 @@ import { snapshotRedirectSource as a } from "./snapshotRedirects.js";
|
|
|
6
6
|
import { isPrivateNativeRouteReservation as o } from "./privateNativeRouteReservation.js";
|
|
7
7
|
import { planExactRouteDispositions as s } from "./routeDispositionGraph.js";
|
|
8
8
|
import { canonicalJson as c } from "@voltro/runtime";
|
|
9
|
-
|
|
9
|
+
// src/snapshotRouteDispositionPlan.ts
|
|
10
10
|
var l = async (l, u, d, f, p, m) => {
|
|
11
11
|
let h = i(f).routing, { snapshot: g, input: _ } = d.admission, v = g.manifest.parts.find((e) => e.part === "redirects");
|
|
12
12
|
if (v?.format !== "voltro.cms.redirect-history/v4") return r("state");
|
|
@@ -69,5 +69,4 @@ var l = async (l, u, d, f, p, m) => {
|
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
|
-
//#endregion
|
|
73
72
|
export { l as readSnapshotRouteDispositionPlan };
|
|
@@ -4,7 +4,7 @@ import { admitSnapshotPublicDocument as n, admitVerifiedSnapshotPublicDocument a
|
|
|
4
4
|
import { SnapshotRouteReadUnavailable as i, readSnapshotRouteAdmission as a } from "./snapshotRouteAdmission.js";
|
|
5
5
|
import { projectSnapshotDocument as o } from "./snapshotDocumentProjection.js";
|
|
6
6
|
import { canonicalJson as s } from "@voltro/runtime";
|
|
7
|
-
|
|
7
|
+
// src/snapshotRouteRead.ts
|
|
8
8
|
var c = (e) => {
|
|
9
9
|
throw new i({ reason: e });
|
|
10
10
|
}, l = async (e, t, n, r, i) => u(e, await a(e, t, n, r, i)), u = async (i, a, l) => {
|
|
@@ -39,5 +39,4 @@ var c = (e) => {
|
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}, d = async (...e) => (await l(...e))?.output ?? null;
|
|
42
|
-
//#endregion
|
|
43
42
|
export { i as SnapshotRouteReadUnavailable, u as readAdmittedSnapshotContentRoute, d as readSnapshotRoute, l as readSnapshotRouteContext };
|
package/dist/snapshotRoutes.js
CHANGED
|
@@ -8,7 +8,7 @@ import { ContentRouteMaterializationUnavailable as c, materializeContentRoutes a
|
|
|
8
8
|
import { Schema as u } from "effect";
|
|
9
9
|
import { createHash as d } from "node:crypto";
|
|
10
10
|
import { canonicalJson as f } from "@voltro/runtime";
|
|
11
|
-
|
|
11
|
+
// src/snapshotRoutes.ts
|
|
12
12
|
var p = class extends u.TaggedError()("SnapshotRouteUnavailable", { reason: u.Literals([
|
|
13
13
|
"scope",
|
|
14
14
|
"types",
|
|
@@ -75,5 +75,4 @@ var p = class extends u.TaggedError()("SnapshotRouteUnavailable", { reason: u.Li
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
|
-
//#endregion
|
|
79
78
|
export { p as SnapshotRouteUnavailable, _ as snapshotContentRoutesSource };
|
package/dist/snapshotRouting.js
CHANGED
|
@@ -2,7 +2,7 @@ import { copySnapshotResource as e } from "./buildSnapshot.js";
|
|
|
2
2
|
import { Schema as t } from "effect";
|
|
3
3
|
import { createHash as n } from "node:crypto";
|
|
4
4
|
import { canonicalJson as r } from "@voltro/runtime";
|
|
5
|
-
|
|
5
|
+
// src/snapshotRouting.ts
|
|
6
6
|
var i = class extends t.TaggedError()("SnapshotRoutingUnavailable", { reason: t.Literals([
|
|
7
7
|
"definition",
|
|
8
8
|
"discovery",
|
|
@@ -109,5 +109,4 @@ var i = class extends t.TaggedError()("SnapshotRoutingUnavailable", { reason: t.
|
|
|
109
109
|
n,
|
|
110
110
|
r
|
|
111
111
|
])}`;
|
|
112
|
-
//#endregion
|
|
113
112
|
export { i as SnapshotRoutingUnavailable, f as compileSnapshotRouting, d as copySnapshotRoutingDefinition, v as nativeSnapshotRouteId, g as readSnapshotRouting, h as snapshotCmsPage, p as snapshotRouteDispatch, m as snapshotRouteOwnership, c as snapshotRoutingPath, _ as verifySnapshotRouteOwnership };
|
package/dist/snapshotSeo.js
CHANGED
|
@@ -6,7 +6,7 @@ import { contentRouteId as c } from "./contentRouteIdentity.js";
|
|
|
6
6
|
import { Schema as l } from "effect";
|
|
7
7
|
import { createHash as u } from "node:crypto";
|
|
8
8
|
import { canonicalJson as d } from "@voltro/runtime";
|
|
9
|
-
|
|
9
|
+
// src/snapshotSeo.ts
|
|
10
10
|
var f = class extends l.TaggedError()("SnapshotSeoUnavailable", { reason: l.Literals([
|
|
11
11
|
"scope",
|
|
12
12
|
"format",
|
|
@@ -175,5 +175,4 @@ var f = class extends l.TaggedError()("SnapshotSeoUnavailable", { reason: l.Lite
|
|
|
175
175
|
}
|
|
176
176
|
};
|
|
177
177
|
};
|
|
178
|
-
//#endregion
|
|
179
178
|
export { f as SnapshotSeoUnavailable, g as snapshotSeoAddressSource };
|
|
@@ -8,7 +8,7 @@ import { readAdmittedSnapshotContentRoute as c } from "./snapshotRouteRead.js";
|
|
|
8
8
|
import { SnapshotSeoReadUnavailable as l, readAdmittedSnapshotSeo as u } from "./snapshotSeoRead.js";
|
|
9
9
|
import { snapshotSitemapFiles as d } from "./snapshotSitemapFiles.js";
|
|
10
10
|
import { canonicalJson as f } from "@voltro/runtime";
|
|
11
|
-
|
|
11
|
+
// src/snapshotSeoControls.ts
|
|
12
12
|
var p = () => {
|
|
13
13
|
throw new l({ reason: "binding" });
|
|
14
14
|
}, m = async (l, m, h, g, _) => {
|
|
@@ -97,5 +97,4 @@ var p = () => {
|
|
|
97
97
|
productionDocumentRequired: L
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
|
-
//#endregion
|
|
101
100
|
export { m as readSnapshotSeoControls };
|
|
@@ -5,7 +5,7 @@ import { copySnapshotConsentPurposes as r, copySnapshotPresentationValue as i, s
|
|
|
5
5
|
import { SnapshotSeoReadUnavailable as o } from "./snapshotSeoRead.js";
|
|
6
6
|
import { createHash as s } from "node:crypto";
|
|
7
7
|
import { canonicalJson as c } from "@voltro/runtime";
|
|
8
|
-
|
|
8
|
+
// src/snapshotSeoDocumentInventory.ts
|
|
9
9
|
var l = () => {
|
|
10
10
|
throw new o({ reason: "binding" });
|
|
11
11
|
}, u = (e) => s("sha256").update(c(e)).digest("hex"), d = (e) => typeof e == "string" && /^[a-f0-9]{64}$/.test(e), f = (e, t) => typeof e != "object" || !e || Array.isArray(e) || ![Object.prototype, null].includes(Object.getPrototypeOf(e)) || Reflect.ownKeys(e).some((t) => typeof t != "string" || !Object.getOwnPropertyDescriptor(e, t).enumerable || !Object.hasOwn(Object.getOwnPropertyDescriptor(e, t), "value")) || t !== void 0 && Object.keys(e).sort().join(",") !== t ? l() : e, p = (e, t) => !Array.isArray(e) || e.length > t || Reflect.ownKeys(e).length !== e.length + 1 ? l() : Array.from({ length: e.length }, (t, n) => {
|
|
@@ -111,5 +111,4 @@ var l = () => {
|
|
|
111
111
|
records: j
|
|
112
112
|
};
|
|
113
113
|
};
|
|
114
|
-
//#endregion
|
|
115
114
|
export { m as readSnapshotSeoDocumentInventory };
|