@vcp-dev/contracts 0.8.1 → 0.8.3
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/cms-page-directory.d.ts +135 -0
- package/dist/connect-form.d.ts +15 -2
- package/dist/custom-domain.d.ts +40 -0
- package/dist/designer-page-library.d.ts +10 -0
- package/dist/index.d.ts +85 -30
- package/dist/index.js +1 -1
- package/dist/launcher-prompt-templates.d.ts +2 -2
- package/dist/site-edit-render-document.d.ts +5 -0
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-locale.d.ts +4 -5
- package/dist/site-publish-domain.d.ts +334 -106
- package/dist/site-publish-workflow.d.ts +237 -186
- package/dist/step5-strategy.d.ts +2170 -87
- package/package.json +1 -1
|
@@ -274,9 +274,9 @@ export declare const LauncherPromptTemplateApplyRequestSchema: z.ZodObject<{
|
|
|
274
274
|
normalized_keyword: z.ZodString;
|
|
275
275
|
intc: z.ZodEnum<{
|
|
276
276
|
C: "C";
|
|
277
|
+
T: "T";
|
|
277
278
|
I: "I";
|
|
278
279
|
N: "N";
|
|
279
|
-
T: "T";
|
|
280
280
|
}>;
|
|
281
281
|
keyword_type: z.ZodString;
|
|
282
282
|
intent_strength: z.ZodEnum<{
|
|
@@ -462,9 +462,9 @@ export declare const LauncherPromptTemplateApplyResponseSchema: z.ZodObject<{
|
|
|
462
462
|
normalized_keyword: z.ZodString;
|
|
463
463
|
intc: z.ZodEnum<{
|
|
464
464
|
C: "C";
|
|
465
|
+
T: "T";
|
|
465
466
|
I: "I";
|
|
466
467
|
N: "N";
|
|
467
|
-
T: "T";
|
|
468
468
|
}>;
|
|
469
469
|
keyword_type: z.ZodString;
|
|
470
470
|
intent_strength: z.ZodEnum<{
|
|
@@ -25,6 +25,7 @@ export declare const SiteEditDynamicTargetKindSchema: z.ZodEnum<{
|
|
|
25
25
|
text: "text";
|
|
26
26
|
richtext: "richtext";
|
|
27
27
|
"repeat-region": "repeat-region";
|
|
28
|
+
"conditional-region": "conditional-region";
|
|
28
29
|
attribute: "attribute";
|
|
29
30
|
"component-prop": "component-prop";
|
|
30
31
|
}>;
|
|
@@ -65,6 +66,7 @@ export declare const SiteEditDynamicDataBindingSchema: z.ZodObject<{
|
|
|
65
66
|
text: "text";
|
|
66
67
|
richtext: "richtext";
|
|
67
68
|
"repeat-region": "repeat-region";
|
|
69
|
+
"conditional-region": "conditional-region";
|
|
68
70
|
attribute: "attribute";
|
|
69
71
|
"component-prop": "component-prop";
|
|
70
72
|
}>;
|
|
@@ -108,6 +110,7 @@ export declare const SiteEditDynamicDataDetailSchema: z.ZodObject<{
|
|
|
108
110
|
text: "text";
|
|
109
111
|
richtext: "richtext";
|
|
110
112
|
"repeat-region": "repeat-region";
|
|
113
|
+
"conditional-region": "conditional-region";
|
|
111
114
|
attribute: "attribute";
|
|
112
115
|
"component-prop": "component-prop";
|
|
113
116
|
}>;
|
|
@@ -908,6 +911,7 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
908
911
|
text: "text";
|
|
909
912
|
richtext: "richtext";
|
|
910
913
|
"repeat-region": "repeat-region";
|
|
914
|
+
"conditional-region": "conditional-region";
|
|
911
915
|
attribute: "attribute";
|
|
912
916
|
"component-prop": "component-prop";
|
|
913
917
|
}>;
|
|
@@ -1181,6 +1185,7 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
|
|
|
1181
1185
|
text: "text";
|
|
1182
1186
|
richtext: "richtext";
|
|
1183
1187
|
"repeat-region": "repeat-region";
|
|
1188
|
+
"conditional-region": "conditional-region";
|
|
1184
1189
|
attribute: "attribute";
|
|
1185
1190
|
"component-prop": "component-prop";
|
|
1186
1191
|
}>;
|
|
@@ -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.8.
|
|
8
|
+
export declare const CURRENT_EDIT_ENGINE_VERSION = "0.8.3";
|
|
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";
|
package/dist/site-locale.d.ts
CHANGED
|
@@ -28,11 +28,10 @@ export declare function resolveSiteLocaleFromIso6393(iso6393: string): SiteLocal
|
|
|
28
28
|
/**
|
|
29
29
|
* 书写系统非拉丁的 locale 闭集。用于 DesignPlan Stage A 的 SEO 关键词分流。
|
|
30
30
|
*
|
|
31
|
-
*
|
|
32
|
-
* DesignPlan
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* 表达。
|
|
31
|
+
* Step5 关键词可能包含来源语言中的产品名、品牌名或其他非 ASCII 字符,而
|
|
32
|
+
* DesignPlan 仍要求访客文案统一使用站点 locale。非拉丁书写系统站点不应机械
|
|
33
|
+
* 粘贴不同书写系统的关键词,因此这些 locale 只把关键词当语义主题信号,由模型
|
|
34
|
+
* 用站点语种自行表达。
|
|
36
35
|
*
|
|
37
36
|
* 写成显式常量清单而不是运行时推断:SiteLocale 是闭集枚举(47 selectable +
|
|
38
37
|
* 43 legacy),不是任意 BCP-47,推断只会引入不可控误判。`sr` 与 `mn-MN` 通行
|