@vcp-dev/contracts 0.10.6 → 0.10.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.
@@ -269,7 +269,7 @@ export declare const LauncherPromptTemplateApplyRequestSchema: z.ZodObject<{
269
269
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
270
270
  }, z.core.$strip>>;
271
271
  }, z.core.$strip>>;
272
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
272
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
273
273
  id: z.ZodString;
274
274
  keyword: z.ZodString;
275
275
  business_id: z.ZodString;
@@ -301,42 +301,7 @@ export declare const LauncherPromptTemplateApplyRequestSchema: z.ZodObject<{
301
301
  variants: z.ZodArray<z.ZodString>;
302
302
  source: z.ZodLiteral<"semrush">;
303
303
  source_evidence: z.ZodArray<z.ZodString>;
304
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
305
- id: z.ZodString;
306
- keyword: z.ZodString;
307
- normalized_keyword: z.ZodString;
308
- intc: z.ZodEnum<{
309
- C: "C";
310
- I: "I";
311
- N: "N";
312
- T: "T";
313
- }>;
314
- keyword_type: z.ZodString;
315
- intent_strength: z.ZodEnum<{
316
- high: "high";
317
- medium: "medium";
318
- low: "low";
319
- }>;
320
- monthly_volume: z.ZodNullable<z.ZodNumber>;
321
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
322
- fit: z.ZodNullable<z.ZodNumber>;
323
- sem_cpc: z.ZodNullable<z.ZodNumber>;
324
- currency: z.ZodNullable<z.ZodString>;
325
- landing_page: z.ZodString;
326
- content_format: z.ZodString;
327
- priority: z.ZodEnum<{
328
- P0: "P0";
329
- P1: "P1";
330
- P2: "P2";
331
- P3: "P3";
332
- }>;
333
- source: z.ZodEnum<{
334
- semrush: "semrush";
335
- step5_generation: "step5_generation";
336
- }>;
337
- source_market: z.ZodString;
338
- metric_timestamp: z.ZodNullable<z.ZodString>;
339
- }, z.core.$strict>>]>>;
304
+ }, z.core.$strict>>>;
340
305
  pages: z.ZodArray<z.ZodObject<{
341
306
  id: z.ZodString;
342
307
  title: z.ZodString;
@@ -491,7 +456,7 @@ export declare const LauncherPromptTemplateApplyResponseSchema: z.ZodObject<{
491
456
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
492
457
  }, z.core.$strip>>;
493
458
  }, z.core.$strip>>;
494
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
459
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
495
460
  id: z.ZodString;
496
461
  keyword: z.ZodString;
497
462
  business_id: z.ZodString;
@@ -523,42 +488,7 @@ export declare const LauncherPromptTemplateApplyResponseSchema: z.ZodObject<{
523
488
  variants: z.ZodArray<z.ZodString>;
524
489
  source: z.ZodLiteral<"semrush">;
525
490
  source_evidence: z.ZodArray<z.ZodString>;
526
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
527
- id: z.ZodString;
528
- keyword: z.ZodString;
529
- normalized_keyword: z.ZodString;
530
- intc: z.ZodEnum<{
531
- C: "C";
532
- I: "I";
533
- N: "N";
534
- T: "T";
535
- }>;
536
- keyword_type: z.ZodString;
537
- intent_strength: z.ZodEnum<{
538
- high: "high";
539
- medium: "medium";
540
- low: "low";
541
- }>;
542
- monthly_volume: z.ZodNullable<z.ZodNumber>;
543
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
544
- fit: z.ZodNullable<z.ZodNumber>;
545
- sem_cpc: z.ZodNullable<z.ZodNumber>;
546
- currency: z.ZodNullable<z.ZodString>;
547
- landing_page: z.ZodString;
548
- content_format: z.ZodString;
549
- priority: z.ZodEnum<{
550
- P0: "P0";
551
- P1: "P1";
552
- P2: "P2";
553
- P3: "P3";
554
- }>;
555
- source: z.ZodEnum<{
556
- semrush: "semrush";
557
- step5_generation: "step5_generation";
558
- }>;
559
- source_market: z.ZodString;
560
- metric_timestamp: z.ZodNullable<z.ZodString>;
561
- }, z.core.$strict>>]>>;
491
+ }, z.core.$strict>>>;
562
492
  pages: z.ZodArray<z.ZodObject<{
563
493
  id: z.ZodString;
564
494
  title: z.ZodString;
@@ -666,7 +596,6 @@ export declare const UpstreamPromptTemplateConsumeDataSchema: z.ZodObject<{
666
596
  source: z.ZodOptional<z.ZodUnknown>;
667
597
  }, z.core.$strict>, z.ZodObject<{
668
598
  pages: z.ZodArray<z.ZodObject<{
669
- nodeId: z.ZodOptional<z.ZodString>;
670
599
  slug: z.ZodString;
671
600
  navigation: z.ZodObject<{
672
601
  showInHeader: z.ZodBoolean;
@@ -685,6 +614,8 @@ export declare const UpstreamPromptTemplateConsumeDataSchema: z.ZodObject<{
685
614
  }, z.core.$strict>>;
686
615
  thumbnail: z.ZodOptional<z.ZodString>;
687
616
  source: z.ZodOptional<z.ZodUnknown>;
617
+ nodeId: z.ZodUUID;
618
+ parentNodeId: z.ZodOptional<z.ZodUUID>;
688
619
  }, z.core.$strict>>;
689
620
  thumbnail: z.ZodOptional<z.ZodString>;
690
621
  source: z.ZodOptional<z.ZodUnknown>;
@@ -74,8 +74,8 @@ export declare const WorkspacePageCheckpointSchema: z.ZodObject<{
74
74
  export type WorkspacePageCheckpoint = z.infer<typeof WorkspacePageCheckpointSchema>;
75
75
  export declare const RegisterWorkspacePageCheckpointRequestSchema: z.ZodObject<{
76
76
  run_id: z.ZodUUID;
77
- snapshot_id: z.ZodUUID;
78
77
  page_id: z.ZodString;
78
+ snapshot_id: z.ZodUUID;
79
79
  attempt: z.ZodNumber;
80
80
  object_key: z.ZodString;
81
81
  manifest_hash: z.ZodString;
@@ -140,6 +140,7 @@ export declare const WorkspaceRunControlInputResponseSchema: z.ZodObject<{
140
140
  external_site_edit: "external_site_edit";
141
141
  page_template_create: "page_template_create";
142
142
  }>>>;
143
+ intent: z.ZodOptional<z.ZodLiteral<"navigation_adaptation">>;
143
144
  page_template_manifest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
144
145
  items: z.ZodArray<z.ZodObject<{
145
146
  page_path: z.ZodString;
@@ -169,9 +169,9 @@ export declare const SiteEditStylePropertySchema: z.ZodEnum<{
169
169
  export type SiteEditStyleProperty = z.infer<typeof SiteEditStylePropertySchema>;
170
170
  export declare const SiteEditStyleStateModeSchema: z.ZodEnum<{
171
171
  active: "active";
172
- disabled: "disabled";
173
172
  hover: "hover";
174
173
  focus: "focus";
174
+ disabled: "disabled";
175
175
  }>;
176
176
  export type SiteEditStyleStateMode = z.infer<typeof SiteEditStyleStateModeSchema>;
177
177
  export declare const SiteEditStyleBreakpointSchema: z.ZodEnum<{
@@ -486,10 +486,10 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
486
486
  }, z.core.$strip>;
487
487
  }, z.core.$strip>>;
488
488
  props: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
489
+ href: "href";
489
490
  src: "src";
490
491
  alt: "alt";
491
492
  poster: "poster";
492
- href: "href";
493
493
  width: "width";
494
494
  height: "height";
495
495
  }> & z.core.$partial, z.ZodString>>;
@@ -929,10 +929,10 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
929
929
  }, z.core.$strip>;
930
930
  }, z.core.$strip>>;
931
931
  props: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
932
+ href: "href";
932
933
  src: "src";
933
934
  alt: "alt";
934
935
  poster: "poster";
935
- href: "href";
936
936
  width: "width";
937
937
  height: "height";
938
938
  }> & z.core.$partial, z.ZodString>>;
@@ -1302,10 +1302,10 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
1302
1302
  }, z.core.$strip>;
1303
1303
  }, z.core.$strip>>;
1304
1304
  props: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
1305
+ href: "href";
1305
1306
  src: "src";
1306
1307
  alt: "alt";
1307
1308
  poster: "poster";
1308
- href: "href";
1309
1309
  width: "width";
1310
1310
  height: "height";
1311
1311
  }> & z.core.$partial, z.ZodString>>;
@@ -568,9 +568,9 @@ export declare const SiteEditStyleModelSchema: z.ZodUnion<readonly [z.ZodRecord<
568
568
  }>>;
569
569
  state: z.ZodOptional<z.ZodEnum<{
570
570
  active: "active";
571
- disabled: "disabled";
572
571
  hover: "hover";
573
572
  focus: "focus";
573
+ disabled: "disabled";
574
574
  }>>;
575
575
  variants: z.ZodOptional<z.ZodArray<z.ZodString>>;
576
576
  options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
@@ -837,8 +837,6 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
837
837
  }, z.core.$strip>>;
838
838
  }, z.core.$strip>>;
839
839
  componentSemantic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
840
- contentModel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
841
- mediaModel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
842
840
  styleSource: z.ZodOptional<z.ZodObject<{
843
841
  kind: z.ZodLiteral<"class-name-source">;
844
842
  className: z.ZodString;
@@ -1388,7 +1386,6 @@ export declare const SiteEditObjectStyleDetailSchema: z.ZodObject<{
1388
1386
  effectiveTemplateId: z.ZodOptional<z.ZodString>;
1389
1387
  }, z.core.$strict>;
1390
1388
  key: z.ZodString;
1391
- mediaModel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1392
1389
  styleSource: z.ZodOptional<z.ZodObject<{
1393
1390
  kind: z.ZodLiteral<"class-name-source">;
1394
1391
  className: z.ZodString;
@@ -1,10 +1,10 @@
1
1
  import { z } from "zod";
2
2
  /** Properties accepted by the legacy Style Panel draft transaction only. */
3
3
  export declare const SiteEditStyleDraftPropertySchema: z.ZodEnum<{
4
+ href: "href";
4
5
  src: "src";
5
6
  alt: "alt";
6
7
  poster: "poster";
7
- href: "href";
8
8
  width: "width";
9
9
  height: "height";
10
10
  }>;
@@ -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.10.6";
8
+ export declare const CURRENT_EDIT_ENGINE_VERSION = "0.10.8";
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";
@@ -1,23 +1,28 @@
1
1
  import { z } from "zod";
2
2
  /**
3
- * 整站补充需求:用户在 Step5 九张卡下面自己写的一段话。
3
+ * 整站补充需求:用户在 Step6 结构页自己写的一段话,随参考图一起录入,点击
4
+ * 「确认结构」时先刷写到服务端。
4
5
  *
5
- * 为什么放在 Step5 底部:它要影响有哪些页面,而页面由 sitemap 决定,sitemap 在
6
- * 用户落到结构规划页的那一刻就自动开始生成,中间没有任何停顿 —— 离开 Step5 就
7
- * 来不及。也因此它不是卡内备注:卡内备注各限 200 字、只管那张卡的范围。
6
+ * 只进入建站上下文:`apps/api` 的 site-build-context provider 把它作为
7
+ * `owner_whole_site_request` 写进 build-context,供 DesignPlan / 页面生成读取。
8
+ * 它不进入 Sitemap 生成(页面集合由已确认的结构决定),也不参与 Step6 六张风格卡
9
+ * 的推荐;它作用于内容与视觉,不改变已确认的结构。它也不是卡内备注:卡内备注各限
10
+ * 200 字、只管那张卡的范围。
8
11
  *
9
- * 优先级:在所有用户意图信号里排最高 —— 压过十一张卡已拍板的策略、单张卡的
10
- * 备注、已确认的业务事实、参考站信号和已冻结的企业关键词。九张卡是从给定
11
- * 选项里挑出来的,这段话是用户自己写的;他会写,正是因为卡里没有对应的选项,
12
- * 把它排在卡下面等于让这个框失去意义。
12
+ * 优先级:建站里优先级最高的输入 —— 压过 Step6 选中的主题卡令牌(明暗、配色、
13
+ * 字体、圆角、密度、动效)、参考图、已拍板的策略、单张卡的备注、已确认的业务事实、
14
+ * 客户资料、原站证据、行业先验,以及生成提示词里关于开场、页头、节奏、图片、动效的
15
+ * 默认规则。卡是从给定选项里挑出来的,这段话是用户自己写的;用户会写,正是因为卡里
16
+ * 没有对应的选项。令牌改动由 DesignPlan Global Spine 经 `ownerRequestTokenChanges` 报告、
17
+ * 服务端覆写。
13
18
  *
14
- * 但它压不过平台硬约束:站点语种、页面预算、字体 / 圆角 / 动效 / 密度的目录
15
- * 枚举、平台保留路由、可信站点名。那些不是跟它竞争的用户意图,而是产出能装进
16
- * 系统的前提 —— 一段自由文本推翻不了目录里没有的字体。
19
+ * 它不改变平台前提:已确认的页面集合、站点语种、可信站点名、平台保留路由、字体 /
20
+ * 圆角 / 动效 / 密度的目录枚举,也不让模型编造输入里没有的业务事实。那些不是跟它
21
+ * 竞争的用户意图,而是产出能装进系统的前提 —— 一段自由文本推翻不了目录里没有的字体。
17
22
  *
18
23
  * 原样透传,不做任何字符串替换、截断关键词或正则规整。
19
24
  */
20
- export declare const SITE_EXTRA_REQUIREMENT_MAX_LENGTH = 2000;
25
+ export declare const SITE_EXTRA_REQUIREMENT_MAX_LENGTH = 10000;
21
26
  export declare const SiteExtraRequirementSchema: z.ZodObject<{
22
27
  note: z.ZodString;
23
28
  updated_at: z.ZodString;
@@ -0,0 +1,113 @@
1
+ import { z } from "zod";
2
+ export declare const MigrationCollectionSchema: z.ZodEnum<{
3
+ company: "company";
4
+ products: "products";
5
+ cases: "cases";
6
+ guides: "guides";
7
+ documents: "documents";
8
+ }>;
9
+ export declare const MigrationReasonCodeSchema: z.ZodEnum<{
10
+ source_unreachable: "source_unreachable";
11
+ content_mojibake: "content_mojibake";
12
+ min_fields_unmet: "min_fields_unmet";
13
+ document_no_file_reference: "document_no_file_reference";
14
+ document_file_unavailable: "document_file_unavailable";
15
+ media_ingest_failed: "media_ingest_failed";
16
+ app_unavailable: "app_unavailable";
17
+ write_failed: "write_failed";
18
+ kind_input_unavailable: "kind_input_unavailable";
19
+ kind_uncertain: "kind_uncertain";
20
+ kind_service_unavailable: "kind_service_unavailable";
21
+ kind_budget_exhausted: "kind_budget_exhausted";
22
+ }>;
23
+ /** Processing has no final counts. Strict rows reject intermediate counts. */
24
+ export declare const MigrationCollectionProgressSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
25
+ collection: z.ZodEnum<{
26
+ company: "company";
27
+ products: "products";
28
+ cases: "cases";
29
+ guides: "guides";
30
+ documents: "documents";
31
+ }>;
32
+ status: z.ZodLiteral<"processing">;
33
+ }, z.core.$strict>, z.ZodObject<{
34
+ collection: z.ZodEnum<{
35
+ company: "company";
36
+ products: "products";
37
+ cases: "cases";
38
+ guides: "guides";
39
+ documents: "documents";
40
+ }>;
41
+ status: z.ZodEnum<{
42
+ failed: "failed";
43
+ partial: "partial";
44
+ imported: "imported";
45
+ }>;
46
+ imported: z.ZodNumber;
47
+ exception: z.ZodNumber;
48
+ }, z.core.$strict>], "status">;
49
+ /** Additive fields shared by the service boundary and browser adapter. */
50
+ export declare const MigrationContentProgressSchema: z.ZodObject<{
51
+ overall_status: z.ZodEnum<{
52
+ failed: "failed";
53
+ completed: "completed";
54
+ disabled: "disabled";
55
+ moving: "moving";
56
+ }>;
57
+ by_collection: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
58
+ collection: z.ZodEnum<{
59
+ company: "company";
60
+ products: "products";
61
+ cases: "cases";
62
+ guides: "guides";
63
+ documents: "documents";
64
+ }>;
65
+ status: z.ZodLiteral<"processing">;
66
+ }, z.core.$strict>, z.ZodObject<{
67
+ collection: z.ZodEnum<{
68
+ company: "company";
69
+ products: "products";
70
+ cases: "cases";
71
+ guides: "guides";
72
+ documents: "documents";
73
+ }>;
74
+ status: z.ZodEnum<{
75
+ failed: "failed";
76
+ partial: "partial";
77
+ imported: "imported";
78
+ }>;
79
+ imported: z.ZodNumber;
80
+ exception: z.ZodNumber;
81
+ }, z.core.$strict>], "status">>;
82
+ media: z.ZodObject<{
83
+ image: z.ZodNumber;
84
+ video: z.ZodNumber;
85
+ audio: z.ZodNumber;
86
+ file: z.ZodNumber;
87
+ }, z.core.$strip>;
88
+ exceptions: z.ZodArray<z.ZodObject<{
89
+ collection: z.ZodNullable<z.ZodEnum<{
90
+ company: "company";
91
+ products: "products";
92
+ cases: "cases";
93
+ guides: "guides";
94
+ documents: "documents";
95
+ }>>;
96
+ path: z.ZodString;
97
+ reason_code: z.ZodEnum<{
98
+ source_unreachable: "source_unreachable";
99
+ content_mojibake: "content_mojibake";
100
+ min_fields_unmet: "min_fields_unmet";
101
+ document_no_file_reference: "document_no_file_reference";
102
+ document_file_unavailable: "document_file_unavailable";
103
+ media_ingest_failed: "media_ingest_failed";
104
+ app_unavailable: "app_unavailable";
105
+ write_failed: "write_failed";
106
+ kind_input_unavailable: "kind_input_unavailable";
107
+ kind_uncertain: "kind_uncertain";
108
+ kind_service_unavailable: "kind_service_unavailable";
109
+ kind_budget_exhausted: "kind_budget_exhausted";
110
+ }>;
111
+ }, z.core.$strip>>;
112
+ }, z.core.$strip>;
113
+ export type MigrationContentProgress = z.infer<typeof MigrationContentProgressSchema>;
@@ -0,0 +1,129 @@
1
+ import { z } from "zod";
2
+ export declare const SITE_WORKFLOW_PROGRESS_STATUSES: readonly ["not_started", "active", "completed"];
3
+ export declare const SiteWorkflowProgressStatusSchema: z.ZodEnum<{
4
+ active: "active";
5
+ completed: "completed";
6
+ not_started: "not_started";
7
+ }>;
8
+ export type SiteWorkflowProgressStatus = z.infer<typeof SiteWorkflowProgressStatusSchema>;
9
+ export declare const SITE_WORKFLOW_PROGRESS_STEP_STATUSES: readonly ["not_started", "in_progress", "completed"];
10
+ export declare const SiteWorkflowProgressStepStatusSchema: z.ZodEnum<{
11
+ completed: "completed";
12
+ not_started: "not_started";
13
+ in_progress: "in_progress";
14
+ }>;
15
+ export type SiteWorkflowProgressStepStatus = z.infer<typeof SiteWorkflowProgressStepStatusSchema>;
16
+ export declare const SiteWorkflowProgressStepSchema: z.ZodObject<{
17
+ sequence: z.ZodNumber;
18
+ code: z.ZodEnum<{
19
+ welcome: "welcome";
20
+ website_scan: "website_scan";
21
+ customer_materials: "customer_materials";
22
+ analysis: "analysis";
23
+ diagnosis: "diagnosis";
24
+ strategy: "strategy";
25
+ structure_planning: "structure_planning";
26
+ preview_personalization: "preview_personalization";
27
+ publishing: "publishing";
28
+ }>;
29
+ status: z.ZodEnum<{
30
+ completed: "completed";
31
+ not_started: "not_started";
32
+ in_progress: "in_progress";
33
+ }>;
34
+ }, z.core.$strict>;
35
+ export type SiteWorkflowProgressStep = z.infer<typeof SiteWorkflowProgressStepSchema>;
36
+ export declare const SiteWorkflowProgressDataSchema: z.ZodObject<{
37
+ site_id: z.ZodUUID;
38
+ workflow_status: z.ZodEnum<{
39
+ active: "active";
40
+ completed: "completed";
41
+ not_started: "not_started";
42
+ }>;
43
+ flow_type: z.ZodNullable<z.ZodEnum<{
44
+ with_website: "with_website";
45
+ without_website: "without_website";
46
+ }>>;
47
+ current_step_code: z.ZodNullable<z.ZodEnum<{
48
+ welcome: "welcome";
49
+ website_scan: "website_scan";
50
+ customer_materials: "customer_materials";
51
+ analysis: "analysis";
52
+ diagnosis: "diagnosis";
53
+ strategy: "strategy";
54
+ structure_planning: "structure_planning";
55
+ preview_personalization: "preview_personalization";
56
+ publishing: "publishing";
57
+ }>>;
58
+ completed_count: z.ZodNumber;
59
+ total_count: z.ZodNumber;
60
+ steps: z.ZodArray<z.ZodObject<{
61
+ sequence: z.ZodNumber;
62
+ code: z.ZodEnum<{
63
+ welcome: "welcome";
64
+ website_scan: "website_scan";
65
+ customer_materials: "customer_materials";
66
+ analysis: "analysis";
67
+ diagnosis: "diagnosis";
68
+ strategy: "strategy";
69
+ structure_planning: "structure_planning";
70
+ preview_personalization: "preview_personalization";
71
+ publishing: "publishing";
72
+ }>;
73
+ status: z.ZodEnum<{
74
+ completed: "completed";
75
+ not_started: "not_started";
76
+ in_progress: "in_progress";
77
+ }>;
78
+ }, z.core.$strict>>;
79
+ }, z.core.$strict>;
80
+ export type SiteWorkflowProgressData = z.infer<typeof SiteWorkflowProgressDataSchema>;
81
+ export declare const SiteWorkflowProgressResponseSchema: z.ZodObject<{
82
+ code: z.ZodNumber;
83
+ data: z.ZodObject<{
84
+ site_id: z.ZodUUID;
85
+ workflow_status: z.ZodEnum<{
86
+ active: "active";
87
+ completed: "completed";
88
+ not_started: "not_started";
89
+ }>;
90
+ flow_type: z.ZodNullable<z.ZodEnum<{
91
+ with_website: "with_website";
92
+ without_website: "without_website";
93
+ }>>;
94
+ current_step_code: z.ZodNullable<z.ZodEnum<{
95
+ welcome: "welcome";
96
+ website_scan: "website_scan";
97
+ customer_materials: "customer_materials";
98
+ analysis: "analysis";
99
+ diagnosis: "diagnosis";
100
+ strategy: "strategy";
101
+ structure_planning: "structure_planning";
102
+ preview_personalization: "preview_personalization";
103
+ publishing: "publishing";
104
+ }>>;
105
+ completed_count: z.ZodNumber;
106
+ total_count: z.ZodNumber;
107
+ steps: z.ZodArray<z.ZodObject<{
108
+ sequence: z.ZodNumber;
109
+ code: z.ZodEnum<{
110
+ welcome: "welcome";
111
+ website_scan: "website_scan";
112
+ customer_materials: "customer_materials";
113
+ analysis: "analysis";
114
+ diagnosis: "diagnosis";
115
+ strategy: "strategy";
116
+ structure_planning: "structure_planning";
117
+ preview_personalization: "preview_personalization";
118
+ publishing: "publishing";
119
+ }>;
120
+ status: z.ZodEnum<{
121
+ completed: "completed";
122
+ not_started: "not_started";
123
+ in_progress: "in_progress";
124
+ }>;
125
+ }, z.core.$strict>>;
126
+ }, z.core.$strict>;
127
+ message: z.ZodString;
128
+ }, z.core.$strip>;
129
+ export type SiteWorkflowProgressResponse = z.infer<typeof SiteWorkflowProgressResponseSchema>;
@@ -0,0 +1,13 @@
1
+ import { z } from "zod";
2
+ export type SitemapResolverAnswerSheetHole = {
3
+ key: string;
4
+ field: "slug" | "showInHeader" | "showInFooter" | "type";
5
+ };
6
+ /** The server owns hole names and bindings; the model only supplies typed leaves. */
7
+ export declare function createSitemapResolverAnswerSheetSchema(holes: readonly SitemapResolverAnswerSheetHole[]): z.ZodObject<{
8
+ answers: z.ZodObject<{
9
+ [x: string]: z.ZodString | z.ZodBoolean;
10
+ }, z.core.$strict>;
11
+ }, z.core.$strict>;
12
+ export type SitemapResolverAnswerSheetSchema = ReturnType<typeof createSitemapResolverAnswerSheetSchema>;
13
+ export type SitemapResolverAnswers = z.infer<SitemapResolverAnswerSheetSchema>;
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod";
2
- import type { Step5SeoKeyword } from "./step5-strategy.js";
3
2
  export declare const STEP5_KEYWORD_CATEGORIES: readonly ["产品", "部件/耗材", "应用方案", "定制/OEM", "服务", "资质/能力"];
4
3
  export declare const Step5KeywordCategorySchema: z.ZodEnum<{
5
4
  产品: "产品";
@@ -43,8 +42,8 @@ export declare const Step5KeywordEntrySchema: z.ZodObject<{
43
42
  source_evidence: z.ZodArray<z.ZodString>;
44
43
  }, z.core.$strict>;
45
44
  export type Step5KeywordEntry = z.infer<typeof Step5KeywordEntrySchema>;
46
- /** New confirmed business keywords and historical sitemap keyword records. */
47
- export type Step5PageKeyword = Step5KeywordEntry | Step5SeoKeyword;
45
+ /** Current confirmed enterprise keywords carried by Sitemap/Workspace. */
46
+ export type Step5PageKeyword = Step5KeywordEntry;
48
47
  export declare const Step5KeywordLibrarySchema: z.ZodObject<{
49
48
  schema_version: z.ZodLiteral<1>;
50
49
  snapshot_id: z.ZodString;