@phtngyn/cms 0.2.0-beta.6 → 0.2.0-beta.8
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 +1 -0
- package/README.md +7 -4
- package/package.json +1 -1
- package/src/ApplicationTypes.d.ts +1 -1
- package/src/{Configuration-JQ1qyaU0.js → Configuration-CMweD9bn.js} +3 -3
- package/src/{Configuration-JQ1qyaU0.js.map → Configuration-CMweD9bn.js.map} +1 -1
- package/src/Configuration.d.ts +1 -1
- package/src/Content.js +4 -4
- package/src/Content.js.map +1 -1
- package/src/{DocumentEngine-j6Vi7nQo.js → DocumentEngine-tYtwbBjr.js} +7 -7
- package/src/DocumentEngine-tYtwbBjr.js.map +1 -0
- package/src/{HttpPaths-c9nLZ9H2.js → HttpPaths-Be3vshPJ.js} +2 -3
- package/src/HttpPaths-Be3vshPJ.js.map +1 -0
- package/src/{I18n-zbqpWxki.d.ts → I18n-wxswIRyY.d.ts} +3 -2
- package/src/I18n.d.ts +1 -1
- package/src/Module.js +2 -13
- package/src/Module.js.map +1 -1
- package/src/{S3MediaObjects-BRuPQbxl.js → S3MediaObjects-BXfjaZOu.js} +20 -6
- package/src/S3MediaObjects-BXfjaZOu.js.map +1 -0
- package/src/cli.js +3 -3
- package/src/{dev-lifecycle-CExksm2R.js → dev-lifecycle-3I_pozUl.js} +8 -8
- package/src/dev-lifecycle-3I_pozUl.js.map +1 -0
- package/src/{installation-BoG8E3nJ.js → installation-DxqSSVbH.js} +11 -22
- package/src/installation-DxqSSVbH.js.map +1 -0
- package/src/internal/authoring-catalog.js +1 -1
- package/src/internal/authoring-metadata.js +1 -1
- package/src/internal/configuration.js +1 -1
- package/src/internal/dev-lifecycle.js +1 -1
- package/src/internal/document-model.js +3 -3
- package/src/internal/document-model.js.map +1 -1
- package/src/internal/i18n.js +2 -2
- package/src/internal/i18n.js.map +1 -1
- package/src/internal/studio-app.js +3 -3
- package/src/internal/studio-app.js.map +1 -1
- package/src/{metadata-UzZmjwxM.js → metadata-DN9_K6Yl.js} +87 -7
- package/src/metadata-DN9_K6Yl.js.map +1 -0
- package/src/runtime/delivery/plugin.js +7 -2
- package/src/runtime/delivery/plugin.js.map +1 -1
- package/src/runtime/delivery/useDocument.js +1 -1
- package/src/runtime/delivery/useDocumentQuery.js +1 -1
- package/src/runtime/forms/useCmsForm.js +1 -1
- package/src/runtime/i18n/translator.js +10 -3
- package/src/runtime/i18n/translator.js.map +1 -1
- package/src/runtime/i18n/useCmsI18n.d.ts +1 -1
- package/src/runtime/installation.js +1 -1
- package/src/runtime/plugin.js +1 -1
- package/src/runtime/preview/controller.js +3 -2
- package/src/runtime/preview/controller.js.map +1 -1
- package/src/runtime/preview/crypto.js +16 -0
- package/src/runtime/preview/crypto.js.map +1 -0
- package/src/runtime/preview/plugin.client.js +1 -1
- package/src/runtime/preview/store.js +1 -1
- package/src/runtime/sitemap.js +1 -1
- package/src/runtime/studio-app.js +1 -1
- package/src/runtime/studio-app.js.map +1 -1
- package/src/runtime/studio-document.js +46 -0
- package/src/runtime/studio-document.js.map +1 -0
- package/src/runtime/studio-entry.js +5 -22
- package/src/runtime/studio-entry.js.map +1 -1
- package/src/runtime/studio-navigation.js +2 -2
- package/src/runtime/studio-navigation.js.map +1 -1
- package/src/{store-PKKB8xa2.js → store-X1e1o_MF.js} +2 -2
- package/src/{store-PKKB8xa2.js.map → store-X1e1o_MF.js.map} +1 -1
- package/studio/{CreateDocumentDialog-DqvusuGU.js → CreateDocumentDialog-C4_JBo1w.js} +90 -90
- package/studio/{SelectMenu-BgikeouH.js → SelectMenu-wXqxymUw.js} +8626 -8496
- package/studio/host.js +4244 -4151
- package/src/DocumentEngine-j6Vi7nQo.js.map +0 -1
- package/src/HttpPaths-c9nLZ9H2.js.map +0 -1
- package/src/S3MediaObjects-BRuPQbxl.js.map +0 -1
- package/src/dev-lifecycle-CExksm2R.js.map +0 -1
- package/src/installation-BoG8E3nJ.js.map +0 -1
- package/src/metadata-UzZmjwxM.js.map +0 -1
|
@@ -2,12 +2,12 @@ import { i as DocumentVersion, l as Slug, n as DocumentHistoryCursor, o as Publi
|
|
|
2
2
|
import { $ as MEDIA_ACTIONS, A as RestoreDocumentInput, B as SeoConfiguration, C as MoveDocumentInput, D as PublishedDocumentQuery, E as PublishedDocumentPage, F as GlobalSeoSettings, G as SeoSnapshot, H as SeoMediaUnavailable, I as PublishSeoInput, J as SeoVersionConflict, K as SeoState, L as SaveSeoInput, N as UpdateDocumentInput, O as PublishedDocumentSurroundQuery, Q as DOCUMENT_ACTIONS, R as SeoCanonicalOrigin, T as PublishedDocumentLookup, U as SeoMutationResult, V as SeoConfirmationRequired, X as AccessDenied, Y as SitemapEntry, Z as AuthenticationRequired, b as DocumentValidationResult, d as DocumentNavigationItem, et as Role, f as DocumentNavigationQuery, g as DocumentSource, h as DocumentRevisionAction, i as CreateDocumentInput, j as UndeleteDocumentInput, k as RemoveDocumentInput, l as DocumentIssue, m as DocumentQueryScalar, n as CmsMarkdownDocument, nt as StudioEntryDenied, o as DeletedDocument, p as DocumentPlacement, q as SeoUrl, r as CompiledDocument, s as DocumentBrowseQuery, st as RequestId, tt as StudioActor, u as DocumentMutationResult, v as DocumentSummary, w as PublishDocumentInput, x as DuplicateDocumentInput, y as DocumentSurround, z as SeoCapabilities } from "./models-VmGmG19-.js";
|
|
3
3
|
import { _ as MediaReferenced, a as MediaConflict, b as MediaUpload, c as MediaId, f as MediaNotFound, g as MediaReference, h as MediaQuery, i as MediaCleanupReport, l as MediaIntegrityReport, m as MediaPage, n as MediaAsset, p as MediaObjectKey, r as MediaByteSize, s as MediaFolder, t as ImageMimeType, u as MediaInvalid, y as MediaTooLarge } from "./Media-j1bTritO.js";
|
|
4
4
|
import { a as ContentSnapshot, c as ContentTransferConflict, d as DocumentNotFound, f as DocumentRouteConflict, h as PublishedDocumentNotFound, i as ContentPlan, l as ContentTransferInput, m as DocumentVersionConflict, n as ContentApplyResult, p as DocumentValidationFailed, t as ContentApplyInput, u as DocumentMediaUnavailable } from "./ContentTransfer-BxwswWn3.js";
|
|
5
|
-
import { u as STUDIO_API_PATH } from "./HttpPaths-
|
|
5
|
+
import { u as STUDIO_API_PATH } from "./HttpPaths-Be3vshPJ.js";
|
|
6
6
|
import { c as FormSubmission, o as FormResult } from "./Forms-CfNPTiCr.js";
|
|
7
7
|
import { m as toComarkDocument } from "./Forms-CX-hwmJF.js";
|
|
8
|
-
import { i as withoutEditorMetadata } from "./metadata-
|
|
9
|
-
import { f as EditorRenderFailed, i as MediaConfiguration, r as DocumentConfiguration } from "./Configuration-
|
|
10
|
-
import { n as DocumentCompilationFailed, t as createDocumentEngine } from "./DocumentEngine-
|
|
8
|
+
import { i as withoutEditorMetadata } from "./metadata-DN9_K6Yl.js";
|
|
9
|
+
import { f as EditorRenderFailed, i as MediaConfiguration, r as DocumentConfiguration } from "./Configuration-CMweD9bn.js";
|
|
10
|
+
import { n as DocumentCompilationFailed, t as createDocumentEngine } from "./DocumentEngine-tYtwbBjr.js";
|
|
11
11
|
import { Context, Crypto, Data, DateTime, Effect, Encoding, Layer, Option, Predicate, PubSub, Redacted, Ref, Result, Schedule, Schema, Semaphore, Stream, flow } from "effect";
|
|
12
12
|
import { NodeStream } from "@effect/platform-node-shared";
|
|
13
13
|
import { Multipart } from "effect/unstable/http";
|
|
@@ -183,6 +183,20 @@ var DocumentHistoryComparisonTooLarge = class extends Schema.TaggedError()("Docu
|
|
|
183
183
|
* Collaboration handshake and WebSocket envelopes. Command results correlate by RequestId;
|
|
184
184
|
* checkpoints carry the durable state vector needed for retry and recovery.
|
|
185
185
|
*/
|
|
186
|
+
const CollaborationColors = [
|
|
187
|
+
"#2563eb",
|
|
188
|
+
"#7c3aed",
|
|
189
|
+
"#db2777",
|
|
190
|
+
"#dc2626",
|
|
191
|
+
"#d97706",
|
|
192
|
+
"#059669",
|
|
193
|
+
"#0891b2",
|
|
194
|
+
"#4f46e5",
|
|
195
|
+
"#9333ea",
|
|
196
|
+
"#c026d3",
|
|
197
|
+
"#e11d48",
|
|
198
|
+
"#0d9488"
|
|
199
|
+
];
|
|
186
200
|
const StateVector = Schema.String.check(Schema.isBase64()).pipe(Schema.brand("StateVector"));
|
|
187
201
|
const HttpErrorStatus = Schema.Int.check(Schema.isBetween({
|
|
188
202
|
minimum: 400,
|
|
@@ -2738,5 +2752,5 @@ function storageError(operation, message) {
|
|
|
2738
2752
|
const maxS3SingleCopyBytes = 5e9;
|
|
2739
2753
|
|
|
2740
2754
|
//#endregion
|
|
2741
|
-
export {
|
|
2742
|
-
//# sourceMappingURL=S3MediaObjects-
|
|
2755
|
+
export { DocumentHistoryComparisonTooLarge as $, StudioAuthentication as A, CreateUserInput as B, DocumentPersistenceError as C, defaultAccessControlLayer as D, AccessControl as E, StudioInternalError as F, UserPage as G, UserAdministrationDenied as H, studioInternalError as I, CollaborationClientMessage as J, UserSelfRemovalDenied as K, InitializationAlreadyCompleted as L, StudioBootstrap as M, StudioRequestConflict as N, CurrentStudioRequest as O, StudioSchemaError as P, StateVector as Q, InitializationProofInvalid as R, DocumentGenerationConflict as S, renderEditorMarkdown as T, UserAlreadyExists as U, User as V, UserNotFound as W, CollaborationServerMessage as X, CollaborationColors as Y, CollaborationTicket as Z, Documents as _, mediaObjectPrefix as a, ActivityCursor as at, cursorCodec as b, Seo as c, ActivityEntryDraft as ct, seoDeliveryLayer as d, ActivityTarget as dt, DocumentHistoryInvalidCursor as et, seoLayer as f, ActivityTargetKind as ft, DocumentPreviews as g, DocumentMaintenance as h, MediaObjectStore as i, ActivityContext as it, StudioBadRequest as j, StudioApi as k, SeoDelivery as l, ActivityId as lt, SeoStore as m, s3MediaObjectStoreLayer as n, ACTIVITY_ACTIONS as nt, PreviewSeo as o, ActivityCursorInvalid as ot, SeoPersistenceError as p, UserSelfRoleChangeDenied as q, MediaPersistenceError as r, ActivityAction as rt, PublishedSeo as s, ActivityEntry as st, maxS3SingleCopyBytes as t, DocumentRevision as tt, makeDefaultSeoOptions as u, ActivityPage as ut, PublishedDocuments as v, DocumentStore as w, DocumentConfigurationConflict as x, documentsLayer as y, InitializationState as z };
|
|
2756
|
+
//# sourceMappingURL=S3MediaObjects-BXfjaZOu.js.map
|