@vcp-dev/contracts 0.8.5 → 0.9.1
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/colorway-distinctness.js +1 -1
- package/dist/custom-domain.d.ts +122 -2
- package/dist/design-tokens.js +1 -1
- package/dist/form-design.d.ts +8 -8
- package/dist/index.d.ts +73 -52
- package/dist/index.js +1 -1
- package/dist/site-edit-event.d.ts +10 -0
- package/dist/site-edit-history-status.d.ts +1 -1
- package/dist/site-edit-version.d.ts +2 -2
- package/dist/site-publish-domain.d.ts +821 -22
- package/dist/site-publish-workflow.d.ts +17 -0
- package/dist/step5-strategy.d.ts +718 -2
- package/dist/template-upgrade-observability.d.ts +2 -2
- package/dist/template-upgrade-state.d.ts +4 -4
- package/package.json +1 -1
|
@@ -176,5 +176,15 @@ export declare const SiteEditEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
176
176
|
}, z.core.$strict>;
|
|
177
177
|
message: z.ZodString;
|
|
178
178
|
at: z.ZodString;
|
|
179
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
180
|
+
type: z.ZodLiteral<"site-edit.snapshot.changed">;
|
|
181
|
+
siteId: z.ZodUUID;
|
|
182
|
+
composition: z.ZodObject<{
|
|
183
|
+
routeId: z.ZodString;
|
|
184
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
185
|
+
}, z.core.$strict>;
|
|
186
|
+
snapshotId: z.ZodUUID;
|
|
187
|
+
previousSnapshotId: z.ZodNullable<z.ZodString>;
|
|
188
|
+
at: z.ZodString;
|
|
179
189
|
}, z.core.$strict>], "type">;
|
|
180
190
|
export type SiteEditEvent = z.infer<typeof SiteEditEventSchema>;
|
|
@@ -12,9 +12,9 @@ export declare const SiteEditHistoryProvenanceSchema: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strict>;
|
|
13
13
|
export type SiteEditHistoryProvenance = z.infer<typeof SiteEditHistoryProvenanceSchema>;
|
|
14
14
|
export declare const SiteEditHistoryStatusModeSchema: z.ZodEnum<{
|
|
15
|
+
unavailable: "unavailable";
|
|
15
16
|
writable: "writable";
|
|
16
17
|
"read-only-recovery": "read-only-recovery";
|
|
17
|
-
unavailable: "unavailable";
|
|
18
18
|
}>;
|
|
19
19
|
export type SiteEditHistoryStatusMode = z.infer<typeof SiteEditHistoryStatusModeSchema>;
|
|
20
20
|
export declare const SiteEditHistoryRecoveryCodeSchema: z.ZodEnum<{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 当前 edit-engine 公开包统一版本号。
|
|
3
|
-
*
|
|
3
|
+
* 四个包(@vcp-dev/contracts / @vcp-dev/site-edit-engine / @vcp-dev/site-edit-bridge / @vcp-dev/i18n)
|
|
4
4
|
* 始终同号发布。
|
|
5
5
|
*
|
|
6
6
|
* 由 release-edit-engine-packages.ts 在 bump 版本时自动更新。
|
|
7
7
|
*/
|
|
8
|
-
export declare const CURRENT_EDIT_ENGINE_VERSION = "0.
|
|
8
|
+
export declare const CURRENT_EDIT_ENGINE_VERSION = "0.9.1";
|
|
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";
|