@vcp-dev/contracts 0.6.3 → 0.6.5
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/dist/connect-form.d.ts +6 -6
- package/dist/designer-component-library.d.ts +52 -0
- package/dist/index.d.ts +99 -0
- package/dist/index.js +1 -1
- package/dist/site-edit-operation.d.ts +1 -1
- package/dist/site-edit-render-document.d.ts +1 -1
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/user-facing-copy.d.ts +1 -0
- package/package.json +1 -1
|
@@ -37,6 +37,7 @@ export type SiteEditOperationTarget = z.infer<typeof SiteEditOperationTargetSche
|
|
|
37
37
|
export declare const SiteEditStylePropertySchema: z.ZodEnum<{
|
|
38
38
|
color: "color";
|
|
39
39
|
transform: "transform";
|
|
40
|
+
cursor: "cursor";
|
|
40
41
|
width: "width";
|
|
41
42
|
height: "height";
|
|
42
43
|
order: "order";
|
|
@@ -116,7 +117,6 @@ export declare const SiteEditStylePropertySchema: z.ZodEnum<{
|
|
|
116
117
|
transitionTimingFunction: "transitionTimingFunction";
|
|
117
118
|
animation: "animation";
|
|
118
119
|
pointerEvents: "pointerEvents";
|
|
119
|
-
cursor: "cursor";
|
|
120
120
|
userSelect: "userSelect";
|
|
121
121
|
fontStyle: "fontStyle";
|
|
122
122
|
textUnderlineOffset: "textUnderlineOffset";
|
|
@@ -452,6 +452,7 @@ export declare const SiteEditStyleModelSchema: z.ZodUnion<readonly [z.ZodRecord<
|
|
|
452
452
|
property: z.ZodEnum<{
|
|
453
453
|
color: "color";
|
|
454
454
|
transform: "transform";
|
|
455
|
+
cursor: "cursor";
|
|
455
456
|
width: "width";
|
|
456
457
|
height: "height";
|
|
457
458
|
order: "order";
|
|
@@ -531,7 +532,6 @@ export declare const SiteEditStyleModelSchema: z.ZodUnion<readonly [z.ZodRecord<
|
|
|
531
532
|
transitionTimingFunction: "transitionTimingFunction";
|
|
532
533
|
animation: "animation";
|
|
533
534
|
pointerEvents: "pointerEvents";
|
|
534
|
-
cursor: "cursor";
|
|
535
535
|
userSelect: "userSelect";
|
|
536
536
|
fontStyle: "fontStyle";
|
|
537
537
|
textUnderlineOffset: "textUnderlineOffset";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* 由 release-edit-engine-packages.ts 在 bump 版本时自动更新。
|
|
7
7
|
*/
|
|
8
|
-
export declare const CURRENT_EDIT_ENGINE_VERSION = "0.6.
|
|
8
|
+
export declare const CURRENT_EDIT_ENGINE_VERSION = "0.6.5";
|
|
9
9
|
export declare const EDIT_ENGINE_VERSION_HEADER = "x-vcp-edit-engine-version";
|
|
10
10
|
export declare const EDIT_ENGINE_VERSION_SOURCE_HEADER = "x-vcp-edit-engine-version-source";
|
|
11
11
|
export type EditEngineVersionSource = "explicit" | "fallback_current" | "system_current";
|
|
@@ -52,6 +52,7 @@ export declare const ERROR_COPY: {
|
|
|
52
52
|
readonly SITE_OPERATION_LOCKED: "Another change is already running for this site. Wait for it to finish, then try again.";
|
|
53
53
|
readonly EDIT_ENGINE_VERSION_INVALID: "Invalid editor version. Refresh the page and try again.";
|
|
54
54
|
readonly SANDBOX_DEPENDENCY_SYNC_FAILED: "The preview runtime could not be prepared. Please try again.";
|
|
55
|
+
readonly SANDBOX_PREVIEW_FAILED: "The site preview failed to start. Please try again.";
|
|
55
56
|
readonly SANDBOX_DEPENDENCY_VERSION_MISMATCH: "The preview runtime could not be verified. Please try again.";
|
|
56
57
|
readonly SANDBOX_RUNTIME_NOT_READY: "The preview needs to be refreshed before this change can be applied. Refresh the preview and try again.";
|
|
57
58
|
readonly GENERIC: "Something went wrong. Please try again.";
|