@vcp-dev/contracts 0.8.2 → 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 +126 -0
- package/dist/designer-page-library.d.ts +10 -0
- package/dist/index.d.ts +77 -29
- 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 +11 -165
- 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` 通行
|
|
@@ -21,27 +21,13 @@ export declare const CheckSitePublishDomainDataSchema: z.ZodObject<{
|
|
|
21
21
|
gsc: "gsc";
|
|
22
22
|
publish: "publish";
|
|
23
23
|
}>;
|
|
24
|
-
|
|
25
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
26
|
-
failed: "failed";
|
|
27
|
-
succeeded: "succeeded";
|
|
28
|
-
pending: "pending";
|
|
29
|
-
running: "running";
|
|
30
|
-
}>;
|
|
31
|
-
quality_task_code: z.ZodString;
|
|
24
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
32
25
|
quality_task_status: z.ZodEnum<{
|
|
33
26
|
failed: "failed";
|
|
34
27
|
succeeded: "succeeded";
|
|
35
28
|
pending: "pending";
|
|
36
29
|
running: "running";
|
|
37
30
|
}>;
|
|
38
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
39
|
-
task_status: z.ZodEnum<{
|
|
40
|
-
failed: "failed";
|
|
41
|
-
succeeded: "succeeded";
|
|
42
|
-
pending: "pending";
|
|
43
|
-
running: "running";
|
|
44
|
-
}>;
|
|
45
31
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
46
32
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
47
33
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -110,27 +96,13 @@ export declare const CheckSitePublishDomainResponseSchema: z.ZodObject<{
|
|
|
110
96
|
gsc: "gsc";
|
|
111
97
|
publish: "publish";
|
|
112
98
|
}>;
|
|
113
|
-
|
|
114
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
115
|
-
failed: "failed";
|
|
116
|
-
succeeded: "succeeded";
|
|
117
|
-
pending: "pending";
|
|
118
|
-
running: "running";
|
|
119
|
-
}>;
|
|
120
|
-
quality_task_code: z.ZodString;
|
|
99
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
121
100
|
quality_task_status: z.ZodEnum<{
|
|
122
101
|
failed: "failed";
|
|
123
102
|
succeeded: "succeeded";
|
|
124
103
|
pending: "pending";
|
|
125
104
|
running: "running";
|
|
126
105
|
}>;
|
|
127
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
128
|
-
task_status: z.ZodEnum<{
|
|
129
|
-
failed: "failed";
|
|
130
|
-
succeeded: "succeeded";
|
|
131
|
-
pending: "pending";
|
|
132
|
-
running: "running";
|
|
133
|
-
}>;
|
|
134
106
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
135
107
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
136
108
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -199,27 +171,13 @@ export declare const GetSitePublishDomainOperationDataSchema: z.ZodObject<{
|
|
|
199
171
|
gsc: "gsc";
|
|
200
172
|
publish: "publish";
|
|
201
173
|
}>;
|
|
202
|
-
|
|
203
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
204
|
-
failed: "failed";
|
|
205
|
-
succeeded: "succeeded";
|
|
206
|
-
pending: "pending";
|
|
207
|
-
running: "running";
|
|
208
|
-
}>;
|
|
209
|
-
quality_task_code: z.ZodString;
|
|
174
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
210
175
|
quality_task_status: z.ZodEnum<{
|
|
211
176
|
failed: "failed";
|
|
212
177
|
succeeded: "succeeded";
|
|
213
178
|
pending: "pending";
|
|
214
179
|
running: "running";
|
|
215
180
|
}>;
|
|
216
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
217
|
-
task_status: z.ZodEnum<{
|
|
218
|
-
failed: "failed";
|
|
219
|
-
succeeded: "succeeded";
|
|
220
|
-
pending: "pending";
|
|
221
|
-
running: "running";
|
|
222
|
-
}>;
|
|
223
181
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
224
182
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
225
183
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -288,27 +246,13 @@ export declare const GetSitePublishDomainOperationResponseSchema: z.ZodObject<{
|
|
|
288
246
|
gsc: "gsc";
|
|
289
247
|
publish: "publish";
|
|
290
248
|
}>;
|
|
291
|
-
|
|
292
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
293
|
-
failed: "failed";
|
|
294
|
-
succeeded: "succeeded";
|
|
295
|
-
pending: "pending";
|
|
296
|
-
running: "running";
|
|
297
|
-
}>;
|
|
298
|
-
quality_task_code: z.ZodString;
|
|
249
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
299
250
|
quality_task_status: z.ZodEnum<{
|
|
300
251
|
failed: "failed";
|
|
301
252
|
succeeded: "succeeded";
|
|
302
253
|
pending: "pending";
|
|
303
254
|
running: "running";
|
|
304
255
|
}>;
|
|
305
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
306
|
-
task_status: z.ZodEnum<{
|
|
307
|
-
failed: "failed";
|
|
308
|
-
succeeded: "succeeded";
|
|
309
|
-
pending: "pending";
|
|
310
|
-
running: "running";
|
|
311
|
-
}>;
|
|
312
256
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
313
257
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
314
258
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -378,27 +322,13 @@ export declare const ReconcileSitePublishDomainOperationDataSchema: z.ZodObject<
|
|
|
378
322
|
gsc: "gsc";
|
|
379
323
|
publish: "publish";
|
|
380
324
|
}>;
|
|
381
|
-
|
|
382
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
383
|
-
failed: "failed";
|
|
384
|
-
succeeded: "succeeded";
|
|
385
|
-
pending: "pending";
|
|
386
|
-
running: "running";
|
|
387
|
-
}>;
|
|
388
|
-
quality_task_code: z.ZodString;
|
|
325
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
389
326
|
quality_task_status: z.ZodEnum<{
|
|
390
327
|
failed: "failed";
|
|
391
328
|
succeeded: "succeeded";
|
|
392
329
|
pending: "pending";
|
|
393
330
|
running: "running";
|
|
394
331
|
}>;
|
|
395
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
396
|
-
task_status: z.ZodEnum<{
|
|
397
|
-
failed: "failed";
|
|
398
|
-
succeeded: "succeeded";
|
|
399
|
-
pending: "pending";
|
|
400
|
-
running: "running";
|
|
401
|
-
}>;
|
|
402
332
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
403
333
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
404
334
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -467,27 +397,13 @@ export declare const ReconcileSitePublishDomainOperationResponseSchema: z.ZodObj
|
|
|
467
397
|
gsc: "gsc";
|
|
468
398
|
publish: "publish";
|
|
469
399
|
}>;
|
|
470
|
-
|
|
471
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
472
|
-
failed: "failed";
|
|
473
|
-
succeeded: "succeeded";
|
|
474
|
-
pending: "pending";
|
|
475
|
-
running: "running";
|
|
476
|
-
}>;
|
|
477
|
-
quality_task_code: z.ZodString;
|
|
400
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
478
401
|
quality_task_status: z.ZodEnum<{
|
|
479
402
|
failed: "failed";
|
|
480
403
|
succeeded: "succeeded";
|
|
481
404
|
pending: "pending";
|
|
482
405
|
running: "running";
|
|
483
406
|
}>;
|
|
484
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
485
|
-
task_status: z.ZodEnum<{
|
|
486
|
-
failed: "failed";
|
|
487
|
-
succeeded: "succeeded";
|
|
488
|
-
pending: "pending";
|
|
489
|
-
running: "running";
|
|
490
|
-
}>;
|
|
491
407
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
492
408
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
493
409
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -629,27 +545,13 @@ export declare const SitePublishDomainCheckDataSchema: z.ZodObject<{
|
|
|
629
545
|
gsc: "gsc";
|
|
630
546
|
publish: "publish";
|
|
631
547
|
}>;
|
|
632
|
-
|
|
633
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
634
|
-
failed: "failed";
|
|
635
|
-
succeeded: "succeeded";
|
|
636
|
-
pending: "pending";
|
|
637
|
-
running: "running";
|
|
638
|
-
}>;
|
|
639
|
-
quality_task_code: z.ZodString;
|
|
548
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
640
549
|
quality_task_status: z.ZodEnum<{
|
|
641
550
|
failed: "failed";
|
|
642
551
|
succeeded: "succeeded";
|
|
643
552
|
pending: "pending";
|
|
644
553
|
running: "running";
|
|
645
554
|
}>;
|
|
646
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
647
|
-
task_status: z.ZodEnum<{
|
|
648
|
-
failed: "failed";
|
|
649
|
-
succeeded: "succeeded";
|
|
650
|
-
pending: "pending";
|
|
651
|
-
running: "running";
|
|
652
|
-
}>;
|
|
653
555
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
654
556
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
655
557
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -718,27 +620,13 @@ export declare const SitePublishDomainCheckResponseSchema: z.ZodObject<{
|
|
|
718
620
|
gsc: "gsc";
|
|
719
621
|
publish: "publish";
|
|
720
622
|
}>;
|
|
721
|
-
|
|
722
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
723
|
-
failed: "failed";
|
|
724
|
-
succeeded: "succeeded";
|
|
725
|
-
pending: "pending";
|
|
726
|
-
running: "running";
|
|
727
|
-
}>;
|
|
728
|
-
quality_task_code: z.ZodString;
|
|
623
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
729
624
|
quality_task_status: z.ZodEnum<{
|
|
730
625
|
failed: "failed";
|
|
731
626
|
succeeded: "succeeded";
|
|
732
627
|
pending: "pending";
|
|
733
628
|
running: "running";
|
|
734
629
|
}>;
|
|
735
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
736
|
-
task_status: z.ZodEnum<{
|
|
737
|
-
failed: "failed";
|
|
738
|
-
succeeded: "succeeded";
|
|
739
|
-
pending: "pending";
|
|
740
|
-
running: "running";
|
|
741
|
-
}>;
|
|
742
630
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
743
631
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
744
632
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -807,27 +695,13 @@ export declare const SitePublishDomainOperationDataSchema: z.ZodObject<{
|
|
|
807
695
|
gsc: "gsc";
|
|
808
696
|
publish: "publish";
|
|
809
697
|
}>;
|
|
810
|
-
|
|
811
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
812
|
-
failed: "failed";
|
|
813
|
-
succeeded: "succeeded";
|
|
814
|
-
pending: "pending";
|
|
815
|
-
running: "running";
|
|
816
|
-
}>;
|
|
817
|
-
quality_task_code: z.ZodString;
|
|
698
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
818
699
|
quality_task_status: z.ZodEnum<{
|
|
819
700
|
failed: "failed";
|
|
820
701
|
succeeded: "succeeded";
|
|
821
702
|
pending: "pending";
|
|
822
703
|
running: "running";
|
|
823
704
|
}>;
|
|
824
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
825
|
-
task_status: z.ZodEnum<{
|
|
826
|
-
failed: "failed";
|
|
827
|
-
succeeded: "succeeded";
|
|
828
|
-
pending: "pending";
|
|
829
|
-
running: "running";
|
|
830
|
-
}>;
|
|
831
705
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
832
706
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
833
707
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -896,27 +770,13 @@ export declare const SitePublishDomainOperationResponseSchema: z.ZodObject<{
|
|
|
896
770
|
gsc: "gsc";
|
|
897
771
|
publish: "publish";
|
|
898
772
|
}>;
|
|
899
|
-
|
|
900
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
901
|
-
failed: "failed";
|
|
902
|
-
succeeded: "succeeded";
|
|
903
|
-
pending: "pending";
|
|
904
|
-
running: "running";
|
|
905
|
-
}>;
|
|
906
|
-
quality_task_code: z.ZodString;
|
|
773
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
907
774
|
quality_task_status: z.ZodEnum<{
|
|
908
775
|
failed: "failed";
|
|
909
776
|
succeeded: "succeeded";
|
|
910
777
|
pending: "pending";
|
|
911
778
|
running: "running";
|
|
912
779
|
}>;
|
|
913
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
914
|
-
task_status: z.ZodEnum<{
|
|
915
|
-
failed: "failed";
|
|
916
|
-
succeeded: "succeeded";
|
|
917
|
-
pending: "pending";
|
|
918
|
-
running: "running";
|
|
919
|
-
}>;
|
|
920
780
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
921
781
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
922
782
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|
|
@@ -987,27 +847,13 @@ export declare const SitePublishDomainReconcileOperationResponseSchema: z.ZodObj
|
|
|
987
847
|
gsc: "gsc";
|
|
988
848
|
publish: "publish";
|
|
989
849
|
}>;
|
|
990
|
-
|
|
991
|
-
sensitive_word_task_status: z.ZodEnum<{
|
|
992
|
-
failed: "failed";
|
|
993
|
-
succeeded: "succeeded";
|
|
994
|
-
pending: "pending";
|
|
995
|
-
running: "running";
|
|
996
|
-
}>;
|
|
997
|
-
quality_task_code: z.ZodString;
|
|
850
|
+
quality_task_code: z.ZodNullable<z.ZodString>;
|
|
998
851
|
quality_task_status: z.ZodEnum<{
|
|
999
852
|
failed: "failed";
|
|
1000
853
|
succeeded: "succeeded";
|
|
1001
854
|
pending: "pending";
|
|
1002
855
|
running: "running";
|
|
1003
856
|
}>;
|
|
1004
|
-
task_id: z.ZodNullable<z.ZodString>;
|
|
1005
|
-
task_status: z.ZodEnum<{
|
|
1006
|
-
failed: "failed";
|
|
1007
|
-
succeeded: "succeeded";
|
|
1008
|
-
pending: "pending";
|
|
1009
|
-
running: "running";
|
|
1010
|
-
}>;
|
|
1011
857
|
publish_deployment_id: z.ZodNullable<z.ZodUUID>;
|
|
1012
858
|
domain_hostname: z.ZodNullable<z.ZodString>;
|
|
1013
859
|
domain_operation_type: z.ZodNullable<z.ZodEnum<{
|