@voltro/cms 0.85.0 → 0.87.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 +5987 -0
- package/README.md +138 -0
- package/THIRD-PARTY-NOTICES.md +864 -253
- package/dist/ContentForm.js +282 -0
- package/dist/RichDocumentEditor.js +550 -0
- package/dist/RichDocumentView.js +177 -0
- package/dist/RichTextSurface.js +135 -0
- package/dist/aiCandidates.js +199 -0
- package/dist/aiOperations.js +152 -0
- package/dist/applicationBuildSnapshotService.js +101 -0
- package/dist/assetRenditions.js +102 -0
- package/dist/assetRevision.js +46 -0
- package/dist/assetUseRights.js +72 -0
- package/dist/audiences.js +31 -0
- package/dist/availability.js +124 -0
- package/dist/blueprint.js +166 -0
- package/dist/build.d.ts +3063 -0
- package/dist/build.js +37 -0
- package/dist/buildApplicationAdmission.js +16 -0
- package/dist/buildApplicationCatalog.js +136 -0
- package/dist/buildApplicationCatalogTable.js +24 -0
- package/dist/buildApplicationRest.js +99 -0
- package/dist/buildApplicationUpload.js +111 -0
- package/dist/buildSnapshot.js +401 -0
- package/dist/buildSnapshotApplicationPin.js +32 -0
- package/dist/buildSnapshotRest.js +210 -0
- package/dist/buildSnapshotService.js +265 -0
- package/dist/buildSnapshotTables.js +25 -0
- package/dist/bulk.js +282 -0
- package/dist/cacheIdentity.js +152 -0
- package/dist/changes.js +307 -0
- package/dist/cmsContext.js +229 -0
- package/dist/collections.js +224 -0
- package/dist/consent.js +29 -0
- package/dist/contentLocations.js +53 -0
- package/dist/contentProjection.js +83 -0
- package/dist/contentRouteIdentity.js +13 -0
- package/dist/contentRouteMaterializer.js +97 -0
- package/dist/contentRouteTypes.js +39 -0
- package/dist/contentSeo.js +189 -0
- package/dist/contentTreePath.js +60 -0
- package/dist/contentType.js +208 -0
- package/dist/contentValues.js +18 -0
- package/dist/contentfulImport.js +162 -0
- package/dist/copies.js +89 -0
- package/dist/cutover.js +202 -0
- package/dist/deliveryChecks.js +138 -0
- package/dist/domainHost.js +7 -0
- package/dist/domains.js +139 -0
- package/dist/draftTexts.js +164 -0
- package/dist/duplicates.js +78 -0
- package/dist/edgePurge.js +69 -0
- package/dist/editHistory.js +113 -0
- package/dist/effectForm.js +11 -0
- package/dist/environmentAliases.js +138 -0
- package/dist/environments.js +147 -0
- package/dist/errors.js +107 -0
- package/dist/experiments.js +528 -0
- package/dist/exposure.js +28 -0
- package/dist/extensionManifest.js +81 -0
- package/dist/extensions.js +314 -0
- package/dist/fieldSchema.js +199 -0
- package/dist/formStrings.js +74 -0
- package/dist/frontendBindings.js +99 -0
- package/dist/frontendMedia.js +18 -0
- package/dist/glossary.js +73 -0
- package/dist/history.js +54 -0
- package/dist/htmlImport.js +297 -0
- package/dist/index.d.ts +771 -54
- package/dist/index.js +89 -6082
- package/dist/initializePublicRoutes.js +28 -0
- package/dist/liveContentRouteView.js +76 -0
- package/dist/media.js +29 -0
- package/dist/metrics.js +46 -0
- package/dist/migration.js +193 -0
- package/dist/migrationStages.js +13 -0
- package/dist/nativeOutputDeploymentService.js +205 -0
- package/dist/outputActivation.js +234 -0
- package/dist/outputActivationOrigin.js +51 -0
- package/dist/outputActivationStore.js +411 -0
- package/dist/outputActivationTables.js +11 -0
- package/dist/outputActivationTarget.js +81 -0
- package/dist/outputActivationTargetTable.js +25 -0
- package/dist/outputDeployment.js +174 -0
- package/dist/outputDeploymentRest.js +168 -0
- package/dist/outputDeploymentService.js +241 -0
- package/dist/outputRouteGraph.js +177 -0
- package/dist/outputSafetyArtifact.js +147 -0
- package/dist/outputTargetRest.js +62 -0
- package/dist/pathSegmentEncoding.js +4 -0
- package/dist/presenceAnchors.js +68 -0
- package/dist/preview.js +31 -0
- package/dist/privateCmsTransport.js +76 -0
- package/dist/privateNativeRouteReservation.js +10 -0
- package/dist/promotion.js +116 -0
- package/dist/publicBuild.js +90 -0
- package/dist/publicBuildRest.js +98 -0
- package/dist/publicBuildService.js +63 -0
- package/dist/publicOutputHttp.js +129 -0
- package/dist/publicOutputService.js +287 -0
- package/dist/publicPresentation.js +17 -0
- package/dist/publicRouteDispositionAdmission.js +38 -0
- package/dist/publicRouteHistoryStore.js +12 -0
- package/dist/publicRouteHistoryView.js +34 -0
- package/dist/publicRouteIntegrity.js +5 -0
- package/dist/publicRouteMutation.js +6 -0
- package/dist/publicRouteNamespace.js +134 -0
- package/dist/publicRoutePublication.js +36 -0
- package/dist/publicRouteRegistry.js +17 -0
- package/dist/publicRouteRegistryBinding.js +194 -0
- package/dist/publicRouteRegistryDefinition.js +76 -0
- package/dist/publicRouteSitePublication.js +40 -0
- package/dist/publicRouteTables.js +13 -0
- package/dist/publicRouteUrl.js +18 -0
- package/dist/publicationSeo.js +52 -0
- package/dist/publicationState.js +296 -0
- package/dist/quality.js +188 -0
- package/dist/reconfigurePublicRoutes.js +41 -0
- package/dist/recurrence.js +78 -0
- package/dist/redirects.js +130 -0
- package/dist/referenceGraph.js +224 -0
- package/dist/references.js +173 -0
- package/dist/release.js +241 -0
- package/dist/renderReadAuthority.js +43 -0
- package/dist/renderReadGrant.js +137 -0
- package/dist/rest.js +52 -0
- package/dist/review.js +160 -0
- package/dist/richDocument.js +521 -0
- package/dist/richInline.js +100 -0
- package/dist/routeDispositionGraph.js +44 -0
- package/dist/routeDispositionRest.js +51 -0
- package/dist/routeDispositionService.js +73 -0
- package/dist/routeDispositionStore.js +289 -0
- package/dist/routeDispositionTables.js +5 -0
- package/dist/routeDispositions.js +91 -0
- package/dist/routeHistoryStorage.js +320 -0
- package/dist/routeHistoryStore.js +12 -0
- package/dist/schedule.js +80 -0
- package/dist/search.js +148 -0
- package/dist/selectionIntent.js +164 -0
- package/dist/seo.js +31 -0
- package/dist/series.js +105 -0
- package/dist/share.js +112 -0
- package/dist/siteBindings.js +159 -0
- package/dist/siteBuildCandidate.js +104 -0
- package/dist/siteDelivery.js +115 -0
- package/dist/siteState.js +47 -0
- package/dist/snapshotAddressGraph.js +55 -0
- package/dist/snapshotAddressRead.js +73 -0
- package/dist/snapshotAppConsumer.js +71 -0
- package/dist/snapshotAppExecution.js +102 -0
- package/dist/snapshotApplication.js +75 -0
- package/dist/snapshotApprovedRouteDispositions.js +44 -0
- package/dist/snapshotAssetAssembly.js +70 -0
- package/dist/snapshotAssetAssemblyRest.js +50 -0
- package/dist/snapshotBindingRead.js +61 -0
- package/dist/snapshotCodeSeo.js +29 -0
- package/dist/snapshotComponent.js +34 -0
- package/dist/snapshotComponentSource.js +24 -0
- package/dist/snapshotConsumer.js +87 -0
- package/dist/snapshotContentIdentity.js +10 -0
- package/dist/snapshotDefinitions.js +264 -0
- package/dist/snapshotDocumentAssembly.js +193 -0
- package/dist/snapshotDocumentAssemblyRest.js +84 -0
- package/dist/snapshotDocumentProjection.js +202 -0
- package/dist/snapshotDocumentTransfer.js +35 -0
- package/dist/snapshotDocumentTransferRest.js +80 -0
- package/dist/snapshotDomains.js +56 -0
- package/dist/snapshotEnvironment.js +31 -0
- package/dist/snapshotFieldPlan.js +85 -0
- package/dist/snapshotFrontend.js +103 -0
- package/dist/snapshotLink.js +8 -0
- package/dist/snapshotMedia.js +111 -0
- package/dist/snapshotMediaCapture.js +246 -0
- package/dist/snapshotMediaFields.js +225 -0
- package/dist/snapshotMediaRead.js +185 -0
- package/dist/snapshotMediaReader.js +13 -0
- package/dist/snapshotObservation.js +16 -0
- package/dist/snapshotObservedRouteHistory.js +34 -0
- package/dist/snapshotOutputTransfer.js +78 -0
- package/dist/snapshotPageLoader.js +7 -0
- package/dist/snapshotPageSeo.js +59 -0
- package/dist/snapshotPathLocale.js +15 -0
- package/dist/snapshotPresentation.js +86 -0
- package/dist/snapshotPresentationPolicy.js +12 -0
- package/dist/snapshotProjection.js +119 -0
- package/dist/snapshotPublicAccess.js +161 -0
- package/dist/snapshotPublicRouteHistory.js +40 -0
- package/dist/snapshotReadAdmission.js +38 -0
- package/dist/snapshotRedirectOutput.js +151 -0
- package/dist/snapshotRedirectTargets.js +24 -0
- package/dist/snapshotRedirects.js +132 -0
- package/dist/snapshotReference.js +8 -0
- package/dist/snapshotReferenceAddress.js +10 -0
- package/dist/snapshotReferenceGraph.js +79 -0
- package/dist/snapshotReferenceRead.js +65 -0
- package/dist/snapshotRelease.js +99 -0
- package/dist/snapshotRender.js +361 -0
- package/dist/snapshotRenderDependencies.js +178 -0
- package/dist/snapshotRenditions.js +88 -0
- package/dist/snapshotRichDocument.js +62 -0
- package/dist/snapshotRoleTransfer.js +106 -0
- package/dist/snapshotRoleTransferRest.js +99 -0
- package/dist/snapshotRouteAdmission.js +71 -0
- package/dist/snapshotRouteDispatch.js +111 -0
- package/dist/snapshotRouteDispositionPlan.js +73 -0
- package/dist/snapshotRouteRead.js +43 -0
- package/dist/snapshotRoutes.js +79 -0
- package/dist/snapshotRouting.js +113 -0
- package/dist/snapshotSeo.js +179 -0
- package/dist/snapshotSeoControls.js +101 -0
- package/dist/snapshotSeoDocumentInventory.js +115 -0
- package/dist/snapshotSeoDocuments.js +129 -0
- package/dist/snapshotSeoMerge.js +85 -0
- package/dist/snapshotSeoMetadata.js +137 -0
- package/dist/snapshotSeoOutput.js +173 -0
- package/dist/snapshotSeoPathSets.js +105 -0
- package/dist/snapshotSeoRead.js +88 -0
- package/dist/snapshotSite.js +128 -0
- package/dist/snapshotSitemapFiles.js +36 -0
- package/dist/snapshotTreeDependencies.js +58 -0
- package/dist/snapshotTreeLoader.js +10 -0
- package/dist/snapshotTreeRead.js +158 -0
- package/dist/staticPathSet.js +177 -0
- package/dist/staticPathSetRest.js +129 -0
- package/dist/staticPathSetService.js +249 -0
- package/dist/staticPathSetStore.js +338 -0
- package/dist/stewardship.js +146 -0
- package/dist/taxonomy.js +36 -0
- package/dist/team.js +103 -0
- package/dist/templates.js +106 -0
- package/dist/trackChanges.js +197 -0
- package/dist/translation.js +64 -0
- package/dist/tree.js +87 -0
- package/dist/usage.js +50 -0
- package/dist/validation.js +192 -0
- package/dist/visualEditing.js +60 -0
- package/dist/web.d.ts +709 -7
- package/dist/web.js +50 -2
- package/dist/workflow.js +322 -0
- package/dist/write.js +419 -0
- package/dist/xliff.js +325 -0
- package/package.json +20 -6
- package/dist/presenceAnchors-4iHAVQB3.js +0 -4367
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { PublicRouteRegistryUnavailable as e } from "./publicRouteRegistry.js";
|
|
2
|
+
import { ChangeFeedUnavailable as t } from "./errors.js";
|
|
3
|
+
import { asTyped as n } from "./effectForm.js";
|
|
4
|
+
import { indexForSearch as r } from "./search.js";
|
|
5
|
+
import { lockPublicationStream as i, recordChange as a } from "./changes.js";
|
|
6
|
+
import { recordPublicationPaths as o } from "./redirects.js";
|
|
7
|
+
import { hasReferenceFields as s, writeReferences as c } from "./references.js";
|
|
8
|
+
import { pickDeclared as l } from "./contentValues.js";
|
|
9
|
+
import { reconcilePublishedContentRoutes as u, withPublicRoutePublicationBatch as d } from "./publicRoutePublication.js";
|
|
10
|
+
import { writeAvailability as f } from "./availability.js";
|
|
11
|
+
import { newVariantId as p, scopeColumns as m, writeRevision as h } from "./write.js";
|
|
12
|
+
import { and as g, eq as _, neq as v } from "@voltro/database";
|
|
13
|
+
//#region src/environments.ts
|
|
14
|
+
var y = (e, t, n, r) => e.query({
|
|
15
|
+
table: t,
|
|
16
|
+
predicate: g(_("site", n), _("environment", r), v("status", "archived")),
|
|
17
|
+
order: [{
|
|
18
|
+
column: "id",
|
|
19
|
+
direction: "asc"
|
|
20
|
+
}],
|
|
21
|
+
take: void 0,
|
|
22
|
+
skip: void 0,
|
|
23
|
+
projection: void 0
|
|
24
|
+
}), b = async (e, n, r) => {
|
|
25
|
+
let a;
|
|
26
|
+
for (let i of n) for (let n of [.../* @__PURE__ */ new Set([r.from, r.to])].sort()) for (let o of [i.name + "_drafts", i.name + "_published"]) {
|
|
27
|
+
let i = await y(e, o, r.site, n);
|
|
28
|
+
for (let e of i) {
|
|
29
|
+
if (typeof e.tenantId != "string" || e.tenantId === "" || a !== void 0 && e.tenantId !== a) throw new t({ reason: "scope" });
|
|
30
|
+
a = e.tenantId;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
if (a === void 0) return null;
|
|
34
|
+
for (let t of [.../* @__PURE__ */ new Set([r.from, r.to])].sort()) await i(e, {
|
|
35
|
+
tenantId: a,
|
|
36
|
+
site: r.site,
|
|
37
|
+
environment: t
|
|
38
|
+
});
|
|
39
|
+
return {
|
|
40
|
+
tenantId: a,
|
|
41
|
+
site: r.site,
|
|
42
|
+
environment: r.to
|
|
43
|
+
};
|
|
44
|
+
}, x = async (e, n, g) => {
|
|
45
|
+
if (g.from === g.to) return {
|
|
46
|
+
ok: !1,
|
|
47
|
+
reason: "sameEnvironment",
|
|
48
|
+
variants: 0
|
|
49
|
+
};
|
|
50
|
+
let _ = await b(e, n, g), v = 0;
|
|
51
|
+
for (let t of n) v += (await y(e, `${t.name}_drafts`, g.site, g.to)).length;
|
|
52
|
+
return v > 0 ? {
|
|
53
|
+
ok: !1,
|
|
54
|
+
reason: "targetNotEmpty",
|
|
55
|
+
variants: v
|
|
56
|
+
} : _ === null ? {
|
|
57
|
+
ok: !0,
|
|
58
|
+
variants: 0,
|
|
59
|
+
published: 0
|
|
60
|
+
} : d(e, _, async () => {
|
|
61
|
+
let d = 0, v = 0;
|
|
62
|
+
for (let b of n) {
|
|
63
|
+
let n = await y(e, `${b.name}_drafts`, g.site, g.from), x = new Map((await y(e, `${b.name}_published`, g.site, g.from)).map((e) => [String(e.id), e])), S = /* @__PURE__ */ new Set();
|
|
64
|
+
for (let o of n) {
|
|
65
|
+
let n = {
|
|
66
|
+
site: g.site,
|
|
67
|
+
environment: g.to,
|
|
68
|
+
locale: String(o.locale)
|
|
69
|
+
}, y = String(o.documentId), C = o.tenantId;
|
|
70
|
+
if (_ === null || C !== _.tenantId) throw new t({ reason: "scope" });
|
|
71
|
+
let w = p(b), T = x.get(String(o.id)), E = l(b, o), D = 0, O;
|
|
72
|
+
T !== void 0 && (O = await h(e, b, y, ++D, l(b, T), n, C));
|
|
73
|
+
let k = T !== void 0 && T.revisionId === o.revisionId && O !== void 0 ? O : await h(e, b, y, ++D, E, n, C), A = C == null ? {} : { tenantId: C }, j = await e.insert(`${b.name}_drafts`, {
|
|
74
|
+
...E,
|
|
75
|
+
id: w,
|
|
76
|
+
documentId: y,
|
|
77
|
+
...m(n),
|
|
78
|
+
status: o.status,
|
|
79
|
+
revisionId: k.id,
|
|
80
|
+
revision: k.number,
|
|
81
|
+
...A
|
|
82
|
+
});
|
|
83
|
+
if (await r(e, b, j, n, "draft"), s(b) && await c(e, b, j, n, "draft"), d++, T !== void 0 && O !== void 0) {
|
|
84
|
+
if (typeof C != "string" || C === "") throw new t({ reason: "scope" });
|
|
85
|
+
await i(e, {
|
|
86
|
+
tenantId: C,
|
|
87
|
+
site: g.site,
|
|
88
|
+
environment: g.to
|
|
89
|
+
});
|
|
90
|
+
let o = await e.insert(`${b.name}_published`, {
|
|
91
|
+
...l(b, T),
|
|
92
|
+
id: w,
|
|
93
|
+
documentId: y,
|
|
94
|
+
...m(n),
|
|
95
|
+
status: "published",
|
|
96
|
+
revisionId: O.id,
|
|
97
|
+
revision: O.number,
|
|
98
|
+
...A
|
|
99
|
+
});
|
|
100
|
+
await a(e, b, o, n, "published"), await u(e, b, o, n), await c(e, b, o, n), await f(e, b, o, n), await r(e, b, o, n, "published"), S.add(`${n.locale}\u0000${String(C ?? "")}`), v++;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
for (let t of S) {
|
|
104
|
+
let [n, r] = t.split("\0");
|
|
105
|
+
await o(e, b, {
|
|
106
|
+
site: g.site,
|
|
107
|
+
environment: g.to,
|
|
108
|
+
locale: n
|
|
109
|
+
}, r === "" ? void 0 : r);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return {
|
|
113
|
+
ok: !0,
|
|
114
|
+
variants: d,
|
|
115
|
+
published: v
|
|
116
|
+
};
|
|
117
|
+
});
|
|
118
|
+
}, S = (e) => JSON.stringify(e, (e, t) => typeof t == "object" && t && !Array.isArray(t) && !(t instanceof Date) ? Object.fromEntries(Object.entries(t).sort(([e], [t]) => e < t ? -1 : 1)) : t), C = (e) => {
|
|
119
|
+
for (let t of [
|
|
120
|
+
"title",
|
|
121
|
+
"name",
|
|
122
|
+
"slug"
|
|
123
|
+
]) if (typeof e[t] == "string" && e[t] !== "") return e[t];
|
|
124
|
+
return String(e.documentId);
|
|
125
|
+
}, w = async (e, t, n) => {
|
|
126
|
+
let r = [];
|
|
127
|
+
for (let i of t) {
|
|
128
|
+
let t = async (t) => new Set((await y(e, `${i.name}_drafts`, n.site, t)).map((e) => String(e.documentId))), [a, o] = [await t(n.from), await t(n.to)], s = async (t) => new Map((await y(e, `${i.name}_published`, n.site, t)).map((e) => [`${String(e.documentId)}\u0000${String(e.locale)}`, e])), [c, u] = [await s(n.from), await s(n.to)], d = [];
|
|
129
|
+
for (let [e, t] of c) {
|
|
130
|
+
let n = u.get(e);
|
|
131
|
+
n !== void 0 && S(l(i, t)) !== S(l(i, n)) && d.push({
|
|
132
|
+
documentId: String(t.documentId),
|
|
133
|
+
locale: String(t.locale),
|
|
134
|
+
title: C(n)
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
r.push({
|
|
138
|
+
contentType: i.name,
|
|
139
|
+
onlyInFrom: [...a].filter((e) => !o.has(e)).length,
|
|
140
|
+
onlyInTo: [...o].filter((e) => !a.has(e)).length,
|
|
141
|
+
differing: d
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
return r;
|
|
145
|
+
}, T = (...e) => n(() => w(...e)), E = (...r) => n(() => x(...r), t, e);
|
|
146
|
+
//#endregion
|
|
147
|
+
export { w as compareEnvironments, T as compareEnvironmentsEffect, x as copyEnvironment, E as copyEnvironmentEffect, b as lockEnvironmentPairForPublication };
|
package/dist/errors.js
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Schema as e } from "effect";
|
|
2
|
+
//#region src/errors.ts
|
|
3
|
+
var t = class extends e.TaggedError()("EnvironmentAliasUnavailable", { reason: e.Literals([
|
|
4
|
+
"scope",
|
|
5
|
+
"name",
|
|
6
|
+
"target",
|
|
7
|
+
"missing",
|
|
8
|
+
"conflict",
|
|
9
|
+
"revision",
|
|
10
|
+
"state"
|
|
11
|
+
]) }) {}, n = e.Struct({
|
|
12
|
+
field: e.String,
|
|
13
|
+
rule: e.String,
|
|
14
|
+
message: e.String
|
|
15
|
+
}), r = class extends e.TaggedError()("ContentValidationFailed", {
|
|
16
|
+
contentType: e.String,
|
|
17
|
+
violations: e.Array(n)
|
|
18
|
+
}) {}, i = class extends e.TaggedError()("ContentNotFound", {
|
|
19
|
+
contentType: e.String,
|
|
20
|
+
id: e.String,
|
|
21
|
+
stage: e.Literals([
|
|
22
|
+
"draft",
|
|
23
|
+
"published",
|
|
24
|
+
"revision",
|
|
25
|
+
"share"
|
|
26
|
+
])
|
|
27
|
+
}) {}, a = class extends e.TaggedError()("ContentGone", {
|
|
28
|
+
contentType: e.String,
|
|
29
|
+
path: e.String
|
|
30
|
+
}) {}, o = class extends e.TaggedError()("ContentIdConflict", {
|
|
31
|
+
contentType: e.String,
|
|
32
|
+
id: e.String
|
|
33
|
+
}) {}, s = class extends e.TaggedError()("RevisionMismatch", {
|
|
34
|
+
contentType: e.String,
|
|
35
|
+
id: e.String,
|
|
36
|
+
expected: e.String,
|
|
37
|
+
actual: e.String
|
|
38
|
+
}) {}, c = class extends e.TaggedError()("ReleaseNotEditable", {
|
|
39
|
+
id: e.String,
|
|
40
|
+
status: e.String
|
|
41
|
+
}) {}, l = class extends e.TaggedError()("PreviewShareRejected", { reason: e.Literals(["expiryInPast", "expiryTooFar"]) }) {}, u = class extends e.TaggedError()("ReviewRequired", {
|
|
42
|
+
contentType: e.String,
|
|
43
|
+
id: e.String,
|
|
44
|
+
revisionId: e.String
|
|
45
|
+
}) {}, d = class extends e.TaggedError()("ReviewStepRefused", {
|
|
46
|
+
contentType: e.String,
|
|
47
|
+
id: e.String,
|
|
48
|
+
reason: e.Literals([
|
|
49
|
+
"notInReview",
|
|
50
|
+
"selfApproval",
|
|
51
|
+
"ambiguousOrder"
|
|
52
|
+
])
|
|
53
|
+
}) {}, f = class extends e.TaggedError()("ReferenceUnavailable", {
|
|
54
|
+
contentType: e.String,
|
|
55
|
+
id: e.String,
|
|
56
|
+
targets: e.Array(e.Struct({
|
|
57
|
+
path: e.String,
|
|
58
|
+
contentType: e.String,
|
|
59
|
+
documentId: e.String,
|
|
60
|
+
reason: e.Literals([
|
|
61
|
+
"blocked",
|
|
62
|
+
"expired",
|
|
63
|
+
"notYet",
|
|
64
|
+
"territory",
|
|
65
|
+
"channel",
|
|
66
|
+
"purpose"
|
|
67
|
+
])
|
|
68
|
+
}))
|
|
69
|
+
}) {}, p = class extends e.TaggedError()("QuotaExceeded", {
|
|
70
|
+
quota: e.String,
|
|
71
|
+
limit: e.Number,
|
|
72
|
+
used: e.Number
|
|
73
|
+
}) {}, m = class extends e.TaggedError()("ChangeFeedUnavailable", { reason: e.Literals([
|
|
74
|
+
"scope",
|
|
75
|
+
"cursor",
|
|
76
|
+
"migration",
|
|
77
|
+
"exhausted"
|
|
78
|
+
]) }) {}, h = class extends e.TaggedError()("SiteStateUnavailable", { reason: e.Literals(["scope", "state"]) }) {}, g = class extends e.TaggedError()("SiteBindingUnavailable", { reason: e.Literals([
|
|
79
|
+
"scope",
|
|
80
|
+
"name",
|
|
81
|
+
"target",
|
|
82
|
+
"missing",
|
|
83
|
+
"conflict",
|
|
84
|
+
"revision",
|
|
85
|
+
"state"
|
|
86
|
+
]) }) {}, _ = class extends e.TaggedError()("SiteDeliveryUnavailable", { reason: e.Literals([
|
|
87
|
+
"definition",
|
|
88
|
+
"environment",
|
|
89
|
+
"locale",
|
|
90
|
+
"fallback",
|
|
91
|
+
"prefix",
|
|
92
|
+
"binding"
|
|
93
|
+
]) }) {}, v = class extends e.TaggedError()("ContentLocationUnavailable", { reason: e.Literals([
|
|
94
|
+
"definition",
|
|
95
|
+
"field",
|
|
96
|
+
"tree",
|
|
97
|
+
"path",
|
|
98
|
+
"bounds"
|
|
99
|
+
]) }) {}, y = class extends e.TaggedError()("ContentSeoUnavailable", { reason: e.Literals([
|
|
100
|
+
"definition",
|
|
101
|
+
"field",
|
|
102
|
+
"defaults",
|
|
103
|
+
"values",
|
|
104
|
+
"scope"
|
|
105
|
+
]) }) {};
|
|
106
|
+
//#endregion
|
|
107
|
+
export { m as ChangeFeedUnavailable, a as ContentGone, o as ContentIdConflict, v as ContentLocationUnavailable, i as ContentNotFound, y as ContentSeoUnavailable, r as ContentValidationFailed, t as EnvironmentAliasUnavailable, l as PreviewShareRejected, p as QuotaExceeded, f as ReferenceUnavailable, c as ReleaseNotEditable, u as ReviewRequired, d as ReviewStepRefused, s as RevisionMismatch, g as SiteBindingUnavailable, _ as SiteDeliveryUnavailable, h as SiteStateUnavailable };
|