@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
|
@@ -2,7 +2,7 @@ import { RouteDispositionDefinitionSchema as e, RouteDispositionUnavailable as t
|
|
|
2
2
|
import { cmsCredential as n, privateCmsHttpRoutes as r, privateCmsOperation as i } from "./privateCmsTransport.js";
|
|
3
3
|
import { Schema as a } from "effect";
|
|
4
4
|
import { strictInput as o } from "@voltro/protocol";
|
|
5
|
-
|
|
5
|
+
// src/routeDispositionRest.ts
|
|
6
6
|
var s = a.Struct({
|
|
7
7
|
revision: a.Int,
|
|
8
8
|
revisionId: a.String,
|
|
@@ -47,5 +47,4 @@ var s = a.Struct({
|
|
|
47
47
|
httpRoutes: r(l)
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
|
-
//#endregion
|
|
51
50
|
export { l as cmsRouteDispositionRest };
|
|
@@ -5,7 +5,7 @@ import { readRenderReadOrganization as a } from "./renderReadAuthority.js";
|
|
|
5
5
|
import { readApprovedRouteDispositionPage as o, writeApprovedRouteDisposition as s } from "./routeDispositionStore.js";
|
|
6
6
|
import { Effect as c } from "effect";
|
|
7
7
|
import { API_KEYS_TABLE as l, dataStoreApiKeyStore as u, makeApiKeyService as d } from "@voltro/runtime";
|
|
8
|
-
|
|
8
|
+
// src/routeDispositionService.ts
|
|
9
9
|
var f = (f) => {
|
|
10
10
|
let { store: p, approvalScope: m, readScope: h } = f, g = t(f.scope), _ = f.now ?? Date.now;
|
|
11
11
|
if (![m, h].every((e) => /^[A-Za-z][A-Za-z0-9:_.-]{0,127}$/.test(e))) return i("input");
|
|
@@ -69,5 +69,4 @@ var f = (f) => {
|
|
|
69
69
|
})
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
|
-
//#endregion
|
|
73
72
|
export { f as createCmsRouteDispositions };
|
|
@@ -6,7 +6,7 @@ import { copyRenderReadAuthority as s } from "./renderReadAuthority.js";
|
|
|
6
6
|
import { and as c, eq as l, generateId as u, gt as d, id as f, inSet as p, integer as m, json as h, table as g, text as _, timestamp as v } from "@voltro/database";
|
|
7
7
|
import { tenant as y } from "@voltro/plugin-multitenancy/mixin";
|
|
8
8
|
import { canonicalJson as b } from "@voltro/runtime";
|
|
9
|
-
|
|
9
|
+
// src/routeDispositionStore.ts
|
|
10
10
|
var x = "_voltro_cms_route_disposition_heads", S = "_voltro_cms_route_dispositions", C = "_voltro_cms_route_disposition_revisions", w = g(x, {
|
|
11
11
|
id: f({ prefix: "crph" }),
|
|
12
12
|
site: _().maxLength(64),
|
|
@@ -285,5 +285,4 @@ async function* U(e, t) {
|
|
|
285
285
|
} while (n !== void 0);
|
|
286
286
|
if (i !== a) return o("state");
|
|
287
287
|
}
|
|
288
|
-
//#endregion
|
|
289
288
|
export { S as ROUTE_DISPOSITIONS, x as ROUTE_DISPOSITION_HEADS, C as ROUTE_DISPOSITION_REVISIONS, U as iterateApprovedRouteDispositions, V as readApprovedRouteDispositionPage, B as readApprovedRouteDispositionUrl, w as routeDispositionHeadsTable, D as routeDispositionRevisionsTable, O as routeDispositionTables, E as routeDispositionsTable, H as writeApprovedRouteDisposition };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { copyCanonicalPublicRouteUrl as e } from "./publicRouteUrl.js";
|
|
2
2
|
import { Schema as t } from "effect";
|
|
3
|
-
|
|
3
|
+
// src/routeDispositions.ts
|
|
4
4
|
var n = class extends t.TaggedError()("RouteDispositionUnavailable", { reason: t.Literals([
|
|
5
5
|
"input",
|
|
6
6
|
"bounds",
|
|
@@ -87,5 +87,4 @@ var n = class extends t.TaggedError()("RouteDispositionUnavailable", { reason: t
|
|
|
87
87
|
activeFrom: t.NullOr(t.Int),
|
|
88
88
|
activeUntil: t.NullOr(t.Int)
|
|
89
89
|
});
|
|
90
|
-
//#endregion
|
|
91
90
|
export { u as RouteDispositionDefinitionSchema, n as RouteDispositionUnavailable, c as copyRouteDispositionDefinition, r as routeDispositionFail };
|
|
@@ -4,7 +4,7 @@ import { Schema as r } from "effect";
|
|
|
4
4
|
import { and as i, boolean as a, eq as o, generateId as s, gt as c, id as l, integer as u, table as d, text as f } from "@voltro/database";
|
|
5
5
|
import { tenant as p } from "@voltro/plugin-multitenancy/mixin";
|
|
6
6
|
import { canonicalJson as m } from "@voltro/runtime";
|
|
7
|
-
|
|
7
|
+
// src/routeHistoryStorage.ts
|
|
8
8
|
var h = class extends r.TaggedError()("RouteHistoryUnavailable", { reason: r.Literals([
|
|
9
9
|
"scope",
|
|
10
10
|
"input",
|
|
@@ -272,7 +272,7 @@ var h = class extends r.TaggedError()("RouteHistoryUnavailable", { reason: r.Lit
|
|
|
272
272
|
firstSourceDigest: d,
|
|
273
273
|
lastSourceDigest: d
|
|
274
274
|
}), P++;
|
|
275
|
-
} else
|
|
275
|
+
} else r.active && r.routeId === n.routeId || await e.update(s, r.id, {
|
|
276
276
|
routeId: n.routeId,
|
|
277
277
|
active: !0,
|
|
278
278
|
lastRevision: k,
|
|
@@ -316,5 +316,4 @@ var h = class extends r.TaggedError()("RouteHistoryUnavailable", { reason: r.Lit
|
|
|
316
316
|
iterateRouteHistory: L
|
|
317
317
|
};
|
|
318
318
|
};
|
|
319
|
-
//#endregion
|
|
320
319
|
export { h as RouteHistoryUnavailable, E as copyObservedRoutes, D as createRouteHistoryStore };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { copyObservedRoutes as e, createRouteHistoryStore as t } from "./routeHistoryStorage.js";
|
|
2
|
-
|
|
2
|
+
// src/routeHistoryStore.ts
|
|
3
3
|
var n = "_voltro_cms_route_history_heads", r = "_voltro_cms_route_history", { routeHistoryTables: i, routeHistoryHeadsTable: a, routeHistoryEntriesTable: o, readRouteHistoryPage: s, readRouteHistoryUrl: c, replaceRouteHistory: l, iterateRouteHistory: u } = t({
|
|
4
4
|
heads: n,
|
|
5
5
|
entries: r,
|
|
@@ -8,5 +8,4 @@ var n = "_voltro_cms_route_history_heads", r = "_voltro_cms_route_history", { ro
|
|
|
8
8
|
headIndex: "cms_route_history_head_scope",
|
|
9
9
|
entryIndex: "cms_route_history_url_scope"
|
|
10
10
|
});
|
|
11
|
-
//#endregion
|
|
12
11
|
export { r as ROUTE_HISTORY_ENTRIES, n as ROUTE_HISTORY_HEADS, e as copyObservedRoutes, u as iterateRouteHistory, s as readRouteHistoryPage, c as readRouteHistoryUrl, l as replaceRouteHistory, i as routeHistoryTables };
|
package/dist/schedule.js
CHANGED
|
@@ -2,7 +2,7 @@ import { ChangeFeedUnavailable as e, ContentNotFound as t, ContentValidationFail
|
|
|
2
2
|
import { asTyped as a } from "./effectForm.js";
|
|
3
3
|
import { publish as o, revalidateContent as s, scopeColumns as c, unpublish as l } from "./write.js";
|
|
4
4
|
import { and as u, eq as d, lte as f } from "@voltro/database";
|
|
5
|
-
|
|
5
|
+
// src/schedule.ts
|
|
6
6
|
var p = (e) => `${e.name}_drafts`, m = async (e, t, n, r, i) => g(e, t, n, { publishAt: r }, i), h = async (e, t, n, r, i) => g(e, t, n, { unpublishAt: r }, i), g = async (e, n, r, i, a) => {
|
|
7
7
|
let o = p(n), s = await e.query({
|
|
8
8
|
table: o,
|
|
@@ -76,5 +76,4 @@ var p = (e) => `${e.name}_drafts`, m = async (e, t, n, r, i) => g(e, t, n, { pub
|
|
|
76
76
|
}
|
|
77
77
|
return a.length > 0 && s(n), a;
|
|
78
78
|
}, b = (...e) => a(() => m(...e), t), x = (...e) => a(() => h(...e), t), S = (...t) => a(() => v(...t), e, n), C = (...t) => a(() => y(...t), e);
|
|
79
|
-
//#endregion
|
|
80
79
|
export { v as publishDue, S as publishDueEffect, m as schedulePublish, b as schedulePublishEffect, h as scheduleUnpublish, x as scheduleUnpublishEffect, y as unpublishDue, C as unpublishDueEffect };
|
package/dist/search.js
CHANGED
|
@@ -2,7 +2,7 @@ import { normalizeRichDocument as e, plainTextOf as t } from "./richDocument.js"
|
|
|
2
2
|
import { asTyped as n } from "./effectForm.js";
|
|
3
3
|
import { and as r, eq as i, id as a, inSet as o, table as s, text as c } from "@voltro/database";
|
|
4
4
|
import { tenant as l } from "@voltro/plugin-multitenancy/mixin";
|
|
5
|
-
|
|
5
|
+
// src/search.ts
|
|
6
6
|
var u = "cms_search", d = "cms_search_text", f = s(u, {
|
|
7
7
|
id: a({ prefix: "csrch" }),
|
|
8
8
|
site: c().maxLength(64),
|
|
@@ -144,5 +144,4 @@ var u = "cms_search", d = "cms_search_text", f = s(u, {
|
|
|
144
144
|
rank: Number(e.rank ?? 0)
|
|
145
145
|
}));
|
|
146
146
|
}, T = (...e) => n(() => y(...e)), E = (...e) => n(() => v(...e)), D = (...e) => n(() => b(...e)), O = (...e) => n(() => w(...e));
|
|
147
|
-
//#endregion
|
|
148
147
|
export { u as CMS_SEARCH_TABLE, p as checkSearch, f as cmsSearchTable, y as dropFromSearch, T as dropFromSearchEffect, v as indexForSearch, E as indexForSearchEffect, b as rebuildSearch, D as rebuildSearchEffect, w as searchContent, O as searchContentEffect, g as searchTextOf, C as snippetOf };
|
package/dist/selectionIntent.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { normalizeRichDocument as e } from "./richDocument.js";
|
|
2
2
|
import { inlineText as t, mergeInline as n, sliceInline as r } from "./richInline.js";
|
|
3
|
-
|
|
3
|
+
// src/selectionIntent.ts
|
|
4
4
|
var i = /^[A-Za-z0-9_.:-]{1,120}$/, a = (e) => typeof e == "object" && !!e && !Array.isArray(e), o = (e) => typeof e == "string" && i.test(e), s = (e) => Number.isInteger(e) && e >= 0 && e <= 1e6, c = (e) => typeof e == "string" && /^\/(?![/\\])[^\s]*$/.test(e) && e.length <= 2e3, l = (e) => {
|
|
5
5
|
if (!a(e) || !o(e.id) || !o(e.pick) || !c(e.returnTo) || !a(e.target)) return null;
|
|
6
6
|
let t = e.target;
|
|
@@ -160,5 +160,4 @@ var i = /^[A-Za-z0-9_.:-]{1,120}$/, a = (e) => typeof e == "object" && !!e && !A
|
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
};
|
|
163
|
-
//#endregion
|
|
164
163
|
export { h as applySelection, p as decodeSelectionIntent, f as encodeSelectionIntent, l as parseSelectionIntent };
|
package/dist/seo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/seo.ts
|
|
2
2
|
var e = (e, t) => e.nodes.find((e) => e.documentId === t && !e.fallback), t = (t, n) => t.flatMap((t) => {
|
|
3
3
|
let r = e(t.tree, n);
|
|
4
4
|
return r === void 0 ? [] : [{
|
|
@@ -27,5 +27,4 @@ var e = (e, t) => e.nodes.find((e) => e.documentId === t && !e.fallback), t = (t
|
|
|
27
27
|
" </url>"
|
|
28
28
|
].join("\n");
|
|
29
29
|
}).join("\n")}\n</urlset>\n`;
|
|
30
|
-
//#endregion
|
|
31
30
|
export { t as alternatesOf, r as sitemapUrls, a as sitemapXml };
|
package/dist/series.js
CHANGED
|
@@ -4,7 +4,7 @@ import { scopeColumns as r } from "./write.js";
|
|
|
4
4
|
import { occurrencesOf as i, recurrenceProblems as a } from "./recurrence.js";
|
|
5
5
|
import { and as o, eq as s, id as c, integer as l, json as u, table as d, text as f } from "@voltro/database";
|
|
6
6
|
import { tenant as p } from "@voltro/plugin-multitenancy/mixin";
|
|
7
|
-
|
|
7
|
+
// src/series.ts
|
|
8
8
|
var m = "cms_publish_series", h = d(m, {
|
|
9
9
|
id: c({ prefix: "cser" }),
|
|
10
10
|
contentType: f().maxLength(64),
|
|
@@ -101,5 +101,4 @@ var m = "cms_publish_series", h = d(m, {
|
|
|
101
101
|
}
|
|
102
102
|
return r;
|
|
103
103
|
}, w = [e, t], T = (...e) => n(() => C(...e), ...w), E = (...e) => n(() => S(...e), ...w), D = (...e) => n(() => x(...e), ...w), O = (...e) => n(() => y(...e), ...w);
|
|
104
|
-
//#endregion
|
|
105
104
|
export { m as CMS_PUBLISH_SERIES_TABLE, C as advanceSeries, T as advanceSeriesEffect, S as cancelSeries, E as cancelSeriesEffect, h as cmsPublishSeriesTable, x as scheduleSeries, D as scheduleSeriesEffect, y as seriesOf, O as seriesOfEffect };
|
package/dist/share.js
CHANGED
|
@@ -4,7 +4,7 @@ import { CMS_REVISIONS_TABLE as r } from "./contentType.js";
|
|
|
4
4
|
import { and as i, eq as a, id as o, table as s, text as c, timestamp as l } from "@voltro/database";
|
|
5
5
|
import { tenant as u } from "@voltro/plugin-multitenancy/mixin";
|
|
6
6
|
import { createHash as d, randomBytes as f } from "node:crypto";
|
|
7
|
-
|
|
7
|
+
// src/share.ts
|
|
8
8
|
var p = "cms_preview_shares", m = 30, h = s(p, {
|
|
9
9
|
id: o({ prefix: "cshr" }),
|
|
10
10
|
contentType: c().maxLength(64),
|
|
@@ -108,5 +108,4 @@ var p = "cms_preview_shares", m = 30, h = s(p, {
|
|
|
108
108
|
skip: void 0,
|
|
109
109
|
projection: void 0
|
|
110
110
|
}), S = [e, t], C = (...e) => n(() => v(...e), ...S), w = (...e) => n(() => x(...e), ...S), T = (...e) => n(() => y(...e), ...S), E = (...e) => n(() => b(...e), ...S);
|
|
111
|
-
//#endregion
|
|
112
111
|
export { p as CMS_PREVIEW_SHARES_TABLE, m as MAX_PREVIEW_SHARE_DAYS, h as cmsPreviewSharesTable, v as createPreviewShare, C as createPreviewShareEffect, x as listPreviewShares, w as listPreviewSharesEffect, y as resolvePreviewShare, T as resolvePreviewShareEffect, b as revokePreviewShare, E as revokePreviewShareEffect };
|
package/dist/siteBindings.js
CHANGED
|
@@ -3,7 +3,7 @@ import { asTyped as n } from "./effectForm.js";
|
|
|
3
3
|
import { invalidatePublicationRelease as r, lockPublicationStream as i } from "./changes.js";
|
|
4
4
|
import { and as a, eq as o, generateId as s, id as c, table as l, text as u } from "@voltro/database";
|
|
5
5
|
import { tenant as d } from "@voltro/plugin-multitenancy/mixin";
|
|
6
|
-
|
|
6
|
+
// src/siteBindings.ts
|
|
7
7
|
var f = "cms_site_bindings", p = "cms_site_binding_revisions", m = l(f, {
|
|
8
8
|
id: c({ prefix: "csbi" }),
|
|
9
9
|
site: u().maxLength(64),
|
|
@@ -155,5 +155,4 @@ var f = "cms_site_bindings", p = "cms_site_binding_revisions", m = l(f, {
|
|
|
155
155
|
let d = await A(e, o, r, c);
|
|
156
156
|
return await D(e, t, o, d.contentType, d.documentId), O(e, o, r, u, d, d.id);
|
|
157
157
|
}, M = (...e) => n(() => T(...e), t), N = (...r) => n(() => k(...r), t, e), P = (...e) => n(() => A(...e), t), F = (...r) => n(() => j(...r), t, e);
|
|
158
|
-
//#endregion
|
|
159
158
|
export { f as CMS_SITE_BINDINGS_TABLE, p as CMS_SITE_BINDING_REVISIONS_TABLE, k as bindSiteContent, N as bindSiteContentEffect, h as cmsSiteBindingRevisionsTable, m as cmsSiteBindingsTable, E as lockSiteContentBinding, j as rollbackSiteContentBinding, F as rollbackSiteContentBindingEffect, T as siteContentBinding, M as siteContentBindingEffect, A as siteContentBindingRevision, P as siteContentBindingRevisionEffect };
|
|
@@ -19,7 +19,7 @@ import { snapshotMediaSelectionSource as b } from "./snapshotMediaCapture.js";
|
|
|
19
19
|
import { deriveSnapshotSeoMetadata as x } from "./snapshotSeoMetadata.js";
|
|
20
20
|
import { Schema as S } from "effect";
|
|
21
21
|
import { canonicalJson as C } from "@voltro/runtime";
|
|
22
|
-
|
|
22
|
+
// src/siteBuildCandidate.ts
|
|
23
23
|
var w = class extends S.TaggedError()("SiteBuildCandidateUnavailable", { reason: S.Literals(["scope", "app"]) }) {}, T = (e) => {
|
|
24
24
|
throw new w({ reason: e });
|
|
25
25
|
}, E = (e, t, n, r) => {
|
|
@@ -100,5 +100,4 @@ var w = class extends S.TaggedError()("SiteBuildCandidateUnavailable", { reason:
|
|
|
100
100
|
xDefault: M
|
|
101
101
|
});
|
|
102
102
|
};
|
|
103
|
-
//#endregion
|
|
104
103
|
export { w as SiteBuildCandidateUnavailable, D as captureSiteBuildCandidate };
|
package/dist/siteDelivery.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SiteDeliveryUnavailable as e } from "./errors.js";
|
|
2
2
|
import { defineContentSeoDefaults as t } from "./contentSeo.js";
|
|
3
|
-
|
|
3
|
+
// src/siteDelivery.ts
|
|
4
4
|
var n = (t) => {
|
|
5
5
|
throw new e({ reason: t });
|
|
6
6
|
}, r = (e) => typeof e == "string" && e.length > 0 && e.length <= 64 && e.trim() === e, i = (e) => typeof e == "string" && /^[a-z][a-z0-9_-]{0,63}$/.test(e), a = (e, t) => {
|
|
@@ -111,5 +111,4 @@ var n = (t) => {
|
|
|
111
111
|
directions: i((e) => e.direction)
|
|
112
112
|
});
|
|
113
113
|
};
|
|
114
|
-
//#endregion
|
|
115
114
|
export { u as compileSiteDelivery, l as defineSiteDelivery };
|
package/dist/siteState.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SiteStateUnavailable as e } from "./errors.js";
|
|
2
2
|
import { and as t, eq as n, generateId as r, id as i, table as a, text as o } from "@voltro/database";
|
|
3
3
|
import { tenant as s } from "@voltro/plugin-multitenancy/mixin";
|
|
4
|
-
|
|
4
|
+
// src/siteState.ts
|
|
5
5
|
var c = "_voltro_cms_site_state_heads", l = a(c, {
|
|
6
6
|
id: i({ prefix: "cssh" }),
|
|
7
7
|
site: o().maxLength(64)
|
|
@@ -43,5 +43,4 @@ var c = "_voltro_cms_site_state_heads", l = a(c, {
|
|
|
43
43
|
});
|
|
44
44
|
if (i === void 0) throw new e({ reason: "state" });
|
|
45
45
|
};
|
|
46
|
-
//#endregion
|
|
47
46
|
export { c as CMS_SITE_STATE_HEADS_TABLE, l as cmsSiteStateHeadsTable, u as copySiteScope, f as lockSiteState, p as lockSiteStateForRead, d as siteStatePredicate };
|
|
@@ -3,7 +3,7 @@ import { copySnapshotReferenceRoutes as t } from "./snapshotProjection.js";
|
|
|
3
3
|
import { SnapshotRouteReadUnavailable as n } from "./snapshotRouteAdmission.js";
|
|
4
4
|
import { readPlannedSnapshotReferenceAddress as r } from "./snapshotReferenceAddress.js";
|
|
5
5
|
import { canonicalJson as i } from "@voltro/runtime";
|
|
6
|
-
|
|
6
|
+
// src/snapshotAddressGraph.ts
|
|
7
7
|
var a = (e) => {
|
|
8
8
|
throw new n({ reason: e });
|
|
9
9
|
}, o = async (n, o, s, c, l) => {
|
|
@@ -51,5 +51,4 @@ var a = (e) => {
|
|
|
51
51
|
return n < r ? -1 : +(n > r);
|
|
52
52
|
}), p;
|
|
53
53
|
};
|
|
54
|
-
//#endregion
|
|
55
54
|
export { o as readAdmittedSnapshotAddressGraph };
|
|
@@ -8,7 +8,7 @@ import { admitSnapshotPublicDocument as c } from "./snapshotPublicAccess.js";
|
|
|
8
8
|
import { SnapshotRouteReadUnavailable as l } from "./snapshotRouteAdmission.js";
|
|
9
9
|
import { createHash as u } from "node:crypto";
|
|
10
10
|
import { canonicalJson as d } from "@voltro/runtime";
|
|
11
|
-
|
|
11
|
+
// src/snapshotAddressRead.ts
|
|
12
12
|
var f = (e) => {
|
|
13
13
|
throw new l({ reason: e });
|
|
14
14
|
}, p = (e) => u("sha256").update(d(e)).digest("hex"), m = (e, t) => d(e) === d(t), h = (e) => typeof e != "object" || !e || Array.isArray(e) ? f("binding") : e, g = async (e, t, n, r, i) => {
|
|
@@ -69,5 +69,4 @@ var f = (e) => {
|
|
|
69
69
|
route: P
|
|
70
70
|
} : f("route");
|
|
71
71
|
};
|
|
72
|
-
//#endregion
|
|
73
72
|
export { _ as readAdmittedCapturedAddress, g as readCapturedPublicAddress };
|
|
@@ -5,7 +5,7 @@ import { readSnapshotAppExecution as r, verifyRetainedSnapshotRoutes as i, verif
|
|
|
5
5
|
import { copySnapshotConsumer as o, issueSnapshotReadGrant as s } from "./snapshotConsumer.js";
|
|
6
6
|
import { Schema as c } from "effect";
|
|
7
7
|
import { canonicalJson as l } from "@voltro/runtime";
|
|
8
|
-
|
|
8
|
+
// src/snapshotAppConsumer.ts
|
|
9
9
|
var u = class extends c.TaggedError()("SnapshotAppConsumerUnavailable", { reason: c.Literals(["credential", "changed"]) }) {}, d = (e) => {
|
|
10
10
|
throw new u({ reason: e });
|
|
11
11
|
}, f = async (c, u, f, p) => {
|
|
@@ -67,5 +67,4 @@ var u = class extends c.TaggedError()("SnapshotAppConsumerUnavailable", { reason
|
|
|
67
67
|
} : d("changed");
|
|
68
68
|
}) : d("changed");
|
|
69
69
|
};
|
|
70
|
-
//#endregion
|
|
71
70
|
export { u as SnapshotAppConsumerUnavailable, f as issueSnapshotAppGrant };
|
|
@@ -6,7 +6,7 @@ import { matchesSnapshotApplication as i } from "./snapshotApplication.js";
|
|
|
6
6
|
import { Schema as a } from "effect";
|
|
7
7
|
import { createHash as o } from "node:crypto";
|
|
8
8
|
import { canonicalJson as s } from "@voltro/runtime";
|
|
9
|
-
|
|
9
|
+
// src/snapshotAppExecution.ts
|
|
10
10
|
var c = class extends a.TaggedError()("SnapshotAppUnavailable", { reason: a.Literals([
|
|
11
11
|
"app",
|
|
12
12
|
"receipt",
|
|
@@ -98,5 +98,4 @@ var c = class extends a.TaggedError()("SnapshotAppUnavailable", { reason: a.Lite
|
|
|
98
98
|
let i = r.receipt;
|
|
99
99
|
return i.version !== 1 || i.profile !== "voltro.node-permission-json/v1" || i.inputsId !== e.inputsId || i.executionId !== e.executionId || i.exportName !== t || s(i.app) !== s(e.app) || s(i.runtime) !== s(e.runtime) || s(i.web ?? null) !== s(e.web ?? null) || i.inputDigest !== d(n) || i.resultDigest !== d(r.value) || !u(i.runnerDigest) ? l("receipt") : { runnerDigest: i.runnerDigest };
|
|
100
100
|
};
|
|
101
|
-
//#endregion
|
|
102
101
|
export { c as SnapshotAppUnavailable, p as readSnapshotAppExecution, m as verifyRetainedSnapshotRoutes, h as verifySnapshotAppExecution };
|
|
@@ -10,7 +10,7 @@ import { matchesSnapshotFrontend as d, snapshotFrontendFromManifest as f, snapsh
|
|
|
10
10
|
import { snapshotSiteConfiguration as m } from "./snapshotSite.js";
|
|
11
11
|
import { readCapturedSnapshotConsentPurposes as h } from "./snapshotPresentationPolicy.js";
|
|
12
12
|
import { canonicalJson as g } from "@voltro/runtime";
|
|
13
|
-
|
|
13
|
+
// src/snapshotApplication.ts
|
|
14
14
|
var _ = (t, r) => {
|
|
15
15
|
let d = a(r), { types: f } = t, p = {
|
|
16
16
|
...o(f, d),
|
|
@@ -71,5 +71,4 @@ var _ = (t, r) => {
|
|
|
71
71
|
}
|
|
72
72
|
return g(v) === g(f.site) && g(y) === g(f.locales) && g(b.value.renditionRequirements) === g(p) && x.value.xDefault === l.xDefault;
|
|
73
73
|
};
|
|
74
|
-
//#endregion
|
|
75
74
|
export { b as matchesSnapshotApplication, _ as snapshotApplicationConfigurationPins, v as snapshotApplicationPins, y as snapshotCaptureApplicationPins };
|
|
@@ -5,7 +5,7 @@ import { routeDispositionFail as i } from "./routeDispositions.js";
|
|
|
5
5
|
import { iterateApprovedRouteDispositions as a, readApprovedRouteDispositionPage as o } from "./routeDispositionStore.js";
|
|
6
6
|
import { canonicalJson as s } from "@voltro/runtime";
|
|
7
7
|
import { Buffer as c } from "node:buffer";
|
|
8
|
-
|
|
8
|
+
// src/snapshotApprovedRouteDispositions.ts
|
|
9
9
|
var l = (l, u, d = Date.now()) => {
|
|
10
10
|
let f = e(u);
|
|
11
11
|
return {
|
|
@@ -40,5 +40,4 @@ var l = (l, u, d = Date.now()) => {
|
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
//#endregion
|
|
44
43
|
export { l as snapshotApprovedRouteDispositionsSource };
|
|
@@ -3,7 +3,7 @@ import { copySnapshotSeoDocumentsSelection as t } from "./snapshotSeoPathSets.js
|
|
|
3
3
|
import { readSnapshotSeoDocuments as n } from "./snapshotSeoDocuments.js";
|
|
4
4
|
import { createHash as r } from "node:crypto";
|
|
5
5
|
import { canonicalJson as i } from "@voltro/runtime";
|
|
6
|
-
|
|
6
|
+
// src/snapshotAssetAssembly.ts
|
|
7
7
|
var a = () => {
|
|
8
8
|
throw new e({ reason: "binding" });
|
|
9
9
|
}, o = (e) => r("sha256").update(i(e)).digest("hex"), s = (e) => typeof e == "string" && /^[a-f0-9]{64}$/.test(e), c = (e) => {
|
|
@@ -66,5 +66,4 @@ var a = () => {
|
|
|
66
66
|
};
|
|
67
67
|
} };
|
|
68
68
|
};
|
|
69
|
-
//#endregion
|
|
70
69
|
export { c as createSnapshotAssetAssembly };
|
|
@@ -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/snapshotAssetAssemblyRest.ts
|
|
6
6
|
var s = (s) => {
|
|
7
7
|
let c = {
|
|
8
8
|
namespace: "cms.snapshotAssets",
|
|
@@ -46,5 +46,4 @@ var s = (s) => {
|
|
|
46
46
|
httpRoutes: t(u)
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
-
//#endregion
|
|
50
49
|
export { s as cmsSnapshotAssetsRest };
|
|
@@ -5,7 +5,7 @@ import { SnapshotRouteReadUnavailable as r } from "./snapshotRouteAdmission.js";
|
|
|
5
5
|
import { projectSnapshotDocument as i } from "./snapshotDocumentProjection.js";
|
|
6
6
|
import { readSnapshotRouteContext as a } from "./snapshotRouteRead.js";
|
|
7
7
|
import { canonicalJson as o } from "@voltro/runtime";
|
|
8
|
-
|
|
8
|
+
// src/snapshotBindingRead.ts
|
|
9
9
|
var s = () => {
|
|
10
10
|
throw new r({ reason: "binding" });
|
|
11
11
|
}, c = (e) => typeof e != "object" || !e || Array.isArray(e) ? s() : e, l = async (e, n, r, i, o) => {
|
|
@@ -57,5 +57,4 @@ var s = () => {
|
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
}, d = async (...e) => (await l(...e))?.output ?? null;
|
|
60
|
-
//#endregion
|
|
61
60
|
export { u as readAdmittedSnapshotBindingContext, d as readSnapshotBinding, l as readSnapshotBindingContext };
|
package/dist/snapshotCodeSeo.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { copySnapshotResource as e } from "./buildSnapshot.js";
|
|
2
|
-
|
|
2
|
+
// src/snapshotCodeSeo.ts
|
|
3
3
|
var t = () => {
|
|
4
4
|
throw Error("Invalid retained code SEO");
|
|
5
5
|
}, n = (e, t) => typeof e == "string" && e.length > 0 && e.length <= t && !/[\x00-\x1f\x7f]/.test(e), r = (r) => {
|
|
@@ -25,5 +25,4 @@ var t = () => {
|
|
|
25
25
|
alternates: o
|
|
26
26
|
} : t();
|
|
27
27
|
};
|
|
28
|
-
//#endregion
|
|
29
28
|
export { r as copySnapshotCodeSeo };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { renderCapturedFrontendComponent as e } from "./frontendBindings.js";
|
|
2
2
|
import { snapshotComponentSource as t } from "./snapshotComponentSource.js";
|
|
3
3
|
import { snapshotObserver as n, snapshotProjectedValue as r } from "./snapshotObservation.js";
|
|
4
|
-
|
|
4
|
+
// src/snapshotComponent.ts
|
|
5
5
|
var i = (i, a, o, s = "content") => {
|
|
6
6
|
let c = r(i, o), l = n(i), u = [...o];
|
|
7
7
|
if (typeof c != "object" || !c || Array.isArray(c)) throw Error("Snapshot component unavailable");
|
|
@@ -30,5 +30,4 @@ var i = (i, a, o, s = "content") => {
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
};
|
|
33
|
-
//#endregion
|
|
34
33
|
export { i as renderSnapshotComponent };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { snapshotReference as e } from "./snapshotReference.js";
|
|
2
2
|
import { snapshotLink as t } from "./snapshotLink.js";
|
|
3
3
|
import { copySnapshotContentIdentity as n } from "./snapshotContentIdentity.js";
|
|
4
|
-
|
|
4
|
+
// src/snapshotComponentSource.ts
|
|
5
5
|
var r = (r, i, a) => {
|
|
6
6
|
let o = Object.freeze([...i]), s = a.type === "component" ? a.id : a.instanceId;
|
|
7
7
|
return Object.freeze({
|
|
@@ -20,5 +20,4 @@ var r = (r, i, a) => {
|
|
|
20
20
|
])
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
|
-
//#endregion
|
|
24
23
|
export { r as snapshotComponentSource };
|
package/dist/snapshotConsumer.js
CHANGED
|
@@ -5,7 +5,7 @@ import { issueRenderReadGrant as i, verifyRenderReadRenewal as a } from "./rende
|
|
|
5
5
|
import { Schema as o } from "effect";
|
|
6
6
|
import { generateId as s } from "@voltro/database";
|
|
7
7
|
import { dataStoreApiKeyStore as c, makeApiKeyService as l } from "@voltro/runtime";
|
|
8
|
-
|
|
8
|
+
// src/snapshotConsumer.ts
|
|
9
9
|
var u = class extends o.TaggedError()("SnapshotConsumerUnavailable", { reason: o.Literals([
|
|
10
10
|
"configuration",
|
|
11
11
|
"credential",
|
|
@@ -83,5 +83,4 @@ var u = class extends o.TaggedError()("SnapshotConsumerUnavailable", { reason: o
|
|
|
83
83
|
snapshotDigest: O.digest
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
|
-
//#endregion
|
|
87
86
|
export { u as SnapshotConsumerUnavailable, p as copySnapshotConsumer, m as issueSnapshotReadGrant };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/snapshotContentIdentity.ts
|
|
2
2
|
var e = ({ contentType: e, documentId: t, variantId: n, revisionId: r, revision: i }) => ({
|
|
3
3
|
contentType: e,
|
|
4
4
|
documentId: t,
|
|
@@ -6,5 +6,4 @@ var e = ({ contentType: e, documentId: t, variantId: n, revisionId: r, revision:
|
|
|
6
6
|
revisionId: r,
|
|
7
7
|
revision: i
|
|
8
8
|
});
|
|
9
|
-
//#endregion
|
|
10
9
|
export { e as copySnapshotContentIdentity };
|
|
@@ -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/snapshotDefinitions.ts
|
|
6
6
|
var i = class extends t.TaggedError()("SnapshotDefinitionUnavailable", { reason: t.Literals([
|
|
7
7
|
"app",
|
|
8
8
|
"definition",
|
|
@@ -260,5 +260,4 @@ var i = class extends t.TaggedError()("SnapshotDefinitionUnavailable", { reason:
|
|
|
260
260
|
for (let n of x([], t, [e]).components.entries()) if (n.key === `component:${e.id}`) return n;
|
|
261
261
|
return a("definition");
|
|
262
262
|
};
|
|
263
|
-
//#endregion
|
|
264
263
|
export { i as SnapshotDefinitionUnavailable, c as copySnapshotAppCodePin, w as snapshotComponentDefinition, C as snapshotContentTypeDefinition, S as snapshotDefinitionSources };
|
|
@@ -6,7 +6,7 @@ import { copySnapshotPathSetSelection as a, readSnapshotPathSets as o } from "./
|
|
|
6
6
|
import { readSnapshotSeoDocuments as s } from "./snapshotSeoDocuments.js";
|
|
7
7
|
import { createHash as c } from "node:crypto";
|
|
8
8
|
import { canonicalJson as l } from "@voltro/runtime";
|
|
9
|
-
|
|
9
|
+
// src/snapshotDocumentAssembly.ts
|
|
10
10
|
var u = () => {
|
|
11
11
|
throw new i({ reason: "binding" });
|
|
12
12
|
}, d = (e) => c("sha256").update(l(e)).digest("hex"), f = (e) => typeof e == "string" && /^[a-f0-9]{64}$/.test(e), p = (e, t) => typeof e != "object" || !e || Array.isArray(e) || Object.keys(e).sort().join(",") !== t ? u() : e, m = (e, t) => Number.isSafeInteger(e) && Number(e) >= 0 && Number(e) <= t, h = 1e5, g = 67108864, _ = 8192, v = "voltro.cms-document-assembly/v1", y = (i) => {
|
|
@@ -189,5 +189,4 @@ var u = () => {
|
|
|
189
189
|
}
|
|
190
190
|
};
|
|
191
191
|
};
|
|
192
|
-
//#endregion
|
|
193
192
|
export { y as createSnapshotDocumentAssembly };
|
|
@@ -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/snapshotDocumentAssemblyRest.ts
|
|
6
6
|
var s = {
|
|
7
7
|
namespace: "cms.documentAssembly",
|
|
8
8
|
path: "/v1/cms/document-assemblies",
|
|
@@ -80,5 +80,4 @@ var s = {
|
|
|
80
80
|
httpRoutes: t(n)
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
|
-
//#endregion
|
|
84
83
|
export { p as cmsDocumentAssemblyRest };
|
|
@@ -8,7 +8,7 @@ import { readCapturedSnapshotConsentPurposes as s } from "./snapshotPresentation
|
|
|
8
8
|
import { SnapshotRouteReadUnavailable as c } from "./snapshotRouteAdmission.js";
|
|
9
9
|
import { createHash as l } from "node:crypto";
|
|
10
10
|
import { canonicalJson as u } from "@voltro/runtime";
|
|
11
|
-
|
|
11
|
+
// src/snapshotDocumentProjection.ts
|
|
12
12
|
var d = (e) => {
|
|
13
13
|
throw new c({ reason: e });
|
|
14
14
|
}, f = (e) => l("sha256").update(u(e)).digest("hex"), p = (e) => typeof e != "object" || !e || Array.isArray(e) ? d("definition") : e, m = (e) => typeof e == "string" && e.length > 0, h = (e, t) => Object.fromEntries(t.filter((t) => Object.hasOwn(e, t)).map((t) => [t, e[t]])), g = {
|
|
@@ -198,5 +198,4 @@ var d = (e) => {
|
|
|
198
198
|
presentation: w
|
|
199
199
|
};
|
|
200
200
|
};
|
|
201
|
-
//#endregion
|
|
202
201
|
export { _ as projectSnapshotDocument };
|
|
@@ -3,7 +3,7 @@ import { copySnapshotSeoDocumentsSelection as t } from "./snapshotSeoPathSets.js
|
|
|
3
3
|
import { readSnapshotSeoDocuments as n } from "./snapshotSeoDocuments.js";
|
|
4
4
|
import { createSnapshotOutputTransfer as r } from "./snapshotOutputTransfer.js";
|
|
5
5
|
import { canonicalJson as i } from "@voltro/protocol";
|
|
6
|
-
|
|
6
|
+
// src/snapshotDocumentTransfer.ts
|
|
7
7
|
var a = () => {
|
|
8
8
|
throw new e({ reason: "binding" });
|
|
9
9
|
}, o = (e) => {
|
|
@@ -31,5 +31,4 @@ var a = () => {
|
|
|
31
31
|
return i(b.inventory) !== i(_.inventory) || i(b.paths.selection) !== i(_.paths.selection) || i(b.paths.admission.context) !== i(_.paths.admission.context) ? a() : y;
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
|
-
//#endregion
|
|
35
34
|
export { o as createSnapshotDocumentTransfer };
|
|
@@ -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/snapshotDocumentTransferRest.ts
|
|
6
6
|
var s = (s) => {
|
|
7
7
|
let c = {
|
|
8
8
|
namespace: "cms.documentTransfer",
|
|
@@ -76,5 +76,4 @@ var s = (s) => {
|
|
|
76
76
|
httpRoutes: t(m)
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
-
//#endregion
|
|
80
79
|
export { s as cmsSnapshotDocumentTransferRest };
|
package/dist/snapshotDomains.js
CHANGED
|
@@ -5,7 +5,7 @@ import { verifyPublicationState as a } from "./publicationState.js";
|
|
|
5
5
|
import { copySnapshotResource as o } from "./buildSnapshot.js";
|
|
6
6
|
import { CMS_SITE_DOMAINS_TABLE as s } from "./domains.js";
|
|
7
7
|
import { and as c, eq as l, gt as u } from "@voltro/database";
|
|
8
|
-
|
|
8
|
+
// src/snapshotDomains.ts
|
|
9
9
|
var d = async (d, f, p = Date.now()) => {
|
|
10
10
|
let m = {
|
|
11
11
|
...t(f),
|
|
@@ -52,5 +52,4 @@ var d = async (d, f, p = Date.now()) => {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
//#endregion
|
|
56
55
|
export { d as snapshotDomainSource };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { verifyPublicationState as e } from "./publicationState.js";
|
|
2
2
|
import { copySnapshotResource as t } from "./buildSnapshot.js";
|
|
3
3
|
import { lockEnvironmentAlias as n } from "./environmentAliases.js";
|
|
4
|
-
|
|
4
|
+
// src/snapshotEnvironment.ts
|
|
5
5
|
var r = async (r, i, a, o, s = Date.now()) => {
|
|
6
6
|
let c = {
|
|
7
7
|
tenantId: i.tenantId,
|
|
@@ -27,5 +27,4 @@ var r = async (r, i, a, o, s = Date.now()) => {
|
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
//#endregion
|
|
31
30
|
export { r as snapshotEnvironmentSource };
|
|
@@ -3,7 +3,7 @@ import { pageSnapshotResources as t, readVerifiedSnapshotResource as n } from ".
|
|
|
3
3
|
import { copySnapshotRenditionRequirements as r } from "./snapshotRenditions.js";
|
|
4
4
|
import { SnapshotMediaUnavailable as i, compileSnapshotMediaFields as a } from "./snapshotMediaFields.js";
|
|
5
5
|
import { canonicalJson as o } from "@voltro/runtime";
|
|
6
|
-
|
|
6
|
+
// src/snapshotFieldPlan.ts
|
|
7
7
|
var s = (e) => {
|
|
8
8
|
throw new i({ reason: e });
|
|
9
9
|
}, c = async (i, c, l, u) => {
|
|
@@ -81,5 +81,4 @@ var s = (e) => {
|
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
|
-
//#endregion
|
|
85
84
|
export { c as readAdmittedSnapshotFieldPlan };
|