@vcp-dev/contracts 0.6.11 → 0.7.0
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/README.md +5 -4
- package/dist/business-facts.d.ts +23 -0
- package/dist/cms-page-directory.d.ts +40 -4
- package/dist/colorway-distinctness.js +1 -1
- package/dist/connect-dynamic-collection.d.ts +6 -6
- package/dist/connect-form.d.ts +6 -6
- package/dist/conversion-hints.d.ts +37 -0
- package/dist/crawler-task-service.d.ts +244 -2
- package/dist/custom-domain.d.ts +119 -239
- package/dist/customer-materials.d.ts +5 -5
- package/dist/deployment-lifecycle.d.ts +45 -0
- package/dist/design-tokens.d.ts +1 -0
- package/dist/design-tokens.js +1 -1
- package/dist/e2b-preview-proxy.d.ts +5 -0
- package/dist/external-site-edit.d.ts +9 -0
- package/dist/firecrawl-internal.d.ts +19 -0
- package/dist/font-catalog.d.ts +5 -2
- package/dist/form-design.d.ts +54 -12
- package/dist/google-search-console.d.ts +1 -0
- package/dist/index.d.ts +3095 -818
- package/dist/index.js +1 -1
- package/dist/industry-classification.d.ts +43 -0
- package/dist/input-context-bundle.d.ts +10 -0
- package/dist/internal-entity-id.d.ts +1 -0
- package/dist/knowledge-category.d.ts +20 -0
- package/dist/knowledge-source-readiness.d.ts +94 -0
- package/dist/launcher-prompt-templates.d.ts +117 -14
- package/dist/migration-products.d.ts +45 -0
- package/dist/page-slug.d.ts +2 -0
- package/dist/page-template.d.ts +95 -0
- package/dist/site-build.d.ts +563 -0
- package/dist/site-design-presets.d.ts +20 -0
- package/dist/site-edit-capability.d.ts +13 -1
- package/dist/site-edit-class-name-source.d.ts +40 -8
- package/dist/site-edit-command-result.d.ts +15 -4
- package/dist/site-edit-composition.d.ts +13 -0
- package/dist/site-edit-event.d.ts +68 -14
- package/dist/site-edit-history-status.d.ts +193 -0
- package/dist/site-edit-operation.d.ts +152 -51
- package/dist/site-edit-page-composition.d.ts +101 -22
- package/dist/site-edit-patch-plan.d.ts +49 -3
- package/dist/site-edit-render-document.d.ts +54 -8
- package/dist/site-edit-session.d.ts +5 -2
- package/dist/site-edit-source.d.ts +60 -11
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-extra-requirement.d.ts +31 -0
- package/dist/site-locale.d.ts +20 -0
- package/dist/site-localization-fields.d.ts +196 -0
- package/dist/site-localization-scope.d.ts +95 -0
- package/dist/site-preview.d.ts +15 -0
- package/dist/site-publish-domain.d.ts +680 -0
- package/dist/site-publish-workflow.d.ts +612 -0
- package/dist/site-workflow-completions.d.ts +163 -0
- package/dist/site-workflow.d.ts +231 -211
- package/dist/sitemap-navigation.d.ts +4 -1
- package/dist/step2-page-selection.d.ts +88 -0
- package/dist/step2-site-initialization.d.ts +321 -30
- package/dist/step3-digital-employee-analysis.d.ts +177 -211
- package/dist/step4-diagnosis.d.ts +72 -4
- package/dist/step5-strategy.d.ts +5549 -170
- package/dist/step6-design.d.ts +778 -464
- package/dist/subsite-localization-input.d.ts +121 -0
- package/dist/subsite-mount-path.d.ts +23 -0
- package/dist/subsite-visible-text-export.d.ts +22 -0
- package/dist/template-upgrade-observability.d.ts +2 -2
- package/dist/theme-presets.d.ts +56 -1
- package/dist/workspace-design-apply.d.ts +5 -0
- package/dist/workspace-resource-operation.d.ts +58 -24
- package/package.json +1 -1
- package/dist/publish-quality.d.ts +0 -92
|
@@ -0,0 +1,563 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SITE_BUILD_CONTEXT_FILE_PATH = "build-context.json";
|
|
3
|
+
export declare const SITE_BUILD_CONTEXT_MAX_BYTES = 200000;
|
|
4
|
+
export declare const CMS_MAIN_PRODUCTS_MAX_LENGTH = 1000;
|
|
5
|
+
export declare function isCmsMainProductsWithinLimit(value: string): boolean;
|
|
6
|
+
export declare const SiteBuildContextProvenanceSourceSchema: z.ZodObject<{
|
|
7
|
+
kind: z.ZodEnum<{
|
|
8
|
+
customer_materials: "customer_materials";
|
|
9
|
+
website_scan_diagnosis: "website_scan_diagnosis";
|
|
10
|
+
committed_strategy: "committed_strategy";
|
|
11
|
+
}>;
|
|
12
|
+
digest: z.ZodString;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
export declare const SiteBuildContextProvenanceSchema: z.ZodObject<{
|
|
15
|
+
schema_version: z.ZodLiteral<1>;
|
|
16
|
+
flow_type: z.ZodEnum<{
|
|
17
|
+
with_website: "with_website";
|
|
18
|
+
without_website: "without_website";
|
|
19
|
+
}>;
|
|
20
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
21
|
+
kind: z.ZodEnum<{
|
|
22
|
+
customer_materials: "customer_materials";
|
|
23
|
+
website_scan_diagnosis: "website_scan_diagnosis";
|
|
24
|
+
committed_strategy: "committed_strategy";
|
|
25
|
+
}>;
|
|
26
|
+
digest: z.ZodString;
|
|
27
|
+
}, z.core.$strict>>;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
export declare const SiteBuildContextPayloadSchema: z.ZodObject<{
|
|
30
|
+
schema_version: z.ZodLiteral<1>;
|
|
31
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
32
|
+
cms_settings: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
main_products: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, z.core.$strict>>;
|
|
35
|
+
provenance: z.ZodOptional<z.ZodObject<{
|
|
36
|
+
schema_version: z.ZodLiteral<1>;
|
|
37
|
+
flow_type: z.ZodEnum<{
|
|
38
|
+
with_website: "with_website";
|
|
39
|
+
without_website: "without_website";
|
|
40
|
+
}>;
|
|
41
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
42
|
+
kind: z.ZodEnum<{
|
|
43
|
+
customer_materials: "customer_materials";
|
|
44
|
+
website_scan_diagnosis: "website_scan_diagnosis";
|
|
45
|
+
committed_strategy: "committed_strategy";
|
|
46
|
+
}>;
|
|
47
|
+
digest: z.ZodString;
|
|
48
|
+
}, z.core.$strict>>;
|
|
49
|
+
}, z.core.$strict>>;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
export declare const SiteBuildContextFileSchema: z.ZodObject<{
|
|
52
|
+
schema_version: z.ZodLiteral<1>;
|
|
53
|
+
site_id: z.ZodUUID;
|
|
54
|
+
workflow_id: z.ZodUUID;
|
|
55
|
+
brief: z.ZodString;
|
|
56
|
+
source: z.ZodEnum<{
|
|
57
|
+
business_provider: "business_provider";
|
|
58
|
+
mock: "mock";
|
|
59
|
+
}>;
|
|
60
|
+
payload: z.ZodObject<{
|
|
61
|
+
schema_version: z.ZodLiteral<1>;
|
|
62
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
63
|
+
cms_settings: z.ZodOptional<z.ZodObject<{
|
|
64
|
+
main_products: z.ZodOptional<z.ZodString>;
|
|
65
|
+
}, z.core.$strict>>;
|
|
66
|
+
provenance: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
schema_version: z.ZodLiteral<1>;
|
|
68
|
+
flow_type: z.ZodEnum<{
|
|
69
|
+
with_website: "with_website";
|
|
70
|
+
without_website: "without_website";
|
|
71
|
+
}>;
|
|
72
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
73
|
+
kind: z.ZodEnum<{
|
|
74
|
+
customer_materials: "customer_materials";
|
|
75
|
+
website_scan_diagnosis: "website_scan_diagnosis";
|
|
76
|
+
committed_strategy: "committed_strategy";
|
|
77
|
+
}>;
|
|
78
|
+
digest: z.ZodString;
|
|
79
|
+
}, z.core.$strict>>;
|
|
80
|
+
}, z.core.$strict>>;
|
|
81
|
+
}, z.core.$strict>;
|
|
82
|
+
}, z.core.$strict>;
|
|
83
|
+
export type SiteBuildContextPayload = z.infer<typeof SiteBuildContextPayloadSchema>;
|
|
84
|
+
export type SiteBuildContextFile = z.infer<typeof SiteBuildContextFileSchema>;
|
|
85
|
+
export declare const PrepareSiteBuildInitialGenerationBaseRequestSchema: z.ZodObject<{
|
|
86
|
+
source_snapshot_id: z.ZodUUID;
|
|
87
|
+
source_run_id: z.ZodUUID;
|
|
88
|
+
build_context: z.ZodObject<{
|
|
89
|
+
schema_version: z.ZodLiteral<1>;
|
|
90
|
+
site_id: z.ZodUUID;
|
|
91
|
+
workflow_id: z.ZodUUID;
|
|
92
|
+
brief: z.ZodString;
|
|
93
|
+
source: z.ZodEnum<{
|
|
94
|
+
business_provider: "business_provider";
|
|
95
|
+
mock: "mock";
|
|
96
|
+
}>;
|
|
97
|
+
payload: z.ZodObject<{
|
|
98
|
+
schema_version: z.ZodLiteral<1>;
|
|
99
|
+
seed: z.ZodOptional<z.ZodString>;
|
|
100
|
+
cms_settings: z.ZodOptional<z.ZodObject<{
|
|
101
|
+
main_products: z.ZodOptional<z.ZodString>;
|
|
102
|
+
}, z.core.$strict>>;
|
|
103
|
+
provenance: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
schema_version: z.ZodLiteral<1>;
|
|
105
|
+
flow_type: z.ZodEnum<{
|
|
106
|
+
with_website: "with_website";
|
|
107
|
+
without_website: "without_website";
|
|
108
|
+
}>;
|
|
109
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
110
|
+
kind: z.ZodEnum<{
|
|
111
|
+
customer_materials: "customer_materials";
|
|
112
|
+
website_scan_diagnosis: "website_scan_diagnosis";
|
|
113
|
+
committed_strategy: "committed_strategy";
|
|
114
|
+
}>;
|
|
115
|
+
digest: z.ZodString;
|
|
116
|
+
}, z.core.$strict>>;
|
|
117
|
+
}, z.core.$strict>>;
|
|
118
|
+
}, z.core.$strict>;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
export type PrepareSiteBuildInitialGenerationBaseRequest = z.infer<typeof PrepareSiteBuildInitialGenerationBaseRequestSchema>;
|
|
122
|
+
export declare const PrepareSiteBuildInitialGenerationBaseResultSchema: z.ZodObject<{
|
|
123
|
+
disposition: z.ZodEnum<{
|
|
124
|
+
reused: "reused";
|
|
125
|
+
rebased: "rebased";
|
|
126
|
+
}>;
|
|
127
|
+
snapshot_id: z.ZodUUID;
|
|
128
|
+
}, z.core.$strict>;
|
|
129
|
+
export type PrepareSiteBuildInitialGenerationBaseResult = z.infer<typeof PrepareSiteBuildInitialGenerationBaseResultSchema>;
|
|
130
|
+
export declare const StartSiteBuildResultSchema: z.ZodObject<{
|
|
131
|
+
snapshot: z.ZodObject<{
|
|
132
|
+
workflow: z.ZodObject<{
|
|
133
|
+
id: z.ZodUUID;
|
|
134
|
+
tenant_id: z.ZodString;
|
|
135
|
+
site_id: z.ZodUUID;
|
|
136
|
+
flow_type: z.ZodEnum<{
|
|
137
|
+
with_website: "with_website";
|
|
138
|
+
without_website: "without_website";
|
|
139
|
+
}>;
|
|
140
|
+
website: z.ZodNullable<z.ZodString>;
|
|
141
|
+
definition_version: z.ZodNumber;
|
|
142
|
+
current_node_code: z.ZodEnum<{
|
|
143
|
+
welcome: "welcome";
|
|
144
|
+
website_scan: "website_scan";
|
|
145
|
+
customer_materials: "customer_materials";
|
|
146
|
+
analysis: "analysis";
|
|
147
|
+
diagnosis: "diagnosis";
|
|
148
|
+
strategy: "strategy";
|
|
149
|
+
structure_planning: "structure_planning";
|
|
150
|
+
preview_personalization: "preview_personalization";
|
|
151
|
+
publishing: "publishing";
|
|
152
|
+
}>;
|
|
153
|
+
status: z.ZodEnum<{
|
|
154
|
+
active: "active";
|
|
155
|
+
completed: "completed";
|
|
156
|
+
}>;
|
|
157
|
+
started_at: z.ZodString;
|
|
158
|
+
completed_at: z.ZodNullable<z.ZodString>;
|
|
159
|
+
created_at: z.ZodString;
|
|
160
|
+
updated_at: z.ZodString;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
menu: z.ZodArray<z.ZodObject<{
|
|
163
|
+
id: z.ZodUUID;
|
|
164
|
+
flow_type: z.ZodEnum<{
|
|
165
|
+
with_website: "with_website";
|
|
166
|
+
without_website: "without_website";
|
|
167
|
+
}>;
|
|
168
|
+
definition_version: z.ZodNumber;
|
|
169
|
+
node_code: z.ZodEnum<{
|
|
170
|
+
welcome: "welcome";
|
|
171
|
+
website_scan: "website_scan";
|
|
172
|
+
customer_materials: "customer_materials";
|
|
173
|
+
analysis: "analysis";
|
|
174
|
+
diagnosis: "diagnosis";
|
|
175
|
+
strategy: "strategy";
|
|
176
|
+
structure_planning: "structure_planning";
|
|
177
|
+
preview_personalization: "preview_personalization";
|
|
178
|
+
publishing: "publishing";
|
|
179
|
+
}>;
|
|
180
|
+
label: z.ZodString;
|
|
181
|
+
sort_order: z.ZodNumber;
|
|
182
|
+
is_enabled: z.ZodBoolean;
|
|
183
|
+
state: z.ZodEnum<{
|
|
184
|
+
completed: "completed";
|
|
185
|
+
current: "current";
|
|
186
|
+
locked: "locked";
|
|
187
|
+
}>;
|
|
188
|
+
}, z.core.$strip>>;
|
|
189
|
+
task_refs: z.ZodArray<z.ZodObject<{
|
|
190
|
+
id: z.ZodUUID;
|
|
191
|
+
tenant_id: z.ZodString;
|
|
192
|
+
site_id: z.ZodUUID;
|
|
193
|
+
workflow_id: z.ZodUUID;
|
|
194
|
+
node_code: z.ZodEnum<{
|
|
195
|
+
welcome: "welcome";
|
|
196
|
+
website_scan: "website_scan";
|
|
197
|
+
customer_materials: "customer_materials";
|
|
198
|
+
analysis: "analysis";
|
|
199
|
+
diagnosis: "diagnosis";
|
|
200
|
+
strategy: "strategy";
|
|
201
|
+
structure_planning: "structure_planning";
|
|
202
|
+
preview_personalization: "preview_personalization";
|
|
203
|
+
publishing: "publishing";
|
|
204
|
+
}>;
|
|
205
|
+
task_type: z.ZodEnum<{
|
|
206
|
+
company_info: "company_info";
|
|
207
|
+
website_crawl: "website_crawl";
|
|
208
|
+
website_basic_info_extract: "website_basic_info_extract";
|
|
209
|
+
website_metrics_evaluate: "website_metrics_evaluate";
|
|
210
|
+
intelligent_analysis: "intelligent_analysis";
|
|
211
|
+
strategy_recommendation: "strategy_recommendation";
|
|
212
|
+
}>;
|
|
213
|
+
external_task_id: z.ZodString;
|
|
214
|
+
execution_status: z.ZodEnum<{
|
|
215
|
+
failed: "failed";
|
|
216
|
+
succeeded: "succeeded";
|
|
217
|
+
running: "running";
|
|
218
|
+
started: "started";
|
|
219
|
+
invalidated: "invalidated";
|
|
220
|
+
}>;
|
|
221
|
+
idempotency_key: z.ZodString;
|
|
222
|
+
attempt_no: z.ZodNumber;
|
|
223
|
+
superseded_at: z.ZodNullable<z.ZodString>;
|
|
224
|
+
created_at: z.ZodString;
|
|
225
|
+
updated_at: z.ZodString;
|
|
226
|
+
}, z.core.$strip>>;
|
|
227
|
+
site: z.ZodObject<{
|
|
228
|
+
default_locale: z.ZodOptional<z.ZodEnum<{
|
|
229
|
+
id: "id";
|
|
230
|
+
"zh-CN": "zh-CN";
|
|
231
|
+
"zh-HK": "zh-HK";
|
|
232
|
+
"zh-TW": "zh-TW";
|
|
233
|
+
"en-US": "en-US";
|
|
234
|
+
"en-GB": "en-GB";
|
|
235
|
+
"ja-JP": "ja-JP";
|
|
236
|
+
"ko-KR": "ko-KR";
|
|
237
|
+
"es-ES": "es-ES";
|
|
238
|
+
"fr-FR": "fr-FR";
|
|
239
|
+
"de-DE": "de-DE";
|
|
240
|
+
"pt-PT": "pt-PT";
|
|
241
|
+
"ru-RU": "ru-RU";
|
|
242
|
+
"ar-SA": "ar-SA";
|
|
243
|
+
"id-ID": "id-ID";
|
|
244
|
+
"vi-VN": "vi-VN";
|
|
245
|
+
"th-TH": "th-TH";
|
|
246
|
+
"it-IT": "it-IT";
|
|
247
|
+
"nl-NL": "nl-NL";
|
|
248
|
+
"tr-TR": "tr-TR";
|
|
249
|
+
"pl-PL": "pl-PL";
|
|
250
|
+
"uk-UA": "uk-UA";
|
|
251
|
+
"cs-CZ": "cs-CZ";
|
|
252
|
+
"sk-SK": "sk-SK";
|
|
253
|
+
"hu-HU": "hu-HU";
|
|
254
|
+
"ro-RO": "ro-RO";
|
|
255
|
+
"el-GR": "el-GR";
|
|
256
|
+
"sv-SE": "sv-SE";
|
|
257
|
+
"da-DK": "da-DK";
|
|
258
|
+
"fi-FI": "fi-FI";
|
|
259
|
+
"hr-HR": "hr-HR";
|
|
260
|
+
"lt-LT": "lt-LT";
|
|
261
|
+
"lv-LV": "lv-LV";
|
|
262
|
+
"et-EE": "et-EE";
|
|
263
|
+
"ga-IE": "ga-IE";
|
|
264
|
+
"mt-MT": "mt-MT";
|
|
265
|
+
"ka-GE": "ka-GE";
|
|
266
|
+
"fa-IR": "fa-IR";
|
|
267
|
+
"bn-BD": "bn-BD";
|
|
268
|
+
"ta-IN": "ta-IN";
|
|
269
|
+
"si-LK": "si-LK";
|
|
270
|
+
"ms-MY": "ms-MY";
|
|
271
|
+
"fil-PH": "fil-PH";
|
|
272
|
+
"my-MM": "my-MM";
|
|
273
|
+
"km-KH": "km-KH";
|
|
274
|
+
"lo-LA": "lo-LA";
|
|
275
|
+
"mn-MN": "mn-MN";
|
|
276
|
+
"kk-KZ": "kk-KZ";
|
|
277
|
+
en: "en";
|
|
278
|
+
ja: "ja";
|
|
279
|
+
es: "es";
|
|
280
|
+
fr: "fr";
|
|
281
|
+
de: "de";
|
|
282
|
+
ko: "ko";
|
|
283
|
+
pt: "pt";
|
|
284
|
+
"pt-BR": "pt-BR";
|
|
285
|
+
it: "it";
|
|
286
|
+
ru: "ru";
|
|
287
|
+
ar: "ar";
|
|
288
|
+
hi: "hi";
|
|
289
|
+
vi: "vi";
|
|
290
|
+
th: "th";
|
|
291
|
+
tr: "tr";
|
|
292
|
+
nl: "nl";
|
|
293
|
+
pl: "pl";
|
|
294
|
+
uk: "uk";
|
|
295
|
+
sv: "sv";
|
|
296
|
+
da: "da";
|
|
297
|
+
fi: "fi";
|
|
298
|
+
no: "no";
|
|
299
|
+
cs: "cs";
|
|
300
|
+
el: "el";
|
|
301
|
+
hu: "hu";
|
|
302
|
+
ro: "ro";
|
|
303
|
+
he: "he";
|
|
304
|
+
ms: "ms";
|
|
305
|
+
fil: "fil";
|
|
306
|
+
bn: "bn";
|
|
307
|
+
ta: "ta";
|
|
308
|
+
ca: "ca";
|
|
309
|
+
sk: "sk";
|
|
310
|
+
hr: "hr";
|
|
311
|
+
bg: "bg";
|
|
312
|
+
lt: "lt";
|
|
313
|
+
lv: "lv";
|
|
314
|
+
et: "et";
|
|
315
|
+
fa: "fa";
|
|
316
|
+
sw: "sw";
|
|
317
|
+
sr: "sr";
|
|
318
|
+
is: "is";
|
|
319
|
+
}>>;
|
|
320
|
+
status: z.ZodEnum<{
|
|
321
|
+
draft: "draft";
|
|
322
|
+
structure_saved: "structure_saved";
|
|
323
|
+
generating: "generating";
|
|
324
|
+
workspace_ready: "workspace_ready";
|
|
325
|
+
}>;
|
|
326
|
+
deployment_status: z.ZodEnum<{
|
|
327
|
+
deploying: "deploying";
|
|
328
|
+
not_deployed: "not_deployed";
|
|
329
|
+
deployed: "deployed";
|
|
330
|
+
}>;
|
|
331
|
+
archived_at: z.ZodNullable<z.ZodString>;
|
|
332
|
+
current_sitemap_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
333
|
+
current_sitemap_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
334
|
+
confirmed_sitemap_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
|
+
confirmed_sitemap_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
336
|
+
structure_confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
337
|
+
current_snapshot_id: z.ZodNullable<z.ZodString>;
|
|
338
|
+
deployed_url: z.ZodNullable<z.ZodString>;
|
|
339
|
+
cms_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
340
|
+
}, z.core.$strip>;
|
|
341
|
+
}, z.core.$strip>;
|
|
342
|
+
workspace_run_id: z.ZodNullable<z.ZodUUID>;
|
|
343
|
+
}, z.core.$strict>;
|
|
344
|
+
export type StartSiteBuildResult = z.infer<typeof StartSiteBuildResultSchema>;
|
|
345
|
+
export declare const StartSiteBuildResponseSchema: z.ZodObject<{
|
|
346
|
+
code: z.ZodNumber;
|
|
347
|
+
data: z.ZodObject<{
|
|
348
|
+
snapshot: z.ZodObject<{
|
|
349
|
+
workflow: z.ZodObject<{
|
|
350
|
+
id: z.ZodUUID;
|
|
351
|
+
tenant_id: z.ZodString;
|
|
352
|
+
site_id: z.ZodUUID;
|
|
353
|
+
flow_type: z.ZodEnum<{
|
|
354
|
+
with_website: "with_website";
|
|
355
|
+
without_website: "without_website";
|
|
356
|
+
}>;
|
|
357
|
+
website: z.ZodNullable<z.ZodString>;
|
|
358
|
+
definition_version: z.ZodNumber;
|
|
359
|
+
current_node_code: z.ZodEnum<{
|
|
360
|
+
welcome: "welcome";
|
|
361
|
+
website_scan: "website_scan";
|
|
362
|
+
customer_materials: "customer_materials";
|
|
363
|
+
analysis: "analysis";
|
|
364
|
+
diagnosis: "diagnosis";
|
|
365
|
+
strategy: "strategy";
|
|
366
|
+
structure_planning: "structure_planning";
|
|
367
|
+
preview_personalization: "preview_personalization";
|
|
368
|
+
publishing: "publishing";
|
|
369
|
+
}>;
|
|
370
|
+
status: z.ZodEnum<{
|
|
371
|
+
active: "active";
|
|
372
|
+
completed: "completed";
|
|
373
|
+
}>;
|
|
374
|
+
started_at: z.ZodString;
|
|
375
|
+
completed_at: z.ZodNullable<z.ZodString>;
|
|
376
|
+
created_at: z.ZodString;
|
|
377
|
+
updated_at: z.ZodString;
|
|
378
|
+
}, z.core.$strip>;
|
|
379
|
+
menu: z.ZodArray<z.ZodObject<{
|
|
380
|
+
id: z.ZodUUID;
|
|
381
|
+
flow_type: z.ZodEnum<{
|
|
382
|
+
with_website: "with_website";
|
|
383
|
+
without_website: "without_website";
|
|
384
|
+
}>;
|
|
385
|
+
definition_version: z.ZodNumber;
|
|
386
|
+
node_code: z.ZodEnum<{
|
|
387
|
+
welcome: "welcome";
|
|
388
|
+
website_scan: "website_scan";
|
|
389
|
+
customer_materials: "customer_materials";
|
|
390
|
+
analysis: "analysis";
|
|
391
|
+
diagnosis: "diagnosis";
|
|
392
|
+
strategy: "strategy";
|
|
393
|
+
structure_planning: "structure_planning";
|
|
394
|
+
preview_personalization: "preview_personalization";
|
|
395
|
+
publishing: "publishing";
|
|
396
|
+
}>;
|
|
397
|
+
label: z.ZodString;
|
|
398
|
+
sort_order: z.ZodNumber;
|
|
399
|
+
is_enabled: z.ZodBoolean;
|
|
400
|
+
state: z.ZodEnum<{
|
|
401
|
+
completed: "completed";
|
|
402
|
+
current: "current";
|
|
403
|
+
locked: "locked";
|
|
404
|
+
}>;
|
|
405
|
+
}, z.core.$strip>>;
|
|
406
|
+
task_refs: z.ZodArray<z.ZodObject<{
|
|
407
|
+
id: z.ZodUUID;
|
|
408
|
+
tenant_id: z.ZodString;
|
|
409
|
+
site_id: z.ZodUUID;
|
|
410
|
+
workflow_id: z.ZodUUID;
|
|
411
|
+
node_code: z.ZodEnum<{
|
|
412
|
+
welcome: "welcome";
|
|
413
|
+
website_scan: "website_scan";
|
|
414
|
+
customer_materials: "customer_materials";
|
|
415
|
+
analysis: "analysis";
|
|
416
|
+
diagnosis: "diagnosis";
|
|
417
|
+
strategy: "strategy";
|
|
418
|
+
structure_planning: "structure_planning";
|
|
419
|
+
preview_personalization: "preview_personalization";
|
|
420
|
+
publishing: "publishing";
|
|
421
|
+
}>;
|
|
422
|
+
task_type: z.ZodEnum<{
|
|
423
|
+
company_info: "company_info";
|
|
424
|
+
website_crawl: "website_crawl";
|
|
425
|
+
website_basic_info_extract: "website_basic_info_extract";
|
|
426
|
+
website_metrics_evaluate: "website_metrics_evaluate";
|
|
427
|
+
intelligent_analysis: "intelligent_analysis";
|
|
428
|
+
strategy_recommendation: "strategy_recommendation";
|
|
429
|
+
}>;
|
|
430
|
+
external_task_id: z.ZodString;
|
|
431
|
+
execution_status: z.ZodEnum<{
|
|
432
|
+
failed: "failed";
|
|
433
|
+
succeeded: "succeeded";
|
|
434
|
+
running: "running";
|
|
435
|
+
started: "started";
|
|
436
|
+
invalidated: "invalidated";
|
|
437
|
+
}>;
|
|
438
|
+
idempotency_key: z.ZodString;
|
|
439
|
+
attempt_no: z.ZodNumber;
|
|
440
|
+
superseded_at: z.ZodNullable<z.ZodString>;
|
|
441
|
+
created_at: z.ZodString;
|
|
442
|
+
updated_at: z.ZodString;
|
|
443
|
+
}, z.core.$strip>>;
|
|
444
|
+
site: z.ZodObject<{
|
|
445
|
+
default_locale: z.ZodOptional<z.ZodEnum<{
|
|
446
|
+
id: "id";
|
|
447
|
+
"zh-CN": "zh-CN";
|
|
448
|
+
"zh-HK": "zh-HK";
|
|
449
|
+
"zh-TW": "zh-TW";
|
|
450
|
+
"en-US": "en-US";
|
|
451
|
+
"en-GB": "en-GB";
|
|
452
|
+
"ja-JP": "ja-JP";
|
|
453
|
+
"ko-KR": "ko-KR";
|
|
454
|
+
"es-ES": "es-ES";
|
|
455
|
+
"fr-FR": "fr-FR";
|
|
456
|
+
"de-DE": "de-DE";
|
|
457
|
+
"pt-PT": "pt-PT";
|
|
458
|
+
"ru-RU": "ru-RU";
|
|
459
|
+
"ar-SA": "ar-SA";
|
|
460
|
+
"id-ID": "id-ID";
|
|
461
|
+
"vi-VN": "vi-VN";
|
|
462
|
+
"th-TH": "th-TH";
|
|
463
|
+
"it-IT": "it-IT";
|
|
464
|
+
"nl-NL": "nl-NL";
|
|
465
|
+
"tr-TR": "tr-TR";
|
|
466
|
+
"pl-PL": "pl-PL";
|
|
467
|
+
"uk-UA": "uk-UA";
|
|
468
|
+
"cs-CZ": "cs-CZ";
|
|
469
|
+
"sk-SK": "sk-SK";
|
|
470
|
+
"hu-HU": "hu-HU";
|
|
471
|
+
"ro-RO": "ro-RO";
|
|
472
|
+
"el-GR": "el-GR";
|
|
473
|
+
"sv-SE": "sv-SE";
|
|
474
|
+
"da-DK": "da-DK";
|
|
475
|
+
"fi-FI": "fi-FI";
|
|
476
|
+
"hr-HR": "hr-HR";
|
|
477
|
+
"lt-LT": "lt-LT";
|
|
478
|
+
"lv-LV": "lv-LV";
|
|
479
|
+
"et-EE": "et-EE";
|
|
480
|
+
"ga-IE": "ga-IE";
|
|
481
|
+
"mt-MT": "mt-MT";
|
|
482
|
+
"ka-GE": "ka-GE";
|
|
483
|
+
"fa-IR": "fa-IR";
|
|
484
|
+
"bn-BD": "bn-BD";
|
|
485
|
+
"ta-IN": "ta-IN";
|
|
486
|
+
"si-LK": "si-LK";
|
|
487
|
+
"ms-MY": "ms-MY";
|
|
488
|
+
"fil-PH": "fil-PH";
|
|
489
|
+
"my-MM": "my-MM";
|
|
490
|
+
"km-KH": "km-KH";
|
|
491
|
+
"lo-LA": "lo-LA";
|
|
492
|
+
"mn-MN": "mn-MN";
|
|
493
|
+
"kk-KZ": "kk-KZ";
|
|
494
|
+
en: "en";
|
|
495
|
+
ja: "ja";
|
|
496
|
+
es: "es";
|
|
497
|
+
fr: "fr";
|
|
498
|
+
de: "de";
|
|
499
|
+
ko: "ko";
|
|
500
|
+
pt: "pt";
|
|
501
|
+
"pt-BR": "pt-BR";
|
|
502
|
+
it: "it";
|
|
503
|
+
ru: "ru";
|
|
504
|
+
ar: "ar";
|
|
505
|
+
hi: "hi";
|
|
506
|
+
vi: "vi";
|
|
507
|
+
th: "th";
|
|
508
|
+
tr: "tr";
|
|
509
|
+
nl: "nl";
|
|
510
|
+
pl: "pl";
|
|
511
|
+
uk: "uk";
|
|
512
|
+
sv: "sv";
|
|
513
|
+
da: "da";
|
|
514
|
+
fi: "fi";
|
|
515
|
+
no: "no";
|
|
516
|
+
cs: "cs";
|
|
517
|
+
el: "el";
|
|
518
|
+
hu: "hu";
|
|
519
|
+
ro: "ro";
|
|
520
|
+
he: "he";
|
|
521
|
+
ms: "ms";
|
|
522
|
+
fil: "fil";
|
|
523
|
+
bn: "bn";
|
|
524
|
+
ta: "ta";
|
|
525
|
+
ca: "ca";
|
|
526
|
+
sk: "sk";
|
|
527
|
+
hr: "hr";
|
|
528
|
+
bg: "bg";
|
|
529
|
+
lt: "lt";
|
|
530
|
+
lv: "lv";
|
|
531
|
+
et: "et";
|
|
532
|
+
fa: "fa";
|
|
533
|
+
sw: "sw";
|
|
534
|
+
sr: "sr";
|
|
535
|
+
is: "is";
|
|
536
|
+
}>>;
|
|
537
|
+
status: z.ZodEnum<{
|
|
538
|
+
draft: "draft";
|
|
539
|
+
structure_saved: "structure_saved";
|
|
540
|
+
generating: "generating";
|
|
541
|
+
workspace_ready: "workspace_ready";
|
|
542
|
+
}>;
|
|
543
|
+
deployment_status: z.ZodEnum<{
|
|
544
|
+
deploying: "deploying";
|
|
545
|
+
not_deployed: "not_deployed";
|
|
546
|
+
deployed: "deployed";
|
|
547
|
+
}>;
|
|
548
|
+
archived_at: z.ZodNullable<z.ZodString>;
|
|
549
|
+
current_sitemap_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
550
|
+
current_sitemap_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
551
|
+
confirmed_sitemap_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
552
|
+
confirmed_sitemap_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
553
|
+
structure_confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
554
|
+
current_snapshot_id: z.ZodNullable<z.ZodString>;
|
|
555
|
+
deployed_url: z.ZodNullable<z.ZodString>;
|
|
556
|
+
cms_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
557
|
+
}, z.core.$strip>;
|
|
558
|
+
}, z.core.$strip>;
|
|
559
|
+
workspace_run_id: z.ZodNullable<z.ZodUUID>;
|
|
560
|
+
}, z.core.$strict>;
|
|
561
|
+
message: z.ZodString;
|
|
562
|
+
}, z.core.$strip>;
|
|
563
|
+
export type StartSiteBuildResponse = z.infer<typeof StartSiteBuildResponseSchema>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const SITE_DESIGN_DENSITY_IDS: readonly ["compact", "comfortable", "airy"];
|
|
2
|
+
export type SiteDesignDensityId = (typeof SITE_DESIGN_DENSITY_IDS)[number];
|
|
3
|
+
/**
|
|
4
|
+
* 圆角档位。取值与生成站物化端 `RADIUS_TABLE` 的键一一对应
|
|
5
|
+
* (none 0rem / sm 0.375rem / md 0.625rem / lg 0.875rem / xl 1.25rem),
|
|
6
|
+
* 让 Step6 用户选中的档位能逐字落到 `app/globals.css` 的 `--radius`。
|
|
7
|
+
*/
|
|
8
|
+
export declare const SITE_DESIGN_RADIUS_IDS: readonly ["none", "sm", "md", "lg", "xl"];
|
|
9
|
+
export type SiteDesignRadiusId = (typeof SITE_DESIGN_RADIUS_IDS)[number];
|
|
10
|
+
/** 物化端拿不到用户选择时的档位,与物化端既有默认保持一致。 */
|
|
11
|
+
export declare const DEFAULT_SITE_DESIGN_RADIUS_ID: SiteDesignRadiusId;
|
|
12
|
+
export declare const MOTION_PRESET_IDS: readonly ["subtle", "moderate", "expressive"];
|
|
13
|
+
export type MotionPresetId = (typeof MOTION_PRESET_IDS)[number];
|
|
14
|
+
export type SiteDesignMotionLevel = MotionPresetId;
|
|
15
|
+
export interface MotionPreset {
|
|
16
|
+
id: MotionPresetId;
|
|
17
|
+
motionLevel: SiteDesignMotionLevel;
|
|
18
|
+
}
|
|
19
|
+
export declare const MOTION_PRESETS: readonly MotionPreset[];
|
|
20
|
+
export declare function getMotionPreset(id: MotionPresetId): MotionPreset;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const SiteEditCapabilityReadRequestSchema: z.ZodObject<{
|
|
3
|
+
key: z.ZodString;
|
|
4
|
+
composition: z.ZodObject<{
|
|
5
|
+
routeId: z.ZodString;
|
|
6
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strict>;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
export type SiteEditCapabilityReadRequest = z.infer<typeof SiteEditCapabilityReadRequestSchema>;
|
|
2
10
|
export declare const SiteEditBoundaryKindSchema: z.ZodEnum<{
|
|
3
11
|
"component-boundary": "component-boundary";
|
|
4
12
|
"repeat-region": "repeat-region";
|
|
@@ -52,6 +60,10 @@ export declare const SiteEditCapabilityConstraintSchema: z.ZodObject<{
|
|
|
52
60
|
}, z.core.$strip>;
|
|
53
61
|
export type SiteEditCapabilityConstraint = z.infer<typeof SiteEditCapabilityConstraintSchema>;
|
|
54
62
|
export declare const SiteEditNodeCapabilitySnapshotSchema: z.ZodObject<{
|
|
63
|
+
composition: z.ZodObject<{
|
|
64
|
+
routeId: z.ZodString;
|
|
65
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
66
|
+
}, z.core.$strict>;
|
|
55
67
|
key: z.ZodString;
|
|
56
68
|
canUpdateText: z.ZodBoolean;
|
|
57
69
|
canInsertChild: z.ZodBoolean;
|
|
@@ -112,5 +124,5 @@ export declare const SiteEditNodeCapabilitySnapshotSchema: z.ZodObject<{
|
|
|
112
124
|
}>;
|
|
113
125
|
message: z.ZodString;
|
|
114
126
|
}, z.core.$strip>>;
|
|
115
|
-
}, z.core.$
|
|
127
|
+
}, z.core.$strict>;
|
|
116
128
|
export type SiteEditNodeCapabilitySnapshot = z.infer<typeof SiteEditNodeCapabilitySnapshotSchema>;
|