@voltro/cms 0.86.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 +5484 -0
- package/README.md +138 -0
- package/THIRD-PARTY-NOTICES.md +1511 -276
- package/dist/ContentForm.js +1 -2
- package/dist/RichDocumentEditor.js +1 -2
- package/dist/RichDocumentView.js +82 -38
- package/dist/RichTextSurface.js +1 -2
- package/dist/aiCandidates.js +4 -5
- package/dist/aiOperations.js +1 -2
- package/dist/applicationBuildSnapshotService.js +100 -0
- package/dist/assetRenditions.js +101 -0
- package/dist/assetRevision.js +45 -0
- package/dist/assetUseRights.js +71 -0
- package/dist/audiences.js +1 -2
- package/dist/availability.js +20 -18
- package/dist/blueprint.js +76 -77
- package/dist/build.d.ts +3063 -0
- package/dist/build.js +37 -0
- package/dist/buildApplicationAdmission.js +15 -0
- package/dist/buildApplicationCatalog.js +135 -0
- package/dist/buildApplicationCatalogTable.js +23 -0
- package/dist/buildApplicationRest.js +98 -0
- package/dist/buildApplicationUpload.js +110 -0
- package/dist/buildSnapshot.js +400 -0
- package/dist/buildSnapshotApplicationPin.js +31 -0
- package/dist/buildSnapshotRest.js +209 -0
- package/dist/buildSnapshotService.js +264 -0
- package/dist/buildSnapshotTables.js +24 -0
- package/dist/bulk.js +72 -72
- package/dist/cacheIdentity.js +1 -2
- package/dist/changes.js +280 -64
- package/dist/cmsContext.js +1 -2
- package/dist/collections.js +1 -2
- package/dist/consent.js +6 -7
- package/dist/contentLocations.js +52 -0
- package/dist/contentProjection.js +82 -0
- package/dist/contentRouteIdentity.js +12 -0
- package/dist/contentRouteMaterializer.js +96 -0
- package/dist/contentRouteTypes.js +38 -0
- package/dist/contentSeo.js +188 -0
- package/dist/contentTreePath.js +59 -0
- package/dist/contentType.js +121 -105
- package/dist/contentValues.js +17 -0
- package/dist/contentfulImport.js +1 -2
- package/dist/copies.js +4 -5
- package/dist/cutover.js +1 -2
- package/dist/deliveryChecks.js +1 -2
- package/dist/domainHost.js +6 -0
- package/dist/domains.js +82 -89
- package/dist/draftTexts.js +38 -39
- package/dist/duplicates.js +24 -25
- package/dist/edgePurge.js +1 -2
- package/dist/editHistory.js +1 -2
- package/dist/effectForm.js +1 -2
- package/dist/environmentAliases.js +137 -0
- package/dist/environments.js +108 -71
- package/dist/errors.js +55 -16
- package/dist/experiments.js +8 -9
- 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 +98 -0
- package/dist/frontendMedia.js +17 -0
- package/dist/glossary.js +1 -2
- package/dist/history.js +1 -2
- package/dist/htmlImport.js +1 -2
- package/dist/index.d.ts +760 -47
- package/dist/index.js +89 -73
- package/dist/initializePublicRoutes.js +27 -0
- package/dist/liveContentRouteView.js +75 -0
- 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 +204 -0
- package/dist/outputActivation.js +233 -0
- package/dist/outputActivationOrigin.js +50 -0
- package/dist/outputActivationStore.js +410 -0
- package/dist/outputActivationTables.js +10 -0
- package/dist/outputActivationTarget.js +80 -0
- package/dist/outputActivationTargetTable.js +24 -0
- package/dist/outputDeployment.js +173 -0
- package/dist/outputDeploymentRest.js +167 -0
- package/dist/outputDeploymentService.js +240 -0
- package/dist/outputRouteGraph.js +176 -0
- package/dist/outputSafetyArtifact.js +146 -0
- package/dist/outputTargetRest.js +61 -0
- package/dist/pathSegmentEncoding.js +3 -0
- package/dist/presenceAnchors.js +1 -2
- package/dist/preview.js +1 -2
- package/dist/privateCmsTransport.js +75 -0
- package/dist/privateNativeRouteReservation.js +9 -0
- package/dist/promotion.js +69 -61
- package/dist/publicBuild.js +89 -0
- package/dist/publicBuildRest.js +97 -0
- package/dist/publicBuildService.js +62 -0
- package/dist/publicOutputHttp.js +128 -0
- package/dist/publicOutputService.js +286 -0
- package/dist/publicPresentation.js +16 -0
- package/dist/publicRouteDispositionAdmission.js +37 -0
- package/dist/publicRouteHistoryStore.js +11 -0
- package/dist/publicRouteHistoryView.js +33 -0
- package/dist/publicRouteIntegrity.js +4 -0
- package/dist/publicRouteMutation.js +5 -0
- package/dist/publicRouteNamespace.js +133 -0
- package/dist/publicRoutePublication.js +35 -0
- package/dist/publicRouteRegistry.js +16 -0
- package/dist/publicRouteRegistryBinding.js +193 -0
- package/dist/publicRouteRegistryDefinition.js +75 -0
- package/dist/publicRouteSitePublication.js +39 -0
- package/dist/publicRouteTables.js +12 -0
- package/dist/publicRouteUrl.js +17 -0
- package/dist/publicationSeo.js +51 -0
- package/dist/publicationState.js +295 -0
- package/dist/quality.js +9 -10
- package/dist/reconfigurePublicRoutes.js +40 -0
- package/dist/recurrence.js +1 -2
- package/dist/redirects.js +105 -75
- package/dist/referenceGraph.js +16 -16
- package/dist/references.js +3 -4
- package/dist/release.js +178 -143
- package/dist/renderReadAuthority.js +42 -0
- package/dist/renderReadGrant.js +136 -0
- package/dist/rest.js +1 -2
- package/dist/review.js +29 -30
- package/dist/richDocument.js +56 -27
- package/dist/richInline.js +1 -2
- package/dist/routeDispositionGraph.js +43 -0
- package/dist/routeDispositionRest.js +50 -0
- package/dist/routeDispositionService.js +72 -0
- package/dist/routeDispositionStore.js +288 -0
- package/dist/routeDispositionTables.js +4 -0
- package/dist/routeDispositions.js +90 -0
- package/dist/routeHistoryStorage.js +319 -0
- package/dist/routeHistoryStore.js +11 -0
- package/dist/schedule.js +37 -38
- package/dist/search.js +1 -2
- package/dist/selectionIntent.js +1 -2
- package/dist/seo.js +2 -3
- package/dist/series.js +12 -13
- package/dist/share.js +14 -15
- package/dist/siteBindings.js +158 -0
- package/dist/siteBuildCandidate.js +103 -0
- package/dist/siteDelivery.js +114 -0
- package/dist/siteState.js +46 -0
- package/dist/snapshotAddressGraph.js +54 -0
- package/dist/snapshotAddressRead.js +72 -0
- package/dist/snapshotAppConsumer.js +70 -0
- package/dist/snapshotAppExecution.js +101 -0
- package/dist/snapshotApplication.js +74 -0
- package/dist/snapshotApprovedRouteDispositions.js +43 -0
- package/dist/snapshotAssetAssembly.js +69 -0
- package/dist/snapshotAssetAssemblyRest.js +49 -0
- package/dist/snapshotBindingRead.js +60 -0
- package/dist/snapshotCodeSeo.js +28 -0
- package/dist/snapshotComponent.js +33 -0
- package/dist/snapshotComponentSource.js +23 -0
- package/dist/snapshotConsumer.js +86 -0
- package/dist/snapshotContentIdentity.js +9 -0
- package/dist/snapshotDefinitions.js +263 -0
- package/dist/snapshotDocumentAssembly.js +192 -0
- package/dist/snapshotDocumentAssemblyRest.js +83 -0
- package/dist/snapshotDocumentProjection.js +201 -0
- package/dist/snapshotDocumentTransfer.js +34 -0
- package/dist/snapshotDocumentTransferRest.js +79 -0
- package/dist/snapshotDomains.js +55 -0
- package/dist/snapshotEnvironment.js +30 -0
- package/dist/snapshotFieldPlan.js +84 -0
- package/dist/snapshotFrontend.js +102 -0
- package/dist/snapshotLink.js +7 -0
- package/dist/snapshotMedia.js +110 -0
- package/dist/snapshotMediaCapture.js +245 -0
- package/dist/snapshotMediaFields.js +224 -0
- package/dist/snapshotMediaRead.js +184 -0
- package/dist/snapshotMediaReader.js +12 -0
- package/dist/snapshotObservation.js +15 -0
- package/dist/snapshotObservedRouteHistory.js +33 -0
- package/dist/snapshotOutputTransfer.js +77 -0
- package/dist/snapshotPageLoader.js +6 -0
- package/dist/snapshotPageSeo.js +58 -0
- package/dist/snapshotPathLocale.js +14 -0
- package/dist/snapshotPresentation.js +85 -0
- package/dist/snapshotPresentationPolicy.js +11 -0
- package/dist/snapshotProjection.js +118 -0
- package/dist/snapshotPublicAccess.js +160 -0
- package/dist/snapshotPublicRouteHistory.js +39 -0
- package/dist/snapshotReadAdmission.js +37 -0
- package/dist/snapshotRedirectOutput.js +150 -0
- package/dist/snapshotRedirectTargets.js +23 -0
- package/dist/snapshotRedirects.js +131 -0
- package/dist/snapshotReference.js +7 -0
- package/dist/snapshotReferenceAddress.js +9 -0
- package/dist/snapshotReferenceGraph.js +78 -0
- package/dist/snapshotReferenceRead.js +64 -0
- package/dist/snapshotRelease.js +98 -0
- package/dist/snapshotRender.js +360 -0
- package/dist/snapshotRenderDependencies.js +177 -0
- package/dist/snapshotRenditions.js +87 -0
- package/dist/snapshotRichDocument.js +61 -0
- package/dist/snapshotRoleTransfer.js +105 -0
- package/dist/snapshotRoleTransferRest.js +98 -0
- package/dist/snapshotRouteAdmission.js +70 -0
- package/dist/snapshotRouteDispatch.js +110 -0
- package/dist/snapshotRouteDispositionPlan.js +72 -0
- package/dist/snapshotRouteRead.js +42 -0
- package/dist/snapshotRoutes.js +78 -0
- package/dist/snapshotRouting.js +112 -0
- package/dist/snapshotSeo.js +178 -0
- package/dist/snapshotSeoControls.js +100 -0
- package/dist/snapshotSeoDocumentInventory.js +114 -0
- package/dist/snapshotSeoDocuments.js +128 -0
- package/dist/snapshotSeoMerge.js +84 -0
- package/dist/snapshotSeoMetadata.js +136 -0
- package/dist/snapshotSeoOutput.js +172 -0
- package/dist/snapshotSeoPathSets.js +104 -0
- package/dist/snapshotSeoRead.js +87 -0
- package/dist/snapshotSite.js +127 -0
- package/dist/snapshotSitemapFiles.js +35 -0
- package/dist/snapshotTreeDependencies.js +57 -0
- package/dist/snapshotTreeLoader.js +9 -0
- package/dist/snapshotTreeRead.js +157 -0
- package/dist/staticPathSet.js +176 -0
- package/dist/staticPathSetRest.js +128 -0
- package/dist/staticPathSetService.js +248 -0
- package/dist/staticPathSetStore.js +337 -0
- 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 +10 -11
- package/dist/usage.js +1 -2
- package/dist/validation.js +54 -55
- package/dist/visualEditing.js +1 -2
- package/dist/web.d.ts +709 -7
- package/dist/web.js +50 -33
- package/dist/workflow.js +9 -10
- package/dist/write.js +251 -227
- package/dist/xliff.js +1 -2
- package/package.json +21 -7
package/dist/index.js
CHANGED
|
@@ -1,73 +1,89 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
export { Qn as AI_OUTCOMES, di as BlueprintInvalid, pr as CMS_AI_CANDIDATES_TABLE, $n as CMS_AI_OPERATIONS_TABLE, er as CMS_AI_SETTINGS_TABLE, Ft as CMS_AVAILABILITY_TABLE, Ri as CMS_BULK_RUNS_TABLE, gn as CMS_CHANGES_TABLE, ra as CMS_COLLECTIONS_TABLE, ia as CMS_COLLECTION_ITEMS_TABLE, aa as CMS_COLLECTION_PORTALS_TABLE, Dr as CMS_COPIES_TABLE, ja as CMS_CUTOVER_DECISIONS_TABLE, Ma as CMS_CUTOVER_ISSUES_TABLE, Kn as CMS_DELIVERY_CHECKS_TABLE, Kt as CMS_DRAFT_TEXTS_TABLE, Gr as CMS_EXPERIMENTS_TABLE, Kr as CMS_EXPERIMENT_EVENTS_TABLE, ns as CMS_EXTENSIONS_TABLE, rs as CMS_EXTENSION_DATA_TABLE, is as CMS_EXTENSION_SECRETS_TABLE, Ss as CMS_GLOSSARY_TABLE, xa as CMS_MIGRATION_RECORDS_TABLE, Sa as CMS_MIGRATION_STAGES_TABLE, Ce as CMS_PATHS_TABLE, Wa as CMS_PREVIEW_SHARES_TABLE, Eo as CMS_PUBLISH_SERIES_TABLE, Et as CMS_QUALITY_EXCEPTIONS_TABLE, we as CMS_REDIRECTS_TABLE, Ne as CMS_REFERENCES_TABLE, kn as CMS_RELEASES_TABLE, An as CMS_RELEASE_ITEMS_TABLE, gt as CMS_REVIEWS_TABLE, me as CMS_REVISIONS_TABLE, he as CMS_SCOPE_COLUMNS, O as CMS_SEARCH_TABLE, Ji as CMS_SITE_DOMAINS_TABLE, ln as CMS_STEWARDSHIP_TABLE, nt as CMS_TEAM_INVITATIONS_TABLE, rt as CMS_TEAM_TABLE, Ue as CMS_WORKFLOW_DECISIONS_TABLE, We as CMS_WORKFLOW_INSTANCES_TABLE, Ii as CONTENT_FORM_STRINGS, ge as CONTENT_STATUSES, yo as ContentForm, R as ContentGone, z as ContentIdConflict, B as ContentNotFound, V as ContentValidationFailed, Mo as EMPTY_EDIT_HISTORY, qo as EXTENSION_SLOTS, Jo as ExtensionAccessDenied, Yo as ExtensionManifestSchema, Dt as MAX_EXCEPTION_DAYS, m as MAX_LIST_LEVEL, xo as MAX_OCCURRENCES, oa as MAX_PORTAL_DAYS, Ga as MAX_PREVIEW_SHARE_DAYS, Na as MAX_ROLLBACK_DAYS, ba as MIGRATION_STAGES, qr as MIN_READERS, H as PreviewShareRejected, U as QuotaExceeded, jn as RELEASE_STATUSES, _t as REVIEW_ACTIONS, W as ReferenceUnavailable, G as ReleaseNotEditable, K as ReviewRequired, q as ReviewStepRefused, J as RevisionMismatch, vo as RichDocumentEditor, ho as RichDocumentView, go as RichTextSurface, e as Schema, Lo as VISUAL_EDITING_PROTOCOL, Oi as XliffInvalid, Yi as addDomain, Te as addRedirect, sa as addToCollection, Mn as addToRelease, mr as adoptCandidate, Jr as adoptWinner, Do as advanceSeries, tr as aiBudgetLeft, nr as aiOperationsFor, rr as aiSettings, ir as aiTokensUsed, vi as alternatesOf, fi as applyBlueprint, it as applyBlueprintTeam, ce as applyDerivations, Za as applySelection, ki as applyTranslation, Yr as applyVariant, vt as approveReview, Ge as approvedByWorkflow, xn as archive, yt as assertApproved, It as assertReferencesAvailable, Xr as assignVariant, Mr as attributeToRevisions, as as bindExtensionSecret, ne as blockHasChanges, h as blockMarkup, pi as blueprintRef, be as buildTree, zi as bulkRunState, Oo as cancelSeries, hr as candidateUnits, gr as candidatesFor, qt as changedApartFromShared, Vt as changedFields, xi as checkConsentPurposes, u as checkTemplates, _r as cmsAiCandidatesTable, ar as cmsAiOperationsTable, or as cmsAiSettingsTable, Lt as cmsAvailabilityTable, Bi as cmsBulkRunsTable, _n as cmsChangesTable, ca as cmsCollectionItemsTable, la as cmsCollectionPortalsTable, ua as cmsCollectionsTable, Be as cmsContext, Or as cmsCopiesTable, Pa as cmsCutoverDecisionsTable, Fa as cmsCutoverIssuesTable, qn as cmsDeliveryChecksTable, Jt as cmsDraftTextsTable, Zr as cmsExperimentEventsTable, Qr as cmsExperimentsTable, os as cmsExtensionDataTable, ss as cmsExtensionSecretsTable, cs as cmsExtensionsTable, Cs as cmsGlossaryTable, Ca as cmsMigrationRecordsTable, wa as cmsMigrationStagesTable, Ee as cmsPathsTable, Ka as cmsPreviewSharesTable, ko as cmsPublishSeriesTable, Ot as cmsQualityExceptionsTable, De as cmsRedirectsTable, Pe as cmsReferencesTable, Nn as cmsReleaseItemsTable, Pn as cmsReleasesTable, bt as cmsReviewsTable, _e as cmsRevisionsTable, k as cmsSearchTable, Xi as cmsSiteDomainsTable, un as cmsStewardshipTable, at as cmsTeamInvitationsTable, ot as cmsTeamTable, Ke as cmsWorkflowDecisionsTable, qe as cmsWorkflowInstancesTable, Yt as collaborativeFields, da as collectionItems, fa as collectionPortals, gi as compareEnvironments, Xo as compareVersions, to as compileCacheIdentity, le as componentExampleViolations, t as componentFingerprint, br as componentsOf, Si as consentContentSecurityPolicy, ls as consentToUpgrade, Ci as consentedOrigins, g as contactLiteralHref, _ as contactLiteralProblem, Li as contentFormStrings, dn as contentHealth, ve as contentTypeToEntities, Lr as contentUsage, ue as contentViolations, Vi as continueBulkRun, no as contractVariants, kr as copiesOf, Ar as copyDocument, _i as copyEnvironment, jr as copyOrigin, Ve as createCmsClient, pa as createCollection, ma as createPortal, qa as createPreviewShare, Fn as createRelease, Ia as cutoverAdoption, La as cutoverDecisions, Ra as cutoverIssues, za as cutoverPlanProblem, Ba as decideCutover, kt as decideQualityException, Je as decideStep, Hr as decodeEntities, Qa as decodeSelectionIntent, Rr as defineAudience, mi as defineBlueprint, n as defineComponent, ye as defineContentType, r as defineDesignTokens, Nr as defineMetric, Ye as defineReviewWorkflow, i as defineRichTextProfile, Xe as delegateStep, Jn as deliveryChecks, a as derivedFrom, No as describeEdit, In as describeFailure, Ht as diffWords, vr as discardCandidate, xr as documentGraph, re as documentHasChanges, Sr as draftUses, A as dropFromSearch, Ki as duplicateGroups, ro as edgeHeaders, ao as edgePurgeRequests, Di as effectiveExposure, xe as effectiveInheritance, v as emptyRichDocument, $a as encodeSelectionIntent, Va as evaluateCutover, $r as experimentById, ei as experimentFields, ti as experimentLineage, ni as experimentOverrideKeys, ri as experimentReleaseHook, ii as experimentResults, Rt as expiringAmong, us as extensionSandbox, ds as extensionSecret, fs as extensionSettings, Ut as fieldDiffs, Wt as fieldVersions, Ro as formPartOf, wi as gateConsent, ws as glossary, Ts as glossaryInputProblems, Es as glossaryProblems, Ti as grantedPurposes, Oe as hadAddress, mo as handleCmsRest, Y as hasMark, j as indexForSearch, Se as inheritedValue, X as inlineFromDom, Z as inlineHtml, y as inlineMarkupOf, Q as inlineText, ps as installExtension, ms as installedExtension, hs as installedExtensions, st as inviteToTeam, ct as invitedRole, Zo as isExtensionCapability, So as isKnownZone, zr as languagesOf, Ze as latestWorkflow, ha as listCollections, ai as listExperiments, b as listNumberedAt, Ja as listPreviewShares, ke as listRedirects, Ln as listReleaseItems, Rn as listReleases, Sn as listRevisions, Xt as liveDraftTexts, Qo as manifestProblems, Ai as matchUnits, Br as matchesAudience, o as maxLength, uo as mediaFields, $ as mergeInline, Pr as metricVersionDrift, Ta as migrationLedger, Ea as migrationStages, sr as monthStart, zo as moveEntry, Zt as movedTogether, x as newBlockId, $o as newCapabilities, Bo as newVisualNonce, Zi as normalizeHost, S as normalizeRichDocument, I as normalizeTerms, Co as occurrencesOf, Qt as openDraftTexts, Qe as overdueSteps, C as parseInlineMarkup, As as parsePresenceAnchor, eo as parseSelectionIntent, Vo as parseSourcePath, ji as parseXliff, Da as passStage, s as pattern, ie as pendingChanges, Vr as pickVariant, zn as pinReleaseInheritance, w as plainTextOf, hi as planBlueprint, lt as planBlueprintTeam, Hi as planBulk, oi as planExperiment, Fr as planPromotion, Cr as planReferenceReplacement, js as presenceAnchorOf, Re as previewToken, Qi as primaryDomain, Ir as promote, cr as promptHash, yr as proposeCandidate, Cn as publish, oo as publishDue, Bn as publishDueReleases, Vn as publishRelease, wn as publishRevision, de as publishViolations, Ei as purposesUsedBy, At as qualityExceptions, jt as qualityFindings, Mt as qualityViolations, vn as readChanges, $t as readDraftTexts, Ho as readEditorMessage, Uo as readPreviewMessage, en as rebaseDraftTexts, Fe as rebuildReferenceIndex, M as rebuildSearch, fn as recertify, lr as recordAiOperation, yn as recordChange, Ha as recordCutoverIssues, Po as recordEdit, si as recordExperimentEvent, Oa as recordMigrationRecords, Ae as recordPaths, ga as recordPortalDownload, wo as recurrenceProblems, je as redirectTarget, Fo as redoEdit, Ie as referencesOf, gs as regrantExtension, Yn as releaseCheckpoint, Hn as releaseStatusOf, $i as removeDomain, _a as removeFromCollection, Ds as removeGlossaryTerm, Me as removeRedirect, ka as reopenStage, wr as replaceReferences, ee as replaceText, xt as requestChanges, Xn as requestDeliveryCheck, Nt as requestQualityException, St as requestReview, ae as resolveChanges, Ua as resolveCutoverIssue, po as resolveMedia, fo as resolveMediaAll, va as resolvePortal, Ya as resolvePreviewShare, Tn as restoreRevision, qi as retireDuplicate, Un as retryRelease, En as revalidateContent, Ct as reviewLog, wt as reviewRequiredFor, Tt as reviewStatus, bn as revisionTimeline, Tr as revisionsReferencing, _s as revokeExtension, ya as revokePortal, Xa as revokePreviewShare, tn as richBlockOfKey, nn as richBlockTextKey, Wr as richDocumentFromContentful, Ur as richDocumentFromHtml, T as richDocumentProblems, E as richDocumentReferences, vs as rollbackExtension, Wn as rollbackRelease, Pt as ruleApplies, Ui as runBulk, Zn as runDeliveryChecks, ci as runningExperiment, Dn as saveDraft, so as schedulePublish, Gn as scheduleRelease, Ao as scheduleSeries, co as scheduleUnpublish, N as searchContent, P as searchTextOf, jo as seriesOf, ur as setAiBudget, dr as setAiSettings, ys as setExtensionSettings, Os as setGlossaryTerm, pn as setOwner, ea as setPrimaryDomain, ut as setReviewRequired, Aa as setStageOwner, es as settingsProblems, ts as settingsWithDefaults, fr as settleAiOperation, io as sharedCacheable, rn as sharedRichBlocks, ta as siteDomains, yi as sitemapUrls, bi as sitemapXml, c as slugify, F as snippetOf, Wo as sourceAttributes, Go as sourcePathOf, fe as staleComponents, Wi as startBulkRun, li as startExperiment, mn as startStewardship, $e as startWorkflow, hn as stewardshipOf, ui as stopExperiment, et as suggestOnStep, L as taxonomyValue, dt as teamDefaultRole, ft as teamInvitations, pt as teamProblems, d as templateOf, f as templateValues, p as templateViolations, ks as termsIn, _o as textSelectionIn, Mi as toXliff, te as toggleMark, oe as trackChanges, se as trackInline, Ni as translationLosses, sn as translationStatus, cn as translationStatuses, Pi as translationUnits, an as typeDraftText, zt as unavailableAmong, Io as undoEdit, Gi as unfinishedBulkRuns, bs as uninstallExtension, l as unique, Fi as unitsHash, On as unpublish, lo as unpublishDue, xs as upgradeExtension, He as useCms, Le as usedBy, pe as validateContent, Gt as valueText, na as verifyDomain, ze as verifyPreviewToken, Ko as visualMessage, bo as widgetFor, D as withBlockMarkup, Er as withReferenceAt, on as withSharedBlocks, mt as withdrawInvitation, tt as workflowState, ht as workspaceReviewTypes, Bt as writeAvailability, To as zonedInstant };
|
|
1
|
+
import { PublicRouteRegistryUnavailable as e } from "./publicRouteRegistry.js";
|
|
2
|
+
import { Schema as t, componentFingerprint as n, defineComponent as r, defineDesignTokens as i, defineRichTextProfile as a, derivedFrom as o, maxLength as s, pattern as c, slugify as l, unique as u } from "./fieldSchema.js";
|
|
3
|
+
import { ChangeFeedUnavailable as d, ContentGone as f, ContentIdConflict as p, ContentLocationUnavailable as m, ContentNotFound as h, ContentSeoUnavailable as g, ContentValidationFailed as _, EnvironmentAliasUnavailable as v, PreviewShareRejected as y, QuotaExceeded as b, ReferenceUnavailable as x, ReleaseNotEditable as S, ReviewRequired as C, ReviewStepRefused as w, RevisionMismatch as T, SiteBindingUnavailable as E, SiteDeliveryUnavailable as D, SiteStateUnavailable as O } from "./errors.js";
|
|
4
|
+
import { defineContentSeo as k, defineContentSeoDefaults as A, resolveContentSeo as j } from "./contentSeo.js";
|
|
5
|
+
import { compileSiteDelivery as M, defineSiteDelivery as N } from "./siteDelivery.js";
|
|
6
|
+
import { resolveScopedContentSeo as P } from "./publicationSeo.js";
|
|
7
|
+
import { checkTemplates as F, templateOf as I, templateValues as L, templateViolations as R } from "./templates.js";
|
|
8
|
+
import { MAX_LIST_LEVEL as z, blockMarkup as B, contactLiteralHref as V, contactLiteralProblem as H, emptyRichDocument as U, inlineMarkupOf as W, listNumberedAt as G, newBlockId as K, normalizeRichDocument as q, parseInlineMarkup as J, plainTextOf as Y, richDocumentProblems as X, richDocumentReferences as Z, withBlockMarkup as Q } from "./richDocument.js";
|
|
9
|
+
import { CMS_SEARCH_TABLE as $, cmsSearchTable as ee, dropFromSearchEffect as te, indexForSearchEffect as ne, rebuildSearchEffect as re, searchContentEffect as ie, searchTextOf as ae, snippetOf as oe } from "./search.js";
|
|
10
|
+
import { normalizeTerms as se, taxonomyValue as ce } from "./taxonomy.js";
|
|
11
|
+
import { hasMark as le, inlineFromDom as ue, inlineHtml as de, inlineText as fe, mergeInline as pe, replaceText as me, toggleMark as he } from "./richInline.js";
|
|
12
|
+
import { blockHasChanges as ge, documentHasChanges as _e, pendingChanges as ve, resolveChanges as ye, trackChanges as be, trackInline as xe } from "./trackChanges.js";
|
|
13
|
+
import { applyDerivations as Se, componentExampleViolations as Ce, contentViolations as we, publishViolations as Te, staleComponents as Ee, validateContent as De } from "./validation.js";
|
|
14
|
+
import { defineContentLocations as Oe, resolveContentLocation as ke } from "./contentLocations.js";
|
|
15
|
+
import { CMS_REVISIONS_TABLE as Ae, CMS_SCOPE_COLUMNS as je, CONTENT_STATUSES as Me, cmsRevisionsTable as Ne, contentTypeToEntities as Pe, defineContentType as Fe } from "./contentType.js";
|
|
16
|
+
import { buildTree as Ie, effectiveInheritance as Le, inheritedValue as Re } from "./tree.js";
|
|
17
|
+
import { CMS_SITE_STATE_HEADS_TABLE as ze, cmsSiteStateHeadsTable as Be } from "./siteState.js";
|
|
18
|
+
import { CMS_CHANGES_TABLE as Ve, CMS_CHANGE_HEADS_TABLE as He, cmsChangeHeadsTable as Ue, cmsChangesTable as We, initializeChangeFeedEffect as Ge, readChangeCheckpointEffect as Ke, readChangesEffect as qe, readRecentChangesEffect as Je, reconcileArchivedPublicationsEffect as Ye, recordChangeEffect as Xe, revisionTimelineEffect as Ze } from "./changes.js";
|
|
19
|
+
import { CMS_PATHS_TABLE as Qe, CMS_REDIRECTS_TABLE as $e, addRedirectEffect as et, cmsPathsTable as tt, cmsRedirectsTable as nt, hadAddressEffect as rt, listRedirectsEffect as it, recordPathsEffect as at, redirectTargetEffect as ot, removeRedirectEffect as st } from "./redirects.js";
|
|
20
|
+
import { CMS_REFERENCES_TABLE as ct, cmsReferencesTable as lt, rebuildReferenceIndexEffect as ut, referencesOf as dt, usedByEffect as ft } from "./references.js";
|
|
21
|
+
import { previewToken as pt, verifyPreviewToken as mt } from "./preview.js";
|
|
22
|
+
import { cmsContext as ht, createCmsClient as gt, useCms as _t } from "./cmsContext.js";
|
|
23
|
+
import { CMS_WORKFLOW_DECISIONS_TABLE as vt, CMS_WORKFLOW_INSTANCES_TABLE as yt, approvedByWorkflowEffect as bt, cmsWorkflowDecisionsTable as xt, cmsWorkflowInstancesTable as St, decideStepEffect as Ct, defineReviewWorkflow as wt, delegateStepEffect as Tt, latestWorkflowEffect as Et, overdueStepsEffect as Dt, startWorkflowEffect as Ot, suggestOnStepEffect as kt, workflowStateEffect as At } from "./workflow.js";
|
|
24
|
+
import { normalizeHost as jt } from "./domainHost.js";
|
|
25
|
+
import { CMS_SITE_DOMAINS_TABLE as Mt, addDomainEffect as Nt, cmsSiteDomainsTable as Pt, primaryDomainEffect as Ft, removeDomainEffect as It, setPrimaryDomainEffect as Lt, siteDomainsEffect as Rt, verifyDomainEffect as zt } from "./domains.js";
|
|
26
|
+
import { CMS_TEAM_INVITATIONS_TABLE as Bt, CMS_TEAM_TABLE as Vt, applyBlueprintTeamEffect as Ht, cmsTeamInvitationsTable as Ut, cmsTeamTable as Wt, inviteToTeamEffect as Gt, invitedRoleEffect as Kt, planBlueprintTeamEffect as qt, setReviewRequiredEffect as Jt, teamDefaultRoleEffect as Yt, teamInvitationsEffect as Xt, teamProblems as Zt, withdrawInvitationEffect as Qt, workspaceReviewTypesEffect as $t } from "./team.js";
|
|
27
|
+
import { CMS_REVIEWS_TABLE as en, REVIEW_ACTIONS as tn, approveReviewEffect as nn, assertApprovedEffect as rn, cmsReviewsTable as an, requestChangesEffect as on, requestReviewEffect as sn, reviewLogEffect as cn, reviewRequiredForEffect as ln, reviewStatusEffect as un } from "./review.js";
|
|
28
|
+
import { CMS_QUALITY_EXCEPTIONS_TABLE as dn, MAX_EXCEPTION_DAYS as fn, cmsQualityExceptionsTable as pn, decideQualityExceptionEffect as mn, qualityExceptionsEffect as hn, qualityFindings as gn, qualityViolationsEffect as _n, requestQualityExceptionEffect as vn, ruleApplies as yn } from "./quality.js";
|
|
29
|
+
import { CMS_AVAILABILITY_TABLE as bn, assertReferencesAvailableEffect as xn, cmsAvailabilityTable as Sn, expiringAmongEffect as Cn, unavailableAmongEffect as wn, writeAvailabilityEffect as Tn } from "./availability.js";
|
|
30
|
+
import { changedFields as En, diffWords as Dn, fieldDiffs as On, fieldVersions as kn, valueText as An } from "./history.js";
|
|
31
|
+
import { CMS_DRAFT_TEXTS_TABLE as jn, changedApartFromShared as Mn, cmsDraftTextsTable as Nn, collaborativeFields as Pn, liveDraftTextsEffect as Fn, movedTogether as In, openDraftTextsEffect as Ln, readDraftTextsEffect as Rn, rebaseDraftTextsEffect as zn, richBlockOfKey as Bn, richBlockTextKey as Vn, sharedRichBlocks as Hn, typeDraftTextEffect as Un, withSharedBlocks as Wn } from "./draftTexts.js";
|
|
32
|
+
import { translationStatusEffect as Gn, translationStatusesEffect as Kn } from "./translation.js";
|
|
33
|
+
import { CMS_STEWARDSHIP_TABLE as qn, cmsStewardshipTable as Jn, contentHealthEffect as Yn, recertifyEffect as Xn, setOwnerEffect as Zn, startStewardshipEffect as Qn, stewardshipOfEffect as $n } from "./stewardship.js";
|
|
34
|
+
import { archiveEffect as er, listRevisionsEffect as tr, publishEffect as nr, publishRevisionEffect as rr, restoreRevisionEffect as ir, revalidateContent as ar, saveDraftEffect as or, unpublishEffect as sr } from "./write.js";
|
|
35
|
+
import { CMS_RELEASES_TABLE as cr, CMS_RELEASE_ITEMS_TABLE as lr, RELEASE_STATUSES as ur, addToReleaseEffect as dr, cmsReleaseItemsTable as fr, cmsReleasesTable as pr, createReleaseEffect as mr, describeFailure as hr, listReleaseItemsEffect as gr, listReleasesEffect as _r, pinReleaseInheritanceEffect as vr, publishDueReleasesEffect as yr, publishReleaseEffect as br, releaseStatusOfEffect as xr, retryReleaseEffect as Sr, rollbackReleaseEffect as Cr, scheduleReleaseEffect as wr } from "./release.js";
|
|
36
|
+
import { CMS_DELIVERY_CHECKS_TABLE as Tr, cmsDeliveryChecksTable as Er, deliveryChecksEffect as Dr, releaseCheckpointEffect as Or, requestDeliveryCheckEffect as kr, runDeliveryChecksEffect as Ar } from "./deliveryChecks.js";
|
|
37
|
+
import { AI_OUTCOMES as jr, CMS_AI_OPERATIONS_TABLE as Mr, CMS_AI_SETTINGS_TABLE as Nr, aiBudgetLeftEffect as Pr, aiOperationsForEffect as Fr, aiSettingsEffect as Ir, aiTokensUsedEffect as Lr, cmsAiOperationsTable as Rr, cmsAiSettingsTable as zr, monthStart as Br, promptHash as Vr, recordAiOperationEffect as Hr, setAiBudgetEffect as Ur, setAiSettingsEffect as Wr, settleAiOperationEffect as Gr } from "./aiOperations.js";
|
|
38
|
+
import { CMS_AI_CANDIDATES_TABLE as Kr, adoptCandidateEffect as qr, candidateUnits as Jr, candidatesForEffect as Yr, cmsAiCandidatesTable as Xr, discardCandidateEffect as Zr, proposeCandidateEffect as Qr } from "./aiCandidates.js";
|
|
39
|
+
import { componentsOf as $r, documentGraphEffect as ei, draftUsesEffect as ti, planReferenceReplacementEffect as ni, replaceReferencesEffect as ri, revisionsReferencingEffect as ii, withReferenceAt as ai } from "./referenceGraph.js";
|
|
40
|
+
import { CMS_COPIES_TABLE as oi, cmsCopiesTable as si, copiesOfEffect as ci, copyDocumentEffect as li, copyOriginEffect as ui } from "./copies.js";
|
|
41
|
+
import { attributeToRevisions as di, defineMetric as fi, metricVersionDrift as pi } from "./metrics.js";
|
|
42
|
+
import { compareEnvironmentsEffect as mi, copyEnvironmentEffect as hi } from "./environments.js";
|
|
43
|
+
import { planPromotionEffect as gi, promoteEffect as _i } from "./promotion.js";
|
|
44
|
+
import { contentUsageEffect as vi } from "./usage.js";
|
|
45
|
+
import { defineAudience as yi, languagesOf as bi, matchesAudience as xi, pickVariant as Si } from "./audiences.js";
|
|
46
|
+
import { decodeEntities as Ci, richDocumentFromHtml as wi } from "./htmlImport.js";
|
|
47
|
+
import { richDocumentFromContentful as Ti } from "./contentfulImport.js";
|
|
48
|
+
import { CMS_EXPERIMENTS_TABLE as Ei, CMS_EXPERIMENT_EVENTS_TABLE as Di, MIN_READERS as Oi, adoptWinnerEffect as ki, applyVariant as Ai, assignVariant as ji, cmsExperimentEventsTable as Mi, cmsExperimentsTable as Ni, experimentByIdEffect as Pi, experimentFields as Fi, experimentLineageEffect as Ii, experimentOverrideKeys as Li, experimentReleaseHook as Ri, experimentResultsEffect as zi, listExperimentsEffect as Bi, planExperimentEffect as Vi, recordExperimentEventEffect as Hi, runningExperimentEffect as Ui, startExperimentEffect as Wi, stopExperimentEffect as Gi } from "./experiments.js";
|
|
49
|
+
import { BlueprintInvalid as Ki, applyBlueprintEffect as qi, blueprintRef as Ji, defineBlueprint as Yi, planBlueprintEffect as Xi } from "./blueprint.js";
|
|
50
|
+
import { CMS_ENVIRONMENT_ALIASES_TABLE as Zi, CMS_ENVIRONMENT_ALIAS_REVISIONS_TABLE as Qi, cmsEnvironmentAliasRevisionsTable as $i, cmsEnvironmentAliasesTable as ea, createEnvironmentAliasEffect as ta, environmentAliasRevisionEffect as na, resolveEnvironmentAliasEffect as ra, rollbackEnvironmentAliasEffect as ia, swapEnvironmentAliasEffect as aa } from "./environmentAliases.js";
|
|
51
|
+
import { alternatesOf as oa, sitemapUrls as sa, sitemapXml as ca } from "./seo.js";
|
|
52
|
+
import { checkConsentPurposes as la, consentContentSecurityPolicy as ua, consentDecisionComplete as da, consentedOrigins as fa, gateConsent as pa, grantedPurposes as ma, purposesUsedBy as ha } from "./consent.js";
|
|
53
|
+
import { effectiveExposure as ga } from "./exposure.js";
|
|
54
|
+
import { XliffInvalid as _a, applyTranslation as va, matchUnits as ya, parseXliff as ba, toXliff as xa, translationLosses as Sa, translationUnits as Ca, unitsHash as wa } from "./xliff.js";
|
|
55
|
+
import { CONTENT_FORM_STRINGS as Ta, contentFormStrings as Ea } from "./formStrings.js";
|
|
56
|
+
import { CMS_BULK_RUNS_TABLE as Da, bulkRunStateEffect as Oa, cmsBulkRunsTable as ka, continueBulkRunEffect as Aa, planBulkEffect as ja, runBulkEffect as Ma, startBulkRunEffect as Na, unfinishedBulkRunsEffect as Pa } from "./bulk.js";
|
|
57
|
+
import { duplicateGroupsEffect as Fa, retireDuplicateEffect as Ia } from "./duplicates.js";
|
|
58
|
+
import { CMS_COLLECTIONS_TABLE as La, CMS_COLLECTION_ITEMS_TABLE as Ra, CMS_COLLECTION_PORTALS_TABLE as za, MAX_PORTAL_DAYS as Ba, addToCollectionEffect as Va, cmsCollectionItemsTable as Ha, cmsCollectionPortalsTable as Ua, cmsCollectionsTable as Wa, collectionItemsEffect as Ga, collectionPortalsEffect as Ka, createCollectionEffect as qa, createPortalEffect as Ja, listCollectionsEffect as Ya, recordPortalDownloadEffect as Xa, removeFromCollectionEffect as Za, resolvePortalEffect as Qa, revokePortalEffect as $a } from "./collections.js";
|
|
59
|
+
import { MIGRATION_STAGES as eo } from "./migrationStages.js";
|
|
60
|
+
import { CMS_MIGRATION_RECORDS_TABLE as to, CMS_MIGRATION_STAGES_TABLE as no, cmsMigrationRecordsTable as ro, cmsMigrationStagesTable as io, migrationLedgerEffect as ao, migrationStagesEffect as oo, passStageEffect as so, recordMigrationRecordsEffect as co, reopenStageEffect as lo, setStageOwnerEffect as uo } from "./migration.js";
|
|
61
|
+
import { CMS_CUTOVER_DECISIONS_TABLE as fo, CMS_CUTOVER_ISSUES_TABLE as po, MAX_ROLLBACK_DAYS as mo, cmsCutoverDecisionsTable as ho, cmsCutoverIssuesTable as go, cutoverAdoptionEffect as _o, cutoverDecisionsEffect as vo, cutoverIssuesEffect as yo, cutoverPlanProblem as bo, decideCutoverEffect as xo, evaluateCutover as So, recordCutoverIssuesEffect as Co, resolveCutoverIssueEffect as wo } from "./cutover.js";
|
|
62
|
+
import { CMS_PREVIEW_SHARES_TABLE as To, MAX_PREVIEW_SHARE_DAYS as Eo, cmsPreviewSharesTable as Do, createPreviewShareEffect as Oo, listPreviewSharesEffect as ko, resolvePreviewShareEffect as Ao, revokePreviewShareEffect as jo } from "./share.js";
|
|
63
|
+
import { applySelection as Mo, decodeSelectionIntent as No, encodeSelectionIntent as Po, parseSelectionIntent as Fo } from "./selectionIntent.js";
|
|
64
|
+
import { compileCacheIdentity as Io, contractVariants as Lo, edgeHeaders as Ro, sharedCacheable as zo } from "./cacheIdentity.js";
|
|
65
|
+
import { edgePurgeRequests as Bo } from "./edgePurge.js";
|
|
66
|
+
import { publishDueEffect as Vo, schedulePublishEffect as Ho, scheduleUnpublishEffect as Uo, unpublishDueEffect as Wo } from "./schedule.js";
|
|
67
|
+
import { mediaFields as Go, resolveMediaAllEffect as Ko, resolveMediaEffect as qo } from "./media.js";
|
|
68
|
+
import { handleCmsRest as Jo } from "./rest.js";
|
|
69
|
+
import { RichDocumentView as Yo } from "./RichDocumentView.js";
|
|
70
|
+
import { RichTextSurface as Xo, selectionIn as Zo } from "./RichTextSurface.js";
|
|
71
|
+
import { RichDocumentEditor as Qo } from "./RichDocumentEditor.js";
|
|
72
|
+
import { ContentForm as $o, widgetFor as es } from "./ContentForm.js";
|
|
73
|
+
import { MAX_OCCURRENCES as ts, isKnownZone as ns, occurrencesOf as rs, recurrenceProblems as is, zonedInstant as as } from "./recurrence.js";
|
|
74
|
+
import { CMS_PUBLISH_SERIES_TABLE as os, advanceSeriesEffect as ss, cancelSeriesEffect as cs, cmsPublishSeriesTable as ls, scheduleSeriesEffect as us, seriesOfEffect as ds } from "./series.js";
|
|
75
|
+
import { EMPTY_EDIT_HISTORY as fs, describeEdit as ps, recordEdit as ms, redoEdit as hs, undoEdit as gs } from "./editHistory.js";
|
|
76
|
+
import { VISUAL_EDITING_PROTOCOL as _s, formPartOf as vs, moveEntry as ys, newVisualNonce as bs, parseSourcePath as xs, readEditorMessage as Ss, readPreviewMessage as Cs, sourceAttributes as ws, sourcePathOf as Ts, visualMessage as Es } from "./visualEditing.js";
|
|
77
|
+
import { EXTENSION_SLOTS as Ds, ExtensionAccessDenied as Os, ExtensionManifestSchema as ks, compareVersions as As, isExtensionCapability as js, manifestProblems as Ms, newCapabilities as Ns, settingsProblems as Ps, settingsWithDefaults as Fs } from "./extensionManifest.js";
|
|
78
|
+
import { CMS_EXTENSIONS_TABLE as Is, CMS_EXTENSION_DATA_TABLE as Ls, CMS_EXTENSION_SECRETS_TABLE as Rs, bindExtensionSecretEffect as zs, cmsExtensionDataTable as Bs, cmsExtensionSecretsTable as Vs, cmsExtensionsTable as Hs, consentToUpgradeEffect as Us, extensionSandbox as Ws, extensionSecretEffect as Gs, extensionSettingsEffect as Ks, installExtensionEffect as qs, installedExtensionEffect as Js, installedExtensionsEffect as Ys, regrantExtensionEffect as Xs, revokeExtensionEffect as Zs, rollbackExtensionEffect as Qs, setExtensionSettingsEffect as $s, uninstallExtensionEffect as ec, upgradeExtensionEffect as tc } from "./extensions.js";
|
|
79
|
+
import { CMS_GLOSSARY_TABLE as nc, cmsGlossaryTable as rc, glossaryEffect as ic, glossaryInputProblems as ac, glossaryProblems as oc, removeGlossaryTermEffect as sc, setGlossaryTermEffect as cc, termsIn as lc } from "./glossary.js";
|
|
80
|
+
import { parsePresenceAnchor as uc, presenceAnchorOf as dc } from "./presenceAnchors.js";
|
|
81
|
+
import { CMS_SITE_BINDINGS_TABLE as fc, CMS_SITE_BINDING_REVISIONS_TABLE as pc, bindSiteContentEffect as mc, cmsSiteBindingRevisionsTable as hc, cmsSiteBindingsTable as gc, rollbackSiteContentBindingEffect as _c, siteContentBindingEffect as vc, siteContentBindingRevisionEffect as yc } from "./siteBindings.js";
|
|
82
|
+
import { RouteDispositionDefinitionSchema as bc, RouteDispositionUnavailable as xc, copyRouteDispositionDefinition as Sc } from "./routeDispositions.js";
|
|
83
|
+
import { createCmsRouteDispositions as Cc } from "./routeDispositionService.js";
|
|
84
|
+
import { cmsRouteDispositionRest as wc } from "./routeDispositionRest.js";
|
|
85
|
+
import { cmsRouteDispositionTables as Tc } from "./routeDispositionTables.js";
|
|
86
|
+
import { cmsPublicRouteTables as Ec } from "./publicRouteTables.js";
|
|
87
|
+
import { initializeCmsPublicRoutes as Dc } from "./initializePublicRoutes.js";
|
|
88
|
+
import { reconfigureCmsPublicRoutes as Oc } from "./reconfigurePublicRoutes.js";
|
|
89
|
+
export { jr as AI_OUTCOMES, Ki as BlueprintInvalid, Kr as CMS_AI_CANDIDATES_TABLE, Mr as CMS_AI_OPERATIONS_TABLE, Nr as CMS_AI_SETTINGS_TABLE, bn as CMS_AVAILABILITY_TABLE, Da as CMS_BULK_RUNS_TABLE, Ve as CMS_CHANGES_TABLE, He as CMS_CHANGE_HEADS_TABLE, La as CMS_COLLECTIONS_TABLE, Ra as CMS_COLLECTION_ITEMS_TABLE, za as CMS_COLLECTION_PORTALS_TABLE, oi as CMS_COPIES_TABLE, fo as CMS_CUTOVER_DECISIONS_TABLE, po as CMS_CUTOVER_ISSUES_TABLE, Tr as CMS_DELIVERY_CHECKS_TABLE, jn as CMS_DRAFT_TEXTS_TABLE, Zi as CMS_ENVIRONMENT_ALIASES_TABLE, Qi as CMS_ENVIRONMENT_ALIAS_REVISIONS_TABLE, Ei as CMS_EXPERIMENTS_TABLE, Di as CMS_EXPERIMENT_EVENTS_TABLE, Is as CMS_EXTENSIONS_TABLE, Ls as CMS_EXTENSION_DATA_TABLE, Rs as CMS_EXTENSION_SECRETS_TABLE, nc as CMS_GLOSSARY_TABLE, to as CMS_MIGRATION_RECORDS_TABLE, no as CMS_MIGRATION_STAGES_TABLE, Qe as CMS_PATHS_TABLE, To as CMS_PREVIEW_SHARES_TABLE, os as CMS_PUBLISH_SERIES_TABLE, dn as CMS_QUALITY_EXCEPTIONS_TABLE, $e as CMS_REDIRECTS_TABLE, ct as CMS_REFERENCES_TABLE, cr as CMS_RELEASES_TABLE, lr as CMS_RELEASE_ITEMS_TABLE, en as CMS_REVIEWS_TABLE, Ae as CMS_REVISIONS_TABLE, je as CMS_SCOPE_COLUMNS, $ as CMS_SEARCH_TABLE, fc as CMS_SITE_BINDINGS_TABLE, pc as CMS_SITE_BINDING_REVISIONS_TABLE, Mt as CMS_SITE_DOMAINS_TABLE, ze as CMS_SITE_STATE_HEADS_TABLE, qn as CMS_STEWARDSHIP_TABLE, Bt as CMS_TEAM_INVITATIONS_TABLE, Vt as CMS_TEAM_TABLE, vt as CMS_WORKFLOW_DECISIONS_TABLE, yt as CMS_WORKFLOW_INSTANCES_TABLE, Ta as CONTENT_FORM_STRINGS, Me as CONTENT_STATUSES, d as ChangeFeedUnavailable, $o as ContentForm, f as ContentGone, p as ContentIdConflict, m as ContentLocationUnavailable, h as ContentNotFound, g as ContentSeoUnavailable, _ as ContentValidationFailed, fs as EMPTY_EDIT_HISTORY, Ds as EXTENSION_SLOTS, v as EnvironmentAliasUnavailable, Os as ExtensionAccessDenied, ks as ExtensionManifestSchema, fn as MAX_EXCEPTION_DAYS, z as MAX_LIST_LEVEL, ts as MAX_OCCURRENCES, Ba as MAX_PORTAL_DAYS, Eo as MAX_PREVIEW_SHARE_DAYS, mo as MAX_ROLLBACK_DAYS, eo as MIGRATION_STAGES, Oi as MIN_READERS, y as PreviewShareRejected, e as PublicRouteRegistryUnavailable, b as QuotaExceeded, ur as RELEASE_STATUSES, tn as REVIEW_ACTIONS, x as ReferenceUnavailable, S as ReleaseNotEditable, C as ReviewRequired, w as ReviewStepRefused, T as RevisionMismatch, Qo as RichDocumentEditor, Yo as RichDocumentView, Xo as RichTextSurface, bc as RouteDispositionDefinitionSchema, xc as RouteDispositionUnavailable, t as Schema, E as SiteBindingUnavailable, D as SiteDeliveryUnavailable, O as SiteStateUnavailable, _s as VISUAL_EDITING_PROTOCOL, _a as XliffInvalid, Nt as addDomain, et as addRedirect, Va as addToCollection, dr as addToRelease, qr as adoptCandidate, ki as adoptWinner, ss as advanceSeries, Pr as aiBudgetLeft, Fr as aiOperationsFor, Ir as aiSettings, Lr as aiTokensUsed, oa as alternatesOf, qi as applyBlueprint, Ht as applyBlueprintTeam, Se as applyDerivations, Mo as applySelection, va as applyTranslation, Ai as applyVariant, nn as approveReview, bt as approvedByWorkflow, er as archive, rn as assertApproved, xn as assertReferencesAvailable, ji as assignVariant, di as attributeToRevisions, zs as bindExtensionSecret, mc as bindSiteContent, ge as blockHasChanges, B as blockMarkup, Ji as blueprintRef, Ie as buildTree, Oa as bulkRunState, cs as cancelSeries, Jr as candidateUnits, Yr as candidatesFor, Mn as changedApartFromShared, En as changedFields, la as checkConsentPurposes, F as checkTemplates, Xr as cmsAiCandidatesTable, Rr as cmsAiOperationsTable, zr as cmsAiSettingsTable, Sn as cmsAvailabilityTable, ka as cmsBulkRunsTable, Ue as cmsChangeHeadsTable, We as cmsChangesTable, Ha as cmsCollectionItemsTable, Ua as cmsCollectionPortalsTable, Wa as cmsCollectionsTable, ht as cmsContext, si as cmsCopiesTable, ho as cmsCutoverDecisionsTable, go as cmsCutoverIssuesTable, Er as cmsDeliveryChecksTable, Nn as cmsDraftTextsTable, $i as cmsEnvironmentAliasRevisionsTable, ea as cmsEnvironmentAliasesTable, Mi as cmsExperimentEventsTable, Ni as cmsExperimentsTable, Bs as cmsExtensionDataTable, Vs as cmsExtensionSecretsTable, Hs as cmsExtensionsTable, rc as cmsGlossaryTable, ro as cmsMigrationRecordsTable, io as cmsMigrationStagesTable, tt as cmsPathsTable, Do as cmsPreviewSharesTable, Ec as cmsPublicRouteTables, ls as cmsPublishSeriesTable, pn as cmsQualityExceptionsTable, nt as cmsRedirectsTable, lt as cmsReferencesTable, fr as cmsReleaseItemsTable, pr as cmsReleasesTable, an as cmsReviewsTable, Ne as cmsRevisionsTable, wc as cmsRouteDispositionRest, Tc as cmsRouteDispositionTables, ee as cmsSearchTable, hc as cmsSiteBindingRevisionsTable, gc as cmsSiteBindingsTable, Pt as cmsSiteDomainsTable, Be as cmsSiteStateHeadsTable, Jn as cmsStewardshipTable, Ut as cmsTeamInvitationsTable, Wt as cmsTeamTable, xt as cmsWorkflowDecisionsTable, St as cmsWorkflowInstancesTable, Pn as collaborativeFields, Ga as collectionItems, Ka as collectionPortals, mi as compareEnvironments, As as compareVersions, Io as compileCacheIdentity, M as compileSiteDelivery, Ce as componentExampleViolations, n as componentFingerprint, $r as componentsOf, ua as consentContentSecurityPolicy, da as consentDecisionComplete, Us as consentToUpgrade, fa as consentedOrigins, V as contactLiteralHref, H as contactLiteralProblem, Ea as contentFormStrings, Yn as contentHealth, Pe as contentTypeToEntities, vi as contentUsage, we as contentViolations, Aa as continueBulkRun, Lo as contractVariants, ci as copiesOf, li as copyDocument, hi as copyEnvironment, ui as copyOrigin, Sc as copyRouteDispositionDefinition, gt as createCmsClient, Cc as createCmsRouteDispositions, qa as createCollection, ta as createEnvironmentAlias, Ja as createPortal, Oo as createPreviewShare, mr as createRelease, _o as cutoverAdoption, vo as cutoverDecisions, yo as cutoverIssues, bo as cutoverPlanProblem, xo as decideCutover, mn as decideQualityException, Ct as decideStep, Ci as decodeEntities, No as decodeSelectionIntent, yi as defineAudience, Yi as defineBlueprint, r as defineComponent, Oe as defineContentLocations, k as defineContentSeo, A as defineContentSeoDefaults, Fe as defineContentType, i as defineDesignTokens, fi as defineMetric, wt as defineReviewWorkflow, a as defineRichTextProfile, N as defineSiteDelivery, Tt as delegateStep, Dr as deliveryChecks, o as derivedFrom, ps as describeEdit, hr as describeFailure, Dn as diffWords, Zr as discardCandidate, ei as documentGraph, _e as documentHasChanges, ti as draftUses, te as dropFromSearch, Fa as duplicateGroups, Ro as edgeHeaders, Bo as edgePurgeRequests, ga as effectiveExposure, Le as effectiveInheritance, U as emptyRichDocument, Po as encodeSelectionIntent, na as environmentAliasRevision, So as evaluateCutover, Pi as experimentById, Fi as experimentFields, Ii as experimentLineage, Li as experimentOverrideKeys, Ri as experimentReleaseHook, zi as experimentResults, Cn as expiringAmong, Ws as extensionSandbox, Gs as extensionSecret, Ks as extensionSettings, On as fieldDiffs, kn as fieldVersions, vs as formPartOf, pa as gateConsent, ic as glossary, ac as glossaryInputProblems, oc as glossaryProblems, ma as grantedPurposes, rt as hadAddress, Jo as handleCmsRest, le as hasMark, ne as indexForSearch, Re as inheritedValue, Ge as initializeChangeFeed, Dc as initializeCmsPublicRoutes, ue as inlineFromDom, de as inlineHtml, W as inlineMarkupOf, fe as inlineText, qs as installExtension, Js as installedExtension, Ys as installedExtensions, Gt as inviteToTeam, Kt as invitedRole, js as isExtensionCapability, ns as isKnownZone, bi as languagesOf, Et as latestWorkflow, Ya as listCollections, Bi as listExperiments, G as listNumberedAt, ko as listPreviewShares, it as listRedirects, gr as listReleaseItems, _r as listReleases, tr as listRevisions, Fn as liveDraftTexts, Ms as manifestProblems, ya as matchUnits, xi as matchesAudience, s as maxLength, Go as mediaFields, pe as mergeInline, pi as metricVersionDrift, ao as migrationLedger, oo as migrationStages, Br as monthStart, ys as moveEntry, In as movedTogether, K as newBlockId, Ns as newCapabilities, bs as newVisualNonce, jt as normalizeHost, q as normalizeRichDocument, se as normalizeTerms, rs as occurrencesOf, Ln as openDraftTexts, Dt as overdueSteps, J as parseInlineMarkup, uc as parsePresenceAnchor, Fo as parseSelectionIntent, xs as parseSourcePath, ba as parseXliff, so as passStage, c as pattern, ve as pendingChanges, Si as pickVariant, vr as pinReleaseInheritance, Y as plainTextOf, Xi as planBlueprint, qt as planBlueprintTeam, ja as planBulk, Vi as planExperiment, gi as planPromotion, ni as planReferenceReplacement, dc as presenceAnchorOf, pt as previewToken, Ft as primaryDomain, _i as promote, Vr as promptHash, Qr as proposeCandidate, nr as publish, Vo as publishDue, yr as publishDueReleases, br as publishRelease, rr as publishRevision, Te as publishViolations, ha as purposesUsedBy, hn as qualityExceptions, gn as qualityFindings, _n as qualityViolations, Ke as readChangeCheckpoint, qe as readChanges, Rn as readDraftTexts, Ss as readEditorMessage, Cs as readPreviewMessage, Je as readRecentChanges, zn as rebaseDraftTexts, ut as rebuildReferenceIndex, re as rebuildSearch, Xn as recertify, Ye as reconcileArchivedPublications, Oc as reconfigureCmsPublicRoutes, Hr as recordAiOperation, Xe as recordChange, Co as recordCutoverIssues, ms as recordEdit, Hi as recordExperimentEvent, co as recordMigrationRecords, at as recordPaths, Xa as recordPortalDownload, is as recurrenceProblems, ot as redirectTarget, hs as redoEdit, dt as referencesOf, Xs as regrantExtension, Or as releaseCheckpoint, xr as releaseStatusOf, It as removeDomain, Za as removeFromCollection, sc as removeGlossaryTerm, st as removeRedirect, lo as reopenStage, ri as replaceReferences, me as replaceText, on as requestChanges, kr as requestDeliveryCheck, vn as requestQualityException, sn as requestReview, ye as resolveChanges, ke as resolveContentLocation, j as resolveContentSeo, wo as resolveCutoverIssue, ra as resolveEnvironmentAlias, qo as resolveMedia, Ko as resolveMediaAll, Qa as resolvePortal, Ao as resolvePreviewShare, P as resolveScopedContentSeo, ir as restoreRevision, Ia as retireDuplicate, Sr as retryRelease, ar as revalidateContent, cn as reviewLog, ln as reviewRequiredFor, un as reviewStatus, Ze as revisionTimeline, ii as revisionsReferencing, Zs as revokeExtension, $a as revokePortal, jo as revokePreviewShare, Bn as richBlockOfKey, Vn as richBlockTextKey, Ti as richDocumentFromContentful, wi as richDocumentFromHtml, X as richDocumentProblems, Z as richDocumentReferences, ia as rollbackEnvironmentAlias, Qs as rollbackExtension, Cr as rollbackRelease, _c as rollbackSiteContentBinding, yn as ruleApplies, Ma as runBulk, Ar as runDeliveryChecks, Ui as runningExperiment, or as saveDraft, Ho as schedulePublish, wr as scheduleRelease, us as scheduleSeries, Uo as scheduleUnpublish, ie as searchContent, ae as searchTextOf, ds as seriesOf, Ur as setAiBudget, Wr as setAiSettings, $s as setExtensionSettings, cc as setGlossaryTerm, Zn as setOwner, Lt as setPrimaryDomain, Jt as setReviewRequired, uo as setStageOwner, Ps as settingsProblems, Fs as settingsWithDefaults, Gr as settleAiOperation, zo as sharedCacheable, Hn as sharedRichBlocks, vc as siteContentBinding, yc as siteContentBindingRevision, Rt as siteDomains, sa as sitemapUrls, ca as sitemapXml, l as slugify, oe as snippetOf, ws as sourceAttributes, Ts as sourcePathOf, Ee as staleComponents, Na as startBulkRun, Wi as startExperiment, Qn as startStewardship, Ot as startWorkflow, $n as stewardshipOf, Gi as stopExperiment, kt as suggestOnStep, aa as swapEnvironmentAlias, ce as taxonomyValue, Yt as teamDefaultRole, Xt as teamInvitations, Zt as teamProblems, I as templateOf, L as templateValues, R as templateViolations, lc as termsIn, Zo as textSelectionIn, xa as toXliff, he as toggleMark, be as trackChanges, xe as trackInline, Sa as translationLosses, Gn as translationStatus, Kn as translationStatuses, Ca as translationUnits, Un as typeDraftText, wn as unavailableAmong, gs as undoEdit, Pa as unfinishedBulkRuns, ec as uninstallExtension, u as unique, wa as unitsHash, sr as unpublish, Wo as unpublishDue, tc as upgradeExtension, _t as useCms, ft as usedBy, De as validateContent, An as valueText, zt as verifyDomain, mt as verifyPreviewToken, Es as visualMessage, es as widgetFor, Q as withBlockMarkup, ai as withReferenceAt, Wn as withSharedBlocks, Qt as withdrawInvitation, At as workflowState, $t as workspaceReviewTypes, Tn as writeAvailability, as as zonedInstant };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PublicRouteRegistryUnavailable as e } from "./publicRouteRegistry.js";
|
|
2
|
+
import { ChangeFeedUnavailable as t, SiteStateUnavailable as n } from "./errors.js";
|
|
3
|
+
import { asTyped as r } from "./effectForm.js";
|
|
4
|
+
import { compilePublicRouteRegistryDefinition as i, compilePublicRouteRouting as a } from "./publicRouteRegistryDefinition.js";
|
|
5
|
+
import { bindInitialPublicRouteDefinition as o } from "./publicRouteRegistryBinding.js";
|
|
6
|
+
// src/initializePublicRoutes.ts
|
|
7
|
+
var s = (t) => {
|
|
8
|
+
try {
|
|
9
|
+
return i({
|
|
10
|
+
types: t.types,
|
|
11
|
+
site: t.site,
|
|
12
|
+
app: t.code,
|
|
13
|
+
routing: a(t.routing, t.routeDiscovery, t.code)
|
|
14
|
+
});
|
|
15
|
+
} catch (t) {
|
|
16
|
+
throw t instanceof e ? t : new e({ reason: "definition" });
|
|
17
|
+
}
|
|
18
|
+
}, c = (i, a, c, l = {}) => r(async () => {
|
|
19
|
+
if (i.savepoint === void 0) throw new e({ reason: "configuration" });
|
|
20
|
+
let t = s(c);
|
|
21
|
+
return { revision: (await i.savepoint(() => o(i, a, {
|
|
22
|
+
expectedRevision: 0,
|
|
23
|
+
definition: t,
|
|
24
|
+
now: l.now ?? Date.now()
|
|
25
|
+
}))).revision };
|
|
26
|
+
}, e, t, n);
|
|
27
|
+
export { s as compileCmsPublicRouteDeclaration, c as initializeCmsPublicRoutes };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { publicRouteRegistryFail as e } from "./publicRouteRegistry.js";
|
|
2
|
+
import { compileSiteDelivery as t } from "./siteDelivery.js";
|
|
3
|
+
import { queryPublicRouteIntegrity as n } from "./publicRouteIntegrity.js";
|
|
4
|
+
import { copyOutputActivationScope as r } from "./outputActivation.js";
|
|
5
|
+
import { readContentModificationTime as i } from "./contentValues.js";
|
|
6
|
+
import { readPublicRouteBinding as a } from "./publicRouteRegistryBinding.js";
|
|
7
|
+
import { and as o, eq as s, gt as c } from "@voltro/database";
|
|
8
|
+
// src/liveContentRouteView.ts
|
|
9
|
+
var l = (e) => typeof e == "string" && e.length > 0, u = async (u, d) => {
|
|
10
|
+
let f;
|
|
11
|
+
try {
|
|
12
|
+
f = r(d);
|
|
13
|
+
} catch {
|
|
14
|
+
return e("scope");
|
|
15
|
+
}
|
|
16
|
+
let p = await a(u, f);
|
|
17
|
+
if (p === null) return e("configuration");
|
|
18
|
+
let m = t(p.definition.site), h = new Set(p.definition.types.map((e) => e.name)), g = new Set(m.contentLocales), _ = (t, n) => !h.has(t) || !g.has(n) ? e("scope") : o(s("tenantId", f.tenantId), s("site", f.site), s("environment", f.environment), s("locale", n), s("status", "published")), v = (t, n) => {
|
|
19
|
+
if (![
|
|
20
|
+
t.id,
|
|
21
|
+
t.documentId,
|
|
22
|
+
t.revisionId
|
|
23
|
+
].every(l) || !Number.isSafeInteger(t.revision) || Number(t.revision) < 1 || t.tenantId !== f.tenantId || t.site !== f.site || t.environment !== f.environment || t.locale !== n || t.status !== "published") return e("state");
|
|
24
|
+
let r = i(t.updatedAt);
|
|
25
|
+
return r.ok ? {
|
|
26
|
+
content: t,
|
|
27
|
+
modifiedAt: r.value
|
|
28
|
+
} : e("state");
|
|
29
|
+
};
|
|
30
|
+
return {
|
|
31
|
+
binding: p,
|
|
32
|
+
site: m,
|
|
33
|
+
view: {
|
|
34
|
+
read: async (t, r, i) => {
|
|
35
|
+
if (!l(i)) return e("state");
|
|
36
|
+
let a = await n(u, {
|
|
37
|
+
table: t + "_published",
|
|
38
|
+
predicate: o(_(t, r), s("documentId", i)),
|
|
39
|
+
lock: "update",
|
|
40
|
+
order: [],
|
|
41
|
+
take: 2,
|
|
42
|
+
skip: void 0,
|
|
43
|
+
projection: void 0
|
|
44
|
+
});
|
|
45
|
+
if (a.length > 1) return e("state");
|
|
46
|
+
let c = a[0];
|
|
47
|
+
return c === void 0 ? null : c.documentId === i ? v(c, r) : e("state");
|
|
48
|
+
},
|
|
49
|
+
page: async (t, r, i) => {
|
|
50
|
+
if (i !== void 0 && (!l(i) || i.length > 256)) return e("bounds");
|
|
51
|
+
let a = await n(u, {
|
|
52
|
+
table: t + "_published",
|
|
53
|
+
predicate: o(_(t, r), ...i === void 0 ? [] : [c("id", i)]),
|
|
54
|
+
lock: "update",
|
|
55
|
+
order: [{
|
|
56
|
+
column: "id",
|
|
57
|
+
direction: "asc"
|
|
58
|
+
}],
|
|
59
|
+
take: 201,
|
|
60
|
+
skip: void 0,
|
|
61
|
+
projection: void 0
|
|
62
|
+
}), s = i ?? "";
|
|
63
|
+
for (let t of a) {
|
|
64
|
+
if (v(t, r), String(t.id) <= s) return e("state");
|
|
65
|
+
s = String(t.id);
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
items: a.slice(0, 200),
|
|
69
|
+
next: a.length > 200 ? String(a[199].id) : null
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
export { u as readLiveContentRouteView };
|
package/dist/media.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { asTyped as e } from "./effectForm.js";
|
|
2
|
-
|
|
2
|
+
// src/media.ts
|
|
3
3
|
var t = (e) => Object.entries(e.fields).filter(([, e]) => e.kind === "media").map(([e]) => e), n = async (e, t, r) => {
|
|
4
4
|
if (t == null) return t;
|
|
5
5
|
switch (e.kind) {
|
|
@@ -25,5 +25,4 @@ var t = (e) => Object.entries(e.fields).filter(([, e]) => e.kind === "media").ma
|
|
|
25
25
|
}
|
|
26
26
|
return i;
|
|
27
27
|
}, i = async (e, t, n) => Promise.all(t.map((t) => r(e, t, n))), a = (e) => t(e), o = (...t) => e(() => r(...t)), s = (...t) => e(() => i(...t));
|
|
28
|
-
//#endregion
|
|
29
28
|
export { a as mediaFields, r as resolveMedia, i as resolveMediaAll, s as resolveMediaAllEffect, o as resolveMediaEffect };
|
package/dist/metrics.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { fnv1a as e } from "./fieldSchema.js";
|
|
2
|
-
|
|
2
|
+
// src/metrics.ts
|
|
3
3
|
var t = (e) => JSON.stringify([
|
|
4
4
|
e.id,
|
|
5
5
|
e.formula,
|
|
@@ -42,5 +42,4 @@ var t = (e) => JSON.stringify([
|
|
|
42
42
|
unattributed: r
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
|
-
//#endregion
|
|
46
45
|
export { i as attributeToRevisions, n as defineMetric, r as metricVersionDrift };
|
package/dist/migration.js
CHANGED
|
@@ -2,7 +2,7 @@ import { asTyped as e } from "./effectForm.js";
|
|
|
2
2
|
import { MIGRATION_STAGES as t } from "./migrationStages.js";
|
|
3
3
|
import { and as n, eq as r, id as i, table as a, text as o, timestamp as s } from "@voltro/database";
|
|
4
4
|
import { tenant as c } from "@voltro/plugin-multitenancy/mixin";
|
|
5
|
-
|
|
5
|
+
// src/migration.ts
|
|
6
6
|
var l = "cms_migration_stages", u = "cms_migration_records", d = a(l, {
|
|
7
7
|
id: i({ prefix: "cmst" }),
|
|
8
8
|
source: o().maxLength(200),
|
|
@@ -189,5 +189,4 @@ var l = "cms_migration_stages", u = "cms_migration_records", d = a(l, {
|
|
|
189
189
|
records: [...o].sort((e, t) => c(t) - c(e)).slice(0, n)
|
|
190
190
|
};
|
|
191
191
|
}, x = (...t) => e(() => m(...t)), S = (...t) => e(() => g(...t)), C = (...t) => e(() => _(...t)), w = (...t) => e(() => v(...t)), T = (...t) => e(() => y(...t)), E = (...t) => e(() => b(...t));
|
|
192
|
-
//#endregion
|
|
193
192
|
export { u as CMS_MIGRATION_RECORDS_TABLE, l as CMS_MIGRATION_STAGES_TABLE, t as MIGRATION_STAGES, f as cmsMigrationRecordsTable, d as cmsMigrationStagesTable, b as migrationLedger, E as migrationLedgerEffect, m as migrationStages, x as migrationStagesEffect, _ as passStage, C as passStageEffect, y as recordMigrationRecords, T as recordMigrationRecordsEffect, v as reopenStage, w as reopenStageEffect, g as setStageOwner, S as setStageOwnerEffect };
|